1 2014-10-22 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4 macro to get at the _rt_local_ro field.
5 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6 ([PIC] case) or _dl_hwcap ([!PIC] case).
7 * sysdeps/arm/setjmp.S: Likewise.
9 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10 * sysdeps/arm/configure.ac: New check to define it.
11 * sysdeps/arm/configure: Regenerated.
12 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
16 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
17 Use move/movt pair instead of a load.
18 (LDST_GLOBAL): Macro removed.
19 (LDR_GLOBAL): New macro replaces it.
20 (LDR_HIDDEN): New macro.
21 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24 * setjmp/tst-setjmp-static.c: New file.
25 * setjmp/Makefile (tests): Add it.
26 (tests-static): New variable.
28 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
31 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
33 2014-10-21 Joseph Myers <joseph@codesourcery.com>
36 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38 2014-10-21 Roland McGrath <roland@hack.frob.com>
40 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
42 2014-10-20 Roland McGrath <roland@hack.frob.com>
44 * io/fts.c (dirent_not_directory): New function.
47 2014-10-20 Roland McGrath <roland@hack.frob.com>
49 * nptl/version.c (__nptl_main): Use normal __write rather than
51 (banner): Update copyright years.
53 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
55 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
56 * nptl/pthread_cond_timedwait.c: Likewise.
57 * nptl/pthread_mutex_timedlock.c: Likewise.
58 * nptl/sem_timedwait.c: Likewise.
60 * sysdeps/nptl/bits/libc-lock.h
61 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
62 (__libc_lock_init_recursive): Return void, not 0.
63 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
64 (__libc_rwlock_init): Likewise.
65 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
67 2014-10-20 Torvald Riegel <triegel@redhat.com>
70 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
71 (__pthread_once_slow): ... here.
72 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
73 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
75 2014-10-20 Torvald Riegel <triegel@redhat.com>
78 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
79 __PTHREAD_ONCE_FORK_GEN_INCR): New.
80 * sysdeps/nptl/fork.c (__libc_fork): Use them.
81 * nptl/pthread_once.c (__pthread_once): Likewise.
84 2014-10-20 Joseph Myers <joseph@codesourcery.com>
87 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
89 (writev): Use __libc_writev as strong name.
90 * sysdeps/unix/sysv/linux/readv.c: Remove file.
91 * sysdeps/unix/sysv/linux/writev.c: Likewise.
93 2014-10-17 Roland McGrath <roland@hack.frob.com>
95 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
97 * sysdeps/i386/nptl/tls.h
98 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
99 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
101 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
102 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
103 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
104 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
105 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
106 Call CHECK_THREAD_SYSINFO instead of doing an assert.
108 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
109 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
111 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
113 (__pthread_mutex_init): ... here. Call it.
114 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
115 Conditionalize PI cases on [__NR_futex].
116 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
117 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
118 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
120 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
121 conditional on [SIGSETXID].
122 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
123 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
124 is defined. Likewise for SIGSETXID.
125 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
126 Conditionalize definitions on [SIGSETXID].
127 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
128 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
129 unblocking on [SIGCANCEL].
131 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
132 [__NR_set_robust_list].
134 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
136 * string/strcoll_l.c (get_next_seq): Fix up formatting.
137 (do_compare): Likewise.
139 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
142 * string/strcoll_l.c: Don't include stdio.h.
143 (coll_seq): Remove members idxarr and rulearr.
144 (get_next_seq_cached): Remove function.
145 (get_next_seq): Likewise.
146 (get_next_seq_nocache): Rename to get_next_seq.
147 (do_compare): Remove function.
148 (do_compare_nocache): Rename to do_compare.
149 (STRCOLL): Remove weight and rules cache.
151 2014-10-16 Roland McGrath <roland@hack.frob.com>
153 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
154 * sysdeps/arm/sfp-machine.h: ... to here.
155 * sysdeps/arm/Implies: Remove arm/soft-fp.
157 2014-10-14 Joseph Myers <joseph@codesourcery.com>
159 * conform/data/sys/utsname.h-data (*_t): Allow.
160 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
161 [POSIX] (WEXITED): Do not expect constant.
162 [POSIX] (WSTOPPED): Likewise.
163 [POSIX] (WNOHANG): Likewise.
164 [POSIX] (WNOWAIT): Likewise.
165 [POSIX] (siginfo_t): Do not expect type or elements.
166 [POSIX] (pid_t): Do not expect type.
167 [POSIX] (signal.h): Do not allow header.
168 [POSIX] (sys/resource.h): Likewise.
169 [POSIX] (si_*): Do not allow pattern.
170 [POSIX] (W*): Likewise.
171 [POSIX] (P_*): Likewise.
172 [POSIX] (BUS_*): Likewise.
173 [POSIX] (CLD_*): Likewise.
174 [POSIX] (FPE_*): Likewise.
175 [POSIX] (ILL_*): Likewise.
176 [POSIX] (POLL_*): Likewise.
177 [POSIX] (SEGV_*): Likewise.
178 [POSIX] (SI_*): Likewise.
179 [POSIX] (TRAP_*): Likewise.
180 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
183 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
186 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
187 infinite loop when __recvmsg returns 0.
189 2014-10-10 Joseph Myers <joseph@codesourcery.com>
191 * CANCEL-FCT-WAIVE: Remove file.
192 * CANCEL-FILE-WAIVE: Likewise.
195 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
196 instead of INTVARDEF.
197 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
198 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
199 rtld_hidden_data_def instead of INTVARDEF.
200 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
201 * elf/dl-deps.c (expand_dst): Likewise.
202 * elf/dl-load.c (_dl_dst_count): Likewise.
203 (_dl_dst_substitute): Likewise.
204 (decompose_rpath): Likewise.
205 (_dl_init_paths): Likewise.
206 (open_path): Likewise.
207 (_dl_map_object): Likewise.
208 * elf/rtld.c (dl_main): Likewise.
209 (process_dl_audit): Likewise.
210 (process_envvars): Likewise.
211 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
213 (__libc_enable_secure): Use rtld_hidden_proto.
215 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
218 (add_path): New function broken out of _dl_rtld_di_serinfo.
219 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
221 2014-10-09 Joseph Myers <joseph@codesourcery.com>
223 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
224 parentheses around macro arguments.
225 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
226 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
227 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
228 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
229 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
230 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
231 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
232 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
233 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
234 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
235 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
236 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
237 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
238 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
239 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
240 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
241 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
242 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
243 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
244 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
245 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
246 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
247 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
248 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
249 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
250 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
251 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
252 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
253 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
254 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
255 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
256 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
257 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
258 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
259 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
260 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
262 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
263 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
264 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
265 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
266 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
267 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
268 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
269 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
270 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
271 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
272 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
273 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
274 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
275 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
276 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
277 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
278 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
279 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
280 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
281 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
282 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
283 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
284 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
285 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
286 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
287 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
288 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
289 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
290 (_FP_FRAC_SRS_1): Likewise.
291 (_FP_FRAC_CLZ_1): Likewise.
292 (_FP_MUL_MEAT_1_imm): Likewise.
293 (_FP_MUL_MEAT_1_wide): Likewise.
294 (_FP_MUL_MEAT_1_hard): Likewise.
295 (_FP_SQRT_MEAT_1): Likewise.
296 (_FP_FRAC_ASSEMBLE_1): Likewise.
297 (_FP_FRAC_DISASSEMBLE_1): Likewise.
298 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
299 (__FP_CLZ_2): Likewise.
300 (_FP_MUL_MEAT_2_wide): Likewise.
301 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
302 (_FP_MUL_MEAT_2_gmp): Likewise.
303 (_FP_MUL_MEAT_2_120_240_double): Likewise.
304 (_FP_SQRT_MEAT_2): Likewise.
305 (_FP_FRAC_ASSEMBLE_2): Likewise.
306 (_FP_FRAC_DISASSEMBLE_2): Likewise.
307 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
308 (_FP_FRAC_CLZ_4): Likewise.
309 (_FP_MUL_MEAT_4_wide): Likewise.
310 (_FP_MUL_MEAT_4_gmp): Likewise.
311 (_FP_SQRT_MEAT_4): Likewise.
312 (_FP_FRAC_ASSEMBLE_4): Likewise.
313 (_FP_FRAC_DISASSEMBLE_4): Likewise.
314 * soft-fp/op-common.h (_FP_CMP): Likewise.
315 (_FP_CMP_EQ): Likewise.
316 (_FP_CMP_UNORD): Likewise.
317 (_FP_TO_INT): Likewise.
318 (_FP_FROM_INT): Likewise.
319 [!__FP_CLZ] (__FP_CLZ): Likewise.
320 (_FP_DIV_HELP_imm): Likewise.
321 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
323 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
324 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
325 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
326 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
327 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
328 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
329 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
331 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
332 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
333 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
334 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
335 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
336 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
337 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
338 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
339 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
340 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
341 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
342 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
343 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
344 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
345 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
346 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
347 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
348 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
349 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
350 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
351 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
352 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
353 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
354 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
355 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
356 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
357 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
358 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
359 (FP_UNPACK_RAW_SP): Likewise.
360 (FP_PACK_RAW_S): Likewise.
361 (FP_PACK_RAW_SP): Likewise.
362 (FP_UNPACK_S): Likewise.
363 (FP_UNPACK_SP): Likewise.
364 (FP_UNPACK_SEMIRAW_S): Likewise.
365 (FP_UNPACK_SEMIRAW_SP): Likewise.
366 (FP_PACK_S): Likewise.
367 (FP_PACK_SP): Likewise.
368 (FP_PACK_SEMIRAW_S): Likewise.
369 (FP_PACK_SEMIRAW_SP): Likewise.
370 (_FP_SQRT_MEAT_S): Likewise.
371 (FP_CMP_S): Likewise.
372 (FP_CMP_EQ_S): Likewise.
373 (FP_CMP_UNORD_S): Likewise.
374 (FP_TO_INT_S): Likewise.
375 (FP_FROM_INT_S): Likewise.
377 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
379 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
380 (FP_EX_INVALID_IMZ): Likewise.
381 (FP_EX_INVALID_IMZ_FMA): Likewise.
382 (FP_EX_INVALID_ISI): Likewise.
383 (FP_EX_INVALID_ZDZ): Likewise.
384 (FP_EX_INVALID_IDI): Likewise.
385 (FP_EX_INVALID_SQRT): Likewise.
386 (FP_EX_INVALID_CVI): Likewise.
387 (FP_EX_INVALID_VC): Likewise.
388 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
389 "invalid" exceptions.
390 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
391 (_FP_ADD_INTERNAL): Likewise.
395 (_FP_CMP_CHECK_NAN): Likewise.
396 (_FP_SQRT): Likewise.
397 (_FP_TO_INT): Likewise.
398 (FP_EXTEND): Likewise.
400 2014-10-09 Allan McRae <allan@archlinux.org>
402 * po/fr.po: Update French translation from translation project.
404 2014-10-09 Joseph Myers <joseph@codesourcery.com>
407 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
409 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
410 (__cxa_atexit): Use libc_hidden_proto.
411 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
414 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
416 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
417 [!_ISOMAC] (__iswspace_l_internal): Likewise.
418 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
419 [!_ISOMAC] (__iswctype_internal): Likewise.
420 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
421 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
423 (fcntl): Remove __fcntl_internal alias.
424 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
425 __connect_internal alias.
426 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
429 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
430 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
432 (_FP_CHECK_FLUSH_ZERO): New macro.
433 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
435 (_FP_CMP_EQ): Likewise.
436 (_FP_TO_INT): Do not set inexact for subnormal arguments if
438 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
439 (FP_TRUNC): Likewise.
441 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
442 treated as invalid conversion, not as normal exponent.
444 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
445 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
446 (_FP_CMP_EQ): Likewise.
447 (_FP_CMP_UNORD): Likewise.
448 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
449 (FP_CMP_EQ_D): Likewise.
450 (FP_CMP_UNORD_D): Likewise.
451 * soft-fp/extended.h (FP_CMP_E): Likewise.
452 (FP_CMP_EQ_E): Likewise.
453 (FP_CMP_UNORD_E): Likewise.
454 * soft-fp/quad.h (FP_CMP_Q): Likewise.
455 (FP_CMP_EQ_Q): Likewise.
456 (FP_CMP_UNORD_Q): Likewise.
457 * soft-fp/single.h (FP_CMP_S): Likewise.
458 (FP_CMP_EQ_S): Likewise.
459 (FP_CMP_UNORD_S): Likewise.
460 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
461 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
462 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
463 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
464 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
465 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
466 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
467 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
468 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
469 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
470 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
471 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
472 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
474 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
476 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
477 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
479 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
481 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
482 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
483 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
484 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
486 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
488 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
489 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
491 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
493 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
494 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
495 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
496 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
499 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
500 a subnormal result, set the underflow exception if trapping on
501 underflow is enabled.
502 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
503 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
504 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
506 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
507 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
508 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
509 * soft-fp/extendxftf2.c (__extendxftf2): Use
510 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
512 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
513 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
514 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
515 FP_HANDLE_EXCEPTIONS.
516 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
517 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
518 FP_HANDLE_EXCEPTIONS.
519 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
520 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
521 FP_HANDLE_EXCEPTIONS.
522 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
523 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
524 FP_HANDLE_EXCEPTIONS.
526 2014-10-08 Joseph Myers <joseph@codesourcery.com>
529 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
530 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
532 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
533 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
535 (__adjtimex): Define using libc_hidden_ver.
536 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
538 (ntp_gettime): Call __adjtimex directly.
539 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
541 (ntp_gettimex): Call __adjtimex directly.
542 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
543 __adjtimex_internal alias.
545 2014-10-08 Roland McGrath <roland@hack.frob.com>
548 * nscd/nscd.c (more_help): Rewrite list of tables collection
549 using xstrdup and asprintf.
551 * nscd/nscd_conf.c: Remove local xstrdup declaration.
553 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
554 Roland McGrath <roland@hack.frob.com>
556 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
557 (do_lookup_unique): ... local function 'enter' here; update callers.
559 2014-10-06 Joseph Myers <joseph@codesourcery.com>
561 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
562 compat_symbol calls on [SHARED].
563 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
564 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
566 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
567 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
568 (oldsetrlimit): Remove.
569 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
571 (lchown): New syscall entry.
572 (oldsetrlimit): Remove.
573 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
574 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
575 (oldsetrlimit): Remove.
576 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
579 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
580 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
581 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
582 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
583 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
584 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
586 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
591 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
593 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
594 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
595 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
596 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
597 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
599 (__old_sem_post): Likewise.
601 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
603 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
604 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
605 HAVE_CLOCK_GETTIME_VSYSCALL macros.
606 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
607 Use INLINE_VSYSCALL macro.
608 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
609 __vdso_clock_gettime.
610 * sysdeps/unix/sysv/linux/tile/init-first.c
611 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
612 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
613 __vdso_clock_gettime.
615 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
616 to set up frame more cleanly.
618 * sysdeps/tile/memcmp.c: New file.
620 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
622 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
623 * sysdeps/tile/tilegx/strcasestr.c: New file.
624 * sysdeps/tile/tilegx/strnlen.c: New file.
625 * sysdeps/tile/tilegx/strstr.c: New file.
627 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
629 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
631 * nptl/tst-setuid3.c: Write errors to stdout.
633 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
636 (preload): New functions broken out of _dl_map_object_deps.
637 (_dl_map_object_deps): Remove a nested function. Update call sites.
639 2014-10-01 Joseph Myers <joseph@codesourcery.com>
642 * sysdeps/unix/sysv/linux/execve.c: Remove file.
643 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
645 2014-10-01 Steve Ellcey <sellcey@mips.com>
647 * sysdeps/mips/strcmp.S: New.
649 2014-09-30 Joseph Myers <joseph@codesourcery.com>
652 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
655 (readlinkat): Likewise.
656 (renameat): Likewise.
657 (symlinkat): Likewise.
658 (unlinkat): Likewise.
659 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
660 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
661 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
662 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
663 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
664 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
665 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
667 2014-09-30 Will Newton <will.newton@linaro.org>
669 * math/math.h: Define long double math functions if
670 _LIBC_TEST is defined.
671 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
673 * localedata/Makefile: Move assignment to tests-special
674 into an ifdef testing run-built-tests.
675 * timezone/Makefile: Likewise.
677 2014-09-29 Joseph Myers <joseph@codesourcery.com>
679 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
680 with $(BASH) not $(SHELL).
682 2014-09-29 Carlos O'Donell <carlos@redhat.com>
683 Matthew LeGendre <legendre1@llnl.gov>
686 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
689 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
691 * stdio-common/printf_fp.c
692 (hack_digit): New function, broken out of ...
693 (__printf_fp): ... local function here. Update call sites.
694 hack_digit now takes an additional parameter that is a pointer
695 to a struct of the referenced locals. Those locals moved inside
696 the struct and references updated.
698 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
700 * aclocal.m4: Require autoconf 2.69.
701 * configure: Regenerated.
702 * sysdeps/aarch64/configure: Likewise.
703 * sysdeps/alpha/configure: Likewise.
704 * sysdeps/arm/armv7/configure: Likewise.
705 * sysdeps/arm/configure: Likewise.
706 * sysdeps/ia64/configure: Likewise.
707 * sysdeps/mach/configure: Likewise.
708 * sysdeps/mips/configure: Likewise.
709 * sysdeps/s390/configure: Likewise.
710 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
713 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
715 * sysdeps/ia64/configure.ac: Likewise.
717 2014-09-26 Joseph Myers <joseph@codesourcery.com>
719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
720 specify symbol version for ld.so. Do not include entry for
722 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
723 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
724 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
727 * Makeconfig [$(build-shared) = yes]
728 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
730 [$(build-shared) = yes && $(soversions.mk-done) = t]
731 ($(common-objpfx)gnu/lib-names.h): Remove rule.
732 [$(build-shared) = yes && $(soversions.mk-done) = t]
733 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
735 [$(build-shared) = yes && $(soversions.mk-done) = t]
736 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
738 [$(build-shared) = yes && $(soversions.mk-done) = t]
739 (common-generated): Don't append gnu/lib-names.h and
740 gnu/lib-names.stmp here.
741 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
742 (lib-names-h-abi): New variable.
743 [$(build-shared) = yes && $(soversions.mk-done) = t]
744 (lib-names-stmp-abi): Likewise.
745 [$(build-shared) = yes && $(soversions.mk-done) = t &&
746 abi-variants] (before-compile): Append
747 $(common-objpfx)$(lib-names-h-abi).
748 [$(build-shared) = yes && $(soversions.mk-done) = t &&
749 abi-variants] (common-generated): Append gnu/lib-names.h.
750 [$(build-shared) = yes && $(soversions.mk-done) = t &&
751 abi-variants] (install-others-nosubdir): Depend on
752 $(inst_includedir)/$(lib-names-h-abi).
753 [$(build-shared) = yes && $(soversions.mk-done) = t &&
754 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
755 [$(build-shared) = yes && $(soversions.mk-done) = t]
756 ($(common-objpfx)$(lib-names-h-abi)): New rule.
757 [$(build-shared) = yes && $(soversions.mk-done) = t]
758 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
759 [$(build-shared) = yes && $(soversions.mk-done) = t]
760 (common-generated): Append $(lib-names-h-abi) and
761 $(lib-names-stmp-abi).
762 * scripts/lib-names.awk: Do not handle multi being set.
763 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
765 (abi-lp64_be-ld-soname): Likewise.
766 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
768 (abi-hard-ld-soname): Likewise.
769 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
770 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
772 (abi-o32_hard-ld-soname): Likewise.
773 (abi-o32_soft_2008-ld-soname): Likewise.
774 (abi-o32_hard_2008-ld-soname): Likewise.
775 (abi-n32_soft-ld-soname): Likewise.
776 (abi-n32_hard-ld-soname): Likewise.
777 (abi-n32_soft_2008-ld-soname): Likewise.
778 (abi-n32_hard_2008-ld-soname): Likewise.
779 (abi-n64_soft-ld-soname): Likewise.
780 (abi-n64_hard-ld-soname): Likewise.
781 (abi-n64_soft_2008-ld-soname): Likewise.
782 (abi-n64_hard_2008-ld-soname): Likewise.
783 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
785 (abi-64-v2-ld-soname): Likewise.
786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
788 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
790 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
792 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
794 (abi-64-ld-soname): Likewise.
795 (abi-x32-ld-soname): Likewise.
796 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
798 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
800 2014-09-23 Joseph Myers <joseph@codesourcery.com>
803 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
804 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
805 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
806 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
807 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
808 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
809 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
810 syscall entry for GLIBC_2.2 symbol version.
811 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
814 (setrlimit): Likewise.
815 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
818 2014-09-23 Will Newton <will.newton@linaro.org>
820 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
821 _LINUX_ARM_SYSDEP_H include guard too.
822 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
825 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
827 * sysdeps/unix/sysv/linux/eventfd.c:
828 Make first argument unsigned.
829 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
830 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
832 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
834 * socket/recvmmsg.c (recvmmsg): Drop const argument.
835 * socket/sys/socket.h: Likewise
836 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
838 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
840 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
842 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
844 * time/tst-ftime.c: New test.
845 * time/Makefile (tests): Add tst-ftime.
847 2014-09-17 Joseph Myers <joseph@codesourcery.com>
849 * soft-fp/extended.h: Fix comment formatting.
850 * soft-fp/op-1.h: Likewise.
851 * soft-fp/op-2.h: Likewise.
852 * soft-fp/op-4.h: Likewise.
853 * soft-fp/op-8.h: Likewise.
854 * soft-fp/op-common.h: Likewise.
855 * soft-fp/soft-fp.h: Likewise.
857 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
859 2014-09-16 Joseph Myers <joseph@codesourcery.com>
862 * Makeconfig (soversions-default-setname): Remove variable.
863 ($(common-objpfx)soversions.i): Don't pass default_setname to
865 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
866 oldest_abi to abi-versions.awk.
867 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
868 * config.make.in (oldest-abi): Remove variable.
869 * configure.ac (--enable-oldest-abi): Remove configure option.
870 * configure: Regenerated.
871 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
873 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
874 * scripts/soversions.awk: Do not handle default_setname variable.
875 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
877 * sysdeps/mach/hurd/configure: Regenerated.
878 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
880 * sysdeps/unix/sysv/linux/configure: Regenerated.
882 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
884 * elf/Makefile (CFLAGS-interp.c): Remove.
885 ($(elf-objpfx)runtime-linker.h): Generate header with linker
887 * elf/interp.c: Include generated runtime-linker.h
889 * Makerules (lib%.so): Don't include $(+interp) in
891 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
892 * dlfcn/eval.c: Remove file.
894 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
898 * misc/sys/cdefs.h: Define __extern_always_inline for clang
902 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
904 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
905 Jakub Jelinek <jakub@redhat.com>
908 * libio/stdio.h: Check definition of __fortify_function
909 instead of __extern_always_inline to include bits/stdio2.h.
910 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
911 check if __extern_always_inline is defined.
912 [__USE_MISC || __USE_XOPEN]: Likewise.
913 [__USE_ISOC99] Likewise.
914 * misc/sys/cdefs.h (__fortify_function): Define only if
915 __extern_always_inline is defined.
916 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
917 __extern_always_inline and __extern_inline only for g++-4.3
918 and newer or a compatible gcc.
920 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
923 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
924 last change to handle zero prefix length.
926 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
928 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
931 * posix/getconf.c (vars): Add _POSIX_IPV6 and
934 2014-09-13 Allan McRae <allan@archlinux.org>
936 * po/ru.po: Update Russian translation from translation project.
938 2014-09-12 Roland McGrath <roland@hack.frob.com>
940 * locale/programs/locale.c (show_locale_vars): Inline local function
941 into its sole call site. Clean up some style nits.
942 (print_item): New function, broken out of ...
943 (show_info): ... local function here. Clean up style nits.
945 * locale/programs/ld-ctype.c (set_one_default): New function, broken
947 (set_class_defaults): ... local function set_default here.
948 Define set_default as a macro locally to pass constant parameters.
949 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
950 rather than a shared local.
952 * stdlib/rpmatch.c (try): New function, broken out of ...
953 (rpmatch): ... local function here. Also, prototypify definition.
955 2014-09-12 Joseph Myers <joseph@codesourcery.com>
957 * scripts/soversions.awk: Do not handle configuration names.
958 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
959 vendor and os variables to soversions.awk.
960 * configure.ac: Do not modify gnu-* host_os.
961 * configure: Regenerated
962 * shlib-versions: Remove first column with configuration names.
963 * nptl/shlib-versions: Likewise.
964 * nptl_db/shlib-versions: Likewise.
965 * sysdeps/hppa/shlib-versions: Likewise.
966 * sysdeps/m68k/shlib-versions: Likewise.
967 * sysdeps/mach/hurd/shlib-versions: Likewise.
968 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
969 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
970 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
971 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
972 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
973 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
974 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
975 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
978 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
979 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
980 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
981 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
982 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
983 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
984 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
985 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
988 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
991 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
993 Condition symbol version definitions on [HAVE_ELFV2_ABI].
995 * shlib-versions: Remove OS-specific entries. Moved to files in
997 * sysdeps/mach/hurd/shlib-versions: New file.
998 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1000 * nptl/shlib-versions: Remove architecture-specific entries.
1001 Moved to files in sysdeps.
1002 * shlib-versions: Likewise.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1005 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1006 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1007 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1008 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1010 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1011 (UDP_NO_CHECK6_RX): Likewise.
1013 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1015 * sysdeps/posix/sysconf.c (__sysconf): Spell
1016 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1018 2014-08-12 Florian Weimer <fweimer@redhat.com>
1020 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1022 * iconv/Versions (__gconv_transliterate): Export for use from
1024 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1025 (struct __gconv_trans_data, __gconv_trans_fct,
1026 __gconv_trans_context_fct, __gconv_trans_query_fct,
1027 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1029 (struct __gconv_step_data): Remove __trans member.
1030 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1031 longer hidden. Remove unused trans_data argument.
1032 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1033 (__gconv_translit_find): Remove declaration.
1034 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1036 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1037 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1038 trans_data argument. Add hidden definition.
1039 (__gconv_translit_find): Remove.
1040 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1041 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1042 * iconv/skeleton.c: Remove transliteration initialization.
1043 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1044 __gconv_step_data initialization.
1045 * libio/iofwide.c (__libio_translit_): Remove.
1046 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1047 * wcsmbs/btowc.c (__btowc): Likewise.
1048 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1049 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1050 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1051 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1052 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1053 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1054 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1055 * wcsmbs/wctob.c (wctob): Likewise.
1057 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1060 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1061 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1063 * sysdeps/x86/Makefile: Adjust.
1065 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1066 Roland McGrath <roland@hack.frob.com>
1068 * locale/weight.h: Add include guard.
1069 (findidx): Make static rather than auto; take new parameters
1070 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1071 * locale/weightwc.h: Likewise.
1072 * posix/fnmatch_loop.c
1073 (FCT): Change type of EXTRA from int32_t to wint_t.
1074 Don't include either header inside the function.
1075 Call FINDIDX rather than findidx, and pass new arguments.
1076 #undef FINDIDX at the end of the file.
1077 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1078 FINDIDX before including fnmatch_loop.c for the non-wide version.
1079 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1080 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1081 for the wide version.
1082 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1083 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1084 Pass new arguments to findidx.
1085 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1086 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1087 Don't #include it inside the function. Pass new arguments to findidx.
1088 * posix/regex_internal.h
1089 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1090 (re_string_elem_size_at): Don't #include it inside the function.
1091 Pass new arguments to findidx.
1092 * string/strcoll_l.c: #include WEIGHT_H at top level.
1093 (get_next_seq): Don't #include it inside the function.
1094 Pass new arguments to findidx.
1095 (get_next_seq_nocache): Likewise.
1096 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1097 (STRXFRM): Don't #include it inside the function.
1098 Pass new arguments to findidx.
1100 2014-09-11 Florian Weimer <fweimer@redhat.com>
1103 * malloc/malloc.c (unlink): Turn asserts into a call to
1106 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1109 * libio/wfileops (do_ftell_wide): Free OUT.
1111 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1113 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1115 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1118 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1119 group if the current group is empty.
1121 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123 * benchtests/bench-memset.c (test_main): Add more test from size
1124 from 32 to 512 bytes.
1125 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1126 Add POWER8 memset object.
1127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1128 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1129 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1131 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1133 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1134 multiarch POWER8 memset optimization.
1135 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1136 POWER8 memset optimization.
1138 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1139 Remove bzero multiarch objects.
1140 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1141 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1142 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1143 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1145 [__bzero]: Redefine to specific name.
1146 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1147 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1148 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1150 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1151 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1153 2014-09-10 Florian Weimer <fweimer@redhat.com>
1155 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1156 warnings into errors.
1158 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1159 __cxa_thread_atexit_impl prototype.
1161 2014-09-09 Steve Ellcey <sellcey@mips.com>
1163 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1164 Fix capitalization of error message.
1166 2014-09-09 Steve Ellcey <sellcey@mips.com>
1168 * sysdeps/mips/preconfigure: Modify ABI tests.
1170 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1172 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1174 2014-09-07 Roland McGrath <roland@hack.frob.com>
1175 Carlos O'Donell <carlos@systemhalted.org>
1177 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1178 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1179 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1180 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1181 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1182 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1183 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1184 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1185 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1186 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1187 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1188 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1189 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1190 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1191 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1192 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1193 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1194 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1195 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1196 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1197 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1198 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1199 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1200 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1201 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1202 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1203 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1204 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1205 Deconditionalize the code that was previously under [RESET_PID].
1206 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1207 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1208 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1209 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1212 2014-09-08 Allan McRae <allan@archlinux.org>
1214 * version.h (RELEASE): Set to "development".
1215 (VERSION): Set to "2.20.90"
1217 2014-09-07 Allan McRae <allan@archlinux.org
1219 * version.h (RELEASE): Set to "stable".
1220 (VERSION): Set to "2.20"
1221 * include/features.h (__GLIBC_MINOR__): Set to 20.
1223 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1226 * po/ko.po: Update Korean translation from translation project.
1228 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1231 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1232 macro for handling signed relocations.
1234 2014-09-03 Florian Weimer <fweimer@redhat.com>
1237 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1238 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1240 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1241 * iconvdata/ibm935.c (BODY): Likewise.
1242 * iconvdata/ibm937.c (BODY): Likewise.
1243 * iconvdata/ibm939.c (BODY): Likewise.
1244 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1246 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1248 * iconvdata/run-iconv-test.sh: New test loop for checking for
1251 2014-09-02 Khem Raj <raj.khem@gmail.com>
1253 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1256 2014-09-01 Allan McRae <allan@archlinux.org>
1258 * po/eo.po: Update Esperanto translation from translation project.
1260 * po/ca.po: Update Catalan translation from translation project.
1262 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1264 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1267 2014-08-27 Mark Wielaard <mjw@redhat.com>
1270 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1271 to call set_thread_area instead of hand written asm.
1272 (__NR_set_thread_area): Removed define.
1273 (TLS_FLAG_WRITABLE): Likewise.
1274 (__ASSUME_SET_THREAD_AREA): Remove check.
1275 (TLS_EBX_ARG): Remove define.
1276 (TLS_LOAD_EBX): Likewise.
1278 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1280 Simplify atomicity of socket creation in bind.
1282 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1283 looking up the name after linking the file.
1285 2014-08-27 Allan McRae <allan@archlinux.org>
1287 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1289 2014-08-26 Florian Weimer <fweimer@redhat.com>
1292 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1293 trans_compare, open_translit, __gconv_translit_find):
1294 Remove module loading code.
1296 2014-08-26 Allan McRae <allan@archlinux.org>
1298 * po/vi.po: Update Vietnamese translation from translation project.
1300 * po/uk.po: Update Ukrainian translation from translation project.
1302 * po/fr.po: Update French translation from translation project.
1304 * po/ru.po: Update Russian translation from translation project.
1306 * po/pl.po: Update Polish translation from translation project.
1308 * po/cs.po: Update Czech translation from translation project.
1310 * po/de.po: Update German translation from translation project.
1312 * po/bg.po: Update Bulgarian translation from translation project.
1314 * po/sv.po: Update Sweedish translation from translation project.
1316 * po/nl.po: Update Dutch translation from translation project.
1318 * po/es.po: Update Spanish translation from translation project.
1320 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1322 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1324 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1325 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1326 (CPPFLAGS-iconvconfig): Likewise.
1327 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1329 * include/libc-symbols.h: Remove unnecessary check for
1331 * nptl/pthreadP.h: Likewise.
1332 * sysdeps/aarch64/setjmp.S: Likewise.
1333 * sysdeps/alpha/setjmp.S: Likewise.
1334 * sysdeps/arm/sysdep.h: Likewise.
1335 * sysdeps/i386/setjmp.S: Likewise.
1336 * sysdeps/m68k/setjmp.c: Likewise.
1337 * sysdeps/posix/getcwd.c: Likewise.
1338 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1339 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1340 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1341 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1342 * sysdeps/sh/sh3/setjmp.S: Likewise.
1343 * sysdeps/sh/sh4/setjmp.S: Likewise.
1344 * sysdeps/unix/alpha/sysdep.h: Likewise.
1345 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1346 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1347 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1348 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1353 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1356 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1358 * sysdeps/x86_64/setjmp.S: Likewise.
1360 2014-08-13 Joseph Myers <joseph@codesourcery.com>
1363 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1365 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1366 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1368 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1370 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1373 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1374 and __x86_64__ when disabling x87 inline functions.
1376 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1379 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1380 asm statement with __cpuid_count.
1382 2014-08-12 Mike Frysinger <vapier@gentoo.org>
1384 * configure.ac: Change __ehdr_start code to dereference the struct.
1385 Run readelf on the output to look for relocations.
1386 * configure: Regenerated.
1388 2014-08-12 Joseph Myers <joseph@codesourcery.com>
1391 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1393 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1395 2014-08-12 Roland McGrath <roland@hack.frob.com>
1397 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1399 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1402 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1403 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1405 2014-08-12 Sean Anderson <seanga2@gmail.com>
1407 * malloc/malloc.c: Fix typo in comment.
1409 2014-08-09 Allan McRae <allan@archlinux.org>
1411 * Regenerate libc.po.
1413 2014-08-08 Mike Frysinger <vapier@gentoo.org>
1415 * intl/tst-gettext2.sh: Check every lang file for creation.
1417 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1419 * sysdeps/aarch64/fpu/math_private.h
1420 (libc_feholdsetround_noex_aarch64_ctx): New function.
1422 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1424 * sysdeps/arm/armv6/strcpy.S (strcpy):
1425 Fix performance issue in misaligned cases.
1427 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1429 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1430 Move definition from termios.h.
1431 (struct termio): Likewise.
1432 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1433 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1434 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1435 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1437 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1438 Move definition to ioctl-types.h
1439 (struct termio): Likewise.
1440 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1441 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1442 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1443 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1446 2014-08-05 Richard Henderson <rth@redhat.com>
1448 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1450 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1452 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1453 Use __feraiseexcept.
1454 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1455 Protect libm symbols with IS_IN_libm.
1457 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1459 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1461 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1463 2014-08-04 Will Newton <will.newton@linaro.org>
1465 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1468 2014-08-04 Mike Frysinger <vapier@gentoo.org>
1470 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1471 variants for each function.
1473 2014-08-04 Roland McGrath <roland@hack.frob.com>
1475 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1477 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1478 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1480 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1481 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1482 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1483 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1484 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1485 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1486 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1487 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1488 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1489 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1490 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1492 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1493 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1494 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1502 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1504 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1506 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1507 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1508 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1510 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1511 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1512 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1513 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1514 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1515 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1516 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1517 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1518 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1519 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1520 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1521 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1522 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1523 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1524 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1525 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1526 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1527 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1528 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1529 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1530 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1531 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1532 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1534 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1535 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1537 2014-08-04 Roland McGrath <roland@hack.frob.com>
1539 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1540 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1541 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1542 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1543 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1544 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1546 2014-08-04 Roland McGrath <roland@hack.frob.com>
1548 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1549 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1550 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1551 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1553 2014-08-04 Roland McGrath <roland@hack.frob.com>
1555 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1556 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1557 (__libc_vfork): Define function under this name.
1558 (__vfork): Define as an alias.
1559 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1560 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1562 2014-08-04 Roland McGrath <roland@hack.frob.com>
1564 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1565 that was previously under [RESET_PID].
1566 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1568 2014-08-04 Andreas Schwab <schwab@suse.de>
1570 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1572 2014-08-03 Mike Frysinger <vapier@gentoo.org>
1574 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1577 2014-08-01 Roland McGrath <roland@hack.frob.com>
1579 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1581 2014-08-01 Richard Henderon <rth@redhat.com>
1583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1584 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1585 typo in exact zero test.
1586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1588 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1590 2014-08-01 Roland McGrath <roland@hack.frob.com>
1592 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1593 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1594 * sysdeps/arm/sysdep.h: ... here.
1595 [!__ASSEMBLER__]: Include <stdint.h>.
1597 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1599 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1600 (HAVE_WCTYPE_H): Likewise.
1601 (HAVE_ISWCTYPE): Likewise.
1602 (ENABLE_NLS): Likewise.
1603 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1604 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1606 * posix/regex_internal.c: Check if DEBUG is defined and is
1609 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1610 (HAVE_MBSRTOWCS): Likewise.
1611 * posix/fnmatch.c: Include string.h unconditionally.
1613 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1615 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1618 2014-07-31 Roland McGrath <roland@hack.frob.com>
1620 * sysdeps/generic/safe-fatal.h: New file.
1621 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1622 * nptl/forward.c: Include it.
1623 (__pthread_unwind): Use __safe_fatal as default action, rather
1624 than a bogus use of INTERNAL_SYSCALL that could never work.
1626 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1627 * configure.ac (libc_cv_builtin_trap): New test.
1628 * configure: Regenerated.
1629 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1630 (ABORT_INSTRUCTION): Define using __builtin_trap.
1632 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1633 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1634 * sysdeps/nptl/nptl-signals.h: New file.
1635 * nptl/pthreadP.h: Include <nptl-signals.h>.
1637 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1639 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1640 (ONE_DIRECTION): Define.
1641 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1642 (ONE_DIRECTION): Define.
1643 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1644 (ONE_DIRECTION): Define.
1646 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1648 * sysdeps/s390/Makefile: Delete file.
1649 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1650 * sysdeps/s390/__longjmp.c: Delete file.
1651 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1652 Remove fields __flags and __reserved.
1653 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1655 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1656 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1657 * sysdeps/s390/rtld-setjmp.S: Likewise.
1658 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1659 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1660 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1661 * sysdeps/s390/s390-32/setjmp.S: ... here.
1663 (__sigsetjmp): Remove setting __flags field.
1664 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1665 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1666 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1667 * sysdeps/s390/s390-64/setjmp.S: ... here.
1669 (__sigsetjmp): Remove setting __flags field.
1670 * sysdeps/s390/setjmp.S: Delete file.
1671 * sysdeps/s390/sigjmp.c: Likewise.
1672 * sysdeps/s390/v1-longjmp.c: Likewise.
1673 * sysdeps/s390/v1-setjmp.h: Likewise.
1674 * sysdeps/s390/v1-sigjmp.c: Likewise.
1675 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1676 Remove v1-longjmp_chk.
1677 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1678 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1679 Include debug/longjmp_chk.c and add versioning.
1680 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1681 Include nptl/pt-longjmp.c and add versioning.
1682 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1683 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1684 Include __longjmp.c.
1685 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1687 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1688 (__getcontext): Remove setting __flags field.
1690 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1691 Don't restore upper high grps.
1692 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1694 (__swapcontext): Remove setting uc_flags field.
1695 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1697 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1698 Include __longjmp.c.
1699 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1701 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1702 (__getcontext): Remove setting __flags field.
1704 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1705 (__swapcontext): Remove setting uc_flags field.
1706 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1707 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1708 Remove fields uc_high_gprs and __reserved.
1709 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1710 New file with reverted content.
1711 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1712 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1714 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1717 2014-07-31 Andreas Schwab <schwab@suse.de>
1719 * config.h.in (HAVE_IFUNC): Define to 0.
1720 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1723 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1726 memmove-avx-unaligned, memcpy-avx-unaligned and
1727 mempcpy-avx-unaligned.
1728 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1729 Add tests for AVX memcpy functions.
1730 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1731 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1733 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1734 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1736 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1737 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1739 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1740 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1741 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1743 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1749 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1752 * manual/llio.texi: Add section about open file description locks.
1753 * manual/examples/ofdlocks.c: Example of open file description
1755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1756 F_OFD_SETLK, and F_OFD_SETLKW.
1758 2014-07-23 Allan McRae <allan@archlinux.org>
1760 * po/es.po: Update Spanish translation from translation project.
1762 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1764 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1766 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1769 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1770 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1771 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1773 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1776 * math/fesetenv.c (__fesetenv)
1777 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1778 * math/feupdateenv.c (__feupdateenv)
1779 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1781 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1782 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1783 (__ASSUME_SOCKETCALL): Do not define.
1785 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1786 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1787 (__ASSUME_SOCKETCALL): Do not define.
1788 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1789 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1790 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1791 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1792 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1793 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1794 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1795 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1798 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1799 (__ASSUME_SOCKETCALL): Do not define.
1800 (__ASSUME_IPC64): Define unconditionally.
1801 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1802 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1803 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1804 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1805 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1806 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1807 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1810 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1811 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1812 (__ASSUME_SOCKETCALL): Do not define.
1813 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1814 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1815 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1816 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1817 (__ASSUME_REQUEUE_PI): Define unconditionally.
1818 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1819 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1820 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1821 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1822 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1823 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1825 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1826 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1827 (__ASSUME_SOCKETCALL): Do not define.
1828 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1829 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1830 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1831 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1832 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1833 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1835 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1836 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1837 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1838 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1839 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1840 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1841 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1842 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1843 (__ASSUME_GETCPU_SYSCALL): Likewise.
1845 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1846 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1847 cases for individual architectures.
1848 * sysdeps/gnu/configure: Regenerated.
1849 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1850 LIBC_SLIBDIR_RTLDDIR.
1851 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1852 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1853 LIBC_SLIBDIR_RTLDDIR.
1854 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1856 LIBC_SLIBDIR_RTLDDIR.
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1859 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1860 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1862 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1863 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1865 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1866 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1867 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1868 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1870 * sysdeps/aarch64/shlib-versions: Move to ...
1871 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1872 * sysdeps/alpha/shlib-versions: Move to ...
1873 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1874 * sysdeps/arm/shlib-versions: Move to ...
1875 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1876 * sysdeps/hppa/shlib-versions: Move all contents except for
1877 libgcc_s entry to ...
1878 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1880 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1881 * sysdeps/ia64/shlib-versions: Move to ...
1882 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1884 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1885 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1886 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1887 * sysdeps/microblaze/shlib-versions: Move to ...
1888 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1889 * sysdeps/mips/shlib-versions: Move to ...
1890 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1892 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1893 * sysdeps/tile/shlib-versions: Move to ...
1894 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1895 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1897 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1898 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1900 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1902 2014-07-17 Will Newton <will.newton@linaro.org>
1904 * sysdeps/arm/bits/atomic.h
1905 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1906 (__arch_compare_and_exchange_bool_16_int): Likewise.
1907 (__arch_compare_and_exchange_bool_64_int): Likewise.
1909 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1910 into an #else block.
1912 2014-07-16 Roland McGrath <roland@hack.frob.com>
1914 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1915 just Linux configurations. Test empirically that the compiler sets
1916 __ARM_EABI__, rather than using the tuple to decide.
1917 * sysdeps/arm/preconfigure: Regenerated.
1918 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1919 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1920 contents appended ...
1921 * sysdeps/arm/configure.ac: ... here.
1922 * sysdeps/arm/configure: Regenerated.
1924 2014-07-15 Roland McGrath <roland@hack.frob.com>
1926 * nptl/pthread_kill.c: New file.
1927 * nptl/pthread_sigmask.c: New file.
1928 * nptl/pthread_sigqueue.c: New file.
1930 * sysdeps/nptl/lowlevellock.h: New file.
1931 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1932 * sysdeps/nptl/lowlevellock-futex.h: New file.
1934 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1935 Remove dead declarations.
1937 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1939 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1940 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1942 * sysdeps/x86_64/configure.ac: Likewise.
1943 * sysdeps/i386/configure: Regenerated.
1944 * sysdeps/x86_64/configure: Likewise.
1945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1946 memset-avx2 only if config-cflags-avx2 is yes.
1947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1948 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1950 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1951 only if HAVE_AVX2_SUPPORT is defined.
1952 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1954 2014-07-14 Alan Modra <amodra@gmail.com>
1957 * elf/elf.h (DT_PPC64_NUM): Correct value.
1958 * NEWS: Add to fixed bug list.
1960 2014-07-13 Jim Meyering <meyering@fb.com>
1963 regex: don't deref NULL upon heap allocation failure
1964 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1965 failure in one more place.
1966 To trigger the segfault, configure grep -with-included-regex,
1967 build it, and run these commands:
1968 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1970 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1972 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1974 2014-07-11 Richard Henderson <rth@redhat.com>
1976 * sysdeps/aarch64/libm-test-ulps: Update.
1978 2014-07-10 Florian Weimer <fweimer@redhat.com>
1981 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1982 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1983 (__nptl_setxid): Initialize error member. Call
1984 __nptl_setxid_error.
1985 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1986 * nptl/descr.h (struct xid_command): Add error member.
1987 * nptl/tst-setuid3.c: New file.
1988 * nptl/Makefile (tests): Add it.
1990 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1992 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1994 (__lll_trylock): Use __lll_base_trylock.
1995 (__lll_cond_trylock): Likewise.
1997 2014-07-10 Roland McGrath <roland@hack.frob.com>
1999 * nptl/pthread_create.c (start_thread): Use atomic_or and
2000 lll_futex_wake directly rather than lll_robust_dead.
2001 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2002 (lll_robust_dead): Macro removed.
2003 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2004 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2005 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2006 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2007 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2008 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2009 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2010 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2011 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2012 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2013 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2014 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2015 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2016 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2017 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2019 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2020 Use atomic_compare_and_exchange_val_acq directly rather than
2022 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2023 (__lll_robust_trylock, lll_robust_trylock): Removed.
2024 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2025 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2026 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2027 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2028 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2029 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2030 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2031 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2032 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2033 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2034 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2035 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2036 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2037 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2039 2014-07-02 Florian Weimer <fweimer@redhat.com>
2041 * manual/locale.texi (Locale Names): New section documenting
2042 locale name syntax. Adjust menu and node chaining accordingly.
2043 (Choosing Locale): Reference Locale Names, Locale Categories.
2044 Mention setting LC_ALL=C. Reflect that name syntax is now
2046 (Locale Categories): New section title. Reference Locale Names.
2047 LC_ALL is an environment variable, but not a category.
2048 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2049 description, now in Locale Name. Reference that section. Locale
2050 name syntax is now documented.
2052 2014-07-02 Florian Weimer <fweimer@redhat.com>
2055 * locale/findlocale.c (name_present, valid_locale_name): New
2057 (_nl_find_locale): Use the loc_name variable to store name
2058 candidates. Call name_present and valid_locale_name to check and
2059 validate locale names. Return an error if the locale is invalid.
2061 2014-07-02 Florian Weimer <fweimer@redhat.com>
2063 * locale/setlocale.c (setlocale): Use strdup for allocating
2064 composite name copy.
2066 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2068 Sync up with gnulib.
2069 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2070 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2071 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2072 and _GL_ARG_NONNULL.
2073 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2074 [!_LIBC]: Include code for Windows and Cygwin.
2075 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2076 Include prototype for int strerror_r.
2077 [!_LIBC] (is_open): New function.
2078 (flush_stdout): New function.
2079 (print_errno_message): Use it.
2081 (error_at_line): Likewise.
2082 (error_tail) Add function attribute macros. Use
2085 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2087 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2089 * io/ftw.c: Include sys/param.h unconditionally.
2091 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2094 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2096 (freecache): New function to free CACHE on exit.
2098 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2101 2014-07-09 David S. Miller <davem@davemloft.net>
2103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2105 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2106 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2107 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2108 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2109 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2110 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2111 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2112 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2113 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2114 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2115 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2116 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2117 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2119 2014-07-09 Andreas Schwab <schwab@suse.de>
2121 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2123 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2124 (do_test): Likewise.
2126 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2128 2014-07-09 Will Newton <will.newton@linaro.org>
2130 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2131 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2132 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2133 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2134 * sysdeps/hppa/start.S (_start): Likewise.
2136 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2138 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2140 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2143 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2145 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2146 after checking that it is non-NULL.
2148 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2150 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2152 * sysdeps/powerpc/memmove.c: Remove file.
2153 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2154 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2155 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2156 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2157 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2158 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2159 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2160 string memmove instead of removed powerpc one.
2162 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2163 [weak_alias]: Fix compiler warning due trailing data.
2164 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2165 [weak_alias]: Likewise.
2166 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2167 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2169 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2170 (__libc_ifunc_impl_list): Add memmove functions.
2172 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2174 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2176 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2178 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2180 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2182 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2184 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2186 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2188 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2190 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2192 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2194 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2196 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2198 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2200 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2202 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2204 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2206 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2209 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2211 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2212 to avoid alignment traps in non-cacheable memory.
2213 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2215 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2217 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2218 file: multiarch power7 memmove.
2219 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2220 multiarch default memmove.
2221 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2222 multiarch memove for powerpc32/power4.
2224 * string/bcopy.c: Use full path to include memmove.c.
2225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2227 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2228 bcopy for powerpc64.
2229 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2230 bcopy for powerpc64.
2231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2232 and memmove implementations.
2233 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2234 optimized multiarch memmove for POWER7/powerpc64.
2235 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2236 default multiarch memmove for powerpc64.
2237 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2238 multiarch for powerpc64.
2239 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2240 for POWER7/powerpc64.
2241 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2242 memmove for POWER7/powerpc64.
2244 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2247 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2248 __ELF_NATIVE_CLASS equal to 64.
2250 2014-07-07 Roland McGrath <roland@hack.frob.com>
2252 * sysdeps/nptl/lowlevellock.h: File removed.
2254 * NEWS: NPTL is no longer an add-on!
2255 * nptl/internaltypes.h: Moved ...
2256 * sysdeps/nptl/internaltypes.h: ... here.
2257 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2258 * sysdeps/nptl/fork.c: Likewise.
2259 * sysdeps/nptl/gai_misc.h: Likewise.
2260 * sysdeps/nptl/librt-cancellation.c: Likewise.
2261 * sysdeps/nptl/jmp-unwind.c: Likewise.
2262 * sysdeps/nptl/setxid.h: Likewise.
2263 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2264 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2265 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2266 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2267 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2268 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2269 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2270 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2271 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2272 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2273 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2274 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2275 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2276 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2277 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2278 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2279 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2280 * nptl/Makeconfig: Moved ...
2281 * sysdeps/nptl/Makeconfig: ... here.
2282 * nptl/configure: File removed.
2283 * nptl/ANNOUNCE: File removed.
2284 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2285 * sysdeps/unix/sysv/linux/configure: Regenerated.
2287 * nptl/Makefile (routines): Add libc_pthread_init,
2288 libc_multiple_threads, register-atfork and unregister-atfork.
2289 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2290 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2291 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2292 pthread-pi-defines.sym, structsem.sym.
2293 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2294 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2295 [$(subdir) = nptl] (tests): Add tst-setgetname.
2296 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2297 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2298 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2299 [!LIBC_SIGACTION]: Remove aliases.
2300 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2301 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2302 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2303 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2304 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2305 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2307 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2308 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2309 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2310 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2311 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2312 __libc_allocate_rtsig_private.
2313 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2314 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2315 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2316 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2317 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2318 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2319 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2320 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2321 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2322 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2323 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2324 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2325 * nptl/internaltypes.h: ... here.
2326 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2327 * sysdeps/nptl/jmp-unwind.c: ... here.
2328 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2329 * nptl/libc-lowlevellock.c: ... here.
2330 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2331 * nptl/libc_multiple_threads.c: ... here.
2332 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2333 * nptl/libc_pthread_init.c: ... here.
2334 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2335 * nptl/lowlevelbarrier.sym: ... here.
2336 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2337 * nptl/lowlevelcond.sym: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2339 * nptl/lowlevellock.c: ... here.
2340 * nptl/lowlevellock.h: Moved ...
2341 * sysdeps/nptl/lowlevellock.h: ... here.
2342 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2343 * nptl/lowlevelrobustlock.c: ... here.
2344 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2345 * nptl/lowlevelrobustlock.sym: ... here.
2346 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2347 * nptl/lowlevelrwlock.sym: ... here.
2348 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2349 * nptl/pt-fork.c: ... here.
2350 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2351 * nptl/pthread-pi-defines.sym: ... here.
2352 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2353 * nptl/pthread_attr_getaffinity.c: ... here.
2354 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2355 * nptl/pthread_attr_setaffinity.c: ... here.
2356 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2357 * nptl/pthread_mutex_cond_lock.c: ... here.
2358 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2360 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2361 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2362 * nptl/pthread_once.c: ... here, replacing old file.
2363 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2364 * nptl/pthread_yield.c: ... here.
2365 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2366 * nptl/register-atfork.c: ... here.
2367 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2368 * nptl/sem_post.c: ... here.
2369 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2370 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2371 * nptl/sem_timedwait.c: ... here.
2372 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2373 * nptl/sem_trywait.c: ... here.
2374 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2375 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2376 * nptl/sem_wait.c: ... here.
2377 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2378 * nptl/structsem.sym: ... here.
2379 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2380 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2381 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2382 * nptl/unregister-atfork.c: ... here.
2383 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2384 * nptl/unwindbuf.sym: ... here.
2385 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2386 * sysdeps/nptl/fork.c: ... here.
2387 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2388 * sysdeps/nptl/fork.h: ... here.
2389 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2390 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2391 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2392 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2393 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2394 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2395 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2396 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2397 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2398 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2399 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2400 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2401 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2403 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2404 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2405 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2406 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2407 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2408 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2409 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2410 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2411 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2412 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2413 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2415 * sysdeps/unix/sysv/linux/raise.c: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2417 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2419 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2421 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2423 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2425 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2427 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2428 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2429 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2430 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2432 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2434 * sysdeps/generic/memcopy.h: Add comment for
2435 MEMCPY_OK_FOR_FWD_MEMMOVE.
2437 2014-07-04 Will Newton <will.newton@linaro.org>
2439 * string/memchr.c: Merge from gnulib.
2440 [_LIBC]: Remove conditionals.
2441 (__ptr_t): Remove define.
2442 (LONG_MAX_32_BITS): Likewise.
2443 (LONG_MAX): Likewise.
2444 (MEMCHR): Use ANSI prototype and optimize algorithm.
2446 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2448 2014-07-03 Roland McGrath <roland@hack.frob.com>
2450 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2451 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2453 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2454 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2455 in a bare environment with no <stdlib.h> installed.
2456 * sysdeps/nptl/configure: Regenerated.
2458 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2460 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2461 AC_EGREP_CPP for kernel header checks, so they only succeed if
2462 including <linux/version.h> actually works right.
2463 * sysdeps/unix/sysv/linux/configure: Regenerated.
2465 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2466 value so it's not diagnosed as unused.
2468 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2469 thing) with "ifeq ($(subdir),rt)".
2471 2014-07-03 Richard Henderson <rth@redhat.com>
2473 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2474 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2475 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2477 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2478 (math_force_eval): New.
2480 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2481 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2483 * sysdeps/alpha/fpu/s_round.c: Remove file.
2484 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2486 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2487 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2488 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2489 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2490 (_dl_start, print_statistics): Likewise.
2491 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2492 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2494 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2495 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2496 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2497 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2498 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2499 (HP_SMALL_TIMING_AVAIL): Define.
2500 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2501 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2502 (HP_SMALL_TIMING_AVAIL): Define.
2503 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2504 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2506 * sysdeps/aarch64/hp-timing.h: New file.
2508 * sysdeps/generic/hp-timing.h: Remove dead comment.
2509 * sysdeps/generic/hp-timing-common.h: New file.
2510 * sysdeps/alpha/hp-timing.h: Include it.
2511 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2512 * sysdeps/i386/i686/hp-timing.h: Likewise.
2513 * sysdeps/ia64/hp-timing.h: Likewise.
2514 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2515 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2516 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2517 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2518 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2519 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2522 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2523 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2524 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2525 * elf/rtld.c (_dl_start_final): Likewise.
2526 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2527 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2528 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2529 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2530 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2531 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2532 (HP_TIMING_DIFF_INIT): Remove.
2533 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2534 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2535 (HP_TIMING_DIFF_INIT): Remove.
2536 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2537 * sysdeps/i386/i686/hp-timing.c: Remove file.
2538 * sysdeps/x86_64/hp-timing.c: Remove file.
2539 * sysdeps/ia64/hp-timing.c: Remove file.
2540 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2541 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2542 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2543 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2545 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2546 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2547 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2548 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2549 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2550 (HP_TIMING_ACCUM): Remove.
2551 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2552 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2553 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2555 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2556 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2557 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2558 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2559 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2560 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2561 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2562 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2564 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2566 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2568 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2570 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2572 Sync up with gettext.
2573 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2574 [_MSC_VER]: Include malloc.h
2575 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2576 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2577 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2578 TEMP_FAILURE_RETRY. Cast return of alloca.
2579 [!_LIBC] Call gl_rwlock_init.
2580 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2582 2014-07-02 Roland McGrath <roland@hack.frob.com>
2584 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2585 before checking its value.
2587 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2589 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2591 * debug/memcpy_chk.c: Don't include pagecopy.h.
2592 * debug/mempcpy_chk.c: Likewise.
2593 * string/memcpy.c: Likewise.
2594 * string/memmove.c: Likewise.
2595 * sysdeps/powerpc/memmove.c: Likewise.
2596 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2597 definition of PAGE_COPY_FWD_MAYBE here...
2598 * sysdeps/generic/pagecopy.h: ... from here.
2599 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2601 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2602 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2604 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2608 (__libc_ifunc_impl_list): Likewise.
2609 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2610 multiarch strcat for PPC64.
2611 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2612 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2614 2014-07-02 Roland McGrath <roland@hack.frob.com>
2616 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2618 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2620 * intl/loadmsgcat.c: Remove declaration of
2621 get_sysdep_segment_value.
2622 (get_sysdep_segment_value): Use ISO C style.
2623 (_nl_load_domain): Use ISO C style. Get rid of redundant
2624 semicolon. Fix typo and formatting in comment.
2625 (_nl_unload_domain): Use ISO C style.
2627 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2629 2014-07-02 Will Newton <will.newton@linaro.org>
2631 * malloc/obstack.c: Merge from gnulib master.
2632 [HAVE_CONFIG_H]: Remove conditional code.
2633 [!_LIBC]: Include config.h.
2634 [!ELIDE_CODE]: Don't include inttypes.h, include
2635 stdint.h unconditionally.
2636 (print_and_abort): Mark as _Noreturn.
2637 (_obstack_allocated_p): Mark as __attribute_pure__.
2638 (obstack_free): Rename to __obstack_free.
2639 [!__attribute__]: Remove conditional code.
2640 * malloc/obstack.h: Merge from gnulib master.
2641 [__cplusplus]: Move conditional down.
2642 [!__attribute_pure__]: Define __attribute_pure__ here
2643 if it is not already defined.
2644 (_obstack_memory_used): Mark as __attribute_pure__.
2645 [!__obstack_free]: Define as obstack_free.
2646 [__GNUC__]: Remove check for ancient NeXT gcc.
2648 2014-07-02 Will Newton <will.newton@linaro.org>
2649 Paul Eggert <eggert@cs.ucla.edu>
2651 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2653 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2655 * resolv/gethnamaddr.c: Add comment warning that the file is
2658 2014-07-01 Carlos O'Donell <carlos@redhat.com>
2660 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2663 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2664 entry for aio_cancel and aio_cancel64.
2665 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2666 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2667 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2668 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2669 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2670 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2671 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2672 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2673 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2674 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2675 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2676 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2677 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2679 2014-07-01 Roland McGrath <roland@hack.frob.com>
2681 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2682 * nptl/pthread_mutex_lock.c: Likewise.
2683 * nptl/pthread_mutex_timedlock.c: Likewise.
2684 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2686 2014-07-01 Richard henderson <rth@redhat.com>
2688 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2689 (__isnan, __isnanl): Remove.
2690 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2692 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2694 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2696 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2698 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2700 * resolv/nss_dns/dns-host.c (getanswer_r)
2701 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2703 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2705 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2706 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2708 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2709 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2711 2014-07-01 Roland McGrath <roland@hack.frob.com>
2713 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2714 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2716 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2717 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2719 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2720 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2722 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2723 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2725 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2726 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2727 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2728 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2730 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2731 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2732 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2733 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2734 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2736 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2738 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2739 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2740 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2741 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2742 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2743 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2744 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2745 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2746 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2747 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2748 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2749 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2750 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2751 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2752 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2753 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2754 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2755 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2756 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2757 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2759 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2760 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2761 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2762 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2763 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2764 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2765 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2766 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2768 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2770 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2771 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2772 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2775 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2779 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2781 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2782 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2784 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2786 * sysdeps/arm/libm-test-ulps: Regenerated.
2788 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2789 Roland McGrath <roland@hack.frob.com>
2791 * test-skeleton.c (signal_handler): Kill the whole process group
2792 before killing the child individually.
2793 (main): Report any failure on `setpgid'.
2795 2014-06-30 Roland McGrath <roland@hack.frob.com>
2797 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2798 from _TLS_H to _ARM_NPTL_TLS_H.
2799 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2800 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2802 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2805 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2806 (__expm1l): Return argument unchanged when small but not
2809 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2811 (_FP_UNPACK_RAW_1_P): Likewise.
2812 (_FP_PACK_RAW_1): Likewise.
2813 (_FP_PACK_RAW_1_P): Likewise.
2814 (_FP_MUL_MEAT_1_wide): Likewise.
2815 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2816 (_FP_MUL_MEAT_1_hard): Likewise.
2817 (_FP_DIV_MEAT_1_imm): Likewise.
2818 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2819 (_FP_DIV_MEAT_1_udiv): Likewise.
2820 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2821 (_FP_UNPACK_RAW_2): Likewise.
2822 (_FP_UNPACK_RAW_2_P): Likewise.
2823 (_FP_PACK_RAW_2): Likewise.
2824 (_FP_PACK_RAW_2_P): Likewise.
2825 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2826 (_FP_MUL_MEAT_2_wide): Likewise.
2827 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2828 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2829 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2830 (_FP_MUL_MEAT_2_gmp): Likewise.
2831 (_FP_DIV_MEAT_2_udiv): Likewise.
2832 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2833 (_FP_FRAC_SRL_4): Likewise.
2834 (_FP_FRAC_SRST_4): Likewise.
2835 (_FP_FRAC_SRS_4): Likewise.
2836 (_FP_UNPACK_RAW_4): Likewise.
2837 (_FP_UNPACK_RAW_4_P): Likewise.
2838 (_FP_PACK_RAW_4): Likewise.
2839 (_FP_PACK_RAW_4_P): Likewise.
2840 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2841 (_FP_MUL_MEAT_4_wide): Likewise.
2842 (_FP_MUL_MEAT_4_gmp): Likewise.
2843 (umul_ppppmnnn): Likewise.
2844 (_FP_DIV_MEAT_4_udiv): Likewise.
2845 (__FP_FRAC_ADD_4): Likewise.
2846 (__FP_FRAC_SUB_3): Likewise.
2847 (__FP_FRAC_SUB_4): Likewise.
2848 (__FP_FRAC_DEC_3): Likewise.
2849 (__FP_FRAC_DEC_4): Likewise.
2850 (__FP_FRAC_ADDI_4): Likewise.
2851 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2852 (_FP_FRAC_SRL_8): Likewise.
2853 (_FP_FRAC_SRS_8): Likewise.
2855 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2857 (FP_UNPACK_RAW_EP): Likewise.
2858 (FP_PACK_RAW_E): Likewise.
2859 (FP_PACK_RAW_EP): Likewise.
2860 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2861 (_FP_ISSIGNAN): Likewise.
2862 (_FP_ADD_INTERNAL): Likewise.
2863 (_FP_FMA): Likewise.
2864 (_FP_CMP): Likewise.
2865 (_FP_SQRT): Likewise.
2866 (_FP_TO_INT): Likewise.
2867 (_FP_FROM_INT): Likewise.
2868 (FP_EXTEND): Likewise.
2869 (_FP_DIV_MEAT_N_loop): Likewise.
2871 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2873 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2876 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2879 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2880 result with correct sign in case of exponents that produce
2881 overflow except for X very close to 1.
2883 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2885 mktime: merge #if/#ifdef usage from glibc
2886 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2887 as that works with both Glibc's and Gnulib's style.
2888 See thread starting at Siddhesh Poyarekar's bug report at:
2889 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2891 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2893 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2894 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2895 * sysdeps/tile/tilegx/memmove.c: Remove file.
2897 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2899 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2900 abi-name definition.
2901 * scripts/soversions.awk: Do not handle or generate ABI lines.
2902 * shlib-versions: Remove ABI entries.
2903 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2904 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2906 2014-06-27 Roland McGrath <roland@hack.frob.com>
2908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2909 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2910 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2911 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2913 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2916 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2919 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2921 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2927 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2932 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2933 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2934 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2936 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2939 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2940 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2942 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2944 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2947 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2949 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2950 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2951 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2952 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2953 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2956 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2961 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2964 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2965 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2969 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2972 Identical file removed.
2973 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2975 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2977 Identical file removed.
2978 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2982 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2983 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2984 Identical file removed.
2985 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2986 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2988 Identical file removed.
2989 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2990 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2992 Identical file removed.
2993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2994 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2996 Identical file removed.
2997 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2999 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3001 Identical file removed.
3002 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3004 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3005 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3006 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3007 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3008 Identical file removed.
3009 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3011 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3014 Identical file removed.
3015 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3017 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3018 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3019 Identical file removed.
3020 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3022 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3024 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3025 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3026 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3027 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3029 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3030 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3031 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3033 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3034 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3035 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3036 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3037 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3039 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3042 * nscd/nscd.c (monitor_child): Return exit status of child
3043 instead of return value from wait syscall.
3045 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3047 * configure.ac (libc_commonpagesize): Remove variable.
3048 (libc_relro_required): Likewise.
3049 (libc_cv_z_relro): Remove configure test.
3050 * configure: Regenerated.
3051 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3053 (libc_relro_required): Likewise.
3054 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3055 (libc_relro_required): Likewise.
3056 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3057 (libc_relro_required): Likewise.
3058 * sysdeps/arm/preconfigure: Regenerated.
3059 * sysdeps/ia64/preconfigure: Remove file.
3060 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3062 (libc_relro_required): Likewise.
3066 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3067 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3068 recompute overflowing results in original rounding mode.
3069 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3070 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3071 recompute overflowing results in original rounding mode.
3072 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3073 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3074 recompute overflowing results in original rounding mode.
3075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3076 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3077 recompute overflowing results in original rounding mode.
3078 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3079 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3080 recompute overflowing results in original rounding mode.
3081 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3082 (libc_feholdsetround_ctx): New macro.
3083 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3084 * sysdeps/i386/fpu/libm-test-ulps: Update.
3085 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3087 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3089 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3090 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3091 corresponding .cpsetup call.
3093 2014-06-26 Roland McGrath <roland@hack.frob.com>
3095 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3096 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3097 * sysdeps/arm/Makefile [$(subdir) = csu]
3098 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3099 (static-only-routines): Add aeabi_read_tp here.
3100 (shared-only-routines): Add libc-aeabi_read_tp here.
3101 (CFLAGS-libc-start.c): Add -fexceptions here.
3102 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3103 (sysdep_routines, static-only-routines, shared-only-routines):
3104 Don't add to these here.
3105 (CFLAGS-libc-start.c): Likewise.
3107 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3108 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3109 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3110 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3111 * sysdeps/arm/Makefile [$(subdir) = rt]
3112 (librt-sysdep_routines, librt-shared-only-routines):
3113 Append rt-aeabi_unwind_cpp_pr1 here.
3114 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3115 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3116 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3117 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3118 Append nptl-aeabi_unwind_cpp_pr1 here.
3119 (tests): Filter out tst-cleanupx4 here.
3120 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3121 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3122 Don't do those here.
3124 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3126 * scripts/list-sources.sh: Do not handle ports specially.
3128 2014-06-26 Roland McGrath <roland@hack.frob.com>
3130 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3131 * sysdeps/arm/feupdateenv.c: Likewise.
3133 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3135 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3137 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3138 trailing whitespace removed.
3139 * scripts/config.guess: Update to version 2014-03-23.
3140 * scripts/config.sub: Update to version 2014-05-01
3141 * scripts/install-sh: Update to version 2013-12-25.23.
3142 * scripts/move-if-change: Update from gnulib.
3144 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3146 * debug/memmove_chk.c: Remove pagecopy.h include.
3148 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3150 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3151 identical to gnulib mktime.
3153 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3155 * configure.ac: Do not test for machine being rs6000. Do not test
3157 * configure: Regenerated.
3159 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3161 * configure: Regenerated.
3162 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3163 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3164 Remove configure test.
3165 * sysdeps/arm/configure: Regenerated.
3166 * sysdeps/nptl/configure.ac: Do not check
3167 libc_cv_asm_cfi_directives.
3168 * sysdeps/nptl/configure: Regenerated.
3169 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3170 * sysdeps/x86_64/nptl/configure: Remove generated file.
3171 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3173 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3175 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3177 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3178 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3179 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3182 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3183 instead of whether it is defined.
3184 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3185 * sysdeps/hppa/dl-machine.h: Likewise.
3186 * sysdeps/ia64/dl-machine.h: Likewise.
3187 * sysdeps/m68k/dl-machine.h: Likewise.
3188 * sysdeps/microblaze/dl-machine.h: Likewise.
3189 * sysdeps/mips/dl-machine.: Likewise.
3190 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3191 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3192 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3193 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3194 * sysdeps/sh/dl-machine.h: Likewise.
3195 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3196 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3197 * sysdeps/tile/dl-machine.h: Likewise.
3198 * sysdeps/x86_64/dl-machine.h: Likewise.
3200 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3202 (verify_persistent_db): Likewise.
3204 2014-06-26 Roland McGrath <roland@hack.frob.com>
3206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3207 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3209 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3212 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3215 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3217 Identical file removed.
3218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3219 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3221 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3223 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3225 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3227 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3230 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3232 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3234 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3237 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3239 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3241 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3243 Identical file removed.
3244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3245 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3247 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3250 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3253 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3255 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3257 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3259 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3261 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3264 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3267 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3269 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3272 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3274 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3276 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3278 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3279 * sysdeps/unix/sysv/linux/s390/Versions
3280 (libpthread: GLIBC_2.19): New version set.
3281 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3282 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3283 (librt: GLIBC_2.3.3): New version set.
3284 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3285 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3286 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3287 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3288 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3289 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3290 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3291 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3292 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3293 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3294 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3295 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3296 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3297 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3298 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3299 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3300 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3301 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3302 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3303 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3304 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3305 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3306 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3307 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3308 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3309 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3310 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3311 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3312 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3313 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3314 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3315 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3316 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3317 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3319 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3320 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3322 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3324 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3325 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3326 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3328 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3330 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3331 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3332 (__libc_vfork): Define the function under this name.
3333 [!NOT_IN_libc] (__vfork): Make this an alias.
3334 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3336 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3337 (__libc_vfork): Define the function under this name.
3338 [!NOT_IN_libc] (__vfork): Make this an alias.
3339 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3340 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3341 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3342 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3343 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3344 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3346 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3347 code that was previously under [RESET_PID].
3348 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3349 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3350 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3352 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3353 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3354 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3355 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3356 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3357 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3358 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3359 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3360 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3361 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3362 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3364 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3365 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3366 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3367 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3368 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3369 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3370 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3371 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3372 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3373 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3374 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3376 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3377 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3378 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3379 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3380 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3384 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3386 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3388 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3389 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3390 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3391 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3392 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3394 2014-06-25 Roland McGrath <roland@hack.frob.com>
3396 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3397 that was previously under [RESET_PID].
3398 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3400 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3402 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3403 not undefine and redefine.
3404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3405 [O_CLOEXEC]: Make code unconditional.
3406 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3407 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3408 <kernel-features.h>.
3409 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3410 conditional variable definition.
3411 (shm_open) [O_CLOEXEC]: Make code unconditional.
3412 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3415 * configure.ac (USE_REGPARMS): Don't define here.
3416 * configure: Regenerated.
3417 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3418 * sysdeps/i386/configure: Regenerated.
3420 * nptl/createthread.c: Don't include kernel-features.h.
3421 * nptl/pthread_cancel.c: Likewise.
3422 * nptl/pthread_condattr_setclock.c: Likewise.
3423 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3424 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3425 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3426 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3427 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3428 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3429 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3430 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3432 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3433 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3434 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3435 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3436 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3437 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3438 * nscd/gai.c: Likewise.
3439 * nss/nss_db/db-open.c: Likewise.
3440 * sysdeps/generic/ldsodefs.h: Likewise.
3441 * sysdeps/sh/nptl/tls.h: Likewise.
3442 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3443 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3444 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3445 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3446 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3447 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3448 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3449 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3450 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3451 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3452 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3453 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3454 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3455 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3456 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3457 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3458 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3459 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3460 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3461 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3462 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3463 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3464 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3465 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3466 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3467 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3468 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3470 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3471 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3472 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3473 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3474 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3475 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3476 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3477 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3478 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3479 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3480 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3481 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3482 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3483 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3484 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3485 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3486 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3487 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3488 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3489 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3490 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3491 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3492 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3493 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3494 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3495 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3496 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3497 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3498 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3499 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3522 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3523 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3524 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3525 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3526 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3527 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3528 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3529 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3530 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3531 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3532 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3533 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3534 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3535 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3536 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3537 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3538 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3539 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3540 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3541 * sysdeps/unix/sysv/linux/system.c: Likewise.
3542 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3543 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3544 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3545 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3546 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3547 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3548 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3550 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3551 * configure: Regenerated.
3552 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3554 * configure.ac (base_machine): Do not set specially for particular
3556 * configure: Regenerated.
3557 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3558 settings from configure.ac.
3559 * sysdeps/i386/preconfigure: New file.
3560 * sysdeps/s390/preconfigure: Likewise.
3561 * sysdeps/sh/preconfigure: Likewise.
3562 * sysdeps/sparc/preconfigure: Likewise.
3564 2014-06-25 Roland McGrath <roland@hack.frob.com>
3566 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3567 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3568 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3569 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3570 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3571 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3572 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3573 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3574 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3575 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3576 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3577 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3578 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3579 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3580 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3581 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3582 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3583 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3584 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3586 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3587 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3588 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3589 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3590 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3591 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3592 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3593 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3594 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3595 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3596 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3597 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3598 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3599 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3600 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3601 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3602 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3603 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3604 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3605 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3606 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3607 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3608 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3609 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3610 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3611 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3612 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3613 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3614 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3615 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3616 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3617 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3618 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3619 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3620 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3621 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3622 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3623 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3626 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3628 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3631 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3634 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3636 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3639 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3641 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3643 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3645 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3648 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3651 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3653 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3656 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3658 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3660 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3662 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3664 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3667 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3670 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3672 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3675 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3677 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3679 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3681 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3684 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3687 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3689 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3692 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3694 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3696 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3698 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3700 * timezone/checktab.awk: Update from tzcode 2014e.
3701 * timezone/private.h: Likewise.
3702 * timezone/tzfile.h: Likewise.
3703 * timezone/zdump.c: Likewise.
3704 * timezone/zic.c: Likewise.
3706 * sysdeps/unix/sysv/linux/kernel-features.h
3707 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3708 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3709 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3710 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3711 Remove conditional code.
3713 2014-06-25 Will Newton <will.newton@linaro.org>
3715 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3716 (_dl_arm_cap_flags): Add HWCAP2 values.
3717 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3718 (_DL_HWCAP_COUNT): Increase to 37.
3719 (_DL_HWCAP_LAST): New define.
3720 (_DL_HWCAP2_LAST): New define.
3721 (_dl_procinfo): Add support for printing
3723 (_dl_string_hwcap): Use _dl_hwcap_string.
3725 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3729 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3731 * README: Do not mention ports directory.
3733 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3735 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3736 <kernel-features.h>.
3737 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3738 conditional variable definition.
3739 (__futimes): Update comment.
3740 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3741 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3744 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3745 arguments close to 0.
3746 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3748 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3750 * math/auto-libm-test-in: Add more tests of exp10.
3751 * math/auto-libm-test-out: Regenerated.
3752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3754 * sysdeps/unix/sysv/linux/kernel-features.h
3755 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3756 * sysdeps/unix/sysv/linux/readv.c: Do not include
3757 <kernel-features.h>.
3758 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3759 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3760 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3762 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3764 * sysdeps/unix/sysv/linux/writev.c: Do not include
3765 <kernel-features.h>.
3766 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3767 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3768 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3770 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3773 2014-06-25 Will Newton <will.newton@linaro.org>
3775 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3776 comment changes throughout the file. Remove checks
3777 for HAVE_*_H definitions that are not required.
3778 (__gen_tempname): Call abort if an unknown kind value is
3781 2014-06-25 Andreas Schwab <schwab@suse.de>
3784 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3785 scalbln, scalblnf, scalblnl in libc.
3787 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3790 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3791 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3792 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3794 2014-06-24 Roland McGrath <roland@hack.frob.com>
3796 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3797 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3798 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3799 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3801 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3802 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3804 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3805 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3806 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3807 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3808 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3809 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3810 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3811 * sysdeps/x86/bits/semaphore.h: ... here.
3812 * sysdeps/x86/nptl/elide.h: Moved ...
3813 * sysdeps/x86/elide.h: ... here.
3814 * sysdeps/x86_64/nptl/Implies: File removed.
3815 * sysdeps/i386/nptl/Implies: File removed.
3817 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3820 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3821 return the argument for normal arguments with exponent below -64.
3822 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3824 * math/auto-libm-test-in: Add another test of expm1.
3825 * math/auto-libm-test-out: Regenerated.
3828 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3829 calling __erfcl for arguments at least 16.
3830 * math/auto-libm-test-in: Add more tests of erf.
3831 * math/auto-libm-test-out: Regenerated.
3833 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3834 individual architectures.
3835 * sysdeps/unix/sysv/linux/configure: Regenerated.
3836 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3837 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3838 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3839 (ldd_rewrite_script): Define variable.
3840 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3845 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3846 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3847 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3848 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3849 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3850 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3851 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3852 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3854 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3857 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3858 Rename member __data.d to __data.__elision_data.
3860 2014-06-24 Wilco <wdijkstr@arm.com>
3862 * NEWS: Add 16918 to fixed bug list.
3864 2014-06-24 Wilco <wdijkstr@arm.com>
3866 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3868 2014-06-24 Wilco <wdijkstr@arm.com>
3870 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3871 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3872 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3873 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3874 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3875 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3876 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3879 2014-06-24 Wilco <wdijkstr@arm.com>
3881 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3883 2014-06-24 Wilco <wdijkstr@arm.com>
3885 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3886 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3887 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3888 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3890 2014-06-24 Wilco <wdijkstr@arm.com>
3893 * sysdeps/arm/feupdateenv.c (feupdateenv):
3894 Rewrite to reduce FPSCR accesses and fix return value.
3896 2014-06-24 Wilco <wdijkstr@arm.com>
3898 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3899 Optimize to avoid unnecessary FPSCR writes.
3900 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3901 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3902 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3903 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3905 2014-06-24 Wilco <wdijkstr@arm.com>
3907 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3908 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3909 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3910 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3911 Call libc_fetestexcept_vfp.
3912 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3913 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3914 __SOFTFP__ ifdef so that they can be built for softfp.
3916 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3918 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3919 argument type signed char.
3921 * Makerules (check-abi): Dump diff of symlist if the test
3924 2014-06-23 Roland McGrath <roland@hack.frob.com>
3926 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3929 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3930 Remove unused variable ST.
3932 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3936 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3937 small arguments before calling __expm1.
3938 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3939 small arguments before calling __expm1f.
3940 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3941 small arguments before calling __expm1l.
3942 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3944 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3945 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3946 spurious underflow for some cosh tests.
3947 * math/auto-libm-test-out: Regenerated.
3948 * sysdeps/i386/fpu/libm-test-ulps: Update.
3951 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3952 (__ieee754_y1): Set errno if return value overflows.
3953 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3954 (__ieee754_y1f): Set errno if return value overflows.
3955 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3956 (__ieee754_y1l): Set errno if return value overflows.
3957 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3958 (__ieee754_y1l): Set errno if return value overflows.
3959 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3960 * math/auto-libm-test-out: Regenerated.
3962 * math/gen-auto-libm-tests.c: Document use of
3963 ignore-zero-inf-sign.
3964 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3965 (input_flags): Add ignore-zero-inf-sign.
3966 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3967 * math/gen-libm-test.pl (generate_testfile): Handle
3968 ignore-zero-inf-sign.
3969 * math/auto-libm-test-in: Mark some cpow tests with
3970 ignore-zero-inf-sign and some with xfail-rounding.
3971 * math/auto-libm-test-out: Regenerated.
3972 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3973 * sysdeps/i386/fpu/libm-test-ulps: Update.
3974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3977 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3978 overflowing or underflowing operations take place with sign of
3980 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3981 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3982 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3983 (__ieee754_pow): Recompute overflowing and underflowing results in
3984 original rounding mode.
3985 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3986 (__powl_helper): Allow negative argument X and scale negated value
3987 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3988 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3989 overflowing or underflowing operations take place with sign of
3991 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3993 * math/auto-libm-test-in: Add more tests of pow.
3994 * math/auto-libm-test-out: Regenerated.
3995 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3996 (pow_tonearest_test_data): Remove.
3997 (pow_test_tonearest): Likewise.
3998 (pow_towardzero_test_data): Likewise.
3999 (pow_test_towardzero): Likewise.
4000 (pow_downward_test_data): Likewise.
4001 (pow_test_downward): Likewise.
4002 (pow_upward_test_data): Likewise.
4003 (pow_test_upward): Likewise.
4004 (main): Don't call removed functions.
4005 * sysdeps/i386/fpu/libm-test-ulps: Update.
4006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4008 2014-06-23 Roland McGrath <roland@hack.frob.com>
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4184 2014-06-23 Will Newton <will.newton@linaro.org>
4185 Wilco <wdijkstr@arm.com>
4187 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4188 implementation. Include get-rounding-mode.h.
4189 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4190 [!libc_feholdsetround_noex_ctx]: Define
4191 libc_feholdsetround_noex_ctx.
4192 [!libc_feholdsetround_noexf_ctx]: Define
4193 libc_feholdsetround_noexf_ctx.
4194 [!libc_feholdsetround_noexl_ctx]: Define
4195 libc_feholdsetround_noexl_ctx.
4196 (libc_feholdsetround_ctx): New function.
4197 (libc_feresetround_ctx): New function.
4198 (libc_feholdsetround_noex_ctx): New function.
4199 (libc_feresetround_noex_ctx): New function.
4201 2014-06-23 Roland McGrath <roland@hack.frob.com>
4203 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4204 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4205 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4206 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4207 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4208 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4210 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4211 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4212 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4213 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4214 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4215 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4217 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4218 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4222 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4225 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4226 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4228 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4230 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4232 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4234 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4235 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4236 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4237 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4239 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4240 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4242 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4243 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4244 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4245 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4247 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4248 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4249 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4250 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4251 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4252 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4253 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4254 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4255 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4258 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4260 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4261 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4262 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4263 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4264 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4265 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4266 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4267 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4271 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4272 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4274 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4276 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4277 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4278 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4279 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4281 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4282 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4283 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4284 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4285 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4287 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4288 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4289 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4290 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4291 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4292 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4293 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4294 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4296 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4297 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4298 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4304 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4306 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4307 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4308 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4309 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4310 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4311 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4312 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4313 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4314 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4316 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4318 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4319 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4320 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4321 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4322 (IPV6_PMTUDISC_INTERFACE): Likewise.
4323 (IPV6_PMTUDISC_OMIT): Likewise.
4325 2014-06-23 Andreas Schwab <schwab@suse.de>
4327 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4328 Remove unused errout label.
4330 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4332 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4333 macro: hardware supports Vector Crypto instructions.
4335 2014-06-23 Will Newton <will.newton@linaro.org>
4337 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4338 rather than __builtin_expect.
4340 * elf/dl-lookup.c (undefined_msg): Remove variable.
4341 (_dl_lookup_symbol_x): Replace undefined_msg with string
4344 * elf/dl-lookup.c (do_lookup_unique): New function.
4345 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4346 to a separate function.
4348 2014-06-23 Andreas Schwab <schwab@suse.de>
4351 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4352 before reading the next line.
4354 2014-06-23 Will Newton <will.newton@linaro.org>
4356 * test-skeleton.c (signal_handler): Use printf and %m
4357 rather than perror. Use printf rather than fprintf to
4358 stderr. Use puts rather than fputs to stderr.
4361 2014-06-22 Ludovic Courtès <ludo@gnu.org>
4363 * nscd/nscd.c (thread_info_t): Remove typedef.
4364 (thread_info): Remove variable.
4366 2014-06-21 Allan McRae <allan@archlinux.org>
4368 * NEWS: Mention CVE-2014-4043.
4370 2014-06-20 Roland McGrath <roland@hack.frob.com>
4372 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4373 * nptl/smp.h: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4377 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4378 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4379 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4380 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4382 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4383 * nptl/stack-aliasing.h: New file.
4384 * sysdeps/i386/i686/stack-aliasing.h: New file.
4385 * sysdeps/i386/i686/nptl/Makefile: File removed.
4386 * sysdeps/x86_64/stack-aliasing.h: New file.
4387 * sysdeps/x86_64/nptl/Makefile
4388 (CFLAGS-pthread_create.c): Variable removed.
4390 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4391 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4393 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4394 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4397 2014-06-21 Joseph Myers <joseph@codesourcery.com>
4399 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4400 (__ASSUME_SIGFRAME_V2): Remove macro.
4401 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4402 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4403 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4404 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4405 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4406 Declare as function. Remove conditional macro definitions.
4407 (__default_rt_sa_restorer): Likewise.
4408 (__default_sa_restorer_v1): Remove declaration.
4409 (__default_sa_restorer_v2): Likewise.
4410 (__default_rt_sa_restorer_v1): Likewise.
4411 (__default_rt_sa_restorer_v2): Likewise.
4412 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4413 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4414 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4416 2014-06-20 Roland McGrath <roland@hack.frob.com>
4418 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4419 (libpthread-routines): Add sysdep.
4420 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4421 * sysdeps/unix/sysv/linux/sparc/Versions
4422 (libpthread: GLIBC_2.3.3): New version set.
4423 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4424 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4425 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4426 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4427 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4428 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4430 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4431 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4432 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4433 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4434 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4435 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4436 * sysdeps/sparc/nptl/sem_init.c: ... here.
4437 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4438 * sysdeps/sparc/nptl/sem_post.c: ... here.
4439 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4440 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4441 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4442 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4443 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4444 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4445 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4446 (libpthread-routines): Add cpu_relax.
4447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4449 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4450 (librt: GLIBC_2.3.3): New version set.
4451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4452 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4453 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4454 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4457 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4460 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4462 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4464 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4466 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4468 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4471 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4475 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4479 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4483 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4487 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4491 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4494 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4500 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4502 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4505 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4507 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4509 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4511 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4513 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4514 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4515 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4516 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4517 * nscd/nscd.c: Likewise.
4518 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4519 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4520 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4521 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4523 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4524 <kernel-features.h>.
4525 (init_mq_netlink): Remove conditional have_sock_cloexec
4526 definitions. Remove code conditional on have_sock_cloexec < 0.
4527 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4528 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4529 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4530 <kernel-features.h>.
4531 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4532 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4534 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4536 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4537 Add tests for memset_chk and memset.
4539 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4542 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4545 * elf/tst-dl-iter-static.c: New file.
4546 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4548 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4551 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4553 * sysdeps/unix/sysv/linux/kernel-features.h
4554 (__ASSUME_F_GETOWN_EX): Remove macro.
4555 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4556 <kernel-features.h>.
4557 (miss_F_GETOWN_EX): Remove variable or macro.
4558 (do_fcntl): Do not check miss_F_GETOWN_EX.
4559 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4561 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4563 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4564 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4565 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4567 * sysdeps/unix/sysv/linux/kernel-features.h
4568 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4569 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4570 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4571 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4573 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4576 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4577 Fix calculation of the symbol's value.
4578 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4579 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4580 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4581 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4582 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4583 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4584 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4585 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4586 (modules-names): Add `tst-armtlsdescmod',
4587 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4588 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4589 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4590 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4591 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4592 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4593 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4594 ($(objpfx)tst-armtlsdescloc): New dependency.
4595 ($(objpfx)tst-armtlsdescextnow): Likewise.
4596 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4597 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4599 * sysdeps/arm/configure: Regenerate.
4601 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4603 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4604 (__atfct_seterrno_2): Likewise.
4605 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4606 <kernel-features.h>.
4607 (__ASSUME_ATFCTS): Do not undefine and redefine.
4608 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4609 (__have_atfcts): Remove conditional definition.
4610 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4611 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4612 unreachable if [__ASSUME_ATFCTS].
4613 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4614 not undefine and redefine.
4615 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4616 <kernel-features.h>.
4617 (faccessat) [__NR_faccessat]: Make code unconditional.
4618 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4619 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4620 <kernel-features.h>.
4621 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4622 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4623 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4624 <kernel-features.h>.
4625 (fchownat) [__NR_fchownat]: Make code unconditional.
4626 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4627 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4628 <kernel-features.h>.
4629 (futimesat) [__NR_futimesat]: Make code unconditional.
4630 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4631 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4632 <kernel-features.h>.
4633 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4634 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4635 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4636 <kernel-features.h>.
4637 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4638 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4639 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4640 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4641 <kernel-features.h>.
4642 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4643 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4644 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4645 <kernel-features.h>.
4646 (linkat) [__NR_linkat]: Make code unconditional.
4647 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4648 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4649 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4650 <kernel-features.h>.
4651 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4652 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4653 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4654 <kernel-features.h>.
4655 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4656 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4657 * sysdeps/unix/sysv/linux/openat.c: Do not include
4658 <kernel-features.h>.
4659 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4660 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4661 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4662 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4663 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4664 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4665 <kernel-features.h>.
4666 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4667 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4668 result of INLINE_SYSCALL directly, not via int variable.
4669 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4670 <kernel-features.h>.
4671 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4672 (renameat) [__NR_renameat]: Make code unconditional.
4673 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4674 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4675 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4676 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4677 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4678 (__ASSUME_ATFCTS): Do not undefine and redefine.
4679 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4680 <kernel-features.h>.
4681 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4682 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4683 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4684 <kernel-features.h>.
4685 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4686 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4687 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4688 (__ASSUME_ATFCTS): Do not undefine and redefine.
4689 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4690 <kernel-features.h>.
4691 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4692 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4693 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4694 <kernel-features.h>.
4695 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4696 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4698 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4700 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4702 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4705 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4706 constructed tree before returning error.
4707 * posix/bug-regexp36.c: Expand test case.
4709 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4712 * math/libm-test.inc (scalbln_test_date):
4713 Add errno expectations.
4714 * math/w_scalblnf.c: New File.
4715 Add wrapper which checks for setting errno to ERANGE.
4716 Add weak_alias for corresponding scalbln function.
4717 * math/w_scalbln.c: Likewise.
4718 * math/w_scalblnl.c: Likewise.
4719 * math/Makefile (libm-calls): Add w_scalbln.
4720 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4721 Remove weak_alias for corresponding scalbln function.
4722 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4724 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4726 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4727 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4728 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4729 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4730 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4731 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4732 Remove long_double_symbol for scalblnl function in libm, libc.
4733 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4734 Add wrapper which checks for setting errno to ERANGE.
4735 Add long_double_symbol for scalblnl function in libm, libc.
4736 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4737 Remove long_double_symbol for scalblnl in libm.
4738 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4739 Add wrapper which checks for setting errno to ERANGE.
4740 Add long_double_symbol for scalblnl function in libm.
4741 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4742 Do not use wrapper because of own implementation.
4744 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4746 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4747 3 bytes for __pad1 for x32.
4748 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4750 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4751 H.J. Lu <hongjiu.lu@intel.com>
4753 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4754 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4755 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4756 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4757 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4759 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4762 * posix/regcomp.c (parse_expression): Deallocate partially
4763 constructed tree before returning error.
4764 * posix/Makefile.c (tests): Add bug-regex36.
4765 (generated): Add bug-regex36.mtrace.
4766 (tests-special): Add $(objpfx)bug-regex36-mem.out
4767 (bug-regex36-ENV): New variable.
4768 ($(objpfx)bug-regex36-mem.out): New rule.
4769 * posix/bug-regex36.c: New file.
4771 2014-06-19 Will Newton <will.newton@linaro.org>
4773 * malloc/malloc.c (systrim): If extra is zero then return
4776 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4778 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4780 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4782 * sysdeps/aarch64/strchr.S: New file.
4784 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4787 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4788 from arguments -2 or below.
4789 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4790 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4792 2014-06-18 Andreas Schwab <schwab@suse.de>
4795 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4796 of a bracket expr not to run off the end of the string.
4797 * posix/Makefile (tests): Add tst-fnmatch3.
4798 * posix/tst-fnmatch3.c: New file.
4800 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4802 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4803 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4804 [$(cross-compiling) = no]: Likewise.
4805 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4806 [$(cross-compiling) = no]: Likewise.
4808 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4811 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4812 double, adjusted for any remainder from the high double.
4813 * math/libm-test.inc (nearbyint): Add tests.
4816 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4818 * nptl/sysdeps/powerpc/Makefile: Moved ...
4819 * sysdeps/powerpc/nptl/Makefile: ... here.
4820 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4821 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4822 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4823 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4824 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4825 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4826 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4827 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4828 * nptl/sysdeps/powerpc/tls.h: Moved ...
4829 * sysdeps/powerpc/nptl/tls.h: ... here.
4831 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4834 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4835 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4836 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4837 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4838 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4839 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4840 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4841 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4842 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4844 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4846 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4848 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4850 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4853 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4856 2014-06-16 Florian Weimer <fweimer@redhat.com>
4859 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4860 non-executed part of the test.
4862 2014-06-16 Andreas Schwab <schwab@suse.de>
4864 * string/bits/string2.h (strdup, strndup): Update feature guard.
4866 2014-06-14 David S. Miller <davem@davemloft.net>
4868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4870 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4872 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4873 that was previously under [RESET_PID].
4874 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4876 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4877 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4878 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4879 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4880 (__libc_vfork): New strong alias.
4881 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4883 2014-06-14 Andi Kleen <ak@linux.intel.com>
4885 * sysdeps/generic/elide.h: New file.
4887 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4889 * Makefile (installed-headers): Adjust path of pthread.h header.
4891 2014-06-13 Roland McGrath <roland@hack.frob.com>
4893 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4894 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4896 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4898 * nptl/sysdeps/s390/Makefile: Moved ...
4899 * sysdeps/s390/nptl/Makefile: ... here.
4900 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4901 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4902 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4903 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4904 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4905 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4906 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4907 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4908 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4909 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4910 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4911 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4912 * nptl/sysdeps/s390/tls.h: Moved ...
4913 * sysdeps/s390/nptl/tls.h: ... here.
4915 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4916 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4918 2014-06-13 David S. Miller <davem@davemloft.net>
4920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4923 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4927 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4928 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4929 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4930 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4931 Remove RESET_PID cpp guards.
4932 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4933 Remove RESET_PID cpp guards.
4934 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4936 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4938 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4941 2014-06-13 Andi Kleen <ak@linux.intel.com>
4943 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4944 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4945 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4946 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4947 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4948 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4949 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4950 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4951 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4952 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4953 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4954 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4955 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4956 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4957 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4958 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4959 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4960 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4961 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4962 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4964 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4965 (pthread_rwlock_rdlock): Add elision.
4966 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4967 (pthread_rwlock_wrlock): Add elision.
4968 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4969 (pthread_rwlock_trywrlock): Add elision.
4970 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4971 (pthread_rwlock_tryrdlock): Add elision.
4972 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4973 (pthread_rwlock_tryrdlock): Add elision unlock.
4974 * nptl/sysdeps/pthread/pthread.h:
4975 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4976 (PTHREAD_RWLOCK_INITIALIZER,
4977 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4978 Handle new elision field.
4979 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4980 * sysdeps/arm/nptl/bits/pthreadtypes.h
4981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4982 * sysdeps/sh/nptl/bits/pthreadtypes.h
4983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4984 * sysdeps/tile/nptl/bits/pthreadtypes.h
4985 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4986 * sysdeps/a/nptl/bits/pthreadtypes.h
4987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4988 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4990 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4992 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4993 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4994 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4995 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4996 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4997 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4998 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4999 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5000 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5001 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5002 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5003 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5004 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5005 (elision_init): Set try_xbegin to zero when no RTM.
5006 * sysdeps/x86/nptl/bits/pthreadtypes.h
5007 (pthread_rwlock_t): Change __pad1 to __rwelision.
5008 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5010 2014-06-13 Andi Kleen <ak@linux.intel.com>
5012 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5013 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5014 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5015 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5017 2014-06-13 Meador Inge <meadori@codesourcery.com>
5020 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5021 that the cached result has been set before returning it.
5023 2014-06-12 Roland McGrath <roland@hack.frob.com>
5025 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5026 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5027 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5028 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5029 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5030 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5032 * nptl/sysdeps/sparc/Makefile: Moved ...
5033 * sysdeps/sparc/nptl/Makefile: ... here.
5034 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5035 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5036 * nptl/sysdeps/sparc/tls.h: Moved ...
5037 * sysdeps/sparc/nptl/tls.h: ... here.
5038 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5039 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5040 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5041 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5042 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5043 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5044 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5045 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5046 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5047 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5048 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5049 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5050 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5051 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5052 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5053 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5054 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5055 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5057 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5058 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5060 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5061 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5063 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5064 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5067 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5069 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5070 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5072 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5073 (struct list_links): Type removed.
5074 (struct thread_node, struct timer_node): Replace struct list_links
5075 with struct list_head.
5076 (list_unlink_ip): Likewise.
5077 * sysdeps/pthread/timer_routines.c
5078 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5079 (list_append, list_insbefore): Likewise.
5080 (list_init): Function removed.
5081 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5082 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5083 * sysdeps/pthread/Makefile: ... here, new file.
5085 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5086 * sysdeps/nptl/Implies: ... here.
5087 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5088 * nptl/sysdeps/pthread/list.h: Moved ...
5089 * include/list.h: ... here.
5090 * nptl/sysdeps/pthread/createthread.c: Moved ...
5091 * nptl/createthread.c: ... here.
5092 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5093 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5094 * nptl/pt-longjmp.c: ... here.
5095 * nptl/sysdeps/pthread/Makefile: Moved ...
5096 * sysdeps/nptl/Makefile: ... here.
5097 * nptl/sysdeps/pthread/Subdirs: Moved ...
5098 * sysdeps/nptl/Subdirs: ... here.
5099 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5100 * sysdeps/nptl/aio_misc.h: ... here.
5101 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5102 * sysdeps/nptl/bits/libc-lock.h: ... here.
5103 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5104 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5105 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5106 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5107 * nptl/sysdeps/pthread/configure: Moved ...
5108 * sysdeps/nptl/configure: ... here.
5109 * nptl/sysdeps/pthread/configure.ac: Moved ...
5110 * sysdeps/nptl/configure.ac: ... here.
5111 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5112 * sysdeps/nptl/gai_misc.h: ... here.
5113 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5114 * sysdeps/nptl/librt-cancellation.c: ... here.
5115 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5116 * sysdeps/nptl/malloc-machine.h: ... here.
5117 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5118 * sysdeps/nptl/pthread-functions.h: ... here.
5119 * nptl/sysdeps/pthread/pthread.h: Moved ...
5120 * sysdeps/nptl/pthread.h: ... here.
5121 * nptl/sysdeps/pthread/setxid.h: Moved ...
5122 * sysdeps/nptl/setxid.h: ... here.
5123 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5124 * sysdeps/nptl/sigfillset.c: ... here.
5125 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5126 * sysdeps/nptl/tcb-offsets.h: ... here.
5127 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5128 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5129 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5130 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5131 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5132 * sysdeps/pthread/allocalim.h: ... here.
5133 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5134 * sysdeps/pthread/bits/sigthread.h: ... here.
5135 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5136 * sysdeps/pthread/flockfile.c: ... here.
5137 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5138 * sysdeps/pthread/ftrylockfile.c: ... here.
5139 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5140 * sysdeps/pthread/funlockfile.c: ... here.
5141 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5142 * sysdeps/pthread/posix-timer.h: ... here.
5143 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5144 * sysdeps/pthread/timer_create.c: ... here.
5145 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5146 * sysdeps/pthread/timer_delete.c: ... here.
5147 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5148 * sysdeps/pthread/timer_getoverr.c: ... here.
5149 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5150 * sysdeps/pthread/timer_gettime.c: ... here.
5151 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5152 * sysdeps/pthread/timer_routines.c: ... here.
5153 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5154 * sysdeps/pthread/timer_settime.c: ... here.
5155 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5156 * sysdeps/pthread/tst-timer.c: ... here.
5157 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5158 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5160 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5161 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5163 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5164 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5165 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5166 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5167 Update #include target.
5168 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5169 * sysdeps/i386/i686/nptl/Makefile: ... here.
5170 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5171 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5172 Update #include target.
5173 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5174 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5175 * nptl/sysdeps/i386/Makefile: Moved ...
5176 * sysdeps/i386/nptl/Makefile: ... here.
5177 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5178 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5179 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5180 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5181 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5182 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5183 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5184 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5185 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5186 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5187 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5188 * nptl/sysdeps/i386/tls.h: Moved ...
5189 * sysdeps/i386/nptl/tls.h: ... here.
5191 * sysdeps/sh/Makefile [$(subdir) = csu]
5192 (gen-as-const-headers): Add tcb-offsets.sym.
5193 * nptl/sysdeps/sh/Makefile: File removed.
5194 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5195 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5196 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5197 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5198 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5199 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5200 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5201 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5202 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5203 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5204 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5205 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5206 * nptl/sysdeps/sh/tls.h: Moved ...
5207 * sysdeps/sh/nptl/tls.h: ... here.
5208 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5209 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5210 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5211 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5213 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5214 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5215 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5216 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5217 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5218 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5219 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5220 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5221 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5222 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5223 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5224 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5225 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5226 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5227 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5229 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5230 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5231 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5232 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5234 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5235 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5237 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5238 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5239 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5240 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5241 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5242 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5243 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5244 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5245 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5246 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5247 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5249 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5251 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5252 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5253 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5254 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5255 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5257 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5259 * posix/spawn_faction_addopen.c: Include string.h.
5261 2014-06-11 Roland McGrath <roland@hack.frob.com>
5263 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5264 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5265 * nptl/sysdeps/x86_64/Makefile: Moved ...
5266 * sysdeps/x86_64/nptl/Makefile: ... here.
5267 * nptl/sysdeps/x86_64/configure: Moved ...
5268 * sysdeps/x86_64/nptl/configure: ... here.
5269 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5270 * sysdeps/x86_64/nptl/configure.ac: ... here.
5271 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5272 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5273 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5274 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5275 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5276 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5277 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5278 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5279 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5280 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5281 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5282 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5283 * nptl/sysdeps/x86_64/tls.h: Moved ...
5284 * sysdeps/x86_64/nptl/tls.h: ... here.
5285 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5286 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5287 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5288 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5290 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5292 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5296 2014-06-11 Joseph Myers <joseph@codesourcery.com>
5298 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5300 [POSIX] (off_t): Likewise.
5301 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5302 [POSIX] (S_ISBLK): Require macro.
5303 [POSIX] (S_ISCHR): Likewise.
5304 [POSIX] (S_ISDIR): Likewise.
5305 [POSIX] (S_ISFIFO): Likewise.
5306 [POSIX] (S_ISREG): Likewise.
5307 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5309 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5311 [POSIX] (time_t): Likewise.
5312 [POSIX] (timer_t): Likewise.
5314 2014-06-11 Florian Weimer <fweimer@redhat.com>
5317 * posix/spawn_int.h (struct __spawn_action): Make the path string
5318 non-const to support deallocation.
5319 * posix/spawn_faction_addopen.c
5320 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5321 * posix/spawn_faction_destroy.c
5322 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5323 path in all spawn_do_open actions.
5324 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5325 posix_spawn_file_actions_addopen.
5327 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5329 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5330 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5331 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5332 conditional code always true.
5333 (__libc_vfork): New alias.
5335 2014-06-11 Roland McGrath <roland@hack.frob.com>
5337 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5338 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5340 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5342 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5343 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5345 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5346 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5348 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5349 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5351 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5353 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5354 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5355 multiarch strcmp for PPC64.
5356 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5357 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5359 multiarch optimizations.
5360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5361 (__libc_ifunc_impl_list): Likewise.
5363 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5365 * benchtests/scripts/validate_benchout.py: New script.
5366 * benchtests/Makefile (bench-func): Call it.
5367 * benchtests/scripts/benchout.schema.json: New file.
5369 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5371 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5372 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5373 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5374 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5375 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5376 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5377 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5378 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5379 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5380 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5381 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5382 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5383 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5384 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5385 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5386 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5490 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5491 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5493 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5496 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5499 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5500 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5501 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5502 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5503 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5505 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5507 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5508 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5509 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5510 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5512 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5515 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5516 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5517 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5518 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5520 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5521 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5522 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5523 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5524 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5525 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5526 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5528 2014-06-10 Wilco <wdijkstr@arm.com>
5530 * math/test-fenv-return.c: New file.
5531 * math/Makefile: Add new test test-fenv-return.
5533 2014-06-10 Joseph Myers <joseph@codesourcery.com>
5536 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5538 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5539 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5540 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5541 0.0L for an argument of 1.0L.
5542 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5544 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5545 value when x - 1 is zero.
5546 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5547 * sysdeps/i386/fpu/libm-test-ulps: Update.
5548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5550 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5553 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5555 2014-06-09 Roland McGrath <roland@hack.frob.com>
5557 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5558 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5560 2014-06-09 Roland McGrath <roland@hack.frob.com>
5562 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5563 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5565 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5566 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5568 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5569 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5571 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5572 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5574 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5575 if not already defined.
5576 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5577 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5578 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5579 (TLS_INIT_TP): Use it.
5580 (TLS_DEFINE_INIT_TP): New macro.
5581 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5583 2014-06-09 Joseph Myers <joseph@codesourcery.com>
5585 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5587 [POSIX] (IXANY): Likewise.
5588 [POSIX] (OLCUC): Likewise.
5589 [POSIX || POSIX2008] (CBAUD): Do not allow.
5590 [POSIX || POSIX2008] (DEFECHO): Likewise.
5591 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5592 [POSIX || POSIX2008] (ECHOKE): Likewise.
5593 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5594 [POSIX || POSIX2008] (EXTA): Likewise.
5595 [POSIX || POSIX2008] (EXTB): Likewise.
5596 [POSIX || POSIX2008] (FLUSHO): Likewise.
5597 [POSIX || POSIX2008] (LOBLK): Likewise.
5598 [POSIX || POSIX2008] (PENDIN): Likewise.
5599 [POSIX || POSIX2008] (SWTCH): Likewise.
5600 [POSIX || POSIX2008] (VDISCARD): Likewise.
5601 [POSIX || POSIX2008] (VDSUSP): Likewise.
5602 [POSIX || POSIX2008] (VLNEXT): Likewise.
5603 [POSIX || POSIX2008] (VREPRINT): Likewise.
5604 [POSIX || POSIX2008] (VSTATUS): Likewise.
5605 [POSIX || POSIX2008] (VWERASE): Likewise.
5606 (B*): Change to B[0123456789]*.
5607 * conform/data/time.h-data [POSIX || UNIX98]
5608 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5609 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5610 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5611 [POSIX] (tm_*): Do not allow.
5613 2014-06-07 Joseph Myers <joseph@codesourcery.com>
5615 * Makefile (install): Don't set LANGUAGE.
5616 * Makefile.in (install): Likewise.
5617 * assert/Makefile (test-assert-ENV): Remove variable.
5618 (test-assert-perr-ENV): Likewise.
5619 * elf/Makefile (neededtest4-ENV): Likewise.
5620 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5621 [$(cross-compiling) = no]: Don't set LANGUAGE.
5622 * io/ftwtest-sh (LANG): Remove variable.
5623 * libio/Makefile (tst-widetext-ENV): Likewise.
5624 * manual/install.texi (Running make install): Don't refer to
5625 environment settings for make install.
5626 * INSTALL: Regenerated.
5627 * nptl/tst-tls6.sh: Don't set LANG.
5628 * posix/globtest.sh (LANG): Remove variable.
5629 * string/Makefile (tester-ENV): Likewise.
5630 (inl-tester-ENV): Likewise.
5631 (noinl-tester-ENV): Likewise.
5632 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5633 [$(cross-compiling) = no]: Don't set LANGUAGE.
5634 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5635 without explicit environment settings.
5637 2014-06-06 Roland McGrath <roland@hack.frob.com>
5639 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5640 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5642 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5644 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5646 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5647 other files in the crypt directory.
5648 * crypt/crypt.c: Remove duplicate includes.
5649 * crypt/crypt-entry.c: Likewise.
5650 * crypt/crypt_util.c: Likewise.
5652 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5654 * Makeconfig (run-program-env): New variable.
5655 (run-program-prefix-before-env): Likewise.
5656 (run-program-prefix-after-env): Likewise.
5657 (run-program-prefix): Define in terms of new variables.
5658 (built-program-cmd-before-env): New variable.
5659 (built-program-cmd-after-env): Likewise.
5660 (built-program-cmd): Define in terms of new variables.
5661 (test-program-prefix-before-env): New variable.
5662 (test-program-prefix-after-env): Likewise.
5663 (test-program-prefix): Define in terms of new variables.
5664 (test-program-cmd-before-env): New variable.
5665 (test-program-cmd-after-env): Likewise.
5666 (test-program-cmd): Define in terms of new variables.
5667 * Rules (make-test-out): Use $(run-program-env).
5668 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5669 (help): Do not mention environment variables. Mention
5670 --timeoutfactor option.
5671 (timeoutfactor): New variable.
5672 (blacklist_exports): Remove function.
5673 (exports): Remove variable.
5674 (command): Do not include ${exports}.
5675 * manual/install.texi (Configuring and compiling): Do not mention
5676 test wrappers preserving environment variables. Mention that last
5677 assignment to a variable must take precedence.
5678 * INSTALL: Regenerated.
5679 * benchtests/Makefile (run-bench): Use $(run-program-env).
5680 * catgets/Makefile ($(objpfx)test1.cat): Use
5681 $(built-program-cmd-before-env), $(run-program-env) and
5682 $(built-program-cmd-after-env).
5683 ($(objpfx)test2.cat): Do not specify environment variables
5685 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5686 $(run-program-env) and $(built-program-cmd-after-env).
5687 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5688 $(run-program-env) and $(test-program-cmd-after-env).
5689 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5691 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5692 run_program_env and test_program_cmd_after_env arguments.
5693 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5694 * elf/tst-pathopt.sh: Use run_program_env argument.
5695 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5696 $(test-wrapper-env) and $(run-program-env).
5697 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5698 run_program_env arguments.
5699 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5700 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5701 $(test-program-prefix-before-env), $(run-program-env) and
5702 $(test-program-prefix-after-env).
5703 ($(objpfx)tst-gettext2.out): Likewise.
5704 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5705 run_program_env and test_program_prefix_after_env arguments.
5706 * intl/tst-gettext2.sh: Likewise.
5707 * intl/tst-gettext4.sh: Do not set environment variables
5709 * intl/tst-gettext6.sh: Likewise.
5710 * intl/tst-translit.sh: Likewise.
5711 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5712 $(test-program-prefix-before-env), $(run-program-env) and
5713 $(test-program-prefix-after-env).
5714 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5715 run_program_env and test_program_prefix_after_env arguments.
5716 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5717 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5718 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5719 explicitly with each use of ${test_wrapper_env}.
5720 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5721 $(test-program-prefix-before-env), $(run-program-env) and
5722 $(test-program-prefix-after-env).
5723 * posix/tst-getconf.sh: Do not set environment variables
5725 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5726 run_program_env and test_program_prefix_after_env arguments.
5727 * stdio-common/tst-printf.sh: Do not set environment variables
5729 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5730 $(test-program-prefix-before-env), $(run-program-env) and
5731 $(test-program-prefix-after-env).
5732 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5733 run_program_env and test_program_prefix_after_env arguments.
5734 Split $test calls into $test_pre and $test.
5735 * timezone/Makefile (build-testdata): Use
5736 $(built-program-cmd-before-env), $(run-program-env) and
5737 $(built-program-cmd-after-env).
5739 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5742 strlen for non SHARED builds.
5744 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5746 * nptl/allocatestack.c (check_list): Inlined function...
5747 (__reclaim_stacks): ... here.
5749 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5752 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5755 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5757 * Rules (make-test-out): Include
5758 LOCPATH=$(common-objpfx)localedata in default environment.
5759 * debug/Makefile (tst-chk1-ENV): Remove variable.
5760 (tst-chk2-ENV): Likewise.
5761 (tst-chk3-ENV): Likewise.
5762 (tst-chk4-ENV): Likewise.
5763 (tst-chk5-ENV): Likewise.
5764 (tst-chk6-ENV): Likewise.
5765 (tst-lfschk1-ENV): Likewise.
5766 (tst-lfschk2-ENV): Likewise.
5767 (tst-lfschk3-ENV): Likewise.
5768 (tst-lfschk4-ENV): Likewise.
5769 (tst-lfschk5-ENV): Likewise.
5770 (tst-lfschk6-ENV): Likewise.
5771 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5772 (tst-iconv7-ENV): Likewise.
5773 * intl/Makefile (LOCPATH-ENV): Likewise.
5774 (tst-codeset-ENV): Likewise.
5775 (tst-gettext3-ENV): Likewise.
5776 (tst-gettext5-ENV): Likewise.
5777 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5778 (tst-fopenloc-ENV): Likewise.
5779 (tst-fgetws-ENV): Remove variable.
5780 (tst-ungetwc1-ENV): Likewise.
5781 (tst-ungetwc2-ENV): Likewise.
5782 (bug-ungetwc2-ENV): Likewise.
5783 (tst-swscanf-ENV): Likewise.
5784 (bug-ftell-ENV): Likewise.
5785 (tst-fgetwc-ENV): Likewise.
5786 (tst-fseek-ENV): Likewise.
5787 (tst-ftell-partial-wide-ENV): Likewise.
5788 (tst-ftell-active-handler-ENV): Likewise.
5789 (tst-ftell-append-ENV): Likewise.
5790 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5791 (tst-regexloc-ENV): Likewise.
5792 (bug-regex1-ENV): Likewise.
5793 (tst-regex-ENV): Likewise.
5794 (tst-regex2-ENV): Likewise.
5795 (bug-regex5-ENV): Likewise.
5796 (bug-regex6-ENV): Likewise.
5797 (bug-regex17-ENV): Likewise.
5798 (bug-regex18-ENV): Likewise.
5799 (bug-regex19-ENV): Likewise.
5800 (bug-regex20-ENV): Likewise.
5801 (bug-regex22-ENV): Likewise.
5802 (bug-regex23-ENV): Likewise.
5803 (bug-regex25-ENV): Likewise.
5804 (bug-regex26-ENV): Likewise.
5805 (bug-regex30-ENV): Likewise.
5806 (bug-regex32-ENV): Likewise.
5807 (bug-regex33-ENV): Likewise.
5808 (bug-regex34-ENV): Likewise.
5809 (bug-regex35-ENV): Likewise.
5810 (tst-rxspencer-ENV): Likewise.
5811 (tst-rxspencer-no-utf8-ENV): Likewise.
5812 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5813 (tst-sscanf-ENV): Likewise.
5814 (tst-swprintf-ENV): Likewise.
5815 (tst-swscanf-ENV): Likewise.
5816 (test-vfprintf-ENV): Likewise.
5817 (scanf13-ENV): Likewise.
5818 (bug14-ENV): Likewise.
5819 (tst-grouping-ENV): Likewise.
5820 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5821 (tst-strtod3-ENV): Likewise.
5822 (tst-strtod4-ENV): Likewise.
5823 (tst-strtod5-ENV): Likewise.
5824 (testmb2-ENV): Likewise./
5825 * string/Makefile (tst-strxfrm-ENV): Likewise.
5826 (tst-strxfrm2-ENV): Likewise.
5827 (bug-strcoll1-ENV): Likewise.
5828 (test-strcasecmp-ENV): Likewise.
5829 (test-strncasecmp-ENV): Likewise.
5830 * time/Makefile (tst-strptime-ENV): Likewise.
5831 (tst-ftime_l-ENV): Likewise.
5832 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5833 (tst-mbrtowc-ENV): Likewise.
5834 (tst-wcrtomb-ENV): Likewise.
5835 (tst-mbrtowc2-ENV): Likewise.
5836 (tst-c16c32-1-ENV): Likewise.
5837 (tst-mbsnrtowcs-ENV): Likewise.
5839 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5841 * manual/resource.texi (How to get information about the memory
5842 subsystem?): Fix typo.
5843 Reported by Peon de la Parra Ivan <peon@keba.com>
5845 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5848 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5849 (pthread_spin_lock): Branch out of spin loop to proper location.
5850 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5851 (pthread_spin_lock): Likewise.
5853 * nptl/tst-spin4.c: New test.
5854 * nptl/Makefile (tests): Add tst-spin4.
5856 2014-06-03 Andreas Schwab <schwab@suse.de>
5859 * resolv/res_send.c (send_dg): Reload file descriptor after
5862 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5864 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5866 2014-06-03 Richard Henderson <rth@redhat.com>
5868 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5869 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5870 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5871 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5872 in the SAVE_PID block.
5873 (__libc_vfork): New alias.
5874 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5876 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5877 child in registers, not on the stack. Remove RESET_PID conditionals.
5878 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5880 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5882 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5884 2014-06-03 Wilco <wdijkstr@arm.com>
5886 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5887 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5888 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5889 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5890 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5893 2014-06-03 Wilco <wdijkstr@arm.com>
5895 * sysdeps/aarch64/fpu/math_private.h
5896 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5897 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5898 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5899 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5902 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5904 * crypt/crypt-private.h: Include ufc-crypt.h.
5905 (__b64_from_24bit): Declare extern.
5906 * crypt/crypt_util.c(__b64_from_24bit): New function.
5907 (b64t): New static const variable.
5908 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5909 (b64t): Remove variable.
5910 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5911 * crypt/sha256-crypt.c: Include crypt-private.h.
5912 (b64t): Remove variable.
5913 (__sha256_crypt_r): Remove b64_from_24bit and replace
5914 with __b64_from_24bit.
5915 * crypt/sha512-crypt.c: Likewise.
5917 2014-06-02 Roland McGrath <roland@hack.frob.com>
5919 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5920 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5921 Label the code __libc_vfork rather than __vfork.
5922 [!NOT_IN_libc] (vfork): Define as weak alias.
5923 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5924 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5925 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5927 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5929 * malloc/malloc.c (malloc_info): Fix format specifier for
5932 2014-06-02 Wilco <wdijkstr@arm.com>
5934 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5937 2014-06-02 Wilco <wdijkstr@arm.com>
5940 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5941 Rewrite to reduce FPCR/FPSR accesses.
5943 2014-06-01 David S. Miller <davem@davemloft.net>
5945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5947 2014-05-31 David S. Miller <davem@davemloft.net>
5949 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5950 to occur in round to nearest mode when |x| >= 2.0
5952 2014-05-30 Richard Henderson <rth@twiddle.net>
5954 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5955 (PSEUDO_RET_NOERRNO): Remove.
5956 (ret): Don't redefine.
5957 (ret_NOERRNO): Define in terms of ret.
5958 (ret_ERRVAL): Likewise.
5960 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5961 use of PSEUDO_RET; perform the error check directly.
5963 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5965 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5968 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5970 * malloc/malloc (malloc_info): Fix formatting.
5972 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5973 Roland McGrath <roland@hack.frob.com>
5975 * malloc/malloc (malloc_info): Also print mmapped statistics.
5977 2014-05-30 Roland McGrath <roland@hack.frob.com>
5979 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5980 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5982 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5984 * malloc/malloc.c (malloc_info): Inline mi_arena.
5986 2014-05-29 Richard Henderson <rth@twiddle.net>
5988 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5989 Remove comma before expanding ASM_ARGS_##nr.
5990 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5991 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5993 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5994 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5995 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5996 (ASM_ARGS_1): Add leading comma.
5998 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5999 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6000 to __errno_location.
6001 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6002 Remove the expected plt for __errno_location.
6004 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6005 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6008 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6009 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6010 it and break it down.
6011 (DOCARGS_0, DOCARGS_1): Do nothing.
6012 (DOCARGS_2): Update to store into the new stack frame.
6013 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6014 (UNDOCARGS_1): Update to restore from the new stack frame.
6015 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6016 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6018 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6019 (SINGLE_THREAD_P): New parameter for result regno.
6020 (PSEUDO): Update to match; use cbz instead of beq.
6022 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6023 Use ENTRY to define the _nocancel entry point. Share the syscall
6024 and syscall error check paths with the cancel path.
6027 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6028 whitespace; tabs before and after asm mnemonics.
6030 2014-05-29 Eric Wong <normalperson@yhbt.net>
6033 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6034 Call fstat64 or stat64 internally, depending on arguments passed.
6035 Replace stat buffer argument with file descriptor argument.
6036 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6037 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6038 Pass fd to __internal_statvfs instead of calling fstat64.
6039 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6040 Pass fd to __internal_statvfs64 instead of calling fstat64.
6041 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6042 Pass -1 to __internal_statvfs instead of calling stat64.
6043 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6044 Pass -1 to __internal_statvfs64 instead of calling stat64.
6046 2014-05-28 Roland McGrath <roland@hack.frob.com>
6048 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6049 that was previously under [RESET_PID].
6050 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6052 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6053 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6055 2014-05-27 Roland McGrath <roland@hack.frob.com>
6057 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6059 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6060 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6062 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6064 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6066 2014-05-27 Andreas Schwab <schwab@suse.de>
6068 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6070 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6071 * elf/rtld.c (init_tls, dl_main): Likewise.
6072 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6073 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6074 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6075 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6076 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6077 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6078 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6079 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6080 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6081 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6082 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6083 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6084 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6085 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6086 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6087 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6088 * sysdeps/generic/tls.h: Update description.
6090 2014-05-27 Will Newton <will.newton@linaro.org>
6093 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6094 and restore r2 rather than just restoring.
6096 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6099 * libio/tst-ftell-append.c: New test case.
6100 * libio/Makefile (tests): Add test case.
6101 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6103 * libio/wfileops.c (do_ftell_wide): Likewise.
6105 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6109 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6113 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6114 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6115 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6116 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6117 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6118 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6119 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6125 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6126 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6127 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6128 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6129 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6131 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6134 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6136 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6138 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6139 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6140 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6142 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6143 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6144 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6145 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6168 conditional [RESET_PID].
6169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6170 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6172 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6177 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6178 (__libc_vfork): New strong alias.
6179 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6186 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6187 (__libc_vfork): New strong alias.
6188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6193 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6195 * malloc/malloc.c (mi_arena): New function.
6196 (malloc_info): Remove nested function mi_arena. Call non-nosted
6199 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6201 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6203 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6204 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6205 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6206 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6207 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6208 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6209 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6211 2014-05-26 Andreas Schwab <schwab@suse.de>
6214 * locale/programs/repertoire.c (repertoire_read): Add slash
6215 between I18NPATH element and file name.
6216 * locale/programs/locfile.c (locfile_read): Likewise.
6218 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6220 * nptl/pthread_mutexattr_settype.c
6221 (__pthread_mutexattr_settype):
6222 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6224 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6226 * nptl/tst-mutex5 (do_test):
6227 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6229 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6231 * benchtests/README: Document 'init' directive.
6232 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6234 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6235 (parse_file): Recognize 'init' directive.
6237 2014-05-26 Kyle McMartin <kyle@redhat.com>
6240 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6241 alignment of struct pthread.
6243 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6246 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6247 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6248 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6249 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6251 2014-05-25 Richard Henderson <rth@twiddle.net>
6253 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6254 (SINGLE_THREAD_P_PIC): Remove.
6255 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6256 (SINGLE_THREAD_P_PIC): Remove.
6258 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6259 branch to syscall error ...
6261 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6262 from __local_syscall_error to .Lsyscall_error.
6263 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6264 (SYSCALL_ERROR): Update label name.
6266 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6267 Do not use DOARGS/UNDOARGS.
6268 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6269 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6270 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6271 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6272 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6274 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6277 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6278 define if !NOT_IN_libc.
6279 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6280 define with non-default symbol versions.
6282 2014-05-23 Richard Henderson <rth@twiddle.net>
6284 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6285 (vfork, __vfork): Define via compat_symbol.
6287 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6288 [!HAVE_IFUNC] (vfork_compat): Remove.
6289 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6291 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6294 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6295 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6298 2014-05-23 Richard Henderson <rth@twiddle.net>
6300 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6301 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6302 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6303 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6305 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6306 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6307 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6308 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6309 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6310 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6311 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6312 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6313 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6314 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6315 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6316 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6317 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6318 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6319 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6320 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6321 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6322 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6323 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6324 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6325 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6326 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6327 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6328 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6329 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6330 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6331 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6332 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6333 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6334 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6335 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6336 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6337 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6338 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6339 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6340 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6341 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6342 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6343 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6344 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6345 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6346 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6347 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6348 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6349 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6350 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6351 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6352 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6353 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6354 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6355 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6356 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6357 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6358 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6359 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6360 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6362 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6363 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6364 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6365 before exiting on error.
6366 (__libc_vfork): New strong alias.
6367 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6368 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6370 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6371 that was previously under [RESET_PID].
6372 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6374 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6376 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6379 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6380 value when x - 1 is zero.
6381 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6382 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6383 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6384 0.0L for an argument of 1.0L.
6385 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6387 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6388 value when x - 1 is zero.
6389 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6390 * sysdeps/i386/fpu/libm-test-ulps: Update.
6391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6393 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6395 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6396 alphasort and versionsort.
6398 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6400 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6402 [copysignf]: Likewise.
6404 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6406 * crypt/md5-crypt.c: Fix formatting.
6408 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6410 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6411 (b64_from_24bit): New function.
6413 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6415 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6416 libc_hidden_builtin_def to ifunc.
6417 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6418 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6420 2014-05-21 Roland McGrath <roland@hack.frob.com>
6422 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6423 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6425 2014-05-21 Joseph Myers <joseph@codesourcery.com>
6427 * nscd/Depend (linuxthreads): Remove.
6429 * resolv/Depend (linuxthreads): Remove.
6430 * rt/Depend (linuxthreads): Remove.
6432 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6433 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6434 $(common-objpfx)elf/.
6435 (link-libc-before-gnulib): Likewise.
6436 (elfobjdir): Remove variable.
6437 * Makefile (install): Use $(elf-objpfx) instead of
6438 $(common-objpfx)elf/.
6439 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6441 (link-libc-deps): Likewise.
6442 ($(common-objpfx)libc.so): Likewise.
6443 ($(common-objpfx)linkobj/libc.so): Likewise.
6444 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6445 instead of $(common-objpfx)elf/.
6446 (symbolic-link-list): Likewise.
6447 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6448 [$(cross-compiling) = no]: Likewise.
6449 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6451 (static-gnulib-arch): Likewise.
6452 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6453 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6454 $(common-objpfx)elf/.
6456 2014-05-21 Richard Henderson <rth@redhat.com>
6458 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6459 (SINGLE_THREAD_P): Use the correct width load. Fold
6460 into the ldr offset.
6462 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6463 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6465 2014-05-20 Joseph Myers <joseph@codesourcery.com>
6467 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6468 (libgcc_s_resume): Use __attribute_used__.
6469 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6472 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6474 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6475 optimization when used with float constants.
6477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6479 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6482 * locale/nl_langinfo_l.c: Make direct reference to every
6483 _nl_current_CATEGORY symbol.
6484 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6485 (tests-static): Add tst-langinfo-static.
6486 (tests-special): Add tst-langinfo-static.out.
6487 ($(objpfx)tst-langinfo.out): Redirect output.
6488 ($(objpfx)tst-langinfo-static.out): New.
6489 * localedata/tst-langinfo.sh: Send output to stdout.
6490 * localedata/tst-langinfo-static.c: New file.
6493 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6494 when the shift amount is modulo the limb size.
6496 2014-05-20 Richard Henderson <rth@redhat.com>
6499 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6500 Change type of sa_flags from unsigned int to int.
6503 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6505 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6507 2014-05-20 Will Newton <will.newton@linaro.org>
6509 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6510 Test the return value of the system call in the nocancel case.
6512 2014-05-20 Will Newton <will.newton@linaro.org>
6513 Yvan Roux <yvan.roux@linaro.org>
6515 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6516 #include of asm/ptrace.h.
6517 (PTRACE_GET_THREAD_AREA): Remove #undef.
6518 (PTRACE_GETHBPREGS): Likewise.
6519 (PTRACE_SETHBPREGS): Likewise.
6520 (struct user_regs_struct): New structure.
6521 (struct user_fpsimd_struct): New structure.
6522 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6523 #include of asm/ptrace.h and second #include of sys/user.h.
6524 (PTRACE_GET_THREAD_AREA): Remove #undef.
6525 (PTRACE_GETHBPREGS): Likewise.
6526 (PTRACE_SETHBPREGS): Likewise.
6527 (ELF_NGREG): Use new struct user_regs_struct.
6528 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6530 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6532 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6533 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6535 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6538 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6539 membar to avoid block loads/stores to overlap previous stores.
6541 2014-05-17 Richard Henderson <rth@redhat.com>
6543 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6544 Create the __##syscall_name##_nocancel entry point.
6545 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6546 Remove; let the sysdep-cancel.h code create it.
6548 2014-05-17 David S. Miller <davem@davemloft.net>
6550 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6551 Protect with __USE_GNU.
6552 (TIOCSET_TEMPT): Likewise.
6553 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6554 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6555 these are already provided in bits/ioctl-types.h
6557 2014-05-16 Roland McGrath <roland@hack.frob.com>
6559 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6560 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6562 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6563 Use wait4 regardless of [__NR_waitpid].
6565 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6568 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6569 (_FP_NANSIGN_Q): Set the quiet bit.
6571 2014-05-16 Joseph Myers <joseph@codesourcery.com>
6573 * benchtests/Makefile
6574 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6575 not $(common-objpfx)math/libm.so.
6576 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6577 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6578 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6579 $(common-objpfx)dlfcn/libdl.so.
6580 ($(objpfx)tst-audit8): Depend on $(libm), not
6581 $(common-objpfx)math/libm.so.
6582 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6583 not $(common-objpfx)dlfcn/libdl.so.
6585 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6586 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6587 [$(build-shared) = yes].
6588 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6589 $(common-objpfx)nptl/libpthread.so.
6590 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6591 $(common-objpfx)math/libm.so$(libm.so-version) or
6592 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6593 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6594 $(common-objpfx)dlfcn/libdl.so.
6595 * setjmp/Makefile (link-libm): Remove variable.
6596 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6597 * stdio-common/Makefile (link-libm): Remove variable.
6598 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6599 * stdlib/Makefile (link-libm): Remove variable.
6600 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6601 ($(objpfx)tst-strtod-round): Likewise.
6602 ($(objpfx)tst-tininess): Likewise.
6603 ($(objpfx)tst-strtod-underflow): Likewise.
6604 ($(objpfx)tst-strtod6): Likewise.
6605 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6606 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6607 $(common-objpfx)dlfcn/libdl.so.
6609 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6611 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6612 BSD terminal modes definitions.
6614 2014-05-16 Roland McGrath <roland@hack.frob.com>
6616 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6617 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6619 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6620 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6621 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6622 Don't do #include_next.
6623 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6624 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6625 Don't do #include_next.
6626 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6627 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6628 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6629 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6631 2014-05-16 Allan McRae <allan@archlinux.org>
6633 * po/sv.po: Update Swedish translation from translation project.
6635 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6638 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6641 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6642 errno if the TIOCGPTN ioctl fails with an error different than
6644 * login/tst-ptsname.c: New file.
6645 * login/Makefile (tests): Add tst-ptsname.
6648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6651 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6655 herrno to return EAI_AGAIN.
6657 2014-05-14 Roland McGrath <roland@hack.frob.com>
6659 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6660 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6661 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6662 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6663 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6664 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6665 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6666 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6667 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6668 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6669 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6670 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6671 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6672 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6673 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6674 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6675 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6676 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6678 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6679 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6680 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6681 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6682 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6683 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6684 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6685 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6686 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6687 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6688 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6690 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6692 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6695 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6697 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6699 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6701 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6703 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6705 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6707 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6709 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6711 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6713 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6715 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6717 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6719 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6721 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6724 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6726 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6728 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6730 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6732 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6734 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6736 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6738 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6740 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6742 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6745 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6747 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6749 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6750 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6751 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6752 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6753 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6754 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6755 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6756 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6757 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6758 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6759 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6760 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6761 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6762 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6763 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6764 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6765 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6766 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6767 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6768 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6769 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6770 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6771 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6772 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6773 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6774 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6775 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6776 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6777 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6778 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6779 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6781 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6782 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6784 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6785 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6786 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6787 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6788 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6789 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6791 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6792 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6794 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6795 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6797 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6800 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6801 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6802 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6803 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6805 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6806 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6807 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6808 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6809 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6810 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6811 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6812 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6814 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6815 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6817 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6819 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6820 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6821 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6822 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6823 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6825 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6827 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6829 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6830 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6831 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6833 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6834 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6836 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6837 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6839 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6840 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6842 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6845 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6846 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6847 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6848 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6850 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6851 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6852 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6853 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6854 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6855 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6856 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6857 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6859 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6860 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6862 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6864 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6865 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6866 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6867 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6868 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6870 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6872 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6874 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6875 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6876 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6877 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6878 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6879 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6880 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6881 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6882 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6883 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6885 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6886 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6888 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6889 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6891 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6894 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6895 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6896 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6897 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6898 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6899 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6901 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6902 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6903 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6905 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6906 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6907 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6908 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6910 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6911 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6913 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6915 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6916 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6917 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6918 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6919 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6921 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6923 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6925 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6926 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6927 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6928 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6929 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6930 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6931 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6932 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6933 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6934 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6935 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6937 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6938 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6940 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6941 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6943 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6944 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6945 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6946 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6947 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6948 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6949 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6950 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6951 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6952 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6953 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6954 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6955 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6956 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6957 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6959 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6964 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6967 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6969 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6971 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6972 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6973 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6974 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6976 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6979 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6980 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6981 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6982 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6983 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6984 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6985 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6986 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6987 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6988 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6989 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6990 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6991 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6992 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6993 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6994 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6995 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6997 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6998 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6999 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7000 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7001 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7003 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7004 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7005 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7006 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7007 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7008 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7009 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7010 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7011 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7012 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7015 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7017 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7018 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7019 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7020 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7021 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7022 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7023 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7024 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7025 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7026 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7027 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7028 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7029 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7030 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7033 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7035 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7051 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7052 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7053 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7054 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7055 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7057 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7058 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7059 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7061 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7062 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7063 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7064 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7065 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7067 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7068 that was previously under [RESET_PID].
7069 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7070 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7071 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7073 * sysdeps/i386/nptl/Implies: New file.
7074 * sysdeps/x86_64/nptl/Implies: New file.
7075 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7076 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7077 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7078 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7080 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7081 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7082 (__libc_vfork): New strong alias.
7083 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7084 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7086 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7087 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7088 (__libc_vfork): New strong alias.
7089 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7090 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7092 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7093 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7094 (__libc_vfork): New strong alias.
7095 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7096 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7097 * nptl/pt-vfork.c: New file.
7098 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7099 (libpthread: GLIBC_2.20): New version set (empty).
7101 2014-05-14 Will Newton <will.newton@linaro.org>
7103 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7106 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7109 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7110 arguments with exponent 65 or above.
7111 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7112 arguments 0x1p113L or above.
7113 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7114 to arguments 0x1p107L or above.
7115 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7116 positive arguments with exponent 65 or above.
7117 * math/auto-libm-test-in: Add more tests of log1p.
7118 * math/auto-libm-test-out: Regenerated.
7121 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7122 non-finite arguments is +0.
7123 * math/s_cacosf.c (__cacosf): Likewise.
7124 * math/s_cacosl.c (__cacosl): Likewise.
7125 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7126 * sysdeps/i386/fpu/libm-test-ulps: Update.
7127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7130 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7132 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7133 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7134 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7135 for explicit high bit of mantissa when testing for argument equal
7137 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7138 * sysdeps/i386/fpu/libm-test-ulps: Update.
7139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7142 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7143 (__erf): Scale by 16 instead of 8 in potentially underflowing
7144 case. Ensure exception if result actually underflows.
7145 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7146 (__erff): Scale by 16 instead of 8 in potentially underflowing
7147 case. Ensure exception if result actually underflows.
7148 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7149 (efx8): Remove variable.
7150 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7151 case. Ensure exception if result actually underflows.
7152 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7153 (efx8): Remove variable.
7154 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7155 case. Ensure exception if result actually underflows.
7156 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7157 (efx8): Remove variable.
7158 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7159 case. Ensure exception if result actually underflows.
7160 * math/auto-libm-test-in: Add more tests of erf.
7161 * math/auto-libm-test-out: Regenerated.
7163 2014-05-14 Andreas Schwab <schwab@suse.de>
7165 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7166 Remove code conditionalized on USE___THREAD.
7168 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7169 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7172 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7174 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7175 Define unconditionally.
7176 (__ASSUME_O_CLOEXEC): Likewise.
7177 (__ASSUME_SOCK_CLOEXEC): Likewise.
7178 (__ASSUME_IN_NONBLOCK): Likewise.
7179 (__ASSUME_PIPE2): Likewise.
7180 (__ASSUME_EVENTFD2): Likewise.
7181 (__ASSUME_SIGNALFD4): Likewise.
7182 (__ASSUME_DUP3): Likewise.
7183 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7184 (__ASSUME_DUP3): Do not define.
7185 (__ASSUME_EVENTFD2): Likewise.
7186 (__ASSUME_IN_NONBLOCK): Likewise.
7187 (__ASSUME_O_CLOEXEC): Likewise.
7188 (__ASSUME_PIPE2): Likewise.
7189 (__ASSUME_SIGNALFD4): Likewise.
7190 (__ASSUME_SOCK_CLOEXEC): Likewise.
7191 (__ASSUME_UTIMES): Undefine.
7192 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7193 (__ASSUME_UTIMES): Do not define.
7194 (__ASSUME_O_CLOEXEC): Likewise.
7195 (__ASSUME_SOCK_CLOEXEC): Likewise.
7196 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7197 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7199 (__ASSUME_PIPE2): Likewise.
7200 (__ASSUME_EVENTFD2): Likewise.
7201 (__ASSUME_SIGNALFD4): Likewise.
7202 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7203 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7205 (__ASSUME_EVENTFD2): Likewise.
7206 (__ASSUME_SIGNALFD4): Likewise.
7207 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7208 (__ASSUME_32BITUIDS): Likewise.
7209 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7210 (__ASSUME_IPC64): Likewise.
7211 (__ASSUME_ST_INO_64_BIT): Likewise.
7212 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7213 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7214 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7215 (__ASSUME_UTIMES): Do not define.
7216 (__ASSUME_PSELECT): Likewise.
7217 (__ASSUME_PPOLL): Likewise.
7218 (__ASSUME_O_CLOEXEC): Likewise.
7219 (__ASSUME_SOCK_CLOEXEC): Likewise.
7220 (__ASSUME_IN_NONBLOCK): Likewise.
7221 (__ASSUME_PIPE2): Likewise.
7222 (__ASSUME_EVENTFD2): Likewise.
7223 (__ASSUME_SIGNALFD4): Likewise.
7224 (__ASSUME_DUP3): Likewise.
7225 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7226 (__ASSUME_UTIMES): Likewise.
7227 (__ASSUME_O_CLOEXEC): Likewise.
7228 (__ASSUME_SOCK_CLOEXEC): Likewise.
7229 (__ASSUME_IN_NONBLOCK): Likewise.
7230 (__ASSUME_PIPE2): Likewise.
7231 (__ASSUME_EVENTFD2): Likewise.
7232 (__ASSUME_SIGNALFD4): Likewise.
7233 (__ASSUME_DUP3): Likewise.
7234 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7235 (__ASSUME_UTIMES): Likewise.
7236 (__ASSUME_O_CLOEXEC): Likewise.
7237 (__ASSUME_SOCK_CLOEXEC): Likewise.
7238 (__ASSUME_IN_NONBLOCK): Likewise.
7239 (__ASSUME_PIPE2): Likewise.
7240 (__ASSUME_EVENTFD2): Likewise.
7241 (__ASSUME_SIGNALFD4): Likewise.
7242 (__ASSUME_DUP3): Likewise.
7243 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7245 (__ASSUME_UTIMES): Likewise.
7246 (__ASSUME_EVENTFD2): Likewise.
7247 (__ASSUME_SIGNALFD4): Likewise.
7248 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7249 (__ASSUME_O_CLOEXEC): Likewise.
7250 (__ASSUME_SOCK_CLOEXEC): Likewise.
7251 (__ASSUME_IN_NONBLOCK): Likewise.
7252 (__ASSUME_PIPE2): Likewise.
7253 (__ASSUME_EVENTFD2): Likewise.
7254 (__ASSUME_SIGNALFD4): Likewise.
7255 (__ASSUME_DUP3): Likewise.
7256 (__ASSUME_UTIMES): Undefine.
7258 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7259 feclearexcept. Remove symbol versioning code.
7260 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7261 symbol versioning code.
7262 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7263 symbol versioning code.
7264 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7265 feupdateenv. Remove symbol versioning code.
7266 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7267 fegetexceptflag. Remove symbol versioning code.
7268 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7269 fesetexceptflag. Remove symbol versioning code.
7270 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7271 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7272 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7273 (__posix_fadvise64_l32): Remove prototype.
7274 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7277 2014-05-13 Roland McGrath <roland@hack.frob.com>
7279 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7280 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7281 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7282 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7284 2014-05-13 Sami Kerola <kerolasa@iki.fi>
7286 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7287 current working directory
7289 2014-05-13 Roland McGrath <roland@hack.frob.com>
7291 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7292 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7293 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7294 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7295 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7296 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7297 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7298 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7299 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7300 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7301 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7302 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7303 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7304 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7305 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7306 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7307 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7308 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7309 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7310 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7311 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7312 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7313 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7314 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7315 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7316 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7317 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7318 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7319 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7320 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7321 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7322 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7323 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7324 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7325 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7326 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7327 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7328 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7329 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7330 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7331 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7332 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7334 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7335 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7337 * sysdeps/unix/sysv/linux/arm/Makefile
7338 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7339 Add rt-aeabi_unwind_cpp_pr1.
7340 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7341 Add nptl-aeabi_unwind_cpp_pr1.
7342 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7343 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7344 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7345 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7346 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7347 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7349 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7350 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7351 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7352 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7354 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7355 Deconditionalize the code that was previously under [RESET_PID].
7356 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7358 * sysdeps/generic/exit-thread.h: New file.
7359 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7360 * include/unistd.h (__exit_thread): Remove declaration.
7361 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7362 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7363 * csu/libc-start.c: Include <exit-thread.h>.
7364 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7365 * nptl/pthread_create.c: Include <exit-thread.h>.
7366 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7367 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7368 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7369 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7370 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7371 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7372 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7373 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7374 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7375 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7376 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7377 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7378 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7379 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7380 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7381 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7382 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7384 2014-05-13 Andreas Schwab <schwab@suse.de>
7386 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7388 2014-05-12 Joseph Myers <joseph@codesourcery.com>
7390 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7391 (__ASSUME_UTIMES): Do not condition on kernel version.
7392 (__ASSUME_PSELECT): Define unconditionally.
7393 (__ASSUME_PPOLL): Likewise.
7394 (__ASSUME_ATFCTS): Likewise.
7395 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7396 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7397 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7398 (__ASSUME_UTIMENSAT): Define unconditionally.
7399 (__ASSUME_PRIVATE_FUTEX): Likewise.
7400 (__ASSUME_FALLOCATE): Likewise.
7401 (__ASSUME_O_CLOEXEC): Likewise.
7402 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7403 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7404 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7405 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7406 (__ASSUME_IN_NONBLOCK): Likewise.
7407 (__ASSUME_PIPE2): Likewise.
7408 (__ASSUME_EVENTFD2): Likewise.
7409 (__ASSUME_SIGNALFD4): Likewise.
7410 (__ASSUME_DUP3): Likewise.
7411 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7412 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7413 (__ASSUME_AT_RANDOM): Likewise.
7414 (__ASSUME_PREADV): Likewise.
7415 (__ASSUME_PWRITEV): Likewise.
7416 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7417 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7418 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7419 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7420 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7421 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7422 (__ASSUME_O_CLOEXEC): Define unconditionally.
7423 (__ASSUME_PSELECT): Do not undefine conditionally.
7424 (__ASSUME_PPOLL): Likewise.
7425 (__ASSUME_ATFCTS): Likewise.
7426 (__ASSUME_SET_ROBUST_LIST): Likewise.
7427 (__ASSUME_UTIMENSAT): Likewise.
7428 (__ASSUME_FDATASYNC): Define unconditionally.
7429 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7430 (__ASSUME_SIGFRAME_V2): Likewise.
7431 )__ASSUME_EVENTFD2): Likewise.
7432 (__ASSUME_SIGNALFD4): Likewise.
7433 (__ASSUME_PSELECT): Do not undefine conditionally.
7434 (__ASSUME_PPOLL): Likewise.
7435 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7436 (__ASSUME_PSELECT): Define unconditionally.
7437 (__ASSUME_PPOLL): Likewise.
7438 (__ASSUME_O_CLOEXEC): Likewise.
7439 (__ASSUME_SOCK_CLOEXEC): Likewise.
7440 (__ASSUME_IN_NONBLOCK): Likewise.
7441 (__ASSUME_PIPE2): Likewise.
7442 (__ASSUME_EVENTFD2): Likewise.
7443 (__ASSUME_SIGNALFD4): Likewise.
7444 (__ASSUME_DUP3): Likewise.
7445 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7446 (__ASSUME_O_CLOEXEC): Likewise.
7447 (__ASSUME_SOCK_CLOEXEC): Likewise.
7448 (__ASSUME_IN_NONBLOCK): Likewise.
7449 (__ASSUME_PIPE2): Likewise.
7450 (__ASSUME_EVENTFD2): Likewise.
7451 (__ASSUME_SIGNALFD4): Likewise.
7452 (__ASSUME_DUP3): Likewise.
7453 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7454 (__ASSUME_EVENTFD2): Likewise.
7455 (__ASSUME_SIGNALFD4): Likewise.
7456 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7458 2014-05-12 Andreas Schwab <schwab@suse.de>
7461 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7462 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7463 than maximum RPC packet size.
7464 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7465 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7466 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7467 (_nss_nis_getservbyport_r): Likewise.
7469 2014-05-12 Will Newton <will.newton@linaro.org>
7471 * malloc/Makefile (tests): Add tst-mallopt.
7472 * malloc/tst-mallopt.c: New file.
7474 2014-05-09 Roland McGrath <roland@hack.frob.com>
7476 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7477 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7479 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7481 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7482 (tst-tlsmod6.so): Likewise.
7484 2014-05-09 Roland McGrath <roland@hack.frob.com>
7486 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7488 2014-05-09 Joseph Myers <joseph@codesourcery.com>
7491 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7492 and <dl-procinfo.h>.
7493 (__fegetenv): Save SSE state in envp->__eip if supported.
7494 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7495 envp->__eip if supported.
7496 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7497 and <dl-procinfo.h>.
7498 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7499 __data_offset and __data_selector in environment to 0. Set SSE
7501 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7503 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7505 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7507 2014-05-09 Will Newton <will.newton@linaro.org>
7509 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7510 and libc_relro_required for ARM.
7511 * sysdeps/arm/preconfigure: Regenerate.
7513 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7514 Stefan Liebler <stli@linux.vnet.ibm.com>
7516 * config.make.in (enable-lock-elision): New Makefile variable.
7517 * configure.ac: Likewise.
7518 * configure: Regenerate.
7519 * sysdeps/s390/configure.ac:
7520 Add check for gcc transactions support.
7521 * sysdeps/s390/configure: Regenerate.
7522 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7523 Build elision files if enabled.
7524 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7525 Add lock elision support for s390.
7526 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7527 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7528 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7529 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7530 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7531 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7532 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7534 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7536 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7538 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7540 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7541 (__lll_timedlock_elision, __lll_lock_elision)
7542 (__lll_unlock_elision, __lll_trylock_elision)
7543 (lll_timedlock_elision, lll_lock_elision)
7544 (lll_unlock_elision, lll_trylock_elision): Add.
7545 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7546 (pthread_mutex_t): Add lock elision support for s390.
7548 2014-05-14 Wilco <wdijkstr@arm.com>
7550 * sysdeps/arm/fclrexcpt.c: Cleanup.
7551 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7552 * sysdeps/arm/feenablxcpt.c: Cleanup.
7553 * sysdeps/arm/fegetenv.c: Cleanup.
7554 * sysdeps/arm/fegetexcept.c: Cleanup.
7555 * sysdeps/arm/fegetround.c: Cleanup.
7556 * sysdeps/arm/feholdexcpt.c: Cleanup.
7557 * sysdeps/arm/fesetenv.c: Cleanup.
7558 * sysdeps/arm/fesetround.c: Cleanup.
7559 * sysdeps/arm/feupdateenv.c: Cleanup.
7560 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7561 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7562 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7563 * sysdeps/arm/ftestexcept.c: Cleanup.
7564 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7565 * sysdeps/arm/setfpucw.c: Cleanup.
7567 2014-05-09 Will Newton <will.newton@linaro.org>
7569 * sysdeps/arm/armv7/strcmp.S: New file.
7570 * NEWS: Mention addition of ARMv7 optimized strcmp.
7572 2014-05-08 Roland McGrath <roland@hack.frob.com>
7574 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7575 look for %.ac rather than %.in.
7577 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7578 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7579 * sysdeps/mach/hurd/configure: Regenerated.
7580 * sysdeps/unix/sysv/linux/configure: Regenerated.
7582 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7584 2014-05-07 Steve Ellcey <sellcey@mips.com>
7587 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7591 2014-05-07 Andreas Schwab <schwab@suse.de>
7593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7594 when skipping over non-matching result from nscd.
7596 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
7599 * nptl/sockperf.c (client): Check socket return value.
7602 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7603 nscd security class.
7605 2014-05-06 Roland McGrath <roland@hack.frob.com>
7607 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7608 * sysdeps/arm/unwind.h: ... here.
7610 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7613 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7616 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7618 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7619 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7620 multiarch strncpy for PPC64.
7621 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7622 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7624 multiarch optimizations.
7625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7626 (__libc_ifunc_impl_list): Likewise.
7627 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7628 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7629 multiarch stpncpy for PPC64.
7630 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7631 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7633 2014-05-06 Andreas Schwab <schwab@suse.de>
7636 * gmon/mcount.c (_MCOUNT_DECL): Use
7637 atomic_compare_and_exchange_bool_acq instead of
7638 catomic_compare_and_exchange_bool_acq.
7640 2014-05-05 Roland McGrath <roland@hack.frob.com>
7642 * elf/Makefile (others, install-bin): Remove pldd.
7643 (pldd-modules): Variable removed.
7644 ($(objpfx)pldd): Target removed.
7645 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7646 (others, install-bin): Append pldd here.
7647 ($(objpfx)pldd): New target.
7649 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7650 to 0, so the first #if test emitted later doesn't see it undefined.
7651 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7652 * sysdeps/gnu/errlist.c: Regenerated.
7654 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7656 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7657 [libc_hidden_builtin_def]: Define to empty value.
7658 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7659 [libc_hidden_builtin_def]: Likewise.
7660 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7661 [libc_hidden_builtin_def]: Likewise.
7662 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7663 [libc_hidden_builtin_def]: Likewise.
7664 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7665 __redirect_memcpy and define ifunc as default hidden symbol.
7666 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7667 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7669 2014-05-04 Adam Conrad <adconrad@0c3.net>
7671 * locale/iso-4217.def: Reintroduce XDR currency.
7673 2014-05-04 Allan McRae <allan@archlinux.org>
7675 * po/eo.po: Update Esperanto translation from translation project.
7677 2014-05-02 Carlos O'Donell <carlos@redhat.com>
7679 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7680 and FEATURE_INDEX_MAX to 1.
7681 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7683 2014-05-01 Steve Ellcey <sellcey@mips.com>
7685 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7686 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7687 * iconvdata/big5.c (ONE_DIRECTION): Define.
7688 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7689 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7690 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7691 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7692 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7693 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7694 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7695 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7696 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7697 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7698 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7699 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7700 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7701 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7702 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7703 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7704 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7705 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7706 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7707 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7708 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7709 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7710 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7711 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7712 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7713 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7714 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7715 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7716 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7717 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7718 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7719 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7720 * iconvdata/johab.c (ONE_DIRECTION): Define.
7721 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7722 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7723 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7724 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7725 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7726 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7727 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7728 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7729 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7730 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7732 2014-05-01 Roland McGrath <roland@hack.frob.com>
7734 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7735 (_IO_JUMPS_OFFSET): Define to 0.
7737 * nptl/sysdeps/pthread/bits/libc-lock.h
7738 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7739 (__libc_lock_define_initialized_recursive): Always define using
7740 initializer. Modern compilers treat uninitialized (implicit zero) and
7741 explicit zero initializers the same (i.e. put the datum in bss).
7743 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7745 * nscd/nscd-client.h: Include <string.h>.
7747 2014-05-01 David S. Miller <davem@davemloft.net>
7750 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7751 multiple zero bytes exist at the end of a string.
7752 Reported by Aurelien Jarno <aurelien@aurel32.net>
7754 * string/test-strcmp.c (check): Add explicit test for situations where
7755 there are multiple zero bytes after the first.
7757 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7760 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7761 when compiling wprintf.
7762 * stdio-common/tstdiomisc.c (t3): New function.
7765 2014-05-01 Steve Ellcey <sellcey@mips.com>
7767 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7768 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7769 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7770 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7772 2014-05-01 Steve Ellcey <sellcey@mips.com>
7774 * stdlib/longlong.h: Updated from GCC.
7776 2014-05-01 Will Newton <will.newton@linaro.org>
7777 Bernard Ogden <bernie.ogden@linaro.org>
7779 * NEWS: Update fixed bug list.
7782 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7784 2014-04-30 David S. Miller <davem@davemloft.net>
7786 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7787 (libc_feholdexcept_setround_sparc_ctx): New function.
7788 (libc_fesetenv_sparc_ctx): Likewise.
7789 (libc_feupdateenv_sparc_ctx): Likewise.
7790 (libc_feholdsetround_sparc_ctx): Likewise.
7791 (libc_feholdexcept_setround_ctx): Define.
7792 (libc_feholdexcept_setroundf_ctx): Likewise.
7793 (libc_feholdexcept_setroundl_ctx): Likewise.
7794 (libc_fesetenv_ctx): Likewise.
7795 (libc_fesetenvf_ctx): Likewise.
7796 (libc_fesetenvl_ctx): Likewise.
7797 (libc_feupdateenv_ctx): Likewise.
7798 (libc_feupdateenvf_ctx): Likewise.
7799 (libc_feupdateenvl_ctx): Likewise.
7800 (libc_feresetround_ctx): Likewise.
7801 (libc_feresetroundf_ctx): Likewise.
7802 (libc_feresetroundl_ctx): Likewise.
7803 (libc_feholdsetround_ctx): Likewise.
7804 (libc_feholdsetroundf_ctx): Likewise.
7805 (libc_feholdsetroundl_ctx): Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7808 with __USE_GNU instead of XOPEN cpp guards.
7810 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7813 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7814 with XOPEN cpp guards.
7816 2014-04-30 Julian Brown <julian@codesourcery.com>
7819 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7822 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7825 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7827 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7828 * sysdeps/unix/sysv/linux/configure: Regenerated.
7829 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7830 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7831 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7832 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7833 * README: Update reference to required Linux kernel version.
7834 * manual/install.texi (Linux): Update reference to required Linux
7835 kernel headers version.
7836 * INSTALL: Regenerated.
7838 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7840 [POSIX] (limits.h): Likewise.
7841 [POSIX] (math.h): Likewise.
7842 [POSIX] (sys/wait.h): Likewise.
7843 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7845 [POSIX] (stddef.h): Do not allow header inclusion.
7847 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7849 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7851 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7853 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7854 Return immediately after lll_futex_wake.
7856 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7859 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7861 (datahead_init_pos): Call datahead_init_common early.
7862 (datahead_init_neg): Likewise.
7864 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7865 datahead_init_neg): New functions.
7866 * nscd/aicache.c (addhstaiX): Use them.
7867 * nscd/grpcache.c (cache_addgr): Likewise.
7868 * nscd/hstcache.c (cache_addhst): Likewise.
7869 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7870 * nscd/netgroupcache.c (do_notfound): Likewise.
7871 (addgetnetgrentX): Likewise.
7872 (addinnetgrX): Likewise.
7873 * nscd/pwdcache.c (cache_addpw): Likewise.
7874 * nscd/servicescache.c (cache_addserv): Likewise.
7876 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7877 Atsushi Onoe <atsushi@onoe.org>
7882 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7883 one response is valid.
7884 * resolv/res_send.c (send_dg): Check for validity of other
7885 response if the current response is a referral.
7887 2014-04-29 Steve Ellcey <sellcey@mips.com>
7889 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7891 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7894 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7895 Always divide by positive zero when computing -Inf result.
7896 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7897 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7899 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7901 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7902 FPSCR if value do not change.
7903 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7904 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7905 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7906 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7907 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7908 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7911 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7913 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7914 * sysdeps/unix/sysv/linux/hppa: Move directory from
7915 ports/systeps/unix/sysv/linux/hppa.
7916 * README: Update listing for hppa-*-linux-gnu.
7918 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7921 * manual/stdio.texi (Hook functions): Fix types of stream hook
7924 * socket/sys/socket.h: Fix typo in comment.
7926 2014-04-28 Wilco <wdijkstr@arm.com>
7928 * sysdeps/arm/fenv_private.h: New file.
7929 * sysdeps/arm/math_private.h: New file.
7930 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7932 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7934 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7936 (La_x86_64_retval): Likewise.
7938 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7940 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7941 fpsr if value didn't change.
7942 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7943 to fpcr if value didn't change.
7944 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7945 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7946 fpsr or fpcr if value didn't change.
7947 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7948 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7949 fpcr if value didn't change.
7950 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7951 to fpsr if value didn't change.
7953 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7955 * nptl/tst-sem3.c: Use test-skeleton.c
7956 (main): Rename to do_test. Use return instead of
7958 * nptl/tst-sem4.c: Use test-skeleton.c
7959 (main): Rename to do_test.
7961 2014-04-22 David S. Miller <davem@davemloft.net>
7963 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7964 (struct sigaction): New struct member __glibc_reserved0, change
7965 type of sa_flags to int.
7967 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7969 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7970 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7972 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7974 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7975 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7977 2014-04-22 Will Newton <will.newton@linaro.org>
7978 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7980 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7981 (__longjmp): Add longjmp and longjmp_target SystemTap
7983 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7984 (__sigsetjmp): Add setjmp SystemTap probe.
7986 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7988 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7991 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7993 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7995 * sysdeps/powerpc/fpu/fenv_private.h
7996 (libc_feholdexcept_setroundl_ctx): Define to
7997 libc_feholdexcept_setround_ppc_ctx.
7998 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7999 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8000 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8001 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8003 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8005 * sysdeps/aarch64/math-tests.h: New file.
8007 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8009 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8012 Check and set bit_AVX2_Usable.
8013 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8015 (bit_AVX2): Likewise.
8016 (index_AVX2_Usable): Likewise.
8017 (CPUID_AVX2): Likewise.
8018 (HAS_AVX2): Likewise.
8020 2014-04-17 Will Newton <will.newton@linaro.org>
8022 * manual/setjmp.texi (System V contexts): Add note that
8023 calling setcontext on a context created by a call to a
8024 signal handler is undefined. Update text to note that
8025 setcontext from a signal handler is possible but not
8029 * stdlib/tst-setcontext.c: Include signal.h.
8030 (main): Check that the signal stack before and
8031 after swapcontext is the same.
8033 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8034 Re-implement to restore registers in user code and avoid
8035 rt_sigreturn system call.
8037 2014-04-17 Wilco <wdijkstr@arm.com>
8039 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8040 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8041 * math/test-fenv.c: Skip exception trap tests on targets which only
8042 support non-stop mode.
8044 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8045 Wilco Dijkstra <wilco.dijkstra@arm.com>
8047 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8048 (libc_feholdsetround_aarch64_ctx)
8049 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8050 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8051 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8052 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8053 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8054 (libc_feresetround_noexl_ctx): Define.
8056 2014-04-16 Richard Henderson <rth@redhat.com>
8058 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8060 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8063 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8064 const from the non-libc, non-ldso copy.
8066 * sysdeps/alpha/libm-test-ulps: Regenerate.
8068 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8069 Wilco Dijkstra <wilco.dijkstra@arm.com>
8071 * sysdeps/aarch64/fpu/math_private.h: New file.
8073 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8075 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8077 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8080 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8081 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8082 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8083 Intel MPX bound registers before _dl_profile_fixup.
8084 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8085 registers after _dl_profile_fixup. Save and restore bound
8086 registers bnd0/bnd1 when calling _dl_call_pltexit.
8087 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8088 (LR_BND_OFFSET): Likewise.
8089 (LRV_BND0_OFFSET): Likewise.
8090 (LRV_BND1_OFFSET): Likewise.
8092 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8094 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8096 * sysdeps/mach/hurd/i386/tls.h: ... here.
8097 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8098 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8101 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8103 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8105 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8107 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8109 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8112 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8113 * sysdeps/s390/configure: Regenerate.
8116 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8117 Set round-to-nearest internally to reduce error accumulation.
8119 2014-04-16 Alan Modra <amodra@gmail.com>
8123 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8124 * math/libm-test.inc (frexp_test_data): Add tests.
8125 * NEWS: Update fixed bug list.
8127 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8129 * benchtests/Makefile: Depend on libraries in build directory.
8130 (bench-math): Separate out math tests.
8131 (bench-pthread): Separate out pthread tests.
8132 (bench): Include math and pthread tests.
8134 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8137 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8138 _dl_debug_initialize.
8140 * configure.ac: Remove SELinux header check.
8141 * configure: Regenerate.
8142 * nscd/selinux.c (perms): Array of const char* to permission names.
8143 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8144 default policy. Call string_to_security_class and string_to_av_perm to
8145 translate strings. Enforce default policy and call avs_has_perm with
8146 results of translated strings.
8148 2014-04-13 David S. Miller <davem@davemloft.net>
8150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8152 2014-04-12 Allan McRae <allan@archlinux.org>
8155 * manual/string.texi (Collation Functions): Fix qsort argument
8157 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8159 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8161 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8162 Make the test a no-op if there are no exceptions defined.
8164 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8166 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8167 enable-hardcoded-path-in-tests
8169 2014-04-11 Will Newton <will.newton@linaro.org>
8171 * benchtests/Makefile (extra-objs): Add json-lib.o.
8172 (bench-func): Tidy up JSON output.
8173 * benchtests/bench-skeleton.c: Include json-lib.h.
8174 (main): Use JSON library functions to do output of
8176 * benchtests/bench-timing-type.c (main): Output the
8177 timing type simply, leaving formatting to the user.
8178 * benchtests/json-lib.c: New file.
8179 * benchtests/json-lib.h: Likewise.
8181 2014-04-11 Torvald Riegel <triegel@redhat.com>
8184 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8185 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8186 memory barriers. Add comments.
8187 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8188 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8189 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8190 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8191 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8192 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8194 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8196 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8197 * sysdeps/s390/s390-64/configure.ac: ... this ...
8198 * sysdeps/s390/configure.ac: ... to here.
8199 * sysdeps/s390/s390-32/configure: Delete file.
8200 * sysdeps/s390/s390-64/configure: Delete file.
8201 * sysdeps/s390/configure: Regenerate.
8203 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8205 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8207 2014-04-11 Will Newton <will.newton@linaro.org>
8209 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8210 to zero if it is not defined elsewhere. (mtrim): Test
8211 the value of MALLOC_DEBUG with #if rather than #ifdef.
8213 2014-04-10 Torvald Riegel <triegel@redhat.com>
8215 * benchtests/pthread_once-inputs: New file.
8216 * benchtests/pthread_once-source.c: New file.
8217 * benchtests/README: Update documentation.
8219 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8220 H.J. Lu <hongjiu.lu@intel.com>
8223 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8224 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8225 * sysdeps/x86_64/configure: Regenerated.
8226 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8228 (REGISTER_SAVE_RAX): Likewise.
8229 (REGISTER_SAVE_RCX): Likewise.
8230 (REGISTER_SAVE_RDX): Likewise.
8231 (REGISTER_SAVE_RSI): Likewise.
8232 (REGISTER_SAVE_RDI): Likewise.
8233 (REGISTER_SAVE_R8): Likewise.
8234 (REGISTER_SAVE_R9): Likewise.
8235 (REGISTER_SAVE_BND0): Likewise.
8236 (REGISTER_SAVE_BND1): Likewise.
8237 (REGISTER_SAVE_BND2): Likewise.
8238 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8239 bound registers when calling _dl_fixup.
8241 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8243 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8244 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8246 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8247 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8248 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8249 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8250 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8251 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8252 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8254 2014-04-09 Peter Brett <peter@peter-b.co.uk>
8257 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8258 pathconf(_PC_NAME_MAX).
8260 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8262 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8264 (__PTHREAD_SPINS): Move definition to ...
8265 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8266 (__PTHREAD_SPINS): ... here.
8267 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8268 (__PTHREAD_SPIN): Likewise.
8269 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8270 (__PTHREAD_SPIN): Likewise.
8271 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8272 (__PTHREAD_SPIN): Likewise.
8273 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8274 (__PTHREAD_SPIN): Likewise.
8275 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8276 (__PTHREAD_SPIN): Likewise.
8277 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8278 (__PTHREAD_SPIN): Likewise.
8279 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8280 (__PTHREAD_SPIN): Likewise.
8281 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8282 (__PTHREAD_SPIN): Likewise.
8283 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8284 (__PTHREAD_SPIN): Likewise.
8285 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8286 (__PTHREAD_SPIN): Likewise.
8287 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8288 (__PTHREAD_SPIN): Likewise.
8289 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8290 (__PTHREAD_SPIN): Likewise.
8292 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8293 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8294 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8295 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8297 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8298 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8299 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8300 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8302 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8303 strlen symbol for non multi-arch builds.
8304 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8305 missing hidden_def and weak_alias.
8307 2014-04-08 Carlos O'Donell <carlos@redhat.com>
8309 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8311 2014-04-07 Will Newton <will.newton@linaro.org>
8313 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8314 and contents. [!_LIBC] Remove #ifndef and contents.
8315 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8316 * string/memccpy.c (__memccpy): Use ANSI prototype.
8317 * string/memfrob.c (memfrob): Likewise.
8318 * string/strcoll.c (STRCOLL): Likewise.
8319 * string/strlen.c (strlen): Likewise.
8320 * string/strtok.c (STRTOK): Likewise.
8321 * string/strcat.c: Remove unused #include of memcopy.h.
8322 (strcat): Use ANSI prototype.
8323 * string/strchr.c: Remove unused #include of memcopy.h.
8324 (strchr): Use ANSI prototype.
8325 * string/strcmp.c: Remove unused #include of memcopy.h.
8326 (strcmp): Use ANSI prototype.
8327 * string/strcpy.c: Remove unused #include of memcopy.h.
8328 (strcpy): Use ANSI prototype.
8330 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8332 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8333 * config.make.in (config-extra-cppflags): Set it from
8334 libc_extra_cppflags.
8335 * configure.ac (libc_extra_cflags): Make it accumulate over
8336 configure fragments.
8337 (libc_extra_cppflags): New flag.
8338 * configure. Regenerate.
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8340 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8341 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8345 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8346 result for FE_DOWNWARD rounding mode.
8347 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8351 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8353 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8354 in function argument name.
8356 2014-04-03 David Svoboda <svoboda@cert.org>
8359 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8362 2014-04-03 Roland McGrath <roland@hack.frob.com>
8364 * elf/dl-unmap-segments.h: New file.
8365 * sysdeps/generic/ldsodefs.h
8366 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8367 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8368 * elf/dl-fptr.c: Likewise.
8369 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8370 * sysdeps/aarch64/tlsdesc.c: Likewise.
8371 * sysdeps/arm/tlsdesc.c: Likewise.
8372 * sysdeps/i386/tlsdesc.c: Likewise.
8373 * sysdeps/tile/dl-runtime.c: Likewise.
8374 * sysdeps/x86_64/tlsdesc.c: Likewise.
8375 * elf/dl-load.h: New file.
8376 * elf/dl-load.c: Include it.
8377 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8378 Macros moved to dl-load.h.
8379 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8380 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8381 Use _dl_unmap_segments in place of __munmap.
8382 Break out segment-mapping loop into ...
8383 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8385 2014-04-03 Will Newton <will.newton@linaro.org>
8387 * elf/dl-lookup.c (do_lookup_x): Remove comment
8388 referring to nested function and move variable
8389 declarations down to before first use.
8391 2014-04-02 Joseph Myers <joseph@codesourcery.com>
8395 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8397 * math/s_catanf.c (__catanf): Likewise.
8398 * math/s_catanh.c (__catanh): Likewise.
8399 * math/s_catanhf.c (__catanhf): Likewise.
8400 * math/s_catanhl.c (__catanhl): Likewise.
8401 * math/s_catanl.c (__catanl): Likewise.
8402 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8403 by positive zero when computing -Inf result.
8404 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8405 (catanh_test): Likewise.
8406 * sysdeps/i386/fpu/libm-test-ulps: Update.
8407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8410 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8411 instead of using underflowing value in computing result.
8412 * math/s_clog10.c (__clog10): Likewise.
8413 * math/s_clog10f.c (__clog10f): Likewise.
8414 * math/s_clog10l.c (__clog10l): Likewise.
8415 * math/s_clogf.c (__clogf): Likewise.
8416 * math/s_clogl.c (__clogl): Likewise.
8417 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8418 (clog10_test): Likewise.
8419 * sysdeps/i386/fpu/libm-test-ulps: Update.
8420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8422 2014-04-02 Alan Modra <amodra@gmail.com>
8425 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8426 output when value is near a power of two. Use int64_t for lx and
8427 remove casts. Use decimal rather than hex exponent constants.
8428 Don't use long double multiplication when double will suffice.
8429 * math/libm-test.inc (nextafter_test_data): Add tests.
8430 * NEWS: Add 16739 and 16786 to bug list.
8432 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8434 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8436 2014-04-01 Will Newton <will.newton@linaro.org>
8438 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8439 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8441 2014-04-01 Florian Weimer <fweimer@redhat.com>
8444 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8445 * nptl/tst-setuid2.c: New file.
8446 * nptl/Makefile (xtests): Add tst-setuid2.
8448 2014-04-01 Alan Modra <amodra@gmail.com>
8451 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8453 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8457 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8458 set errno as appropriate.
8459 * math/w_scalbf.c (__scalbf): Likewise.
8460 * math/w_scalbl.c (__scalbl): Likewise.
8461 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8462 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8463 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8467 * math/w_atan2.c: Include <errno.h>.
8468 (__atan2): Set errno for result underflowing to zero.
8469 * math/w_atan2f.c: Include <errno.h>.
8470 (__atan2f): Set errno for result underflowing to zero.
8471 * math/w_atan2l.c: Include <errno.h>.
8472 (__atan2l): Set errno for result underflowing to zero.
8473 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8475 * math/auto-libm-test-out: Regenerated.
8477 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8479 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8480 Encode instruction correctly in little endian.
8481 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8483 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8485 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8487 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8490 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8493 * sysdeps/unix/sysv/linux/kernel-features.h
8494 [__sparc__ && !__arch64__ && !__sparc_v9__]
8495 (__ASSUME_SET_ROBUST_LIST): Do not define.
8496 [__sparc__ && !__arch64__ && !__sparc_v9__]
8497 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8498 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8500 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8501 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8502 (__ASSUME_REQUEUE_PI): Likewise.
8503 (__ASSUME_SET_ROBUST_LIST): Likewise.
8504 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8505 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8508 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8510 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8512 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8514 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8515 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8517 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8518 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8522 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8523 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8524 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8526 2014-03-31 Will Newton <will.newton@linaro.org>
8528 * benchtests/Makefile (bench): Add ffs and ffsll to list
8530 * benchtests/ffs-inputs: New file.
8531 * benchtests/ffsll-inputs: Likewise.
8533 2014-03-29 Joseph Myers <joseph@codesourcery.com>
8536 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8537 too large before casting to int.
8538 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8539 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8540 * math/libm-test.inc (scalb_test_data): Add more tests.
8542 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8544 * benchtests/Makefile (DETAILED_OPT): New make option.
8545 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8547 * benchtests/bench-skeleton.c: Include stdbool.h.
8548 (main): Store and print timings per input.
8549 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8550 member to each argument value.
8551 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8552 (_print_arg_data): Initialize per-input timing to 0.
8554 * benchtests/Makefile (timing-type): New binary.
8555 (bench-clean): Also remove bench-timing-type.
8556 (bench): New target for timing-type.
8557 (bench-func): Print output in JSON format.
8558 * benchtests/bench-skeleton.c (main): Print output in JSON
8560 * benchtests/bench-timing-type.c: New file.
8561 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8562 (TIMING_PRINT_STATS): Remove.
8563 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8566 * benchtests/bench-modf.c: Remove.
8567 * benchtests/modf-inputs: New inputs file.
8569 2014-03-28 Joseph Myers <joseph@codesourcery.com>
8572 * math/s_clog10.c (M_PI_LOG10E): New macro.
8573 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8574 imaginary parts are 0.
8575 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8576 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8577 imaginary parts are 0.
8578 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8579 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8580 imaginary parts are 0.
8581 * math/libm-test.inc (clog10_test_data): Update expected results
8582 for when real and imaginary parts are 0.
8584 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8586 * elf/dl-load.c: Finish conversion of __builtin_expect into
8589 2014-03-27 Joseph Myers <joseph@codesourcery.com>
8592 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8593 1+x for argument with exponent below -67.
8594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8596 * math/auto-libm-test-in: Add more tests of exp.
8597 * math/auto-libm-test-out: Regenerated.
8599 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8602 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8603 (nscd_getnetgrent): Use it.
8606 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8609 2014-03-27 Andi Kleen <ak@linux.intel.com>
8611 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8612 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8613 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8614 (lll_robust_unlock): Remove out of line section. Use cfi
8616 (LLL_STUB_UNWIND_INFO*): Remove.
8617 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8618 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8619 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8620 (lll_robust_unlock): Remove out of line section. Use cfi
8622 (LLL_STUB_UNWIND_INFO*): Remove.
8624 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8627 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8630 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8632 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8634 2014-03-26 Joseph Myers <joseph@codesourcery.com>
8637 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8639 * math/test-fenv-preserve.c: New file.
8640 * math/Makefile (tests): Add test-fenv-preserve.
8642 2014-03-26 Will Newton <will.newton@linaro.org>
8644 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8646 2014-03-25 Roland McGrath <roland@hack.frob.com>
8648 * scripts/versionlist.awk: Partition the version sets and emit all
8649 GLIBC_* (sorted) before all others (sorted).
8651 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8653 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8654 GLIBC_2.2.5 version.
8656 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8658 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8661 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8666 2014-03-25 Andreas Schwab <schwab@suse.de>
8668 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8669 label to be used after in6ailist is initialized.
8671 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8673 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8674 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8676 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8680 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8682 (fp_formats): Update initializers.
8683 (init_fp_formats): Initialize new field.
8684 (output_for_one_input_case): Allow underflow for results up to
8686 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8687 * math/auto-libm-test-in: Don't mark some underflows from asin and
8689 * math/auto-libm-test-out: Regenerated.
8690 * sysdeps/i386/fpu/libm-test-ulps: Update.
8691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8693 2014-03-25 Andreas Schwab <schwab@suse.de>
8695 * libio/Makefile (tst-ftell-partial-wide-ENV)
8696 (tst-ftell-active-handler-ENV): Define.
8698 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8700 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8702 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8704 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8706 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8708 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8709 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8710 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8712 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8715 * elf/dl-load.c (open_verify): Add mode parameter.
8716 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8717 (open_path): Change from boolean 'secure' to complete flag 'mode'
8718 (_dl_map_object): Adjust.
8719 * elf/Makefile (tests): Add tst-dlopen-aout.
8720 * elf/tst-dlopen-aout.c: New test.
8722 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8725 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8726 (struct stat): Rename member pad0 to __glibc_reserved0.
8729 * sysdeps/s390/s390-32/bits/wordsize.h
8730 (__WORDSIZE32_SIZE_ULONG): New define.
8731 * sysdeps/s390/s390-64/bits/wordsize.h
8732 (__WORDSIZE32_SIZE_ULONG): Likewise.
8733 * sysdeps/generic/stdint.h (SIZE_MAX):
8734 Define as UL if __WORDSIZE32_SIZE_ULONG.
8737 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8738 (__glibc_reserved0): New variable.
8739 (sa_flags): Change type to int.
8741 * posix/Makefile (before-compile): Use += before-compile instead
8744 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8745 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8747 2014-03-20 Andreas Schwab <schwab@suse.de>
8750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8751 non-matching result from nscd.
8753 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8755 * scripts/bench.py: Moved to ...
8756 * benchtests/scripts/bench.py: ... here.
8757 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8759 2014-03-24 Andreas Schwab <schwab@suse.de>
8762 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8763 alloca_account and account alloca use for struct in6ailist.
8765 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8768 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8769 rounding mode to recompute results that overflow to infinity or
8771 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8773 * math/auto-libm-test-out: Regenerated.
8774 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8775 (ccosh_test): Likewise.
8776 (csin_test_data): Use plus_oflow.
8777 (csin_test): Use ALL_RM_TEST.
8778 (csinh_test_data): Use plus_oflow.
8779 (csinh_test): Use ALL_RM_TEST.
8780 * sysdeps/i386/fpu/libm-test-ulps: Update.
8781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8783 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8785 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8786 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8787 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8790 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8792 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8793 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8794 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8795 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8797 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8798 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8800 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8801 * sysdeps/i386/fpu/libm-test-ulps: Update.
8802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8804 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8806 * scripts/bench.pl: Remove file.
8807 * scripts/bench.py: New benchmark script.
8808 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8809 * benchtests/README: Mention python dependency.
8810 * scripts/pylintrc: New file.
8811 * scripts/pylint: New file.
8813 * bits/mathdef.h: Use #ifdef instead of #if.
8814 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8815 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8816 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8817 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8818 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8819 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8821 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8822 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8824 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8826 and strpbrk-ppc64 objects.
8827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8828 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8829 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8830 multiarch strpbrk for POWER7.
8831 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8832 multiarch strpbrk for PPC64.
8833 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8835 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8838 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8840 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8841 (atan_test): Likewise.
8842 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8843 (atanh_test): Use ALL_RM_TEST.
8844 (atan2_test_data): Likewise.
8845 (cabs_test): Likewise.
8846 (cacosh_test): Likewise.
8847 (carg_test): Likewise.
8848 (casin_test): Likewise.
8849 (casinh_test): Likewise.
8850 (cbrt_test): Likewise.
8851 (csqrt_test): Likewise.
8852 (erf_test): Likewise.
8853 (erfc_test): Likewise.
8854 (pow10_test): Likewise.
8855 (exp2_test): Likewise.
8856 (hypot_test): Likewise.
8857 (j0_test): Likewise.
8858 (j1_test): Likewise.
8859 (lgamma_test): Likewise.
8860 (gamma_test): Likewise.
8861 (sincos_test): Likewise.
8862 (tanh_test): Likewise.
8863 (y0_test): Likewise.
8864 (y1_test): Likewise.
8865 * sysdeps/i386/fpu/libm-test-ulps: Update.
8866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8868 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8870 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8872 and strcspn-ppc64 objects.
8873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8874 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8875 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8876 multiarch strcspn for POWER7.
8877 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8878 multiarch strcspn for PPC64.
8879 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8881 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8884 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8886 * math/gen-libm-test.pl (generate_testfile): Expect only function
8887 name as argument to AUTO_TESTS_* and pass results for all rounding
8888 modes to parse_args.
8889 (parse_auto_input): Separate inputs of automatic tests from
8890 outputs before storing in %auto_tests.
8891 * math/libm-test.inc (acos_test_data): Update call to
8893 (acos_test): Use ALL_RM_TEST.
8894 (acos_tonearest_test_data): Remove.
8895 (acos_test_tonearest): Likewise.
8896 (acos_towardzero_test_data): Likewise.
8897 (acos_test_towardzero): Likewise.
8898 (acos_downward_test_data): Likewise.
8899 (acos_test_downward): Likewise.
8900 (acos_upward_test_data): Likewise.
8901 (acos_test_upward): Likewise.
8902 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8903 (asin_test_data): Likewise.
8904 (asin_test): Use ALL_RM_TEST.
8905 (asin_tonearest_test_data): Remove.
8906 (asin_test_tonearest): Likewise.
8907 (asin_towardzero_test_data): Likewise.
8908 (asin_test_towardzero): Likewise.
8909 (asin_downward_test_data): Likewise.
8910 (asin_test_downward): Likewise.
8911 (asin_upward_test_data): Likewise.
8912 (asin_test_upward): Likewise.
8913 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8914 (atan_test_data): Likewise.
8915 (atanh_test_data): Likewise.
8916 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8917 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8918 (carg_test_data): Likewise.
8919 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8920 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8921 (ccosh_test_data): Likewise.
8922 (cexp_test_data): Likewise.
8923 (clog_test_data): Likewise.
8924 (clog10_test_data): Likewise.
8925 (cos_test_data): Update call to AUTO_TESTS_f_f.
8926 (cos_test): Use ALL_RM_TEST.
8927 (cos_tonearest_test_data): Remove.
8928 (cos_test_tonearest): Likewise.
8929 (cos_towardzero_test_data): Likewise.
8930 (cos_test_towardzero): Likewise.
8931 (cos_downward_test_data): Likewise.
8932 (cos_test_downward): Likewise.
8933 (cos_upward_test_data): Likewise.
8934 (cos_test_upward): Likewise.
8935 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8936 (cosh_test): Use ALL_RM_TEST.
8937 (cosh_tonearest_test_data): Remove.
8938 (cosh_test_tonearest): Likewise.
8939 (cosh_towardzero_test_data): Likewise.
8940 (cosh_test_towardzero): Likewise.
8941 (cosh_downward_test_data): Likewise.
8942 (cosh_test_downward): Likewise.
8943 (cosh_upward_test_data): Likewise.
8944 (cosh_test_upward): Likewise.
8945 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8946 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8947 (ctan_test_data): Likewise.
8948 (ctan_test): Use ALL_RM_TEST.
8949 (ctan_tonearest_test_data): Remove.
8950 (ctan_test_tonearest): Likewise.
8951 (ctan_towardzero_test_data): Likewise.
8952 (ctan_test_towardzero): Likewise.
8953 (ctan_downward_test_data): Likewise.
8954 (ctan_test_downward): Likewise.
8955 (ctan_upward_test_data): Likewise.
8956 (ctan_test_upward): Likewise.
8957 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8958 (ctanh_test): Use ALL_RM_TEST.
8959 (ctanh_tonearest_test_data): Remove.
8960 (ctanh_test_tonearest): Likewise.
8961 (ctanh_towardzero_test_data): Likewise.
8962 (ctanh_test_towardzero): Likewise.
8963 (ctanh_downward_test_data): Likewise.
8964 (ctanh_test_downward): Likewise.
8965 (ctanh_upward_test_data): Likewise.
8966 (ctanh_test_upward): Likewise.
8967 (erf_test_data): Update call to AUTO_TESTS_f_f.
8968 (erfc_test_data): Likewise.
8969 (exp_test_data): Likewise.
8970 (exp_test): Use ALL_RM_TEST.
8971 (exp_tonearest_test_data): Remove.
8972 (exp_test_tonearest): Likewise.
8973 (exp_towardzero_test_data): Likewise.
8974 (exp_test_towardzero): Likewise.
8975 (exp_downward_test_data): Likewise.
8976 (exp_test_downward): Likewise.
8977 (exp_upward_test_data): Likewise.
8978 (exp_test_upward): Likewise.
8979 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8980 (exp10_test): Use ALL_RM_TEST.
8981 (exp10_tonearest_test_data): Remove.
8982 (exp10_test_tonearest): Likewise.
8983 (exp10_towardzero_test_data): Likewise.
8984 (exp10_test_towardzero): Likewise.
8985 (exp10_downward_test_data): Likewise.
8986 (exp10_test_downward): Likewise.
8987 (exp10_upward_test_data): Likewise.
8988 (exp10_test_upward): Likewise.
8989 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8990 (expm1_test_data): Likewise.
8991 (expm1_test): Use ALL_RM_TEST.
8992 (expm1_tonearest_test_data): Remove.
8993 (expm1_test_tonearest): Likewise.
8994 (expm1_towardzero_test_data): Likewise.
8995 (expm1_test_towardzero): Likewise.
8996 (expm1_downward_test_data): Likewise.
8997 (expm1_test_downward): Likewise.
8998 (expm1_upward_test_data): Likewise.
8999 (expm1_test_upward): Likewise.
9000 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9001 (fma_test): Use ALL_RM_TEST.
9002 (fma_towardzero_test_data): Remove.
9003 (fma_test_towardzero): Likewise.
9004 (fma_downward_test_data): Likewise.
9005 (fma_test_downward): Likewise.
9006 (fma_upward_test_data): Likewise.
9007 (fma_test_upward): Likewise.
9008 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9009 (j0_test_data): Update call to AUTO_TESTS_f_f.
9010 (j1_test_data): Likewise.
9011 (jn_test_data): Update call to AUTO_TESTS_if_f.
9012 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9013 (log_test_data): Update call to AUTO_TESTS_f_f.
9014 (log10_test_data): Likewise.
9015 (log1p_test_data): Likewise.
9016 (log2_test_data): Likewise.
9017 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9018 (pow_tonearest_test_data): Likewise.
9019 (sin_test_data): Update call to AUTO_TESTS_f_f.
9020 (sin_test): Use ALL_RM_TEST.
9021 (sin_tonearest_test_data): Remove.
9022 (sin_test_tonearest): Likewise.
9023 (sin_towardzero_test_data): Likewise.
9024 (sin_test_towardzero): Likewise.
9025 (sin_downward_test_data): Likewise.
9026 (sin_test_downward): Likewise.
9027 (sin_upward_test_data): Likewise.
9028 (sin_test_upward): Likewise.
9029 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9030 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9031 (sinh_test): Use ALL_RM_TEST.
9032 (sinh_tonearest_test_data): Remove.
9033 (sinh_test_tonearest): Likewise.
9034 (sinh_towardzero_test_data): Likewise.
9035 (sinh_test_towardzero): Likewise.
9036 (sinh_downward_test_data): Likewise.
9037 (sinh_test_downward): Likewise.
9038 (sinh_upward_test_data): Likewise.
9039 (sinh_test_upward): Likewise.
9040 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9041 (sqrt_test): Use ALL_RM_TEST.
9042 (sqrt_tonearest_test_data): Remove.
9043 (sqrt_test_tonearest): Likewise.
9044 (sqrt_towardzero_test_data): Likewise.
9045 (sqrt_test_towardzero): Likewise.
9046 (sqrt_downward_test_data): Likewise.
9047 (sqrt_test_downward): Likewise.
9048 (sqrt_upward_test_data): Likewise.
9049 (sqrt_test_upward): Likewise.
9050 (tan_test_data): Update call to AUTO_TESTS_f_f.
9051 (tan_test): Use ALL_RM_TEST.
9052 (tan_tonearest_test_data): Remove.
9053 (tan_test_tonearest): Likewise.
9054 (tan_towardzero_test_data): Likewise.
9055 (tan_test_towardzero): Likewise.
9056 (tan_downward_test_data): Likewise.
9057 (tan_test_downward): Likewise.
9058 (tan_upward_test_data): Likewise.
9059 (tan_test_upward): Likewise.
9060 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9061 (tgamma_test_data): Likewise.
9062 (y0_test_data): Likewise.
9063 (y1_test_data): Likewise.
9064 (yn_test_data): Update call to AUTO_TESTS_if_f.
9065 (main): Do not call removed functions.
9067 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9069 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9070 (ldexp_test_data): Remove.
9071 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9073 (scalb_test): Use ALL_RM_TEST.
9075 2014-03-19 Andreas Schwab <schwab@suse.de>
9077 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9079 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9082 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9083 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9084 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9085 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9086 (__ASSUME_PREADV): Undefine.
9087 (__ASSUME_PWRITEV): Likewise.
9089 2014-03-18 Roland McGrath <roland@hack.frob.com>
9091 * bits/mman-linux.h: Add comment about non-Linux use.
9092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9093 bits/mman-linux.h resting place.
9095 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9096 * bits/mman-linux.h: ... here.
9098 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9100 * conform/conformtest.pl: Add standard definition when calling C
9101 preprocessor on data files.
9102 (checknamespace): Remove unused variable.
9104 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9106 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9107 minus_oflow, plus_uflow and minus_uflow in expected results.
9108 * math/libm-test.inc (scalbn_test_data): Add more tests of
9109 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9111 (scalbn_test): Use ALL_RM_TEST.
9112 (scalbln_test_data): Add more tests of negative arguments. Use
9113 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9114 (scalbln_test): Use ALL_RM_TEST.
9116 2014-03-18 Roland McGrath <roland@hack.frob.com>
9118 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9120 2014-03-18 Will Newton <will.newton@linaro.org>
9122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9125 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9127 * Makerules [!subdir] (check-abi): Exit with error status if a
9130 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9132 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9133 for rint. Include results for all rounding modes.
9134 (nearbyint_test): Use ALL_RM_TEST.
9135 (rint_test_data): Include all tests used for nearbyint.
9137 2014-03-17 Will Newton <will.newton@linaro.org>
9139 * nptl/sysdeps/pthread/pthread.h: Revert previous
9142 * sysdeps/generic/ldsodefs.h: Revert previous
9145 * libio/genops.c: Revert previous change.
9146 * libio/libioP.h: Likewise.
9147 * stdio-common/vfprintf.c: Likewise.
9149 * sysdeps/generic/math_private.h: Revert previous
9152 * sysdeps/generic/math_private.h: Check whether
9153 HAVE_RM_CTX is defined with #ifdef rather
9156 * argp/argp-fmtstream.h: Check whether
9157 __STRICT_ANSI__ is defined with #ifdef rather
9159 * argp/argp.h: Likewise.
9161 * libio/genops.c: Check whether
9162 _IO_JUMPS_OFFSET is defined with #ifdef rather
9164 * libio/libioP.h: Likewise.
9165 * stdio-common/vfprintf.c: Likewise.
9167 * sysdeps/generic/ldsodefs.h: Check whether
9168 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9171 * nptl/sysdeps/pthread/pthread.h: Check
9172 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9175 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9177 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9179 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9183 * libio/fileops.c (_IO_file_open): Seek to end of file but
9184 don't cache the offset.
9185 (get_file_offset): Remove function.
9186 (do_ftell): Use cached offset when available.
9187 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9188 don't cache the offset.
9189 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9191 (do_one_test): Call it.
9192 (do_ftell_test): Fix up expected old offset for a+ mode.
9193 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9196 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9197 up test status with function return status.
9198 (do_write_test): Likewise.
9199 (do_append_test): Likewise.
9201 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9202 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9205 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9207 * math/gen-libm-test.pl (parse_args): Handle results specified for
9208 each rounding mode separately.
9209 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9210 tests and results from lrint_tonearest_test_data,
9211 lrint_towardzero_test_data, lrint_downward_test_data and
9212 lrint_upward_test_data.
9213 (lrint_test): Use ALL_RM_TEST.
9214 (lrint_tonearest_test_data): Remove.
9215 (lrint_test_tonearest): Likewise.
9216 (lrint_towardzero_test_data): Likewise.
9217 (lrint_test_towardzero): Likewise.
9218 (lrint_downward_test_data): Likewise.
9219 (lrint_test_downward): Likewise.
9220 (lrint_upward_test_data): Likewise.
9221 (lrint_test_upward): Likewise.
9222 (llrint_test_data): Merge in per-rounding-mode tests and results
9223 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9224 llrint_downward_test_data and llrint_upward_test_data.
9225 (llrint_test): Use ALL_RM_TEST.
9226 (llrint_tonearest_test_data): Remove.
9227 (llrint_test_tonearest): Likewise.
9228 (llrint_towardzero_test_data): Likewise.
9229 (llrint_test_towardzero): Likewise.
9230 (llrint_downward_test_data): Likewise.
9231 (llrint_test_downward): Likewise.
9232 (llrint_upward_test_data): Likewise.
9233 (llrint_test_upward): Likewise.
9234 (rint_test_data): Merge in per-rounding-mode tests and results
9235 from rint_tonearest_test_data, rint_towardzero_test_data,
9236 rint_downward_test_data and rint_upward_test_data. Add
9237 per-rounding-mode results for tests not in those arrays.
9238 (rint_test): Use ALL_RM_TEST.
9239 (rint_tonearest_test_data): Remove.
9240 (rint_test_tonearest): Likewise.
9241 (rint_towardzero_test_data): Likewise.
9242 (rint_test_towardzero): Likewise.
9243 (rint_downward_test_data): Likewise.
9244 (rint_test_downward): Likewise.
9245 (rint_upward_test_data): Likewise.
9246 (rint_test_upward): Likewise.
9247 (main): Don't call removed functions.
9249 2014-03-14 Roland McGrath <roland@hack.frob.com>
9251 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9252 "Compiled on ..." crapola. It is anti-useful.
9254 2014-03-14 Joseph Myers <joseph@codesourcery.com>
9256 * scripts/evaluate-test.sh: Handle fourth argument to determine
9257 whether test run should stop on failure.
9258 * Makeconfig (stop-on-test-failure): New variable.
9259 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9260 $(stop-on-test-failure).
9261 * Makefile (tests): Give a summary of results from testing and
9262 exit with failure status if they include an ERROR or FAIL.
9264 * manual/install.texi (Configuring and compiling): Mention
9265 stop-on-test-failure=y.
9266 * INSTALL: Regenerated.
9268 2014-03-14 Roland McGrath <roland@hack.frob.com>
9270 * scripts/versionlist.awk: New file.
9271 * Makerules [$(build-shared) = yes]
9272 (postclean-generated): Add Versions.def, not Versions.def.v and
9274 ($(common-objpfx)Versions.def.v.i): Target removed.
9275 ($(common-objpfx)Versions.def): New target.
9276 ($(common-objpfx)Versions.all): Depend on that rather that
9277 $(common-objpfx)Versions.def.v.
9278 * Versions.def: File removed.
9280 * Makeconfig (+gccwarn): Add -Wundef.
9281 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9282 a dl-sysdep.h breaking its contract.
9283 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9284 * include/stackinfo.h: New file.
9285 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9286 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9287 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9288 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9289 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9290 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9291 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9292 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9293 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9294 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9295 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9296 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9297 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9298 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9299 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9301 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9304 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9306 * math/libm-test.inc (round_test_data): Add more tests.
9309 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9311 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9314 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9316 * math/libm-test.inc (ceil_test_data): Add more tests.
9318 * math/libm-test.inc (trunc_test_data): Add more tests related to
9321 2014-03-14 Roland McGrath <roland@hack.frob.com>
9323 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9324 with #if rather than #ifdef.
9325 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9327 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9329 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9330 first. Disable AVX-512 GCC support if assembler doesn't support
9332 * sysdeps/x86_64/configure: Regenerated.
9334 2014-03-13 Carlos O'Donell <carlos@redhat.com>
9336 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9337 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9338 (__old_pthread_attr_setstack): Likewise.
9339 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9340 [!_STACK_GROWS_DOWN]: Likewise.
9342 2014-03-13 Mike Frysinger <vapier@gentoo.org>
9344 * config.make.in (have-bash2): Delete.
9345 * configure.ac (libc_cv_have_bash2): Delete.
9346 * configure: Regenerate.
9347 * elf/Makefile (common-ldd-rewrite): Rename to ...
9348 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9349 (sh-ldd-rewrite): Delete.
9350 (bash-ldd-rewrite): Delete.
9351 (have-bash2): Delete checks.
9352 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9355 * config.make.in (have-ksh): Delete.
9357 * configure.ac (libc_cv_have_ksh): Delete.
9358 * configure: Regenerate.
9360 * elf/Makefile: Delete $(have-ksh) check.
9361 ($(objpfx)sotruss): Change KSH to BASH.
9362 * elf/sotruss.ksh: Rename to ...
9363 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9364 function style to match POSIX. Drop ksh vim mode setting.
9366 * manual/time.texi (Specifying the Time Zone with TZ): Change
9367 Tuesday to Thursday.
9369 * debug/tst-longjmp_chk2.c: Update header comment.
9370 (stackoverflow_handler): Add comment. Call assert on pass value.
9372 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9375 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9376 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9377 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9378 (La_x86_64_vector): Add zmm.
9379 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9380 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9381 ($(objpfx)tst-audit10): New target.
9382 ($(objpfx)tst-audit10.out): Likewise.
9383 (tst-audit10-ENV): New.
9384 (AVX512-CFLAGS): Likewise.
9385 (CFLAGS-tst-audit10.c): Likewise.
9386 (CFLAGS-tst-auditmod10a.c): Likewise.
9387 (CFLAGS-tst-auditmod10b.c): Likewise.
9388 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9389 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9390 * sysdeps/x86_64/configure: Regenerated.
9391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9392 AVX-512 zmm register support.
9393 (_dl_x86_64_save_sse): Likewise.
9394 (_dl_x86_64_restore_sse): Likewise.
9395 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9396 size vector registers.
9397 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9398 (ZMM_SIZE): Likewise.
9399 * sysdeps/x86_64/tst-audit10.c: New file.
9400 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9401 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9403 2014-03-13 Roland McGrath <roland@hack.frob.com>
9405 * configure.ac (HAVE_EHDR_START): New check.
9406 * configure: Regenerated.
9407 * config.h.in (HAVE_EHDR_START): New #undef.
9408 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9409 assuming the lowest-addressed segment maps the start of the file.
9411 2014-03-13 Joseph Myers <joseph@codesourcery.com>
9413 * INSTALL: Regenerated.
9415 2014-03-13 Will Newton <will.newton@linaro.org>
9417 * manual/setjmp.texi (System V contexts): Improve
9418 clarity and grammar of documentation.
9420 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9423 * elf/Makefile (tests): Add tst-pie2.
9424 (tests-pie): Add tst-pie2.
9425 * elf/tst-pie2.c: New file.
9426 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9428 * elf/rtld.c (map_doit): Load executable as lt_executable.
9429 (dl_main): Likewise.
9431 2014-03-12 Joseph Myers <joseph@codesourcery.com>
9434 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9435 (__ASSUME_PSELECT): Undefine.
9437 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9440 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9441 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9443 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9444 selector for static builds.
9446 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9449 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9452 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9454 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9455 IFUNC selector for static builds.
9457 2014-03-11 Joseph Myers <joseph@codesourcery.com>
9459 * sysdeps/mips/math_private.h [__mips_hard_float]
9460 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9461 libc_feresetround_mips_ctx.
9462 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9463 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9464 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9467 * math/s_nextafter.c (__nextafter): Do not return value from
9468 overflowing computation.
9469 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9470 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9471 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9475 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9476 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9478 2014-03-11 Roland McGrath <roland@hack.frob.com>
9480 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9481 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9482 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9483 the new mov targetting sp.
9485 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9488 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9489 Define it for static builds as well.
9490 (NO_BZERO_IMPL): Likewise.
9492 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9494 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9495 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9496 multiarch strspn for PPC64.
9497 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9498 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9500 (__libc_ifunc_impl_list): Likewise.
9501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9502 multiarch optimizations
9503 * string/strspn.c (strspn): Using macro to redefine symbol name.
9505 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9506 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9508 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9509 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9510 multiarch strncat for PPC64.
9511 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9512 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9514 (__libc_ifunc_impl_list): Likewise.
9515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9516 multiarch optimizations
9518 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9521 * nscd/nscd.service: Make service type forking.
9523 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9525 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9526 sign in non default rounding modes.
9527 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9529 2014-03-08 Joseph Myers <joseph@codesourcery.com>
9531 * math/libm-test.inc (ALL_RM_TEST): New macro.
9532 (ceil_test): Use ALL_RM_TEST.
9533 (cimag_test): Likewise.
9534 (conj_test): Likewise.
9535 (copysign_test): Likewise.
9536 (cproj_test): Likewise.
9537 (creal_test): Likewise.
9538 (fabs_test): Likewise.
9539 (floor_test): Likewise.
9540 (fmax_test): Likewise.
9541 (fmin_test): Likewise.
9542 (fmod_test): Likewise.
9543 (fpclassify_test): Likewise.
9544 (frexp_test): Likewise.
9545 (ilogb_test): Likewise.
9546 (isfinite_test): Likewise.
9547 (finite_test): Likewise.
9548 (isgreater_test): Likewise.
9549 (isgreaterequal_test): Likewise.
9550 (isinf_test): Likewise.
9551 (isless_test): Likewise.
9552 (islessequal_test): Likewise.
9553 (islessgreater_test): Likewise.
9554 (isnan_test): Likewise.
9555 (isnormal_test): Likewise.
9556 (issignaling_test): Likewise.
9557 (isunordered_test): Likewise.
9558 (logb_test): Likewise.
9559 (logb_downward_test_data): Remove.
9560 (logb_test_downward): Likewise.
9561 (lround_test): Use ALL_RM_TEST.
9562 (llround_test): Likewise.
9563 (modf_test): Likewise.
9564 (nexttoward_test): Likewise.
9565 (remainder_test): Likewise.
9566 (drem_test): Likewise.
9567 (remainder_tonearest_test_data): Likewise.
9568 (remainder_test_tonearest): Likewise.
9569 (drem_test_tonearest): Likewise.
9570 (remainder_towardzero_test_data): Likewise.
9571 (remainder_test_towardzero): Likewise.
9572 (drem_test_towardzero): Likewise.
9573 (remainder_downward_test_data): Likewise.
9574 (remainder_test_downward): Likewise.
9575 (drem_test_downward): Likewise.
9576 (remainder_upward_test_data): Likewise.
9577 (remainder_test_upward): Likewise.
9578 (drem_test_upward): Likewise.
9579 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9580 (round_test): Use ALL_RM_TEST.
9581 (signbit_test): Likewise.
9582 (trunc_test): Likewise.
9583 (significand_test): Likewise.
9584 (main): Don't call removed functions.
9586 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9589 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9591 (ILL_ILLOPN): Likewise.
9592 (ILL_ILLADR): Likewise.
9593 (ILL_ILLTRP): Likewise.
9594 (ILL_PRVOPC): Likewise.
9595 (ILL_PRVREG): Likewise.
9596 (ILL_COPROC): Likewise.
9597 (ILL_BADSTK): Likewise.
9598 (FPE_INTDIV): Likewise.
9599 (FPE_INTOVF): Likewise.
9600 (FPE_FLTDIV): Likewise.
9601 (FPE_FLTOVF): Likewise.
9602 (FPE_FLTUND): Likewise.
9603 (FPE_FLTRES): Likewise.
9604 (FPE_FLTINV): Likewise.
9605 (FPE_FLTSUB): Likewise.
9606 (SEGV_MAPERR): Likewise.
9607 (SEGV_ACCERR): Likewise.
9608 (BUS_ADRALN): Likewise.
9609 (BUS_ADRERR): Likewise.
9610 (BUS_OBJERR): Likewise.
9611 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9612 (TRAP_TRACE): Likewise.
9613 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9615 (CLD_KILLED): Likewise.
9616 (CLD_DUMPED): Likewise.
9617 (CLD_TRAPPED): Likewise.
9618 (CLD_STOPPED): Likewise.
9619 (CLD_CONTINUED): Likewise.
9620 (POLL_IN): Likewise.
9621 (POLL_OUT): Likewise.
9622 (POLL_MSG): Likewise.
9623 (POLL_ERR): Likewise.
9624 (POLL_PRI): Likewise.
9625 (POLL_HUP): Likewise.
9626 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
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 (BUS_MCEERR_AR): Likewise.
9649 (BUS_MCEERR_AO): Likewise.
9650 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9651 (TRAP_TRACE): Likewise.
9652 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9654 (CLD_KILLED): Likewise.
9655 (CLD_DUMPED): Likewise.
9656 (CLD_TRAPPED): Likewise.
9657 (CLD_STOPPED): Likewise.
9658 (CLD_CONTINUED): Likewise.
9659 (POLL_IN): Likewise.
9660 (POLL_OUT): Likewise.
9661 (POLL_MSG): Likewise.
9662 (POLL_ERR): Likewise.
9663 (POLL_PRI): Likewise.
9664 (POLL_HUP): Likewise.
9665 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9666 (ILL_ILLOPN): Likewise.
9667 (ILL_ILLADR): Likewise.
9668 (ILL_ILLTRP): Likewise.
9669 (ILL_PRVOPC): Likewise.
9670 (ILL_PRVREG): Likewise.
9671 (ILL_COPROC): Likewise.
9672 (ILL_BADSTK): Likewise.
9673 (FPE_INTDIV): Likewise.
9674 (FPE_INTOVF): Likewise.
9675 (FPE_FLTDIV): Likewise.
9676 (FPE_FLTOVF): Likewise.
9677 (FPE_FLTUND): Likewise.
9678 (FPE_FLTRES): Likewise.
9679 (FPE_FLTINV): Likewise.
9680 (FPE_FLTSUB): Likewise.
9681 (SEGV_MAPERR): Likewise.
9682 (SEGV_ACCERR): Likewise.
9683 (BUS_ADRALN): Likewise.
9684 (BUS_ADRERR): Likewise.
9685 (BUS_OBJERR): Likewise.
9686 (BUS_MCEERR_AR): Likewise.
9687 (BUS_MCEERR_AO): Likewise.
9688 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9689 (TRAP_TRACE): Likewise.
9690 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9692 (CLD_KILLED): Likewise.
9693 (CLD_DUMPED): Likewise.
9694 (CLD_TRAPPED): Likewise.
9695 (CLD_STOPPED): Likewise.
9696 (CLD_CONTINUED): Likewise.
9697 (POLL_IN): Likewise.
9698 (POLL_OUT): Likewise.
9699 (POLL_MSG): Likewise.
9700 (POLL_ERR): Likewise.
9701 (POLL_PRI): Likewise.
9702 (POLL_HUP): Likewise.
9703 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9705 (ILL_ILLOPN): Likewise.
9706 (ILL_ILLADR): Likewise.
9707 (ILL_ILLTRP): Likewise.
9708 (ILL_PRVOPC): Likewise.
9709 (ILL_PRVREG): Likewise.
9710 (ILL_COPROC): Likewise.
9711 (ILL_BADSTK): Likewise.
9712 (ILL_BADIADDR): Likewise.
9713 (ILL_BREAK): Likewise.
9714 (FPE_INTDIV): Likewise.
9715 (FPE_INTOVF): Likewise.
9716 (FPE_FLTDIV): Likewise.
9717 (FPE_FLTOVF): Likewise.
9718 (FPE_FLTUND): Likewise.
9719 (FPE_FLTRES): Likewise.
9720 (FPE_FLTINV): Likewise.
9721 (FPE_FLTSUB): Likewise.
9722 (FPE_DECOVF): Likewise.
9723 (FPE_DECDIV): Likewise.
9724 (FPE_DECERR): Likewise.
9725 (FPE_INVASC): Likewise.
9726 (FPE_INVDEC): Likewise.
9727 (SEGV_MAPERR): Likewise.
9728 (SEGV_ACCERR): Likewise.
9729 (SEGV_PSTKOVF): Likewise.
9730 (BUS_ADRALN): Likewise.
9731 (BUS_ADRERR): Likewise.
9732 (BUS_OBJERR): Likewise.
9733 (BUS_MCEERR_AR): Likewise.
9734 (BUS_MCEERR_AO): Likewise.
9735 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9736 (TRAP_TRACE): Likewise.
9737 (TRAP_BRANCH): Likewise.
9738 (TRAP_HWBKPT): Likewise.
9739 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9741 (CLD_KILLED): Likewise.
9742 (CLD_DUMPED): Likewise.
9743 (CLD_TRAPPED): Likewise.
9744 (CLD_STOPPED): Likewise.
9745 (CLD_CONTINUED): Likewise.
9746 (POLL_IN): Likewise.
9747 (POLL_OUT): Likewise.
9748 (POLL_MSG): Likewise.
9749 (POLL_ERR): Likewise.
9750 (POLL_PRI): Likewise.
9751 (POLL_HUP): Likewise.
9752 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9753 (ILL_ILLOPN): Likewise.
9754 (ILL_ILLADR): Likewise.
9755 (ILL_ILLTRP): Likewise.
9756 (ILL_PRVOPC): Likewise.
9757 (ILL_PRVREG): Likewise.
9758 (ILL_COPROC): Likewise.
9759 (ILL_BADSTK): Likewise.
9760 (FPE_INTDIV): Likewise.
9761 (FPE_INTOVF): Likewise.
9762 (FPE_FLTDIV): Likewise.
9763 (FPE_FLTOVF): Likewise.
9764 (FPE_FLTUND): Likewise.
9765 (FPE_FLTRES): Likewise.
9766 (FPE_FLTINV): Likewise.
9767 (FPE_FLTSUB): Likewise.
9768 (SEGV_MAPERR): Likewise.
9769 (SEGV_ACCERR): Likewise.
9770 (BUS_ADRALN): Likewise.
9771 (BUS_ADRERR): Likewise.
9772 (BUS_OBJERR): Likewise.
9773 (BUS_MCEERR_AR): Likewise.
9774 (BUS_MCEERR_AO): Likewise.
9775 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9776 (TRAP_TRACE): Likewise.
9777 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9779 (CLD_KILLED): Likewise.
9780 (CLD_DUMPED): Likewise.
9781 (CLD_TRAPPED): Likewise.
9782 (CLD_STOPPED): Likewise.
9783 (CLD_CONTINUED): Likewise.
9784 (POLL_IN): Likewise.
9785 (POLL_OUT): Likewise.
9786 (POLL_MSG): Likewise.
9787 (POLL_ERR): Likewise.
9788 (POLL_PRI): Likewise.
9789 (POLL_HUP): Likewise.
9790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9791 (ILL_ILLOPN): Likewise.
9792 (ILL_ILLADR): Likewise.
9793 (ILL_ILLTRP): Likewise.
9794 (ILL_PRVOPC): Likewise.
9795 (ILL_PRVREG): Likewise.
9796 (ILL_COPROC): Likewise.
9797 (ILL_BADSTK): Likewise.
9798 (FPE_INTDIV): Likewise.
9799 (FPE_INTOVF): Likewise.
9800 (FPE_FLTDIV): Likewise.
9801 (FPE_FLTOVF): Likewise.
9802 (FPE_FLTUND): Likewise.
9803 (FPE_FLTRES): Likewise.
9804 (FPE_FLTINV): Likewise.
9805 (FPE_FLTSUB): Likewise.
9806 (SEGV_MAPERR): Likewise.
9807 (SEGV_ACCERR): Likewise.
9808 (BUS_ADRALN): Likewise.
9809 (BUS_ADRERR): Likewise.
9810 (BUS_OBJERR): Likewise.
9811 (BUS_MCEERR_AR): Likewise.
9812 (BUS_MCEERR_AO): Likewise.
9813 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9814 (TRAP_TRACE): Likewise.
9815 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9817 (CLD_KILLED): Likewise.
9818 (CLD_DUMPED): Likewise.
9819 (CLD_TRAPPED): Likewise.
9820 (CLD_STOPPED): Likewise.
9821 (CLD_CONTINUED): Likewise.
9822 (POLL_IN): Likewise.
9823 (POLL_OUT): Likewise.
9824 (POLL_MSG): Likewise.
9825 (POLL_ERR): Likewise.
9826 (POLL_PRI): Likewise.
9827 (POLL_HUP): Likewise.
9828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9829 (ILL_ILLOPN): Likewise.
9830 (ILL_ILLADR): Likewise.
9831 (ILL_ILLTRP): Likewise.
9832 (ILL_PRVOPC): Likewise.
9833 (ILL_PRVREG): Likewise.
9834 (ILL_COPROC): Likewise.
9835 (ILL_BADSTK): Likewise.
9836 (FPE_INTDIV): Likewise.
9837 (FPE_INTOVF): Likewise.
9838 (FPE_FLTDIV): Likewise.
9839 (FPE_FLTOVF): Likewise.
9840 (FPE_FLTUND): Likewise.
9841 (FPE_FLTRES): Likewise.
9842 (FPE_FLTINV): Likewise.
9843 (FPE_FLTSUB): Likewise.
9844 (SEGV_MAPERR): Likewise.
9845 (SEGV_ACCERR): Likewise.
9846 (BUS_ADRALN): Likewise.
9847 (BUS_ADRERR): Likewise.
9848 (BUS_OBJERR): Likewise.
9849 (BUS_MCEERR_AR): Likewise.
9850 (BUS_MCEERR_AO): Likewise.
9851 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9852 (TRAP_TRACE): Likewise.
9853 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9855 (CLD_KILLED): Likewise.
9856 (CLD_DUMPED): Likewise.
9857 (CLD_TRAPPED): Likewise.
9858 (CLD_STOPPED): Likewise.
9859 (CLD_CONTINUED): Likewise.
9860 (POLL_IN): Likewise.
9861 (POLL_OUT): Likewise.
9862 (POLL_MSG): Likewise.
9863 (POLL_ERR): Likewise.
9864 (POLL_PRI): Likewise.
9865 (POLL_HUP): Likewise.
9866 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9867 (ILL_ILLOPN): Likewise.
9868 (ILL_ILLADR): Likewise.
9869 (ILL_ILLTRP): Likewise.
9870 (ILL_PRVOPC): Likewise.
9871 (ILL_PRVREG): Likewise.
9872 (ILL_COPROC): Likewise.
9873 (ILL_BADSTK): Likewise.
9874 (ILL_DBLFLT): Likewise.
9875 (ILL_HARDWALL): Likewise.
9876 (FPE_INTDIV): Likewise.
9877 (FPE_INTOVF): Likewise.
9878 (FPE_FLTDIV): Likewise.
9879 (FPE_FLTOVF): Likewise.
9880 (FPE_FLTUND): Likewise.
9881 (FPE_FLTRES): Likewise.
9882 (FPE_FLTINV): Likewise.
9883 (FPE_FLTSUB): Likewise.
9884 (SEGV_MAPERR): Likewise.
9885 (SEGV_ACCERR): Likewise.
9886 (BUS_ADRALN): Likewise.
9887 (BUS_ADRERR): Likewise.
9888 (BUS_OBJERR): Likewise.
9889 (BUS_MCEERR_AR): Likewise.
9890 (BUS_MCEERR_AO): Likewise.
9891 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9892 (TRAP_TRACE): Likewise.
9893 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9895 (CLD_KILLED): Likewise.
9896 (CLD_DUMPED): Likewise.
9897 (CLD_TRAPPED): Likewise.
9898 (CLD_STOPPED): Likewise.
9899 (CLD_CONTINUED): Likewise.
9900 (POLL_IN): Likewise.
9901 (POLL_OUT): Likewise.
9902 (POLL_MSG): Likewise.
9903 (POLL_ERR): Likewise.
9904 (POLL_PRI): Likewise.
9905 (POLL_HUP): Likewise.
9906 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9907 (ILL_ILLOPN): Likewise.
9908 (ILL_ILLADR): Likewise.
9909 (ILL_ILLTRP): Likewise.
9910 (ILL_PRVOPC): Likewise.
9911 (ILL_PRVREG): Likewise.
9912 (ILL_COPROC): Likewise.
9913 (ILL_BADSTK): Likewise.
9914 (FPE_INTDIV): Likewise.
9915 (FPE_INTOVF): Likewise.
9916 (FPE_FLTDIV): Likewise.
9917 (FPE_FLTOVF): Likewise.
9918 (FPE_FLTUND): Likewise.
9919 (FPE_FLTRES): Likewise.
9920 (FPE_FLTINV): Likewise.
9921 (FPE_FLTSUB): Likewise.
9922 (SEGV_MAPERR): Likewise.
9923 (SEGV_ACCERR): Likewise.
9924 (BUS_ADRALN): Likewise.
9925 (BUS_ADRERR): Likewise.
9926 (BUS_OBJERR): Likewise.
9927 (BUS_MCEERR_AR): Likewise.
9928 (BUS_MCEERR_AO): Likewise.
9929 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9930 (TRAP_TRACE): Likewise.
9931 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9933 (CLD_KILLED): Likewise.
9934 (CLD_DUMPED): Likewise.
9935 (CLD_TRAPPED): Likewise.
9936 (CLD_STOPPED): Likewise.
9937 (CLD_CONTINUED): Likewise.
9938 (POLL_IN): Likewise.
9939 (POLL_OUT): Likewise.
9940 (POLL_MSG): Likewise.
9941 (POLL_ERR): Likewise.
9942 (POLL_PRI): Likewise.
9943 (POLL_HUP): Likewise.
9944 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9945 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9948 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9949 before #include of <time.h>.
9950 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9951 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9952 (test-xfail-UNIX98/sched.h/conform): Likewise.
9954 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9956 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9957 error absence of trapping exception support.
9958 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9960 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9962 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9963 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9964 * timezone/Makefile (testdata): Move definition above include of
9966 (test-zones): New variable.
9967 (tests-special): Add zone files.
9968 (build-testdata): Use $(evaluate-test).
9970 * elf/Makefile (tests-special): Rename tests to end with .out.
9971 ($(objpfx)noload-mem): Likewise.
9972 ($(objpfx)tst-leaks1-mem): Likewise.
9973 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9974 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9975 $(objpfx)test-iconvconfig.out.
9976 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9977 set -e inside subshell and redirect output to file.
9978 * iconvdata/Makefile (generated): Rename tests to end with .out.
9980 (tests-special): Rename tests to end with .out.
9981 ($(objpfx)mtrace-tst-loading): Likewise.
9982 * intl/Makefile (generated): Likewise.
9983 (tests-special): Likewise.
9984 ($(objpfx)mtrace-tst-gettext): Likewise.
9985 * misc/Makefile (generated): Likewise.
9986 (tests-special): Likewise.
9987 ($(objpfx)tst-error1-mem): Likewise.
9988 * nptl/Makefile (tests-special): Likewise.
9989 ($(objpfx)tst-stack3-mem): Likewise.
9990 (generated): Likewise.
9991 * posix/Makefile (generated): Likewise.
9992 (tests-special): Likewise.
9993 (xtests-special): Likewise.
9994 ($(objpfx)tst-fnmatch-mem): Likewise.
9995 ($(objpfx)bug-regex2-mem): Likewise.
9996 ($(objpfx)bug-regex14-mem): Likewise.
9997 ($(objpfx)bug-regex21-mem): Likewise.
9998 ($(objpfx)bug-regex31-mem): Likewise.
9999 ($(objpfx)tst-vfork3-mem): Likewise.
10000 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10001 ($(objpfx)tst-pcre-mem): Likewise.
10002 ($(objpfx)tst-boost-mem): Likewise.
10003 ($(objpfx)bug-ga2-mem): Likewise.
10004 ($(objpfx)bug-glob2-mem): Likewise.
10005 * resolv/Makefile (generate): Likewise.
10006 (tests-special): Likewise.
10007 (xtests-special): Likewise.
10008 (generated): Likewise.
10009 ($(objpfx)mtrace-tst-leaks): Likewise.
10010 ($(objpfx)mtrace-tst-leaks2): Likewise.
10012 * scripts/merge-test-results.sh: New file.
10013 * Makefile (tests-special-notdir): New variable.
10014 (tests): Run merge-test-results.sh.
10015 (xtests): Likewise.
10016 * Rules (tests-special-notdir): New variable.
10017 (xtests-special-notdir): Likewise.
10018 (tests): Run merge-test-results.sh
10019 (xtests): Likewise.
10021 * Makeconfig (test-xfail-name): New variable.
10022 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10023 compute variable name for expected failures.
10024 * conform/Makefile (conformtest-headers-data): New variable.
10025 (conformtest-standards): Likewise.
10026 (conformtest-headers-ISO): Likewise.
10027 (conformtest-headers-ISO99): Likewise.
10028 (conformtest-headers-ISO11): Likewise.
10029 (conformtest-headers-POSIX): Likewise.
10030 (conformtest-headers-XPG3): Likewise.
10031 (conformtest-headers-XPG4): Likewise.
10032 (conformtest-headers-UNIX98): Likewise.
10033 (conformtest-headers-XOPEN2K): Likewise.
10034 (conformtest-headers-POSIX2008): Likewise.
10035 (conformtest-headers-XOPEN2K8): Likewise.
10036 (conformtest-header-list-base): Likewise.
10037 (conformtest-header-list-tests): Likewise.
10038 (conformtest-header-base): Likewise.
10039 (conformtest-header-tests): Likewise.
10040 (tests-special): Add $(conformtest-header-list-tests). If
10041 [$(fast-check) && !$(cross-compiling)], add
10042 $(conformtest-header-tests) instead of
10043 $(objpfx)run-conformtest.out.
10044 (generated): Add $(conformtest-header-list-base). If
10045 [$(fast-check) && !$(cross-compiling)], add
10046 $(conformtest-header-base). Remove previous setting.
10047 ($(conformtest-header-list-tests)): New target.
10048 (test-xfail-run-conformtest): Remove variable.
10049 ($(objpfx)run-conformtest.out): Remove target.
10050 (test-xfail-ISO11/complex.h/conform): New variable.
10051 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10052 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10053 (test-xfail-XPG3/varargs.h/conform): Likewise.
10054 (test-xfail-XPG4/varargs.h/conform): Likewise.
10055 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10056 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10057 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10058 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10059 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10060 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10061 (test-xfail-XPG3/ftw.h/conform): Likewise.
10062 (test-xfail-XPG3/grp.h/conform): Likewise.
10063 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10064 (test-xfail-XPG3/limits.h/conform): Likewise.
10065 (test-xfail-XPG3/pwd.h/conform): Likewise.
10066 (test-xfail-XPG3/search.h/conform): Likewise.
10067 (test-xfail-XPG3/signal.h/conform): Likewise.
10068 (test-xfail-XPG3/stdio.h/conform): Likewise.
10069 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10070 (test-xfail-XPG3/string.h/conform): Likewise.
10071 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10072 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10073 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10074 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10075 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10076 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10077 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10078 (test-xfail-XPG3/termios.h/conform): Likewise.
10079 (test-xfail-XPG3/time.h/conform): Likewise.
10080 (test-xfail-XPG3/unistd.h/conform): Likewise.
10081 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10082 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10083 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10084 (test-xfail-XPG4/netdb.h/conform): Likewise.
10085 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10086 (test-xfail-XPG4/signal.h/conform): Likewise.
10087 (test-xfail-XPG4/stdio.h/conform): Likewise.
10088 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10089 (test-xfail-XPG4/stropts.h/conform): Likewise.
10090 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10091 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10092 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10093 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10094 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10095 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10096 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10097 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10098 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10099 (test-xfail-XPG4/termios.h/conform): Likewise.
10100 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10101 (test-xfail-XPG4/unistd.h/conform): Likewise.
10102 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10103 (test-xfail-POSIX/sched.h/conform): Likewise.
10104 (test-xfail-POSIX/signal.h/conform): Likewise.
10105 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10106 (test-xfail-POSIX/tar.h/conform): Likewise.
10107 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10108 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10109 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10110 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10111 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10112 (test-xfail-UNIX98/sched.h/conform): Likewise.
10113 (test-xfail-UNIX98/signal.h/conform): Likewise.
10114 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10115 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10116 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10117 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10118 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10119 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10120 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10121 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10122 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10123 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10124 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10125 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10126 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10127 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10128 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10129 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10130 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10131 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10132 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10133 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10134 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10135 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10136 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10137 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10138 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10139 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10140 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10141 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10142 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10143 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10144 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10145 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10146 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10147 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10148 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10149 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10150 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10151 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10152 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10153 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10154 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10155 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10156 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10157 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10158 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10159 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10160 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10161 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10162 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10163 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10164 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10165 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10166 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10167 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10168 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10169 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10170 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10171 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10172 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10173 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10174 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10175 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10176 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10177 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10178 (conformtest-cc-flags): Likewise.
10179 ($(conformtest-header-tests): New target.
10180 * conform/check-header-lists.sh: New file.
10181 * conform/run-conformtest.sh: Remove.
10183 * conform/conformtest.pl: Allow ' and \ in values given for
10185 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10187 [POSIX] (sys/types.h): Likewise.
10188 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10190 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10192 * conform/data/signal.h-data (SIGIO): Remove expectation.
10193 [XPG3] (SIGBUS): Do not expect.
10194 [POSIX || XPG3] (SIGPOLL): Likewise.
10195 [POSIX || XPG3] (SIGPROF): Likewise.
10196 [POSIX || XPG3] (SIGSYS): Likewise.
10197 [XPG3] (SIGTRAP): Likewise.
10198 [POSIX || XPG3] (SIGURG): Likewise.
10199 [POSIX || XPG3] (SIGVTALRM): Likewise.
10200 [POSIX || XPG3] (SIGXCPU): Likewise.
10201 [POSIX || XPG3] (SIGXFSZ): Likewise.
10202 [POSIX] (SA_SIGINFO): Expect.
10203 [XPG3] (siginfo_t): Do not expect type or contents.
10204 [POSIX] (si_pid): Do not expect element.
10205 [POSIX] (si_uid): Likewise.
10206 [POSIX] (si_addr): Likewise.
10207 [POSIX] (si_status): Likewise.
10208 [POSIX] (si_band): Likewise.
10209 [XPG4] (si_value): Likewise.
10210 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10211 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10212 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10213 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10214 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10215 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10216 [POSIX || XPG3] (ILL_COPROC): Likewise.
10217 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10218 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10219 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10220 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10221 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10222 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10223 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10224 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10225 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10226 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10227 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10228 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10229 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10230 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10231 [POSIX || XPG3] (CLD_EXITED): Likewise.
10232 [POSIX || XPG3] (CLD_KILLED): Likewise.
10233 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10234 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10235 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10236 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10237 [POSIX || XPG3] (POLL_IN): Likewise.
10238 [POSIX || XPG3] (POLL_OUT): Likewise.
10239 [POSIX || XPG3] (POLL_MSG): Likewise.
10240 [POSIX || XPG3] (POLL_ERR): Likewise.
10241 [POSIX || XPG3] (POLL_PRI): Likewise.
10242 [POSIX || XPG3] (POLL_HUP): Likewise.
10243 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10244 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10245 (SIG*): Do not allow.
10246 [XPG3] (si_*): Likewise.
10247 [XPG3] (SI_*): Likewise.
10248 [XPG3 || XPG4] (sigev_*): Likewise.
10249 [XPG3 || XPG4] (SIGEV_*): Likewise.
10250 [XPG3 || XPG4] (sival_*): Likewise.
10251 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10252 [POSIX || XPG3] (BUS_*): Likewise.
10253 [POSIX || XPG3] (CLD_*): Likewise.
10254 [POSIX || XPG3] (FPE_*): Likewise.
10255 [POSIX || XPG3] (ILL_*): Likewise.
10256 [POSIX || XPG3] (POLL_*): Likewise.
10257 [POSIX || XPG3] (SEGV_*): Likewise.
10258 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10259 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10260 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10261 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10262 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10263 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10264 Specify type and value.
10265 (TVERSLEN): Likewise.
10266 (REGTYPE): Likewise.
10267 (AREGTYPE): Likewise.
10268 (LNKTYPE): Likewise.
10269 (SYMTYPE): Likewise.
10270 (CHRTYPE): Likewise.
10271 (BLKTYPE): Likewise.
10272 (DIRTYPE): Likewise.
10273 (FIFOTYPE): Likewise.
10274 (CONTTYPE): Likewise.
10278 (TUREAD): Likewise.
10279 (TUWRITE): Likewise.
10280 (TUEXEC): Likewise.
10281 (TGREAD): Likewise.
10282 (TGWRITE): Likewise.
10283 (TGEXEC): Likewise.
10284 (TOREAD): Likewise.
10285 (TOWRITE): Likewise.
10286 (TOEXEC): Likewise.
10287 [POSIX] (TSVTX): Expect constant.
10289 2014-03-06 Joseph Myers <joseph@codesourcery.com>
10291 * Makefile (tests): Change dependencies to ....
10292 (tests-special): ... additions to this variable.
10293 (tests): Depend on $(tests-special).
10294 * Makerules (check-abi-list): New variable.
10295 (check-abi): Depend on $(check-abi-list).
10296 [$(subdir) = elf] (tests-special): Add
10297 $(objpfx)check-abi-libc.out.
10298 [$(build-shared) = yes && subdir] (tests-special): Add
10300 [$(build-shared) = yes && subdir] (tests): Do not depend on
10302 * Rules (tests): Depend on $(tests-special).
10303 (xtests): Depend on $(xtests-special).
10304 * catgets/Makefile (tests): Change dependencies to ....
10305 (tests-special): ... additions to this variable.
10306 * conform/Makefile (tests): Change dependencies to ....
10307 (tests-special): ... additions to this variable.
10308 * elf/Makefile (tests): Change dependencies to ....
10309 (tests-special): ... additions to this variable.
10310 * grp/Makefile (tests): Change dependencies to ....
10311 (tests-special): ... additions to this variable.
10312 * iconv/Makefile (xtests): Change dependencies to ....
10313 (xtests-special): ... additions to this variable.
10314 * iconvdata/Makefile (tests): Change dependencies to ....
10315 (tests-special): ... additions to this variable.
10316 * intl/Makefile (tests): Change dependencies to ....
10317 (tests-special): ... additions to this variable. Also add
10318 $(objpfx)tst-gettext.out.
10319 * io/Makefile (tests): Change dependencies to ....
10320 (tests-special): ... additions to this variable.
10321 * libio/Makefile (tests): Change dependencies to ....
10322 (tests-special): ... additions to this variable.
10323 * malloc/Makefile (tests): Change dependencies to ....
10324 (tests-special): ... additions to this variable.
10325 * misc/Makefile (tests): Change dependencies to ....
10326 (tests-special): ... additions to this variable.
10327 * nptl/Makefile (tests): Change dependencies to ....
10328 (tests-special): ... additions to this variable.
10329 * nptl_db/Makefile (tests): Change dependencies to ....
10330 (tests-special): ... additions to this variable.
10331 * posix/Makefile (tests): Change dependencies to ....
10332 (tests-special): ... additions to this variable.
10333 (xtests): Change dependencies to ....
10334 (xtests-special): ... additions to this variable.
10335 * resolv/Makefile (tests): Change dependencies to ....
10336 (tests-special): ... additions to this variable.
10337 (xtests): Change dependencies to ....
10338 (xtests-special): ... additions to this variable.
10339 * stdio-common/Makefile (tests): Change dependencies to ....
10340 (tests-special): ... additions to this variable.
10341 (do-tst-unbputc): Remove target.
10342 (do-tst-printf): Likewise.
10343 * stdlib/Makefile (tests): Change dependencies to ....
10344 (tests-special): ... additions to this variable.
10345 * string/Makefile (tests): Change dependencies to ....
10346 (tests-special): ... additions to this variable.
10347 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10348 (tests-special): ... additions to this variable.
10350 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10352 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10354 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10355 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10357 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10358 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10359 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10360 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10361 * conform/data/libgen.h-data [XPG3]: Likewise.
10362 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10363 * conform/data/ndbm.h-data [XPG3]: Likewise.
10364 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10365 * conform/data/netdb.h-data [XPG3]: Likewise.
10366 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10367 * conform/data/poll.h-data [XPG3]: Likewise.
10368 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10369 * conform/data/strings.h-data [XPG3]: Likewise.
10370 * conform/data/stropts.h-data [XPG3]: Likewise.
10371 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10372 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10373 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10375 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10376 * conform/data/sys/time.h-data [XPG3]: Likewise.
10377 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10378 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10379 * conform/data/sys/un.h-data [XPG3]: Likewise.
10380 * conform/data/syslog.h-data [XPG3]: Likewise.
10381 * conform/data/ucontext.h-data [XPG3]: Likewise.
10382 * conform/data/utmpx.h-data [XPG3]: Likewise.
10383 * conform/data/varargs.h-data [UNIX98]: Enable file.
10385 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10387 * math/libm-test.inc (struct test_f_f_data): Move expected results
10388 into structure for each rounding mode.
10389 (struct test_ff_f_data): Likewise.
10390 (struct test_ff_f_data_nexttoward): Likewise.
10391 (struct test_fi_f_data): Likewise.
10392 (struct test_fl_f_data): Likewise.
10393 (struct test_if_f_data): Likewise.
10394 (struct test_fff_f_data): Likewise.
10395 (struct test_c_f_data): Likewise.
10396 (struct test_f_f1_data): Likewise.
10397 (struct test_fF_f1_data): Likewise.
10398 (struct test_ffI_f1_data): Likewise.
10399 (struct test_c_c_data): Likewise.
10400 (struct test_cc_c_data): Likewise.
10401 (struct test_f_i_data): Likewise.
10402 (struct test_ff_i_data): Likewise.
10403 (struct test_f_l_data): Likewise.
10404 (struct test_f_L_data): Likewise.
10405 (struct test_fFF_11_data): Likewise.
10407 (RM_FE_DOWNWARD): Likewise.
10408 (RM_FE_TONEAREST): Likewise.
10409 (RM_FE_TOWARDZERO): Likewise.
10410 (RM_FE_UPWARD): Likewise.
10411 (RUN_TEST_LOOP_f_f): Update references to expected results.
10412 (RUN_TEST_LOOP_2_f): Likewise.
10413 (RUN_TEST_LOOP_fff_f): Likewise.
10414 (RUN_TEST_LOOP_c_f): Likewise.
10415 (RUN_TEST_LOOP_f_f1): Likewise.
10416 (RUN_TEST_LOOP_fF_f1): Likewise.
10417 (RUN_TEST_LOOP_fI_f1): Likewise.
10418 (RUN_TEST_LOOP_ffI_f1): Likewise.
10419 (RUN_TEST_LOOP_c_c): Likewise.
10420 (RUN_TEST_LOOP_cc_c): Likewise.
10421 (RUN_TEST_LOOP_f_i): Likewise.
10422 (RUN_TEST_LOOP_f_i_tg): Likewise.
10423 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10424 (RUN_TEST_LOOP_f_b): Likewise.
10425 (RUN_TEST_LOOP_f_b_tg): Likewise.
10426 (RUN_TEST_LOOP_f_l): Likewise.
10427 (RUN_TEST_LOOP_f_L): Likewise.
10428 (RUN_TEST_LOOP_fFF_11): Likewise.
10429 * math/gen-libm-test.pl (parse_args): Output four copies of
10430 expected results for each test.
10432 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10433 (__ASSUME_UTIMES): Remove.
10434 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10435 (__ASSUME_UTIMES): Likewise.
10437 * math/gen-auto-libm-tests.c: Update comment on output format.
10438 (output_for_one_input_case): Generate before-rounding and
10439 after-rounding information as conditions on output flags not
10440 floating-point format.
10441 * math/auto-libm-test-out: Regenerated.
10442 * math/gen-libm-test.pl (cond_value): New function.
10443 (or_cond_value): Use cond_value.
10444 (generate_testfile): Handle conditional exceptions.
10446 2014-03-05 Joseph Myers <joseph@codesourcery.com>
10448 * math/libm-test.inc (max_valid_error): New variable.
10449 (init_max_error): Take new argument specifying whether function
10450 results are exactly determined. Set max_valid_error and bound
10451 other variables for errors based on this argument.
10452 (set_max_error): Do not record results above max_valid_error.
10453 (check_float_internal): Only accept errors of up to 0.5ulps if
10454 also at most max_valid_error.
10455 (START): Take new argument EXACT and pass it to init_max_error.
10456 (acos_test): Update call to START.
10457 (acos_test_tonearest): Likewise.
10458 (acos_test_towardzero): Likewise.
10459 (acos_test_downward): Likewise.
10460 (acos_test_upward): Likewise.
10461 (acosh_test): Likewise.
10462 (asin_test): Likewise.
10463 (asin_test_tonearest): Likewise.
10464 (asin_test_towardzero): Likewise.
10465 (asin_test_downward): Likewise.
10466 (asin_test_upward): Likewise.
10467 (asinh_test): Likewise.
10468 (atan_test): Likewise.
10469 (atanh_test): Likewise.
10470 (atan2_test): Likewise.
10471 (cabs_test): Likewise.
10472 (cacos_test): Likewise.
10473 (cacosh_test): Likewise.
10474 (carg_test): Likewise.
10475 (casin_test): Likewise.
10476 (casinh_test): Likewise.
10477 (catan_test): Likewise.
10478 (catanh_test): Likewise.
10479 (cbrt_test): Likewise.
10480 (ccos_test): Likewise.
10481 (ccosh_test): Likewise.
10482 (ceil_test): Likewise.
10483 (cexp_test): Likewise.
10484 (cimag_test): Likewise.
10485 (clog_test): Likewise.
10486 (clog10_test): Likewise.
10487 (conj_test): Likewise.
10488 (copysign_test): Likewise.
10489 (cos_test): Likewise.
10490 (cos_test_tonearest): Likewise.
10491 (cos_test_towardzero): Likewise.
10492 (cos_test_downward): Likewise.
10493 (cos_test_upward): Likewise.
10494 (cosh_test): Likewise.
10495 (cosh_test_tonearest): Likewise.
10496 (cosh_test_towardzero): Likewise.
10497 (cosh_test_downward): Likewise.
10498 (cosh_test_upward): Likewise.
10499 (cpow_test): Likewise.
10500 (cproj_test): Likewise.
10501 (creal_test): Likewise.
10502 (csin_test): Likewise.
10503 (csinh_test): Likewise.
10504 (csqrt_test): Likewise.
10505 (ctan_test): Likewise.
10506 (ctan_test_tonearest): Likewise.
10507 (ctan_test_towardzero): Likewise.
10508 (ctan_test_downward): Likewise.
10509 (ctan_test_upward): Likewise.
10510 (ctanh_test): Likewise.
10511 (ctanh_test_tonearest): Likewise.
10512 (ctanh_test_towardzero): Likewise.
10513 (ctanh_test_downward): Likewise.
10514 (ctanh_test_upward): Likewise.
10515 (erf_test): Likewise.
10516 (erfc_test): Likewise.
10517 (exp_test): Likewise.
10518 (exp_test_tonearest): Likewise.
10519 (exp_test_towardzero): Likewise.
10520 (exp_test_downward): Likewise.
10521 (exp_test_upward): Likewise.
10522 (exp10_test): Likewise.
10523 (exp10_test_tonearest): Likewise.
10524 (exp10_test_towardzero): Likewise.
10525 (exp10_test_downward): Likewise.
10526 (exp10_test_upward): Likewise.
10527 (pow10_test): Likewise.
10528 (exp2_test): Likewise.
10529 (expm1_test): Likewise.
10530 (expm1_test_tonearest): Likewise.
10531 (expm1_test_towardzero): Likewise.
10532 (expm1_test_downward): Likewise.
10533 (expm1_test_upward): Likewise.
10534 (fabs_test): Likewise.
10535 (fdim_test): Likewise.
10536 (floor_test): Likewise.
10537 (fma_test): Likewise.
10538 (fma_test_towardzero): Likewise.
10539 (fma_test_downward): Likewise.
10540 (fma_test_upward): Likewise.
10541 (fmax_test): Likewise.
10542 (fmin_test): Likewise.
10543 (fmod_test): Likewise.
10544 (fpclassify_test): Likewise.
10545 (frexp_test): Likewise.
10546 (hypot_test): Likewise.
10547 (ilogb_test): Likewise.
10548 (isfinite_test): Likewise.
10549 (finite_test): Likewise.
10550 (isgreater_test): Likewise.
10551 (isgreaterequal_test): Likewise.
10552 (isinf_test): Likewise.
10553 (isless_test): Likewise.
10554 (islessequal_test): Likewise.
10555 (islessgreater_test): Likewise.
10556 (isnan_test): Likewise.
10557 (isnormal_test): Likewise.
10558 (issignaling_test): Likewise.
10559 (isunordered_test): Likewise.
10560 (j0_test): Likewise.
10561 (j1_test): Likewise.
10562 (jn_test): Likewise.
10563 (ldexp_test): Likewise.
10564 (lgamma_test): Likewise.
10565 (gamma_test): Likewise.
10566 (lrint_test): Likewise.
10567 (lrint_test_tonearest): Likewise.
10568 (lrint_test_towardzero): Likewise.
10569 (lrint_test_downward): Likewise.
10570 (lrint_test_upward): Likewise.
10571 (llrint_test): Likewise.
10572 (llrint_test_tonearest): Likewise.
10573 (llrint_test_towardzero): Likewise.
10574 (llrint_test_downward): Likewise.
10575 (llrint_test_upward): Likewise.
10576 (log_test): Likewise.
10577 (log10_test): Likewise.
10578 (log1p_test): Likewise.
10579 (log2_test): Likewise.
10580 (logb_test): Likewise.
10581 (logb_test_downward): Likewise.
10582 (lround_test): Likewise.
10583 (llround_test): Likewise.
10584 (modf_test): Likewise.
10585 (nearbyint_test): Likewise.
10586 (nextafter_test): Likewise.
10587 (nexttoward_test): Likewise.
10588 (pow_test): Likewise.
10589 (pow_test_tonearest): Likewise.
10590 (pow_test_towardzero): Likewise.
10591 (pow_test_downward): Likewise.
10592 (pow_test_upward): Likewise.
10593 (remainder_test): Likewise.
10594 (drem_test): Likewise.
10595 (remainder_test_tonearest): Likewise.
10596 (drem_test_tonearest): Likewise.
10597 (remainder_test_towardzero): Likewise.
10598 (drem_test_towardzero): Likewise.
10599 (remainder_test_downward): Likewise.
10600 (drem_test_downward): Likewise.
10601 (remainder_test_upward): Likewise.
10602 (drem_test_upward): Likewise.
10603 (remquo_test): Likewise.
10604 (rint_test): Likewise.
10605 (rint_test_tonearest): Likewise.
10606 (rint_test_towardzero): Likewise.
10607 (rint_test_downward): Likewise.
10608 (rint_test_upward): Likewise.
10609 (round_test): Likewise.
10610 (scalb_test): Likewise.
10611 (scalbn_test): Likewise.
10612 (scalbln_test): Likewise.
10613 (signbit_test): Likewise.
10614 (sin_test): Likewise.
10615 (sin_test_tonearest): Likewise.
10616 (sin_test_towardzero): Likewise.
10617 (sin_test_downward): Likewise.
10618 (sin_test_upward): Likewise.
10619 (sincos_test): Likewise.
10620 (sinh_test): Likewise.
10621 (sinh_test_tonearest): Likewise.
10622 (sinh_test_towardzero): Likewise.
10623 (sinh_test_downward): Likewise.
10624 (sinh_test_upward): Likewise.
10625 (sqrt_test): Likewise.
10626 (sqrt_test_tonearest): Likewise.
10627 (sqrt_test_towardzero): Likewise.
10628 (sqrt_test_downward): Likewise.
10629 (sqrt_test_upward): Likewise.
10630 (tan_test): Likewise.
10631 (tan_test_tonearest): Likewise.
10632 (tan_test_towardzero): Likewise.
10633 (tan_test_downward): Likewise.
10634 (tan_test_upward): Likewise.
10635 (tanh_test): Likewise.
10636 (tgamma_test): Likewise.
10637 (trunc_test): Likewise.
10638 (y0_test): Likewise.
10639 (y1_test): Likewise.
10640 (yn_test): Likewise.
10641 (significand_test): Likewise.
10643 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10644 individual tests in comment.
10645 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10646 (prev_max_error): New variable.
10647 (prev_real_max_error): Likewise.
10648 (prev_imag_max_error): Likewise.
10649 (compare_ulp_data): Don't refer to test names in comment.
10650 (find_test_ulps): Remove function.
10651 (find_function_ulps): Likewise.
10652 (find_complex_function_ulps): Likewise.
10653 (init_max_error): Take function name as argument. Look up ulps
10655 (print_ulps): Remove function.
10656 (print_max_error): Use prev_max_error instead of calling
10657 find_function_ulps.
10658 (print_complex_max_error): Use prev_real_max_error and
10659 prev_imag_max_error instead of calling find_complex_function_ulps.
10660 (check_float_internal): Take max_ulp parameter instead of calling
10661 find_test_ulps. Don't call print_ulps.
10662 (check_float): Update call to check_float_internal.
10663 (check_complex): Update calls to check_float_internal.
10664 (START): Pass argument to init_max_error.
10665 * math/gen-libm-test.pl (%results): Don't include "kind"
10667 (parse_ulps): Don't handle ulps of individual tests.
10668 (print_ulps_file): Likewise.
10669 (output_ulps): Likewise.
10670 * math/README.libm-test: Update.
10671 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10673 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10674 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10675 * sysdeps/arm/libm-test-ulps: Likewise.
10676 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10677 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10678 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10679 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10680 * sysdeps/microblaze/libm-test-ulps: Likewise.
10681 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10682 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10683 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10684 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10685 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10686 * sysdeps/sh/libm-test-ulps: Likewise.
10687 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10688 * sysdeps/tile/libm-test-ulps: Likewise.
10689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10691 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10693 * math/libm-test.inc (print_complex_max_error): Check separately
10694 whether real and imaginary errors are within allowed range and
10695 pass 0 to print_complex_function_ulps instead of value within
10698 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10700 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10702 (get_handles_fopen): Likewise.
10703 (do_write_test): Likewise.
10705 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10707 * libio/fileops.c (do_ftell): Use cached offset when
10709 * libio/iofwide.c (do_ftell_wide): Likewise.
10710 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10712 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10715 * libio/libioP.h (get_file_offset): New function.
10716 * libio/fileops.c (get_file_offset): Likewise.
10717 (do_ftell): Likewise.
10718 (_IO_new_file_seekoff): Split out ftell logic.
10719 * libio/wfileops.c (do_ftell_wide): Likewise.
10720 (_IO_wfile_seekoff): Split out ftell logic.
10721 * libio/tst-ftell-active-handler.c: New test case.
10722 * libio/Makefile (tests): Add it.
10724 2014-03-03 Roland McGrath <roland@hack.frob.com>
10726 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10727 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10729 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10732 * nscd/connections.c (nscd_init): Call do_exit.
10733 (start_threads): Call do_exit and notify_parent.
10734 (begin_drop_privileges): Call do_exit.
10735 (finish_drop_privileges): Likewise.
10736 * nscd/selinux.c (preserve_capabilities): Likewise.
10737 (install_real_capabilities): Likewise.
10738 (nscd_selinux_enabled): Likewise.
10739 (avc_create_thread): Likewise.
10740 (avc_alloc_lock): Likewise.
10741 (nscd_avc_init): Likewise.
10742 * nscd/nscd.c (parent_fd): New static variable.
10743 (main): Create a pipe between parent and child processes.
10744 Skip closing parent_fd.
10745 (monitor_child): New function.
10746 (do_exit): Likewise.
10747 (notify_parent): Likewise.
10748 * nscd/nscd.h (notify_parent): Likewise.
10749 (do_exit): Likewise.
10751 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10753 * malloc/malloc.c (__libc_calloc): Revert last change.
10755 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10759 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10761 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10765 (__libc_ifunc_impl_list): Likewise.
10766 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10767 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10768 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10769 * string/strrchr.c: Define STRRCHR.
10771 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10773 * benchtest/bench-strtok.c (simple_strtok): Delete.
10774 (strtok_string): Use as benchmark.
10775 * string/strtok (STRTOK): New macro.
10777 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10779 * manual/threads.texi: Add header and standard comments to all
10782 * elf/dl-lookup.c (check_match): New function.
10783 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10784 (do_lookup_x): Remove nested function check_match. Use non-nested
10785 function check_match.
10787 2014-02-28 Roland McGrath <roland@hack.frob.com>
10789 * csu/Makefile (generated, before-compile): Use += rather than =.
10790 * catgets/Makefile (generated, generated-dirs): Likewise.
10791 * debug/Makefile (generated): Likewise.
10792 * dlfcn/Makefile (generated): Likewise.
10793 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10794 * iconvdata/Makefile (before-compile, generated): Likewise.
10795 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10796 * libio/Makefile (generated): Likewise.
10797 * malloc/Makefile (generated): Likewise.
10798 * manual/Makefile (generated, generated-dirs): Likewise.
10799 * misc/Makefile (generated): Likewise.
10800 * posix/Makefile (generated): Likewise.
10801 * resolv/Makefile (generated): Likewise.
10802 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10803 * timezone/Makefile (generated, generated-dirs): Likewise.
10805 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10807 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10810 power8 implementation.
10811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10812 file: POWER8 llround ifunc implementation.
10813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10814 (__lllround): Add POWER8 implementation.
10815 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10816 POWER8 llround implementation.
10818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10819 power8 implementation.
10820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10821 file: POWER8 llrint ifunc implementation.
10822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10823 Add POWER8 implementation.
10824 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10825 POWER8 llrint implementation.
10827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10828 power8 implementation.
10829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10830 file: POWER8 finite ifunc implementation.
10831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10832 Add POWER8 implementation.
10833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10835 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10836 POWER8 finite implementation.
10837 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10840 power8 implementation.
10841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10842 file: POWER8 isinf ifunc implementation.
10843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10844 POWER8 implementation.
10845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10848 isinf implementation.
10849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10851 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10852 (INIT_ARCH): Add hwcap2 initialization.
10853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10854 power8 implementation.
10855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10856 file: POWER8 isnan ifunc implementation.
10857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10858 POWER8 implementation.
10859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10861 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10862 isnan implementation.
10863 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10865 2014-02-27 Joey Ye <joey.ye@arm.com>
10867 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10868 (_FP_NANFRAC_Q): Set to zero.
10870 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10873 * math/auto-libm-test-in: New test inputs.
10874 * math/auto-libm-test-out: Regenerate.
10875 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10878 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10880 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10882 * scripts/evaluate-test.sh: Take new argument indicating whether
10883 failure is expected.
10884 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10885 indicating whether failure is expected.
10886 * conform/Makefile (test-xfail-run-conformtest): New variable.
10887 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10889 * posix/Makefile (test-xfail-annexc): New variable.
10890 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10892 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10894 * argp/Makefile: Include Makeconfig immediately after defining
10896 * assert/Makefile: Likewise.
10897 * benchtests/Makefile: Likewise.
10898 * catgets/Makefile: Likewise.
10899 * conform/Makefile: Likewise.
10900 * crypt/Makefile: Likewise.
10901 * csu/Makefile: Likewise.
10902 (all): Remove target.
10903 * ctype/Makefile: Include Makeconfig immediately after defining
10905 * debug/Makefile: Likewise.
10906 * dirent/Makefile: Likewise.
10907 * dlfcn/Makefile: Likewise.
10908 * gmon/Makefile: Likewise.
10909 * gnulib/Makefile: Likewise.
10910 * grp/Makefile: Likewise.
10911 * gshadow/Makefile: Likewise.
10912 * hesiod/Makefile: Likewise.
10913 * hurd/Makefile: Likewise.
10914 (all): Remove target.
10915 * iconvdata/Makefile: Include Makeconfig immediately after
10917 * inet/Makefile: Likewise.
10918 * intl/Makefile: Likewise.
10919 * io/Makefile: Likewise.
10920 * libio/Makefile: Likewise.
10921 (all): Remove target.
10922 * locale/Makefile: Include Makeconfig immediately after defining
10924 * login/Makefile: Likewise.
10925 * mach/Makefile: Likewise.
10926 (all): Remove target.
10927 * malloc/Makefile: Include Makeconfig immediately after defining
10929 (all): Remove target.
10930 * manual/Makefile: Include Makeconfig immediately after defining
10932 * math/Makefile: Likewise.
10933 * misc/Makefile: Likewise.
10934 * nis/Makefile: Likewise.
10935 * nss/Makefile: Likewise.
10936 * po/Makefile: Likewise.
10937 (all): Remove target.
10938 * posix/Makefile: Include Makeconfig immediately after defining
10940 * pwd/Makefile: Likewise.
10941 * resolv/Makefile: Likewise.
10942 * resource/Makefile: Likewise.
10943 * rt/Makefile: Likewise.
10944 * setjmp/Makefile: Likewise.
10945 * shadow/Makefile: Likewise.
10946 * signal/Makefile: Likewise.
10947 * socket/Makefile: Likewise.
10948 * soft-fp/Makefile: Likewise.
10949 * stdio-common/Makefile: Likewise.
10950 * stdlib/Makefile: Likewise.
10951 * streams/Makefile: Likewise.
10952 * string/Makefile: Likewise.
10953 * sunrpc/Makefile: Likewise.
10954 (all): Remove target.
10955 * sysvipc/Makefile: Include Makeconfig immediately after defining
10957 * termios/Makefile: Likewise.
10958 * time/Makefile: Likewise.
10959 * timezone/Makefile: Likewise.
10960 (all): Remove target.
10961 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10963 * wctype/Makefile: Likewise.
10965 2014-02-26 Steve Ellcey <sellcey@mips.com>
10967 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10968 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10969 (libc_feholdexcept_setround_mips): Ditto.
10970 (libc_feholdsetround): New.
10971 (libc_feholdsetroundf): New.
10972 (libc_feholdsetroundl): New.
10973 (libc_feupdateenv_test_mips): New.
10974 (libc_feupdateenv_test): New.
10975 (libc_feupdateenv_testf): New.
10976 (libc_feupdateenv_testl): New.
10977 (libc_feresetround): New.
10978 (libc_feresetroundf): New.
10979 (libc_feresetroundl): New.
10980 (libc_fetestexcept_mips): New.
10981 (libc_fetestexcept): New.
10982 (libc_fetestexceptf): New.
10983 (libc_fetestexceptl): New.
10984 (HAVE_RM_CTX): New.
10985 (libc_feholdexcept_setround_mips_ctx): New.
10986 (libc_feholdexcept_setround_ctx): New.
10987 (libc_feholdexcept_setroundf_ctx): New.
10988 (libc_feholdexcept_setroundl_ctx): New.
10989 (libc_fesetenv_mips_ctx): New.
10990 (libc_fesetenv_ctx): New.
10991 (libc_fesetenv_ctxf): New.
10992 (libc_fesetenv_ctxl): New.
10993 (libc_feupdateenv_mips_ctx): New.
10994 (libc_feupdateenv_ctx): New.
10995 (libc_feupdateenvf_ctx): New.
10996 (libc_feupdateenvl_ctx): New.
10997 (libc_feholdsetround_mips_ctx): New.
10998 (libc_feholdsetround_ctx): New.
10999 (libc_feholdsetroundf_ctx): New.
11000 (libc_feholdsetroundl_ctx): New.
11001 (libc_feresetround_mips_ctx): New.
11002 (libc_feresetround_ctx): New.
11003 (libc_feresetroundf_ctx): New.
11004 (libc_feresetroundl_ctx): New.
11006 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11008 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11010 * manual/ipc.texi: New file.
11011 * manual/Makefile (chapters): Add ipc.
11012 * manual/job.texi: Add "Inter-Process Communication" to next.
11013 * manual/process.texi: Add "Inter-Process Communication" to prev.
11015 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11019 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11021 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11023 * manual/arith.texi: Fix spaces after sentences.
11024 * manual/charset.texi: Likewise.
11025 * manual/errno.texi: Likewise.
11026 * manual/install.texi: Likewise.
11027 * manual/llio.texi: Likewise.
11028 * manual/locale.texi: Likewise.
11029 * manual/maint.texi: Likewise.
11030 * manual/math.texi: Likewise.
11031 * manual/memory.texi: Likewise.
11032 * manual/message.texi: Likewise.
11033 * manual/probes.texi: Likewise.
11034 * manual/resource.texi: Likewise.
11035 * manual/signal.texi: Likewise.
11036 * manual/socket.texi: Likewise.
11037 * manual/stdio.texi: Likewise.
11038 * manual/string.texi: Likewise.
11039 * manual/time.texi: Likewise.
11040 * manual/users.texi: Likewise.
11042 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11045 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11046 _DEFAULT_SOURCE is defined.
11048 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11049 Carlos O'Donell <carlos@redhat.com>
11052 * elf/dl-tls.c (_dl_count_modids): New function.
11053 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11054 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11055 audit library and increment generation counter.
11056 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11057 * elf/tst-audit9.c: New file.
11058 * elf/tst-auditmod9a.c: New file.
11059 * elf/tst-auditmod9b.c: New file.
11060 * elf/Makefile: Add rules to build and run tst-audit9.
11062 2014-02-25 Florian Weimer <fweimer@redhat.com>
11065 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11067 2014-02-25 Will Newton <will.newton@linaro.org>
11069 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11070 (__longjmp): Restore sp and lr before restoring callee
11071 saved registers. Add longjmp and longjmp_target
11072 SystemTap probe point.
11073 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11074 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11075 Define to zero to match jmpbuf layout.
11076 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11077 (__sigsetjmp): Save sp and lr before saving callee
11078 saved registers. Add setjmp SystemTap probe point.
11080 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11082 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11084 2014-02-24 Andreas Schwab <schwab@suse.de>
11087 * elf/pldd.c (wait_for_ptrace_stop): New function.
11088 (main): Call it after attaching.
11090 2014-02-22 Roland McGrath <roland@hack.frob.com>
11092 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11093 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11094 Versions files is now verboten.
11095 * hurd/Versions (libc: GLIBC_2.0):
11096 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11097 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11098 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11099 * mach/Versions: Likewise.
11101 * csu/Versions: Remove unused %include.
11102 * resolv/Versions: Likewise.
11104 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11106 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11107 ($(objpfx)check-local-headers.out): Likewise.
11108 ($(objpfx)begin-end-check.out): Likewise.
11109 * Makerules (check-abi-%.out): Likewise.
11110 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11111 ($(objpfx)test2.cat): Likewise.
11112 ($(objpfx)de/libc.cat): Likewise.
11113 ($(objpfx)test-gencat.out): Likewise.
11114 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11115 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11116 ($(objpfx)noload-mem): Likewise.
11117 ($(objpfx)tst-pathopt.out): Likewise.
11118 ($(objpfx)tst-rtld-load-self.out): Likewise.
11119 ($(objpfx)tst-array1-cmp.out): Likewise.
11120 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11121 ($(objpfx)tst-array2-cmp.out): Likewise.
11122 ($(objpfx)tst-array3-cmp.out): Likewise.
11123 ($(objpfx)tst-array4-cmp.out): Likewise.
11124 ($(objpfx)tst-array5-cmp.out): Likewise.
11125 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11126 ($(objpfx)check-textrel.out): Likewise.
11127 ($(objpfx)check-execstack.out): Likewise.
11128 ($(objpfx)check-localplt.out): Likewise.
11129 ($(objpfx)order2-cmp.out): Likewise.
11130 ($(objpfx)tst-leaks1-mem): Likewise.
11131 ($(objpfx)tst-leaks1-static-mem): Likewise.
11132 ($(objpfx)tst-initorder-cmp.out): Likewise.
11133 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11134 ($(objpfx)tst-unused-dep.out): Likewise.
11135 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11136 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11137 * iconv/Makefile (test-iconvconfig): Likewise.
11138 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11139 ($(objpfx)iconv-test.out): Likewise.
11140 ($(objpfx)tst-tables.out): Likewise.
11141 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11142 ($(objpfx)tst-gettext.out): Likewise.
11143 ($(objpfx)tst-translit.out): Likewise.
11144 ($(objpfx)tst-gettext2.out): Likewise.
11145 ($(objpfx)tst-gettext4.out): Likewise.
11146 ($(objpfx)tst-gettext6.out): Likewise.
11147 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11148 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11149 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11150 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11151 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11152 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11153 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11154 ($(objpfx)wordexp-tst.out): Likewise.
11155 ($(objpfx)annexc.out): Likewise.
11156 ($(objpfx)tst-fnmatch-mem): Likewise.
11157 ($(objpfx)bug-regex2-mem): Likewise.
11158 ($(objpfx)bug-regex14-mem): Likewise.
11159 ($(objpfx)bug-regex21-mem): Likewise.
11160 ($(objpfx)bug-regex31-mem): Likewise.
11161 ($(objpfx)tst-vfork3-mem): Likewise.
11162 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11163 ($(objpfx)tst-pcre-mem): Likewise.
11164 ($(objpfx)tst-boost-mem): Likewise.
11165 ($(objpfx)tst-getconf.out): Likewise.
11166 ($(objpfx)bug-ga2-mem): Likewise.
11167 ($(objpfx)bug-glob2-mem): Likewise.
11168 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11169 ($(objpfx)mtrace-tst-leaks2): Likewise.
11170 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11171 ($(objpfx)tst-printf.out): Likewise.
11172 ($(objpfx)tst-setvbuf1.out): Likewise.
11173 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11174 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11175 ($(objpfx)tst-fmtmsg.out): Likewise.
11176 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11177 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11179 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11180 * bits/sigaction.h [__USE_MISC]: Likewise.
11181 * bits/waitstatus.h: Update #endif comments.
11182 * ctype/ctype.h: Likewise.
11183 * dirent/dirent.h: Likewise.
11184 [__USE_MISC]: Remove redundant conditionals.
11185 * grp/grp.h: Update #endif comments.
11186 [__USE_GNU]: Remove redundant conditionals.
11187 [__USE_MISC]: Likewise.
11188 * inet/netinet/in.h [__USE_GNU]: Likewise.
11189 * io/sys/stat.h [__USE_MISC]: Likewise.
11190 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11191 * libio/bits/stdio.h: Update #endif comments.
11192 [__USE_MISC]: Remove redundant conditionals.
11193 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11194 * libio/stdio.h: Update #endif comments.
11195 [__USE_MISC]: Remove redundant conditionals.
11196 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11197 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11198 * math/math.h: Update #else and #endif comments.
11199 [__USE_MISC]: Remove redundant conditionals.
11200 * misc/sys/uio.h: Update #endif comments.
11201 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11202 * posix/glob.h [__USE_MISC]: Likewise.
11203 * posix/sys/types.h: Update #endif comments.
11204 [__USE_MISC]: Remove redundant conditionals.
11205 * posix/sys/wait.h: Update #endif comments.
11206 [__USE_MISC]: Remove redundant conditionals.
11207 * posix/unistd.h: Update #endif comments.
11208 [__USE_MISC]: Remove redundant conditionals.
11209 * pwd/pwd.h [__USE_GNU]: Likewise.
11210 [__USE_MISC]: Likewise.
11211 * resolv/netdb.h [__USE_GNU]: Likewise.
11212 * signal/signal.h: Update #endif comments.
11213 [__USE_MISC]: Remove redundant conditionals.
11214 * stdlib/stdlib.h: Update #else and #endif comments.
11215 [__USE_MISC]: Remove redundant conditionals.
11216 [__USE_GNU]: Likewise.
11217 * string/bits/string2.h [__USE_MISC]: Likewise.
11218 * string/string.h: Update #endif comments.
11219 [__USE_MISC]: Remove redundant conditionals.
11220 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11222 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11223 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11224 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11226 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11228 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11230 [__USE_MISC]: Remove redundant conditionals.
11231 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11232 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11233 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11234 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11235 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11237 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11238 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11240 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11241 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11243 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11245 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11246 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11248 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11250 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11251 * sysdeps/x86/bits/string.h: Update #endif comments.
11252 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11254 * time/sys/time.h: Update #endif comments.
11255 * time/time.h: Likewise.
11256 [__USE_MISC]: Remove redundant conditionals.
11258 2014-02-21 Yury Gribov <y.gribov@samsung.com>
11261 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11263 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11265 * Versions.def (librt): Add GLIBC_2.17.
11267 2014-02-21 Adam Conrad <adconrad@0c3.net>
11269 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11270 synonym for _SYS_AUXV_H to allow direct inclusion.
11271 * sysdeps/sparc/bits/hwcap.h: Likewise.
11272 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11273 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11274 * sysdeps/sparc/sysdep.h: Likewise.
11276 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11278 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11280 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11282 * benchtests/bench-strrchr.c: Print length instead of position.
11284 2014-02-20 Joseph Myers <joseph@codesourcery.com>
11287 * sysdeps/unix/sysv/linux/kernel-features.h
11288 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11289 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11290 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11291 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11293 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11294 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11295 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11296 (__ASSUME_SENDMMSG): Define instead of using previous
11297 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11298 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11299 (__ASSUME_SENDMMSG_SYSCALL): Define.
11300 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11301 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11303 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11304 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11306 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11307 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11309 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11310 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11311 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11312 [__ASSUME_SENDMMSG]: Change conditionals to
11313 [__ASSUME_SENDMMSG_SOCKETCALL].
11314 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11315 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11317 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11318 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11320 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11321 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11322 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11323 [!__ASSUME_SENDMMSG]: Change conditional to
11324 [!__ASSUME_SENDMMSG_SOCKETCALL].
11325 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11326 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11330 * sysdeps/unix/sysv/linux/kernel-features.h
11331 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11332 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11333 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11334 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11335 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11336 [__i386__ || __sparc__]
11337 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11338 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11339 (__ASSUME_RECVMMSG): Define instead of using previous
11340 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11341 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11342 (__ASSUME_RECVMMSG_SYSCALL): Define.
11343 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11344 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11346 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11347 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11349 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11350 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11352 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11353 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11354 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11355 [__ASSUME_RECVMMSG]: Change condition to
11356 [__ASSUME_RECVMMSG_SOCKETCALL].
11357 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11358 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11360 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11361 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11362 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11364 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11365 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11366 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11367 [!__ASSUME_RECVMMSG]: Change condition to
11368 [!__ASSUME_RECVMMSG_SOCKETCALL].
11369 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11370 (__ASSUME_RECVMMSG_SYSCALL): Define.
11373 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11374 __powerpc__ || __s390__ || __sh__ || __sparc__]
11375 (__ASSUME_SOCKETCALL): Define.
11376 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11377 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11378 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11379 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11380 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11381 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11382 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11383 (__ASSUME_ACCEPT4): Define instead of using previous
11384 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11385 __powerpc__ || __sparc__ || __s390__)] condition.
11386 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11387 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11388 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11389 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11390 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11391 [!__ASSUME_ACCEPT4]: Change condition to
11392 [!__ASSUME_ACCEPT4_SOCKETCALL].
11393 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11394 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11395 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11396 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11397 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11398 __ASSUME_ACCEPT4_SYSCALL.
11399 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11400 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11401 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11402 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11403 __ASSUME_ACCEPT4_SYSCALL.
11404 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11405 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11406 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11407 [__ASSUME_ACCEPT4]: Change condition to
11408 [__ASSUME_ACCEPT4_SOCKETCALL].
11409 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11410 (__ASSUME_SOCKETCALL): Define.
11411 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11413 (__ASSUME_SOCKETCALL): Define.
11414 (__ASSUME_ACCEPT4): Remove.
11415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11417 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11418 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11420 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11421 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11423 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11425 (HWCAP_ARM_LPAE): Likewise.
11426 (HWCAP_ARM_EVTSTRM): Likewise.
11427 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11428 Add vpfd32, lpae and evtstrm.
11429 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11432 2014-02-19 Joseph Myers <joseph@codesourcery.com>
11434 * math/auto-libm-test-in: Add tests of clog10.
11435 * math/auto-libm-test-out: Regenerated.
11436 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11437 * sysdeps/i386/fpu/libm-test-ulps: Update.
11438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11440 2014-02-18 Andreas Schwab <schwab@suse.de>
11443 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11444 Store non-zero if the second buffer was newly allocated.
11445 (send_dg): Likewise.
11446 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11447 to send_vc and send_dg.
11448 (res_nsend): Pass NULL for ansp2_malloced.
11449 * resolv/res_query.c (__libc_res_nquery): Add parameter
11450 answerp2_malloced and pass it down to __libc_res_nsend.
11451 (res_nquery): Pass additional NULL to __libc_res_nquery.
11452 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11453 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11454 second answer buffer if answerp2_malloced was set.
11455 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11456 (__libc_res_nquerydomain): Add parameter
11457 answerp2_malloced and pass it down to __libc_res_nquery.
11458 (res_nquerydomain): Pass additional NULL to
11459 __libc_res_nquerydomain.
11460 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11461 additional NULL to __libc_res_nsend and __libc_res_nquery.
11462 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11463 additional NULL to __libc_res_nsearch.
11464 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11465 parameter of __libc_res_nsearch to check for separately allocated
11467 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11469 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11470 additional NULL to __libc_res_nquery.
11471 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11472 __libc_res_nsearch.
11473 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11474 * include/resolv.h: Update prototypes of __libc_res_nquery,
11475 __libc_res_nsearch, __libc_res_nsend.
11477 2014-02-18 Joseph Myers <joseph@codesourcery.com>
11479 * math/auto-libm-test-in: Add tests of fma.
11480 * math/auto-libm-test-out: Regenerated.
11481 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11482 (fma_towardzero_test_data): Likewise.
11483 (fma_downward_test_data): Likewise.
11484 (fma_upward_test_data): Likewise.
11485 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11487 (rounding_modes): Add values for new field.
11488 (func_calc_method): Add value mpfr_fff_f.
11489 (func_calc_desc): Add mpfr_fff_f union field.
11490 (test_function): Add field exact_args.
11491 (FUNC): Add macro argument EXACT_ARGS.
11492 (FUNC_mpfr_f_f): Update call to FUNC.
11493 (FUNC_mpfr_f_f): Likewise.
11494 (FUNC_mpfr_ff_f): Likewise.
11495 (FUNC_mpfr_if_f): Likewise.
11496 (FUNC_mpc_c_f): Likewise.
11497 (FUNC_mpc_c_c): Likewise.
11498 (test_functions): Add fma. Update calls to FUNC.
11499 (handle_input_arg): Add argument exact_args.
11500 (add_test): Update call to handle_input_arg.
11501 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11502 (output_for_one_input_case): Update call to calc_generic_results.
11503 Recalculate exact zero results in each rounding mode.
11505 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11506 non-negative before setting low bit.
11507 * math/auto-libm-test-in: Mark one asin test possibly having
11508 spurious underflow.
11509 * math/auto-libm-test-out: Regenerated.
11510 * sysdeps/i386/fpu/libm-test-ulps: Update.
11511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11513 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11515 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11516 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11517 ports/sysdeps/unix/sysv/linux/microblaze.
11518 * README: Add missing listing for microblaze*-*-linux-gnu.
11520 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
11522 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11525 2014-02-16 Mike Frysinger <vapier@gentoo.org>
11527 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11528 * sysdeps/unix/sysv/linux/ia64: Move directory from
11529 ports/sysdeps/unix/sysv/linux/ia64.
11530 * README: Update listing for ia64-*-linux-gnu.
11532 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11533 Joseph Myers <joseph@codesourcery.com>
11535 * Makeconfig (test-name): New variable.
11536 (evaluate-test): Likewise.
11537 * Makerules (do-test-clean): Remove .test-result files.
11538 (common-mostlyclean): Likewise.
11539 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11540 * scripts/evaluate-test.sh: New file.
11542 2014-02-14 Joseph Myers <joseph@codesourcery.com>
11544 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11545 separate $(objpfx)tst-fopenloc-cmp.out and
11546 $(objpfx)tst-fopenloc-mem.out targets.
11547 (tests): Update dependencies.
11548 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11549 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11550 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11551 (tst-rxspencer-no-utf8-ARGS): New variable.
11552 (tst-rxspencer-no-utf8-ENV): Likewise.
11553 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11554 instead of $(objpfx)tst-rxspencer-mem.
11555 ($(objpfx)tst-rxspencer-mem): Change target to
11556 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11557 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11558 * posix/tst-rxspencer-no-utf8.c: New file.
11560 * elf/Makefile ($(objpfx)order.out): Remove rule.
11561 [$(run-built-tests) = yes] (tests): Depend on
11562 $(objpfx)order-cmp.out.
11563 ($(objpfx)order-cmp.out): New rule.
11564 [$(run-built-tests) = yes] (tests): Depend on
11565 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11566 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11567 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11568 $(objpfx)tst-array5-static-cmp.out.
11569 ($(objpfx)tst-array1.out): Remove rule.
11570 ($(objpfx)tst-array1-cmp.out): New rule.
11571 ($(objpfx)tst-array1-static.out): Remove rule.
11572 ($(objpfx)tst-array1-static-cmp.out): New rule.
11573 ($(objpfx)tst-array2.out): Remove rule.
11574 ($(objpfx)tst-array2-cmp.out): New rule.
11575 ($(objpfx)tst-array3.out): Remove rule.
11576 ($(objpfx)tst-array3-cmp.out): New rule.
11577 ($(objpfx)tst-array4.out): Remove rule.
11578 ($(objpfx)tst-array4-cmp.out): New rule.
11579 ($(objpfx)tst-array5.out): Remove rule.
11580 ($(objpfx)tst-array5-cmp.out): New rule.
11581 ($(objpfx)tst-array5-static.out): Remove rule.
11582 ($(objpfx)tst-array5-static-cmp.out): New rule.
11583 [$(run-built-tests) = yes] (tests): Depend on
11584 $(objpfx)order2-cmp.out.
11585 ($(objpfx)order2.out): Remove rule.
11586 ($(objpfx)order2-cmp.out): New rule.
11587 ($(objpfx)tst-initorder.out): Remove rule.
11588 [$(run-built-tests) = yes] (tests): Depend on
11589 $(objpfx)tst-initorder-cmp.out.
11590 ($(objpfx)tst-initorder-cmp.out): New rule.
11591 ($(objpfx)tst-initorder2.out): Remove rule.
11592 [$(run-built-tests) = yes] (tests): Depend on
11593 $(objpfx)tst-initorder2-cmp.out.
11594 ($(objpfx)tst-initorder2-cmp.out): New rule.
11595 [$(run-built-tests) = yes] (tests): Depend on
11596 $(objpfx)tst-unused-dep-cmp.out.
11597 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11598 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11599 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11600 on $(objpfx)tst-setvbuf1-cmp.out.
11601 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11602 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11603 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11604 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11605 ($(objpfx)tst-svc.out): Remove rule.
11606 ($(objpfx)tst-svc-cmp.out): New rule.
11608 2014-02-13 Joseph Myers <joseph@codesourcery.com>
11610 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11611 * ctype/ctype.h [__USE_MISC]: Likewise.
11612 * dirent/dirent.h [__USE_MISC]: Likewise.
11613 * grp/grp.h [__USE_MISC]: Likewise.
11614 * io/fcntl.h [__USE_MISC]: Likewise.
11615 * io/sys/stat.h [__USE_MISC]: Likewise.
11616 * libio/stdio.h [__USE_MISC]: Likewise.
11617 * posix/unistd.h [__USE_MISC]: Likewise.
11618 * pwd/pwd.h [__USE_MISC]: Likewise.
11619 * stdlib.h [__USE_MISC]: Likewise.
11620 * string/bits/string2.h [__USE_MISC]: Likewise.
11621 * string/string.h [__USE_MISC]: Likewise.
11622 * time/time.h [__USE_MISC]: Likewise.
11624 2014-02-13 Andreas Schwab <schwab@suse.de>
11627 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11628 second answer buffer if it was separately allocated.
11630 2014-02-12 Joseph Myers <joseph@codesourcery.com>
11632 * sysdeps/mips/math-tests.h: Include <features.h>.
11633 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11634 (ROUNDING_TESTS_long_double): Do not define.
11635 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11636 (EXCEPTION_TESTS_long_double): Likewise.
11637 * sysdeps/mips/mips64/libm-test-ulps: Update.
11639 * include/features.h (__USE_BSD): Remove macro definitions.
11640 (__USE_SVID): Likewise.
11641 (_BSD_SOURCE): Likewise.
11642 (_SVID_SOURCE): Likewise.
11643 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11644 from definition of _DEFAULT_SOURCE.
11645 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11647 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11648 * bits/mman.h [__USE_BSD]: Likewise.
11649 * bits/termios.h [__USE_BSD]: Likewise.
11650 * bits/waitstatus.h [__USE_BSD]: Likewise.
11651 * ctype/ctype.h [__USE_SVID]: Likewise.
11652 * dirent/dirent.h [__USE_BSD]: Likewise.
11653 * grp/grp.h [__USE_SVID]: Likewise.
11654 [__USE_BSD]: Likewise.
11655 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11656 * io/fcntl.h [__USE_BSD]: Likewise.
11657 * io/ftw.h [__USE_BSD]: Likewise.
11658 * io/sys/stat.h [__USE_BSD]: Likewise.
11659 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11660 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11661 * libio/stdio.h [__USE_SVID]: Likewise.
11662 [__USE_BSD]: Likewise.
11663 * math/math.h [__USE_SVID]: Likewise.
11664 [__USE_BSD]: Likewise.
11665 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11666 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11667 * misc/search.h [__USE_SVID]: Likewise.
11668 * misc/sys/mman.h [__USE_BSD]: Likewise.
11669 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11670 * misc/sys/uio.h [__USE_BSD]: Likewise.
11671 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11672 * posix/glob.h [__USE_BSD]: Likewise.
11673 * posix/regex.h [__USE_BSD]: Likewise.
11674 * posix/sys/types.h [__USE_BSD]: Likewise.
11675 [__USE_SVID]: Likewise.
11676 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11677 * posix/sys/wait.h [__USE_BSD]: Likewise.
11678 [__USE_SVID]: Likewise.
11679 * posix/unistd.h [__USE_BSD]: Likewise.
11680 [__USE_SVID]: Likewise.
11681 * pwd/pwd.h [__USE_SVID]: Likewise.
11682 * resolv/netdb.h [__USE_BSD]: Likewise.
11683 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11684 * signal/signal.h [__USE_BSD]: Likewise.
11685 [__USE_SVID]: Likewise.
11686 * socket/sys/socket.h [__USE_BSD]: Likewise.
11687 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11688 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11689 [__USE_SVID]: Likewise.
11690 * string/bits/string2.h [__USE_BSD]: Likewise.
11691 [__USE_SVID]: Likewise.
11692 * string/bits/string3.h [__USE_BSD]: Likewise.
11693 * string/endian.h [__USE_BSD]: Likewise.
11694 * string/string.h [__USE_SVID]: Likewise.
11695 [__USE_BSD]: Likewise.
11696 * string/strings.h [__USE_BSD]: Likewise.
11697 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11698 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11699 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11700 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11701 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11702 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11706 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11707 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11709 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11710 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11712 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11714 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11715 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11716 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11718 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11720 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11721 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11722 * termios/termios.h [__USE_BSD]: Likewise.
11723 * time/sys/time.h [__USE_BSD]: Likewise.
11724 * time/time.h [__USE_BSD]: Likewise.
11725 [__USE_SVID]: Likewise.
11727 * Makefile (subdir_targets): Remove subdir_lint.out.
11729 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11730 (do-tst-printf): Likewise.
11731 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11732 $(objpfx)tst-printf.out.
11734 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11736 * Makerules (check-abi-%): Change target to
11737 $(objpfx)check-abi-%.out.
11738 (check-abi target): Update dependencies.
11739 (check-abi-pattern variable): Redirect output of diff to $@.
11740 (check-abi variable): Likewise.
11741 * elf/Makefile (check-abi): Update dependencies.
11743 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11745 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11746 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11748 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11749 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11750 value has largest subnormal exponent.
11751 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11752 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11753 * sysdeps/aarch64/soft-fp/sfp-machine.h
11754 (_FP_TININESS_AFTER_ROUNDING): New macro.
11755 * sysdeps/alpha/soft-fp/sfp-machine.h
11756 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11757 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11759 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11760 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11761 * sysdeps/mips/soft-fp/sfp-machine.h
11762 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11763 * sysdeps/powerpc/soft-fp/sfp-machine.h
11764 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11765 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11767 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11768 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11769 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11770 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11771 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11774 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11777 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11780 2014-02-12 Richard Henderson <rth@redhat.com>
11782 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11783 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11784 * sysdeps/unix/sysv/linux/alpha: Move directory from
11785 ports/sysdeps/unix/sysv/linux/alpha.
11786 * README: Update listing for alpha-*-linux-gnu.
11788 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11790 * include/features.h: Update comment documenting feature test
11792 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11794 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11795 (_SVID_SOURCE): Likewise.
11796 (_DEFAULT_SOURCE): Update description of default features.
11797 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11799 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11800 (S_ISVTX): Likewise.
11801 * manual/math.texi (Mathematical Constants): Likewise.
11802 * manual/signal.texi (Interrupted Primitives): Likewise.
11803 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11804 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11805 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11806 Don't refer to _SVID_SOURCE in warning text.
11808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11810 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11812 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11813 * sysdeps/mips/dl-lookup.c: Remove.
11814 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11816 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11819 * math/auto-libm-test-in: Add testcase for expl.
11820 * math/auto-libm-test-out: Regenerate.
11821 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11822 calculation of unsafe.
11823 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11825 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11827 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11828 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11829 ports/sysdeps/unix/sysv/linux/aarch64.
11830 * README: Update listing for aarch64*-*-linux-gnu.
11832 2014-02-11 Will Newton <will.newton@linaro.org>
11834 * manual/probes.texi (Mathematical Function Probes): Use
11835 "triggered" instead of "hit".
11837 * manual/probes.texi (Internal Probes): Add documentation
11838 of setjmp, longjmp and longjmp_target probes.
11840 * include/stap-probe.h: Add comment about probe argument
11843 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11844 definition. (tr_where, tr_freehook, tr_mallochook,
11845 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11847 2014-02-11 David S. Miller <davem@davemloft.net>
11849 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11850 processing int_tests.
11852 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11854 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11855 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11856 * sysdeps/unix/sysv/linux/mips: Move directory from
11857 ports/sysdeps/unix/sysv/linux/mips.
11858 * README: Update listing for mips-*-linux-gnu and
11859 mips64-*-linux-gnu.
11861 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11863 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11864 * sysdeps/unix/sysv/linux/m68k: Move directory from
11865 ports/sysdeps/unix/sysv/linux/m68k.
11866 * README: Update listing for m68k-*-linux-gnu.
11868 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11870 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11871 * sysdeps/unix/sysv/linux/generic: Move directory from
11872 ports/sysdeps/unix/sysv/linux/generic.
11873 * sysdeps/unix/sysv/linux/tile: Move directory from
11874 ports/sysdeps/unix/sysv/linux/tile.
11875 * README: Update listing for tile*-*-linux-gnu.
11877 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11879 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11881 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11882 * catgets/open_catalog.c (__open_catalog): Likewise.
11883 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11884 * debug/confstr_chk.c: Likewise.
11885 * debug/fread_chk.c (__fread_chk): Likewise.
11886 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11887 * debug/getgroups_chk.c: Likewise.
11888 * debug/mbsnrtowcs_chk.c: Likewise.
11889 * debug/mbsrtowcs_chk.c: Likewise.
11890 * debug/mbstowcs_chk.c: Likewise.
11891 * debug/memcpy_chk.c: Likewise.
11892 * debug/memmove_chk.c: Likewise.
11893 * debug/mempcpy_chk.c: Likewise.
11894 * debug/memset_chk.c: Likewise.
11895 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11896 * debug/strcat_chk.c (__strcat_chk): Likewise.
11897 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11898 * debug/strncat_chk.c (__strncat_chk): Likewise.
11899 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11900 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11901 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11902 * debug/wcpncpy_chk.c: Likewise.
11903 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11904 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11905 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11906 * debug/wcsncpy_chk.c: Likewise.
11907 * debug/wcsnrtombs_chk.c: Likewise.
11908 * debug/wcsrtombs_chk.c: Likewise.
11909 * debug/wcstombs_chk.c: Likewise.
11910 * debug/wmemcpy_chk.c: Likewise.
11911 * debug/wmemmove_chk.c: Likewise.
11912 * debug/wmempcpy_chk.c: Likewise.
11913 * debug/wmemset_chk.c: Likewise.
11914 * dirent/scandirat.c (SCANDIRAT): Likewise.
11915 * dlfcn/dladdr1.c (dladdr1): Likewise.
11916 * dlfcn/dladdr.c (dladdr): Likewise.
11917 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11918 * dlfcn/dlerror.c (__dlerror): Likewise.
11919 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11920 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11921 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11922 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11923 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11924 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11925 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11926 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11928 * elf/dl-conflict.c: Likewise.
11929 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11930 * elf/dl-dst.h: Likewise.
11931 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11932 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11933 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11934 * elf/dl-init.c (call_init, _dl_init): Likewise.
11935 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11936 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11937 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11939 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11941 * elf/dl-minimal.c (__libc_memalign): Likewise.
11942 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11943 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11944 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11945 * elf/dl-sym.c (do_sym): Likewise.
11946 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11947 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11948 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11949 * elf/dl-writev.h (_dl_writev): Likewise.
11950 * elf/ldconfig.c (search_dir): Likewise.
11951 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11952 (dl_main): Likewise.
11953 * elf/setup-vdso.h (setup_vdso): Likewise.
11954 * grp/compat-initgroups.c (compat_call): Likewise.
11955 * grp/fgetgrent.c (fgetgrent): Likewise.
11956 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11957 * grp/putgrent.c (putgrent): Likewise.
11958 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11960 * hurd/hurdinit.c: Likewise.
11961 * iconvdata/8bit-gap.c (struct): Likewise.
11962 * iconvdata/ansi_x3.110.c : Likewise.
11963 * iconvdata/big5.c : Likewise.
11964 * iconvdata/big5hkscs.c : Likewise.
11965 * iconvdata/cp1255.c: Likewise.
11966 * iconvdata/cp1258.c : Likewise.
11967 * iconvdata/cp932.c : Likewise.
11968 * iconvdata/euc-cn.c: Likewise.
11969 * iconvdata/euc-jisx0213.c : Likewise.
11970 * iconvdata/euc-jp.c: Likewise.
11971 * iconvdata/euc-jp-ms.c : Likewise.
11972 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11973 * iconvdata/gb18030.c : Likewise.
11974 * iconvdata/gbbig5.c (const): Likewise.
11975 * iconvdata/gbgbk.c: Likewise.
11976 * iconvdata/gbk.c : Likewise.
11977 * iconvdata/ibm1364.c : Likewise.
11978 * iconvdata/ibm930.c : Likewise.
11979 * iconvdata/ibm932.c: Likewise.
11980 * iconvdata/ibm933.c : Likewise.
11981 * iconvdata/ibm935.c : Likewise.
11982 * iconvdata/ibm937.c : Likewise.
11983 * iconvdata/ibm939.c : Likewise.
11984 * iconvdata/ibm943.c: Likewise.
11985 * iconvdata/iso_11548-1.c: Likewise.
11986 * iconvdata/iso-2022-cn.c : Likewise.
11987 * iconvdata/iso-2022-cn-ext.c : Likewise.
11988 * iconvdata/iso-2022-jp-3.c: Likewise.
11989 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11990 * iconvdata/iso-2022-kr.c : Likewise.
11991 * iconvdata/iso646.c (gconv_end): Likewise.
11992 * iconvdata/iso_6937-2.c : Likewise.
11993 * iconvdata/iso_6937.c : Likewise.
11994 * iconvdata/iso8859-1.c: Likewise.
11995 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11996 * iconvdata/shift_jisx0213.c : Likewise.
11997 * iconvdata/sjis.c : Likewise.
11998 * iconvdata/t.61.c : Likewise.
11999 * iconvdata/tcvn5712-1.c : Likewise.
12000 * iconvdata/tscii.c: Likewise.
12001 * iconvdata/uhc.c : Likewise.
12002 * iconvdata/unicode.c (gconv_end): Likewise.
12003 * iconvdata/utf-16.c (gconv_end): Likewise.
12004 * iconvdata/utf-32.c (gconv_end): Likewise.
12005 * iconvdata/utf-7.c (base64): Likewise.
12006 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12007 * iconv/gconv_close.c (__gconv_close): Likewise.
12008 * iconv/gconv_open.c (__gconv_open): Likewise.
12009 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12010 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12011 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12012 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12013 (ucs4le_internal_loop_single): Likewise.
12014 * iconv/iconv.c (iconv): Likewise.
12015 * iconv/iconv_close.c: Likewise.
12016 * iconv/loop.c (SINGLE): Likewise.
12017 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12018 * include/atomic.h: Likewise.
12019 * inet/inet6_option.c (option_alloc): Likewise.
12020 * intl/bindtextdom.c (set_binding_values): Likewise.
12021 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12022 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12023 * intl/localealias.c (read_alias_file): Likewise.
12024 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12025 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12026 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12027 * libio/fmemopen.c (fmemopen): Likewise.
12028 * libio/iofgets.c (_IO_fgets): Likewise.
12029 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12030 * libio/iofgetws.c (fgetws): Likewise.
12031 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12032 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12033 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12034 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12035 * locale/findlocale.c (_nl_find_locale): Likewise.
12036 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12037 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12039 * locale/setlocale.c (setlocale): Likewise.
12040 * login/programs/pt_chown.c (main): Likewise.
12041 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12042 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12043 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12044 (mmap, mmap64, mremap, munmap): Likewise.
12045 * math/e_exp2l.c: Likewise.
12046 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12047 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12048 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12049 * math/s_catan.c (__catan): Likewise.
12050 * math/s_catanf.c (__catanf): Likewise.
12051 * math/s_catanh.c (__catanh): Likewise.
12052 * math/s_catanhf.c (__catanhf): Likewise.
12053 * math/s_catanhl.c (__catanhl): Likewise.
12054 * math/s_catanl.c (__catanl): Likewise.
12055 * math/s_ccosh.c (__ccosh): Likewise.
12056 * math/s_ccoshf.c (__ccoshf): Likewise.
12057 * math/s_ccoshl.c (__ccoshl): Likewise.
12058 * math/s_cexp.c (__cexp): Likewise.
12059 * math/s_cexpf.c (__cexpf): Likewise.
12060 * math/s_cexpl.c (__cexpl): Likewise.
12061 * math/s_clog10.c (__clog10): Likewise.
12062 * math/s_clog10f.c (__clog10f): Likewise.
12063 * math/s_clog10l.c (__clog10l): Likewise.
12064 * math/s_clog.c (__clog): Likewise.
12065 * math/s_clogf.c (__clogf): Likewise.
12066 * math/s_clogl.c (__clogl): Likewise.
12067 * math/s_csin.c (__csin): Likewise.
12068 * math/s_csinf.c (__csinf): Likewise.
12069 * math/s_csinh.c (__csinh): Likewise.
12070 * math/s_csinhf.c (__csinhf): Likewise.
12071 * math/s_csinhl.c (__csinhl): Likewise.
12072 * math/s_csinl.c (__csinl): Likewise.
12073 * math/s_csqrt.c (__csqrt): Likewise.
12074 * math/s_csqrtf.c (__csqrtf): Likewise.
12075 * math/s_csqrtl.c (__csqrtl): Likewise.
12076 * math/s_ctan.c (__ctan): Likewise.
12077 * math/s_ctanf.c (__ctanf): Likewise.
12078 * math/s_ctanh.c (__ctanh): Likewise.
12079 * math/s_ctanhf.c (__ctanhf): Likewise.
12080 * math/s_ctanhl.c (__ctanhl): Likewise.
12081 * math/s_ctanl.c (__ctanl): Likewise.
12082 * math/w_pow.c: Likewise.
12083 * math/w_powf.c: Likewise.
12084 * math/w_powl.c: Likewise.
12085 * math/w_scalb.c (sysv_scalb): Likewise.
12086 * math/w_scalbf.c (sysv_scalbf): Likewise.
12087 * math/w_scalbl.c (sysv_scalbl): Likewise.
12088 * misc/error.c (error_tail): Likewise.
12089 * misc/pselect.c (__pselect): Likewise.
12090 * nis/nis_callback.c (__nis_create_callback): Likewise.
12091 * nis/nis_call.c (__nisfind_server): Likewise.
12092 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12093 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12094 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12095 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12096 * nis/nis_lookup.c (nis_lookup): Likewise.
12097 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12098 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12099 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12100 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12101 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12102 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12103 * nis/nss_compat/compat-initgroups.c (add_group)
12104 (internal_getgrent_r): Likewise.
12105 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12106 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12107 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12108 (internal_getspnam_r): Likewise.
12109 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12110 (_nss_nis_getaliasbyname_r): Likewise.
12111 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12112 (_nss_nis_getntohost_r): Likewise.
12113 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12114 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12115 (_nss_nis_getgrgid_r): Likewise.
12116 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12117 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12118 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12119 (_nss_nis_gethostbyname4_r): Likewise.
12120 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12121 (initgroups_netid): Likewise.
12122 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12123 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12124 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12125 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12126 (_nss_nis_getprotobynumber_r): Likewise.
12127 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12128 (_nss_nis_getsecretkey): Likewise.
12129 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12130 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12131 (_nss_nis_getpwuid_r): Likewise.
12132 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12133 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12134 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12135 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12136 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12137 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12138 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12140 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12141 (_nss_nisplus_getntohost_r): Likewise.
12142 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12143 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12144 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12145 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12147 * nis/nss_nisplus/nisplus-initgroups.c
12148 (_nss_nisplus_initgroups_dyn): Likewise.
12149 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12150 (_nss_nisplus_getnetbyaddr_r): Likewise.
12151 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12152 (_nss_nisplus_getprotobynumber_r): Likewise.
12153 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12154 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12155 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12157 * nis/nss_nisplus/nisplus-service.c
12158 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12159 (_nss_nisplus_getservbyport_r): Likewise.
12160 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12161 (_nss_nisplus_getspnam_r): Likewise.
12162 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12164 * nscd/aicache.c (addhstaiX): Likewise.
12165 * nscd/cache.c (cache_search, prune_cache): Likewise.
12166 * nscd/connections.c (register_traced_file, send_ro_fd)
12167 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12168 (main_loop_epoll): Likewise.
12169 * nscd/grpcache.c (addgrbyX): Likewise.
12170 * nscd/hstcache.c (addhstbyX): Likewise.
12171 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12172 * nscd/mem.c (gc, mempool_alloc): Likewise.
12173 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12174 (addinnetgrX): Likewise.
12175 * nscd/nscd-client.h (__nscd_acquire_maplock)
12176 (__nscd_drop_map_ref): Likewise.
12177 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12178 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12179 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12181 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12182 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12183 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12184 (__nscd_get_map_ref): Likewise.
12185 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12186 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12188 * nscd/pwdcache.c (addpwbyX): Likewise.
12189 * nscd/selinux.c (preserve_capabilities): Likewise.
12190 * nscd/servicescache.c (addservbyX): Likewise.
12191 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12192 * posix/fnmatch.c (fnmatch): Likewise.
12193 * posix/getopt.c (_getopt_internal_r): Likewise.
12194 * posix/glob.c (glob, glob_in_dir): Likewise.
12195 * posix/wordexp.c (exec_comm_child): Likewise.
12196 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12197 (getanswer_r, gaih_getanswer_slice): Likewise.
12198 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12199 * resolv/res_init.c: Likewise.
12200 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12201 * resolv/res_query.c (__libc_res_nquery): Likewise.
12202 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12204 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12205 * stdio-common/perror.c (perror): Likewise.
12206 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12207 * stdio-common/tmpnam.c (tmpnam): Likewise.
12208 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12209 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12210 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12212 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12213 * stdlib/putenv.c (putenv): Likewise.
12214 * stdlib/setenv.c (__add_to_environ): Likewise.
12215 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12216 * stdlib/strtol_l.c (INTERNAL): Likewise.
12217 * string/memmem.c (memmem): Likewise.
12218 * string/strerror.c (strerror): Likewise.
12219 * string/strnlen.c (__strnlen): Likewise.
12220 * string/test-memmem.c (simple_memmem): Likewise.
12221 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12222 * sunrpc/pm_getport.c (__get_socket): Likewise.
12223 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12224 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12225 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12226 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12228 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12229 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12230 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12231 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12232 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12233 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12235 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12237 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12238 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12239 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12240 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12241 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12243 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12244 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12245 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12246 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12247 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12248 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12250 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12252 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12254 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12255 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12256 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12257 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12258 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12259 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12260 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12269 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12271 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12273 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12275 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12277 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12279 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12281 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12282 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12283 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12284 * sysdeps/posix/sleep.c: Likewise.
12285 * sysdeps/posix/tempname.c: Likewise.
12286 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12287 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12289 * sysdeps/powerpc/powerpc32/dl-machine.h
12290 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12291 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12292 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12293 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12294 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12296 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12297 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12298 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12299 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12300 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12301 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12302 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12303 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12304 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12305 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12307 (elf_machine_lazy_rel): Likewise.
12308 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12309 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12310 (elf_machine_lazy_rel): Likewise.
12311 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12312 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12313 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12314 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12315 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12316 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12317 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12320 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12321 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12322 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12323 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12324 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12325 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12326 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12327 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12328 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12329 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12330 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12332 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12333 (__posix_fallocate64_l64): Likewise.
12334 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12335 (posix_fallocate): Likewise.
12336 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12338 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12339 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12340 (getifaddrs_internal): Likewise.
12341 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12342 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12343 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12344 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12345 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12346 (__posix_fallocate64_l64): Likewise.
12347 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12349 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12350 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12351 (__get_clockfreq): Likewise.
12352 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12353 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12354 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12357 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12358 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12359 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12361 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12362 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12363 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12364 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12365 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12366 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12367 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12369 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12370 (posix_fallocate): Likewise.
12371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12372 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12373 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12374 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12375 (elf_machine_rela, elf_machine_rela_relative)
12376 (elf_machine_lazy_rel): Likewise.
12377 * time/asctime.c (asctime_internal): Likewise.
12378 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12379 * time/tzset.c (__tzset_parse_tz): Likewise.
12380 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12381 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12382 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12383 * wcsmbs/wcsmbsload.h: Likewise.
12386 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12388 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12389 (arena_get2): Remove THREAD_STATS conditionals.
12390 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12391 (__malloc_stats, int): Likewise.
12393 2014-02-08 Mike Frysinger <vapier@gentoo.org>
12395 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12396 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12398 * manual/setjmp.texi: Fix typos/grammar errors.
12400 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12401 Only return early when n is <= 0. Delete unused return statement.
12403 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12404 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12405 * debug/tst-longjmp_chk3.c: New file.
12407 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12408 (test_main): Replace code with set_fortify_handler call.
12409 * debug/test-strcpy_chk.c: Likewise.
12410 * debug/tst-chk1.c: Likewise.
12411 * debug/tst-longjmp_chk.c: Likewise.
12412 * test-skeleton.c: Include fcntl.h & paths.h
12413 (set_fortify_handler): Define.
12415 * debug/tst-longjmp_chk.c: Add header comment and include
12416 ../test-skeleton.c.
12417 (do_test): Mark static.
12418 (TEST_FUNCTION): Define.
12420 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12421 (IP_PMTUDISC_INTERFACE): Likewise.
12422 (IP_MULTICAST_IF): Likewise.
12423 (IP_MULTICAST_TTL): Likewise.
12424 (IP_MULTICAST_LOOP): Likewise.
12425 (IP_ADD_MEMBERSHIP): Likewise.
12426 (IP_DROP_MEMBERSHIP): Likewise.
12427 (IP_UNBLOCK_SOURCE): Likewise.
12428 (IP_BLOCK_SOURCE): Likewise.
12429 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12430 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12431 (IP_MSFILTER): Likewise.
12432 (MCAST_JOIN_GROUP): Likewise.
12433 (MCAST_BLOCK_SOURCE): Likewise.
12434 (MCAST_UNBLOCK_SOURCE): Likewise.
12435 (MCAST_LEAVE_GROUP): Likewise.
12436 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12437 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12438 (MCAST_MSFILTER): Likewise.
12439 (IP_MULTICAST_ALL): Likewise.
12440 (IP_UNICAST_IF): Likewise.
12442 * timezone/Makefile: Delete $(have-ksh) check.
12443 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12444 * timezone/tzselect.ksh: Add +x mode bits.
12446 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12447 (ANON_INODE_FS_MAGIC): Likewise.
12448 (BDEVFS_MAGIC): Likewise.
12449 (BINFMTFS_MAGIC): Likewise.
12450 (BTRFS_TEST_MAGIC): Likewise.
12451 (CRAMFS_MAGIC_WEND): Likewise.
12452 (DEBUGFS_MAGIC): Likewise.
12453 (ECRYPTFS_SUPER_MAGIC): Likewise.
12454 (EXT3_SUPER_MAGIC): Likewise.
12455 (EXT4_SUPER_MAGIC): Likewise.
12456 (FUTEXFS_SUPER_MAGIC): Likewise.
12457 (HOSTFS_SUPER_MAGIC): Likewise.
12458 (HUGETLBFS_MAGIC): Likewise.
12459 (MINIX3_SUPER_MAGIC): Likewise.
12460 (MTD_INODE_FS_MAGIC): Likewise.
12461 (NILFS_SUPER_MAGIC): Likewise.
12462 (OPENPROM_SUPER_MAGIC): Likewise.
12463 (PIPEFS_MAGIC): Likewise.
12464 (PSTOREFS_MAGIC): Likewise.
12465 (QNX6_SUPER_MAGIC): Likewise.
12466 (RAMFS_MAGIC): Likewise.
12467 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12468 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12469 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12470 (SECURITYFS_MAGIC): Likewise.
12471 (SELINUX_MAGIC): Likewise.
12472 (SMACK_MAGIC): Likewise.
12473 (SOCKFS_MAGIC): Likewise.
12474 (SQUASHFS_MAGIC): Likewise.
12475 (STACK_END_MAGIC): Likewise.
12476 (TMPFS_MAGIC): Likewise.
12477 (USBDEVICE_SUPER_MAGIC): Likewise.
12478 (V9FS_MAGIC): Likewise.
12479 (XENFS_SUPER_MAGIC): Likewise.
12480 (CRAMFS_MAGIC): Fix typo in comment.
12481 (EXT2_SUPER_MAGIC): Update comment.
12482 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12484 2014-02-08 Joseph Myers <joseph@codesourcery.com>
12486 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12487 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12488 * sysdeps/unix/sysv/linux/arm: Move directory from
12489 ports/sysdeps/unix/sysv/linux/arm.
12490 * README: Update listing for arm-*-linux-gnueabi.
12492 * README: Remove mention of am33.
12494 2014-02-07 Roland McGrath <roland@hack.frob.com>
12496 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12497 than the comma operator, to avoid "rhs of comma has no effect"
12499 (__sigfillset, __sigandset, __sigorset): Likewise.
12500 * include/signal.h (__sigemptyset): Likewise.
12501 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12503 2014-02-07 Allan McRae <allan@archlinux.org>
12505 * version.h (RELEASE): Set to "development".
12506 (VERSION): Set to "2.19.90"
12507 * NEWS: Add 2.20 section.
12509 2014-02-06 Carlos O'Donell <carlos@redhat.com>
12512 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12514 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12516 * manual/contrib.texi: Update entry for Carlos O'Donell,
12517 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12519 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
12521 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12523 * sysdeps/unix/sysv/linux/kernel-features.h
12524 [__LINUX_KERNEL_VERSION >= 0x020621]
12525 (__ASSUME_PROC_PID_TASK_COMM): Define.
12527 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12530 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12531 conversion when destination buffer does not have enough space.
12532 * libio/tst-ftell-partial-wide.c: New test case.
12533 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12535 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12536 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12537 Leonard and Allan McRae.
12539 2014-02-04 David S. Miller <davem@davemloft.net>
12541 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12544 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12573 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12575 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12576 * shlib-versions: Likewise.
12578 2014-02-04 Roland McGrath <roland@hack.frob.com>
12579 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12581 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12582 (abilist-pattern): New variable, set to %-le.abilist.
12584 * Makerules (abilist-pattern): New variable.
12585 (vpath): Use $(abilist-pattern) in place of %.abilist.
12586 (check-abi-% pattern rule): Likewise.
12587 (check-abi, update-abi): Likewise.
12589 2014-02-04 Eric Wong <normalperson@yhbt.net>
12591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12593 2014-02-03 Carlos O'Donell <carlos@redhat.com>
12595 * manual/startup.texi: Add next, previous, and top entries for
12596 the `Program Arguments' and `Environment Variables' nodes.
12598 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
12600 * manual/macros.texi: Add comments before MTASC-safety macros.
12602 * manual/users.texi: Document MTASC-safety properties.
12604 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12605 (pthread_getspecific, pthread_setspecific): Format with
12606 @deftypefun, and add @safety note.
12607 * manual/signal.texi: Move comments that analyze the above
12608 functions to their home place.
12610 2014-02-03 Allan McRae <allan@archlinux.org>
12612 * po/sl.po: Update Slovenian translation from translation project.
12614 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
12616 * manual/time.texi (timegm): Add missing blank after @c.
12617 Reported by Joseph Myers <joseph@codesourcery.com>.
12619 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
12621 * manual/check-safety.sh: New.
12622 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12624 * manual/terminal.texi: Document MTASC-safety properties.
12626 * manual/filesys.texi: Document MTASC-safety properties.
12628 * manual/errno.texi: Document MTASC-safety properties.
12630 * manual/intro.texi: Document safety identifiers and
12633 * manual/string.texi (wcstok): Fix prototype.
12634 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12636 * manual/time.texi: Document MTASC-safety properties.
12638 * manual/string.texi: Document MTASC-safety properties.
12640 * manual/threads.texi: Document MTASC-safety properties.
12642 * manual/stdio.texi: Document MTASC-safety properties.
12644 * manual/syslog.texi: Document MTASC-safety properties.
12646 * manual/sysinfo.texi: Document MTASC-safety properties.
12648 * manual/startup.texi: Document MTASC-safety properties.
12650 * manual/socket.texi: Document MTASC-safety properties.
12652 * manual/signal.texi: Document MTASC-safety properties.
12654 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
12656 * manual/setjmp.texi: Document MTASC-safety properties.
12658 * manual/search.texi: Document MTASC-safety properties.
12660 * manual/resource.texi: Document MTASC-safety properties.
12662 * manual/process.texi: Document MTASC-safety properties.
12664 * manual/platform.texi: Document MTASC-safety properties.
12666 * manual/pipe.texi: Document MTASC-safety properties.
12668 * manual/pattern.texi: Document MTASC-safety properties.
12670 * manual/message.texi: Document MTASC-safety properties.
12673 * manual/memory.texi: Document MTASC-safety properties.
12675 * manual/math.texi: Document MTASC-safety properties.
12677 * manual/locale.texi: Document MTASC-safety properties.
12679 * manual/llio.texi: Document MTASC-safety properties.
12681 * manual/libdl.texi: New.
12683 * manual/lang.texi: Document MTASC-safety properties.
12685 * manual/job.texi: Document MTASC-safety properties.
12687 * manual/getopt.texi: Document MTASC-safety properties.
12689 * manual/ctype.texi: Document MTASC-safety properties.
12691 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12694 * csu/libc-tls.c (static_map): Remove variable.
12695 (__libc_setup_tls): Use main executable's link map for TLS data.
12696 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12697 casing for LM_ID_BASE and GL(dl_nns).
12698 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12699 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12700 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12701 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12702 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12704 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12707 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12709 * manual/debug.texi: Document MTASC-safety properties.
12711 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12714 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12715 of __x86_64__ when disabling x87 inline functions.
12717 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12719 * manual/charset.texi: Document MTASC-safety properties.
12721 * manual/crypt.texi: Document MTASC-safety properties.
12723 * manual/conf.texi: Document MTASC-safety properties.
12725 * manual/arith.texi: Document MTASC-safety properties.
12727 * manual/argp.texi: Document MTASC-safety properties.
12729 * manual/macros.texi: Introduce macros to document multi
12730 thread, asynchronous signal and asynchronous cancellation
12732 * manual/intro.texi: Introduce the properties themselves.
12734 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12736 * sysdeps/sh/sh4/Makefile: New file.
12738 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12740 * math/gen-libm-test.pl ($srcdir): New variable.
12741 ($auto_input): Use it.
12743 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12746 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12747 access beyond array bounds when parsing netgroups file.
12749 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12750 the old buffer before realloc.
12752 2014-01-27 Allan McRae <allan@archlinux.org>
12754 * po/fr.po: Update French translation from translation project.
12756 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12758 * sysdeps/sh/libm-test-ulps: Regenerate.
12760 2014-01-24 David S. Miller <davem@davemloft.net>
12762 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12764 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12766 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12767 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12769 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12772 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12773 string pointers after reallocation.
12775 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12777 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12778 __SH4A__ instead of __SH_FPU_ANY__.
12780 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12782 * sysdeps/sh/fpu_control.h: New file.
12783 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12784 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12785 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12786 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12787 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12788 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12789 * sysdeps/sh/sys/ucontext.h: Remove.
12790 * sysdeps/sh/sys: Remove directory.
12792 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12794 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12795 s390/sys/ucontext.h.
12796 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12797 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12799 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12802 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12804 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12808 Adjust the vDSO correctly for internal calls.
12809 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12811 2014-01-20 Allan McRae <allan@archlinux.org>
12813 * po/ca.po: Update Catalan translation from translation project.
12815 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12817 * sysdeps/s390/sotruss-lib.c: New file.
12819 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12822 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12823 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12824 local calls issues by not having a PLT stub required for IFUNC calls.
12825 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12827 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12829 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12830 * math/test-fpucw-static.c: Likewise.
12832 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12835 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12837 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12839 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12840 implementation for powerpc.
12842 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12845 * sysdeps/posix/system.c (__libc_system): Do not enable
12846 asynchronous cancellation.
12848 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12851 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12852 handling only for numbers special also in the IEEE case.
12854 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12856 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12858 2014-01-11 Allan McRae <allan@archlinux.org>
12860 * po/bg.po: Update Bulgarian translation from translation project.
12862 * po/de.po: Update German translation from translation project.
12864 2014-01-10 Roland McGrath <roland@hack.frob.com>
12866 * sysdeps/generic/gcc-compat.h: New file.
12868 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12870 * benchtests/asin-inputs: Correct slow inputs.
12871 * benchtests/acos-inputs: Likewise.
12873 2014-01-10 Allan McRae <allan@archlinux.org>
12875 * po:sv.po: Update Swedish translation from translation project.
12877 * po/vi.po: Update Vietnamese translation from translation project.
12879 * po/eo.po: Update Esperanto translation from translation project.
12881 * po/cs.po: Update Czech translation from translation project.
12883 * po/nl.po: Update Dutch translation from translation project.
12885 * po/pl.po: Update Polish translation from translation project.
12887 * po/ru.po: Update Russian translation from translation project.
12889 * po/uk.po: Update Ukrainian translation from translation project.
12891 2014-01-08 Brooks Moses <bmoses@google.com>
12893 * elf/dl-load.c: Fix comment typo.
12895 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12897 * po/header.pot: Rename to...
12898 * po/pot.header: ... this.
12899 * po/Makefile: Use pot.header.
12901 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12902 Maxim Kuvyrkov <maxim@kugelworks.com>
12905 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12906 SRC and DEST against LEN.
12908 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12911 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12913 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12915 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12919 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12922 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12923 for large positive arguments.
12925 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12927 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12929 * math/auto-libm-test-in: Mark various tests with
12930 xfail-rounding:ldbl-128ibm.
12931 * math/auto-libm-test-out: Regenerated.
12934 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12935 Increase overflow threshold.
12937 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12940 * stdio-common/vfprintf.c: Check for integer overflow.
12942 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12944 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12945 the first argument and return value of __tls_get_addr_internal.
12947 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12949 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12950 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12952 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12954 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12955 * sysdeps/s390/rtld-global-offsets.sym: New file.
12956 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12958 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12959 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12960 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12962 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12963 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12969 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12970 halfs of GPRs for high_gprs contexts.
12971 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12972 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12974 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12976 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12978 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12979 for high GPRs (uc_high_gprs) and for future extensions
12981 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12982 for future extensions (__reserved).
12983 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12985 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12986 SC_HIGHGPRS offset definition.
12987 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12988 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12990 * Versions.def: Add GLIBC_2.19 for libpthread.
12991 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12992 siglongjmp for libpthread with GLIBC_2.19 symver.
12993 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12994 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12995 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12996 * sysdeps/s390/__longjmp.c: New file.
12997 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12998 * sysdeps/s390/longjmp.c: New file.
12999 * sysdeps/s390/setjmp.S: New file.
13000 * sysdeps/s390/sigjmp.S: New file.
13001 * sysdeps/s390/v1-longjmp.c: New file.
13002 * sysdeps/s390/v1-setjmp.h: New file.
13003 * sysdeps/s390/v1-sigjmp.c: New file.
13004 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13005 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13006 GLIBC_2.19 version.
13007 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13008 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13009 versioned symbols for ____longjmp_chk.
13010 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13020 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13021 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13022 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13023 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13024 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13025 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13026 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13027 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13028 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13029 * sysdeps/s390/rtld-__longjmp.c: New file.
13030 * sysdeps/s390/rtld-setjmp.S: New file.
13032 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13035 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13036 Return -__logl (x) for small positive arguments without evaluating
13039 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13041 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13043 (__ptrace_peeksiginfo_args): ... this.
13044 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13046 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13048 2014-01-06 Allan McRae <allan@archlinux.org>
13050 * inet/netinet/in.h: Fix typo in comment.
13052 2014-01-05 Andreas Jaeger <aj@suse.de>
13054 * sysdeps/i386/fpu/libm-test-ulps: Update.
13056 2014-01-05 Allan McRae <allan@archlinux.org>
13058 * po/libc.pot: Regenerated.
13060 * malloc/memusagestat.c: Fix gettext call formatting.
13062 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13064 * nscd/nscd.c: Improve usage() output.
13066 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13068 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13069 * sysdeps/unix/sysv/linux/configure: Regenerated.
13070 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13071 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13073 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13076 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13077 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13079 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13081 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13082 extra tokens at end of #undef directive.
13083 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13084 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13085 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13087 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13089 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13091 * math/auto-libm-test-in: Mark various tests with
13092 xfail-rounding:ldbl-128ibm.
13093 * math/auto-libm-test-out: Regenerated.
13095 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13098 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13099 numbers with subnormal high part when calculating exponent.
13102 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13106 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13108 (__ieee754_acoshl): Use __log1pl not __log1p.
13110 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13112 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13113 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13114 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13115 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13116 (reused_arena, arena_get2): Convert to GNU style.
13117 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13118 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13119 (memalign_check, __malloc_set_state): Likewise.
13120 * malloc/mallocbug.c (main): Likewise.
13121 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13122 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13123 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13124 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13125 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13126 (__posix_memalign, malloc_info): Likewise.
13127 * malloc/malloc.h: Likewise.
13128 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13129 (mallochook, memalignhook, reallochook, mabort): Likewise.
13130 * malloc/mcheck.h: Likewise.
13131 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13132 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13133 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13134 * malloc/morecore.c (__default_morecore): Likewise.
13135 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13136 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13137 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13138 (print_and_abort): Likewise.
13139 * malloc/obstack.h: Likewise.
13140 * malloc/set-freeres.c (__libc_freeres): Likewise.
13141 * malloc/tst-mallocstate.c (main): Likewise.
13142 * malloc/tst-mtrace.c (main): Likewise.
13143 * malloc/tst-realloc.c (do_test): Likewise.
13145 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13148 * nscd/netgroupcache.c (do_notfound): New function.
13149 (addgetnetgrentX): Use it.
13152 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13153 NSS_STATUS_NOTFOUND.
13155 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13157 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13160 2014-01-01 Allan McRae <allan@archlinux.org>
13162 * scripts/update-copyrights: Update configure input file suffix.
13164 * NEWS: Update copyright year.
13165 * catgets/gencat.c: Likewise.
13166 * csu/version.c: Likewise.
13167 * debug/catchsegv.sh: Likewise.
13168 * debug/pcprofiledump.c: Likewise.
13169 * debug/xtrace.sh: Likewise.
13170 * elf/ldconfig.c: Likewise.
13171 * elf/ldd.bash.in: Likewise.
13172 * elf/pldd.c: Likewise.
13173 * elf/sotruss.ksh: Likewise.
13174 * elf/sprof.c: Likewise.
13175 * iconv/iconv_prog.c: Likewise.
13176 * iconv/iconvconfig.c: Likewise.
13177 * locale/programs/locale.c: Likewise.
13178 * locale/programs/localedef.c: Likewise.
13179 * login/programs/pt_chown.c: Likewise.
13180 * malloc/memusage.sh: Likewise.
13181 * malloc/memusagestat.c: Likewise.
13182 * malloc/mtrace.pl: Likewise.
13183 * manual/libc.texinfo: Likewise.
13184 * nscd/nscd.c: Likewise.
13185 * nss/getent.c: Likewise.
13186 * nss/makedb.c: Likewise.
13187 * posix/getconf.c: Likewise.
13188 * scripts/test-installation.pl: Likewise.
13190 * All files with FSF copyright notices: Update copyright dates
13191 using scripts/update-copyrights.
13192 * intl/plural.c: Regenerated.
13193 * locale/programs/charmap-kw.h: Likewise.
13194 * locale/programs/locfile-kw.h: Likewise.
13196 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13198 * sysdeps/unix/sysv/linux/configure: Regenerated.
13199 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13200 the linux/fanotify.h header.
13201 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13202 HAVE_LINUX_FANOTIFY_H is defined.
13204 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13206 * benchtests/cos-inputs: New inputs.
13207 * benchtests/sin-inputs: Likewise.
13209 * benchtests/atan-inputs: New inputs. Fix name of multiple
13210 precision fallback inputs.
13212 * benchtests/atanh-inputs: New inputs.
13213 * benchtests/tanh-inputs: Likewise.
13215 * benchtests/acosh-inputs: New inputs.
13216 * benchtests/asinh-inputs: Likewise.
13218 * benchtests/cosh-inputs: New inputs.
13219 * benchtests/sinh-inputs: Likewise.
13221 * benchtests/acos-inputs: Add more inputs.
13222 * benchtests/asin-inputs: Likewise.
13224 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
13227 * manual/arith.texi: Fix spelling.
13228 * manual/charset.texi: Likewise.
13229 * manual/errno.texi: Likewise.
13230 * manual/filesys.texi: Likewise.
13231 * manual/lang.texi: Likewise.
13232 * manual/llio.texi: Likewise.
13233 * manual/locale.texi: Likewise.
13234 * manual/message.texi: Likewise.
13235 * manual/resource.texi: Likewise.
13236 * manual/search.texi: Likewise.
13237 * manual/setjmp.texi: Likewise.
13238 * manual/stdio.texi: Likewise.
13239 * manual/string.texi: Likewise.
13240 * manual/sysinfo.texi: Likewise.
13241 * manual/time.texi: Likewise.
13243 2013-12-27 Carlos O'Donell <carlos@redhat.com>
13245 * po/sl.po: New file.
13247 2013-12-27 Mike Frysinger <vapier@gentoo.org>
13249 * .gitignore: Add core/.gdbinit/.gdb_history.
13251 2013-12-27 Allan McRae <allan@archlinux.org>
13254 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13255 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13257 2013-12-24 Brooks Moses <bmoses@google.com>
13259 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13260 all compilers that claim C++98 compliance, not just GCC.
13261 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13264 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13266 * NEWS: Restore accidentally deleted bug-fix entries.
13268 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13269 Ondřej Bílka <neleai@seznam.cz>
13272 * malloc/malloc.c (_int_free): Perform sanity check only if we
13275 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
13278 * manual/stdio.texi (String Input Conversions): Clarify that character
13279 classes are not supported.
13281 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13285 2013-12-22 Joseph Myers <joseph@codesourcery.com>
13288 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13289 Calculate results for small negative arguments directly rather
13290 than using reflection formula with special underflow handling.
13292 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13293 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13294 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13295 (fchflags): Likewise.
13296 (revoke): Likewise.
13297 (setlogin): Likewise.
13298 (sigaltstack): Likewise.
13300 (sigblock): Remove.
13301 (sigsetmask): Likewise.
13303 (waitpid): Likewise.
13304 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13305 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13307 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13308 * sysdeps/unix/bsd/Makefile: ... here.
13309 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13310 * sysdeps/unix/bsd/Versions: ... here.
13311 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13312 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13313 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13314 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13315 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13316 * sysdeps/unix/bsd/sigblock.c: ... here.
13317 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13318 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13319 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13320 * sysdeps/unix/bsd/sigvec.c: ... here.
13321 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13322 * sysdeps/unix/bsd/tcdrain.c: ... here.
13323 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13324 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13325 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13326 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13327 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13328 * sysdeps/unix/bsd/wait.c: ... here.
13329 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13330 * sysdeps/unix/bsd/wait3.c: ... here.
13331 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13332 * sysdeps/unix/bsd/waitpid.c: ... here.
13334 2013-12-21 Joseph Myers <joseph@codesourcery.com>
13337 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13338 round-to-nearest for [!USE_AS_EXPM1L].
13339 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13340 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13341 more tests of exp and exp10. Expect some exp10 tests to miss
13342 exceptions or fail in directed rounding modes.
13343 * math/auto-libm-test-out: Regenerated.
13344 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13345 (exp10_test_tonearest): New function.
13346 (exp10_towardzero_test_data): New array.
13347 (exp10_test_towardzero): New function.
13348 (exp10_downward_test_data): New array.
13349 (exp10_test_downward): New function.
13350 (exp10_upward_test_data): New array.
13351 (exp10_test_upward): New function.
13352 (main): Call the new functions.
13353 * sysdeps/i386/fpu/libm-test-ulps: Update.
13354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13356 2013-12-20 Joseph Myers <joseph@codesourcery.com>
13358 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13359 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13360 * math/auto-libm-test-out: Regenerated.
13361 * math/libm-test.inc (acosh_test_data): Add more tests.
13362 (atanh_test_data): Likewise.
13363 (ceil_test_data): Likewise.
13364 (copysign_test_data): Likewise.
13365 * sysdeps/i386/fpu/libm-test-ulps: Update.
13366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13368 * timezone/checktab.awk: Update from tzcode 2013i.
13369 * timezone/private.h: Likewise.
13370 * timezone/scheck.c: Likewise.
13371 * timezone/tzfile.h: Likewise.
13372 * timezone/tzselect.ksh: Likewise.
13373 * timezone/zdump.c: Likewise.
13374 * timezone/zic.c: Likewise.
13376 * math/auto-libm-test-in: Add tests of cpow.
13377 * math/auto-libm-test-out: Regenerated.
13378 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13379 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13381 (func_calc_desc): Add mpc_cc_c union field.
13382 (test_functions): Add cpow.
13383 (special_fill_2pi): New function.
13384 (special_real_inputs): Add 2pi.
13385 (calc_generic_results): Handle mpc_cc_c.
13386 * sysdeps/i386/fpu/libm-test-ulps: Update.
13387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13389 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13390 csqrt, ctan and ctanh.
13391 * math/auto-libm-test-out: Regenerated.
13392 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13393 (TEST_COND_x86): Likewise.
13394 (ccos_test_data): Use AUTO_TESTS_c_c.
13395 (ccosh_test_data): Likewise.
13396 (cexp_test_data): Likewise.
13397 (clog_test_data): Likewise.
13398 (csqrt_test_data): Likewise.
13399 (ctan_test_data): Likewise.
13400 (ctan_tonearest_test_data): Likewise.
13401 (ctan_towardzero_test_data): Likewise.
13402 (ctan_downward_test_data): Likewise.
13403 (ctan_upward_test_data): Likewise.
13404 (ctanh_test_data): Likewise.
13405 (ctanh_tonearest_test_data): Likewise.
13406 (ctanh_towardzero_test_data): Likewise.
13407 (ctanh_downward_test_data): Likewise.
13408 (ctanh_upward_test_data): Likewise.
13409 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13411 (func_calc_desc): Add mpc_c_c union field.
13412 (FUNC_mpc_c_c): New macro.
13413 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13414 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13416 (special_fill_min_subnorm_p120): New function.
13417 (special_real_inputs): Add min_subnorm_p120.
13418 (calc_generic_results): Handle mpc_c_c.
13419 * sysdeps/i386/fpu/libm-test-ulps: Update.
13420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13422 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13424 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13425 (do_sin_slow): New functions.
13426 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13427 (cslow2, csloww1, csloww2): Use the new functions.
13429 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13430 Use M to change sign of result instead of X. Assume X is
13432 (csloww1): Likewise.
13436 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13437 arguments A and DA.
13441 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13443 (sloww1): Don't adjust sign of DX.
13444 (csloww1): Likewise.
13445 (sloww2): Use X directly and don't adjust sign of DX.
13446 (csloww2): Likewise.
13448 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13450 * math/auto-libm-test-in: Add tests of cabs and carg.
13451 * math/auto-libm-test-out: Regenerated.
13452 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13453 (carg_test_data): Likewise.
13454 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13456 (func_calc_desc): Add mpc_c_f union field.
13457 (test_functions): Add cabs and carg.
13458 (calc_generic_results): Handle mpc_c_f.
13460 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13461 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13462 as a macro and a compat symbol.
13463 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13464 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13465 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13466 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13467 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13468 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13470 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13472 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13474 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13476 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13478 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13480 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13481 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13484 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13488 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13490 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13491 trailing whitespace removed.
13492 * scripts/config.guess: Update to version 2013-11-29.
13493 * scripts/config.sub: Update to version 2013-10-01.
13495 * math/auto-libm-test-in: Add tests of sincos.
13496 * math/auto-libm-test-out: Regenerated.
13497 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13498 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13500 (func_calc_desc): Add mpfr_f_11 union field.
13501 (test_functions): Add sincos.
13502 (calc_generic_results): Handle mpfr_f_11.
13503 * sysdeps/i386/fpu/libm-test-ulps: Update.
13504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13506 2013-12-19 Andreas Schwab <schwab@suse.de>
13508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13510 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13512 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13514 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13516 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13517 * sysdeps/i386/fpu/libm-test-ulps: Update.
13518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13521 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13522 round-to-nearest mode when using frndint.
13523 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13524 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13525 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13527 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13529 * math/auto-libm-test-out: Regenerated.
13530 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13531 (TEST_COND_x86): Likewise.
13532 (expm1_tonearest_test_data): New array.
13533 (expm1_test_tonearest): New function.
13534 (expm1_towardzero_test_data): New array.
13535 (expm1_test_towardzero): New function.
13536 (expm1_downward_test_data): New array.
13537 (expm1_test_downward): New function.
13538 (expm1_upward_test_data): New array.
13539 (expm1_test_upward): New function.
13540 (main): Run the new test functions.
13541 * sysdeps/i386/fpu/libm-test-ulps: Update.
13542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13544 * include/features.h: Update comment documenting feature test
13545 macros. Mention _DEFAULT_SOURCE in comment.
13546 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13547 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13548 _BSD_SOURCE and _SVID_SOURCE.
13549 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13550 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13551 !_SVID_SOURCE]: Likewise.
13552 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13553 (__USE_POSIX_IMPLICITLY): Define.
13554 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13555 (_POSIX_SOURCE): Undefine and redefine.
13556 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13557 (_POSIX_C_SOURCE): Likewise.
13558 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13559 (Feature Test Macros): Update documentation of default features.
13561 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13563 * benchtests/Makefile: Add bench-strtok.
13564 * benchtests/bench-strtok.c: New file: strtok benchtest.
13566 2013-12-19 Allan McRae <allan@archlinux.org>
13568 * manual/install.texi: Suppress menu for plain text output.
13569 * INSTALL: Regenerated.
13571 2013-12-18 Brooks Moses <bmoses@google.com>
13574 * misc/getauxval.c: Include errno.h.
13575 (__getauxval): Set errno to ENOENT if the requested type is not
13577 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13578 don't declare with __attribute_const__.
13579 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13580 * manual/startup.texi: Document that getauxval sets errno.
13582 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13584 * math/auto-libm-test-in: Add tests of jn and yn.
13585 * math/auto-libm-test-out: Regenerated.
13586 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13587 (yn_test_data): Likewise.
13588 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13590 (func_calc_desc): Add mpfr_if_f union field.
13591 (FUNC_mpfr_if_f): New macro.
13592 (test_functions): Add jn and yn.
13593 (calc_generic_results): Assert type of second input for
13594 mpfr_ff_f. Handle mpfr_if_f.
13595 (output_for_one_input_case): Disable all checking for arguments
13596 fitting floating-point types in case of an integer argument.
13597 * sysdeps/i386/fpu/libm-test-ulps: Update.
13598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13601 Don't expect fegetround reference in libm.so.
13603 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13605 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13606 $(config-cflags-nofma).
13608 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13610 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13611 * math/auto-libm-test-out: Regenerated.
13614 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13615 to determine exponent and adjust argument to have exponent of -1.
13616 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13618 * math/auto-libm-test-out: Regenerated.
13619 * sysdeps/i386/fpu/libm-test-ulps: Update.
13620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13622 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
13624 * manual/probes.texi: Remove cases when per-thread arenas are
13627 2013-12-18 Andreas Schwab <schwab@suse.de>
13629 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13630 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13631 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13632 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13633 * sysdeps/i386/i686/multiarch/Makefile: Update.
13634 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13636 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13638 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13639 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13641 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13644 Support TZ transition times < 00:00:00.
13645 This is needed for version-3 tz-format files; it supports time
13646 stamps past 2037 for America/Godthab (the only entry in the tz
13647 database for which this change is relevant).
13648 * manual/time.texi (TZ Variable): Document transition times
13649 from -167:59:59 through -00:00:01.
13650 * time/tzset.c (tz_rule): Time of day is now signed.
13651 (__tzset_parse_tz): Parse negative time of day.
13653 Document TZ transition times >= 25:00:00.
13654 * manual/time.texi (TZ Variable): Document transition times from
13655 25:00:00 through 167:59:59. These are already supported, and this
13656 support will help with version-3 tz-format files.
13658 * manual/time.texi (TZ Variable): Modernize North America example
13659 to reflect current (i.e., 2007-and-later) daylight saving rules.
13661 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13663 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13665 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13666 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13668 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13669 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13670 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13671 * sysdeps/unix/bsd/clock.c: Likewise.
13672 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13673 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13674 * sysdeps/unix/bsd/init-posix.c: Likewise.
13675 * sysdeps/unix/bsd/poll.c: Likewise.
13676 * sysdeps/unix/bsd/ptsname.c: Likewise.
13677 * sysdeps/unix/bsd/seekdir.c: Likewise.
13678 * sysdeps/unix/bsd/setegid.c: Likewise.
13679 * sysdeps/unix/bsd/seteuid.c: Likewise.
13680 * sysdeps/unix/bsd/setgid.c: Likewise.
13681 * sysdeps/unix/bsd/setrgid.c: Likewise.
13682 * sysdeps/unix/bsd/setruid.c: Likewise.
13683 * sysdeps/unix/bsd/setsid.c: Likewise.
13684 * sysdeps/unix/bsd/setuid.c: Likewise.
13685 * sysdeps/unix/bsd/sigaction.c: Likewise.
13686 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13687 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13688 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13689 * sysdeps/unix/bsd/telldir.c: Likewise.
13690 * sysdeps/unix/bsd/times.c: Likewise.
13691 * sysdeps/unix/bsd/usleep.c: Likewise.
13693 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13694 ($(objpfx)libbsd-compat.a): Remove rule.
13696 * include/features.h (__FAVOR_BSD): Do not define.
13697 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13698 features conflicting with POSIX.
13699 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13700 (_BSD_SOURCE): Remove description of not being a subset of other
13701 feature test macros.
13702 * manual/job.texi (getpgrp): Do not document BSD version.
13703 (getpgid): Do not document by reference to BSD getpgrp.
13704 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13705 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13706 * signal/signal.h [__FAVOR_BSD]: Likewise.
13707 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13708 instead of making contents conditional on [__FAVOR_BSD].
13709 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13711 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13715 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13718 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13719 values below 2**-450, not 2**-500.
13720 * math/auto-libm-test-in: Don't allow spurious underflow from
13722 * math/auto-libm-test-out: Regenerated.
13726 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13727 values of ha and hb and sort them after adjusting subnormal
13729 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13731 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13732 values of ea and eb and sort them after adjusting subnormal
13734 * math/auto-libm-test-in: Do not expect some hypot tests of
13735 subnormals to fail. Add more hypot tests.
13736 * math/auto-libm-test-out: Regenerated.
13738 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13741 * sysdeps/sh/s_fma.c: New file.
13742 * sysdeps/sh/s_fmaf.c: New file.
13743 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13745 * sysdeps/sh/Implies: Add sh/soft-fp.
13747 2013-12-16 Roland McGrath <roland@hack.frob.com>
13749 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13750 level of indirection to members `objname', `errstring', `malloced'.
13751 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13752 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13753 it as the __longjmp argument (just pass 1 instead).
13754 (_dl_catch_error): Initialize C with argument pointers and address of
13755 volatile local ERRCODE rather than copying values out of C at return.
13757 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13759 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13760 * math/auto-libm-test-out: Regenerated.
13761 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13762 (hypot_test_data): Likewise.
13763 (pow_test_data): Likewise.
13764 (pow_tonearest_test_data): Likewise.
13765 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13767 (func_calc_desc): Add mpfr_ff_f union field.
13768 (FUNC_mpfr_ff_f): New macro.
13769 (test_functions): Add atan2, hypot and pow.
13770 (special_fill_min): New function.
13771 (special_fill_minus_min): Likewise.
13772 (special_fill_min_subnorm): Likewise.
13773 (special_fill_minus_min_subnorm): Likewise.
13774 (special_real_inputs): Add min, -min, min_subnorm and
13776 (calc_generic_results): Handle mpfr_ff_f.
13777 * sysdeps/i386/fpu/libm-test-ulps: Update.
13778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13780 2013-12-16 Will Newton <will.newton@linaro.org>
13782 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13783 (Aligned Memory Blocks): Add documentation for aligned_alloc
13784 and suggest it as an alternative to posix_memalign.
13785 (Hooks for Malloc): Document __memalign_hook is also called
13786 for aligned_alloc. (Summary of Malloc): Add summary for
13787 aligned alloc. Document __memalign_hook is also called
13790 2013-12-16 Will Newton <will.newton@linaro.org>
13792 * manual/memory.texi (Malloc Examples): Clarify default
13793 alignment documentation. Suggest posix_memalign rather
13794 than memalign or valloc.
13795 (Aligned Memory Blocks): Remove suggestion to use memalign
13796 or valloc. Remove obsolete comment about BSD.
13797 Document memalign errno values and mark the function obsolete.
13798 Document posix_memalign returned error codes. Mark valloc
13799 as obsolete. (Hooks for Malloc): __memalign_hook is also
13800 called for posix_memalign and valloc.
13801 (Summary of Malloc): Add posix_memalign to function summary.
13802 __memalign_hook is also called for posix_memalign and valloc.
13804 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13806 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13810 (sloww): Use mynumber union. Expand ternary operator into
13811 if-else statements.
13812 (cslow): use mynumber union.
13814 2013-12-16 Allan McRae <allan@archlinux.org>
13816 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13817 * configure: Regenerated.
13819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13822 * configure.ac: Added --enable-maintainer-mode. Check for
13823 autoconf when enabled.
13824 * configure: Regenerated.
13826 * nscd/nscd.service: New file.
13827 * nscd/nscd.tmpfiles: New file.
13829 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13832 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13833 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13834 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13835 (strstr): Add __strstr_sse2_unaligned ifunc.
13836 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13837 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13838 (strcasestr): Remove __strcasestr_sse42 ifunc.
13839 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13843 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13845 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13846 * sysdeps/sh/bits/fenv.h: ... here.
13847 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13849 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13851 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13854 hypotf multiarch implementations.
13855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13857 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13858 multiarch hypot for PPC64.
13859 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13860 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13861 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13862 multiarch hypotf for PPC64.
13864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13865 modff multiarch implementations.
13866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13869 multiarch modf for PPC64.
13870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13873 multiarch modff for PPC64.
13875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13876 and logl multiarch implementations.
13877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13880 multiarch logb for PPC64.
13881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13884 multiarch logb for PPC64.
13885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13888 multiarch logb for PPC64.
13890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13891 isinff multiarch implementation.
13892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13896 multiarch isinf for PPC64.
13897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13900 multiarch isinff for PPC64.
13902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13903 finitef multiarch implementation.
13904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13908 multiarch finite for PPC64.
13909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13912 multiarch finitef for PPC64.
13914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13915 lrint multiarch implementation.
13916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13920 multiarch llrint for PPC64.
13921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13922 multiarch lrint for PPC64.
13924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13925 copysignf multiarch implementation.
13926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13931 multiarch copysign for PPC64.
13932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13933 multiarch copysignf for PPC64.
13935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13936 multiarch implementation.
13937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13945 multiarch llround for PPC64.
13946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13947 multiarch trunc for PPC64.
13948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13949 multiarch truncf for PPC64.
13951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13952 multiarch implementation.
13953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13961 multiarch llround for PPC64.
13962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13963 multiarch round for PPC64.
13964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13965 multiarch roundf for PPC64.
13967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13968 multiarch implementation.
13969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13977 multiarch llround for PPC64.
13978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13979 multiarch floor for PPC64.
13980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13981 multiarch floorf for PPC64.
13983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13984 multiarch implementation.
13985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13993 multiarch llround for PPC64.
13994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13995 multiarch ceil for PPC64.
13996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13997 multiarch ceilf for PPC64.
13999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14000 multiarch implementation.
14001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14008 multiarch llround for PPC64.
14009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14010 multiarch lround for PPC64.
14012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14013 multiarch implementation.
14014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14021 multiarch isnan for PPC64.
14022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14023 multiarch isnanf for PPC64.
14025 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14026 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14027 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14028 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14029 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14032 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14033 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14038 multiarch implementations.
14039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14040 (__libc_ifunc_impl_list): Likewise.
14041 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14042 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14043 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14044 multiarch stpcpy for PPC64.
14046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14047 multiarch implementations.
14048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14049 (__libc_ifunc_impl_list): Likewise.
14050 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14051 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14052 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14053 multiarch strcpy for PPC64.
14055 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14056 redefine function name.
14057 (_wordcopy_fwd_dest_aligned): Likewise.
14058 (_wordcopy_bwd_aligned): Likewise.
14059 (_wordcopy_bwd_dest_aligned): Likewise.
14060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14061 multiarch implementations.
14062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14063 (__libc_ifunc_impl_list): Likewise.
14064 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14065 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14066 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14067 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14068 multiarch wcscpy for PPC64.
14070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14071 multiarch implementations.
14072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14073 (__libc_ifunc_impl_list): Likewise.
14074 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14075 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14076 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14077 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14078 multiarch wcscpy for PPC64.
14080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14081 multiarch implementations.
14082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14083 (__libc_ifunc_impl_list): Likewise.
14084 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14085 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14086 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14087 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14088 multiarch wcsrchr for PPC64.
14090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14091 multiarch implementations.
14092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14093 (__libc_ifunc_impl_list): Likewise.
14094 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14095 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14096 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14097 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14098 multiarch wcschr for PPC64.
14100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14101 multiarch implementations.
14102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14103 (__libc_ifunc_impl_list): Likewise.
14104 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14105 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14106 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14107 multiarch strchrnul for PPC64.
14109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14112 (__libc_ifunc_impl_list): Likewise.
14113 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14114 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14115 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14116 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14122 (__libc_ifunc_impl_list): Likewise.
14123 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14124 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14125 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14126 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14130 multiarch implementations.
14131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14132 (__libc_ifunc_impl_list): Likewise.
14133 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14134 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14135 strncasecmp for PPC64.
14136 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14137 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14138 multiarch strncasecmp_l for PPC64.
14140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14141 multiarch implementations.
14142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14143 (__libc_ifunc_impl_list): Likewise.
14144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14145 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14146 multiarch strcasecmp for PPC64.
14147 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14149 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14150 multiarch strcasecmp_l for PPC64.
14152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14155 (__libc_ifunc_impl_list): Likewise.
14156 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14157 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14158 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14164 (__libc_ifunc_impl_list): Likewise.
14165 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14166 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14167 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14173 (__libc_ifunc_impl_list): Likewise.
14174 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14175 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14176 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14177 rawmemrchr for PPC64.
14179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14182 (__libc_ifunc_impl_list): Likewise.
14183 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14184 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14185 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14191 (__libc_ifunc_impl_list): Likewise.
14192 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14193 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14194 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14200 (__libc_ifunc_impl_list): Likewise.
14201 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14202 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14203 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14206 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14207 avoid cretion of __bzero symbol.
14208 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14210 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14212 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14215 multiarch implementations.
14216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14217 (__libc_ifunc_impl_list): Likewise.
14218 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14219 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14220 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14221 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14223 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14224 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14225 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14226 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14227 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14229 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14231 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14235 (__libc_ifunc_impl_list): Likewise.
14236 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14237 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14238 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14239 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14243 multiarch for POWER/PPC64.
14244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14245 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14247 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14248 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14249 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14250 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14251 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14252 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14255 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14256 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14257 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14258 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14259 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14260 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14261 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14262 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14263 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14264 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14265 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14266 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14267 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14268 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14269 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14278 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14280 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14282 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14284 * benchtests/Makefile (bench): Add exp2 and log2.
14285 (LDLIBS-bench-exp2): Add -lm.
14286 (LDLIBS-bench-log2): Likewise.
14287 * benchtests/exp2-inputs: New inputs file.
14288 * benchtests/log2-inputs: New inputs file.
14289 * benchtests/log-inputs: Add new inputs.
14290 * benchtests/tan-inputs: Likewise.
14292 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14294 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14296 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14297 (csloww2): ... from here.
14299 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14300 instead of structures.
14301 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14302 (POLYNOMIAL): Likewise.
14303 (TAYLOR_SLOW): Likewise.
14309 (sloww1); Likewise.
14310 (sloww2): Likewise.
14311 (bsloww1): Likewise.
14312 (bsloww2): Likewise.
14313 (cslow2): Likewise.
14314 (csloww): Likewise.
14315 (csloww1): Likewise.
14316 (csloww2): Likewise.
14318 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
14320 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14321 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14322 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14323 * malloc/hooks.c (realloc_check): Likewise.
14325 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14326 * malloc/arena.c: Remove PER_THREAD conditional.
14327 [!PER_THREAD]: Remove code.
14328 (ptmalloc_unlock_all2): Likewise.
14329 (ptmalloc_init): Likewise.
14330 (_int_new_arena): Likewise.
14331 (arena_get2): Likewise.
14332 * malloc/hooks.c (__malloc_get_state): Likewise.
14333 (__malloc_set_state): Likewise.
14334 * malloc/malloc.c: Likewise.
14335 (struct malloc_state): Likewise.
14336 (struct malloc_par): Likewise.
14337 (__libc_realloc): Likewise.
14338 (__libc_mallopt): Likewise.
14340 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14342 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14344 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
14346 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14347 macro to a function. Check for zero perturb_byte.
14348 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14350 * malloc/malloc.c: (force_reg): Remove.
14351 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14352 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14353 force_reg by atomic_forced_read.
14354 * malloc/arena.c (ptmalloc_init): Likewise.
14355 * malloc/hooks.c (top_check): Likewise.
14357 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14361 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14365 2013-12-08 Joseph Myers <joseph@codesourcery.com>
14367 * math/auto-libm-test-in: Add tests of lgamma.
14368 * math/auto-libm-test-out: Regenerated.
14369 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14370 (M_LOG_2_SQRT_PIl): Likewise.
14371 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14372 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14374 (func_calc_desc): Add mpfr_f_f1 union field.
14375 (ARGS1): New macro.
14383 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14384 (test_functions): Add lgamma.
14385 (calc_generic_results): Handle mpfr_f_f1.
14386 * sysdeps/i386/fpu/libm-test-ulps: Update.
14387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14391 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14392 __mpn_add_n for PowerPC64/POWER7.
14393 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14394 __mpn_sub_n for PowerPC64/POWER7.
14396 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14397 __mpn_addmul_1 for PowerPC64.
14398 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14399 __mpn_submul_1 for PowerPC64.
14400 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14402 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14405 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14408 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14410 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14412 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14414 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14415 add multiarch folders.
14416 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14417 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14418 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14419 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14420 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14421 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14422 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14423 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14424 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14425 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14426 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14435 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14441 multiarch __ieee754_hypot for PowerPC32.
14442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14447 multiarch __ieee754_hypotf for PowerPC32.
14449 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14450 long_double_symbol only if __logbl is defined.
14451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14452 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14454 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14456 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14458 path for implementation.
14459 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14460 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14462 logb, and logbl multiarch implementations for PowerPC32.
14463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14468 multiarch logb for PowerPC32.
14469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14474 multiarch logbf for PowerPC32.
14475 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14479 multiarch logbl implementation for PowerPC32.
14481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14482 and modff multiarch implementations.
14483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14488 multiarch modf for PowerPC32.
14489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14494 multiarch modff for PowerPC32.
14496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14497 and lrintf multiarch implementations.
14498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14503 multiarch lrint for PowerPC32.
14504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14505 file: multiarch lrintf for PowerPC32.
14507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14508 and lroundf multiarch implementations.
14509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14516 multiarch lround for PowerPC32.
14517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14518 file: multiarch lroundf for PowerPC32.
14520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14521 copysign and copysignf multiarch implementations.
14522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14527 file: multiarch copysign for PowerPC32.
14528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14529 file: multiarch copysignf for PowerPC32.
14531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14532 and truncf multiarch implementations.
14533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14538 multiarch trunc for PowerPC32.
14539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14544 multiarch truncf for PowerPC32.
14546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14547 and roundf multiarch implementations.
14548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14553 multiarch round for PowerPC32.
14554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14559 multiarch roundf for PowerPC32.
14561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14562 and floorf multiarch implementations.
14563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14568 multiarch floor for PowerPC32.
14569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14574 multiarch floorf for PowerPC32.
14576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14577 and ceilf multiarch implementations.
14578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14583 multiarch ceil for PowerPC32.
14584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14589 multiarch ceilf for PowerPC32.
14591 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14593 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14594 FINITEF is defined.
14595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14596 and finitef multiarch implementations.
14597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14602 multiarch finite for PowerPC32.
14603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14606 file: multiarch finitef for PowerPC32.
14608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14609 and isinff multiarch implementations.
14610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14615 multiarch isinf for PowerPC32.
14616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14619 multiarch isinff for PowerPC32.
14621 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14622 alias when __isnan is defined.
14623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14624 and isnanf multiarch implementations.
14625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14634 multiarch isnan for PowerPC32.
14635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14640 multiarch isnanf for PowerPC32.
14642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14643 and sqrtf multiarch implementations.
14644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14649 multiarch sqrt for PowerPC32.
14650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14655 multiarch sqrtf for PowerPC32.
14657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14658 and llroundf multiarch implementations.
14659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14666 file: multiarch llround for PowerPC32.
14667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14668 file: multiarch llroundf for PowerPC32.
14670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14671 multiarch PowerPC32 fpu implementations.
14672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14677 multiarch llrint for PowerPC32.
14678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14691 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14693 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14694 multiarch wordcopy for PPC32.
14695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14698 (__libc_ifunc_impl_list): Likewise.
14699 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14700 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14701 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14702 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14703 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14704 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14706 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14714 multiarch wcscpy for PPC32.
14715 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14717 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14718 (__libc_ifunc_impl_list): Likewise.
14719 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14720 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14721 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14722 sysdeps/powerpc/power6/wcscpy.c.
14724 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14732 multiarch wcsrchr for PPC32.
14733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14735 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14736 (__libc_ifunc_impl_list): Likewise.
14737 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14738 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14739 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14740 sysdeps/powerpc/power6/wcsrchr.c.
14742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14744 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14746 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14748 multiarch wcschr for PPc32.
14749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14752 (__libc_ifunc_impl_list): Likewise.
14753 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14754 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14755 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14756 sysdeps/powerpc/power6/wcschr.c.
14758 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14759 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14761 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14762 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14763 file: multiarch strchr for PPC32.
14764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14767 (__libc_ifunc_impl_list): Likewise.
14769 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14771 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14773 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14775 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14776 multiarch strchrnul for PPC32.
14777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14780 (__libc_ifunc_impl_list): Likewise.
14782 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14784 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14785 multiarch strncasecmp for PPC32.
14786 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14788 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14789 multiarch strncasecmp_l for PPC32.
14790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14791 strncasecmp multiarch objects.
14792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14793 (__libc_ifunc_impl_list): Likewise.
14795 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14797 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14798 multiarch strncasecmp for PPC32.
14799 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14801 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14802 multiarch strcasecmp_l for PPC32.
14803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14806 (__libc_ifunc_impl_list): Likewise.
14808 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14810 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14812 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14813 multiarch strncmp for PPC32.
14814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14817 (__libc_ifunc_impl_list): Likewise.
14819 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14820 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14822 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14823 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14827 (__libc_ifunc_impl_list): Likewise.
14829 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14831 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14833 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14837 (__libc_ifunc_impl_list): Likewise.
14839 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14841 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14843 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14844 multiarch rawmemchr for PPC32.
14845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14848 (__libc_ifunc_impl_list): Likewise.
14850 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14852 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14854 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14855 file: memrchr multiarch for PPC32.
14856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14859 (__libc_ifunc_impl_list): Likewise.
14861 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14862 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14864 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14865 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14866 multiarch memchr for PPC32.
14867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14870 (__libc_ifunc_impl_list): Likewise.
14872 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14873 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14875 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14877 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14878 file: multiarch mempcpy for PPC32.
14879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14882 (__libc_ifunc_impl_list): Likewise.
14884 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14885 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14886 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14887 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14888 multiarch bzero for PPC32.
14889 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14891 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14893 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14894 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14895 file: multiarch memset for PPC32.
14896 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14898 memset multiarch objects.
14899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14900 (__libc_ifunc_impl_list): Likewise.
14902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14904 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14905 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14907 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14911 (__libc_ifunc_impl_list): Likewise.
14913 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14914 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14915 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14917 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14919 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14921 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14922 multiarch memcpy for PPC32.
14923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14926 (__libc_ifunc_impl_list): Likewise.
14928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14929 support multiarch for POWER/PPC32.
14930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14932 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14934 Implies file to make multiarch folder appers before the fpu and
14935 default folder for power4 configuration.
14937 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14939 * scripts/bench.pl: Append volatile keyword to type.
14941 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14943 * sysdeps/sh/sotruss-lib.c: New file.
14944 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14946 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14950 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14953 * math/w_tgamma.c: Include <errno.h>.
14954 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14955 * math/w_tgammaf.c: Include <errno.h>.
14956 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14957 * math/w_tgammal.c: Include <errno.h>.
14958 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14959 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14960 underflow. Add more tgamma tests.
14961 * math/auto-libm-test-out: Regenerated.
14962 * sysdeps/i386/fpu/libm-test-ulps: Update.
14963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14965 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14966 sin, sinh, tan, tanh, tgamma, y0 and y1.
14967 * math/auto-libm-test-out: Regenerated.
14968 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14969 (TEST_COND_x86): Likewise.
14970 (M_E2l): Remove macro.
14972 (M_2_SQRT_PIl): Likewise.
14973 (M_SQRT_PIl): Likewise.
14974 (M_1_DIV_El): Likewise.
14975 (log_test_data): Use AUTO_TESTS_f_f.
14976 (log10_test_data): Likewise.
14977 (log1p_test_data): Likewise.
14978 (log2_test_data): Likewise.
14979 (sin_test_data): Likewise.
14980 (sin_tonearest_test_data): Likewise.
14981 (sin_towardzero_test_data): Likewise.
14982 (sin_downward_test_data): Likewise.
14983 (sin_upward_test_data): Likewise.
14984 (sinh_test_data): Likewise.
14985 (sinh_tonearest_test_data): Likewise.
14986 (sinh_towardzero_test_data): Likewise.
14987 (sinh_downward_test_data): Likewise.
14988 (sinh_upward_test_data): Likewise.
14989 (tan_test_data): Likewise.
14990 (tan_tonearest_test_data): Likewise.
14991 (tan_towardzero_test_data): Likewise.
14992 (tan_downward_test_data): Likewise.
14993 (tan_upward_test_data): Likewise.
14994 (tanh_test_data): Likewise.
14995 (tgamma_test_data): Likewise.
14996 (y0_test_data): Likewise.
14997 (y1_test_data): Likewise.
14998 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14999 (special_real_inputs): Add pi/4.
15000 * sysdeps/i386/fpu/libm-test-ulps: Update.
15001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15003 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15005 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15006 "longjmp_target" static probes.
15007 (__longjmp): Rename to __longjmp_symbol.
15008 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15009 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15010 on which longjmp to generate.
15011 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15012 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15014 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15015 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15016 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15017 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15018 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15019 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15021 __longjmp_symbol based on which __longjmp to generate.
15022 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15024 (setjmp): Rename to setjmp_symbol.
15025 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15026 (_setjmp): Rename to _setjmp_symbol.
15027 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15028 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15029 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15030 which setjmp to generate.
15031 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15032 "longjmp_target" static probes.
15034 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15036 * benchtests/README: Add note about output arguments.
15037 * benchtests/bench-sincos.c: Remove file.
15038 * benchtests/sincos-inputs: New file.
15039 * scripts/bench.pl: Identify output arguments and define
15040 static variables for them.
15042 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15045 * Makefile (INSTALL): Add install-plain.texi as the primary
15047 * manual/install-plain.texi: New file.
15048 * manual/install.texi: Include node directive only for
15049 non-plaintext output.
15051 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15053 * stdlib/longlong.h: Update from GCC.
15057 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15058 * math/w_j0f.c (y0f): Likewise.
15059 * math/w_j0l.c (__y0l): Likewise.
15060 * math/w_j1.c (y1): Likewise.
15061 * math/w_j1f.c (y1f): Likewise.
15062 * math/w_j1l.c (__y1l): Likewise
15063 * math/w_jn.c (yn): Likewise.
15064 * math/w_jnf.c (ynf): Likewise.
15065 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15066 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15067 value for Bessel function domain errors outside _SVID_ mode.
15068 Adjust sign of return value for yn (negative integer, 0).
15069 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15070 by zero in return for negative x and set sign appropriately for
15072 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15073 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15074 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15075 expectations in error cases.
15076 (y1_test_data): Likewise.
15077 (yn_test_data): Likewise.
15078 * sysdeps/i386/fpu/libm-test-ulps: Update.
15079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15081 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15083 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15084 "64" to "64-v1". Add "64-v2".
15085 (abi-64-options): Rename to ...
15086 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15087 (abi-64-condition): Rename to ...
15088 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15089 (abi-64-ld-soname): Rename to ...
15090 (abi-64-v1-ld-soname): ... this.
15091 (abi-64-v2-options): Define.
15092 (abi-64-v2-condition): Likewise.
15093 (abi-64-v2-ld-soname): Likewise.
15094 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15095 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15100 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15101 Alan Modra <amodra@gmail.com>
15103 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15104 New versions for use with the ELFv2 ABI.
15105 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15106 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15108 (struct La_ppc64v2_retval): Likewise.
15109 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15110 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15111 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15112 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15113 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15114 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15115 Do not save or restore CR.
15116 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15117 (_dl_profile_resolve): Do no save or restore CR. Support extended
15118 return values for ELFv2 ABI. Fix location of FPR return registers.
15119 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15120 updated values for _CALL_ELF == 2.
15121 (La_regs, La_retval, int_retval): Likewise.
15123 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15125 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15126 (FRAME_MIN_SIZE_PARM): Likewise.
15127 (FRAME_BACKCHAIN): Likewise.
15128 (FRAME_CR_SAVE): Likewise.
15129 (FRAME_LR_SAVE): Likewise.
15130 (FRAME_TOC_SAVE): Likewise.
15131 (FRAME_PARM_SAVE): Likewise.
15132 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15133 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15134 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15135 (call_mcount_parm_offset): New macro.
15136 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15137 (PROF): Use symbolic stack frame offsets.
15138 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15139 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15140 Redefine in terms of FRAME_MIN_SIZE.
15141 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15142 (_dl_profile_resolve): Likewise. Update comment.
15143 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15144 symbols stack frame offsets.
15145 (__sigsetjmp): Likewise.
15146 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15147 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15148 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15149 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15152 (FRAME_BACKCHAIN): Remove.
15153 (FRAME_CR_SAVE): Likewise.
15154 (FRAME_LR_SAVE): Likewise.
15155 (FRAME_COMPILER_DW): Likewise.
15156 (FRAME_LINKER_DW): Likewise.
15157 (FRAME_TOC_SAVE): Likewise.
15158 (FRAME_PARM_SAVE): Likewise.
15159 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15160 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15161 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15163 (CHECK_SP): Use symbolic stack frame offsets.
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15165 zone" instead of caller's parameter save area for temp storage.
15166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15167 Likewise. Also, use symbolic stack frame offsets.
15168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15169 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15170 our own stack frame instead of the caller's.
15171 (__socket): Use symbolic stack frame offsets.
15173 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15174 Alan Modra <amodra@gmail.com>
15176 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15178 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15179 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15180 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15182 (elf_machine_fixup_plt): Call it.
15183 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15185 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15186 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15187 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15188 r2 before calling target.
15190 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15191 Alan Modra <amodra@gmail.com>
15193 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15194 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15195 versions of macros to support ELFv2 ABI.
15196 (LOCALENTRY): New macro.
15197 (ENTRY, EALIGN): Use it.
15198 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15199 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15200 fall through into ENTRY entry point.
15201 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15202 Only define if _CALL_ELF != 2.
15204 (elf_machine_matches_host): Verify ABI version matches.
15205 (RTLD_START): Use LOCALENTRY.
15206 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15207 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15208 (PLT_ENTRY_WORDS): New macro.
15209 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15210 (elf_machine_runtime_setup): Support ELFv2 ABI.
15211 (elf_machine_fixup_plt): Likewise.
15212 (elf_machine_plt_conflict): Likewise.
15213 (resolve_ifunc): Likewise.
15214 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15215 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15218 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15220 (makecontext): Support ELFv2 ABI.
15221 * elf/elf.h (EF_PPC64_ABI): Define.
15223 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15225 * sysdeps/powerpc/powerpc64/sysdep.h
15226 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15227 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15228 (ENTRY) [ASSEMBLER]: ... but instead here ...
15229 (EALIGN) [ASSEMBLER]: ... and here.
15230 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15231 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15232 (ENTRY_2) [!ASSEMBLER]: Use it.
15233 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15234 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
15235 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15236 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15237 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15239 Use PPC64_LOAD_FUNCPTR.
15241 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15243 2013-12-04 Alan Modra <amodra@gmail.com>
15245 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15246 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15247 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15248 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15251 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15252 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15253 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15254 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15255 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15257 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15260 (__makecontext): Fix incorrect CFI when backtracing out of
15261 context created via makecontext.
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15263 (__setcontext): Fix incorrect CFI during switch to new context.
15264 (__novec_setcontext): Likewise.
15266 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15269 * time/strptime_l.c (__strptime_internal): Allow modifiers
15271 * time/tst-strptime.c (day_tests): Add testcase.
15273 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15275 * scripts/bench.pl: Skip over blank lines.
15277 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15280 * manual/time.texi (Calendar Time): Clarify what timezone functions
15283 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15287 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15289 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15291 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15292 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15293 * debug/memset_chk.c (__memset_chk): Likewise.
15294 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15295 * debug/strncpy_chk.c: Likewise.
15297 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15301 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15302 (__ieee754_exp): For possibly underflowing results, check size of
15303 result and force underflow exception if required.
15304 * math/auto-libm-test-in: Add more tests of exp.
15305 * math/auto-libm-test-out: Regenerated.
15306 * sysdeps/i386/fpu/libm-test-ulps: Update.
15307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15311 * math/w_exp2f.c (__exp2f): Likewise.
15312 * math/w_exp2l.c (__exp2l): Likewise.
15313 * math/auto-libm-test-in: Do not allow missing errno on exp2
15315 * math/auto-libm-test-out: Regenerated.
15317 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
15320 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15321 handle filename validation.
15322 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15325 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15328 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15329 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15330 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15332 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15333 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15334 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15336 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15337 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15338 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15339 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15340 Add more erfc tests.
15341 * math/auto-libm-test-out: Regenerated.
15342 * sysdeps/i386/fpu/libm-test-ulps: Update.
15343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15345 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15346 exp2, expm1, j0 and j1.
15347 * math/auto-libm-test-out: Regenerated.
15348 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15349 (erfc_test_data): Likewise.
15350 (exp_test_data): Likewise.
15351 (exp_tonearest_test_data): Likewise.
15352 (exp_towardzero_test_data): Likewise.
15353 (exp_downward_test_data): Likewise.
15354 (exp_upward_test_data): Likewise.
15355 (exp10_test_data): Likewise.
15356 (exp2_test_data): Likewise.
15357 (expm1_test_data): Likewise.
15358 (j0_test_data): Likewise.
15359 (j1_test_data): Likewise.
15360 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15361 (input_flag_type): Add flag_xfail_rounding.
15362 (input_flags): Add xfail-rounding.
15363 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15364 (output_for_one_input_case): Handle flag_xfail_rounding.
15365 * sysdeps/i386/fpu/libm-test-ulps: Update.
15366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15368 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15371 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15374 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15377 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15378 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15379 (STAP_PROBE0): New macro.
15380 (STAP_PROBE1): Likewise.
15381 (STAP_PROBE2): Likewise.
15382 (STAP_PROBE3): Likewise.
15383 (STAP_PROBE4): Likewise.
15385 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
15387 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15389 2013-12-02 Steve Ellcey <sellcey@mips.com>
15391 * benchtests/Makefile (bench): Add sqrt.
15392 (LDLIBS-bench-sqrt): New.
15393 * benchtests/sqrt-input: New.
15395 2013-12-02 Pavel Simerda <psimerda@redhat.com>
15397 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15398 (GAIH_EAI): Likewise.
15399 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15400 (gaih_inet): Likewise.
15401 (getaddrinfo): Don't use GAIH_EAI.
15403 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15404 (struct gaih): Remove definition.
15406 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15408 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15409 Use HERRNOP directly.
15411 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15415 2013-11-30 Joseph Myers <joseph@codesourcery.com>
15417 * math/gen-auto-libm-tests.c (test_functions): Add more
15418 single-argument functions.
15419 (special_fill_pi_2): New function.
15420 (special_fill_minus_pi_2): Likewise.
15421 (special_fill_pi_6): Likewise.
15422 (special_fill_minus_pi_6): Likewise.
15423 (special_fill_pi_3): Likewise.
15424 (special_fill_2pi_3): Likewise.
15425 (special_fill_e): Likewise.
15426 (special_fill_1_e): Likewise.
15427 (special_fill_e_minus_1): Likewise.
15428 (special_real_inputs): Add more special inputs.
15429 (output_for_one_input_case): Do not require ERANGE on underflow to
15430 zero if round-to-nearest result does not underflow to zero, unless
15431 exact results required.
15432 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15433 atan, atanh, cbrt, cos and cosh.
15434 * math/auto-libm-test-out: Regenerated.
15435 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15436 (acos_tonearest_test_data): Likewise.
15437 (acos_towardzero_test_data): Likewise.
15438 (acos_downward_test_data): Likewise.
15439 (acos_upward_test_data): Likewise.
15440 (acosh_test_data): Likewise.
15441 (asin_test_data): Likewise.
15442 (asin_tonearest_test_data): Likewise.
15443 (asin_towardzero_test_data): Likewise.
15444 (asin_upward_test_data): Likewise.
15445 (asinh_test_data): Likewise.
15446 (atan_test_data): Likewise.
15447 (atanh_test_data): Likewise.
15448 (cbrt_test_data): Likewise.
15449 (cos_test_data): Likewise.
15450 (cos_tonearest_test_data): Likewise.
15451 (cos_towardzero_test_data): Likewise.
15452 (cos_downward_test_data): Likewise.
15453 (cos_upward_test_data): Likewise.
15454 (cosh_test_data): Likewise.
15455 (cosh_tonearest_test_data): Likewise.
15456 (cosh_towardzero_test_data): Likewise.
15457 (cosh_downward_test_data): Likewise.
15458 (cosh_upward_test_data): Likewise.
15459 * sysdeps/i386/fpu/libm-test-ulps: Update.
15460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15462 2013-11-29 Joseph Myers <joseph@codesourcery.com>
15465 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15466 * math/w_exp10f.c (__exp10f): Likewise.
15467 * math/w_exp10l.c (__exp10l): Likewise.
15468 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15469 errno settings in existing tests.
15472 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15473 precision control set to double precision.
15474 * sysdeps/i386/fpu/w_sqrt.c: New file.
15475 * math/auto-libm-test-in: Add more tests.
15476 * math/auto-libm-test-out: Update.
15478 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15479 (sqrt_test_tonearest): New function.
15480 (sqrt_towardzero_test_data): New variable.
15481 (sqrt_test_towardzero): New function.
15482 (sqrt_downward_test_data): New variable.
15483 (sqrt_test_downward): New function.
15484 (sqrt_upward_test_data): New variable.
15485 (sqrt_test_upward): New function.
15486 (main): Call the new functions.
15488 * math/gen-auto-libm-tests.c: New file.
15489 * math/auto-libm-test-in: Likewise.
15490 * math/auto-libm-test-out: New generated file.
15491 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15493 (%beautify): Add generated representations of zero.
15494 (top level): Set $auto_input and call parse_auto_input.
15495 (beautify): Remove trailing "f" from hex float constants.
15496 (parse_args): Handle XFAIL_TEST.
15497 (convert_condition): New function.
15498 (or_value): Likewise.
15499 (or_cond_value): Likewise.
15500 (generate_testfile): Handle AUTO_TESTS_* lines.
15501 (parse_auto_input): New function.
15502 * math/libm-test.inc (XFAIL_TEST): New macro.
15503 (ERRNO_UNCHANGED): Update value.
15504 (ERRNO_EDOM): Likewise.
15505 (ERRNO_ERANGE): Likewise.
15506 (IGNORE_RESULT): Likewise.
15507 (TEST_COND_flt_32): New macro.
15508 (TEST_COND_dbl_64): Likewise.
15509 (TEST_COND_ldbl_96_intel): Likewise.
15510 (TEST_COND_ldbl_96_m68k): Likewise.
15511 (TEST_COND_ldbl_128): Likewise.
15512 (TEST_COND_ldbl_128ibm): Likewise.
15513 (TEST_COND_long32): Likewise.
15514 (TEST_COND_long64): Likewise.
15515 (TEST_COND_before_rounding): Likewise.
15516 (TEST_COND_after_rounding): Likewise.
15517 (enable_test): Handle XFAIL_TEST flag.
15518 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15519 with finite results.
15520 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15521 auto-libm-test-out.
15523 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15524 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15527 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15528 __tls_get_addr_internal instead of __tls_get_offset in order to
15529 avoid GOT pointer dependency. Make rtld export
15530 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15531 __tls_get_addr since we are a __tls_get_offset platform.
15532 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15533 GOT pointer being set up before.
15534 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15536 2013-11-28 Joseph Myers <joseph@codesourcery.com>
15538 * manual/math.texi (Errors in Math Functions): Document accuracy
15542 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15543 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15546 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15548 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15559 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15560 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15561 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15562 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15563 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15565 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15567 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15569 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15570 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15571 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15572 atomic-feupdateenv and flt-rounds.
15573 * sysdeps/powerpc/nofpu/Versions (libc): Add
15574 __atomic_feholdexcept, __atomic_feclearexcept,
15575 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15576 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15577 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15578 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15579 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15584 * manual/arith.texi (FP Exceptions): Document that exceptions may
15585 not be raised when matherr is used.
15586 (Math Error Reporting): Document overflow in directed rounding
15587 modes. Document that errno may not be set when finite values are
15588 returned on overflow. Document intent to set errno on underflow
15589 only for underflow to zero.
15592 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15593 round-to-nearest then adjust result for other rounding modes.
15594 * include/fenv.h (fegetround): Use libm_hidden_proto.
15595 * math/fegetround.c (fegetround): Use libm_hidden_def.
15596 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15597 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15598 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15599 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15601 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15602 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15603 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15604 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15606 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15609 * nss/Versions (libnss_files): Add
15610 _nss_files_gethostbyname3_r.
15611 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15613 (HOST_DB_LOOKUP): Remove macro.
15614 (_nss_files_gethostbyname_r): Implement function without the
15615 HOST_DB_LOOKUP macro.
15616 (_nss_files_gethostbyname2_r): Likewise.
15618 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
15620 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15622 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
15624 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15625 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15628 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15630 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15631 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15632 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15633 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15634 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15635 __fe_nomask_env_priv and attribute_hidden.
15636 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15637 (libc_feupdateenv_test_ppc): Likewise.
15638 (libc_feresetround_ppc): Likewise.
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15640 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15641 compat_symbol macro.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15643 (__fe_nomask_env): Likewise.
15644 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15646 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15648 * string/Makefile: Remove ifunc tests.
15649 * string/test-string.h: Define TEST_IFUNC.
15650 * string/test-bcopy-ifunc.c: Remove.
15651 * string/test-bzero-ifunc.c: Likewise.
15652 * string/test-memccpy-ifunc.c: Likewise.
15653 * string/test-memchr-ifunc.c: Likewise.
15654 * string/test-memcmp-ifunc.c: Likewise.
15655 * string/test-memcpy-ifunc.c: Likewise.
15656 * string/test-memmem-ifunc.c: Likewise.
15657 * string/test-memmove-ifunc.c: Likewise.
15658 * string/test-mempcpy-ifunc.c: Likewise.
15659 * string/test-memrchr-ifunc.c: Likewise.
15660 * string/test-memset-ifunc.c: Likewise.
15661 * string/test-rawmemchr-ifunc.c: Likewise.
15662 * string/test-stpcpy-ifunc.c: Likewise.
15663 * string/test-stpncpy-ifunc.c: Likewise.
15664 * string/test-strcasecmp-ifunc.c: Likewise.
15665 * string/test-strcasestr-ifunc.c: Likewise.
15666 * string/test-strcat-ifunc.c: Likewise.
15667 * string/test-strchr-ifunc.c: Likewise.
15668 * string/test-strchrnul-ifunc.c: Likewise.
15669 * string/test-strcmp-ifunc.c: Likewise.
15670 * string/test-strcpy-ifunc.c: Likewise.
15671 * string/test-strcspn-ifunc.c: Likewise.
15672 * string/test-strlen-ifunc.c: Likewise.
15673 * string/test-strncasecmp-ifunc.c: Likewise.
15674 * string/test-strncat-ifunc.c: Likewise.
15675 * string/test-strncmp-ifunc.c: Likewise.
15676 * string/test-strncpy-ifunc.c: Likewise.
15677 * string/test-strnlen-ifunc.c: Likewise.
15678 * string/test-strpbrk-ifunc.c: Likewise.
15679 * string/test-strrchr-ifunc.c: Likewise.
15680 * string/test-strspn-ifunc.c: Likewise.
15681 * string/test-strstr-ifunc.c: Likewise.
15683 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15685 * benchtests/Makefile: Remove ifunc tests.
15686 * benchtests/bench-string.h: Define TEST_IFUNC.
15687 * benchtests/bench-bcopy-ifunc.c: Remove.
15688 * benchtests/bench-bzero-ifunc.c: Likewise.
15689 * benchtests/bench-memccpy-ifunc.c: Likewise.
15690 * benchtests/bench-memchr-ifunc.c: Likewise.
15691 * benchtests/bench-memcmp-ifunc.c: Likewise.
15692 * benchtests/bench-memcpy-ifunc.c: Likewise.
15693 * benchtests/bench-memmem-ifunc.c: Likewise.
15694 * benchtests/bench-memmove-ifunc.c: Likewise.
15695 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15696 * benchtests/bench-memrchr-ifunc.c: Likewise.
15697 * benchtests/bench-memset-ifunc.c: Likewise.
15698 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15699 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15700 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15701 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15702 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15703 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15704 * benchtests/bench-strcat-ifunc.c: Likewise.
15705 * benchtests/bench-strchr-ifunc.c: Likewise.
15706 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15707 * benchtests/bench-strcmp-ifunc.c: Likewise.
15708 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15709 * benchtests/bench-strcpy-ifunc.c: Likewise.
15710 * benchtests/bench-strcspn-ifunc.c: Likewise.
15711 * benchtests/bench-strlen-ifunc.c: Likewise.
15712 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15713 * benchtests/bench-strncat-ifunc.c: Likewise.
15714 * benchtests/bench-strncmp-ifunc.c: Likewise.
15715 * benchtests/bench-strncpy-ifunc.c: Likewise.
15716 * benchtests/bench-strnlen-ifunc.c: Likewise.
15717 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15718 * benchtests/bench-strrchr-ifunc.c: Likewise.
15719 * benchtests/bench-strsep-ifunc.c: Likewise.
15720 * benchtests/bench-strspn-ifunc.c: Likewise.
15721 * benchtests/bench-strstr-ifunc.c: Likewise.
15723 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15725 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15727 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15729 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15730 * rt/aio.h: Likewise.
15731 * sysdeps/gnu/bits/utmp.h: Likewise.
15732 * sysdeps/gnu/bits/utmpx.h: Likewise.
15733 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15734 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15735 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15736 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15737 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15738 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15739 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15740 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15741 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15742 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15743 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15744 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15745 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15747 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15748 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15749 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15750 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15751 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15752 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15753 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15754 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15755 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15756 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15757 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15759 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15760 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15761 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15762 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15763 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15764 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15765 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15766 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15767 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15768 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15769 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15770 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15771 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15772 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15773 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15774 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15776 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15779 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15780 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15782 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15784 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15785 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15788 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15791 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15792 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15793 (__fesetround): Remove define.
15794 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15795 rounding and exceptions handling.
15796 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15797 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15798 (__fe_nomask_env): Likewise.
15799 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15800 __fegetround instead of fegetround.
15801 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15802 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15804 2013-11-21 Roland McGrath <roland@hack.frob.com>
15806 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15809 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15811 2013-11-21 Meador Inge <meadori@codesourcery.com>
15814 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15815 (encrypt_r): Likewise.
15816 * malloc/obstack.h (obstack_free): Likewise.
15817 * posix/unistd.h (encrypt): Likewise.
15819 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15821 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15822 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15823 DL_CALL_DT_FINI() that call the functions directly.
15824 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15825 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15826 * elf/dl-fini.c: Likewise.
15828 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15830 * malloc/hooks.c (memalign_check): Add alignment rounding.
15831 * malloc/malloc.c (_mid_memalign): New function.
15832 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15833 Implement by calling _mid_memalign.
15834 * manual/probes.texi (Memory Allocation Probes): Remove
15835 memory_valloc_retry and memory_pvalloc_retry.
15837 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15839 * locale/programs/locarchive.c (open_archive): Add const
15840 qualifier to ARCHIVEFNAME and copy default fname to
15844 * libio/tst-widetext.input: Rename Oriya to Odia.
15845 * locale/iso-639.def: Likewise.
15847 * manual/probes.texi (Mathematical Function Probes): Add
15848 documentation for sin, cos, asin and acos probes.
15849 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15850 (__sin32): Add slowasin probe.
15851 (__cos32): Add slowacos probe.
15852 (__mpsin): Add slowsin probe.
15853 (__mpcos): Add slowcos probe.
15855 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15858 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15859 thread-local __sim_exceptions_thread and global
15860 __sim_exceptions_global.
15861 (__sim_disabled_exceptions): Change to thread-local
15862 __sim_disabled_exceptions_thread and global
15863 __sim_disabled_exceptions_global.
15864 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15865 and global __sim_round_mode_global.
15866 (__simulate_exceptions): Use thread-local floating-point state and
15867 set global state from it as needed.
15868 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15869 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15870 __sim_round_mode_thread.
15871 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15872 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15873 and global __sim_exceptions_global.
15874 (__sim_disabled_exceptions): Change to thread-local
15875 __sim_disabled_exceptions_thread and global
15876 __sim_disabled_exceptions_global.
15877 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15878 and global __sim_round_mode_global.
15879 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15880 (SIM_SET_GLOBAL): Likewise.
15881 * sysdeps/powerpc/soft-fp/sfp-machine.h
15882 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15883 __sim_round_mode_thread.
15884 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15885 __sim_disabled_exceptions_thread.
15886 (__sim_exceptions): Change to __sim_exceptions_thread.
15887 (__sim_disabled_exceptions): Change to
15888 __sim_disabled_exceptions_thread.
15889 (__sim_round_mode): Change to __sim_round_mode_thread.
15890 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15891 thread-local floating-point state and set global state from it as
15893 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15894 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15895 (__sim_disabled_exceptions): Remove extern declaration.
15896 (feenableexcept): Use thread-local floating-point state and set
15897 global state from it as needed.
15898 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15899 extern declaration.
15900 (__sim_disabled_exceptions): Likewise.
15901 (__sim_round_mode): Likewise.
15902 (__fegetenv): Use thread-local floating-point state.
15903 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15904 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15905 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15906 floating-point state and set global state from it as needed.
15907 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15908 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15909 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15911 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15912 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15914 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15915 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15916 Use __sim_round_mode_thread.
15917 * math/test-fenv-tls.c: New file.
15918 * math/Makefile (tests): Add test-fenv-tls.
15919 ($(objpfx)test-fenv-tls): Depend on
15920 $(common-objpfx)nptl/libpthread.so.
15922 2013-11-19 Andreas Schwab <schwab@suse.de>
15924 * locale/programs/locale.c (show_info): Decode wordarray elements.
15925 * locale/categories.def (LC_MONETARY): Add element for
15926 _NL_MONETARY_CRNCYSTR.
15927 * locale/C-monetary.c (conversion_rate): New variable.
15928 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15931 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15933 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15934 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15936 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15938 * elf/Makefile (tst-auxv): New test.
15939 * elf/tst-auxv.c: New
15940 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15942 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15944 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15945 (hidden_proto): Caller changed.
15946 (hidden_tls_proto): New macro.
15947 (libc_hidden_tls_proto): Likewise.
15948 (rtld_hidden_tls_proto): Likewise.
15949 (libm_hidden_tls_proto): Likewise.
15950 (libresolv_hidden_tls_proto): Likewise.
15951 (librt_hidden_tls_proto): Likewise.
15952 (libdl_hidden_tls_proto): Likewise.
15953 (libnss_files_hidden_tls_proto): Likewise.
15954 (libnsl_hidden_tls_proto): Likewise.
15955 (libnss_nisplus_hidden_tls_proto): Likewise.
15956 (libutil_hidden_tls_proto): Likewise.
15958 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15961 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15962 (decompose_rpath): Defer expansion to fillin_rpath.
15963 (_dl_init_paths): Pass linkmap to fillin_rpath.
15965 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15967 * benchtests/Makefile: Add strsep.
15968 * benchtests/bench-strsep.c: New file: strsep benchtest.
15969 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15971 2013-11-18 Andreas Schwab <schwab@suse.de>
15973 * locale/programs/locale.c (show_info) [case byte]: Check for
15974 '\377' instead of '\177'.
15975 * locale/C-monetary.c (not_available): Always use "\377".
15976 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15977 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15978 detect unavailable sign_posn locale elements.
15979 * locale/localeconv.c (__localeconv): For grouping and
15980 mon_grouping handle "\177" and "\377" like no grouping.
15981 (INT_ELEM): New macro. Use it to set all numeric members.
15982 * locale/programs/ld-monetary.c (monetary_read)
15983 <tok_mon_grouping>: Normalize single -1 to the empty string.
15984 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15987 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15990 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15991 when we match (nil).
15992 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15994 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15996 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15997 (NO_TEST_INLINE): Update value.
15998 (ERRNO_UNCHANGED): Likewise.
15999 (ERRNO_EDOM): Likewise.
16000 (ERRNO_ERANGE): Likewise.
16001 (IGNORE_RESULT): Likewise.
16002 (check_float_internal): Check signs of NaN results if
16003 TEST_NAN_SIGN used.
16004 (check_complex): Pass TEST_NAN_SIGN flag through to second
16005 check_float_internal call.
16006 (copysign_test_data): Add tests with quiet NaNs as second
16007 argument. Use TEST_NAN_SIGN.
16008 (fabs_test_data): Add test of negative quiet NaN argument. Use
16010 (signbit_test_data): Add tests of quiet NaN argument.
16011 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16013 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16015 (parse_args): Handle function results specified as IGNORE.
16016 * math/libm-test.inc (IGNORE_RESULT): New macro.
16017 (check_float_internal): Do not check numerical result if flag
16019 (check_complex): Pass through IGNORE_RESULT to second
16020 check_float_internal call.
16021 (check_int): Do not check numerical result if flag IGNORE_RESULT
16023 (check_long): Likewise.
16024 (check_bool): Likewise.
16025 (check_longlong): Likewise.
16026 (lrint_test_data): Add tests of infinite and NaN arguments.
16027 (lrint_tonearest_test_data): Likewise.
16028 (lrint_towardzero_test_data): Likewise.
16029 (lrint_downward_test_data): Likewise.
16030 (lrint_upward_test_data): Likewise.
16031 (llrint_test_data): Likewise.
16032 (llrint_tonearest_test_data): Likewise.
16033 (llrint_towardzero_test_data): Likewise.
16034 (llrint_downward_test_data): Likewise.
16035 (llrint_upward_test_data): Likewise.
16036 (lround_test_data): Likewise.
16037 (llround_test_data): Likewise.
16039 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16040 (ERRNO_UNCHANGED): Update value.
16041 (ERRNO_EDOM): Likewise.
16042 (ERRNO_ERANGE): Likewise.
16043 (NO_TEST_INLINE_FLOAT): New macro.
16044 (NO_TEST_INLINE_DOUBLE): Likewise.
16045 (enable_test): New function.
16046 (RUN_TEST_f_f): Check enable_test before running test.
16047 (RUN_TEST_2_f): Likewise.
16048 (RUN_TEST_fff_f): Likewise.
16049 (RUN_TEST_c_f): Likewise.
16050 (RUN_TEST_f_f1): Likewise.
16051 (RUN_TEST_fF_f1): Likewise.
16052 (RUN_TEST_fI_f1): Likewise.
16053 (RUN_TEST_ffI_f1): Likewise.
16054 (RUN_TEST_c_c): Likewise.
16055 (RUN_TEST_cc_c): Likewise.
16056 (RUN_TEST_f_i): Likewise.
16057 (RUN_TEST_f_i_tg): Likewise.
16058 (RUN_TEST_ff_i_tg): Likewise.
16059 (RUN_TEST_f_b): Likewise.
16060 (RUN_TEST_f_b_tg): Likewise.
16061 (RUN_TEST_f_l): Likewise.
16062 (RUN_TEST_f_L): Likewise.
16063 (RUN_TEST_fFF_11): Likewise.
16064 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16066 (cosh_test_data): Likewise.
16067 (exp_test_data): Likewise.
16068 (expm1_test_data): Likewise.
16069 (hypot_test_data): Likewise.
16070 (pow_test_data): Likewise.
16071 (sinh_test_data): Likewise.
16072 (tanh_test_data): Likewise.
16073 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16076 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16077 tests with quiet NaN input and output.
16078 (acosh_test_data): Likewise.
16079 (asin_test_data): Likewise.
16080 (asinh_test_data): Likewise.
16081 (atan_test_data): Likewise.
16082 (atanh_test_data): Likewise.
16083 (atan2_test_data): Likewise.
16084 (cbrt_test_data): Likewise.
16085 (cos_test_data): Likewise.
16086 (cosh_test_data): Likewise.
16087 (erf_test_data): Likewise.
16088 (erfc_test_data): Likewise.
16089 (exp_test_data): Likewise.
16090 (exp10_test_data): Likewise.
16091 (exp2_test_data): Likewise.
16092 (expm1_test_data): Likewise.
16093 (hypot_test_data): Likewise.
16094 (j0_test_data): Likewise.
16095 (j1_test_data): Likewise.
16096 (jn_test_data): Likewise.
16097 (lgamma_test_data): Likewise.
16098 (log_test_data): Likewise.
16099 (log10_test_data): Likewise.
16100 (log1p_test_data): Likewise.
16101 (log2_test_data): Likewise.
16102 (pow_test_data): Likewise.
16103 (scalb_test_data): Likewise.
16104 (sin_test_data): Likewise.
16105 (sincos_test_data): Likewise.
16106 (sinh_test_data): Likewise.
16107 (tan_test_data): Likewise.
16108 (tanh_test_data): Likewise.
16109 (tgamma_test_data): Likewise.
16110 (y0_test_data): Likewise.
16111 (y1_test_data): Likewise.
16112 (yn_test_data): Likewise.
16115 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16116 argument being NaN and avoid computations with second argument in
16118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16119 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16120 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16122 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16124 * locale/iso-639.def: Add Chitwani Tharu (the).
16126 2013-11-14 Andreas Schwab <schwab@suse.de>
16128 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16129 word instead of empty string.
16131 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16134 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16136 (__fe_nomask_env): Likewise.
16138 2013-11-13 Steve Ellcey <sellcey@mips.com>
16140 * benchtests/bench-timing.h: Include time.h.
16142 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16145 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16147 * sysdeps/unix/sysv/linux/configure: Regenerated.
16149 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16152 * stdlib/strtod_l.c (round_and_return): Do not consider
16153 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16154 exponent one less than half the least subnormal exponent.
16155 * stdlib/test-strtod-round-data: Add more tests.
16156 * stdlib/tst-strtod-round.c (tests): Regenerated.
16158 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16161 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16162 (__fe_mask_env): Likewise.
16163 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16164 libm_hidden_proto and add function prototype.
16165 (__fe_mask_env): Add function prototype.
16166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16167 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16169 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16171 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16173 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16175 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16176 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16178 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16180 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16181 of htab_find_slot().
16183 2013-11-11 David S. Miller <davem@davemloft.net>
16186 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16187 symbol in the non-vis3 case in static builds.
16188 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16189 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16190 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16191 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16193 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16196 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16199 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16201 * benchtests/Makefile: Add bench-strtod.
16202 * benchtests/bench-strtod.c: New file: strtod benchtest
16204 2013-11-11 Andreas Schwab <schwab@suse.de>
16207 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16208 terminating NUL in key length.
16210 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16212 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16213 Add artificial ODP entry for vDSO symbol for PPC64.
16214 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16215 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16217 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16220 * nss/getent.c (services_keys): Recognize services starting with digit.
16222 2013-11-06 David S. Miller <davem@davemloft.net>
16225 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16226 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16228 2013-11-06 Will Newton <will.newton@linaro.org>
16230 * manual/memory.texi (Malloc Examples): Remove register
16231 keyword from examples.
16233 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
16235 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16237 2013-11-04 Joseph Myers <joseph@codesourcery.com>
16240 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16241 depending on [__GCC_IEC_559 > 0].
16242 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16243 depending on [__GCC_IEC_559_COMPLEX > 0].
16245 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
16247 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16250 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
16252 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16254 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
16257 * malloc/malloc (malloc_info): Do not handle first bin as
16260 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
16262 * locale/iso-639.def: Add Central Nahuatl (nhn).
16264 2013-11-01 Bruno Haible <bruno@clisp.org>
16267 * manual/math.texi (BSD Random): Specify range upper bound as
16270 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
16272 * locale/iso-639.def: Add Meadow Mari (mhr).
16274 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
16276 [BZ #14752], [BZ #15763]
16277 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16279 * rt/tst_shm.c: Add test for escaping directory.
16281 2013-10-31 Andreas Schwab <schwab@suse.de>
16284 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16285 followed by 'x' as part of digit sequence.
16286 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16288 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16291 * configure.ac: allow GNU Make 4.0 and greater.
16292 * configure: Regenerated.
16294 2013-10-30 Will Newton <will.newton@linaro.org>
16297 * malloc/hooks.c (memalign_check): Limit alignment to the
16298 maximum representable power of two.
16299 * malloc/malloc.c (__libc_memalign): Likewise.
16300 * malloc/tst-memalign.c (do_test): Add test for very
16301 large alignment values.
16302 * malloc/tst-posix_memalign.c (do_test): Likewise.
16304 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16307 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16308 (munmap_chunk): Likewise.
16309 (mremap_chunk): Likewise.
16311 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16314 * stdlib/div.c (div): Remove obsolete code.
16315 * stdlib/ldiv.c (ldiv): Likewise.
16316 * stdlib/lldiv.c (lldiv): Likewise.
16318 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16321 * nss/nss_files/files-XXX.c (get_contents_ret): New
16323 (get_contents): New function.
16324 (internal_getent): Use it. Expand size of LINEBUFLEN.
16326 2013-10-30 Mike Frysinger <vapier@gentoo.org>
16328 * configure.in: Moved to ...
16329 * configure.ac: ... here. Change reference to configure.in
16331 * sysdeps/arm/preconfigure.ac: ... here.
16332 configure.in to configure.ac.
16333 * sysdeps/gnu/configure.in: Moved to ...
16334 * sysdeps/gnu/configure.ac: ... here.
16335 * sysdeps/i386/configure.in: Moved to ...
16336 * sysdeps/i386/configure.ac: ... here.
16337 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16338 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16339 * sysdeps/mach/configure.in: Moved to ...
16340 * sysdeps/mach/configure.ac: ... here.
16341 * sysdeps/mach/hurd/configure.in: Moved to ...
16342 * sysdeps/mach/hurd/configure.ac: ... here.
16343 * sysdeps/powerpc/configure.in: Moved to ...
16344 * sysdeps/powerpc/configure.ac: ... here.
16345 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16346 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16347 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16348 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16349 * sysdeps/s390/s390-32/configure.in: Moved to ...
16350 * sysdeps/s390/s390-32/configure.ac: ... here.
16351 * sysdeps/s390/s390-64/configure.in: Moved to ...
16352 * sysdeps/s390/s390-64/configure.ac: ... here.
16353 * sysdeps/sh/configure.in: Moved to ...
16354 * sysdeps/sh/configure.ac: ... here.
16355 * sysdeps/sparc/configure.in: Moved to ...
16356 * sysdeps/sparc/configure.ac: ... here.
16357 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16358 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16359 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16360 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16361 * sysdeps/x86_64/configure.in: Moved to ...
16362 * sysdeps/x86_64/configure.ac: ... here.
16363 * sysdeps/x86_64/preconfigure.in: Moved to ...
16364 * sysdeps/x86_64/preconfigure.ac: ... here.
16365 * aclocal.m4: Change reference to configure.in to configure.ac.
16366 * config.h.in: Likewise.
16367 * manual/install.texi: Likewise.
16368 * manual/maint.texi: Likewise.
16369 * Makefile: Likewise.
16370 * malloc/Makefile: Likewise.
16371 * nscd/Makefile: Likewise.
16372 * Makeconfig: Change reference to configure.in and
16373 preconfigure.in to configure.ac and preconfigure.ac
16375 * INSTALL: Regenerated.
16376 * configure: Likewise.
16377 * sysdeps/gnu/configure: Likewise.
16378 * sysdeps/i386/configure: Likewise.
16379 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16380 * sysdeps/mach/configure: Likewise.
16381 * sysdeps/mach/hurd/configure: Likewise.
16382 * sysdeps/powerpc/configure: Likewise.
16383 * sysdeps/powerpc/powerpc32/configure: Likewise.
16384 * sysdeps/powerpc/powerpc64/configure: Likewise.
16385 * sysdeps/s390/s390-32/configure: Likewise.
16386 * sysdeps/s390/s390-64/configure: Likewise.
16387 * sysdeps/sh/configure: Likewise.
16388 * sysdeps/sparc/configure: Likewise.
16389 * sysdeps/unix/sysv/linux/configure: Likewise.
16390 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16391 * sysdeps/x86_64/configure: Likewise.
16392 * sysdeps/x86_64/preconfigure: Likewise.
16394 2013-10-29 Andreas Schwab <schwab@suse.de>
16396 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16398 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16400 * benchtests/pow-inputs: Add new inputs.
16402 * benchtests/exp-inputs: Add new inputs.
16404 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16405 conditional check for return value.
16406 (__cos32): Likewise.
16408 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16410 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16411 to provide a boost for large inputs with word alignment.
16412 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16413 implementation based on optimized PPC64 strcpy.
16414 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16415 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16416 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16417 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16419 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16422 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16424 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16427 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16428 * time/tst-strptime.c (day_tests): Add testcase.
16430 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16433 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16435 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16438 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16439 MAP_FAILED on error.
16441 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16444 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16445 heap for large requests.
16447 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16450 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16451 result if the result has no associated interface.
16452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16453 interface for all 127.X.Y.Z addresses.
16455 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
16457 * locale/iso-639.def: Add Ligurian (lij)
16459 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
16462 * sunrpc/rpc_main.c: Document rpcgen -5.
16464 2013-10-19 Michael Stahl <mstahl@redhat.com>
16466 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16468 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16471 * posix/glob.c: Match only directories when trailing slash is present.
16472 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16473 (main): Add testcase.
16475 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16478 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16480 2013-10-18 Carlos O'Donell <carlos@redhat.com>
16482 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16483 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16484 AUTH_DES and cindex for FIPS 140-2.
16485 (DES Encryption): Add cindex FIPS 46-3.
16487 * locale/locarchive.h (struct locarhandle): Add fname.
16488 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16489 if an optional argument was specified to --list-archive,
16491 * locale/programs/locarchive.c (show_archive_content): Take new
16492 argument fname and pass it via ah.fname to open_archive.
16493 * locale/programs/localedef.h: Update decl.
16494 (open_archive): If AH->fname is non-null, open that file
16495 rather than the default file name, and don't ignore ENOENT.
16496 (create_archive): Set AH.fname to NULL.
16497 (delete_locales_from_archive): Likewise.
16498 (add_locales_to_archive): Likewise.
16499 * locale/programs/locfile.c (write_all_categories): Likewise.
16501 2013-10-18 Joseph Myers <joseph@codesourcery.com>
16502 Aldy Hernandez <aldyh@redhat.com>
16504 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16505 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16506 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16507 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16508 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16509 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16510 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16511 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16512 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16513 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16514 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16515 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16516 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16517 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16518 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16520 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16522 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16524 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16526 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16527 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16529 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16530 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16531 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16532 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16534 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16535 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16536 * sysdeps/powerpc/preconfigure: Likewise.
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16539 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16540 Replace contents of file by #include of <fenv_libc.h>.
16541 * sysdeps/powerpc/soft-fp/sfp-machine.h
16542 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16544 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16545 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16546 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16557 Allow copysignl PLT reference to be missing.
16559 2013-10-18 Richard Sandiford <richard@codesourcery.com>
16560 Joseph Myers <joseph@codesourcery.com
16563 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16565 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16567 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16569 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16570 * elf/tst-tls1.c: Likewise.
16571 * elf/tst-tls10.h: Likewise.
16572 * elf/tst-tls14.c: Likewise.
16573 * elf/tst-tls2.c: Likewise.
16574 * elf/tst-tls3.c: Likewise.
16575 * elf/tst-tls4.c: Likewise.
16576 * elf/tst-tls5.c: Likewise.
16577 * elf/tst-tls6.c: Likewise.
16578 * elf/tst-tls7.c: Likewise.
16579 * elf/tst-tls8.c: Likewise.
16580 * elf/tst-tls9.c: Likewise.
16581 * elf/tst-tlsmod1.c: Likewise.
16582 * elf/tst-tlsmod13.c: Likewise.
16583 * elf/tst-tlsmod13a.c: Likewise.
16584 * elf/tst-tlsmod14a.c: Likewise.
16585 * elf/tst-tlsmod16a.c: Likewise.
16586 * elf/tst-tlsmod16b.c: Likewise.
16587 * elf/tst-tlsmod2.c: Likewise.
16588 * elf/tst-tlsmod3.c: Likewise.
16589 * elf/tst-tlsmod4.c: Likewise.
16590 * elf/tst-tlsmod5.c: Likewise.
16591 * elf/tst-tlsmod6.c: Likewise.
16593 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
16596 * malloc/malloc.c: remove checks for statistics.
16598 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16601 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16602 * inet/tst-network.c: Add testcase.
16604 2013-10-17 Andreas Schwab <schwab@suse.de>
16607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16608 to determine canonical name.
16610 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16612 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16613 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16636 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16637 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16642 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16664 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16665 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16666 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16667 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16671 2013-10-17 Joseph Myers <joseph@codesourcery.com>
16674 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16675 make result into a quiet NaN.
16677 2013-10-16 Joseph Myers <joseph@codesourcery.com>
16679 * soft-fp/adddf3.c: Fix horizontal whitespace.
16680 * soft-fp/addsf3.c: Likewise.
16681 * soft-fp/addtf3.c: Likewise.
16682 * soft-fp/divdf3.c: Likewise.
16683 * soft-fp/divsf3.c: Likewise.
16684 * soft-fp/divtf3.c: Likewise.
16685 * soft-fp/double.h: Likewise.
16686 * soft-fp/eqdf2.c: Likewise.
16687 * soft-fp/eqsf2.c: Likewise.
16688 * soft-fp/eqtf2.c: Likewise.
16689 * soft-fp/extenddftf2.c: Likewise.
16690 * soft-fp/extended.h: Likewise.
16691 * soft-fp/extendsfdf2.c: Likewise.
16692 * soft-fp/extendsftf2.c: Likewise.
16693 * soft-fp/extendxftf2.c: Likewise.
16694 * soft-fp/fixdfdi.c: Likewise.
16695 * soft-fp/fixdfsi.c: Likewise.
16696 * soft-fp/fixdfti.c: Likewise.
16697 * soft-fp/fixsfdi.c: Likewise.
16698 * soft-fp/fixsfsi.c: Likewise.
16699 * soft-fp/fixsfti.c: Likewise.
16700 * soft-fp/fixtfdi.c: Likewise.
16701 * soft-fp/fixtfsi.c: Likewise.
16702 * soft-fp/fixtfti.c: Likewise.
16703 * soft-fp/fixunsdfdi.c: Likewise.
16704 * soft-fp/fixunsdfsi.c: Likewise.
16705 * soft-fp/fixunsdfti.c: Likewise.
16706 * soft-fp/fixunssfdi.c: Likewise.
16707 * soft-fp/fixunssfsi.c: Likewise.
16708 * soft-fp/fixunssfti.c: Likewise.
16709 * soft-fp/fixunstfdi.c: Likewise.
16710 * soft-fp/fixunstfsi.c: Likewise.
16711 * soft-fp/fixunstfti.c: Likewise.
16712 * soft-fp/floatdidf.c: Likewise.
16713 * soft-fp/floatdisf.c: Likewise.
16714 * soft-fp/floatditf.c: Likewise.
16715 * soft-fp/floatsidf.c: Likewise.
16716 * soft-fp/floatsisf.c: Likewise.
16717 * soft-fp/floatsitf.c: Likewise.
16718 * soft-fp/floattidf.c: Likewise.
16719 * soft-fp/floattisf.c: Likewise.
16720 * soft-fp/floattitf.c: Likewise.
16721 * soft-fp/floatundidf.c: Likewise.
16722 * soft-fp/floatundisf.c: Likewise.
16723 * soft-fp/floatunditf.c: Likewise.
16724 * soft-fp/floatunsidf.c: Likewise.
16725 * soft-fp/floatunsisf.c: Likewise.
16726 * soft-fp/floatunsitf.c: Likewise.
16727 * soft-fp/floatuntidf.c: Likewise.
16728 * soft-fp/floatuntisf.c: Likewise.
16729 * soft-fp/floatuntitf.c: Likewise.
16730 * soft-fp/fmadf4.c: Likewise.
16731 * soft-fp/fmasf4.c: Likewise.
16732 * soft-fp/fmatf4.c: Likewise.
16733 * soft-fp/gedf2.c: Likewise.
16734 * soft-fp/gesf2.c: Likewise.
16735 * soft-fp/getf2.c: Likewise.
16736 * soft-fp/ledf2.c: Likewise.
16737 * soft-fp/lesf2.c: Likewise.
16738 * soft-fp/letf2.c: Likewise.
16739 * soft-fp/muldf3.c: Likewise.
16740 * soft-fp/mulsf3.c: Likewise.
16741 * soft-fp/multf3.c: Likewise.
16742 * soft-fp/negdf2.c: Likewise.
16743 * soft-fp/negsf2.c: Likewise.
16744 * soft-fp/negtf2.c: Likewise.
16745 * soft-fp/op-1.h: Likewise.
16746 * soft-fp/op-2.h: Likewise.
16747 * soft-fp/op-4.h: Likewise.
16748 * soft-fp/op-8.h: Likewise.
16749 * soft-fp/op-common.h: Likewise.
16750 * soft-fp/quad.h: Likewise.
16751 * soft-fp/single.h: Likewise.
16752 * soft-fp/soft-fp.h: Likewise.
16753 * soft-fp/sqrtdf2.c: Likewise.
16754 * soft-fp/sqrtsf2.c: Likewise.
16755 * soft-fp/sqrttf2.c: Likewise.
16756 * soft-fp/subdf3.c: Likewise.
16757 * soft-fp/subsf3.c: Likewise.
16758 * soft-fp/subtf3.c: Likewise.
16759 * soft-fp/truncdfsf2.c: Likewise.
16760 * soft-fp/trunctfdf2.c: Likewise.
16761 * soft-fp/trunctfsf2.c: Likewise.
16762 * soft-fp/trunctfxf2.c: Likewise.
16763 * soft-fp/unorddf2.c: Likewise.
16764 * soft-fp/unordsf2.c: Likewise.
16765 * soft-fp/unordtf2.c: Likewise.
16767 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16769 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16770 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16772 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16774 * elf/dl-libc.c: Clear initfini list after freeing.
16776 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16778 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16779 * soft-fp/addsf3.c: Likewise.
16780 * soft-fp/addtf3.c: Likewise.
16781 * soft-fp/divdf3.c: Likewise.
16782 * soft-fp/divsf3.c: Likewise.
16783 * soft-fp/divtf3.c: Likewise.
16784 * soft-fp/double.h: Likewise.
16785 * soft-fp/eqdf2.c: Likewise.
16786 * soft-fp/eqsf2.c: Likewise.
16787 * soft-fp/eqtf2.c: Likewise.
16788 * soft-fp/extenddftf2.c: Likewise.
16789 * soft-fp/extended.h: Likewise.
16790 * soft-fp/extendsfdf2.c: Likewise.
16791 * soft-fp/extendsftf2.c: Likewise.
16792 * soft-fp/extendxftf2.c: Likewise.
16793 * soft-fp/fixdfdi.c: Likewise.
16794 * soft-fp/fixdfsi.c: Likewise.
16795 * soft-fp/fixdfti.c: Likewise.
16796 * soft-fp/fixsfdi.c: Likewise.
16797 * soft-fp/fixsfsi.c: Likewise.
16798 * soft-fp/fixsfti.c: Likewise.
16799 * soft-fp/fixtfdi.c: Likewise.
16800 * soft-fp/fixtfsi.c: Likewise.
16801 * soft-fp/fixtfti.c: Likewise.
16802 * soft-fp/fixunsdfdi.c: Likewise.
16803 * soft-fp/fixunsdfsi.c: Likewise.
16804 * soft-fp/fixunsdfti.c: Likewise.
16805 * soft-fp/fixunssfdi.c: Likewise.
16806 * soft-fp/fixunssfsi.c: Likewise.
16807 * soft-fp/fixunssfti.c: Likewise.
16808 * soft-fp/fixunstfdi.c: Likewise.
16809 * soft-fp/fixunstfsi.c: Likewise.
16810 * soft-fp/fixunstfti.c: Likewise.
16811 * soft-fp/floatdidf.c: Likewise.
16812 * soft-fp/floatdisf.c: Likewise.
16813 * soft-fp/floatditf.c: Likewise.
16814 * soft-fp/floatsidf.c: Likewise.
16815 * soft-fp/floatsisf.c: Likewise.
16816 * soft-fp/floatsitf.c: Likewise.
16817 * soft-fp/floattidf.c: Likewise.
16818 * soft-fp/floattisf.c: Likewise.
16819 * soft-fp/floattitf.c: Likewise.
16820 * soft-fp/floatundidf.c: Likewise.
16821 * soft-fp/floatundisf.c: Likewise.
16822 * soft-fp/floatunsidf.c: Likewise.
16823 * soft-fp/floatunsisf.c: Likewise.
16824 * soft-fp/floatuntidf.c: Likewise.
16825 * soft-fp/floatuntisf.c: Likewise.
16826 * soft-fp/floatuntitf.c: Likewise.
16827 * soft-fp/fmadf4.c: Likewise.
16828 * soft-fp/fmasf4.c: Likewise.
16829 * soft-fp/fmatf4.c: Likewise.
16830 * soft-fp/gedf2.c: Likewise.
16831 * soft-fp/gesf2.c: Likewise.
16832 * soft-fp/getf2.c: Likewise.
16833 * soft-fp/ledf2.c: Likewise.
16834 * soft-fp/lesf2.c: Likewise.
16835 * soft-fp/letf2.c: Likewise.
16836 * soft-fp/muldf3.c: Likewise.
16837 * soft-fp/mulsf3.c: Likewise.
16838 * soft-fp/multf3.c: Likewise.
16839 * soft-fp/negdf2.c: Likewise.
16840 * soft-fp/negsf2.c: Likewise.
16841 * soft-fp/negtf2.c: Likewise.
16842 * soft-fp/op-1.h: Likewise.
16843 * soft-fp/op-2.h: Likewise.
16844 * soft-fp/op-4.h: Likewise.
16845 * soft-fp/op-8.h: Likewise.
16846 * soft-fp/op-common.h: Likewise.
16847 * soft-fp/quad.h: Likewise.
16848 * soft-fp/single.h: Likewise.
16849 * soft-fp/soft-fp.h: Likewise.
16850 * soft-fp/sqrtdf2.c: Likewise.
16851 * soft-fp/sqrtsf2.c: Likewise.
16852 * soft-fp/sqrttf2.c: Likewise.
16853 * soft-fp/subdf3.c: Likewise.
16854 * soft-fp/subsf3.c: Likewise.
16855 * soft-fp/subtf3.c: Likewise.
16856 * soft-fp/truncdfsf2.c: Likewise.
16857 * soft-fp/trunctfdf2.c: Likewise.
16858 * soft-fp/trunctfsf2.c: Likewise.
16859 * soft-fp/trunctfxf2.c: Likewise.
16860 * soft-fp/unorddf2.c: Likewise.
16861 * soft-fp/unordsf2.c: Likewise.
16862 * soft-fp/unordtf2.c: Likewise.
16864 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16867 * misc/error.c (error_tail): Fix possible buffer overflow.
16869 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16872 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16875 2013-10-14 P. J. McDermott <pj@pehjota.net>
16878 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16879 testing pipefail option.
16881 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16883 * soft-fp/double.h: Indent preprocessor directives inside #if.
16884 * soft-fp/extended.h: Likewise.
16885 * soft-fp/op-2.h: Likewise.
16886 * soft-fp/op-4.h: Likewise.
16887 * soft-fp/op-common.h: Likewise.
16888 * soft-fp/quad.h: Likewise.
16889 * soft-fp/single.h: Likewise.
16890 * soft-fp/soft-fp.h: Likewise.
16892 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16894 * iconv/iconv_prog.c: Fix typos.
16895 * stdio-common/psiginfo-data.h: Likewise.
16897 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16900 * locale/setlocale.c: Fix typo.
16902 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16905 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16906 signaling NaN arguments.
16907 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16908 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16911 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16912 unordered operands.
16913 * soft-fp/gesf2.c (__gesf2): Likewise.
16914 * soft-fp/getf2.c (__getf2): Likewise.
16915 * soft-fp/ledf2.c (__ledf2): Likewise.
16916 * soft-fp/lesf2.c (__lesf2): Likewise.
16917 * soft-fp/letf2.c (__letf2): Likewise.
16919 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16920 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16921 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16922 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16923 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16924 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16925 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16926 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16927 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16928 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16929 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16930 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16931 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16932 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16933 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16934 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16935 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16936 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16937 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16938 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16939 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16940 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16941 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16942 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16943 * soft-fp/floattidf.c (__floattidf): Likewise.
16944 * soft-fp/floattisf.c (__floattisf): Likewise.
16945 * soft-fp/floattitf.c (__floattitf): Likewise.
16946 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16947 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16948 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16949 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16950 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16951 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16952 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16953 * soft-fp/gesf2.c (__gesf2): Likewise.
16954 * soft-fp/getf2.c (__getf2): Likewise.
16955 * soft-fp/ledf2.c (__ledf2): Likewise.
16956 * soft-fp/lesf2.c (__lesf2): Likewise.
16957 * soft-fp/letf2.c (__letf2): Likewise.
16959 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16960 Undefine and redefine.
16961 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16962 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16963 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16964 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16965 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16966 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16967 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16968 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16969 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16970 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16971 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16972 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16973 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16974 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16975 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16978 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16979 without decrementing exponent if mantissa >= that for the
16980 denominator, not >.
16981 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16982 denominator, not >. Decrement exponent in < case instead of
16983 incrementing in >= case.
16984 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16985 without decrementing exponent if mantissa >= that for the
16986 denominator, not >.
16988 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16989 computing saturated result for unsigned overflow.
16991 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16992 Jeff Law <law@redhat.com>
16994 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16995 (atan2Mp): Add systemtap probe marker.
16996 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16997 (__ieee754_log): Add systemtap probe marker.
16998 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16999 (atanMp): Add systemtap probe marker.
17000 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17001 (tanMp): Add systemtap probe marker.
17002 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17003 (__slowexp): Add systemtap probe marker.
17004 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17005 (__slowpow): Add systemtap probe marker.
17006 * manual/probes.texi: Document probes.
17008 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17011 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17013 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17015 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17016 written to buffer but not flushed.
17017 * libio/iofwrite_u.c: Likewise.
17018 * libio/iopadn.c: Return bytes returned even if EOF was
17020 * libio/iowpadn.c: Likewise.
17021 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17022 if _IO_padn does not write the whole buffer.
17023 [!COMPILE_WPRINTF] (PAD): Likewise.
17025 2013-10-10 David S. Miller <davem@davemloft.net>
17027 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17030 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17032 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17033 instead of FSF address.
17034 * soft-fp/fixdfti.c: Likewise.
17035 * soft-fp/fixsfti.c: Likewise.
17036 * soft-fp/fixtfti.c: Likewise.
17037 * soft-fp/fixunsdfti.c: Likewise.
17038 * soft-fp/fixunssfti.c: Likewise.
17039 * soft-fp/fixunstfti.c: Likewise.
17040 * soft-fp/floattidf.c: Likewise.
17041 * soft-fp/floattisf.c: Likewise.
17042 * soft-fp/floattitf.c: Likewise.
17043 * soft-fp/floatuntidf.c: Likewise.
17044 * soft-fp/floatuntisf.c: Likewise.
17045 * soft-fp/floatuntitf.c: Likewise.
17046 * soft-fp/trunctfxf2.c: Likewise.
17048 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17049 * soft-fp/fixdfti.c: Likewise.
17050 * soft-fp/fixsfti.c: Likewise.
17051 * soft-fp/fixtfti.c: Likewise.
17052 * soft-fp/fixunsdfti.c: Likewise.
17053 * soft-fp/fixunssfti.c: Likewise.
17054 * soft-fp/fixunstfti.c: Likewise.
17055 * soft-fp/floattidf.c: Likewise.
17056 * soft-fp/floattisf.c: Likewise.
17057 * soft-fp/floattitf.c: Likewise.
17058 * soft-fp/floatuntidf.c: Likewise.
17059 * soft-fp/floatuntisf.c: Likewise.
17060 * soft-fp/floatuntitf.c: Likewise.
17061 * soft-fp/trunctfxf2.c: Likewise.
17063 2013-10-10 David S. Miller <davem@davemloft.net>
17065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17067 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17069 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17070 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17071 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17072 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17073 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17074 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17075 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17078 for NaNs before doing comparisons on argument.
17079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17082 2013-10-10 Will Newton <will.newton@linaro.org>
17084 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17085 passed to _int_memalign does not overflow.
17087 2013-10-10 Torvald Riegel <triegel@redhat.com>
17089 * scripts/bench.pl: Add include-sources directive.
17090 * benchtests/README: Update documentation.
17092 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17094 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17095 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17096 instead of FP_INIT_ROUNDMODE.
17097 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17098 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17101 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17102 copy class of input value.
17103 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17104 not handle exceptions.
17105 * soft-fp/negsf2.c (__negsf2): Likewise.
17106 * soft-fp/negtf2.c (__negtf2): Likewise.
17107 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17109 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17111 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17112 semicolon. From Linux kernel.
17114 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17116 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17118 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17121 * manual/socket.texi: Added statement about buffer
17122 for gethostbyname2_r.
17124 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17126 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17127 Use .p2align directive instead, throughout.
17128 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17129 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17130 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17131 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17132 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17133 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17134 * sysdeps/x86_64/strchr.S: Likewise.
17135 * sysdeps/x86_64/strrchr.S: Likewise.
17137 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17139 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17141 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17143 * sysdeps/generic/math_private.h (__mpsin1): Remove
17145 (__mpcos1): Likewise.
17146 (__mpsin): New argument __range_reduce.
17147 (__mpcos): Likewise.
17148 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17149 (slow): Use __mpsin and __mpcos.
17153 (sloww1): Likewise.
17154 (sloww2): Likewise.
17155 (bsloww): Likewise.
17156 (bsloww1): Likewise.
17157 (bsloww2): Likewise.
17158 (cslow2): Likewise.
17159 (csloww): Likewise.
17160 (csloww1): Likewise.
17161 (csloww2): Likewise.
17162 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17163 range_reduce. Merge in __mpsin1.
17164 (__mpcos): Likewise.
17165 (__mpsin1): Remove.
17166 (__mpcos1): Likewise.
17168 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17170 * locale/loadlocale.c (_nl_intern_locale_data): Use
17172 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17173 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17174 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17175 obstack data is appropriately aligned.
17176 (obstack_int32_grow_fast): Likewise.
17177 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17178 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17179 (add_locale_uint32_array): Likewise.
17181 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17183 * benchtests/Makefile: Remove ARGLIST and RET variables.
17184 ($(objpfx)bench-%.c): Pass only function name to the script.
17185 * benchtests/README: Update documentation.
17186 * benchtests/acos-inputs: Add new directives.
17187 * benchtests/acosh-inputs: Likewise.
17188 * benchtests/asin-inputs: Likewise.
17189 * benchtests/asinh-inputs: Likewise.
17190 * benchtests/atan-inputs: Likewise.
17191 * benchtests/atanh-inputs: Likewise.
17192 * benchtests/cos-inputs: Likewise.
17193 * benchtests/cosh-inputs: Likewise.
17194 * benchtests/exp-inputs: Likewise.
17195 * benchtests/log-inputs: Likewise.
17196 * benchtests/pow-inputs: Likewise.
17197 * benchtests/rint-inputs: Likewise.
17198 * benchtests/sin-inputs: Likewise.
17199 * benchtests/sinh-inputs: Likewise.
17200 * benchtests/tan-inputs: Likewise.
17201 * benchtests/tanh-inputs: Likewise.
17202 * scripts/bench.pl: Add support for new directives.
17204 2013-10-07 Alan Modra <amodra@gmail.com>
17206 * README: Fix careless merge.
17208 2013-10-05 Alan Modra <amodra@gmail.com>
17210 * NEWS: Mention powerpc64le support and bugs fixed.
17211 * README: Both big-endian and little-endian powerpc64 supported.
17213 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17215 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17216 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17217 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17218 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17220 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17222 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17225 2013-10-04 Joseph Myers <joseph@codesourcery.com>
17227 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17228 Move -mhard-float appending from
17229 ports/sysdeps/powerpc/powerpc32/Makefile.
17230 [$(with-fp) = yes] (ASFLAGS): Likewise.
17231 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17232 * sysdeps/powerpc/nofpu: Move directory from
17233 ports/sysdeps/powerpc/nofpu.
17234 * sysdeps/powerpc/soft-fp: Move directory from
17235 ports/sysdeps/powerpc/soft-fp.
17236 * sysdeps/powerpc/powerpc32/405: Move directory from
17237 ports/sysdeps/powerpc/powerpc32/405.
17238 * sysdeps/powerpc/powerpc32/440: Move directory from
17239 ports/sysdeps/powerpc/powerpc32/440.
17240 * sysdeps/powerpc/powerpc32/464: Move directory from
17241 ports/sysdeps/powerpc/powerpc32/464.
17242 * sysdeps/powerpc/powerpc32/476: Move directory from
17243 ports/sysdeps/powerpc/powerpc32/476.
17244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17245 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17247 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17249 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17251 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17253 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17254 * README: Update for powerpc-*-linux-gnu software floating point
17257 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17258 case to powerpc/powerpc32*.
17259 * sysdeps/unix/sysv/linux/configure: Regenerated.
17261 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17262 (_FPU_MASK_OM): Define as 0x04.
17263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17271 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17274 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17277 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17278 and setcontext_e500.
17280 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17282 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17284 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17286 * manual/threads.texi (Default Thread Attributes): Fix typo.
17288 2013-10-04 Will Newton <will.newton@linaro.org>
17290 * malloc/Makefile: Add tst-memalign.
17291 * malloc/tst-memalign.c: New file.
17293 * malloc/tst-posix_memalign.c: Add comments.
17294 (do_test): Add comments and call free on all potentially
17295 allocated pointers. Add space after cast.
17297 * malloc/tst-pvalloc.c: Add comments.
17298 (do_test): Add comments and call free on all potentially
17299 allocated pointers. Remove duplicate check for NULL pointer.
17300 Add space after cast.
17302 * malloc/tst-valloc.c: Add comments.
17303 (do_test): Add comments and call free on all potentially
17304 allocated pointers. Remove duplicate check for NULL pointer.
17305 Add space after cast.
17307 2013-10-04 Alan Modra <amodra@gmail.com>
17309 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17310 Use stdint types in rather than __attribute__((mode())).
17311 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17313 2013-10-04 Alan Modra <amodra@gmail.com>
17315 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17316 Correct handling of unaligned relocs for little-endian.
17317 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17319 2013-10-04 Alan Modra <amodra@gmail.com>
17321 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17322 * configure: Regenerate.
17323 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17324 * shlib-versions: Likewise.
17326 2013-10-04 Alan Modra <amodra@gmail.com>
17328 * string/tester.c (test_memrchr): Increment reported test cycle.
17330 2013-10-04 Alan Modra <amodra@gmail.com>
17332 * string/test-memcpy.c (do_one_test): When reporting errors, print
17333 string address and don't overrun end of string.
17335 2013-10-04 Alan Modra <amodra@gmail.com>
17337 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17338 insrdi. Make better use of reg selection to speed exit slightly.
17339 Schedule entry path a little better. Remove useless "are we done"
17340 checks on entry to main loop. Handle wrapping around zero address.
17341 Correct main loop count. Handle single left-over word from main
17342 loop inline rather than by using loop_small. Remove extra word
17343 case in loop_small caused by wrong loop count. Add little-endian
17345 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17346 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17348 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17349 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17350 support. Avoid rlwimi.
17351 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17353 2013-10-04 Alan Modra <amodra@gmail.com>
17355 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17356 insrdi. Formatting.
17357 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17358 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17359 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17360 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17361 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17362 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17364 2013-10-04 Alan Modra <amodra@gmail.com>
17366 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17367 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17368 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17369 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17370 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17371 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17372 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17373 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17374 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17375 use of regs. Use power7 mtocrf. Tidy function tails.
17377 2013-10-04 Alan Modra <amodra@gmail.com>
17379 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17380 Formatting. Consistently use rXXX register defines or rN defines.
17381 Use early exit labels that avoid restoring unused non-volatile regs.
17382 Make cr field use more consistent with rWORDn compares. Rename
17383 regs used as shift registers for unaligned loop, using rN defines
17384 for short lifetime/multiple use regs.
17385 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17386 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17387 addi 1,1,64 to pop stack frame. Simplify return value code.
17388 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17390 2013-10-04 Alan Modra <amodra@gmail.com>
17392 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17393 support. Correct typos, formatting. Optimize tail. Use insrdi
17394 rather than rlwimi.
17395 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17396 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17397 little-endian support. Correct typos.
17398 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17399 rather than rlwimi.
17400 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17401 in loop and entry code to keep "and." results.
17402 (strchr): Add little-endian support. Comment. Move cntlzd
17404 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17406 2013-10-04 Alan Modra <amodra@gmail.com>
17408 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17409 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17410 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17411 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17413 2013-10-04 Alan Modra <amodra@gmail.com>
17415 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17416 (rTMP): Define as r11.
17417 (strcmp): Add little-endian support. Optimise tail.
17418 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17419 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17420 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17421 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17422 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17424 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17426 2013-10-04 Alan Modra <amodra@gmail.com>
17428 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17429 little-endian support. Remove unnecessary "are we done" tests.
17430 Handle "s" wrapping around zero and extremely large "size".
17431 Correct main loop count. Handle single left-over word from main
17432 loop inline rather than by using small_loop. Correct comments.
17433 Delete "zero" tail, use "end_max" instead.
17434 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17436 2013-10-04 Alan Modra <amodra@gmail.com>
17438 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17439 support. Don't branch over align.
17440 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17441 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17442 support. Rearrange tmp reg use to suit. Comment.
17443 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17445 2013-10-04 Alan Modra <amodra@gmail.com>
17447 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17449 2013-10-04 Alan Modra <amodra@gmail.com>
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17452 conditional form of branch and link when obtaining pc.
17453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17455 2013-10-04 Alan Modra <amodra@gmail.com>
17457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17462 2013-10-04 Alan Modra <amodra@gmail.com>
17464 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17465 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17466 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17467 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17468 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17469 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17470 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17471 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17472 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17473 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17475 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17476 Alistair Popple <alistair@ozlabs.au.ibm.com>
17477 Alan Modra <amodra@gmail.com>
17480 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17481 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17482 _dl_hwcap access for little-endian.
17483 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17484 destroy vmx regs when saving unaligned.
17485 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17486 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17487 destroy vmx regs when saving unaligned.
17489 2013-10-04 Alan Modra <amodra@gmail.com>
17491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17492 Don't use a union to pack hi/low value.
17494 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17496 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17498 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17500 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17501 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17502 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17504 2013-10-04 Alan Modra <amodra@gmail.com>
17506 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17507 constants to usual value for .cst8 section, and remove redundant
17509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17510 constant for 0x1p52. Load little-endian words of double from
17511 correct stack offsets.
17513 2013-10-04 Alan Modra <amodra@gmail.com>
17515 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17516 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17517 words of double from correct stack offsets.
17518 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17519 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17520 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17521 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17523 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17524 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17525 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17526 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17527 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17528 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17529 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17530 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17531 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17532 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17533 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17534 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17536 2013-10-04 Alan Modra <amodra@gmail.com>
17538 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17539 64-bit int/double union.
17540 (_FPU_SETCW): Likewise.
17541 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17542 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17544 2013-10-04 Alan Modra <amodra@gmail.com>
17546 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17547 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17549 2013-10-04 Alan Modra <amodra@gmail.com>
17551 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17552 use vector int constants.
17553 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17555 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17557 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17558 array with long long.
17559 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17560 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17561 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17562 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17563 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17564 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17565 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17566 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17567 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17568 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17569 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17570 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17571 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17573 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17575 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17576 (__signbit): Likewise. Correct for little-endian.
17577 (__signbitl): Call __signbit.
17578 (lrint): Correct for little-endian.
17579 (lrintf): Call lrint.
17581 2013-10-04 Alan Modra <amodra@gmail.com>
17583 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17584 union 32-bit int array member with 64-bit int array.
17585 (t515, tm256): Double rather than long double.
17586 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17588 2013-10-04 Alan Modra <amodra@gmail.com>
17590 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17592 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17593 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17594 version of math_ldbl.h.
17596 2013-10-04 Alan Modra <amodra@gmail.com>
17598 [BZ #15734], [BZ #15735]
17599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17600 all uses of ieee875 long double macros and unions. Simplify test
17601 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17602 ldbl_extract_mantissa value for ix,iy exponents. Properly
17603 normalize after ldbl_extract_mantissa, and don't add hidden bit
17604 already handled. Don't treat low word of ieee854 mantissa like
17605 low word of IBM long double and mask off bit when testing for
17607 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17608 all uses of ieee875 long double macros and unions. Simplify tests
17609 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17610 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17611 two1022, instead use their values. Recognise that tests for large
17612 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17613 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17614 Rewrite all uses of ieee875 long double macros and unions. Simplify
17615 test for 0.0L and nan. Correct negation.
17616 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17617 ieee875 long double macros and unions. Correct output for large
17618 magnitude x. Correct absolute value calculation.
17619 (__erfcl): Likewise.
17620 * math/libm-test.inc: Add tests for errors discovered in IBM long
17621 double versions of fmodl, remainderl, erfl and erfcl.
17623 2013-10-04 Alan Modra <amodra@gmail.com>
17625 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17626 all uses of ieee854 long double macros and unions. Simplify tests
17627 for long doubles that are fully specified by the high double.
17628 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17630 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17631 Remove dead code too.
17632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17633 (__ieee754_ynl): Likewise.
17634 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17635 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17637 Remove dead code too.
17638 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17639 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17640 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17641 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17643 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17645 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17648 Comment on variable precision.
17649 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17650 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17652 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17656 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17658 2013-10-04 Alan Modra <amodra@gmail.com>
17660 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17661 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17662 all uses of ieee854 long double macros and unions.
17663 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17665 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17667 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17668 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17671 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17672 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17673 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17674 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17675 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17676 Simplify sign and nan test too.
17677 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17678 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17679 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17680 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17682 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17683 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17685 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17686 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17687 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17688 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17689 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17692 2013-10-04 Alan Modra <amodra@gmail.com>
17694 * stdio-common/printf_size.c (__printf_size): Don't use
17695 union ieee854_long_double in fpnum union.
17696 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17697 signbit macro to retrieve sign from long double.
17698 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17699 retrieve sign from long double.
17700 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17701 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17702 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17703 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17704 * math/test-misc.c (main): Don't use union ieee854_long_double.
17706 2013-10-04 Alan Modra <amodra@gmail.com>
17709 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17710 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17711 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17712 calculation. Remove unnecessary test for denormal exponent.
17713 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17714 Correct handling of denormals. Avoid undefined shift behaviour.
17715 Correct normalisation of low mantissa when low double is denormal.
17716 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17717 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17718 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17719 Correct normalisation of low mantissa. Test for overflow of high
17720 mantissa and normalise.
17721 (ldbl_nearbyint): Use more readable constant for two52.
17722 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17723 (__mpn_construct_long_double): Fix test for overflow of high
17724 mantissa and correct normalisation. Avoid undefined shift.
17726 2013-10-04 Alan Modra <amodra@gmail.com>
17728 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17729 (union ibm_extended_long_double): Define as an array of ieee754_double.
17730 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17731 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17732 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17733 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17735 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17736 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17738 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17739 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17740 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17742 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17744 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17745 page size instead of calling getpagesize.
17747 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17748 (LOCFILE_ALIGN_MASK): Likewise.
17749 (LOCFILE_ALIGN_UP): Likewise.
17750 (LOCFILE_ALIGNED_P): Likewise.
17751 * locale/programs/ld-collate.c (collate_output): Use the new
17752 macros instead of __alignof__ (int32_t).
17753 * locale/weight.h (findidx): Likewise.
17755 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17758 * manual/string.texi: Fix strncat and wcsncat.
17760 2013-10-03 Brooks Moses <bmoses@google.com>
17763 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17764 * Makerules: ...here, and adjust associated comments.
17766 2013-10-02 Will Newton <will.newton@linaro.org>
17768 * malloc/Makefile: Add tst-pvalloc.
17769 * malloc/tst-pvalloc.c: New file.
17771 2013-10-02 Will Newton <will.newton@linaro.org>
17773 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17774 improve test coverage.
17776 2013-10-02 Will Newton <will.newton@linaro.org>
17778 * malloc/Makefile: Add tst-posix_memalign.
17779 * malloc/tst-posix_memalign.c: New file.
17781 2013-10-01 Eric Blake <eblake@redhat.com>
17783 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17784 Use __THROWNL rather than __THROW on static functions.
17786 2013-09-30 Petr Machata <pmachata@redhat.com>
17788 * elf/elf.h (R_AARCH64_ABS16): New macro.
17789 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17790 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17791 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17792 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17793 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17794 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17795 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17796 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17797 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17798 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17799 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17800 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17801 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17802 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17803 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17804 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17805 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17806 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17807 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17808 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17809 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17810 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17811 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17812 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17813 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17814 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17815 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17816 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17817 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17818 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17819 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17820 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17821 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17822 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17823 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17824 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17825 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17826 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17827 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17828 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17829 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17830 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17831 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17832 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17833 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17834 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17835 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17836 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17837 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17838 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17839 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17840 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17841 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17842 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17843 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17844 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17845 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17846 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17847 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17848 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17849 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17850 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17851 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17852 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17853 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17854 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17855 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17856 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17857 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17858 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17859 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17860 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17861 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17862 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17863 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17864 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17865 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17866 (R_AARCH64_TLSDESC_LDR): Likewise.
17867 (R_AARCH64_TLSDESC_ADD): Likewise.
17868 (R_AARCH64_TLSDESC_CALL): Likewise.
17870 2013-09-30 Andreas Schwab <schwab@suse.de>
17873 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17874 the nss database lookup.
17875 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17878 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17880 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17882 2013-09-28 P. J. McDermott <pj@pehjota.net>
17884 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17885 ${Bash-specific parameter/pattern/string} parameter expansion.
17886 * sysdeps/unix/make-syscalls.sh: Likewise.
17888 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17890 * sysdeps/sh/stackguard-macros.h: New file.
17892 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17895 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17896 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17897 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17898 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17899 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17901 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17903 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17904 Fix thread ID register.
17906 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17908 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17909 [POSIX || UNIX98]: Require rather than permitting all symbols from
17911 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17912 element of struct sched_param.
17913 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17914 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17915 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17916 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17919 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17921 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17922 argument calculation.
17924 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17926 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17928 [POSIX] (pthread_attr_t): Do not require type.
17929 [POSIX] (pthread_cond_t): Likewise.
17930 [POSIX] (pthread_condattr_t): Likewise.
17931 [POSIX] (pthread_key_t): Likewise.
17932 [POSIX] (pthread_mutex_t): Likewise.
17933 [POSIX] (pthread_mutexattr_t): Likewise.
17934 [POSIX] (pthread_once_t): Likewise.
17935 [POSIX] (pthread_t): Likewise.
17936 [POSIX-based standards] (pthread_atfork): Expect function.
17938 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17939 Richard Sandiford <richard@codesourcery.com>
17941 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17942 (swap_endianness_p): New extern variable.
17943 (set_big_endian): New inline function.
17944 (maybe_swap_uint32): Likewise.
17945 (maybe_swap_uint32_array): Likewise.
17946 (maybe_swap_uint32_obstack): Likewise.
17947 * locale/programs/locfile.c: Include <stdbool.h>.
17948 (swap_endianness_p): New variable.
17949 (add_locale_uint32): Call maybe_swap_uint32.
17950 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17951 (write_locale_data): Call maybe_swap_uint32_array.
17952 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17954 (obstack_int32_grow_fast): Likewise.
17955 (output_weightwc): Call maybe_swap_uint32_obstack.
17956 (collate_output): Likewise.
17957 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17958 (OPT_LITTLE_ENDIAN): Likewise.
17959 (options): Add --little-endian and --big-endian options.
17960 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17961 * locale/programs/locarchive.c: Include "locfile.h".
17965 (create_archive): Use the new macros to access fields of
17966 structures directly mapped from or written to locale archives.
17967 (oldlocrecentcmp): Likewise.
17968 (enlarge_archive): Likewise.
17969 (insert_name): Likewise.
17970 (add_alias): Likewise.
17971 (add_locale): Likewise.
17972 (delete_locales_from_archive): Likewise.
17973 (show_archive_content): Likewise.
17974 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17977 2013-09-24 Roland McGrath <roland@hack.frob.com>
17979 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17980 http://www.gnu.org/doc/freemanuals.texi.
17981 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17983 2013-09-24 Will Newton <will.newton@linaro.org>
17985 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17988 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17990 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17993 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17995 * manual/threads.texi (POSIX Threads): Fix a typo.
17997 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18000 * string/tst-strcoll-overflow.c: New test case.
18001 * string/Makefile (xtests): Add tst-strcoll-overflow.
18002 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18003 cache if string sizes may cause integer overflow.
18006 * string/strcoll_l.c (coll_seq): New members rule, idx,
18007 save_idx and back_us.
18008 (get_next_seq_nocache): New function.
18009 (do_compare_nocache): New function.
18010 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18013 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18016 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18017 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18018 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18021 * elf/Makefile (tests): Add tst-ptrguard1.
18022 (tests-static): Add tst-ptrguard1-static.
18023 (tst-ptrguard1-ARGS): Define.
18024 (tst-ptrguard1-static-ARGS): Define.
18025 * elf/tst-ptrguard1.c: New file.
18026 * elf/tst-ptrguard1-static.c: New file.
18027 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18028 * sysdeps/i386/stackguard-macros.h: Likewise.
18029 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18030 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18031 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18032 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18033 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18034 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18036 2013-09-23 Hector Marco <hecmargi@upv.es>
18037 Ismael Ripoll <iripoll@disca.upv.es>
18038 Carlos O'Donell <carlos@redhat.com>
18041 * sysdeps/generic/stackguard-macros.h: Define
18042 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18043 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18044 Define __pointer_chk_guard_local.
18045 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18046 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18048 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18051 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18053 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18055 * include/string.h (__ffs): Declare as hidden.
18056 * string/ffs.c (__ffs): Define as hidden.
18057 * sysdeps/i386/ffs.c (__ffs): Likewise.
18058 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18059 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18060 * sysdeps/s390/ffs.c (__ffs): Likewise.
18061 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18063 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18065 * NEWS: Mention malloc probes.
18067 * malloc/arena.c (new_heap): New memory_heap_new probe.
18068 (grow_heap): New memory_heap_more probe.
18069 (shrink_heap): New memory_heap_less probe.
18070 (heap_trim): New memory_heap_free probe.
18071 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18072 (systrim): New memory_sbrk_less probe.
18073 * manual/probes.texi: Document them.
18075 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18076 * manual/probes.texi: Document it.
18078 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18079 (__libc_realloc): Add memory_realloc_retry probe.
18080 (__libc_memalign): Add memory_memalign_retry probe.
18081 (__libc_valloc): Add memory_valloc_retry probe.
18082 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18083 (__libc_calloc): Add memory_calloc_retry probe.
18084 * manual/probes.texi: Document them.
18086 * malloc/arena.c (get_free_list): Add probe
18087 memory_arena_reuse_free_list.
18088 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18089 and memory_arena_reuse.
18090 (arena_get2) [!PER_THREAD]: Likewise.
18091 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18092 memory_arena_reuse_realloc.
18093 * manual/probes.texi: Document them.
18095 * malloc/malloc.c (__libc_free): Add
18096 memory_mallopt_free_dyn_thresholds probe.
18097 (__libc_mallopt): Add multiple memory_mallopt probes.
18098 * manual/probes.texi: Document them.
18100 * malloc/malloc.c: Include stap-probe.h.
18101 (__libc_mallopt): Add memory_mallopt probe.
18102 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18103 * manual/probes.texi: New.
18104 * manual/Makefile (chapters): Add probes.
18105 * manual/threads.texi: Set next node.
18107 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18109 [BZ #15963, #13985]
18110 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18111 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18112 Add `Chinese' to `nan' entry name.
18114 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18116 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18117 (POLYNOMIAL): Likewise.
18118 (TAYLOR_SINCOS): Likewise.
18119 (TAYLOR_SLOW): Likewise.
18120 (__sin): Use TAYLOR_SINCOS.
18122 (slow): Use TAYLOR_SLOW.
18124 (bsloww): Likewise.
18125 (csloww): Likewise.
18127 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18129 * stdlib/strtod_l.c: Fix buffer overrun.
18131 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18133 * benchtests/Makefile (bench): Add sincos.
18134 * benchtests/bench-sincos.c: New file.
18136 * math/libm-test.inc (cos_test_data): New test inputs.
18137 (sin_test_data): Likewise.
18139 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18145 (sloww1): Likewise.
18146 (sloww2): Likewise.
18147 (bsloww1): Likewise.
18148 (bsloww2): Likewise.
18149 (cslow2): Likewise.
18150 (csloww1): Likewise.
18151 (csloww2): Likewise.
18153 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18158 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18162 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18164 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18165 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18166 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18167 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18168 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18169 * elf/cache.c (print_entry): Handle the new cache flags.
18171 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18172 Aldy Hernandez <aldyh@redhat.com>
18174 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18175 Change condition to [_SOFT_FLOAT].
18176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18188 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18191 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18194 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18196 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18197 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18198 (__longjmp): Use LOAD_GP to load saved GPRs.
18199 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18200 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18201 (__sigsetjmp): Use SAVE_GP to save GPRs.
18203 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18204 Do not append -msoft-float.
18205 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18207 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18209 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18211 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18214 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18215 (_FPU_GETCW): Use initial "__" on variable and field names but not
18216 on macro parameter name.
18217 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18218 parentheses around reference to macro parameter.
18220 2013-09-13 Richard Sandiford <richard@codesourcery.com>
18222 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18224 (ctype_startup): Use uint32_t in cast and sizeof for
18227 2013-09-11 Jia Liu <proljc@gmail.com>
18229 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18231 [__FreeBSD__]: Likewise.
18233 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
18235 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18236 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18237 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18238 (strchr): Remove __strchr_sse42 ifunc selection.
18239 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18240 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18242 2013-09-11 Will Newton <will.newton@linaro.org>
18244 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18245 parameter to RES. Remove hardcoded 1000 value.
18246 * benchtests/bench-skeleton.c (main): Pass RES parameter
18247 to TIMING_INIT and multiply result by 1000.
18249 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18253 2013-09-11 Andreas Schwab <schwab@suse.de>
18255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18257 (O_TMPFILE) [__USE_GNU]: Define.
18258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18261 2013-09-11 Will Newton <will.newton@linaro.org>
18264 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18267 2013-09-11 Will Newton <will.newton@linaro.org>
18270 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18273 2013-09-11 Will Newton <will.newton@linaro.org>
18276 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18279 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
18281 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18285 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18287 2013-09-10 Allan McRae <allan@archlinux.org>
18290 * manual/arith.texi (Parsing of Floats): Clarify
18294 * manual/install.texi (Running make install): Mention
18296 * INSTALL: Regenerated.
18298 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18300 * csu/init-first.c (_init): Remove the !SHARED condition around
18301 FPU control word initialization.
18302 * elf/dl-support.c (_dl_fpu_control): New variable.
18303 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18304 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18305 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18306 * math/test-fpucw-static.c: New file.
18307 * math/test-fpucw-ieee.c: New file.
18308 * math/test-fpucw-ieee-static.c: New file.
18309 * math/Makefile (tests): Add `test-fpucw-ieee' and
18311 (tests-static): New variable.
18312 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18314 [($(build-shared),yes)]
18315 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18317 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18320 2013-09-09 Allan McRae <allan@archlinux.org>
18323 * manual/string.texi (Collation Functions): Fix typo in
18325 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18328 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18331 * libio/memstream.c (open_memstream): Fix memory leak.
18332 * libio/wmemstream.c (open_wmemstream): Likewise.
18335 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18337 2013-09-09 Will Newton <will.newton@linaro.org>
18339 * malloc/Makefile: Add tst-realloc to tests.
18340 * malloc/tst-realloc.c: New file.
18342 2013-09-09 Allan McRae <allan@archlinux.org>
18345 * COPYING: Update from GNU website to fix FSF address.
18346 * COPYING.LIB: Likewise.
18348 2013-09-06 David S. Miller <davem@davemloft.net>
18350 * po/zh_TW.po: Update Chinese (traditional) translation from
18351 translation project.
18353 2013-09-06 Richard Sandiford <richard@codesourcery.com>
18354 Joseph Myers <joseph@codesourcery.com>
18356 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18358 (obstack_chunk_alloc): New macro.
18359 (obstack_chunk_free): Likewise.
18360 (record_offset): New function.
18361 (init_locale_data): Likewise.
18362 (align_locale_data): Likewise.
18363 (add_locale_empty): Likewise.
18364 (add_locale_raw_data): Likewise.
18365 (add_locale_raw_obstack): Likewise.
18366 (add_locale_string): Likewise.
18367 (add_locale_wstring): Likewise.
18368 (add_locale_uint32): Likewise.
18369 (add_locale_uint32_array): Likewise.
18370 (add_locale_char): Likewise.
18371 (start_locale_structure): Likewise.
18372 (end_locale_structure): Likewise.
18373 (start_locale_prelude): Likewise.
18374 (end_locale_prelude): Likewise.
18375 (write_locale_data): Take locale_file structure rather than an
18377 * locale/programs/locfile.h: Include "obstack.h".
18378 (struct locale_file): Change to store locale file contents instead
18380 (init_locale_data): New prototype.
18381 (align_locale_data): Likewise.
18382 (add_locale_empty): Likewise.
18383 (add_locale_raw_data): Likewise.
18384 (add_locale_raw_obstack): Likewise.
18385 (add_locale_string): Likewise.
18386 (add_locale_wstring): Likewise.
18387 (add_locale_uint32): Likewise.
18388 (add_locale_uint32_array): Likewise.
18389 (add_locale_char): Likewise.
18390 (start_locale_structure): Likewise.
18391 (end_locale_structure): Likewise.
18392 (start_locale_prelude): Likewise.
18393 (end_locale_prelude): Likewise.
18394 (write_locale_data): Update prototype.
18395 * locale/programs/3level.h (struct TABLE): Remove result field.
18396 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18397 Use new locale_file interface.
18398 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18399 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18400 * locale/programs/ld-address.c (address_output): Use new
18401 locale_file interface.
18402 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18404 (collate_finish): Don't call collseq_table_finalize.
18405 (collate_output): Use new locale_file interface.
18406 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18408 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18409 (TABLE): Move defines earlier in file.
18410 (ELEMENT): Likewise.
18411 (DEFAULT): Likewise.
18412 (wctrans_table_add): Move macro and inline function earlier in
18414 (struct wctype_table): Move type earlier in file.
18415 (add_locale_wctype_table): New static prototype.
18416 (struct locale_ctype_t): Use logical types instead of struct iovec
18417 pointers for members.
18418 (ctype_output): Use new locale_file interface.
18419 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18420 new locale_file interface.
18421 (allocate_arrays): Update for use of new locale_file interface.
18422 * locale/programs/ld-identification.c (identification_output): Use
18423 new locale_file interface.
18424 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18425 * locale/programs/ld-messages.c (messages_output): Likewise.
18426 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18427 * locale/programs/ld-name.c (name_output): Likewise.
18428 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18429 * locale/programs/ld-paper.c (paper_output): Likewise.
18430 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18431 * locale/programs/ld-time.c (time_output): Likewise.
18433 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18435 * benchtests/Makefile: Add memrchr benchmark.
18436 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18437 benchmark as memrchr.
18438 * benchtests/bench-memrchr-ifunc.c: New file.
18439 * benchtests/bench-memrchr.c: New file.
18441 2013-09-06 Will Newton <will.newton@linaro.org>
18443 * benchtests/Makefile (string-bench): Add memcpy.
18445 2013-09-05 Carlos O'Donell <carlos@redhat.com>
18446 Cong Wang <amwang@redhat.com>
18449 * sysdeps/unix/sysv/linux/bits/in.h
18450 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18451 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18452 before __USE_KERNEL_IPV6_DEFS uses.
18453 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18455 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18456 sockaddr_in6, or ipv6_mreq.
18458 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18460 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18461 memory access for final bytes in some large inputs.
18462 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18464 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18466 * string/test-memrchr.c: New file.
18467 * string/test-memrchr-ifunc.c: New file.
18468 * string/Makefile: Add new memrchr testcase.
18470 2013-09-05 Mike Frysinger <vapier@gentoo.org>
18472 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18473 fanotify_init returns EPERM.
18475 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18477 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18479 (top level): Treat second token from macro or constant entries for
18480 allowed headers as allowed.
18481 * include/complex.h: Condition internal declarations on
18483 * include/fenv.h: Condition include of <stdbool.h> and internal
18484 declarations on [!_ISOMAC].
18486 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18489 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18491 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18493 * configure.in (--enable-versioning): Remove configure option.
18494 (libc_cv_asm_symver_directive): Remove configure test.
18495 (libc_cv_ld_version_script_option): Likewise.
18496 (VERSIONING): Remove variable and AC_SUBST.
18497 (DO_VERSIONING): Remove AC_DEFINE.
18498 * configure: Regenerated.
18499 * config.h.in (DO_VERSIONING): Remove macro.
18500 * Makerules [$(versioning) = yes]: Change conditionals to
18501 [$(build-shared) = yes].
18502 * config.make.in (versioning): Remove variable.
18503 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18504 [$(build-shared) = yes].
18505 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18506 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18507 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18508 [$(build-shared) = yes].
18509 * extra-lib.mk [$(versioning) = yes]: Likewise.
18510 * hurd/Makefile [$(versioning) = yes]: Likewise.
18511 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18513 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18515 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18516 [SHARED && !NO_HIDDEN].
18517 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18519 [SHARED && DO_VERSIONING]: Likewise..
18520 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18521 [$(build-shared) = yes].
18522 * manual/install.texi (--disable-versioning): Remove
18524 * INSTALL: Regenerated.
18525 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18527 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18528 [$(build-shared) = yes].
18529 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18530 * sysdeps/i386/i686/multiarch/strstr-c.c
18531 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18532 [SHARED && !NO_HIDDEN].
18533 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18534 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18535 * sysdeps/powerpc/powerpc32/dl-machine.c
18536 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18537 * sysdeps/powerpc/powerpc32/sysdep.h
18538 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18539 to [SHARED && PIC && !NO_HIDDEN].
18540 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18541 conditional to [SHARED].
18543 2013-09-04 Will Newton <will.newton@linaro.org>
18545 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18546 * benchtests/bench-string.h: Include bench-timing.h instead
18547 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18548 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18549 call to HP_TIMING_DIFF_INIT.
18550 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18551 instead of hp-timing.h macros.
18552 * benchtests/bench-memchr.c: Likewise.
18553 * benchtests/bench-memcmp.c: Likewise.
18554 * benchtests/bench-memcpy.c: Likewise.
18555 * benchtests/bench-memmem.c: Likewise.
18556 * benchtests/bench-memmove.c: Likewise.
18557 * benchtests/bench-memset.c: Likewise.
18558 * benchtests/bench-rawmemchr.c: Likewise.
18559 * benchtests/bench-strcasecmp.c: Likewise.
18560 * benchtests/bench-strcasestr.c: Likewise.
18561 * benchtests/bench-strcat.c: Likewise.
18562 * benchtests/bench-strchr.c: Likewise.
18563 * benchtests/bench-strcmp.c: Likewise.
18564 * benchtests/bench-strcpy.c: Likewise.
18565 * benchtests/bench-strcpy_chk.c: Likewise.
18566 * benchtests/bench-strlen.c: Likewise.
18567 * benchtests/bench-strncasecmp.c: Likewise.
18568 * benchtests/bench-strncat.c: Likewise.
18569 * benchtests/bench-strncmp.c: Likewise.
18570 * benchtests/bench-strncpy.c: Likewise.
18571 * benchtests/bench-strnlen.c: Likewise.
18572 * benchtests/bench-strpbrk.c: Likewise.
18573 * benchtests/bench-strrchr.c: Likewise.
18574 * benchtests/bench-strspn.c: Likewise.
18575 * benchtests/bench-strstr.c: Likewise.
18577 2013-09-04 Will Newton <will.newton@linaro.org>
18579 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18581 2013-09-03 Joseph Myers <joseph@codesourcery.com>
18584 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18585 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18586 * math/libm-test.inc (lgamma_test_data): Add more tests.
18587 * sysdeps/i386/fpu/libm-test-ulps: Update.
18588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18590 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
18592 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18593 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18596 Add strcmp-sse2-unaligned
18597 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18599 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18601 * Versions.def (libc): Add GLIBC_2.19.
18603 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18605 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18606 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18608 2013-09-02 Joseph Myers <joseph@codesourcery.com>
18611 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18612 intermediate calculations in recurrence.
18613 (__ieee754_ynf): Likewise.
18614 * math/libm-test.inc (jn_test_data): Do not allow spurious
18615 underflow exception. Add more tests.
18616 (yn_test_data): Add more tests.
18617 * sysdeps/i386/fpu/libm-test-ulps: Update.
18618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18620 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
18622 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18624 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18626 * csu/init-first.c: Fix then/than typos.
18627 * locale/programs/ld-collate.c: Likewise.
18628 * locale/programs/linereader.h: Likewise.
18629 * manual/charset.texi: Likewise.
18630 * manual/filesys.texi: Likewise.
18631 * manual/stdio.texi: Likewise.
18632 * manual/string.texi: Likewise.
18633 * stdlib/fmtmsg.c: Likewise.
18634 * sysdeps/i386/stpncpy.S: Likewise.
18635 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18636 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18637 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18638 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18640 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18642 * elf/dl-open.c: Fix typos.
18643 * iconvdata/gbbig5.c: Likewise.
18644 * iconvdata/iso-2022-jp.c: Likewise.
18645 * iconv/gconv_int.h: Likewise.
18646 * iconv/loop.c: Likewise.
18647 * nis/rpcsvc/nis.h: Likewise.
18648 * resolv/ns_name.c: Likewise.
18649 * stdio-common/vfscanf.c: Likewise.
18650 * streams/stropts.h: Likewise.
18651 * sunrpc/rpc_thread.c: Likewise.
18652 * sysdeps/i386/strpbrk.S: Likewise.
18653 * sysdeps/ieee754/k_standard.c: Likewise.
18654 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18656 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18657 * sysdeps/mach/hurd/profil.c: Likewise.
18658 * sysdeps/s390/dl-procinfo.h: Likewise.
18659 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18660 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18661 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18662 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18663 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18665 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18667 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18670 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18672 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18673 aix specific files.
18674 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18675 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18676 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18677 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18678 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18679 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18680 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18681 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18683 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18684 Roland McGrath <roland@hack.frob.com>
18686 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18687 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18689 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18691 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18692 __executable_start symbol instead of _start.
18694 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18696 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18697 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18699 * sysdeps/gnu/ldsodefs.h: ... this new file.
18701 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18702 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18703 instead of ELFOSABI_LINUX.
18705 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18706 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18707 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18708 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18710 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18711 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18712 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18714 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18715 (ibm_extended_long_double): Add ieee_nan member.
18716 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18717 (do_test): New function.
18719 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18721 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18722 functions, renamed from truncdfsf_test, trunctfsf_test,
18724 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18726 (do_test): Run all these.
18728 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18730 * argp/argp-help.c: Fix typos.
18731 * argp/argp-parse.c: Likewise.
18732 * debug/backtracesyms.c: Likewise.
18733 * elf/elf.h: Likewise.
18734 * malloc/malloc.c: Likewise.
18735 * nis/nis_print.c: Likewise.
18736 * resolv/res_comp.c: Likewise.
18737 * stdlib/stdlib.h: Likewise.
18738 * sunrpc/clnt_tcp.c: Likewise.
18739 * sunrpc/clnt_udp.c: Likewise.
18740 * sunrpc/clnt_unix.c: Likewise.
18741 * sysdeps/unix/bsd/ptsname.c: Likewise.
18742 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18743 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18750 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18752 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18754 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18757 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18760 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18761 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18762 ($(objpfx)bug-dl-leaf): New rule.
18763 ($(objpfx)bug-dl-leaf.so): Likewise.
18764 ($(objpfx)bug-dl-leaf.out): Likewise.
18765 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18766 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18767 * dlfcn/bug-dl-leaf.c: New test.
18768 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18769 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18770 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18771 (dlclose): Likewise.
18772 (dlmopen): Likewise.
18774 2013-08-27 Roland McGrath <roland@hack.frob.com>
18776 * include/netdb.h [!_ISOMAC]:
18777 Don't include <tls.h>.
18778 (h_errno, __libc_h_errno): Move declaration and macros out of
18781 * include/resolv.h [_RESOLV_H_]:
18782 Don't include <tls.h>.
18783 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18784 * resolv/res_libc.c: Don't include <tls.h>.
18785 (_res): Use __attribute__ ((nocommon)) in place of
18786 __attribute__ ((section (".bss"))).
18788 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18789 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18791 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18793 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18794 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18796 * resolv/res_mkquery.c: Include <sys/time.h>.
18798 * inet/ifreq.c: Moved to ...
18799 * sysdeps/unix/ifreq.c: ... here.
18800 * inet/ifreq.c: New file, true stub version.
18802 * socket/sa_len.c: New file.
18803 * socket/Makefile (aux): Add it.
18804 * sysdeps/unix/sysv/linux/Makefile
18805 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18806 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18807 and #include <socket/sa_len.c>.
18808 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18809 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18811 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18812 * bits/socket.h: ... here.
18814 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18815 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18816 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18818 2013-08-27 Andreas Schwab <schwab@suse.de>
18821 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18822 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18823 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18824 * string/test-strcasecmp.c (test_main): Run tests in several
18826 * string/test-strncasecmp.c (test_main): Likewise.
18828 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18829 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18830 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18831 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18832 (__strncasecmp_ssse3) [PIC]: Likewise.
18834 2013-08-26 Roland McGrath <roland@hack.frob.com>
18836 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18838 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18839 instead of explicitly declaring xdecrypt.
18840 * nis/nss_nis/nis-publickey.c: Likewise.
18842 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18845 * nscd/aicache.c: Include res_hconf.h.
18846 (addhstaiX): Initialize res_hconf.
18848 2013-08-26 Andreas Schwab <schwab@suse.de>
18850 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18851 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18853 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18855 * nscd/aicache.c (addhstaiX): Fix indentation.
18857 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18859 * configure.ac: Quote $build_pt_chown test.
18860 * configure: Regenerated.
18862 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18865 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18866 * math/s_cexpf.c (__cexpf): Likewise.
18867 * math/s_cexpl.c (__cexpl): Likewise.
18868 * math/libm-test.inc (cexp_test_data): Correct expected return
18869 value for NaN + i0. Add another test.
18871 2013-08-22 David S. Miller <davem@davemloft.net>
18873 * po/ca.po: Update Catalan translation from translation project.
18874 * po/uk.po: Add Ukrainian translations from translation project.
18876 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18879 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18880 is infinite, not alongside NaN test.
18881 * math/s_fdimf.c (__fdimf): Likewise.
18882 * math/s_fdiml.c (__fdiml): Likewise.
18883 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18884 errno is unchanged.
18886 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18888 * argp/argp-help.c: Fix typos.
18889 * crypt/speeds.c: Likewise.
18890 * csu/check_fds.c: Likewise.
18891 * elf/dl-load.c: Likewise.
18892 * elf/dl-open.c: Likewise.
18893 * elf/reldep3.c: Likewise.
18894 * elf/reldep.c: Likewise.
18895 * elf/sprof.c: Likewise.
18896 * iconv/iconv_charmap.c: Likewise.
18897 * iconv/skeleton.c: Likewise.
18898 * iconv/strtab.c: Likewise.
18899 * io/lockf64.c: Likewise.
18900 * libio/libioP.h: Likewise.
18901 * resolv/gai_notify.c: Likewise.
18902 * resolv/ns_name.c: Likewise.
18903 * resolv/ns_samedomain.c: Likewise.
18904 * resolv/res_send.c: Likewise.
18905 * stdlib/random.c: Likewise.
18906 * sunrpc/rpc/xdr.h: Likewise.
18907 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18908 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18909 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18910 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18911 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18912 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18913 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18914 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18915 * sysdeps/mach/hurd/check_fds.c: Likewise.
18916 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18917 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18918 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18919 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18920 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18921 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18922 * sysdeps/pthread/aio_notify.c: Likewise.
18923 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18924 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18925 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18926 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18927 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18929 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18931 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18932 version if bit_Slow_SSE4_2 is set.
18933 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18936 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18939 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18940 trampoline stack frame information.
18941 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18942 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18943 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18944 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18945 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18946 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18947 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18948 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18950 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18951 interrupting a syscall and set with option SA_SIGINFO.
18953 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18956 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18957 argument is infinite.
18958 * math/s_cprojf.c (__cprojf): Likewise.
18959 * math/s_cprojl.c (__cprojl): Likewise.
18960 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18961 * math/libm-test.inc (cproj_test_data): Add more tests.
18963 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18966 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18967 size. Use __ffs to determine corresponding shift.
18969 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18970 Roland McGrath <roland@hack.frob.com>
18972 * Makefile (INSTALL): Remove trailing blank lines from output of
18975 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18977 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18978 Align 32 bit compat elf_greg to 8 bytes.
18980 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18982 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18984 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18986 * string/strcoll_l.c (coll_seq): New structure.
18987 (get_next_seq_cached): New function.
18988 (get_next_seq): New function.
18989 (do_compare): New function.
18990 (STRCOLL): Use GNU style definition. Simplify implementation
18991 by using get_next_seq, get_next_seq_cached and do_compare.
18993 2013-08-16 Florian Weimer <fweimer@redhat.com>
18997 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18999 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19001 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19002 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19003 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19005 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19006 GETDENTS_64BIT_ALIGNED.
19007 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19008 * manual/filesys.texi (Reading/Closing Directory): Document
19009 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19011 * manual/conf.texi (Limits for Files): Add portability note to
19012 NAME_MAX, PATH_MAX.
19013 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19015 2013-08-13 Andreas Schwab <schwab@suse.de>
19018 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19020 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19021 LDBL_MAX_EXP >= 16384]: Add tests for it.
19023 2013-08-12 David S. Miller <davem@davemloft.net>
19025 * version.h (RELEASE): Set to "development".
19026 (VERSION): Set to "2.18.90".
19027 * NEWS: Add 2.19 section.
19029 2013-08-03 David S. Miller <davem@davemloft.net>
19031 * po/ko.po: Update Korean translation from translation project.
19033 2013-08-01 David S. Miller <davem@davemloft.net>
19035 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19036 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19039 2013-07-30 David S. Miller <davem@davemloft.net>
19041 * po/fr.po: Update French translation from translation project.
19043 2013-07-28 David S. Miller <davem@davemloft.net>
19045 * po/cs.po: Update Czech translation from translation project.
19047 * po/sv.po: Update Swedish translation from translation project.
19049 2013-07-27 David S. Miller <davem@davemloft.net>
19051 * po/eo.po: Update Esperanto translation from translation project.
19053 * po/vi.po: Update Vietnamese translation from translation project.
19055 * po/de.po: Update German translation from translation project.
19057 2013-07-26 David S. Miller <davem@davemloft.net>
19059 * po/bg.po: Update Bulgarian translation from translation project.
19061 * po/nl.po: Update Dutch translation from translation project.
19062 * po/pl.po: Update Polish translation from translation project.
19063 * po/ru.po: Update Russian translation from translation project.
19065 2013-07-24 David S. Miller <davem@davemloft.net>
19067 * po/libc.pot: Update.
19069 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19071 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19072 variable page size.
19073 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19074 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19075 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19077 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19079 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19081 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19082 Andreas Schwab <schwab@suse.de>
19083 Roland McGrath <roland@hack.frob.com>
19084 Joseph Myers <joseph@codesourcery.com>
19085 Carlos O'Donell <carlos@redhat.com>
19088 * config.h.in: Define HAVE_PT_CHOWN.
19089 * config.make.in (build-pt-chown): New variable.
19090 * configure.in (--enable-pt_chown): New configure option.
19091 * configure: Regenerate.
19092 * login/Makefile: Include Makeconfig. Build pt_chown only if
19093 build-pt-chown is enabled.
19094 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19095 pt_chown to fix pty ownership.
19096 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19098 * manual/install.texi (Configuring and compiling): Mention
19099 --enable-pt_chown. Add @findex for grantpt.
19100 * INSTALL: Regenerate.
19102 2013-07-20 David S. Miller <davem@davemloft.net>
19104 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19105 difference between 32-bit and 64-bit.
19107 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19110 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19111 Avoid system header dependency with -ffreestanding.
19112 ($(objpfx)bits/syscall%d): Likewise.
19114 2013-07-13 David S. Miller <davem@davemloft.net>
19116 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19117 underflows from atanl/atan2l due to bug 15319.
19118 (casinh_test_data): Likewise.
19120 2013-07-07 David S. Miller <davem@davemloft.net>
19122 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19124 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19126 * sysdeps/i386/fpu/libm-test-ulps: Update.
19127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19129 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19131 * configure.in (--enable-lock-elision): Fix message text.
19132 * INSTALL: Regenerate.
19133 * configure: Regenerate.
19135 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19139 2013-07-03 Andreas Jaeger <aj@suse.de>
19141 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19143 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19144 (ptrace_peeksiginfo_args): Add.
19145 (__ptrace_peeksiginfo_flags): Add.
19146 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19147 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19148 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19150 2013-07-03 Allan McRae <allan@archlinux.org>
19152 * sysdeps/i386/fpu/libm-test-ulps: Update.
19154 2013-07-02 David S. Miller <davem@davemloft.net>
19156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19158 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19162 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19164 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19167 2013-07-02 Andi Kleen <ak@linux.intel.com>
19169 * config.h.in (ENABLE_LOCK_ELISION): Add.
19170 * configure.in (--enable-lock-elision): Add option.
19171 * manual/install.texi: Document --enable lock elision.
19172 * configure: Regenerate
19173 * INSTALL: Regenerate.
19175 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19177 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19178 SSE4.2 strcasecmp for libc.a.
19179 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19181 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19184 * soft-fp/op-common.h (_FP_FMA): New macro.
19185 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19186 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19187 (_FP_MUL_MEAT_1_imm): ... here.
19188 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19189 (_FP_MUL_MEAT_1_wide): ... here.
19190 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19191 (_FP_MUL_MEAT_1_hard): ... here.
19192 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19193 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19194 (_FP_MUL_MEAT_2_wide): ... here.
19195 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19196 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19197 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19198 (_FP_MUL_MEAT_2_gmp): ... here.
19199 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19200 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19201 (_FP_MUL_MEAT_4_wide): ... here.
19202 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19203 (_FP_MUL_MEAT_4_gmp): ... here.
19204 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19205 (_FP_WFRACBITS_DW_S): Likewise.
19206 (_FP_WFRACXBITS_DW_S): Likewise.
19207 (_FP_HIGHBIT_DW_S): Likewise.
19208 (FP_FMA_S): Likewise.
19209 (_FP_FRAC_HIGH_DW_S): Likewise.
19210 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19211 (_FP_WFRACBITS_DW_D): Likewise.
19212 (_FP_WFRACXBITS_DW_D): Likewise.
19213 (_FP_HIGHBIT_DW_D): Likewise.
19214 (FP_FMA_D): Likewise.
19215 (_FP_FRAC_HIGH_DW_D): Likewise.
19216 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19217 (_FP_WFRACBITS_DW_E): Likewise.
19218 (_FP_WFRACXBITS_DW_E): Likewise.
19219 (_FP_HIGHBIT_DW_E): Likewise.
19220 (FP_FMA_E): Likewise.
19221 (_FP_FRAC_HIGH_DW_E): Likewise.
19222 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19223 (_FP_WFRACBITS_DW_Q): Likewise.
19224 (_FP_WFRACXBITS_DW_Q): Likewise.
19225 (_FP_HIGHBIT_DW_Q): Likewise.
19226 (FP_FMA_Q): Likewise.
19227 (_FP_FRAC_HIGH_DW_Q): Likewise.
19228 * soft-fp/fmasf4.c: New file.
19229 * soft-fp/fmadf4.c: Likewise.
19230 * soft-fp/fmatf4.c: Likewise.
19232 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19235 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19237 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19239 (index_Slow_SSE4_2): Likewise.
19240 (index_Prefer_PMINUB_for_stringop): Likewise.
19241 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19242 bit_Slow_SSE4_2 is set.
19243 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19244 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19246 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19248 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19249 rtld_global._dl_hwcap2.
19250 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19252 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19253 POWER8 feature descriptions defined in _dl_hwcap2.
19254 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19255 string handling for POWER8 feature bits.
19256 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19257 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19258 _dl_powerpc_cap_flags.
19259 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19260 * sysdeps/powerpc/rtld-global-offsets.sym
19261 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19262 _dl_hwcap2 in the rtld_global_ro structure.
19264 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19266 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19267 hardware capabilities in support of AT_HWCAP2.
19268 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19269 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19271 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19272 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19273 explicitly the unknown a_type display mechanism is used.
19274 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19275 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19277 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19278 to macro prototype for AT_HWCAP2 support.
19279 * sysdeps/i386/dl-procinfo.h: Likewise.
19280 * sysdeps/s390/dl-procinfo.h: Likewise.
19281 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19282 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19283 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19284 return -1 for unknown a_type display fallback.
19285 * sysdeps/sparc/dl-procinfo.h: Likewise.
19286 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19287 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19289 2013-06-28 Joseph Myers <joseph@codesourcery.com>
19291 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19292 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19294 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19297 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19298 mprotect making __stack_prot writable.
19300 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19301 Joseph Myers <joseph@codesourcery.com>
19303 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19304 as being properly aligned.
19306 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19308 * dlfcn/modstatic5.c: New file.
19309 * dlfcn/tststatic5.c: New file.
19310 * dlfcn/Makefile (tests): Add tststatic5.
19311 (tests-static): Likewise.
19312 (modules-names): Add modstatic5.
19313 (tststatic5-ENV): New variable.
19314 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19317 * elf/dl-support.c (_dl_main_map): New variable.
19318 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19319 (_dl_nns, _dl_load_adds): Set to 1.
19320 (_dl_initial_searchlist): Refer to _dl_main_map.
19321 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19322 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19323 call to _dl_get_origin.
19324 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19326 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19327 * dlfcn/modstatic3.c: New file.
19328 * dlfcn/tststatic3.c: New file.
19329 * dlfcn/tststatic4.c: New file.
19330 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19331 (tests-static): Likewise.
19332 (modules-names): Add modstatic3.
19333 (tststatic3-ENV, tststatic4-ENV): New variables.
19334 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19335 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19337 2013-06-26 Joseph Myers <joseph@codesourcery.com>
19339 * configure.in (CC): Require GCC version 4.4 or later.
19340 * configure: Regenerated.
19341 * manual/install.texi (Tools for Compilation): Update GCC version
19343 * INSTALL: Regenerated.
19345 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19348 * string/test-memcmp.c (check2): New.
19349 (main): Call check2.
19351 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19353 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19356 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19358 (dl_open_worker) [!SHARED]: ... here.
19360 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19362 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19364 2013-06-25 Richard Henderson <rth@redhat.com>
19366 * locale/programs/locarchive.c: Include <libc-internal.h>
19368 2013-06-25 Joseph Myers <joseph@codesourcery.com>
19370 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19371 trailing whitespace removed.
19373 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19376 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19377 * locale/programs/locarchive.c: Include libc-mmap.h.
19378 (prepare_address_space): Take two new outputs (the mmap base and len).
19379 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19381 (create_archive): Declare new mmap base and len values for
19382 prepare_address_space, and store the result in ah.
19383 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19384 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19385 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19386 Declare new mmap base and len values for
19387 prepare_address_space, and store the result in new_ah.
19388 (open_archive): Declare new mmap base and len values for
19389 prepare_address_space, and store the result in ah.
19390 (close_archive): If ah->mmap_base is not NULL, use that and
19391 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19392 * sysdeps/generic/libc-mmap.h: New file.
19394 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19396 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19397 (ALIGN_UP): Likewise.
19398 (PTR_ALIGN_DOWN): Likewise.
19399 (PTR_ALIGN_UP): Likewise.
19401 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19403 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19404 entry mapped to PPC_PLATFORM_POWER8.
19405 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19407 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19408 (_dl_string_platform): Add case for exporting platform position for
19410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19411 search path to sysdeps/powerpc/powerpc32/power8 directory.
19412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19413 search path to sysdeps/powerpc/powerpc64/power8 directory.
19414 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19415 power7 directories.
19416 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19417 power7 directories.
19419 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19421 * INSTALL: Regenerate.
19423 * nscd/connections.c (nscd_init): Fix comment.
19425 2013-06-22 Joseph Myers <joseph@codesourcery.com>
19427 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19430 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19431 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19433 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19435 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19437 (DL_DST_REQ_STATIC): Remove macro.
19439 2013-06-21 Joseph Myers <joseph@codesourcery.com>
19442 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19443 with a shift of 0 bits.
19445 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19447 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19450 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19453 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19455 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19457 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19458 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19459 accepts -fno-tree-loop-distribute-patterns.
19460 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19461 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19463 * string/memset.c (memset): Likewise.
19464 * string/test-memmove.c (simple_memmove): Disable loop transformation
19466 * string/test-memset.c (simple_memset): Likewise.
19467 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19468 * benchtests/bench-memset.c (simple_memset): Likewise.
19469 * configure: Regenerated.
19471 2013-06-20 Joseph Myers <joseph@codesourcery.com>
19473 * math/test-misc.c (main): Ignore fesetround failure when failures
19474 of subsequent rounding tests would be ignored.
19477 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19478 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19479 * math/fegetenv.c (__fegetenv): Return 0.
19480 * math/fegetexcept.c (fegetexcept): Return 0.
19481 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19483 * math/feholdexcpt.c (feholdexcept): Return 0.
19484 * math/fesetenv.c (__fesetenv): Return 0.
19485 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19486 argument FE_TONEAREST.
19487 * math/feupdateenv.c (__feupdateenv): Return 0.
19488 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19490 2013-06-18 Roland McGrath <roland@hack.frob.com>
19492 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19493 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19494 ($(objpfx)rtld-%.os rules): Use them.
19496 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19498 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19501 2013-06-17 Roland McGrath <roland@hack.frob.com>
19503 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19504 length of target pattern, then descending length of dependency pattern.
19505 * configure.in (AWK): Require gawk 3.1.2 or newer.
19506 * manual/install.texi (Tools for Compilation): Say that we do.
19507 * configure: Regenerated.
19509 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19510 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19511 * scripts/sysd-rules.awk: ... this new script.
19512 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19513 than a glob-style pattern.
19515 2013-06-17 Joseph Myers <joseph@codesourcery.com>
19517 * math/test-misc.c (main): Do not treat incorrectly rounded
19518 conversions as failure unless ROUNDING_TESTS passes.
19520 2013-06-15 Joseph Myers <joseph@codesourcery.com>
19523 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19524 restore exception state around main square root computation, then
19525 check for inexactness explicitly.
19527 * math/libm-test.inc (fma_test_data): Add another test.
19529 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19531 * manual/threads.texi (Non-POSIX Extensions): New document
19532 node. Document pthread_getattr_default_np and
19533 pthread_setattr_default_np.
19535 * Versions.def (libpthread): Add GLIBC_2.18.
19536 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19545 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19556 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19559 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19561 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19562 H.J. Lu <hjl.tools@gmail.com>
19565 * sysdeps/x86_64/rtld-memset.c: Remove file.
19566 * sysdeps/x86_64/rtld-memset.S: New file.
19568 2013-06-14 Joseph Myers <joseph@codesourcery.com>
19570 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19571 (test_in_one_mode): Take arguments for whether the rounding mode
19572 is supported for each floating-point type.
19573 (do_test): Pass new arguments to test_in_one_mode using
19576 2013-06-13 Roland McGrath <roland@hack.frob.com>
19578 * posix/tst-waitid.c (do_test): Distinguish different instances of
19579 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19580 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19581 before entering the kernel for waitpid.
19583 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19585 * NEWS: Fix note on clock function precision. Text by Roland
19588 2013-06-13 Roland McGrath <roland@hack.frob.com>
19590 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19591 it into place only when and if the sanity check passes.
19593 2013-06-13 Joseph Myers <joseph@codesourcery.com>
19595 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19596 output for whether conversion result is exact. Take argument
19597 indicating whether type is IBM long double.
19598 (round_for_all): Change need_exact field to ibm_ld.
19599 * stdlib/tst-strtod-round.c (struct exactness): New type.
19600 (struct test): Change bool ld_ok field to struct exactness exact.
19601 (TEST): Update all definitions for change to field.
19602 (tests): Regenerate array contents.
19603 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19604 field value. Check for IBM long double here.
19605 (do_test): Update calls to test_in_one_mode.
19607 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19610 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19611 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19613 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19616 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19617 generated by the compiler on loop optimizations.
19618 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19619 general definitions.
19621 2013-06-12 Joseph Myers <joseph@codesourcery.com>
19623 * math/bug-nextafter.c: Include <math-tests.h>.
19624 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19626 * math/bug-nexttoward.c: Include <math-tests.h>.
19627 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19629 * math/test-misc.c: Include <math-tests.h>.
19630 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19633 2013-06-12 Andreas Jaeger <aj@suse.de>
19635 * po/ia.po: Update Interlingua translation from translation
19638 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19640 * include/fenv.h: Include stdbool.h.
19641 (struct rm_ctx): New structure.
19642 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19644 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19645 (SET_RESTORE_ROUNDF): Likewise.
19646 (SET_RESTORE_ROUNDL): Likewise.
19647 (SET_RESTORE_ROUND_NOEX): Likewise.
19648 (SET_RESTORE_ROUND_NOEXF): Likewise.
19649 (SET_RESTORE_ROUND_NOEXL): Likewise.
19650 (SET_RESTORE_ROUND_53BIT): Likewise.
19651 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19652 (libc_feresetround_noexf_ctx): Likewise.
19653 (libc_feresetround_noexl_ctx): Likewise.
19654 (libc_feholdsetround_53bit_ctx): Likewise.
19655 (libc_feresetround_53bit_ctx): Likewise.
19656 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19657 (libc_feholdexcept_setround_sse_ctx): New function.
19658 (libc_fesetenv_sse_ctx): Likewise.
19659 (libc_feupdateenv_sse_ctx): Likewise.
19660 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19661 (libc_feholdexcept_setround_387_ctx): Likewise.
19662 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19663 (libc_feholdsetround_387_prec_ctx): Likewise.
19664 (libc_feholdsetround_387_ctx): Likewise.
19665 (libc_feholdsetround_387_53bit_ctx): Likewise.
19666 (libc_feholdsetround_sse_ctx): Likewise.
19667 (libc_feresetround_sse_ctx): Likewise.
19668 (libc_feresetround_387_ctx): Likewise.
19669 (libc_feupdateenv_387_ctx): Likewise.
19670 (libc_feholdexcept_setroundf_ctx): Define macro.
19671 (libc_fesetenvf_ctx): Likewise.
19672 (libc_feupdateenvf_ctx): Likewise.
19673 (libc_feholdsetroundf_ctx): Likewise.
19674 (libc_feresetroundf_ctx): Likewise.
19675 (libc_feholdexcept_setround_ctx): Likewise.
19676 (libc_fesetenv_ctx): Likewise.
19677 (libc_feupdateenv_ctx): Likewise.
19678 (libc_feholdsetround_ctx): Likewise.
19679 (libc_feresetround_ctx): Likewise.
19680 (libc_feholdexcept_setroundl_ctx): Likewise.
19681 (libc_feupdateenvl_ctx): Likewise.
19682 (libc_feholdsetroundl_ctx): Likewise.
19683 (libc_feresetroundl_ctx): Likewise.
19684 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19685 (libc_feresetround_53bit_ctx): Likewise.
19687 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19689 * locale/iso-639.def: Convert to UTF-8.
19691 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19693 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19694 (EXCEPTION_TESTS_double): Likewise.
19695 (EXCEPTION_TESTS_long_double): Likewise.
19696 (EXCEPTION_TESTS): Likewise.
19697 * math/libm-test.inc (test_exceptions): Only test exceptions if
19698 EXCEPTION_TESTS (FLOAT).
19700 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19702 * benchtests/Makefile (string-bench): Add strcpy_chk and
19704 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19705 * benchtests/bench-stpcpy_chk.c: New file.
19706 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19707 * benchtests/bench-strcpy_chk.c: New file.
19708 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19710 (do_test): Likewise.
19712 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19714 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19715 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19716 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19717 with tabs where appropriate.
19718 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19720 [PPC_PLATFORM_PPC440]: Likewise.
19721 [PPC_PLATFORM_PPC464]: Likewise.
19722 [PPC_PLATFORM_PPC476]: Likewise.
19723 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19724 ppc464, and ppc476 platform strings merging from ports/
19727 2013-06-11 Andreas Schwab <schwab@suse.de>
19730 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19731 (from_ucs4_idx): Regenerate.
19732 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19733 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19734 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19735 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19736 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19737 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19738 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19739 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19740 from FROM_LOOP and TO_LOOP specific macros.
19741 (BODY): Handle combining characters.
19742 * iconvdata/BIG5HKSCS.irreversible: Update.
19743 * iconvdata/BIG5HKSCS.precomposed: New file.
19744 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19746 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19748 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19750 * include/sys/time.h: Fix indentation and add copyright header.
19752 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19753 (do_test): Likewise.
19754 * string/test-memchr.c (do_one_test): Likewise.
19755 (do_test): Likewise.
19756 * string/test-memcmp.c (do_one_test): Likewise.
19757 (do_test): Likewise.
19758 * string/test-memcpy.c (do_one_test): Likewise.
19759 (do_test): Likewise.
19760 * string/test-memmem.c (do_one_test): Likewise.
19761 (do_test): Likewise.
19762 (do_random_tests): Likewise.
19763 * string/test-memmove.c (do_one_test): Likewise.
19764 (do_test): Likewise.
19765 * string/test-memset.c (do_one_test): Likewise.
19766 (do_test): Likewise.
19767 * string/test-rawmemchr.c (do_one_test): Likewise.
19768 (do_test): Likewise.
19769 * string/test-strcasecmp.c (do_one_test): Likewise.
19770 (do_test): Likewise.
19771 * string/test-strcasestr.c (do_one_test): Likewise.
19772 (do_test): Likewise.
19773 * string/test-strcat.c (do_one_test): Likewise.
19774 (do_test): Likewise.
19775 * string/test-strchr.c (do_one_test): Likewise.
19776 (do_test): Likewise.
19777 * string/test-strcmp.c (do_one_test): Likewise.
19778 (do_test): Likewise.
19779 * string/test-strcpy.c (do_one_test): Likewise.
19780 (do_test): Likewise.
19781 * string/test-string.h: Likewise.
19782 (test_init): Likewise.
19783 * string/test-strlen.c (do_one_test): Likewise.
19784 (do_test): Likewise.
19785 * string/test-strncasecmp.c (do_one_test): Likewise.
19786 (do_test): Likewise.
19787 * string/test-strncat.c (do_one_test): Likewise.
19788 (do_test): Likewise.
19789 * string/test-strncmp.c (do_one_test): Likewise.
19790 (do_test_limit): Likewise.
19791 (do_test): Likewise.
19792 * string/test-strncpy.c (do_one_test): Likewise.
19793 (do_test): Likewise.
19794 * string/test-strnlen.c (do_one_test): Likewise.
19795 (do_test): Likewise.
19796 * string/test-strpbrk.c (do_one_test): Likewise.
19797 (do_test): Likewise.
19798 * string/test-strrchr.c (do_one_test): Likewise.
19799 (do_test): Likewise.
19800 * string/test-strspn.c (do_one_test): Likewise.
19801 (do_test): Likewise.
19802 * string/test-strstr.c (do_one_test): Likewise.
19803 (do_test): Likewise.
19805 * benchtests/Makefile (string-bench): Add string benchmarks.
19806 * benchtests/bench-bcopy-ifunc.c: New file.
19807 * benchtests/bench-bcopy.c: New file.
19808 * benchtests/bench-bzero-ifunc.c: New file.
19809 * benchtests/bench-bzero.c: New file.
19810 * benchtests/bench-memccpy-ifunc.c: New file.
19811 * benchtests/bench-memccpy.c: New file.
19812 * benchtests/bench-memchr-ifunc.c: New file.
19813 * benchtests/bench-memchr.c: New file.
19814 * benchtests/bench-memcmp-ifunc.c: New file.
19815 * benchtests/bench-memcmp.c: New file.
19816 * benchtests/bench-memmem-ifunc.c: New file.
19817 * benchtests/bench-memmem.c: New file.
19818 * benchtests/bench-memmove-ifunc.c: New file.
19819 * benchtests/bench-memmove.c: New file.
19820 * benchtests/bench-mempcpy-ifunc.c: New file.
19821 * benchtests/bench-mempcpy.c: New file.
19822 * benchtests/bench-memset-ifunc.c: New file.
19823 * benchtests/bench-memset.c: New file.
19824 * benchtests/bench-rawmemchr-ifunc.c: New file.
19825 * benchtests/bench-rawmemchr.c: New file.
19826 * benchtests/bench-stpcpy-ifunc.c: New file.
19827 * benchtests/bench-stpcpy.c: New file.
19828 * benchtests/bench-stpncpy-ifunc.c: New file.
19829 * benchtests/bench-stpncpy.c: New file.
19830 * benchtests/bench-strcasecmp-ifunc.c: New file.
19831 * benchtests/bench-strcasecmp.c: New file.
19832 * benchtests/bench-strcasestr-ifunc.c: New file.
19833 * benchtests/bench-strcasestr.c: New file.
19834 * benchtests/bench-strcat-ifunc.c: New file.
19835 * benchtests/bench-strcat.c: New file.
19836 * benchtests/bench-strchr-ifunc.c: New file.
19837 * benchtests/bench-strchr.c: New file.
19838 * benchtests/bench-strchrnul-ifunc.c: New file.
19839 * benchtests/bench-strchrnul.c: New file.
19840 * benchtests/bench-strcmp-ifunc.c: New file.
19841 * benchtests/bench-strcmp.c: New file.
19842 * benchtests/bench-strcpy-ifunc.c: New file.
19843 * benchtests/bench-strcpy.c: New file.
19844 * benchtests/bench-strcspn-ifunc.c: New file.
19845 * benchtests/bench-strcspn.c: New file.
19846 * benchtests/bench-strlen-ifunc.c: New file.
19847 * benchtests/bench-strlen.c: New file.
19848 * benchtests/bench-strncasecmp-ifunc.c: New file.
19849 * benchtests/bench-strncasecmp.c: New file.
19850 * benchtests/bench-strncat-ifunc.c: New file.
19851 * benchtests/bench-strncat.c: New file.
19852 * benchtests/bench-strncmp-ifunc.c: New file.
19853 * benchtests/bench-strncmp.c: New file.
19854 * benchtests/bench-strncpy-ifunc.c: New file.
19855 * benchtests/bench-strncpy.c: New file.
19856 * benchtests/bench-strnlen-ifunc.c: New file.
19857 * benchtests/bench-strnlen.c: New file.
19858 * benchtests/bench-strpbrk-ifunc.c: New file.
19859 * benchtests/bench-strpbrk.c: New file.
19860 * benchtests/bench-strrchr-ifunc.c: New file.
19861 * benchtests/bench-strrchr.c: New file.
19862 * benchtests/bench-strspn-ifunc.c: New file.
19863 * benchtests/bench-strspn.c: New file.
19864 * benchtests/bench-strstr-ifunc.c: New file.
19865 * benchtests/bench-strstr.c: New file.
19867 * benchtests/Makefile: Disable parallel execution of targets.
19868 (string-bench): Add memcpy.
19869 (benchset): New variable to store a list of benchmark sets.
19870 (bench-func): Renamed from bench.
19871 (bench-set): New target.
19872 (bench): Depend on bench-func and bench-set.
19873 * benchtests/README: Add section on benchmark sets.
19874 * benchtests/bench-memcpy-ifunc.c: New file.
19875 * benchtests/bench-memcpy.c: New file.
19876 * benchtests/bench-string.h: New file.
19878 2013-06-11 Andreas Schwab <schwab@suse.de>
19881 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19882 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19883 values in the triple.
19884 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19885 terminator in the group key.
19887 2013-06-11 Andreas Jaeger <aj@suse.de>
19889 * po/zh_TW.po: Update Chinese (traditional) translation from
19890 translation project.
19892 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19894 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19895 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19896 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19897 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19898 (clock_getcpuclockid): Likewise.
19899 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19900 Add weak_alias and libc_hidden_def.
19901 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19902 * rt/clock_gettime.c (clock_gettime): Rename to
19903 __clock_gettime. Add weak_alias and libc_hidden_def.
19904 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19905 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19906 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19907 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19908 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19910 * rt/clock_settime.c (clock_settime): Rename to
19911 __clock_settime. Add weak_alias and libc_hidden_def.
19912 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19914 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19916 * mach/err_boot.sub: Remove trailing whitespace.
19917 * mach/err_ipc.sub: Likewise.
19918 * mach/err_mach.sub: Likewise.
19920 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19921 (ROUNDING_TESTS_double): Likewise.
19922 (ROUNDING_TESTS_long_double): Likewise.
19923 (ROUNDING_TESTS): Likewise.
19924 * math/libm-test.inc: Include <math-tests.h>.
19925 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19926 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19927 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19928 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19930 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19932 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19935 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19937 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19938 otherwise empty TRANS lines.
19939 * sysdeps/gnu/errlist.c: Regenerated.
19941 * catgets/gencat.c (error_print): Use (void) in function
19943 * crypt/crypt_util.c (__init_des): Likewise.
19944 * crypt/speeds.c (Stop): Likewise.
19946 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19947 * inet/ruserpass.c (token): Likewise.
19948 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19949 * intl/localealias.c (extend_alias_table): Likewise.
19950 * intl/plural-exp.c (init_germanic_plural): Likewise.
19951 * libio/fcloseall.c (__fcloseall): Likewise.
19952 * libio/genops.c (_IO_flush_all): Likewise.
19953 (_IO_flush_all_linebuffered): Likewise.
19954 (_IO_cleanup): Likewise.
19955 (_IO_iter_begin): Likewise.
19956 (_IO_iter_end): Likewise.
19957 (_IO_list_lock): Likewise.
19958 (_IO_list_unlock): Likewise.
19959 (_IO_list_resetlock): Likewise.
19960 * libio/getchar.c (getchar): Likewise.
19961 * libio/getchar_u.c (getchar_unlocked): Likewise.
19962 * libio/getwchar.c (getwchar): Likewise.
19963 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19964 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19965 * login/getpt.c (__getpt): Likewise.
19966 * login/tst-utmp.c (main): Likewise.
19967 * malloc/hooks.c (__malloc_check_init): Likewise.
19968 * malloc/malloc.c (__malloc_stats): Likewise.
19969 * malloc/mtrace.c (tr_break): Likewise.
19970 (mtrace): Likewise.
19971 (muntrace): Likewise.
19972 * misc/fstab.c (endfsent): Likewise.
19973 * misc/getclktck.c (__getclktck): Likewise.
19974 * misc/getdtsz.c (__getdtablesize): Likewise.
19975 * misc/gethostid.c (gethostid): Likewise.
19976 * misc/getpagesize.c (__getpagesize): Likewise.
19977 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19978 (__get_nprocs): Likewise.
19979 (__get_phys_pages): Likewise.
19980 (__get_avphys_pages): Likewise.
19981 * misc/getttyent.c (getttyent): Likewise.
19982 (setttyent): Likewise.
19983 (endttyent): Likewise.
19984 * misc/getusershell.c (getusershell): Likewise.
19985 (endusershell): Likewise.
19986 (setusershell): Likewise.
19987 (initshells): Likewise.
19988 * misc/hsearch.c (__hdestroy): Likewise.
19989 * misc/sync.c (sync): Likewise.
19990 * misc/syslog.c (closelog_internal): Likewise.
19991 (closelog): Likewise.
19992 * misc/ttyslot.c (ttyslot): Likewise.
19993 * misc/vhangup.c (vhangup): Likewise.
19994 * posix/fork.c (__fork): Likewise.
19995 * posix/getegid.c (__getegid): Likewise.
19996 * posix/geteuid.c (__geteuid): Likewise.
19997 * posix/getgid.c (__getgid): Likewise.
19998 * posix/getpid.c (__getpid): Likewise.
19999 * posix/getppid.c (__getppid): Likewise.
20000 * posix/getuid.c (__getuid): Likewise.
20001 * posix/pause.c (pause): Likewise.
20002 * posix/setpgrp.c (setpgrp): Likewise.
20003 * posix/setsid.c (__setsid): Likewise.
20004 * posix/test-vfork.c (noop): Likewise.
20005 * resolv/gethnamaddr.c (_endhtent): Likewise.
20006 (_gethtent): Likewise.
20007 (ht_endhostent): Likewise.
20008 (gethostent): Likewise.
20009 (dns_service): Likewise.
20010 * stdlib/drand48.c (drand48): Likewise.
20011 * stdlib/lrand48.c (lrand48): Likewise.
20012 * stdlib/mrand48.c (mrand48): Likewise.
20013 * stdlib/rand.c (rand): Likewise.
20014 * stdlib/random.c (__random): Likewise.
20015 * stdlib/setenv.c (clearenv): Likewise.
20016 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20017 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20018 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20019 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20020 (__get_nprocs): Likewise.
20021 (__get_phys_pages): Likewise.
20022 (__get_avphys_pages): Likewise.
20023 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20024 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20025 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20026 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20027 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20028 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20029 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20030 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20031 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20032 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20033 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20034 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20035 * sysdeps/posix/clock.c (clock): Likewise.
20036 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20037 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20038 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20039 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20040 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20041 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20042 (__get_nprocs_conf): Likewise.
20043 (__get_phys_pages): Likewise.
20044 (__get_avphys_pages): Likewise.
20045 * time/clock.c (clock): Likewise.
20046 * time/tzset.c (__tzname_max): Likewise.
20048 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20050 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20051 (__bswap_32): Do not use "register".
20052 * crypt/crypt.c (_ufc_doit_r): Likewise.
20053 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20054 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20055 * gmon/gmon.c (__monstartup): Likewise.
20056 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20057 * hurd/hurdmalloc.c (more_memory): Likewise.
20058 (malloc): Likewise.
20060 (realloc): Likewise.
20061 (malloc_fork_prepare): Likewise.
20062 (malloc_fork_parent): Likewise.
20063 (malloc_fork_child): Likewise.
20064 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20065 (_svcauth_des): Likewise.
20066 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20067 * inet/inet_net.c (inet_network): Likewise.
20068 * inet/inet_netof.c (inet_netof): Likewise.
20069 * inet/rcmd.c (__validuser2_sa): Likewise.
20070 * io/fts.c (fts_open): Likewise.
20071 (fts_load): Likewise.
20072 (fts_close): Likewise.
20073 (fts_read): Likewise.
20074 (fts_children): Likewise.
20075 (fts_build): Likewise.
20076 (fts_stat): Likewise.
20077 (fts_sort): Likewise.
20078 (fts_alloc): Likewise.
20079 (fts_lfree): Likewise.
20080 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20081 (_IO_file_xsgetn): Likewise.
20082 (_IO_file_xsgetn_mmap): Likewise.
20083 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20084 (_IO_cookie_write): Likewise.
20085 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20086 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20087 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20088 * malloc/obstack.c (_obstack_begin): Likewise.
20089 (_obstack_begin_1): Likewise.
20090 (_obstack_newchunk): Likewise.
20091 (_obstack_allocated_p): Likewise.
20092 (obstack_free): Likewise.
20093 (_obstack_memory_used): Likewise.
20094 * misc/getttyent.c (getttynam): Likewise.
20095 (getttyent): Likewise.
20098 * misc/getusershell.c (initshells): Likewise.
20099 * misc/syslog.c (__vsyslog_chk): Likewise.
20100 * misc/ttyslot.c (ttyslot): Likewise.
20101 * nis/nis_hash.c (__nis_hash): Likewise.
20102 * posix/fnmatch_loop.c (FCT): Likewise.
20103 * posix/getconf.c (print_all): Likewise.
20105 * posix/getopt.c (exchange): Likewise.
20106 * posix/glob.c (globfree): Likewise.
20107 (prefix_array): Likewise.
20108 (__glob_pattern_type): Likewise.
20109 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20110 (NS_GET32): Likewise.
20111 (NS_PUT16): Likewise.
20112 (NS_PUT32): Likewise.
20113 * resolv/gethnamaddr.c (getanswer): Likewise.
20114 (gethostbyname2): Likewise.
20115 (gethostbyaddr): Likewise.
20116 (_gethtent): Likewise.
20117 (_gethtbyname2): Likewise.
20118 (_gethtbyaddr): Likewise.
20119 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20120 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20121 * resolv/res_init.c (__res_vinit): Likewise.
20122 (net_mask): Likewise.
20123 * resolv/res_mkquery.c (outchar): Likewise.
20125 * stdio-common/printf_fp.c (outchar): Likewise.
20127 * stdio-common/printf_fphex.c (outchar): Likewise.
20129 * stdio-common/printf_size.c (outchar): Likewise.
20131 * stdio-common/test_rdwr.c (main): Likewise.
20132 * stdio-common/tfformat.c (matches): Likewise.
20133 * stdio-common/vfprintf.c (outchar): Likewise.
20134 (printf_unknown): Likewise.
20135 (buffered_vfprintf): Likewise.
20136 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20137 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20138 (ReadFile): Likewise.
20139 * stdlib/qsort.c (SWAP): Likewise.
20140 (_quicksort): Likewise.
20141 * stdlib/setenv.c (__add_to_environ): Likewise.
20142 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20143 * stdlib/strtol_l.c (__strtol_l): Likewise.
20144 * stdlib/tst-strtod.c (main): Likewise.
20145 * stdlib/tst-strtol.c (main): Likewise.
20146 * stdlib/tst-strtoll.c (main): Likewise.
20147 * string/bits/string2.h (__strcmp_cc): Likewise.
20148 (__strcmp_cg): Likewise.
20149 (__strcspn_c1): Likewise.
20150 (__strcspn_c2): Likewise.
20151 (__strcspn_c3): Likewise.
20152 (__strspn_c1): Likewise.
20153 (__strspn_c2): Likewise.
20154 (__strspn_c3): Likewise.
20155 (__strsep_1c): Likewise.
20156 (__strsep_2c): Likewise.
20157 (__strsep_3c): Likewise.
20158 * string/memccpy.c (__memccpy): Likewise.
20159 * string/stpcpy.c (__stpcpy): Likewise.
20160 * string/strcmp.c (strcmp): Likewise.
20161 * string/strrchr.c (strrchr): Likewise.
20162 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20164 * sysdeps/mach/hurd/getcwd.c
20165 (_hurd_canonicalize_directory_name_internal): Likewise.
20166 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20167 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20168 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20169 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20170 Likewise, in both definitions.
20171 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20173 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20174 64] (__bswap_64): Likewise.
20175 * time/test_time.c (main): Likewise.
20176 * time/tzfile.c (__tzfile_read): Likewise.
20177 (__tzfile_compute): Likewise.
20178 * time/tzset.c (__tzset_parse_tz): Likewise.
20179 (tzset_internal): Likewise.
20180 (compute_change): Likewise.
20181 * wcsmbs/wcscat.c (__wcscat): Likewise.
20182 * wcsmbs/wcschr.c (wcschr): Likewise.
20183 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20184 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20185 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20186 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20187 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20188 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20189 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20190 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20191 * wcsmbs/wmemset.c (wmemset): Likewise.
20193 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20195 * scripts/config.guess: Update to version 2013-05-16.
20196 * scripts/config.sub: Update to version 2013-04-24.
20197 * scripts/install-sh: Update to version 2011-11-20.07.
20198 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20199 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20201 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20203 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20204 * elf/sln.c: Likewise.
20205 * hurd/hurd/ioctl.h: Likewise.
20206 * hurd/hurdmalloc.c: Likewise.
20207 * hurd/xattr.c: Likewise.
20208 * include/shlib-compat.h: Likewise.
20209 * inet/ruserpass.c: Likewise.
20210 * libio/iofgets_u.c: Likewise.
20211 * libio/iofgetws_u.c: Likewise.
20212 * locale/programs/ld-identification.c: Likewise.
20213 * locale/programs/ld-time.c: Likewise.
20214 * mach/msg-destroy.c: Likewise.
20215 * nss/nss_files/files-netgrp.c: Likewise.
20216 * resolv/res_data.c: Likewise.
20217 * soft-fp/op-1.h: Likewise.
20218 * soft-fp/op-2.h: Likewise.
20219 * soft-fp/op-4.h: Likewise.
20220 * soft-fp/op-common.h: Likewise.
20221 * stdio-common/printf_fphex.c: Likewise.
20222 * stdlib/strtod_l.c: Likewise.
20223 * sunrpc/rpc/clnt.h: Likewise.
20224 * sysdeps/generic/framestate.c: Likewise.
20225 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20226 * sysdeps/i386/bsd-setjmp.S: Likewise.
20227 * sysdeps/i386/__longjmp.S: Likewise.
20228 * sysdeps/i386/setjmp.S: Likewise.
20229 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20230 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20231 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20245 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20247 * sysdeps/ieee754/support.c: Likewise.
20248 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20249 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20250 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20251 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20252 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20253 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20254 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20255 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20256 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20257 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20258 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20259 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20260 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20261 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20262 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20263 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20264 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20267 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
20269 * posix/transbug.c: Remove executable mode.
20271 2013-06-05 Joseph Myers <joseph@codesourcery.com>
20273 * crypt/speeds.c: Remove trailing whitespace.
20274 * dlfcn/default.c: Likewise.
20275 * elf/ifuncdep2.c: Likewise.
20276 * elf/ifuncmain1.c: Likewise.
20277 * elf/ifuncmain1vis.c: Likewise.
20278 * elf/testobj.h: Likewise.
20279 * elf/tst-stackguard1.c: Likewise.
20280 * gmon/sys/gmon.h: Likewise.
20281 * hurd/hurdmsg.c: Likewise.
20282 * hurd/new-fd.c: Likewise.
20283 * hurd/ports-get.c: Likewise.
20284 * iconvdata/ibm1008_420.c: Likewise.
20285 * inet/tst-getni1.c: Likewise.
20286 * inet/tst-getni2.c: Likewise.
20287 * libio/ioungetc.c: Likewise.
20288 * libio/wfiledoalloc.c: Likewise.
20289 * manual/libm-err-tab.pl: Likewise.
20290 * math/w_dremf.c: Likewise.
20291 * misc/ftruncate.c: Likewise.
20292 * posix/bug-glob2.c: Likewise.
20293 * posix/tst-pcre.c: Likewise.
20294 * posix/wait4.c: Likewise.
20295 * resolv/README: Likewise.
20296 * resolv/res_debug.h: Likewise.
20297 * resolv/tst-inet_ntop.c: Likewise.
20298 * setjmp/bug269-setjmp.c: Likewise.
20299 * soft-fp/extended.h: Likewise.
20300 * soft-fp/op-1.h: Likewise.
20301 * soft-fp/op-2.h: Likewise.
20302 * soft-fp/op-4.h: Likewise.
20303 * soft-fp/op-8.h: Likewise.
20304 * soft-fp/testit.c: Likewise.
20305 * stdio-common/bug16.c: Likewise.
20306 * stdlib/random.c: Likewise.
20307 * sunrpc/rpcsvc/rquota.x: Likewise.
20308 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20309 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20310 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20311 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20312 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20313 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20314 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20315 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20316 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20317 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20318 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20319 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20320 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20321 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20322 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20323 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20324 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20326 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20327 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20328 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20329 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20330 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20331 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20332 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20333 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20334 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20335 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20336 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20337 * sysdeps/ieee754/s_lib_version.c: Likewise.
20338 * sysdeps/mach/hurd/check_fds.c: Likewise.
20339 * sysdeps/mach/hurd/getsockname.c: Likewise.
20340 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20341 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20342 * sysdeps/powerpc/bits/link.h: Likewise.
20343 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20344 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20345 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20346 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20347 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20348 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20349 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20350 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20351 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20352 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20353 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20354 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20355 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20356 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20357 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20358 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20359 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20360 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20361 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20362 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20363 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20364 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20365 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20366 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20367 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20368 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20369 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20370 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20371 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20372 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20373 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20374 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20375 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20376 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20377 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20378 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20379 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20380 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20381 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20382 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20383 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20384 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20385 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20386 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20387 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20388 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20389 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20390 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20391 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20392 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20395 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20396 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20397 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20398 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20399 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20400 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20401 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20402 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20403 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20404 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20405 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20406 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20407 * sysdeps/powerpc/sysdep.h: Likewise.
20408 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20409 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20410 * sysdeps/sh/dl-trampoline.S: Likewise.
20411 * sysdeps/sh/memset.S: Likewise.
20412 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20413 * sysdeps/sh/strlen.S: Likewise.
20414 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20415 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20416 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20417 * sysdeps/sparc/sparc32/rem.S: Likewise.
20418 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20419 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20420 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20421 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20422 * sysdeps/sparc/sparc32/urem.S: Likewise.
20423 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20424 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20425 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20426 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20427 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20428 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20429 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20430 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20431 * sysdeps/unix/bsd/times.c: Likewise.
20432 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20433 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20437 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20438 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20439 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20440 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20441 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20442 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20443 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20444 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20445 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20446 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20447 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20448 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20449 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20450 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20451 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20452 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20453 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20454 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20455 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20456 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20457 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20458 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20459 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20460 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20461 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20462 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20463 * sysdeps/x86_64/strcspn.S: Likewise.
20465 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20467 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20468 generated file. Regenerate properly from gen-translit.pl.
20469 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20470 locale/C-translit.h.
20472 2013-06-05 Andreas Schwab <schwab@suse.de>
20475 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20476 week as 6 instead of -1.
20477 * time/tst-strptime.c (day_tests): Add test case.
20479 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20481 * sysdeps/generic/math_private.h
20482 (libc_feholdexcept_setround_53bit): Replace with
20483 libc_feholdsetround_53bit.
20484 (libc_feupdateenv_53bit): Replace with
20485 libc_feresetround_53bit.
20486 (SET_RESTORE_ROUND_53BIT): Adjust.
20488 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20490 * string/test-strchrnul.c: Add copyright header.
20492 * posix/tst-getaddrinfo4.c: Increase test timeout.
20494 2013-06-03 Carlos O'Donell <carlos@redhat.com>
20497 * math/libm-test.inc (MAX_EXP): Remove
20499 (ulp): Use MIN_EXP - MANT_DIG.
20500 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20502 2013-05-31 Carlos O'Donell <carlos@redhat.com>
20504 * po/be.po: Revert last change.
20505 * po/zh_CN.po: Likewise.
20506 * po/header.pot: Likewise.
20508 2013-05-31 Joseph Myers <joseph@codesourcery.com>
20510 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20511 link-libc-deps to empty as target-specific variable.
20512 * Makerules (link-libc-args): New variable.
20513 (libc-for-link): Likewise.
20514 (link-libc-deps): Likewise.
20515 (lib%.so): Depend on $(link-libc-deps). Link with
20517 (build-module): Link with $(link-libc-args).
20518 (build-module-asneeded): Likewise.
20519 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20521 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20522 target-specific variable.
20523 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20524 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20525 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20527 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20529 ($(objpfx)libpcprofile.so): Likewise.
20530 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20532 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20533 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20534 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20536 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20537 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20538 * login/Makefile ($(objpfx)libutil.so): Likewise.
20539 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20540 * math/Makefile ($(objpfx)libm.so): Likewise.
20541 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20542 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20543 variable instead of depending directly on libc.
20544 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20545 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20547 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20549 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20550 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20551 ($(objpfx)libanl.so): Likewise.
20552 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20554 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20556 * sysdeps/i386/fpu/Makefile: Remove file.
20557 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20558 ($(objpfx)libm.so): Remove dependency on ld.so.
20560 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
20563 * nis/yp_xdr.c (XDRMAXNAME): Define.
20564 (XDRMAXRECORD): Define.
20565 (xdr_domainname): Use XDRMAXNAME.
20566 (xdr_mapname): Likewise.
20567 (xdr_peername): Likewise.
20568 (xdr_keydat): Use XDRMAXRECORD.
20569 (xdr_valdat): Likewise.
20571 2013-05-30 Jeff Law <law@redhat.com>
20574 * manual/errno.texi (ESTALE): Update to account for more than
20575 just NFS file systems.
20576 * sysdeps/gnu/errlist.c: Regenerated.
20578 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20581 * elf/Makefile (tests): Add tst-null-argv.
20582 (modules-names): Add tst-null-argv-lib.
20583 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20584 (tst-null-argv-ENV): Set environment for tst-null-argv.
20585 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20586 (RTLD_PROGNAME): New macro.
20587 * elf/tst-null-argv.c: New test case.
20588 * elf/tst-null-argv-lib.c: Library for test case.
20589 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20590 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20591 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20592 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20593 * elf/dl-init.c (call_init): Likewise.
20594 (_dl_init): Likewise.
20595 * elf/dl-load.c (print_search_path): Likewise.
20596 (_dl_map_object): Likewise.
20597 * elf/dl-lookup.c (do_lookup_x): Likewise.
20598 (add_dependency): Likewise.
20599 (_dl_lookup_symbol_x): Likewise.
20600 (_dl_debug_bindings): Likewise.
20601 * elf/dl-open.c (_dl_show_scope): Likewise.
20602 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20603 * elf/dl-version.c (match_symbol): Likewise.
20604 (_dl_check_map_versions): Likewise.
20605 * elf/rtld.c (dl_main): Likewise.
20606 (print_unresolved): Use RTLD_PROGNAME.
20607 (print_missing_version): Likewise.
20608 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20609 (elf_machine_rela): Likewise.
20610 * sysdeps/powerpc/powerpc32/dl-machine.c
20611 (__process_machine_rela): Likewise.
20612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20614 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20616 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20618 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20621 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20625 2013-05-28 Carlos O'Donell <carlos@redhat.com>
20627 * po/be.po: Add descriptive title.
20628 * po/zh_CN.po: Likewise.
20629 * po/header.pot: Likewise.
20631 2013-05-28 Mike Frysinger <vapier@gentoo.org>
20633 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20635 (enlarge_archive): Likewise.
20637 2013-05-28 Ben North <ben@redfrontdoor.org>
20639 * manual/arith.texi (frexp): It is the magnitude of the return
20640 value which lies in [0.5, 1), not the return value itself.
20642 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20646 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20648 * stdio-common/bug26.c (main): Correct fscanf template.
20650 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20651 declare _dl_skip_args.
20653 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20656 * manual/platform.texi: Add missing @end deftypefun.
20658 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20661 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20662 bit of mantissa of 2^16382.
20663 * math/libm-test.inc (hypot_test_data): Add more tests.
20665 * math/libm-test.inc: Add drem and pow10 to list of tested
20667 (pow10_test): New function.
20668 (drem_test): Likewise.
20669 (drem_test_tonearest): Likewise.
20670 (drem_test_towardzero): Likewise.
20671 (drem_test_downward): Likewise.
20672 (drem_test_upward): Likewise.
20673 (main): Call the new functions.
20675 * math/libm-test.inc (finite_test_data): Remove.
20676 (finite_test): Run tests from isfinite_test_data.
20677 (gamma_test_data): Remove.
20678 (gamma_test): Run tests from lgamma_test_data.
20679 * sysdeps/i386/fpu/libm-test-ulps: Update.
20680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20682 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20684 * manual/platform.texi: Add PowerPC PPR function set documentation.
20685 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20688 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20690 * math/libm-test.inc (MAX_EXP): Define.
20692 (ulp): New function.
20693 (check_float_internal): Use ULPDIFF.
20694 (cpow_test): Disable failing test.
20695 (check_ulp): Test ulp() implemetnation.
20696 (main): Call check_ulp before starting tests.
20698 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20700 * math/gen-libm-test.pl (generate_testfile): Do not handle
20701 START_DATA and END_DATA.
20702 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20704 (acos_tonearest_test_data): Likewise.
20705 (acos_towardzero_test_data): Likewise.
20706 (acos_downward_test_data): Likewise.
20707 (acos_upward_test_data): Likewise.
20708 (acosh_test_data): Likewise.
20709 (asin_test_data): Likewise.
20710 (asin_tonearest_test_data): Likewise.
20711 (asin_towardzero_test_data): Likewise.
20712 (asin_downward_test_data): Likewise.
20713 (asin_upward_test_data): Likewise.
20714 (asinh_test_data): Likewise.
20715 (atan_test_data): Likewise.
20716 (atanh_test_data): Likewise.
20717 (atan2_test_data): Likewise.
20718 (cabs_test_data): Likewise.
20719 (cacos_test_data): Likewise.
20720 (cacosh_test_data): Likewise.
20721 (carg_test_data): Likewise.
20722 (casin_test_data): Likewise.
20723 (casinh_test_data): Likewise.
20724 (catan_test_data): Likewise.
20725 (catanh_test_data): Likewise.
20726 (cbrt_test_data): Likewise.
20727 (ccos_test_data): Likewise.
20728 (ccosh_test_data): Likewise.
20729 (ceil_test_data): Likewise.
20730 (cexp_test_data): Likewise.
20731 (cimag_test_data): Likewise.
20732 (clog_test_data): Likewise.
20733 (clog10_test_data): Likewise.
20734 (conj_test_data): Likewise.
20735 (copysign_test_data): Likewise.
20736 (cos_test_data): Likewise.
20737 (cos_tonearest_test_data): Likewise.
20738 (cos_towardzero_test_data): Likewise.
20739 (cos_downward_test_data): Likewise.
20740 (cos_upward_test_data): Likewise.
20741 (cosh_test_data): Likewise.
20742 (cosh_tonearest_test_data): Likewise.
20743 (cosh_towardzero_test_data): Likewise.
20744 (cosh_downward_test_data): Likewise.
20745 (cosh_upward_test_data): Likewise.
20746 (cpow_test_data): Likewise.
20747 (cproj_test_data): Likewise.
20748 (creal_test_data): Likewise.
20749 (csin_test_data): Likewise.
20750 (csinh_test_data): Likewise.
20751 (csqrt_test_data): Likewise.
20752 (ctan_test_data): Likewise.
20753 (ctan_tonearest_test_data): Likewise.
20754 (ctan_towardzero_test_data): Likewise.
20755 (ctan_downward_test_data): Likewise.
20756 (ctan_upward_test_data): Likewise.
20757 (ctanh_test_data): Likewise.
20758 (ctanh_tonearest_test_data): Likewise.
20759 (ctanh_towardzero_test_data): Likewise.
20760 (ctanh_downward_test_data): Likewise.
20761 (ctanh_upward_test_data): Likewise.
20762 (erf_test_data): Likewise.
20763 (erfc_test_data): Likewise.
20764 (exp_test_data): Likewise.
20765 (exp_tonearest_test_data): Likewise.
20766 (exp_towardzero_test_data): Likewise.
20767 (exp_downward_test_data): Likewise.
20768 (exp_upward_test_data): Likewise.
20769 (exp10_test_data): Likewise.
20770 (exp2_test_data): Likewise.
20771 (expm1_test_data): Likewise.
20772 (fabs_test_data): Likewise.
20773 (fdim_test_data): Likewise.
20774 (finite_test_data): Likewise.
20775 (floor_test_data): Likewise.
20776 (fma_test_data): Likewise.
20777 (fma_towardzero_test_data): Likewise.
20778 (fma_downward_test_data): Likewise.
20779 (fma_upward_test_data): Likewise.
20780 (fmax_test_data): Likewise.
20781 (fmin_test_data): Likewise.
20782 (fmod_test_data): Likewise.
20783 (fpclassify_test_data): Likewise.
20784 (frexp_test_data): Likewise.
20785 (gamma_test_data): Likewise.
20786 (hypot_test_data): Likewise.
20787 (ilogb_test_data): Likewise.
20788 (isfinite_test_data): Likewise.
20789 (isgreater_test_data): Likewise.
20790 (isgreaterequal_test_data): Likewise.
20791 (isinf_test_data): Likewise.
20792 (isless_test_data): Likewise.
20793 (islessequal_test_data): Likewise.
20794 (islessgreater_test_data): Likewise.
20795 (isnan_test_data): Likewise.
20796 (isnormal_test_data): Likewise.
20797 (issignaling_test_data): Likewise.
20798 (isunordered_test_data): Likewise.
20799 (j0_test_data): Likewise.
20800 (j1_test_data): Likewise.
20801 (jn_test_data): Likewise.
20802 (ldexp_test_data): Likewise.
20803 (lgamma_test_data): Likewise.
20804 (lrint_test_data): Likewise.
20805 (lrint_tonearest_test_data): Likewise.
20806 (lrint_towardzero_test_data): Likewise.
20807 (lrint_downward_test_data): Likewise.
20808 (lrint_upward_test_data): Likewise.
20809 (llrint_test_data): Likewise.
20810 (llrint_tonearest_test_data): Likewise.
20811 (llrint_towardzero_test_data): Likewise.
20812 (llrint_downward_test_data): Likewise.
20813 (llrint_upward_test_data): Likewise.
20814 (log_test_data): Likewise.
20815 (log10_test_data): Likewise.
20816 (log1p_test_data): Likewise.
20817 (log2_test_data): Likewise.
20818 (logb_test_data): Likewise.
20819 (logb_downward_test_data): Likewise.
20820 (lround_test_data): Likewise.
20821 (llround_test_data): Likewise.
20822 (modf_test_data): Likewise.
20823 (nearbyint_test_data): Likewise.
20824 (nextafter_test_data): Likewise.
20825 (nexttoward_test_data): Likewise.
20826 (pow_test_data): Likewise.
20827 (pow_tonearest_test_data): Likewise.
20828 (pow_towardzero_test_data): Likewise.
20829 (pow_downward_test_data): Likewise.
20830 (pow_upward_test_data): Likewise.
20831 (remainder_test_data): Likewise.
20832 (remainder_tonearest_test_data): Likewise.
20833 (remainder_towardzero_test_data): Likewise.
20834 (remainder_downward_test_data): Likewise.
20835 (remainder_upward_test_data): Likewise.
20836 (remquo_test_data): Likewise.
20837 (rint_test_data): Likewise.
20838 (rint_tonearest_test_data): Likewise.
20839 (rint_towardzero_test_data): Likewise.
20840 (rint_downward_test_data): Likewise.
20841 (rint_upward_test_data): Likewise.
20842 (round_test_data): Likewise.
20843 (scalb_test_data): Likewise.
20844 (scalbn_test_data): Likewise.
20845 (scalbln_test_data): Likewise.
20846 (signbit_test_data): Likewise.
20847 (sin_test_data): Likewise.
20848 (sin_tonearest_test_data): Likewise.
20849 (sin_towardzero_test_data): Likewise.
20850 (sin_downward_test_data): Likewise.
20851 (sin_upward_test_data): Likewise.
20852 (sincos_test_data): Likewise.
20853 (sinh_test_data): Likewise.
20854 (sinh_tonearest_test_data): Likewise.
20855 (sinh_towardzero_test_data): Likewise.
20856 (sinh_downward_test_data): Likewise.
20857 (sinh_upward_test_data): Likewise.
20858 (sqrt_test_data): Likewise.
20859 (tan_test_data): Likewise.
20860 (tan_tonearest_test_data): Likewise.
20861 (tan_towardzero_test_data): Likewise.
20862 (tan_downward_test_data): Likewise.
20863 (tan_upward_test_data): Likewise.
20864 (tanh_test_data): Likewise.
20865 (tgamma_test_data): Likewise.
20866 (trunc_test_data): Likewise.
20867 (y0_test_data): Likewise.
20868 (y1_test_data): Likewise.
20869 (yn_test_data): Likewise.
20870 (significand_test_data): Likewise.
20872 * math/gen-libm-test.pl (@functions): Remove variable.
20873 (generate_testfile): Don't handle START and END lines.
20874 * math/libm-test.inc (START): New macro.
20876 (END_COMPLEX): Likewise.
20877 (acos_test): Use END macro without arguments.
20878 (acos_test_tonearest): Likewise.
20879 (acos_test_towardzero): Likewise.
20880 (acos_test_downward): Likewise.
20881 (acos_test_upward): Likewise.
20882 (acosh_test): Likewise.
20883 (asin_test): Likewise.
20884 (asin_test_tonearest): Likewise.
20885 (asin_test_towardzero): Likewise.
20886 (asin_test_downward): Likewise.
20887 (asin_test_upward): Likewise.
20888 (asinh_test): Likewise.
20889 (atan_test): Likewise.
20890 (atanh_test): Likewise.
20891 (atan2_test): Likewise.
20892 (cabs_test): Likewise.
20893 (cacos_test): Use END_COMPLEX macro without arguments.
20894 (cacosh_test): Likewise.
20895 (carg_test): Use END macro without arguments.
20896 (casin_test): Use END_COMPLEX macro without arguments.
20897 (casinh_test): Likewise.
20898 (catan_test): Likewise.
20899 (catanh_test): Likewise.
20900 (cbrt_test): Use END macro without arguments.
20901 (ccos_test): Use END_COMPLEX macro without arguments.
20902 (ccosh_test): Likewise.
20903 (ceil_test): Use END macro without arguments.
20904 (cexp_test): Use END_COMPLEX macro without arguments.
20905 (cimag_test): Use END macro without arguments.
20906 (clog_test): Use END_COMPLEX macro without arguments.
20907 (clog10_test): Likewise.
20908 (conj_test): Likewise.
20909 (copysign_test): Use END macro without arguments.
20910 (cos_test): Likewise.
20911 (cos_test_tonearest): Likewise.
20912 (cos_test_towardzero): Likewise.
20913 (cos_test_downward): Likewise.
20914 (cos_test_upward): Likewise.
20915 (cosh_test): Likewise.
20916 (cosh_test_tonearest): Likewise.
20917 (cosh_test_towardzero): Likewise.
20918 (cosh_test_downward): Likewise.
20919 (cosh_test_upward): Likewise.
20920 (cpow_test): Use END_COMPLEX macro without arguments.
20921 (cproj_test): Likewise.
20922 (creal_test): Use END macro without arguments.
20923 (csin_test): Use END_COMPLEX macro without arguments.
20924 (csinh_test): Likewise.
20925 (csqrt_test): Likewise.
20926 (ctan_test): Likewise.
20927 (ctan_test_tonearest): Likewise.
20928 (ctan_test_towardzero): Likewise.
20929 (ctan_test_downward): Likewise.
20930 (ctan_test_upward): Likewise.
20931 (ctanh_test): Likewise.
20932 (ctanh_test_tonearest): Likewise.
20933 (ctanh_test_towardzero): Likewise.
20934 (ctanh_test_downward): Likewise.
20935 (ctanh_test_upward): Likewise.
20936 (erf_test): Use END macro without arguments.
20937 (erfc_test): Likewise.
20938 (exp_test): Likewise.
20939 (exp_test_tonearest): Likewise.
20940 (exp_test_towardzero): Likewise.
20941 (exp_test_downward): Likewise.
20942 (exp_test_upward): Likewise.
20943 (exp10_test): Likewise.
20944 (exp2_test): Likewise.
20945 (expm1_test): Likewise.
20946 (fabs_test): Likewise.
20947 (fdim_test): Likewise.
20948 (finite_test): Likewise.
20949 (floor_test): Likewise.
20950 (fma_test): Likewise.
20951 (fma_test_towardzero): Likewise.
20952 (fma_test_downward): Likewise.
20953 (fma_test_upward): Likewise.
20954 (fmax_test): Likewise.
20955 (fmin_test): Likewise.
20956 (fmod_test): Likewise.
20957 (fpclassify_test): Likewise.
20958 (frexp_test): Likewise.
20959 (gamma_test): Likewise.
20960 (hypot_test): Likewise.
20961 (ilogb_test): Likewise.
20962 (isfinite_test): Likewise.
20963 (isgreater_test): Likewise.
20964 (isgreaterequal_test): Likewise.
20965 (isinf_test): Likewise.
20966 (isless_test): Likewise.
20967 (islessequal_test): Likewise.
20968 (islessgreater_test): Likewise.
20969 (isnan_test): Likewise.
20970 (isnormal_test): Likewise.
20971 (issignaling_test): Likewise.
20972 (isunordered_test): Likewise.
20973 (j0_test): Likewise.
20974 (j1_test): Likewise.
20975 (jn_test): Likewise.
20976 (ldexp_test): Likewise.
20977 (lgamma_test): Likewise.
20978 (lrint_test): Likewise.
20979 (lrint_test_tonearest): Likewise.
20980 (lrint_test_towardzero): Likewise.
20981 (lrint_test_downward): Likewise.
20982 (lrint_test_upward): Likewise.
20983 (llrint_test): Likewise.
20984 (llrint_test_tonearest): Likewise.
20985 (llrint_test_towardzero): Likewise.
20986 (llrint_test_downward): Likewise.
20987 (llrint_test_upward): Likewise.
20988 (log_test): Likewise.
20989 (log10_test): Likewise.
20990 (log1p_test): Likewise.
20991 (log2_test): Likewise.
20992 (logb_test): Likewise.
20993 (logb_test_downward): Likewise.
20994 (lround_test): Likewise.
20995 (llround_test): Likewise.
20996 (modf_test): Likewise.
20997 (nearbyint_test): Likewise.
20998 (nextafter_test): Likewise.
20999 (nexttoward_test): Likewise.
21000 (pow_test): Likewise.
21001 (pow_test_tonearest): Likewise.
21002 (pow_test_towardzero): Likewise.
21003 (pow_test_downward): Likewise.
21004 (pow_test_upward): Likewise.
21005 (remainder_test): Likewise.
21006 (remainder_test_tonearest): Likewise.
21007 (remainder_test_towardzero): Likewise.
21008 (remainder_test_downward): Likewise.
21009 (remainder_test_upward): Likewise.
21010 (remquo_test): Likewise.
21011 (rint_test): Likewise.
21012 (rint_test_tonearest): Likewise.
21013 (rint_test_towardzero): Likewise.
21014 (rint_test_downward): Likewise.
21015 (rint_test_upward): Likewise.
21016 (round_test): Likewise.
21017 (scalb_test): Likewise.
21018 (scalbn_test): Likewise.
21019 (scalbln_test): Likewise.
21020 (signbit_test): Likewise.
21021 (sin_test): Likewise.
21022 (sin_test_tonearest): Likewise.
21023 (sin_test_towardzero): Likewise.
21024 (sin_test_downward): Likewise.
21025 (sin_test_upward): Likewise.
21026 (sincos_test): Likewise.
21027 (sinh_test): Likewise.
21028 (sinh_test_tonearest): Likewise.
21029 (sinh_test_towardzero): Likewise.
21030 (sinh_test_downward): Likewise.
21031 (sinh_test_upward): Likewise.
21032 (sqrt_test): Likewise.
21033 (tan_test): Likewise.
21034 (tan_test_tonearest): Likewise.
21035 (tan_test_towardzero): Likewise.
21036 (tan_test_downward): Likewise.
21037 (tan_test_upward): Likewise.
21038 (tanh_test): Likewise.
21039 (tgamma_test): Likewise.
21040 (trunc_test): Likewise.
21041 (y0_test): Likewise.
21042 (y1_test): Likewise.
21043 (yn_test): Likewise.
21044 (significand_test): Likewise.
21046 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21049 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21051 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21054 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21055 __ppc_mdoio and __ppc_mdoom.
21056 * manual/platform.texi: Document new functions __ppc_yield,
21057 __ppc_mdoio and __ppc_mdoom.
21059 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21061 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21062 (main): Mention "tls" pseudo-hwcap is legacy.
21063 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21065 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21067 * math/gen-libm-test.pl (parse_args): Output only string of
21068 arguments as text for test name, not full call or descriptions of
21069 tests for extra outputs.
21070 (generate_testfile): Do not pass function name to parse_args.
21071 Generate this_func variable from START.
21072 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21074 (struct test_ff_f_data): Likewise.
21075 (test_ff_f_data_nexttoward): Likewise.
21076 (struct test_fi_f_data): Likewise.
21077 (struct test_fl_f_data): Likewise.
21078 (struct test_if_f_data): Likewise.
21079 (struct test_fff_f_data): Likewise.
21080 (struct test_c_f_data): Likewise.
21081 (struct test_f_f1_data): Likewise. Remove field extra_name.
21082 (struct test_fF_f1_data): Likewise.
21083 (struct test_ffI_f1_data): Likewise.
21084 (struct test_c_c_data): Rename test_name field to arg_str.
21085 (struct test_cc_c_data): Likewise.
21086 (struct test_f_i_data): Likewise.
21087 (struct test_ff_i_data): Likewise.
21088 (struct test_f_l_data): Likewise.
21089 (struct test_f_L_data): Likewise.
21090 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21092 (COMMON_TEST_SETUP): New macro.
21093 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21094 (COMMON_TEST_CLEANUP): Likewise.
21095 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21096 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21098 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21099 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21101 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21102 (RUN_TEST_fff_f): Take argument string. Call new setup and
21104 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21105 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21107 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21108 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21110 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21111 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21113 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21114 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21116 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21117 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21119 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21120 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21122 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21123 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21125 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21126 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21128 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21129 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21131 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21132 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21134 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21135 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21137 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21138 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21140 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21141 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21143 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21144 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21146 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21147 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21149 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21151 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21153 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21154 to _sifields.sigfault.
21155 (si_addr_lsb): Define new macro.
21156 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21157 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21158 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21160 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21163 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21165 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21167 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21168 loading the domain.
21170 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21172 * math/gen-libm-test.pl (parse_args): Do not include expected
21173 result in test name.
21174 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21175 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21176 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21177 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21178 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21181 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21183 * benchtests/Makefile: Sort function entries.
21185 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21186 tanh, asinh, acosh, atanh.
21187 * benchtests/acos-inputs: New file.
21188 * benchtests/acosh-inputs: New file.
21189 * benchtests/asin-inputs: New file.
21190 * benchtests/asinh-inputs: New file.
21191 * benchtests/atanh-inputs: New file.
21192 * benchtests/cosh-inputs: New file.
21193 * benchtests/log-inputs: New file.
21194 * benchtests/sinh-inputs: New file.
21195 * benchtests/tanh-inputs: New file.
21197 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21200 * posix/tst-getaddrinfo4.c: New test.
21201 * posix/Makefile (tests): Add it.
21203 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21206 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21207 when no services were used.
21208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21209 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21211 2013-05-21 Andreas Schwab <schwab@suse.de>
21214 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21215 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21217 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21218 redundant variable declarations and reallocation of buffer when
21219 parsing as IPv6 address. Always set NSS status when called from
21220 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21221 buffer too small. Correct computation of needed size.
21222 * nss/Makefile (tests): Add test-digits-dots.
21223 * nss/test-digits-dots.c: New test.
21225 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21227 * benchtests/Makefile: Remove instructions for adding
21229 * benchtests/README: New file to explain how to execute and
21230 enhance the benchmark tests.
21232 2013-05-21 Andreas Schwab <schwab@suse.de>
21235 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21236 * setjmp/tst-sigsetjmp.c: New test.
21238 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21240 * sysdeps/x86_64/memset.S (memset): New implementation.
21241 (__bzero): Likewise.
21242 (__memset_tail): New function.
21244 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21246 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21247 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21248 __memcpy_sse2_unaligned ifunc selection.
21249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21250 Add memcpy-sse2-unaligned.S.
21251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21252 Add: __memcpy_sse2_unaligned.
21254 2013-05-19 Joseph Myers <joseph@codesourcery.com>
21257 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21258 math_force_eval before restoring floating-point envrionment.
21259 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21262 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21264 (__nearbyintl): Use math_force_eval before restoring
21265 floating-point environment.
21266 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21268 * math/gen-libm-test.pl (special_functions): Remove.
21269 (parse_args): Don't handle TEST_extra. Handle functions with no
21271 * math/libm-test.inc (struct test_sincos_data): Replace with
21272 struct test_fFF_11_data.
21273 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21274 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21275 (sincos_test_data): Change element type to struct
21276 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21277 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21278 RUN_TEST_LOOP_sincos.
21279 * math/README.libm-test: Don't mention special handling of
21280 individual functions.
21281 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21283 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21284 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21285 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21288 * math/gen-libm-test.pl (get_variable): Remove function.
21289 (parse_args): Don't show pointer parameters to call in test
21290 names. Use "extra output N" in test names for extra outputs
21291 rather than naming variables.
21293 2013-05-18 Joseph Myers <joseph@codesourcery.com>
21296 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21297 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21298 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21300 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21302 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21305 * math/gen-libm-test.pl (@tests): Remove variable.
21306 ($count): Likewise.
21307 (new_test): Remove function.
21308 (show_exceptions): New function.
21309 (special_functions): Use show_exceptions instead of new_test.
21310 (parse_args): Likewise.
21311 (generate_testfile): Pass only function name in generated call to
21312 print_max_error or print_complex_max_error.
21313 (get_ulps): Do not handle complex tests specially.
21314 (output_test): Rename to ...
21315 (get_all_ulps_for_test): ... this. Return a string rather than
21316 printing to a file. Require ulps to be present.
21317 (output_ulps): Generate arrays rather than #defines.
21318 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21319 (struct ulp_data): New type.
21320 (BUILD_COMPLEX_ULP): Remove macro.
21321 (compare_ulp_data): New function.
21322 (find_ulps): Likewise.
21323 (find_test_ulps): Likewise.
21324 (find_function_ulps): Likewise.
21325 (find_complex_function_ulps): Likewise.
21326 (print_max_error): Determine allowed ulps using
21327 find_function_ulps.
21328 (print_complex_max_error): Determine allowed ulps using
21329 find_complex_function_ulps.
21330 (check_float_internal): Determine max ulps using find_test_ulps.
21331 (check_float): Do not take max_ulp parameter. Update call to
21332 check_float_internal.
21333 (check_complex): Likewise.
21334 (check_int): Do not take max_ulp parameter.
21335 (check_long): Likewise.
21336 (check_bool): Likewise.
21337 (check_longlong): Likewise.
21338 (struct test_f_f_data): Remove max_ulp field.
21339 (struct test_ff_f_data): Likewise.
21340 (struct test_ff_f_data_nexttoward): Likewise.
21341 (struct test_fi_f_data): Likewise.
21342 (struct test_fl_f_data): Likewise.
21343 (struct test_if_f_data): Likewise.
21344 (struct test_fff_f_data): Likewise.
21345 (struct test_c_f_data): Likewise.
21346 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21347 (struct test_fF_f1_data): Likewise.
21348 (struct test_ffI_f1_data): Likewise.
21349 (struct test_c_c_data): Remove max_ulp field.
21350 (struct test_cc_c_data): Likewise.
21351 (struct test_f_i_data): Likewise.
21352 (struct test_ff_i_data): Likewise.
21353 (struct test_f_l_data): Likewise.
21354 (struct test_f_L_data): Likewise.
21355 (struct test_sincos_data): Likewise.
21356 (RUN_TEST_f_f): Do not handle ulps.
21357 (RUN_TEST_LOOP_f_f): Likewise.
21358 (RUN_TEST_2_f): Likewise.
21359 (RUN_TEST_LOOP_2_f): Likewise.
21360 (RUN_TEST_fff_f): Likewise.
21361 (RUN_TEST_LOOP_fff_f): Likewise.
21362 (RUN_TEST_c_f): Likewise.
21363 (RUN_TEST_LOOP_c_f): Likewise.
21364 (RUN_TEST_f_f1): Likewise.
21365 (RUN_TEST_LOOP_f_f1): Likewise.
21366 (RUN_TEST_fF_f1): Likewise.
21367 (RUN_TEST_LOOP_fF_f1): Likewise.
21368 (RUN_TEST_fI_f1): Likewise.
21369 (RUN_TEST_LOOP_fI_f1): Likewise.
21370 (RUN_TEST_ffI_f1): Likewise.
21371 (RUN_TEST_LOOP_ffI_f1): Likewise.
21372 (RUN_TEST_c_c): Likewise.
21373 (RUN_TEST_LOOP_c_c): Likewise.
21374 (RUN_TEST_cc_c): Likewise.
21375 (RUN_TEST_LOOP_cc_c): Likewise.
21376 (RUN_TEST_f_i): Likewise.
21377 (RUN_TEST_LOOP_f_i): Likewise.
21378 (RUN_TEST_f_i_tg): Likewise.
21379 (RUN_TEST_LOOP_f_i_tg): Likewise.
21380 (RUN_TEST_ff_i_tg): Likewise.
21381 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21382 (RUN_TEST_f_b): Likewise.
21383 (RUN_TEST_LOOP_f_b): Likewise.
21384 (RUN_TEST_f_b_tg): Likewise.
21385 (RUN_TEST_LOOP_f_b_tg): Likewise.
21386 (RUN_TEST_f_l): Likewise.
21387 (RUN_TEST_LOOP_f_l): Likewise.
21388 (RUN_TEST_f_L): Likewise.
21389 (RUN_TEST_LOOP_f_L): Likewise.
21390 (RUN_TEST_sincos): Likewise.
21391 (RUN_TEST_LOOP_sincos): Likewise.
21393 2013-05-17 Joseph Myers <joseph@codesourcery.com>
21397 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21398 main case of finite arguments, set rounding mode to FE_TONEAREST
21399 and discard exceptions.
21400 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21402 (remainder_tonearest_test_data): New variable.
21403 (remainder_test_tonearest): New function.
21404 (remainder_towardzero_test_data): New variable.
21405 (remainder_test_towardzero): New function.
21406 (remainder_downward_test_data): New variable.
21407 (remainder_test_downward): New function.
21408 (remainder_upward_test_data): New variable.
21409 (remainder_test_upward): New function.
21410 (main): Call the new test functions.
21412 * math/libm-test.inc (struct test_f_f1_data): Remove field
21414 (struct test_fF_f1_data): Likewise.
21415 (struct test_ffI_f1_data): Likewise.
21416 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21417 based on value of EXTRA_EXPECTED.
21418 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21419 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21420 EXTRA_VAR based on value of EXTRA_EXPECTED.
21421 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21422 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21423 EXTRA_VAR based on value of EXTRA_EXPECTED.
21424 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21425 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21426 EXTRA_VAR based on value of EXTRA_EXPECTED.
21427 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21428 * math/gen-libm-test.pl (parse_args): Don't output initializers
21429 for extra output values.
21431 * math/libm-test.inc (check_int): Expect result to be exactly
21432 equal to expected value and do not handle ulps.
21433 (check_long): Likewise.
21434 (check_longlong): Likewise.
21436 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21438 (cimag_test_data): Likewise.
21439 (conj_test_data): Likewise.
21440 (copysign_test_data): Likewise.
21441 (cproj_test_data): Likewise.
21442 (creal_test_data): Likewise.
21443 (fabs_test_data): Likewise.
21444 (fdim_test_data): Likewise.
21445 (finite_test_data): Likewise.
21446 (floor_test_data): Likewise.
21447 (fmax_test_data): Likewise.
21448 (fmin_test_data): Likewise.
21449 (fmod_test_data): Likewise.
21450 (fpclassify_test_data): Likewise.
21451 (frexp_test_data): Likewise.
21452 (ilogb_test_data): Likewise.
21453 (isfinite_test_data): Likewise.
21454 (isgreater_test_data): Likewise.
21455 (isgreaterequal_test_data): Likewise.
21456 (isinf_test_data): Likewise.
21457 (isless_test_data): Likewise.
21458 (islessequal_test_data): Likewise.
21459 (islessgreater_test_data): Likewise.
21460 (isnan_test_data): Likewise.
21461 (isnormal_test_data): Likewise.
21462 (issignaling_test_data): Likewise.
21463 (isunordered_test_data): Likewise.
21464 (ldexp_test_data): Likewise.
21465 (lrint_test_data): Likewise.
21466 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21467 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21468 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21469 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21470 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21471 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21473 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21474 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21475 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21476 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21478 (lrint_downward_test_data): Test for "inexact" exceptions.
21479 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21480 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21481 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21483 (lrint_upward_test_data): Test for "inexact" exceptions.
21484 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21486 (llrint_test_data): Test for "inexact" exceptions.
21487 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21488 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21489 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21490 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21491 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21492 (llrint_downward_test_data): Test for "inexact" exceptions.
21493 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21494 (llrint_upward_test_data): Test for "inexact" exceptions.
21495 (logb_test_data): Likewise.
21496 (logb_downward_test_data): Likewise.
21497 (nextafter_test_data): Likewise.
21498 (nexttoward_test_data): Likewise.
21499 (remainder_test_data): Likewise.
21500 (remquo_test_data): Likewise.
21501 (scalbn_test_data): Likewise.
21502 (scalbln_test_data): Likewise.
21503 (signbit_test_data): Likewise.
21504 (sqrt_test_data): Likewise.
21505 (significand_test_data): Likewise.
21507 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21510 * benchtests/bench-modf.c (struct args): Mark arg0 as
21512 * scripts/bench.pl: Mark members of struct args as volatile.
21514 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21517 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21518 negative infinity on POWER6 or lower.
21519 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21521 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21524 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21525 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21526 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21527 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21528 (_FP_SETQNAN): New macro.
21529 (_FP_SETQNAN_SEMIRAW): Likewise.
21530 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21531 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21532 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21533 (FP_EXTEND): Use _FP_FRAC_SNANP.
21534 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21535 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21537 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21539 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21542 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21544 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21545 with DIVIDE_BY_ZERO_EXCEPTION.
21546 (gamma_test_data): Likewise.
21547 (lgamma_test_data): Likewise.
21548 (log_test_data): Likewise.
21549 (log10_test_data): Likewise.
21550 (log2_test_data): Likewise.
21551 (tgamma_test_data): Likewise.
21553 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21554 (acos_test_tonearest): Likewise.
21555 (acos_test_towardzero): Likewise.
21556 (acos_test_downward): Likewise.
21557 (acos_test_upward): Likewise.
21558 (acosh_test): Likewise.
21559 (asin_test): Likewise.
21560 (asin_test_tonearest): Likewise.
21561 (asin_test_towardzero): Likewise.
21562 (asin_test_downward): Likewise.
21563 (asin_test_upward): Likewise.
21564 (asinh_test): Likewise.
21565 (atan_test): Likewise.
21566 (atanh_test): Likewise.
21567 (atan2_test): Likewise.
21568 (cabs_test): Likewise.
21569 (cacos_test): Likewise.
21570 (cacosh_test): Likewise.
21571 (casin_test): Likewise.
21572 (casinh_test): Likewise.
21573 (catan_test): Likewise.
21574 (catanh_test): Likewise.
21575 (cbrt_test): Likewise.
21576 (ccos_test): Likewise.
21577 (ccosh_test): Likewise.
21578 (cexp_test): Likewise.
21579 (clog_test): Likewise.
21580 (clog10_test): Likewise.
21581 (cos_test): Likewise.
21582 (cos_test_tonearest): Likewise.
21583 (cos_test_towardzero): Likewise.
21584 (cos_test_downward): Likewise.
21585 (cos_test_upward): Likewise.
21586 (cosh_test): Likewise.
21587 (cosh_test_tonearest): Likewise.
21588 (cosh_test_towardzero): Likewise.
21589 (cosh_test_downward): Likewise.
21590 (cosh_test_upward): Likewise.
21591 (cpow_test): Likewise.
21592 (csin_test): Likewise.
21593 (csinh_test): Likewise.
21594 (csqrt_test): Likewise.
21595 (ctan_test): Likewise.
21596 (ctan_test_tonearest): Likewise.
21597 (ctan_test_towardzero): Likewise.
21598 (ctan_test_downward): Likewise.
21599 (ctan_test_upward): Likewise.
21600 (ctanh_test): Likewise.
21601 (ctanh_test_tonearest): Likewise.
21602 (ctanh_test_towardzero): Likewise.
21603 (ctanh_test_downward): Likewise.
21604 (ctanh_test_upward): Likewise.
21605 (erf_test): Likewise.
21606 (erfc_test): Likewise.
21607 (exp_test): Likewise.
21608 (exp_test_tonearest): Likewise.
21609 (exp_test_towardzero): Likewise.
21610 (exp_test_downward): Likewise.
21611 (exp_test_upward): Likewise.
21612 (exp10_test): Likewise.
21613 (exp2_test): Likewise.
21614 (expm1_test): Likewise.
21615 (fmod_test): Likewise.
21616 (gamma_test): Likewise.
21617 (hypot_test): Likewise.
21618 (j0_test): Likewise.
21619 (j1_test): Likewise.
21620 (jn_test): Likewise.
21621 (lgamma_test): Likewise.
21622 (log_test): Likewise.
21623 (log10_test): Likewise.
21624 (log1p_test): Likewise.
21625 (log2_test): Likewise.
21626 (logb_test_downward): Likewise.
21627 (pow_test): Likewise.
21628 (pow_test_tonearest): Likewise.
21629 (pow_test_towardzero): Likewise.
21630 (pow_test_downward): Likewise.
21631 (pow_test_upward): Likewise.
21632 (remainder_test): Likewise.
21633 (remquo_test): Likewise.
21634 (sin_test): Likewise.
21635 (sin_test_tonearest): Likewise.
21636 (sin_test_towardzero): Likewise.
21637 (sin_test_downward): Likewise.
21638 (sin_test_upward): Likewise.
21639 (sincos_test): Likewise.
21640 (sinh_test): Likewise.
21641 (sinh_test_tonearest): Likewise.
21642 (sinh_test_towardzero): Likewise.
21643 (sinh_test_downward): Likewise.
21644 (sinh_test_upward): Likewise.
21645 (sqrt_test): Likewise.
21646 (tan_test): Likewise.
21647 (tan_test_tonearest): Likewise.
21648 (tan_test_towardzero): Likewise.
21649 (tan_test_downward): Likewise.
21650 (tan_test_upward): Likewise.
21651 (tanh_test): Likewise.
21652 (tgamma_test): Likewise.
21653 (y0_test): Likewise.
21654 (y1_test): Likewise.
21655 (yn_test): Likewise.
21657 * math/gen-libm-test.pl (adjust_arg): Remove function.
21658 (special_function): Remove argument $in_func. Only handle
21659 generating output for tables of tests, not inside functions.
21660 (parse_args): Likewise.
21661 (generate_testfile): Remove variable $in_func. Update call to
21663 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21664 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21665 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21666 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21667 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21668 (MAX_VALUE_INIT): Rename macro to max_value.
21669 (MIN_VALUE_INIT): Rename macro to min_value.
21670 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21671 (plus_zero): Remove variable.
21672 (minus_zero): Likewise.
21673 (plus_infty): Likewise.
21674 (minus_infty): Likewise.
21675 (qnan_value): Likewise.
21676 (max_value): Likewise.
21677 (min_value): Likewise.
21678 (min_subnorm_value): Likewise.
21680 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21682 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21683 uint64_t or uint32_t usage.
21684 * crypt/sha256-block.c: Likewise.
21685 * crypt/sha256-crypt.c: Likewise.
21686 * crypt/sha256.c: Likewise.
21687 * crypt/sha512-block.c: Likewise.
21688 * crypt/sha512-crypt.c: Likewise.
21689 * crypt/sha512.c: Likewise.
21690 * debug/backtrace-tst.c: Likewise.
21691 * debug/pcprofiledump.c: Likewise.
21692 * elf/cache.c: Likewise.
21693 * elf/dl-cache.c: Likewise.
21694 * elf/dl-misc.c: Likewise.
21695 * elf/dl-profile.c: Likewise.
21696 * elf/dl-support.c: Likewise.
21697 * elf/ldconfig.c: Likewise.
21698 * elf/sprof.c: Likewise.
21699 * iconv/dummy-repertoire.c: Likewise.
21700 * iconv/iconv_charmap.c: Likewise.
21701 * iconv/skeleton.c: Likewise.
21702 * iconvdata/8bit-generic.c: Likewise.
21703 * iconvdata/cp737.h: Likewise.
21704 * iconvdata/cp775.h: Likewise.
21705 * iconvdata/ibm1008.h: Likewise.
21706 * iconvdata/ibm1025.h: Likewise.
21707 * iconvdata/ibm1046.h: Likewise.
21708 * iconvdata/ibm1097.h: Likewise.
21709 * iconvdata/ibm1112.h: Likewise.
21710 * iconvdata/ibm1122.h: Likewise.
21711 * iconvdata/ibm1123.h: Likewise.
21712 * iconvdata/ibm1124.h: Likewise.
21713 * iconvdata/ibm1129.h: Likewise.
21714 * iconvdata/ibm1130.h: Likewise.
21715 * iconvdata/ibm1132.h: Likewise.
21716 * iconvdata/ibm1133.h: Likewise.
21717 * iconvdata/ibm1137.h: Likewise.
21718 * iconvdata/ibm1140.h: Likewise.
21719 * iconvdata/ibm1141.h: Likewise.
21720 * iconvdata/ibm1142.h: Likewise.
21721 * iconvdata/ibm1143.h: Likewise.
21722 * iconvdata/ibm1144.h: Likewise.
21723 * iconvdata/ibm1145.h: Likewise.
21724 * iconvdata/ibm1146.h: Likewise.
21725 * iconvdata/ibm1147.h: Likewise.
21726 * iconvdata/ibm1148.h: Likewise.
21727 * iconvdata/ibm1149.h: Likewise.
21728 * iconvdata/ibm1153.h: Likewise.
21729 * iconvdata/ibm1154.h: Likewise.
21730 * iconvdata/ibm1155.h: Likewise.
21731 * iconvdata/ibm1156.h: Likewise.
21732 * iconvdata/ibm1157.h: Likewise.
21733 * iconvdata/ibm1158.h: Likewise.
21734 * iconvdata/ibm1160.h: Likewise.
21735 * iconvdata/ibm1161.h: Likewise.
21736 * iconvdata/ibm1162.h: Likewise.
21737 * iconvdata/ibm1163.h: Likewise.
21738 * iconvdata/ibm1164.h: Likewise.
21739 * iconvdata/ibm1166.h: Likewise.
21740 * iconvdata/ibm1167.h: Likewise.
21741 * iconvdata/ibm12712.h: Likewise.
21742 * iconvdata/ibm1390.h: Likewise.
21743 * iconvdata/ibm1399.h: Likewise.
21744 * iconvdata/ibm16804.h: Likewise.
21745 * iconvdata/ibm4517.h: Likewise.
21746 * iconvdata/ibm4899.h: Likewise.
21747 * iconvdata/ibm4909.h: Likewise.
21748 * iconvdata/ibm4971.h: Likewise.
21749 * iconvdata/ibm5347.h: Likewise.
21750 * iconvdata/ibm803.h: Likewise.
21751 * iconvdata/ibm856.h: Likewise.
21752 * iconvdata/ibm901.h: Likewise.
21753 * iconvdata/ibm902.h: Likewise.
21754 * iconvdata/ibm9030.h: Likewise.
21755 * iconvdata/ibm9066.h: Likewise.
21756 * iconvdata/ibm921.h: Likewise.
21757 * iconvdata/ibm922.h: Likewise.
21758 * iconvdata/ibm9448.h: Likewise.
21759 * iconvdata/isiri-3342.h: Likewise.
21760 * iconvdata/jis0201.h: Likewise.
21761 * include/link.h: Likewise.
21762 * include/netdb.h: Likewise.
21763 * inet/check_native.c: Likewise.
21764 * inet/check_pf.c: Likewise.
21765 * inet/getipv4sourcefilter.c: Likewise.
21766 * inet/getnameinfo.c: Likewise.
21767 * inet/getsourcefilter.c: Likewise.
21768 * inet/htonl.c: Likewise.
21769 * inet/setipv4sourcefilter.c: Likewise.
21770 * inet/setsourcefilter.c: Likewise.
21771 * inet/test-inet6_opt.c: Likewise.
21772 * inet/tst-network.c: Likewise.
21773 * locale/C-collate.c: Likewise.
21774 * locale/C-ctype.c: Likewise.
21775 * locale/C-time.c: Likewise.
21776 * locale/C-translit.h: Likewise.
21777 * locale/loadarchive.c: Likewise.
21778 * locale/programs/3level.h: Likewise.
21779 * locale/programs/charmap.c: Likewise.
21780 * locale/programs/charmap.h: Likewise.
21781 * locale/programs/ld-address.c: Likewise.
21782 * locale/programs/ld-collate.c: Likewise.
21783 * locale/programs/ld-ctype.c: Likewise.
21784 * locale/programs/ld-identification.c: Likewise.
21785 * locale/programs/ld-measurement.c: Likewise.
21786 * locale/programs/ld-messages.c: Likewise.
21787 * locale/programs/ld-monetary.c: Likewise.
21788 * locale/programs/ld-name.c: Likewise.
21789 * locale/programs/ld-numeric.c: Likewise.
21790 * locale/programs/ld-paper.c: Likewise.
21791 * locale/programs/ld-telephone.c: Likewise.
21792 * locale/programs/ld-time.c: Likewise.
21793 * locale/programs/linereader.c: Likewise.
21794 * locale/programs/locale.c: Likewise.
21795 * locale/programs/locarchive.c: Likewise.
21796 * locale/programs/locfile.h: Likewise.
21797 * locale/programs/repertoire.c: Likewise.
21798 * locale/programs/simple-hash.c: Likewise.
21799 * locale/programs/simple-hash.h: Likewise.
21800 * malloc/memusage.c: Likewise.
21801 * malloc/memusagestat.c: Likewise.
21802 * nis/nis_defaults.c: Likewise.
21803 * nis/nis_hash.c: Likewise.
21804 * nis/nis_print.c: Likewise.
21805 * nis/nis_xdr.c: Likewise.
21806 * nscd/connections.c: Likewise.
21807 * nscd/hstcache.c: Likewise.
21808 * nscd/nscd_gethst_r.c: Likewise.
21809 * nscd/nscd_getserv_r.c: Likewise.
21810 * nscd/nscd_helper.c: Likewise.
21811 * nscd/servicescache.c: Likewise.
21812 * nss/makedb.c: Likewise.
21813 * nss/nss_db/db-XXX.c: Likewise.
21814 * nss/nss_db/db-initgroups.c: Likewise.
21815 * nss/nss_db/db-netgrp.c: Likewise.
21816 * nss/nss_files/files-network.c: Likewise.
21817 * nss/nss_files/files-parse.c: Likewise.
21818 * posix/bug-regex5.c: Likewise.
21819 * posix/fnmatch_loop.c: Likewise.
21820 * posix/regcomp.c: Likewise.
21821 * posix/regexec.c: Likewise.
21822 * posix/tst-rfc3484-2.c: Likewise.
21823 * posix/tst-rfc3484-3.c: Likewise.
21824 * posix/tst-rfc3484.c: Likewise.
21825 * resolv/nss_dns/dns-canon.c: Likewise.
21826 * resolv/nss_dns/dns-network.c: Likewise.
21827 * resolv/res_init.c: Likewise.
21828 * resolv/res_mkquery.c: Likewise.
21829 * resolv/tst-aton.c: Likewise.
21830 * stdlib/cxa_atexit.c: Likewise.
21831 * stdlib/cxa_finalize.c: Likewise.
21832 * stdlib/gen-fpioconst.c: Likewise.
21833 * stdlib/strtol_l.c: Likewise.
21834 * string/tst-endian.c: Likewise.
21835 * sunrpc/auth_des.c: Likewise.
21836 * sunrpc/clnt_udp.c: Likewise.
21837 * sunrpc/rtime.c: Likewise.
21838 * sunrpc/svcauth_des.c: Likewise.
21839 * sunrpc/xdr.c: Likewise.
21840 * sunrpc/xdr_intXX_t.c: Likewise.
21841 * sunrpc/xdr_rec.c: Likewise.
21842 * sysdeps/generic/ldconfig.h: Likewise.
21843 * sysdeps/generic/ldsodefs.h: Likewise.
21844 * sysdeps/generic/memusage.h: Likewise.
21845 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21846 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21847 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21848 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21849 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21851 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21852 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21853 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21854 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21855 * sysdeps/posix/getaddrinfo.c: Likewise.
21856 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21858 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21859 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21860 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21861 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21862 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21863 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21864 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21865 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21866 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21867 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21868 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21869 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21870 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21871 * sysdeps/x86_64/dl-tls.h: Likewise.
21872 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21873 * time/alt_digit.c: Likewise.
21874 * time/era.c: Likewise.
21875 * wcsmbs/tst-c16c32-1.c: Likewise.
21877 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21879 * math/libm-test.inc (struct test_sincos_data): New type.
21880 (RUN_TEST_LOOP_sincos): New macro.
21881 (sincos_test_data): New variable.
21882 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21884 2013-05-16 Richard Henderson <rth@redhat.com>
21886 * math/atest-exp2.c (LIMB64): New macro.
21887 (CONSTSZ): New macro.
21888 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21890 (print_mpn_fp): ... to function scope.
21891 (read_mpn_hex): Remove.
21892 (get_log2): Remove.
21893 (exp2_mpn): Use mp_log2.
21894 (main): Use mp_exp1.
21896 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21898 * math/libm-test.inc: Remove comment about not testing "inexact"
21900 (INEXACT_EXCEPTION): New macro.
21901 (NO_INEXACT_EXCEPTION): Likewise.
21902 (INVALID_EXCEPTION_OK): Update value.
21903 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21904 (OVERFLOW_EXCEPTION_OK): Likewise.
21905 (UNDERFLOW_EXCEPTION_OK): Likewise.
21906 (IGNORE_ZERO_INF_SIGN): Likewise.
21907 (ERRNO_UNCHANGED): Likewise.
21908 (ERRNO_EDOM): Likewise.
21909 (ERRNO_ERANGE): Likewise.
21910 (test_exceptions): Handle testing "inexact" exceptions.
21911 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21912 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21913 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21914 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21916 (rint_towardzero_test_data): Likewise.
21917 (rint_downward_test_data): Likewise.
21918 (rint_upward_test_data): Likewise.
21920 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21921 with OVERFLOW_EXCEPTION.
21922 (exp10_test_data): Likewise.
21923 (exp2_test_data): Likewise.
21924 (expm1_test_data): Likewise.
21925 (lgamma_test_data): Likewise.
21926 (pow_test_data): Likewise.
21927 (tgamma_test_data): Likewise.
21928 (yn_test_data): Remove duplicate test of overflow.
21930 * math/libm-test.inc (struct test_cc_c_data): New type.
21931 (RUN_TEST_LOOP_cc_c): New macro.
21932 (cpow_test_data): New variable.
21933 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21935 * math/libm-test.inc (struct test_f_L_data): New type.
21936 (RUN_TEST_LOOP_f_L): New macro.
21937 (llrint_test_data): New variable.
21938 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21939 (llrint_tonearest_test_data): New variable.
21940 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21941 (llrint_towardzero_test_data): New variable.
21942 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21943 (llrint_downward_test_data): New variable.
21944 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21945 (llrint_upward_test_data): New variable.
21946 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21947 (llround_test_data): New variable.
21948 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21950 2013-05-13 Peter Collingbourne <pcc@google.com>
21952 * math/atest-exp2.c (get_log2): Remove const attribute.
21954 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21956 * math/libm-test.inc (struct test_f_l_data): New type.
21957 (RUN_TEST_LOOP_f_l): New macro.
21958 (lrint_test_data): New variable.
21959 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21960 (lrint_tonearest_test_data): New variable.
21961 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21962 (lrint_towardzero_test_data): New variable.
21963 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21964 (lrint_downward_test_data): New variable.
21965 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21966 (lrint_upward_test_data): New variable.
21967 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21968 (lround_test_data): New variable.
21969 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21971 2013-05-15 Peter Collingbourne <pcc@google.com>
21973 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21974 (EXTRACT_WORDS64) Use where appropriate.
21975 (INSERT_WORDS64) Likewise.
21977 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21978 constraints with x constraints.
21979 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21981 * malloc/obstack.c (_obstack_compat): Add initializer.
21983 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21985 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21986 si_trapno and add si_addr_lsb to _sifields.sigfault.
21987 (si_trapno): Remove macro.
21988 (si_addr_lsb): Define new macro.
21989 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21991 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21993 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21994 instead of TEST_f_l.
21995 (llrint_test_tonearest): Likewise.
21996 (llrint_test_towardzero): Likewise.
21997 (llrint_test_downward): Likewise.
21998 (llrint_test_upward): Likewise.
21999 (llround_test): Likewise.
22001 * math/libm-test.inc (struct test_f_i_data): Add comment.
22002 (RUN_TEST_LOOP_f_b): New macro.
22003 (RUN_TEST_LOOP_f_b_tg): Likewise.
22004 (finite_test_data): New variable.
22005 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22006 (isfinite_test_data): New variable.
22007 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22008 (isinf_test_data): New variable.
22009 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22010 (isnan_test_data): New variable.
22011 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22012 (isnormal_test_data): New variable.
22013 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22014 (issignaling_test_data): New variable.
22015 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22016 (signbit_test_data): New variable.
22017 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22019 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22020 with INVALID_EXCEPTION.
22021 (acosh_test_data): Likewise.
22022 (asin_test_data): Likewise.
22023 (atanh_test_data): Likewise.
22024 (fmod_test_data): Likewise.
22025 (log_test_data): Likewise.
22026 (log10_test_data): Likewise.
22027 (log2_test_data): Likewise.
22028 (pow_test_data): Likewise.
22029 (sqrt_test_data): Likewise.
22030 (y0_test_data): Likewise.
22031 (y1_test_data): Likewise.
22032 (yn_test_data): Likewise.
22034 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22037 * math/libm-test.inc (struct test_ff_i_data): New type.
22038 (RUN_TEST_LOOP_ff_i_tg): New macro.
22039 (isgreater_test_data): New variable.
22040 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22041 (isgreaterequal_test_data): New variable.
22042 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22043 (isless_test_data): New variable.
22044 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22045 (islessequal_test_data): New variable.
22046 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22047 (islessgreater_test_data): New variable.
22048 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22049 (isunordered_test_data): New variable.
22050 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22052 2013-05-14 David S. Miller <davem@davemloft.net>
22054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22056 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22058 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22060 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22062 (struct test_f_i_data): Change type of max_ulp to int.
22064 * math/libm-test.inc (test_ffI_f1_data): New type.
22065 (RUN_TEST_LOOP_ffI_f1): New macro.
22066 (remquo_test_data): New variable.
22067 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22069 * setjmp/tst-setjmp-fp.c: New file.
22070 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22071 (link-libm): New variable.
22072 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22074 * math/libm-test.inc (struct test_f_i_data): New type.
22075 (RUN_TEST_LOOP_f_i): New macro.
22076 (RUN_TEST_LOOP_f_i_tg): Likewise.
22077 (fpclassify_test_data): New variable.
22078 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22079 (ilogb_test_data): New variable.
22080 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22082 * math/libm-test.inc (scalbln_test): Correct function name in END
22085 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22086 (RUN_TEST_LOOP_fI_f1): New macro.
22087 (frexp_test_data): New variable.
22088 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22090 * math/libm-test.inc (struct test_fF_f1_data): New type.
22091 (RUN_TEST_LOOP_fF_f1): New macro.
22092 (modf_test_data): New variable.
22093 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22095 * math/libm-test.inc (struct test_f_f1_data): New type.
22096 (RUN_TEST_LOOP_f_f1): New macro.
22097 (gamma_test_data): New variable.
22098 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22099 (lgamma_test_data): New variable.
22100 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22102 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22104 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22105 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22106 (main): Comment "tls" pseudo-hwcap.
22108 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22110 * math/libm-test.inc (struct test_fl_f_data): New type.
22111 (RUN_TEST_LOOP_fl_f): New variable.
22112 (scalbln_test_data): New variable.
22113 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22115 * math/libm-test.inc (struct test_fi_f_data): New type.
22116 (RUN_TEST_LOOP_fi_f): New macro.
22117 (ldexp_test_data): New variable.
22118 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22119 (scalbn_test_data): New variable.
22120 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22122 * math/libm-test.inc (struct test_c_f_data): New type.
22123 (RUN_TEST_LOOP_c_f): New macro.
22124 (cabs_test_data): New variable.
22125 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22126 (carg_test_data): New variable.
22127 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22128 (cimag_test_data): New variable.
22129 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22130 (creal_test_data): New variable.
22131 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22133 * math/libm-test.inc (struct test_if_f_data): New type.
22134 (RUN_TEST_LOOP_if_f): New macro.
22135 (jn_test_data): New variable.
22136 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22137 (yn_test_data): New variable.
22138 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22140 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22142 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22144 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22145 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22147 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22149 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22150 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22151 (bench-deps): Add bench-timing.h.
22152 * benchtests-bench-skeleton.c: Include bench-timing.h.
22153 (main): Use TIMING_* macros instead of clock_gettime.
22154 * benchtests/bench-timing.h: New file.
22157 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22158 Renamed from _LIB_VERSION.
22159 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22161 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22163 * math/libm-test.inc (struct test_fff_f_data): New type.
22164 (RUN_TEST_LOOP_fff_f): New macro.
22165 (fma_test_data): New variable.
22166 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22167 (fma_towardzero_test_data): New variable.
22168 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22169 (fma_downward_test_data): New variable.
22170 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22171 (fma_upward_test_data): New variable.
22172 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22174 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22175 (struct test_c_c_data): New type.
22176 (RUN_TEST_LOOP_c_c): New macro.
22177 (cacos_test_data): New variable.
22178 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22179 (cacosh_test_data): New variable.
22180 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22181 (casin_test_data): New variable.
22182 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22183 (casinh_test_data): New variable.
22184 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22185 (catan_test_data): New variable.
22186 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22187 (catanh_test_data): New variable.
22188 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22189 (ccos_test_data): New variable.
22190 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22191 (ccosh_test_data): New variable.
22192 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22193 (cexp_test_data): New variable.
22194 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22195 (clog_test_data): New variable.
22196 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22197 (clog10_test_data): New variable.
22198 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22199 (conj_test_data): New variable.
22200 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22201 (cproj_test_data): New variable.
22202 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22203 (csin_test_data): New variable.
22204 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22205 (csinh_test_data): New variable.
22206 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22207 (csqrt_test_data): New variable.
22208 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22209 (ctan_test_data): New variable.
22210 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22211 (ctan_tonearest_test_data): New variable.
22212 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22213 (ctan_towardzero_test_data): New variable.
22214 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22215 (ctan_downward_test_data): New variable.
22216 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22217 (ctan_upward_test_data): New variable.
22218 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22219 (ctanh_test_data): New variable.
22220 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22221 (ctanh_tonearest_test_data): New variable.
22222 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22223 (ctanh_towardzero_test_data): New variable.
22224 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22225 (ctanh_downward_test_data): New variable.
22226 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22227 (ctanh_upward_test_data): New variable.
22228 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22229 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22232 * math/libm-test.inc (struct test_ff_f_data): New type.
22233 (struct test_ff_f_data_nexttoward): Likewise.
22234 (RUN_TEST_LOOP_2_f): New macro.
22235 (RUN_TEST_LOOP_ff_f): Likewise.
22236 (atan2_test_data): New variable.
22237 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22238 (copysign_test_data): New variable.
22239 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22240 (fdim_test_data): New variable.
22241 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22242 (fmax_test_data): New variable.
22243 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22244 (fmin_test_data): New variable.
22245 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22246 (fmod_test_data): New variable.
22247 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22248 (hypot_test_data): New variable.
22249 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22250 (nextafter_test_data): New variable.
22251 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22252 (nexttoward_test_data): New variable.
22253 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22254 (pow_test_data): New variable.
22255 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22256 (pow_tonearest_test_data): New variable.
22257 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22258 (pow_towardzero_test_data): New variable.
22259 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22260 (pow_downward_test_data): New variable.
22261 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22262 (pow_upward_test_data): New variable.
22263 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22264 (remainder_test_data): New variable.
22265 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22266 (scalb_test_data): New variable.
22267 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22268 * sysdeps/i386/fpu/libm-test-ulps: Update.
22270 2013-05-11 Joseph Myers <joseph@codesourcery.com>
22272 * math/libm-test.inc (fma_test): Use max_value instead of local
22274 (nextafter_test): Likewise.
22276 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22277 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22278 (acos_downward_test_data): New variable.
22279 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22280 (acos_upward_test_data): New variable.
22281 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22282 (acosh_test_data): New variable.
22283 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22284 (asin_test_data): New variable.
22285 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22286 (asin_tonearest_test_data): New variable.
22287 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22288 (asin_towardzero_test_data): New variable.
22289 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22290 (asin_downward_test_data): New variable.
22291 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22292 (asin_upward_test_data): New variable.
22293 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22294 (asinh_test_data): New variable.
22295 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22296 (atan_test_data): New variable.
22297 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22298 (atanh_test_data): New variable.
22299 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22300 (cbrt_test_data): New variable.
22301 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22302 (ceil_test_data): New variable.
22303 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22304 (cos_test_data): New variable.
22305 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22306 (cos_tonearest_test_data): New variable.
22307 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22308 (cos_towardzero_test_data): New variable.
22309 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22310 (cos_downward_test_data): New variable.
22311 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22312 (cos_upward_test_data): New variable.
22313 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22314 (cosh_test_data): New variable.
22315 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22316 (cosh_tonearest_test_data): New variable.
22317 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22318 (cosh_towardzero_test_data): New variable.
22319 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22320 (cosh_downward_test_data): New variable.
22321 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22322 (cosh_upward_test_data): New variable.
22323 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22324 (erf_test_data): New variable.
22325 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22326 (erfc_test_data): New variable.
22327 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22328 (exp_test_data): New variable.
22329 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22330 (exp_tonearest_test_data): New variable.
22331 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22332 (exp_towardzero_test_data): New variable.
22333 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22334 (exp_downward_test_data): New variable.
22335 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22336 (exp_upward_test_data): New variable.
22337 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22338 (exp10_test_data): New variable.
22339 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22340 (exp2_test_data): New variable.
22341 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22342 (expm1_test_data): New variable.
22343 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22344 (fabs_test_data): New variable.
22345 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22346 (floor_test_data): New variable.
22347 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22348 (j0_test_data): New variable.
22349 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22350 (j1_test_data): New variable.
22351 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22352 (log_test_data): New variable.
22353 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22354 (log10_test_data): New variable.
22355 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22356 (log1p_test_data): New variable.
22357 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22358 (log2_test_data): New variable.
22359 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22360 (logb_test_data): New variable.
22361 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22362 (logb_downward_test_data): New variable.
22363 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22364 (nearbyint_test_data): New variable.
22365 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22366 (rint_test_data): New variable.
22367 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22368 (rint_tonearest_test_data): New variable.
22369 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22370 (rint_towardzero_test_data): New variable.
22371 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22372 (rint_downward_test_data): New variable.
22373 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22374 (rint_upward_test_data): New variable.
22375 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22376 (round_test_data): New variable.
22377 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22378 (sin_test_data): New variable.
22379 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22380 (sin_tonearest_test_data): New variable.
22381 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22382 (sin_towardzero_test_data): New variable.
22383 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22384 (sin_downward_test_data): New variable.
22385 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22386 (sin_upward_test_data): New variable.
22387 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22388 (sinh_test_data): New variable.
22389 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22390 (sinh_tonearest_test_data): New variable.
22391 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22392 (sinh_towardzero_test_data): New variable.
22393 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22394 (sinh_downward_test_data): New variable.
22395 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22396 (sinh_upward_test_data): New variable.
22397 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22398 (sqrt_test_data): New variable.
22399 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22400 (tan_test_data): New variable.
22401 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22402 (tan_tonearest_test_data): New variable.
22403 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22404 (tan_towardzero_test_data): New variable.
22405 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22406 (tan_downward_test_data): New variable.
22407 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22408 (tan_upward_test_data): New variable.
22409 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22410 (tanh_test_data): New variable.
22411 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22412 (tgamma_test_data): New variable.
22413 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22414 (trunc_test_data): New variable.
22415 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22416 (y0_test_data): New variable.
22417 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22418 (y1_test_data): New variable.
22419 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22420 (significand_test_data): New variable.
22421 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22423 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22426 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22428 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22430 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22432 2013-05-10 Andreas Jaeger <aj@suse.de>
22435 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22436 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22438 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22440 * math/gen-libm-test.pl (adjust_arg): New function.
22441 (special_functions): Handle generating output in both functions
22443 (parse_args): Likewise.
22444 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22445 $in_func argument to parse_args.
22446 * math/libm-test.inc (struct test_f_f_data): New type.
22447 (IF_ROUND_INIT_): New macro.
22448 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22449 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22450 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22451 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22452 (ROUND_RESTORE_): Likewise.
22453 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22454 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22455 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22456 (ROUND_RESTORE_FE_UPWARD): Likewise.
22457 (RUN_TEST_LOOP_f_f): New macro.
22458 (acos_test_data): New variable.
22459 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22460 (acos_tonearest_test_data): New variable.
22461 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22463 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22465 * benchtests/bench-skeleton.c (startup): Fix coding style.
22467 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22470 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22471 negative infinity argument.
22472 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22473 negative infinity argument.
22474 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22475 negative infinity argument.
22476 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22479 2013-05-10 Florian Weimer <fweimer@redhat.com>
22481 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22482 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22483 * iconv/iconv_prog.c (main): Likewise.
22484 * locale/programs/charmap-dir.c (charmap_readdir)
22485 (fopen_uncompressed): Likewise.
22486 * locale/programs/locfile.c (siblings_uncached)
22487 (write_locale_data): Use lstat64 instead of lstat.
22488 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22491 2013-05-10 Andreas Jaeger <aj@suse.de>
22494 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22496 Include <locale.h>.
22498 2013-05-09 Carlos O'Donell <carlos@redhat.com>
22500 * elf/dl-close.c (_dl_close_worker): Add comments.
22502 2013-05-09 Joseph Myers <joseph@codesourcery.com>
22505 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22507 (__ieee754_rem_pio2l): Update comments.
22510 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22512 (__ieee754_rem_pio2l): Update comments.
22514 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22515 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22517 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22520 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22521 (M_PI_34_LOG10El): Likewise.
22522 (M_PI2_LOG10El): Likewise.
22523 (M_PI4_LOG10El): Likewise.
22524 (M_PI_LOG10El): Likewise.
22526 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22530 2013-05-08 Joseph Myers <joseph@codesourcery.com>
22532 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22533 (MINUS_ZERO_INIT): Likewise.
22534 (PLUS_INFTY_INIT): Likewise.
22535 (MINUS_INFTY_INIT): Likewise.
22536 (QNAN_VALUE_INIT): Likewise.
22537 (MAX_VALUE_INIT): Likewise.
22538 (MIN_VALUE_INIT): Likewise.
22539 (MIN_SUBNORM_VALUE_INIT): Likewise.
22540 (plus_zero): Initialize with PLUS_ZERO_INIT.
22541 (minus_zero): Initialize with MINUS_ZERO_INIT.
22542 (plus_infty): Initialize with PLUS_INFTY_INIT.
22543 (minus_infty): Initialize with MINUS_INFTY_INIT.
22544 (qnan_value): Initialize with QNAN_VALUE_INIT.
22545 (max_value): Initialize with MAX_VALUE_INIT.
22546 (min_value): Initialize with MIN_VALUE_INIT.
22547 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22549 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22550 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22551 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22552 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22554 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22555 (RUN_TEST_2_f): Likewise.
22556 (RUN_TEST_ff_f): Likewise.
22557 (RUN_TEST_fi_f): Likewise.
22558 (RUN_TEST_fl_f): Likewise.
22559 (RUN_TEST_fff_f): Likewise.
22560 (RUN_TEST_c_f): Likewise.
22561 (RUN_TEST_f_f1): Likewise.
22562 (RUN_TEST_fF_f1): Likewise.
22563 (RUN_TEST_fI_f1): Likewise.
22564 (RUN_TEST_ffI_f1): Likewise.
22565 (RUN_TEST_c_c): Likewise.
22566 (RUN_TEST_cc_c): Likewise.
22567 (RUN_TEST_f_i): Likewise.
22568 (RUN_TEST_f_i_tg): Likewise.
22569 (RUN_TEST_ff_i_tg): Likewise.
22570 (RUN_TEST_f_b): Likewise.
22571 (RUN_TEST_f_b_tg): Likewise.
22572 (RUN_TEST_f_l): Likewise.
22573 (RUN_TEST_f_L): Likewise.
22574 (RUN_TEST_sincos): Likewise.
22575 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22576 whether to show exceptions. Do not include ");\n" in return
22578 (special_functions): Output call to RUN_TEST_sincos instead of
22579 check_float calls. Update calls to new_test.
22580 (parse_args): Output call to single RUN_TEST_* macro instead of
22581 check_* calls and other assignments. Update calls to new_test.
22587 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22588 input to result for tgamma overflow.
22589 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22590 (gamma_coeff): New variable.
22591 (NCOEFF): New macro.
22592 (gamma_positive): New function.
22593 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22594 underflow here. Use gamma_positive instead of exp (lgamma) for
22596 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22597 (gamma_coeff): New variable.
22598 (NCOEFF): New macro.
22599 (gammaf_positive): New function.
22600 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22601 underflow here. Use gamma_positive instead of exp (lgamma) for
22603 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22604 (gamma_coeff): New variable.
22605 (NCOEFF): New macro.
22606 (gammal_positive): New function.
22607 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22608 underflow here. Use gamma_positive instead of exp (lgamma) for
22610 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22611 (gamma_coeff): New variable.
22612 (NCOEFF): New macro.
22613 (gammal_positive): New function.
22614 (__ieee754_gammal_r): Handle positive infinity, overflow and
22615 underflow here. Handle NaN the same as positive infinity. Remove
22616 check x < 0xffffffff for negative integers. Use gamma_positive
22617 instead of exp (lgamma) for other arguments.
22618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22619 (gamma_coeff): New variable.
22620 (NCOEFF): New macro.
22621 (gammal_positive): New function.
22622 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22623 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22627 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22628 * sysdeps/generic/math_private.h (__gamma_productf): New
22630 (__gamma_product): Likewise.
22631 (__gamma_productl): Likewise.
22632 * math/Makefile (libm-calls): Add gamma_product.
22633 * math/libm-test.inc (tgamma_test): Add more tests.
22634 * sysdeps/i386/fpu/libm-test-ulps: Update.
22635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22637 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
22639 * benchtests/bench-skeleton.c (main): Preheat CPU.
22641 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22643 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22645 2013-05-07 Roland McGrath <roland@hack.frob.com>
22647 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22648 and _dl_skip_args_internal.
22650 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22652 * manual/message.texi (Message Translation): Talk about users.
22653 Message to key mapping impacts design.
22655 2013-05-06 Roland McGrath <roland@hack.frob.com>
22657 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22659 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22661 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22662 * sysdeps/wordsize-64/glob64.c: ... here.
22664 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22665 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22668 * debug/getlogin_r_chk.c: Moved to ...
22669 * login/getlogin_r_chk.c: ... here.
22670 * debug/Makefile (routines): Move getlogin_r_chk to ...
22671 * login/Makefile (routines): ... here.
22672 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22673 * login/Versions (libc: GLIBC_2.4): ... here.
22675 * io/poll.c (__poll): Renamed from poll.
22676 Add libc_hidden_def.
22677 (poll): Define as weak alias.
22679 * debug/ptsname_r_chk.c: Moved to ...
22680 * login/ptsname_r_chk.c: ... here.
22681 * debug/Makefile (routines): Move ptsname_r_chk to ...
22682 * login/Makefile (routines): ... here.
22683 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22684 * login/Versions (libc: GLIBC_2.4): ... here.
22686 * posix/getlogin.c: Moved to ...
22687 * login/getlogin.c: ... here.
22688 * posix/getlogin_r.c: Moved to ...
22689 * login/getlogin_r.c: ... here.
22690 * posix/getlogin_r.c: Moved to ...
22691 * login/getlogin_r.c: ... here.
22692 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22693 * login/Makefile (routines): ... here.
22694 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22695 * login/Versions (libc: GLIBC_2.0): ... here.
22697 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22698 (setrlimit): Define as weak alias.
22700 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22701 Call __ names for open, ftruncate, and close.
22702 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22703 (truncate): Define as weak alias.
22705 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22707 * math/gen-libm-test.pl (parse_args): Initialize x before each
22708 test of frexp, modf and remquo.
22710 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22711 test signgam value.
22713 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22717 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22719 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22721 2013-05-06 Roland McGrath <roland@hack.frob.com>
22723 * elf/dl-writev.h: New file.
22724 * elf/dl-misc.c: Include it.
22725 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22726 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22728 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22730 * math/libm-test.inc (noXFails): Remove variable.
22731 (noXPasses): Likewise.
22732 (BUILD_COMPLEX_INT): Remove macro.
22733 (print_screen): Remove xfail argument.
22734 (print_screen_max_error): Likewise.
22735 (update_stats): Likewise.
22736 (print_max_error): Likewise. Update calls to other affected
22738 (print_complex_max_error): Likewise.
22739 (test_single_exception): Update calls to print_screen.
22740 (test_single_errno): Likewise.
22741 (check_float_internal): Remove xfail argument. Update calls to
22742 other affected functions.
22743 (check_float): Likewise.
22744 (check_complex): Likewise.
22745 (check_int): Likewise.
22746 (check_long): Likewise.
22747 (check_bool): Likewise.
22748 (check_longlong): Likewise.
22749 (main): Don't print noXFails and noXPasses.
22750 * math/gen-libm-test.pl (top level): Don't mention expected
22751 failure handling in comment.
22752 (new_test): Don't handle expected failures.
22753 (parse_args): Don't mention expected failure handling in comment.
22754 (generate_testfile): Don't handle expected failures.
22755 (parse_ulps): Likewise.
22756 (print_ulps_file): Likewise.
22757 (get_failure): Remove function.
22758 (output_test): Don't handle expected failures.
22759 * make/README.libm-test: Don't mention expected failure handling.
22761 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22762 (minus_zero): Likewise.
22763 (plus_infty): Likewise.
22764 (minus_infty): Likewise.
22765 (qnan_value): Likewise.
22766 (max_value): Likewise.
22767 (min_value): Likewise.
22768 (min_subnorm_value): Likewise.
22769 (initialize): Do not initialize those variables dynamically.
22771 2013-05-03 Roland McGrath <roland@hack.frob.com>
22773 * io/open.c (__open_2): Moved to ...
22774 * io/open_2.c: ... this new file.
22775 * io/open64.c (__open64_2): Moved to ...
22776 * io/open64_2.c: ... this new file.
22777 * io/openat.c (__openat_2): Moved to ...
22778 * io/openat_2.c: ... this new file.
22779 * io/openat64.c (__openat64_2): Moved to ...
22780 * io/openat64_2.c: ... this new file.
22781 * io/Makefile (routines): Add them.
22782 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22783 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22784 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22785 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22786 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22787 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22788 (__openat64): Add hidden_ver.
22789 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22790 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22792 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22793 Separately conditionalize setting of GLRO(dl_sysinfo) so
22794 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22795 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22797 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22799 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22800 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22802 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22803 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22804 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22805 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22806 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22808 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22810 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22811 test signgam value.
22813 * math/libm-test.inc (hypot_test): Do not use
22814 IGNORE_ZERO_INF_SIGN.
22816 2013-05-03 Andreas Jaeger <aj@suse.de>
22818 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22820 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22821 (PF_MAX): Adjust for VSOCK change.
22823 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22827 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22830 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22831 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22832 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22834 2013-05-02 David S. Miller <davem@davemloft.net>
22836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22838 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22840 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22842 2013-05-01 Roland McGrath <roland@hack.frob.com>
22844 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22846 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22849 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22850 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22851 Use __attribute__ ((__gnu_inline__)).
22852 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22853 Don't use __attribute__ ((__gnu_inline__)).
22855 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22858 * math/s_catan.c (__catan): Handle small real or imaginary part of
22859 input specially to avoid spurious underflow.
22860 * math/s_catanf.c (__catanf): Likewise.
22861 * math/s_catanh.c (__catanh): Likewise.
22862 * math/s_catanhf.c (__catanhf): Likewise.
22863 * math/s_catanhl.c (__catanhl): Likewise.
22864 * math/s_catanl.c (__catanl): Likewise.
22865 * math/libm-test.inc (catan_test): Add more tests.
22866 (catanh_test): Likewise.
22867 * sysdeps/i386/fpu/libm-test-ulps: Update.
22868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22870 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22874 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22877 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22878 accurately for denominator in atan2.
22879 * math/s_catanf.c (__catanf): Likewise.
22880 * math/s_catanh.c (__catanh): Likewise.
22881 * math/s_catanhf.c (__catanhf): Likewise.
22882 * math/s_catanhl.c (__catanhl): Likewise.
22883 * math/s_catanl.c (__catanl): Likewise.
22884 * math/libm-test.inc (catan_test): Add more tests.
22885 (catanh_test): Likewise.
22886 * sysdeps/i386/fpu/libm-test-ulps: Update.
22887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22889 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22891 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22893 * benchtests/Makefile (bench): Remove slow benchmarks.
22894 * benchtests/atan-inputs: Add slow benchmark inputs.
22895 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22896 (BENCH_FUNC): Accept variant offset.
22898 * benchtests/bench-skeleton.c (main): Run benchmark for each
22900 * benchtests/cos-inputs: Add slow benchmark inputs.
22901 * benchtests/exp-inputs: Likewise.
22902 * benchtests/pow-inputs: Likewise.
22903 * benchtests/sin-inputs: Likewise.
22904 * benchtests/slowatan-inputs: Remove.
22905 * benchtests/slowatan.c: Remove.
22906 * benchtests/slowcos-inputs: Remove.
22907 * benchtests/slowcos.c: Remove.
22908 * benchtests/slowexp-inputs: Remove.
22909 * benchtests/slowexp.c: Remove.
22910 * benchtests/slowpow-inputs: Remove.
22911 * benchtests/slowpow.c: Remove.
22912 * benchtests/slowsin-inputs: Remove.
22913 * benchtests/slowsin.c: Remove.
22914 * benchtests/slowtan-inputs: Remove.
22915 * benchtests/slowtan.c: Remove.
22916 * benchtests/tan-inputs: Add slow benchmark inputs.
22917 * scripts/bench.pl: Parse comments and directives.
22919 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22921 ($(objpfx)bench-%.c): Remove *-ITER.
22922 * benchtests/bench-modf.c: Remove definition of ITER.
22923 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22924 (main): Loop for DURATION seconds instead of fixed number of
22926 * scripts/bench.pl: Don't expect iterations in parameters.
22928 2013-04-29 Roland McGrath <roland@hack.frob.com>
22930 * io/fchdir.c (__fchdir): Renamed from fchdir.
22931 (fchdir): Define as weak alias.
22933 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22935 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22936 (ERRNO_EDOM): Likewise.
22937 (ERRNO_ERANGE): Likewise.
22938 (noErrnoTests): New variable.
22939 (init_max_error): Set errno to 0.
22940 (test_single_errno): New function.
22941 (test_errno): Likewise.
22942 (check_float_internal): Call test_errno. Set errno to 0.
22943 (check_complex): Refer to errno tests in comment.
22944 (check_int): Call test_errno. Set errno to 0.
22945 (check_long): Likewise.
22946 (check_bool): Likewise.
22947 (check_longlong): Likewise.
22948 (cos_test): Use ERRNO_* flags for errno tests instead of
22950 (expm1_test): Likewise.
22951 (fmod_test): Likewise.
22952 (ilogb_test): Likewise.
22953 (lgamma_test): Likewise.
22954 (pow_test): Likewise.
22955 (remainder_test): Likewise.
22956 (sin_test): Likewise.
22957 (tan_test): Likewise.
22958 (yn_test): Likewise.
22959 (initialize): Set errno to 0.
22960 (main): Print number of errno tests.
22961 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22963 2013-04-29 Andreas Jaeger <aj@suse.de>
22966 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22970 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22971 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22975 * stdlib/random.c (__initstate): Return NULL if
22979 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22980 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22983 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22987 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22989 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22990 of individual tests.
22991 (casin_test): Likewise.
22992 (casinh_test): Likewise.
22994 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22997 * math/s_catan.c (__catan): Handle arguments with large real or
22998 imaginary part separately without squaring.
22999 * math/s_catanf.c (__catanf): Likewise.
23000 * math/s_catanh.c (__catanh): Likewise.
23001 * math/s_catanhf.c (__catanhf): Likewise.
23002 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23004 (__catanhl): Handle arguments with large real or imaginary part
23005 separately without squaring.
23006 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23008 (__catanl): Handle arguments with large real or imaginary part
23009 separately without squaring.
23010 * math/libm-test.inc (catan_test): Add more tests.
23011 (catanh_test): Likewise.
23012 * sysdeps/i386/fpu/libm-test-ulps: Update.
23013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23015 2013-04-27 Andreas Jaeger <aj@suse.de>
23018 * stdlib/stdlib.h: Update guards for qecvt.
23019 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23022 2013-04-27 Allan McRae <allan@archlinux.org>
23024 * sysdeps/i386/fpu/libm-test-ulps: Update.
23026 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23029 * math/s_catan.c: Include <float.h>.
23030 (__catan): Ensure underflow exception occurs for underflowed
23032 * math/s_catanf.c: Include <float.h>.
23033 (__catanf): Ensure underflow exception occurs for underflowed
23035 * math/s_catanh.c: Include <float.h>.
23036 (__catanh): Ensure underflow exception occurs for underflowed
23038 * math/s_catanhf.c: Include <float.h>.
23039 (__catanhf): Ensure underflow exception occurs for underflowed
23041 * math/s_catanhl.c: Include <float.h>.
23042 (__catanhl): Ensure underflow exception occurs for underflowed
23044 * math/s_catanl.c: Include <float.h>.
23045 (__catanl): Ensure underflow exception occurs for underflowed
23047 * math/libm-test.inc (catan_test): Add more tests.
23048 (catanh_test): Likewise.
23051 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23052 underflowed result.
23053 * math/s_ccoshf.c (__ccoshf): Likewise.
23054 * math/s_ccoshl.c (__ccoshl): Likewise.
23055 * math/s_csin.c (__csin): Likewise.
23056 * math/s_csinf.c (__csinf): Likewise.
23057 * math/s_csinh.c (__csinh): Likewise.
23058 * math/s_csinhf.c (__csinhf): Likewise.
23059 * math/s_csinhl.c (__csinhl): Likewise.
23060 * math/s_csinl.c (__csinl): Likewise.
23061 * math/libm-test.inc (ccos_test): Add more tests.
23062 (ccosh_test): Likewise.
23063 (csin_test): Likewise.
23064 (csinh_test): Likewise.
23066 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23068 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23069 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23070 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23071 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23072 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23073 powerpc/power5+/fpu folders.
23074 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23077 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23081 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23083 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23084 additions to variable.
23085 [$(config-machine) = x86_64] (modules-names): Likewise.
23086 ($(objpfx)tst-audit3): Remove dependency.
23087 ($(objpfx)tst-audit3.out): Likewise.
23088 ($(objpfx)tst-audit4): Likewise.
23089 ($(objpfx)tst-audit4.out): Likewise.
23090 ($(objpfx)tst-audit5): Likewise.
23091 ($(objpfx)tst-audit5.out): Likewise.
23092 ($(objpfx)tst-audit6): Likewise.
23093 ($(objpfx)tst-audit6.out): Likewise.
23094 ($(objpfx)tst-audit7): Likewise.
23095 ($(objpfx)tst-audit7.out): Likewise.
23096 (tst-audit3-ENV): Remove variable.
23097 (tst-audit4-ENV): Likewise.
23098 (tst-audit5-ENV): Likewise.
23099 (tst-audit6-ENV): Likewise.
23100 (tst-audit7-ENV): Likewise.
23101 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23102 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23103 addition to variable.
23104 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23105 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23106 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23107 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23108 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23109 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23110 tst-audit3, tst-audit4 and tst-audit5.
23111 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23112 tst-audit6 and tst-audit7.
23113 [$(subdir) = elf] (modules-names): Add audit modules for those
23115 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23116 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23117 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23118 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23119 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23120 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23121 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23122 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23123 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23124 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23125 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23126 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23127 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23128 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23129 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23130 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23132 [$(subdir) = elf && $(config-cflags-avx) = yes]
23133 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23134 [$(subdir) = elf && $(config-cflags-avx) = yes]
23135 (CFLAGS-tst-auditmod4a.c): Likewise.
23136 [$(subdir) = elf && $(config-cflags-avx) = yes]
23137 (CFLAGS-tst-auditmod4b.c): Likewise.
23138 [$(subdir) = elf && $(config-cflags-avx) = yes]
23139 (CFLAGS-tst-auditmod6b.c): Likewise.
23140 [$(subdir) = elf && $(config-cflags-avx) = yes]
23141 (CFLAGS-tst-auditmod6c.c): Likewise.
23142 [$(subdir) = elf && $(config-cflags-avx) = yes]
23143 (CFLAGS-tst-auditmod7b.c): Likewise.
23144 * elf/tst-audit3.c: Move to ...
23145 * sysdeps/x86_64/tst-audit3.c: ... here.
23146 * elf/tst-audit4.c: Move to ...
23147 * sysdeps/x86_64/tst-audit4.c: ... here.
23148 * elf/tst-audit5.c: Move to ...
23149 * sysdeps/x86_64/tst-audit5.c: ... here.
23150 * elf/tst-audit6.c: Move to ...
23151 * sysdeps/x86_64/tst-audit6.c: ... here.
23152 * elf/tst-audit7.c: Move to ...
23153 * sysdeps/x86_64/tst-audit7.c: ... here.
23154 * elf/tst-auditmod3a.c: Move to ...
23155 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23156 * elf/tst-auditmod3b.c: Move to ...
23157 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23158 * elf/tst-auditmod4a.c: Move to ...
23159 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23160 * elf/tst-auditmod4b.c: Move to ...
23161 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23162 * elf/tst-auditmod5a.c: Move to ...
23163 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23164 * elf/tst-auditmod5b.c: Move to ...
23165 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23166 * elf/tst-auditmod6a.c: Move to ...
23167 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23168 * elf/tst-auditmod6b.c: Move to ...
23169 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23170 * elf/tst-auditmod6c.c: Move to ...
23171 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23172 * elf/tst-auditmod7a.c: Move to ...
23173 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23174 * elf/tst-auditmod7b.c: Move to ...
23175 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23177 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23180 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23181 define unconditionally.
23182 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23183 define unconditionally.
23184 (INT8_C, INT16_C, etc.): Likewise.
23186 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23188 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23189 __ehdr_start with hidden visibility.
23191 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23193 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23195 * math/libm-test.inc (cos_test): Use accurate hex constants.
23196 (sincost_test): Likewise.
23198 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23200 * math/libm-test.inc (catan_test): Add more tests.
23201 (catanh_test): Likewise.
23203 * math/s_catanf.c (__catanf): Use suffixed floating-point
23205 * math/s_catanhf.c (__catanhf): Likewise.
23206 * math/s_catanhl.c (__catanhl): Likewise.
23207 * math/s_catanl.c (__catanl): Likewise.
23210 * math/s_catan.c (__catan): Calculate imaginary part of result
23211 with log1p not log unless computing log of number close to 0.
23212 * math/s_catanf.c (__catanf): Likewise.
23213 * math/s_catanl.c (__catanl): Likewise.
23214 * math/s_catanh.c (__catanh): Calculate real part of result with
23215 log1p not log unless computing log of number close to 0.
23216 * math/s_catanhf.c (__catanhf): Likewise.
23217 * math/s_catanhl.c (__catanhl): Likewise.
23218 * math/libm-test.inc (catan_test): Add more tests.
23219 (catanh_test): Likewise.
23220 * sysdeps/i386/fpu/libm-test-ulps: Update.
23221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23223 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23225 * benchtests/Makefile: Mention files in which fast and slow
23226 paths of math functions are implemented.
23228 2013-04-23 Roland McGrath <roland@hack.frob.com>
23230 * sysdeps/posix/timespec_get.c: New file.
23232 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23234 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23236 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23238 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23239 powerpc/power5/fpu folders.
23240 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23241 * benchtests/Makefile: Add modf testcase.
23242 * benchtests/bench-modf.c: New file: Benchmark test for mo
23244 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23247 * time/Makefile (tests): Add tst-strptime-whitespace.
23248 * time/strptime_l.c (get_number): Use ISSPACE.
23249 (__strptime_internal): Likewise.
23250 * time/tst-strptime-whitespace.c: New test case.
23252 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23254 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23256 (_nss_files_init): Set it here.
23258 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23260 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23261 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23264 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23266 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23268 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23270 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23273 2013-04-21 David S. Miller <davem@davemloft.net>
23275 * po/ru.po: Update Russion translation from translation project.
23277 2013-04-17 Adam Conrad <adconrad@0c3.net>
23279 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23282 2013-04-17 Carlos O'Donell <carlos@redhat.com>
23284 * configure.in: Remove i386 configure warning. Remove i386 case.
23285 * configure: Regenerate.
23286 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23287 Add example to error message.
23288 * sysdeps/i386/configure: Regenerate.
23290 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23292 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23294 * benchtests/cos-inputs: New file.
23295 * benchtests/slowcos-inputs: New file.
23296 * benchtests/slowcos.c: New file.
23297 * benchtests/slowtan-inputs: New file.
23298 * benchtests/slowtan.c: New file.
23299 * benchtests/tan-inputs: New file.
23301 2013-04-16 Roland McGrath <roland@hack.frob.com>
23303 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23306 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23308 * benchtests/Makefile: Include cppflags-iterator.mk to add
23309 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23311 * Makefile.in (bench-clean): New target.
23312 * benchtests/Makefile (bench-clean): Likewise.
23314 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23316 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23318 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23320 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23322 2013-04-15 Andreas Schwab <schwab@suse.de>
23324 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23325 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23326 * nscd/pwdcache.c (cache_addpw): Likewise.
23327 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23330 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23332 * benchtests/Makefile (bench): Write all output to
23333 bench-out.tmp together.
23335 2013-04-15 Andreas Schwab <schwab@suse.de>
23337 * nscd/nscd.c (main): Don't fork again after closing files.
23339 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23341 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23343 * benchtests/Rules (bench-deps): Collect dependencies into a
23344 single variable. Add Makefile to dependencies.
23345 ($(objpfx)bench-%.c): Depend on bench-deps.
23347 2013-04-12 Roland McGrath <roland@hack.frob.com>
23348 Xavier Roche <roche+kml2@exalead.com>
23351 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23352 just that it's a file descriptor.
23353 * manual/llio.texi (Synchronizing AIO Operations): Update description
23354 for EBADF error from aio_fsync.
23356 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23358 * Rules (bench): Move target definition...
23359 * benchtests/Makefile: ... here.
23361 2013-04-11 Carlos O'Donell <carlos@redhat.com>
23363 * math/libm-test.inc (cos_test): Fix PI/2 test.
23364 (sincos_test): Likewise.
23365 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23366 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23368 2013-04-11 Andreas Schwab <schwab@suse.de>
23371 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23372 accept exponent character only when digits were seen.
23373 * stdio-common/Makefile (tests): Add bug26.
23374 * stdio-common/bug26.c: New file.
23377 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23380 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23382 * Makeconfig (rtld-prefix): Define built linker prefix.
23383 * Rules (run-bench): Use it.
23384 * math/Makefile (run-regen-ulps): Likewise.
23386 * Rules (bench): Remove eval.
23388 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23389 Roland McGrath <roland@hack.frob.com>
23390 Ondrej Bilka <neleai@seznam.cz>
23393 * time/getdate.c: Include ctype.h and alloca.h.
23394 (__getdate_r): Trim leading and trailing spaces of input.
23395 * time/tst-getdate.c (tests): Add tests with leading and
23398 2013-04-08 Roland McGrath <roland@hack.frob.com>
23401 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23402 when computing value.
23404 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23406 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23407 Use testrun.sh to run libm tests.
23410 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23412 2013-04-06 Marko Myllynen <myllynen@redhat.com>
23415 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23417 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23419 * Makefile.in (regen-ulps): New target.
23420 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23421 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23422 [ifneq (no,$(PERL)] (regen-ulps): New target.
23423 [ifeq (no,$(PERL)] (regen-ulps): New target.
23424 * math/libm-test.inc (ulps_file_name): Define.
23425 (output_dir): New variable.
23426 (options): Add "output-dir" option.
23427 (parse_opt): Handle 'o' case.
23428 (main): If output_dir is non-NULL use it as a prefix
23430 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23432 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23434 [BZ #10060, #10062]
23435 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23436 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23437 fail configure if __sync_val_compare_and_swap is not inlined.
23438 * sysdeps/i386/configure: Regenerate.
23439 * configure.in: Build for i686 when configured for i386.
23440 * configure: Regenerate.
23441 * README: Remove i386 reference.
23443 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23445 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23446 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23448 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23450 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23451 (lmsnanval): New variables.
23452 (F): Add conversion tests.
23453 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23454 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23456 * stdio-common/tstdiomisc.c (F): Properly collect individual
23459 [BZ #14686, #15336]
23460 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23461 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23462 Instead, use input NaN values or generate a qNaN by arithmetic
23463 operation. Also fix bugs to comply with the standard.
23464 * math/libm-test.inc (remainder_test): Add more tests.
23466 [BZ #15335, #15342]
23467 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23468 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23469 input NaN values or generate a qNaN by arithmetic operation.
23471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23474 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23477 2013-04-03 Joseph Myers <joseph@codesourcery.com>
23480 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23481 underflowed result.
23482 * math/s_cexpf.c (__cexpf): Likewise.
23483 * math/s_cexpl.c (__cexpl): Likewise.
23484 * math/libm-test.inc (cexp_test): Add more tests.
23486 2013-04-03 Andreas Schwab <schwab@suse.de>
23489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23490 order arrays from heap if bigger than alloca cutoff.
23492 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23494 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23495 (SNAN_TESTS_double): Refer to GCC PR56831.
23496 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23499 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23501 * Rules (bench): Move bench.out after the run is complete.
23503 * Rules (bench): Echo currently running benchmark.
23505 * benchtests/Makefile (bench): Add atan and slowatan.
23506 * benchtests/atan-inputs: New file.
23507 * benchtests/slowatan-inputs: New file.
23508 * benchtests/slowatan.c: New file.
23510 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23515 * sysdeps/unix/sysv/linux/kernel-features.h
23516 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23517 __ASSUME_XFS_RESTRICTED_CHOWN.
23518 * sysdeps/unix/sysv/linux/pathconf.c
23519 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23520 Save and restore errno.
23522 2013-04-02 Joseph Myers <joseph@codesourcery.com>
23525 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23526 arguments using __kernel_casinh.
23527 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23528 arguments using __kernel_casinhf.
23529 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23530 arguments using __kernel_casinhl.
23531 * math/libm-test.inc (cacosh_test): Add more tests.
23532 * sysdeps/i386/fpu/libm-test-ulps: Update.
23533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23535 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23537 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23540 * bench/Makefile (bench): Add sin and slowsin.
23541 * benchtests/sin-inputs: New file.
23542 * benchtests/slowsin-inputs: New file.
23543 * benchtests/slowsin.c: New file.
23545 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23546 (bench): Add slowexp and slowpow.
23547 (exp-ITER): Increase iterations.
23548 (pow-ITER): Likewise.
23549 * benchtests/exp-inputs: Change input.
23550 * benchtests/pow-inputs: Likewise.
23551 * benchtests/slowexp-inputs: New file.
23552 * benchtests/slowexp.c: New file.
23553 * benchtests/slowpow-inputs: New file.
23554 * benchtests/slowpow.c: New file.
23556 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23558 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23560 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23561 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23562 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23563 * benchtests/Makefile: Add rint benchtest.
23564 * benchtests/rint-inputs: Input for rint benchtest.
23566 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23568 * Versions.def (libm): Add GLIBC_2.18.
23569 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23570 hidden libm prototypes.
23571 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23572 * math/Makefile (libm-calls): Add s_issignaling.
23573 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23574 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23575 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23577 * math/math.h [__USE_GNU] (issignaling): New macro.
23578 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23579 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23580 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23581 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23584 * manual/arith.texi (issignaling): New section.
23585 * manual/libm-err-tab.pl (@all_functions): Update comment.
23586 * math/gen-libm-test.pl (parse_args): Apply special handling for
23588 * math/libm-test.inc (print_float, issignaling_test): New
23590 (check_float_internal): Add issignaling checks.
23591 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23592 default definition.
23593 * sysdeps/powerpc/math-tests.h: New file.
23594 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23596 * math/test-snan.c (TEST_FUNC): Likewise.
23598 2013-03-30 David S. Miller <davem@davemloft.net>
23600 * po/de.po: Update from translation team.
23602 2013-03-30 Joseph Myers <joseph@codesourcery.com>
23605 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23606 imaginary part less than 1.0 and real part less than 0.5
23608 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23609 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23610 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23611 (cacos_test): Add more tests.
23612 (casin_test): Likewise.
23613 (casinh_test): Likewise.
23614 * sysdeps/i386/fpu/libm-test-ulps: Update.
23615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23617 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23619 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23620 ONE with its value.
23622 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23623 (__pow_mp): Replace ONE and MONE with their values.
23624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23626 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23627 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23628 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23629 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23631 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23633 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23634 (__pow_mp): Replace ZERO and MZERO with their values.
23635 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23636 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23637 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23638 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23639 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23640 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23643 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23645 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23647 2013-03-28 Roland McGrath <roland@hack.frob.com>
23649 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23650 Declare with __attribute__ ((weak)).
23651 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23652 Call __call_tls_dtors only if it's not NULL.
23654 2013-03-28 Roland McGrath <roland@hack.frob.com>
23656 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23657 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23658 magic __ehdr_start linker symbol if it's defined.
23659 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23660 them up here if it was already done.
23662 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23663 (_dl_aux_init): Use const in cast when setting it.
23664 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23665 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23666 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23668 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23670 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23671 * csu/libc-tls.c: Nor here.
23672 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23674 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23675 (__libc_message): Never call vsyslog.
23677 2013-03-28 Alan Modra <amodra@gmail.com>
23679 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23681 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23684 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23687 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23691 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23694 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23695 Don't add gid passed as argument.
23697 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23699 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23702 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23703 imaginary part between 1.0 and 1.5 and real part less than 0.5
23705 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23706 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23707 * math/libm-test.inc (cacos_test): Add more tests.
23708 (casin_test): Likewise.
23709 (casinh_test): Likewise.
23710 * sysdeps/i386/fpu/libm-test-ulps: Update.
23711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23713 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23715 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23718 (denorm): Likewise.
23719 (__dbl_mp): Likewise.
23720 (add_magnitudes): Likewise.
23721 (sub_magnitudes): Likewise.
23729 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23731 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23732 (__dubcos): Likewise.
23733 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23734 (__ieee754_acos): Likewise.
23735 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23736 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23737 (__exp1): Likewise.
23738 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23739 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23741 (my_log2): Likewise.
23742 (checkint): Likewise.
23743 * sysdeps/ieee754/dbl-64/e_remainder.c
23744 (__ieee754_remainder): Likewise.
23745 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23746 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23747 (bsloww): Likewise.
23748 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23750 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23751 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23752 MANTISSA_STORE_T to store computations on mantissa. Use
23753 macros for rounding and division.
23754 (denorm): Likewise.
23755 (__dbl_mp): Likewise.
23756 (add_magnitudes): Likewise.
23757 (sub_magnitudes): Likewise.
23760 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23761 powers of two in terms of TWOPOW macro.
23762 (mp_no): Make type of mantissa as MANTISSA_T.
23763 [!RADIXI]: Define RADIXI.
23764 [!TWO52]: Define TWO52.
23765 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23767 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23769 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23770 llroundl symbol when building for PPC32.
23772 2013-03-24 Mark H Weaver <mhw@netris.org>
23774 * manual/arith.texi (Normalization Functions): Fix prototypes for
23775 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23777 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23780 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23781 high value to check if expl overflow.
23782 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23783 to check for underflow and overflow.
23784 * math/libm-test.inc: Add exp test.
23786 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23789 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23792 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23794 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23797 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23799 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23800 wrap blocks consisting of several statements.
23802 * sysdeps/generic/math-tests.h: New file.
23803 * sysdeps/i386/fpu/math-tests.h: Likewise.
23804 * math/test-snan.c: Include it.
23805 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23807 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23810 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23811 (__ieee754_j0l): Do not improve calculations using cos of twice
23812 input for inputs above LDBL_MAX / 2.0L.
23813 (__ieee754_y0l): Likewise.
23814 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23815 (__ieee754_j1l): Do not improve calculations using cos of twice
23816 input for inputs above LDBL_MAX / 2.0L.
23817 (__ieee754_y1l): Likewise.
23818 * math/libm-test.inc (j0_test): Add another test.
23819 (j1_test): Likewise.
23820 (y0_test): Likewise.
23821 (y1_test): Likewise.
23822 * sysdeps/i386/fpu/libm-test-ulps: Update.
23824 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23826 * Rules ($(objpfx)bench-%.c): Include code from a C source
23829 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23832 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23833 imaginary part 1.0 and real part less than 0.5 specially.
23834 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23835 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23836 * math/libm-test.inc (cacos_test): Add more tests.
23837 (casin_test): Likewise.
23838 (casinh_test): Likewise.
23839 * sysdeps/i386/fpu/libm-test-ulps: Update.
23840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23842 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23844 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23845 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23847 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23849 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23850 * config.make.in (config-cflags-sse4): Remove variable.
23851 (config-cflags-avx): Likewise.
23852 (config-cflags-sse2avx): Likewise.
23853 (config-cflags-novzeroupper): Likewise.
23854 (config-asflags-i686): Likewise.
23855 (have-mfma4): Likewise.
23856 (have-as-vis3): Likewise.
23858 * configure.in (MIG): Do not AC_SUBST.
23859 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23860 (libc_cv_cc_sse4): Do not AC_SUBST.
23861 (libc_cv_cc_avx): Likewise.
23862 (libc_cv_cc_sse2avx): Likewise.
23863 (libc_cv_cc_novzeroupper): Likewise.
23864 (libc_cv_cc_fma4): Likewise.
23865 (libc_cv_as_i686): Likewise.
23866 (libc_cv_sparc_as_vis3): Likewise.
23867 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23869 (config-asflags-i686): Likewise.
23870 (config-cflags-avx): Likewise.
23871 (config-cflags-sse2avx): Likewise.
23872 (have-mfma4): Likewise.
23873 (config-cflags-novzeroupper): Likewise.
23874 * sysdeps/mach/configure.in (MIG): Likewise.
23875 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23876 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23878 (config-cflags-avx): Likewise.
23879 (config-cflags-sse2avx): Likewise.
23880 (have-mfma4): Likewise.
23881 (config-cflags-novzeroupper): Likewise.
23882 * configure: Regenerated.
23883 * sysdeps/i386/configure: Likewise.
23884 * sysdeps/mach/configure: Likewise.
23885 * sysdeps/sparc/configure: Likewise.
23886 * sysdeps/x86_64/configure: Likewise.
23888 2013-03-20 Roland McGrath <roland@hack.frob.com>
23891 * locale/programs/localedef.c (options): Put N_ translation marker
23892 on argument names, not just descriptions.
23894 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23896 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23898 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23901 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23903 2013-03-19 Roland McGrath <roland@hack.frob.com>
23905 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23906 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23907 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23908 [!BEFORE_ABORT] (before_abort): New function.
23909 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23910 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23911 (writev_for_fatal): New function.
23912 (WRITEV_FOR_FATAL): New macro; call that.
23913 (backtrace_and_maps): New function.
23914 (BEFORE_ABORT): New macro; call that.
23915 (struct str_list): Type removed.
23916 (__libc_message, __libc_fatal): Functions removed.
23917 Include <sysdeps/posix/libc_fatal.c> instead.
23919 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23921 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23923 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23926 2013-03-19 Andreas Schwab <schwab@suse.de>
23928 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23929 * sysdeps/gnu/configure: Regenerate.
23931 * configure.in: Substitute libc_cv_rtlddir.
23932 * configure: Regenerate.
23933 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23934 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23935 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23936 * elf/Makefile (install-others, CFLAGS-interp.c)
23937 (ldso_install, common-ldd-rewrite): Likewise.
23938 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23939 $(inst_slibdir)/$(rtld-installed-name).
23940 * scripts/rellns-sh: Add -p option.
23941 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23944 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23946 * manual/nptl.texi: Renamed to ...
23947 * manual/threads.texi: ... this.
23948 * manual/Makefile (chapters): Update.
23950 2013-03-18 Roland McGrath <roland@hack.frob.com>
23953 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23954 on argument names, not just descriptions.
23955 * malloc/memusagestat.c (options): Likewise.
23956 * nss/getent.c (options): Likewise.
23958 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23961 * iconv/iconv_prog.c (options): Put N_ translation marker
23962 on argument names, not just descriptions.
23963 * iconv/iconvconfig.c (options): Likewise.
23965 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23967 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23968 implementation which is faster on all x86_64 architectures.
23969 Tested on AMD, Intel Nehalem, SNB, IVB.
23970 * sysdeps/x86_64/strnlen.S: Likewise.
23972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23973 Remove all multiarch strlen and strnlen versions.
23974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23975 Remove strlen and strnlen related parts.
23977 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23978 Inline strlen part.
23979 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23981 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23982 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23983 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23984 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23985 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23986 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23988 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23990 * manual/memory.texi (Malloc Tunable Parameters):
23991 Sort parameters alphabetically. Add comments for missing entries.
23993 2013-03-17 David S. Miller <davem@davemloft.net>
23995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23997 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24000 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24001 for arguments at most half maximum finite value.
24002 * math/libm-test.inc (j0_test): Add more tests.
24003 (j1_test): Likewise.
24004 (y0_test): Likewise.
24005 (y1_test): Likewise.
24006 * sysdeps/i386/fpu/libm-test-ulps: Update.
24007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24010 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24011 1 / x and functions P and Q for arguments above 0x1p256L.
24012 (__ieee754_y0l): Likewise.
24013 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24014 (__ieee754_y1l): Likewise.
24015 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24016 (j1_test): Likewise.
24017 (y0_test): Likewise.
24018 (y1_test): Likewise.
24020 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24022 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24025 2013-03-15 Roland McGrath <roland@hack.frob.com>
24027 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24028 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24029 zero since it's initialized to EXEC_PAGESIZE.
24031 * sysdeps/unix/sysv/linux/ldsodefs.h
24032 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24033 * sysdeps/generic/ldsodefs.h: ... here.
24035 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24037 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24039 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24041 * math/test-snan.c: Renamed from
24042 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24043 * math/Makefile (tests): Add test-snan.
24044 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24047 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24048 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24050 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24051 __builtin_nan family of functions.
24052 * math/libm-test.inc (initialize): Initialize qnan_value with
24053 __builtin_nan family of functions.
24054 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24056 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24058 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24059 storage class. Initialize qNaN_var and sNaN_var with
24060 __builtin_nan and __builtin_nans families of functions,
24063 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24064 (sqrt_test): Remove duplicate test with qNaN input.
24065 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24066 (round_test, signbit_test, significand_test): Note missing +/-Inf
24067 as well as qNaN tests.
24069 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24070 qNaN_var. Fix a few strings, too.
24071 * math/libm-test.inc (nan_value): Rename to qnan_value.
24072 * math/gen-libm-test.pl (%beautify): Adjust to that.
24073 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24074 * math/test-misc.c (main): Likewise.
24075 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24076 to __qnan_bytes, and __qnan_union, respectively.
24077 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24079 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24080 and lqnanval, respectively.
24081 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24082 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24083 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24084 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24086 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24087 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24090 * math/test-misc.c (main): Fix copy'n'pastos.
24091 * misc/tst-efgcvt.c (special): Likewise.
24093 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24094 Remove declarations.
24096 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24098 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24099 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24100 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24101 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24103 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24105 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24106 macro to return vdso values correctly in IFUNC implementations.
24107 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24108 Optimization by using IFUNC.
24110 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24111 Richard Henderson <rth@redhat.com>
24112 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24114 * Makefile.in (bench): New target.
24115 * NEWS: Mention the benchmark framework.
24116 * Rules (bench): Likewise.
24117 (binaries-bench): Generate binaries for functions to
24119 * benchtests/Makefile: New makefile for benchmark tests.
24120 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24122 * benchtests/exp-inputs: New input file for EXP function.
24123 * benchtests/pow-inputs: New input file for POW function.
24124 * scripts/bench.pl: New script to generate source files for
24125 benchmark programs.
24127 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24129 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24130 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24131 computations on mantissa. Use macros for rounding and
24133 (denorm): Likewise.
24134 (__dbl_mp): Likewise.
24135 (add_magnitudes): Likewise.
24136 (sub_magnitudes): Likewise.
24139 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24140 powers of two in terms of TWOPOW macro.
24141 (mp_no): Make type of mantissa as MANTISSA_T.
24142 [!RADIXI]: Define RADIXI.
24143 [!TWO52]: Define TWO52.
24144 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24146 * manual/nptl.texi (cindex): Modify threads to pthreads.
24148 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24150 * sysdeps/x86_64/preconfigure: Regenerated.
24152 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24155 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24157 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24158 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24160 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24161 * math/libm-test.inc (j0_test): Do not allow one spurious
24162 underflow exception.
24163 (y1_test): Likewise.
24165 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24167 * manual/Makefile (chapters): Add nptl.
24168 * manual/debug.texi (Debugging Support): Add link to Threads
24170 * manual/nptl.texi: New file.
24172 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24174 2013-03-14 Petr Baudis <pasky@ucw.cz>
24176 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24177 for non-NULL pointer before the memory validity test. Pointed
24178 out by Holger Brunck <holger.brunck@keymile.com>.
24180 2013-03-13 Andreas Schwab <schwab@suse.de>
24182 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24185 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24187 * timezone/zic.c: Update from tzcode 2013b.
24189 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24191 * manual/install.texi (Configuring and compiling):
24192 Mention i686 and i586.
24193 * INSTALL: Regenerate.
24195 2013-03-12 Roland McGrath <roland@hack.frob.com>
24197 * sysdeps/init_array/elf-init.c: New file.
24199 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24200 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24202 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24203 __gmon_start__ as global, but as static with a .preinit_array pointer.
24204 * sysdeps/init_array/gmon-start.c: New file. Use that.
24205 * sysdeps/init_array/crti.S: New file, empty except for comments.
24206 * sysdeps/init_array/crtn.S: Likewise.
24208 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24210 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24213 Remove Prefer_SSE_for_memop.
24214 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24215 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24216 HAS_PREFER_SSE_FOR_MEMOP.
24217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24220 Remove bzero, memset ifunc support.
24221 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24222 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24223 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24224 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24226 2013-03-11 Andreas Schwab <schwab@suse.de>
24229 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24232 (GLIBC_2.16): Remove pthread_atfork.
24234 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24236 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24237 (ptestcases.h): Likewise.
24239 2013-03-08 Roland McGrath <roland@hack.frob.com>
24241 * Makeconfig ($(common-objpfx)config.status): Depend on
24242 sysdeps/*/preconfigure{,.in} too.
24244 2013-03-08 Joseph Myers <joseph@codesourcery.com>
24246 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24247 (__free_hook): Use void * instead of __malloc_ptr_t.
24248 (__malloc_hook): Likewise.
24249 (__realloc_hook): Likewise.
24250 (__memalign_hook): Likewise.
24251 (__after_morecore_hook): Likewise.
24252 * malloc/arena.c (save_malloc_hook): Likewise.
24253 (save_free_hook): Likewise.
24254 * malloc/hooks.c (malloc_hook_ini): Likewise.
24255 (realloc_hook_ini): Likewise.
24256 (memalign_hook_ini): Likewise.
24257 * malloc/malloc.c (malloc_hook_ini): Likewise.
24258 (realloc_hook_ini): Likewise.
24259 (memalign_hook_ini): Likewise.
24260 (__free_hook): Likewise.
24261 (__malloc_hook): Likewise.
24262 (__realloc_hook): Likewise.
24263 (__memalign_hook): Likewise.
24264 (__libc_malloc): Likewise.
24265 (__libc_free): Likewise.
24266 (__libc_realloc): Likewise.
24267 (__libc_memalign): Likewise.
24268 (__libc_valloc): Likewise.
24269 (__libc_pvalloc): Likewise.
24270 (__libc_calloc): Likewise.
24271 (__posix_memalign): Likewise.
24272 * malloc/morecore.c (__sbrk): Likewise.
24273 (__default_morecore): Likewise.
24275 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24277 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24278 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24279 __malloc_ptrdiff_t.
24281 * malloc/malloc.h (__malloc_size_t): Remove macro.
24282 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24284 (old_memalign_hook): Likewise.
24285 (old_realloc_hook): Likewise.
24286 (struct hdr): Likewise.
24288 (mallochook): Likewise.
24289 (memalignhook): Likewise.
24290 (reallochook): Likewise.
24291 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24292 (tr_old_realloc_hook): Likewise.
24293 (tr_old_memalign_hook): Likewise.
24294 (tr_mallochook): Likewise.
24295 (tr_reallochook): Likewise.
24296 (tr_memalignhook): Likewise.
24298 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24300 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24301 default_ldbl_pack and using as default implementation.
24302 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24304 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24305 redundant definition.
24306 (ldbl_insert_mantissa): Likewise.
24307 (ldbl_canonicalize): Likewise.
24308 (ldbl_nearbyint): Likewise.
24309 (ldbl_pack): Rename to ldbl_pack_ppc.
24310 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24311 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24312 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24314 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24317 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24318 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24319 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24321 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24322 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24323 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24325 2013-03-07 Andreas Jaeger <aj@suse.de>
24327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24330 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24332 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24333 Include mpa.h and declare __MPEXP.
24334 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24335 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24336 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24337 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24338 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24339 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24340 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24342 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24343 (__slowpow): Use long double EXPL and LOGL functions to
24345 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24346 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24347 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24348 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24349 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24350 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24353 intermediate variable to calculate exponent.
24355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24359 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24360 [!NO__SQR]: Define __sqr.
24361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24362 and NO__SQR. Remove all code except __mul and __sqr. Include
24363 sysdeps/ieee754/dbl-64/mpa.c.
24364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24367 * posix/Makefile (tests): Add tst-pathconf.
24368 * posix/tst-pathconf.c: New test case.
24369 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24371 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24373 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
24375 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24377 2013-03-06 Andreas Jaeger <aj@suse.de>
24379 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24380 definition via __MAP_ANONYMOUS.
24382 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24383 it's not part of Linux headers.
24385 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24386 (MAP_HUGE_MASK): Define.
24388 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24390 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24391 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24393 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24394 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24396 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24399 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24401 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24402 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24403 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24404 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24405 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24406 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24408 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24411 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24412 Handle f2fs and efivarfs.
24414 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24417 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24418 (EFIVARFS_MAGIC): Add.
24419 (F2FS_LINK_MAX): Add.
24421 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24423 * stdio-common/vfprintf.c: Replace __builtin_expect with
24426 2013-03-06 Joseph Myers <joseph@codesourcery.com>
24429 * sysdeps/generic/bp-sym.h: Remove file.
24430 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24431 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24432 <bp-sym.h> and <bp-asm.h>.
24433 (__longjmp): Don't use BP_SYM.
24434 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24436 (memcpy): Don't use BP_SYM.
24437 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24438 <bp-sym.h> and <bp-asm.h>.
24439 (memcpy): Don't use BP_SYM.
24440 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24442 (memcpy): Don't use BP_SYM.
24443 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24445 (memset): Don't use BP_SYM.
24446 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24447 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24448 (__bzero): Don't use BP_SYM.
24449 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24450 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24452 <bp-sym.h> and <bp-asm.h>.
24453 (memcmp): Don't use BP_SYM. Remove comment about bounded
24455 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24456 <bp-sym.h> and <bp-asm.h>.
24457 (memcpy): Don't use BP_SYM.
24458 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24459 <bp-sym.h> and <bp-asm.h>.
24460 (memset): Don't use BP_SYM.
24461 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24462 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24463 (__bzero): Don't use BP_SYM.
24464 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24465 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24466 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24467 <bp-sym.h> and <bp-asm.h>.
24468 (strncmp): Don't use BP_SYM. Remove comment about bounded
24470 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24471 <bp-sym.h> and <bp-asm.h>.
24472 (memcpy): Don't use BP_SYM.
24473 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24474 <bp-sym.h> and <bp-asm.h>.
24475 (memset): Don't use BP_SYM.
24476 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24477 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24478 (__bzero): Don't use BP_SYM.
24479 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24480 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24481 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24482 <bp-sym.h> and <bp-asm.h>.
24483 (__memchr): Don't use BP_SYM.
24484 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24485 <bp-sym.h> and <bp-asm.h>.
24486 (memcmp): Don't use BP_SYM. Remove comment about bounded
24488 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24489 <bp-sym.h> and <bp-asm.h>.
24490 (memcpy): Don't use BP_SYM.
24491 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24492 <bp-sym.h> and <bp-asm.h>.
24493 (__mempcpy): Don't use BP_SYM.
24494 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24495 <bp-sym.h> and <bp-asm.h>.
24496 (__memrchr): Don't use BP_SYM.
24497 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24498 <bp-sym.h> and <bp-asm.h>.
24499 (memset): Don't use BP_SYM.
24500 (__bzero): Likewise.
24501 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24502 <bp-sym.h> and <bp-asm.h>.
24503 (__rawmemchr): Don't use BP_SYM.
24504 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24505 <bp-sym.h> and <bp-asm.h>.
24506 (__STRCMP): Don't use BP_SYM.
24507 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24508 <bp-sym.h> and <bp-asm.h>.
24509 (strchr): Don't use BP_SYM.
24510 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24511 <bp-sym.h> and <bp-asm.h>.
24512 (__strchrnul): Don't use BP_SYM.
24513 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24514 <bp-sym.h> and <bp-asm.h>.
24515 (strlen): Don't use BP_SYM.
24516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24517 <bp-sym.h> and <bp-asm.h>.
24518 (strncmp): Don't use BP_SYM. Remove comment about bounded
24520 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24521 <bp-sym.h> and <bp-asm.h>.
24522 (__strnlen): Don't use BP_SYM.
24523 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24524 <bp-sym.h> and <bp-asm.h>.
24525 (__GI__setjmp): Don't use BP_SYM.
24526 (_setjmp): Likewise.
24527 (__sigsetjmp): Likewise.
24528 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24529 (L(start_addresses)): Don't use BP_SYM.
24530 (_start): Likewise.
24531 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24533 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24534 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24535 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24536 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24537 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24539 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24540 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24541 about bounded pointers.
24542 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24543 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24544 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24546 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24547 about bounded pointers. Remove GKM FIXME comments.
24548 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24549 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24551 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24552 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24553 Remove GKM FIXME comments.
24554 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24555 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24556 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24558 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24559 about bounded pointers. Remove GKM FIXME comment.
24560 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24562 (strncmp): Don't use BP_SYM. Remove comment about bounded
24564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24565 <bp-sym.h> and <bp-asm.h>.
24566 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24568 <bp-sym.h> and <bp-asm.h>.
24569 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24572 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24574 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24577 2013-03-05 David S. Miller <davem@davemloft.net>
24579 * po/es.po: Update from translation team.
24581 2013-03-05 Andreas Jaeger <aj@suse.de>
24583 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24584 <bits/mman-linux.h>.
24585 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24587 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24588 <bits/mman-linux.h> to end of file.
24589 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24591 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24592 <bits/mman-linux.h> to end of file.
24593 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24595 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24596 <bits/mman-linux.h> to end of file.
24598 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24599 (MCL_CURRENT, MCL_FUTURE): Define here.
24601 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24604 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24606 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24608 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24610 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24611 fourth parameter needed for rt_sigprocmask syscall.
24612 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24613 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24614 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24615 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24616 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24617 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24619 2013-03-04 Joseph Myers <joseph@codesourcery.com>
24622 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24623 comment about bounded pointers.
24624 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24625 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24627 2013-03-04 Andreas Jaeger <aj@suse.de>
24629 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24630 common definitions.
24632 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24633 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24634 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24635 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24636 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24637 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24639 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24642 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24643 __ieee754_sqrl instead of __sqrl.
24645 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24647 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24648 * sysdeps/powerpc/fpu_control.h: ... here.
24649 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24650 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24651 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24652 * sysdeps/powerpc/bits/mathinline.h: ... here.
24654 2013-03-01 Roland McGrath <roland@hack.frob.com>
24656 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24657 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24658 to just [NEED_DL_SYSINFO_DSO].
24659 * elf/dl-support.c: Likewise.
24660 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24661 * elf/rtld.c (dl_main): Likewise.
24662 * elf/setup-vdso.h (setup_vdso): Likewise.
24663 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24664 * sysdeps/unix/sysv/linux/dl-sysdep.c
24665 (_dl_discover_osversion): Likewise.
24667 2013-03-01 Carlos O'Donell <carlos@redhat.com>
24669 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24670 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24672 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24674 * NEWS: Mention libm performance improvements and non-x86 PI
24677 * csu/libc-start.c (__pthread_initialize_minimal): Change
24678 function arguments.
24679 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24681 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24684 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24685 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24686 <bp-sym.h> and <bp-asm.h>.
24687 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24688 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24690 (memcpy): Don't use BP_SYM.
24691 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24693 (__mpn_add_n): Don't use BP_SYM.
24694 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24695 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24697 (__mpn_addmul_1): Don't use BP_SYM.
24698 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24699 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24701 (_setjmp): Don't use BP_SYM.
24702 (__novmx_setjmp): Likewise.
24703 (__GI__setjmp): Likewise.
24704 (__vmx_setjmp): Likewise.
24705 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24707 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24708 (__bzero): Don't use BP_SYM.
24709 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24710 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24711 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24712 <bp-sym.h> and <bp-asm.h>.
24713 (memcpy): Don't use BP_SYM.
24714 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24715 <bp-sym.h> and <bp-asm.h>.
24716 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24717 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24718 <bp-sym.h> and <bp-asm.h>.
24719 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24720 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24722 (__mpn_lshift): Don't use BP_SYM.
24723 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24724 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24726 (memset): Don't use BP_SYM.
24727 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24728 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24729 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24731 (__mpn_mul_1): Don't use BP_SYM.
24732 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24733 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24734 <bp-sym.h> and <bp-asm.h>.
24735 (memcmp): Don't use BP_SYM.
24736 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24737 <bp-sym.h> and <bp-asm.h>.
24738 (memcpy): Don't use BP_SYM.
24739 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24740 <bp-sym.h> and <bp-asm.h>.
24741 (memset): Don't use BP_SYM.
24742 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24743 <bp-sym.h> and <bp-asm.h>.
24744 (strncmp): Don't use BP_SYM.
24745 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24746 <bp-sym.h> and <bp-asm.h>.
24747 (memcpy): Don't use BP_SYM.
24748 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24749 <bp-sym.h> and <bp-asm.h>.
24750 (memset): Don't use BP_SYM.
24751 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24752 <bp-sym.h> and <bp-asm.h>.
24753 (__memchr): Don't use BP_SYM.
24754 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24755 <bp-sym.h> and <bp-asm.h>.
24756 (memcmp): Don't use BP_SYM.
24757 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24758 <bp-sym.h> and <bp-asm.h>.
24759 (memcpy): Don't use BP_SYM.
24760 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24761 <bp-sym.h> and <bp-asm.h>.
24762 (__mempcpy): Don't use BP_SYM.
24763 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24764 <bp-sym.h> and <bp-asm.h>.
24765 (__memrchr): Don't use BP_SYM.
24766 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24767 <bp-sym.h> and <bp-asm.h>.
24768 (memset): Don't use BP_SYM.
24769 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24770 <bp-sym.h> and <bp-asm.h>.
24771 (__rawmemchr): Don't use BP_SYM.
24772 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24773 <bp-sym.h> and <bp-asm.h>.
24774 (__STRCMP): Don't use BP_SYM.
24775 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24776 <bp-sym.h> and <bp-asm.h>.
24777 (strchr): Don't use BP_SYM.
24778 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24779 <bp-sym.h> and <bp-asm.h>.
24780 (__strchrnul): Don't use BP_SYM.
24781 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24782 <bp-sym.h> and <bp-asm.h>.
24783 (strlen): Don't use BP_SYM.
24784 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24785 <bp-sym.h> and <bp-asm.h>.
24786 (strncmp): Don't use BP_SYM.
24787 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24788 <bp-sym.h> and <bp-asm.h>.
24789 (__strnlen): Don't use BP_SYM.
24790 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24792 (__mpn_rshift): Don't use BP_SYM.
24793 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24794 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24795 <bp-sym.h> and <bp-asm.h>.
24796 (__sigsetjmp): Don't use BP_SYM.
24797 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24798 (L(start_addresses)): Don't use BP_SYM.
24799 (_start): Likewise.
24800 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24802 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24803 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24804 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24805 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24807 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24808 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24809 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24810 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24812 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24814 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24815 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24817 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24819 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24820 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24821 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24823 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24825 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24827 (strncmp): Don't use BP_SYM,
24828 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24830 (__mpn_sub_n): Don't use BP_SYM.
24831 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24832 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24834 (__mpn_submul_1): Don't use BP_SYM.
24835 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24837 <bp-sym.h> and <bp-asm.h>.
24838 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24840 <bp-sym.h> and <bp-asm.h>.
24841 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24844 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24847 Use ZK to minimize writes to Z.
24848 (sub_magnitudes): Simplify code a bit.
24849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24850 Use ZK to minimize writes to Z.
24851 (sub_magnitudes): Simplify code a bit.
24853 2013-02-27 Roland McGrath <roland@hack.frob.com>
24855 * csu/gmon-start.c: Add special exception to license text.
24857 2013-02-27 Richard Henderson <rth@redhat.com>
24859 * scripts/config.guess: Update from config.git.
24860 * scripts/config.sub: Likewise.
24862 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24864 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24866 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24868 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24870 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24872 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24874 2013-02-26 Roland McGrath <roland@hack.frob.com>
24876 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24877 [$(build-shared = yes].
24879 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24881 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24882 (__mul): Reduce iterations for calculating mantissa.
24884 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24886 (__mpranred): Likewise.
24889 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24890 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24892 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24894 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24895 Define __attribute__.
24897 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24899 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24901 * posix/regex_internal.h (__attribute): Remove.
24902 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24903 (re_string_context_at): Likewise.
24904 (bitset_not): Use __attribute__ and mark function as possibly
24906 (bitset_merge): Likewise.
24907 (bitset_mask): Likewise.
24908 (re_string_char_size_at): Likewise.
24909 (re_string_wchar_at): Likewise.
24910 (re_string_elem_size_at): Likewise.
24912 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24914 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24918 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24922 (denorm): Likewise.
24923 (__dbl_mp): Likewise.
24924 (add_magnitudes): Likewise.
24925 (sub_magnitudes): Likewise.
24929 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24932 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24935 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24939 up changes with default code.
24940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24943 2013-02-24 Allan McRae <allan@archlinux.org>
24945 * manual/socket.texi (The Internet Namespace): Order menu items
24946 to match that in the file.
24948 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24949 node listing of the info page menu.
24951 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24954 * sysdeps/i386/bp-asm.h: Remove file.
24955 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24956 (PARMS): Do not use macros from bp-asm.h.
24960 (__mpn_add_n): Do not use BP_SYM
24961 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24963 (PARMS): Do not use macros from bp-asm.h.
24966 (__mpn_addmul_1): Do not use BP_SYM
24967 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24969 (PARMS): Do not use macros from bp-asm.h.
24970 (SIGMSK): Likewise.
24971 (_setjmp): Likewise. Do not use BP_SYM.
24972 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24974 (PARMS): Do not use macros from bp-asm.h.
24975 (SIGMSK): Likewise.
24976 (setjmp): Likewise. Do not use BP_SYM.
24977 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24979 (PARMS): Do not use macros from bp-asm.h.
24980 (__frexp): Do not use BP_SYM.
24982 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24984 (PARMS): Do not use macros from bp-asm.h.
24985 (__frexpf): Do not use BP_SYM.
24986 (frexpf): Likewise.
24987 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24989 (PARMS): Do not use macros from bp-asm.h.
24990 (__frexpl): Do not use BP_SYM.
24991 (frexpl): Likewise.
24992 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24994 (PARMS): Do not use macros from bp-asm.h.
24995 (__remquo): Do not use BP_SYM.
24996 (remquo): Likewise.
24997 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24999 (PARMS): Do not use macros from bp-asm.h.
25000 (__remquof): Do not use BP_SYM.
25001 (remquof): Likewise.
25002 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25004 (PARMS): Do not use macros from bp-asm.h.
25005 (__remquol): Do not use BP_SYM.
25006 (remquol): Likewise.
25007 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25009 (PARMS): Do not use macros from bp-asm.h.
25012 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25013 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25015 (PARMS): Do not use macros from bp-asm.h.
25016 (strlen): Do not use BP_SYM.
25017 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25019 (PARMS): Do not use macros from bp-asm.h.
25023 (__mpn_add_n): Do not use BP_SYM.
25024 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25026 (PARMS): Do not use macros from bp-asm.h.
25029 (__mpn_addmul_1): Do not use BP_SYM.
25030 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25033 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25035 (PARMS): Do not use macros from bp-asm.h.
25038 (__mpn_lshift): Do not use BP_SYM.
25039 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25041 (PARMS): Do not use macros from bp-asm.h.
25045 (memcpy): Likewise. Do not use BP_SYM.
25046 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25047 libc_hidden_def and weak_alias.
25048 (mempcpy): Do not use BP_SYM in weak_alias.
25049 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25051 (PARMS): Do not use macros from bp-asm.h.
25054 [!BZERO_P] (CHR): Likewise.
25055 (memset): Likewise. Do not use BP_SYM.
25056 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25058 (PARMS): Do not use macros from bp-asm.h.
25061 (__mpn_mul_1): Do not use BP_SYM.
25062 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25064 (PARMS): Do not use macros from bp-asm.h.
25067 (__mpn_rshift): Do not use BP_SYM.
25068 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25070 (PARMS): Do not use macros from bp-asm.h.
25073 (strchr): Likewise. Do not use BP_SYM.
25074 (index): Do not use BP_SYM in weak_alias.
25075 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25077 (PARMS): Do not use macros from bp-asm.h.
25080 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25081 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25083 (PARMS): Do not use macros from bp-asm.h.
25084 (strlen): Do not use BP_SYM.
25085 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25087 (PARMS): Do not use macros from bp-asm.h.
25091 (__mpn_sub_n): Do not use BP_SYM.
25092 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25094 (PARMS): Do not use macros from bp-asm.h.
25097 (__mpn_submul_1): Do not use BP_SYM.
25098 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25100 (PARMS): Do not use macros from bp-asm.h.
25104 (__mpn_add_n): Do not use BP_SYM.
25105 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25108 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25110 (PARMS): Do not use macros from bp-asm.h.
25113 (memcmp): Do not use BP_SYM.
25114 (bcmp): Do not use BP_SYM in weak_alias.
25115 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25117 (PARMS): Do not use macros from bp-asm.h.
25121 (memcpy): Likewise. Do not use BP_SYM.
25122 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25124 (PARMS): Do not use macros from bp-asm.h.
25128 (memmove): Likewise. Do not use BP_SYM.
25129 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25131 (PARMS): Do not use macros from bp-asm.h.
25135 (__mempcpy): Likewise. Do not use BP_SYM.
25136 (mempcpy): Do not use BP_SYM in weak_alias.
25137 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25139 (PARMS): Do not use macros from bp-asm.h.
25142 [!BZERO_P] (CHR): Likewise.
25143 (memset): Likewise. Do not use BP_SYM.
25144 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25146 (PARMS): Do not use macros from bp-asm.h.
25148 (strcmp): Do not use BP_SYM.
25149 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25151 (PARMS): Do not use macros from bp-asm.h.
25154 [USE_AS_STRTOK_R] (SAVE): Likewise.
25155 (FUNCTION): Likewise. Do not use BP_SYM.
25156 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25158 (strtok_r): Likewise.
25159 (__GI___strtok_r): Likewise.
25160 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25161 (PARMS): Do not use macros from bp-asm.h.
25164 (__mpn_lshift): Do not use BP_SYM.
25165 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25166 (PARMS): Do not use macros from bp-asm.h.
25169 (__memchr): Do not use BP_SYM.
25170 (memchr): Do not use BP_SYM in weak_alias.
25171 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25172 (PARMS): Do not use macros from bp-asm.h.
25175 (memcmp): Do not use BP_SYM.
25176 (bcmp): Do not use BP_SYM in weak_alias.
25177 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25178 (PARMS): Do not use macros from bp-asm.h.
25181 (__mpn_mul_1): Do not use BP_SYM.
25182 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25184 (PARMS): Do not use macros from bp-asm.h.
25187 (__rawmemchr): Do not use BP_SYM.
25188 (rawmemchr): Do not use BP_SYM in weak_alias.
25189 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25190 (PARMS): Do not use macros from bp-asm.h.
25193 (__mpn_rshift): Do not use BP_SYM.
25194 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25195 (PARMS): Do not use macros from bp-asm.h.
25196 (SIGMSK): Likewise.
25197 (__sigsetjmp): Likewise. Do not use BP_SYM.
25198 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25199 (_start): Do not use BP_SYM.
25200 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25201 (PARMS): Do not use macros from bp-asm.h.
25204 (__stpcpy): Likewise. Do not use BP_SYM.
25205 (stpcpy): Do not use BP_SYM in weak_alias.
25206 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25208 (PARMS): Do not use macros from bp-asm.h.
25212 (__stpncpy): Likewise. Do not use BP_SYM.
25213 (stpncpy): Do not use BP_SYM in weak_alias.
25214 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25215 (PARMS): Do not use macros from bp-asm.h.
25218 (strchr): Likewise. Do not use BP_SYM.
25219 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25221 (PARMS): Do not use macros from bp-asm.h.
25224 (__strchrnul): Likewise. Do not use BP_SYM.
25225 (strchrnul): Do not use BP_SYM in weak_alias.
25226 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25228 (PARMS): Do not use macros from bp-asm.h.
25230 (strcspn): Do not use BP_SYM.
25231 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25233 (PARMS): Do not use macros from bp-asm.h.
25236 (strpbrk): Likewise. Do not use BP_SYM.
25237 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25239 (PARMS): Do not use macros from bp-asm.h.
25242 (strrchr): Likewise. Do not use BP_SYM.
25243 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25244 (PARMS): Do not use macros from bp-asm.h.
25246 (strspn): Do not use BP_SYM.
25247 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25248 (PARMS): Do not use macros from bp-asm.h.
25252 (FUNCTION): Likewise. Do not use BP_SYM.
25253 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25255 (strtok_r): Likewise.
25256 (__GI___strtok_r): Likewise.
25257 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25258 (PARMS): Do not use macros from bp-asm.h.
25262 (__mpn_sub_n): Do not use BP_SYM.
25263 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25265 (PARMS): Do not use macros from bp-asm.h.
25268 (__mpn_submul_1): Do not use BP_SYM.
25269 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25271 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25273 (PARMS): Do not use macros from bp-asm.h.
25278 (__clone): Do not use BP_SYM.
25279 (clone): Do not use BP_SYM in weak_alias.
25280 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25282 (PARMS): Do not use macros from bp-asm.h.
25284 (__mmap64): Do not use BP_SYM.
25285 (mmap64): Do not use BP_SYM in weak_alias.
25286 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25287 <bp-sym.h> and <bp-asm.h>.
25288 (PARMS): Do not use macros from bp-asm.h.
25289 (__posix_fadvise64_l64): Do not use BP_SYM.
25290 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25291 (PARMS): Do not use macros from bp-asm.h.
25293 (semtimedop): Do not use BP_SYM.
25294 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25297 2013-02-21 Allan McRae <allan@archlinux.org>
25299 * manual/message.texi (Charset conversion in gettext):
25300 Move @end statement to beginning of line.
25302 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25309 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25310 (denorm): Likewise.
25311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25314 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25316 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25317 tail-call to the resolved function if pltexit isn't needed.
25319 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25322 or Y being zero as being unlikely.
25323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25326 2013-02-20 Carlos O'Donell <carlos@redhat.com>
25328 * manual/nss.texi (System Databases and Name Service Switch):
25329 Remove frobnicate @pxref.
25331 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25333 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25334 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25336 2013-02-20 Petr Machata <pmachata@redhat.com>
25338 * elf/elf.h (R_ARM_TARGET1): New macro.
25339 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25340 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25341 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25342 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25343 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25344 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25345 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25346 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25347 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25348 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25349 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25350 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25351 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25352 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25353 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25354 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25355 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25356 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25357 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25358 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25359 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25360 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25361 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25362 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25363 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25364 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25365 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25366 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25367 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25368 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25369 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25370 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25371 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25372 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25373 (R_ARM_THM_GOT_BREL12): Likewise.
25374 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25375 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25376 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25377 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25378 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25379 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25380 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25381 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25382 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25384 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25386 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25387 __attribute_used__ to __attribute__ ((unused)).
25389 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25391 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25394 comment formatting.
25395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25397 2013-02-19 Joseph Myers <joseph@codesourcery.com>
25400 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25402 (ENTER): Remove both macro definitions.
25404 (CHECK_BOUNDS_LOW): Likewise.
25405 (CHECK_BOUNDS_HIGH): Likewise.
25406 (CHECK_BOUNDS_BOTH): Likewise.
25407 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25408 (RETURN_BOUNDED_POINTER): Likewise.
25409 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25410 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25411 (POP_ERRNO_LOCATION_RETURN): Likewise.
25412 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25413 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25414 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25416 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25417 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25418 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25419 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25420 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25421 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25422 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25423 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25424 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25425 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25426 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25427 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25428 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25429 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25431 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25432 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25434 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25435 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25436 * sysdeps/i386/i586/memset.S (memset): Likewise.
25437 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25438 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25439 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25441 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25442 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25443 Change uses of L(2) to L(out).
25444 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25445 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25446 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25447 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25448 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25450 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25451 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25453 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25454 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25455 (RETURN): Do not use macro LEAVE.
25456 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25457 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25458 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25459 * sysdeps/i386/i686/memset.S (memset): Likewise.
25460 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25461 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25462 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25463 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25465 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25466 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25467 L(1_2) and L(1_3) into L(1).
25468 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25469 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25470 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25471 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25472 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25473 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25474 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25475 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25476 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25478 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25479 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25480 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25481 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25482 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25483 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25484 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25485 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25486 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25487 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25488 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25489 * sysdeps/i386/strspn.S (strspn): Likewise.
25490 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25492 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25493 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25494 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25495 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25496 L(1_3) into L(1_1).
25497 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25498 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25499 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25501 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25503 2013-02-19 Jakub Jelinek <jakub@redhat.com>
25505 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25508 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25510 * math/atest-exp.c (exp_mpn): Remove ROUND.
25511 * math/atest-exp2.c (exp_mpn): Likewise.
25512 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25514 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25515 * stdlib/tst-tls-atexit-lib.c: Likewise.
25516 * stdlib/tst-tls-atexit.c: Likewise.
25518 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25520 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25521 and __attribute_alloc_size__.
25523 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25525 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25526 __attribute_alloc_size__.
25527 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25528 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25530 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25532 * include/programs/xmalloc.h: New file.
25533 * catgets/gencat.c: Include it.
25534 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25535 * elf/pldd.c: Likewise.
25536 * iconv/iconv_charmap.c: Likewise.
25537 * iconv/iconvconfig.c: Likewise.
25538 * iconv/strtab.c: Likewise.
25539 * locale/programs/locale.c: Likewise.
25540 * locale/programs/localedef.h: Likewise.
25541 * locale/programs/simple-hash.c: Likewise.
25542 * nscd/nscd.h: Likewise.
25543 * nss/makedb.c: Likewise.
25544 * sysdeps/generic/ldconfig.h: Likewise.
25546 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25548 * Versions.def: Add GLIBC_2.18.
25549 * include/link.h (struct link_map): New member l_tls_dtor_count.
25550 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25551 (__call_tls_dtors): Likewise.
25552 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25553 __cxa_thread_atexit_impl.
25554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25562 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25570 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25571 (tests): Add test case tst-tls-atexit.
25572 (modules-names): Add shared library for tst-tls-atexit.
25573 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25574 (GLIBC_PRIVATE): Add __call_tls_dtors.
25575 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25577 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25578 * stdlib/tst-tls-atexit.c: New test case.
25579 * stdlib/tst-tls-atexit-lib.c: New test case.
25581 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25583 * elf/Versions (ld): Add _dl_find_dso_for_object.
25584 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25585 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25586 (dl_open_worker): Use _dl_find_dso_for_object.
25587 * elf/dl-sym.c (do_sym): Likewise.
25588 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25590 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25592 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25593 Syntactic changes only.
25594 (_dl_runtime_profile): Do a tail-call to the resolved function.
25596 2013-02-17 Joseph Myers <joseph@codesourcery.com>
25599 * sysdeps/x86_64/bp-asm.h: Remove file.
25600 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25601 <bp-sym.h> and <bp-asm.h>.
25602 (__clone): Do not use BP_SYM.
25603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25604 <bp-sym.h> and <bp-asm.h>.
25605 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25606 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25608 (_setjmp): Do not use BP_SYM.
25609 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25611 (setjmp): Do not use BP_SYM.
25612 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25614 (mempcpy): Do not use BP_SYM in weak_alias.
25615 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25617 (strchr): Do not use BP_SYM.
25618 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25620 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25621 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25622 (_start): Do not use BP_SYM.
25623 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25625 (strcat): Do not use BP_SYM.
25626 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25628 (STRCMP): Do not use BP_SYM.
25629 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25631 (STRCPY): Do not use BP_SYM.
25632 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25634 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25636 (FUNCTION): Do not use BP_SYM.
25637 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25639 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25641 2013-02-17 Andreas Jaeger <aj@suse.de>
25643 * time/Versions: Sort entries.
25644 * string/Versions: Likewise.
25645 * resolv/Versions: Likewise.
25646 * posix/Versions: Likewise.
25647 * iconv/Versions: Likewise.
25648 * elf/Versions: Likewise.
25649 * wcsmbs/Versions: Likewise.
25651 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25653 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25654 loop termination condition.
25656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25657 variable to calculate EZ.
25660 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25661 the lower precision input.
25663 2013-02-15 Joseph Myers <joseph@codesourcery.com>
25666 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25667 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25668 (run-via-rtld-prefix): Do not handle %-bp tests.
25669 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25670 (all-object-suffixes): Remove .ob.
25671 (bppfx): Remove variable.
25672 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25673 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25674 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25675 [$(build-bounded) = yes] (libtype.ob): Likewise.
25676 * Makerules (elide-routines.ob): Remove variable.
25677 (do-tests-clean): Do not handle *-bp.out.
25678 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25679 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25680 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25681 (tests): Do not include $(tests-bp.out).
25682 (xtests): Do not include $(xtests-bp.out).
25683 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25684 [$(build-bounded) = yes] ($(addprefix
25685 $(objpfx),$(binaries-bounded))): Remove rule.
25686 ($(objpfx)%-bp.out): Remove rule.
25687 * config.make.in (build-bounded): Remove variable.
25688 * crypt/Makefile [$(build-bounded) = yes]
25689 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25690 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25691 append to variable.
25692 [$(build-bounded) = yes] (install-lib): Likewise.
25693 [$(build-bounded) = yes] (generated): Likewise.
25694 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25696 * intl/Makefile [$(build-bounded) = yes]
25697 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25698 * math/Makefile [$(build-bounded) = yes]
25699 ($(tests:%=$(objpfx)%-bp): Likewise.
25700 * misc/Makefile [$(build-bounded) = yes]
25701 ($(objpfx)tst-tsearch-bp): Likewise.
25702 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25703 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25705 * string/Makefile (o-objects.ob): Remove variable.
25706 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25707 (CFLAGS-.ob): Remove variable.
25708 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25709 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25710 both definitions of variable.
25711 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25712 (ASFLAGS-.ob): Remove variable.
25714 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25717 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25718 Remove __BOUNDED_POINTERS__ from condition.
25719 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25720 * string/bits/string2.h [!__NO_STRING_INLINES &&
25721 !__BOUNDED_POINTERS__]: Likewise.
25722 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25724 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25725 Remove conditional code.
25726 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25727 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25728 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25732 * csu/libc-start.c: Do not include <bp-sym.h>.
25733 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25734 * elf/dl-open.c: Do not include <bp-sym.h>.
25735 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25736 * math/fegetenv.c: Do not include <bp-sym.h>.
25737 (fegetenv): Do not use BP_SYM in versioned symbols.
25738 * nptl/sysdeps/pthread/bits/libc-lockP.h
25739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25742 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25744 (__pthread_mutex_destroy): Likewise.
25745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25746 (__pthread_mutex_lock): Likewise.
25747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25748 (__pthread_mutex_trylock): Likewise.
25749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25750 (__pthread_mutex_unlock): Likewise.
25751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25752 (__pthread_mutexattr_init): Likewise.
25753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25754 (__pthread_mutexattr_destroy): Likewise.
25755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25756 (__pthread_mutexattr_settype): Likewise.
25757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25758 (__pthread_rwlock_init): Likewise.
25759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25760 (__pthread_rwlock_destroy): Likewise.
25761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25762 (__pthread_rwlock_rdlock): Likewise.
25763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25764 (__pthread_rwlock_tryrdlock): Likewise.
25765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25766 (__pthread_rwlock_wrlock): Likewise.
25767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25768 (__pthread_rwlock_trywrlock): Likewise.
25769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25770 (__pthread_rwlock_unlock): Likewise.
25771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25772 (__pthread_key_create): Likewise.
25773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25774 (__pthread_setspecific): Likewise.
25775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25776 (__pthread_getspecific): Likewise.
25777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25780 (_pthread_cleanup_push_defer): Likewise.
25781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25782 (_pthread_cleanup_pop_restore): Likewise.
25783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25784 (pthread_setcancelstate): Likewise.
25785 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25787 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25788 (memchr): Do not use BP_SYM in weak_alias.
25789 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25790 (fegetenv): Do not use BP_SYM in versioned symbols.
25791 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25792 (fesetenv): Do not use BP_SYM in versioned symbols.
25793 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25794 (feupdateenv): Do not use BP_SYM in versioned symbols.
25795 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25796 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25797 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25798 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25799 (open64): Do not use BP_SYM in weak_alias.
25800 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25801 (fegetenv): Do not use BP_SYM in versioned symbols.
25802 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25803 (fesetenv): Do not use BP_SYM in versioned symbols.
25804 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25805 (feupdateenv): Do not use BP_SYM in versioned symbols.
25806 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25807 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25808 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25809 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25810 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25811 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25812 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25814 (__libc_start_main): Do not use BP_SYM.
25816 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25819 redundant return line.
25821 (denorm): Likewise.
25822 (dbl_mp): Likewise.
25823 (sub_magnitudes): Likewise.
25829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25831 (denorm): Likewise.
25832 (dbl_mp): Likewise.
25833 (sub_magnitudes): Likewise.
25840 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25842 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25843 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25846 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25847 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25849 of __mul for squares.
25850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25854 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25855 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25857 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25860 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25862 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25863 prototype or function definition. Rename ubp_* variables and
25864 parameters. Remove argv definitions conditional on
25865 [__BOUNDED_POINTERS__].
25866 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25867 * elf/dl-runtime.c (_dl_fixup): Likewise.
25868 * include/set-hooks.h (RUN_HOOK): Likewise.
25869 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25871 * string/strcpy.c (strcpy): Do not use __unbounded.
25872 * sysdeps/generic/frame.h (struct layout): Likewise.
25873 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25874 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25875 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25876 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25877 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25878 (__backtrace): Likewise.
25879 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25881 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25882 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25883 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25885 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25886 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25887 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25888 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25889 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25890 Do not use __unbounded.
25891 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25892 Rename __unboundedrlimits parameter to rlimits in prototype.
25893 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25894 Do not use __unbounded.
25895 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25896 not use __ptrvalue.
25897 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25898 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25899 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25900 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25901 __ptrvalue or __unbounded.
25902 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25903 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25905 (__new_msgctl): Do not use __ptrvalue.
25906 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25908 (__libc_msgrcv): Do not use __ptrvalue.
25909 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25910 startup_info): Do not use __unbounded.
25911 (__libc_start_main): Likewise. Rename ubp_* variables and
25912 parameters. Remove argv definitions conditional on
25913 [__BOUNDED_POINTERS__].
25914 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25916 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25918 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25920 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25922 (__new_shmctl): Do not use __ptrvalue.
25923 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25924 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25926 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25927 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25928 (__libc_sigaction): Likewise.
25929 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25930 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25932 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25934 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25936 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25938 * string/mempcpy.c: Implement by calling memcpy.
25940 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25942 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25947 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25948 values in the mantissa.
25950 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25951 minimize writes to Z.
25952 (sub_magnitudes): Simplify code a bit.
25954 2013-02-12 Roland McGrath <roland@hack.frob.com>
25956 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25957 from the message. The linker prefixes all warnings with that already.
25959 2013-02-12 Andreas Schwab <schwab@suse.de>
25962 * posix/regexec.c (extend_buffers): Add parameter min_len.
25963 (check_matching): Pass minimum needed length.
25964 (clean_state_log_if_needed): Likewise.
25965 (get_subexp): Likewise.
25966 * posix/Makefile (tests): Add bug-regex34.
25967 (bug-regex34-ENV): Define.
25968 * posix/bug-regex34.c: New file.
25971 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25972 elements compare against the byte sequence of it, not its name.
25973 * posix/Makefile (tests): Add bug-regex35.
25974 (bug-regex35-ENV): Define.
25975 * posix/bug-regex35.c: New file.
25977 2013-02-11 Tom de Vries <tom@codesourcery.com>
25979 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25981 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25982 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25983 (CHECK_EOL): Add undef.
25985 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25987 * bits/stdlib-bsearch.h: New file.
25988 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25989 * stdlib/stdlib.h: Likewise.
25991 2013-02-11 Roland McGrath <roland@hack.frob.com>
25993 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25994 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25996 * manual/search.texi (Array Search Function): Add missing const in
25998 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25999 declaration to use rlim_t.
26000 (Basic Scheduling Functions): Remove erroneous const from
26001 sched_getparam prototype. Remove erroneous * from
26002 sched_get_priority_max and sched_get_priority_min prototypes.
26003 (Resource Usage): Fix summary @comment on vtimes to refer to
26004 sys/vtimes.h rather than vtimes.h.
26005 Add missing *s in vtimes prototype.
26006 (Limits on Resources): Fix ulimit prototype to return long int.
26007 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26008 prototypes to use long int rather than double.
26009 (BSD Random): Fix initstate and setstate to use char *, not void *.
26010 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26011 prototype to make second argument 'struct aiocb64 *const[]'.
26012 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26013 (Status of AIO Operations): Remove erroneous const in aio_return and
26014 aio_return64 prototypes.
26015 (Synchronizing I/O): Fix sync prototype to return void.
26016 * manual/startup.texi (Suboptions): Remove an erroneous const in
26017 getsubopt prototype.
26018 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26019 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26020 use size_t rather than int.
26021 (Scanning All Users): Likewise for getpwent_r.
26022 (Setting Groups): Add missing const to setgroups prototype.
26023 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26024 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26025 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26026 'const void *' rather than 'const char *'.
26027 (Host Address Functions): Likewise for inet_ntop.
26028 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26029 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26030 ssize_t for return value.
26031 (Sending Data): Likewise for send, sendto, sendmsg.
26032 (Socket Option Functions): Add a missing const in setsockopt prototype.
26033 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26034 use wchar_t for the argument.
26035 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26036 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26038 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26039 double/float/long double for second argument.
26040 Fix return types of significand, significandf, significandl.
26041 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26042 argument in fchmod prototype.
26043 (File Owner): Use uid_t and gid_t in fchown prototype.
26044 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26045 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26046 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26047 use 'const struct dirent **' as argument types to CMP function pointer
26049 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26050 (File Times): Fix summary magic @comment for struct utimbuf and utime
26051 to refer to utime.h, not time.h.
26052 * manual/string.texi (Argz Functions): Add missing const in
26053 argz_extract and argz_next prototypes.
26054 (Finding Tokens in a String): Likewise for basename.
26055 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26056 (Copying and Concatenation): Fix typo in wmemmove prototype.
26057 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26058 (Signal Stack): Remove erroneous const in sigstack prototype.
26059 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26061 (Simple Calendar Time): Likewise for stime.
26062 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26064 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26065 say sys/sysctl.h instead.
26066 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26067 and vsyslog prototypes.
26069 2013-02-11 Tom de Vries <tom@codesourcery.com>
26071 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26074 2013-02-11 Roland McGrath <roland@hack.frob.com>
26076 * misc/sys/mman.h: Fix typo in mremap comment.
26078 2013-02-08 Roland McGrath <roland@hack.frob.com>
26080 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26081 the '\0' terminator.
26083 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26086 * debug/segfault.c: Don't include <bp-checks.h>.
26087 * sysdeps/generic/bp-checks.h: Remove file.
26088 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26089 (__GETDENTS): Don't use CHECK_N.
26090 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26091 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26092 (__getgroups): Don't use CHECK_N.
26093 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26094 (setgroups): Don't use CHECK_N.
26095 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26096 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26097 (__libc_msgrcv): Don't use CHECK_N.
26098 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26099 (__libc_msgsnd): Don't use CHECK_N.
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26102 (__libc_pread): Don't use CHECK_N.
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26104 include <bp-checks.h>.
26105 (__libc_pread64): Don't use CHECK_N.
26106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26107 include <bp-checks.h>.
26108 (__libc_pwrite): Don't use CHECK_N.
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26110 include <bp-checks.h>.
26111 (__libc_pwrite64): Don't use CHECK_N.
26112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26114 (__libc_pread): Don't use CHECK_N.
26115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26116 include <bp-checks.h>.
26117 (__libc_pread64): Don't use CHECK_N.
26118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26119 include <bp-checks.h>.
26120 (__libc_pwrite): Don't use CHECK_N.
26121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26122 include <bp-checks.h>.
26123 (__libc_pwrite64): Don't use CHECK_N.
26124 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26125 (do_pread): Don't use CHECK_N.
26126 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26127 (do_pread64): Don't use CHECK_N.
26128 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26129 (do_pwrite): Don't use CHECK_N.
26130 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26131 (do_pwrite64): Don't use CHECK_N.
26132 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26133 (__libc_readv): Don't use CHECK_N.
26134 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26135 (semop): Don't use CHECK_N.
26136 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26138 (semtimedop): Don't use CHECK_N.
26139 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26140 (__libc_pread): Don't use CHECK_N.
26141 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26143 (__libc_pread64): Don't use CHECK_N.
26144 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26146 (__libc_pwrite): Don't use CHECK_N.
26147 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26149 (__libc_pwrite64): Don't use CHECK_N.
26150 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26152 (__libc_msgrcv): Don't use CHECK_N.
26153 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26154 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26155 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26156 (__libc_writev): Don't use CHECK_N.
26158 2013-02-08 Roland McGrath <roland@hack.frob.com>
26160 * string/strcpy.c: Removed unused variable.
26162 * Makeconfig (+sysdep-includes): Define with := rather than =.
26163 Use an existing include/ subdir of each sysdeps dir before it.
26165 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26167 * nscd/connection.c (register_traced_file): Comment function.
26168 [HAVE_INOTIFY] (union __inev): Define.
26169 [HAVE_INOTIFY] (inotify_check_files): New function.
26170 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26171 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26173 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26175 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26177 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26178 loaded if not already and that a failure is permanent.
26180 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26183 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26184 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26186 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26189 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26190 (CHECK_1_NULL_OK): Likewise.
26191 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26192 (__fxstat): Do not use CHECK_1.
26193 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26195 (___fxstat64): Do not use CHECK_1.
26196 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26198 (__fxstatat): Do not use CHECK_1.
26199 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26201 (__fxstatat64): Do not use CHECK_1.
26202 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26204 (__fxstat): Do not use CHECK_1.
26205 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26207 (__fxstatat): Do not use CHECK_1.
26208 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26210 (__getresgid): Do not use CHECK_1.
26211 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26213 (__getresuid): Do not use CHECK_1.
26214 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26216 (__lxstat): Do not use CHECK_1.
26217 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26219 (__old_msgctl): Do not use CHECK_1.
26220 (__new_msgctl): Likewise.
26221 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26223 (__new_setrlimit): Do not use CHECK_1.
26224 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26226 (__old_shmctl): Do not use CHECK_1.
26227 (__new_shmctl): Likewise.
26228 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26230 (__xstat): Do not use CHECK_1.
26231 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26232 (__lxstat): Do not use CHECK_1.
26233 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26235 (___lxstat64): Do not use CHECK_1.
26236 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26237 (__old_msgctl): Do not use CHECK_1.
26238 (__new_msgctl): Likewise.
26239 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26241 (__gettimeofday): Do not use CHECK_1.
26242 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26243 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26244 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26246 (__gettimeofday): Do not use CHECK_1.
26247 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26248 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26249 (__new_shmctl): Do not use CHECK_1.
26250 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26252 (do_sigtimedwait): Do not use CHECK_1.
26253 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26255 (do_sigwaitinfo): Do not use CHECK_1.
26256 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26258 (msgctl): Do not use CHECK_1.
26259 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26261 (shmctl): Do not use CHECK_1.
26262 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26263 (ustat): Do not use CHECK_1.
26264 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26266 (__fxstat): Do not use CHECK_1.
26267 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26269 (__fxstatat): Do not use CHECK_1.
26270 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26272 (__lxstat): Do not use CHECK_1.
26273 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26275 (__xstat): Do not use CHECK_1.
26276 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26277 (__xstat): Do not use CHECK_1.
26278 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26279 (___xstat64): Do not use CHECK_1.
26282 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26284 (CHECK_BOUNDS_HIGH): Likewise.
26285 * string/strcpy.c: Do not include <bp-checks.h>.
26286 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26288 2013-02-07 Roland McGrath <roland@hack.frob.com>
26290 * nscd/nscd-client.h (__nscd_drop_map_ref):
26291 Add __attribute__ ((unused)).
26292 * nis/nss-nisplus.h (niserr2nss): Likewise.
26294 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26295 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26297 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26298 Remove inline keyword.
26299 * include/rounding-mode.h (round_away): Likewise.
26300 * libio/wfileops.c (adjust_wide_data): Likewise.
26301 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26302 (__m128i_strloadu_tolower): Likewise.
26303 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26304 (__m128i_strloadu_tolower): Likewise.
26305 * time/mktime.c (ydhms_diff): Likewise.
26306 * locale/elem-hash.h (elem_hash): Likewise.
26307 * locale/setlocale.c (setdata): Likewise.
26308 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26309 (re_string_wchar_at): Likewise.
26310 (bitset_not, bitset_merge, bitset_mask): Likewise.
26311 [!(__GNUC__ > 3)] (inline): Remove macro.
26312 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26313 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26314 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26315 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26316 * string/memcmp.c (memcmp_bytes): Likewise.
26317 * locale/programs/locarchive.c (compute_hashval): Likewise.
26318 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26319 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26320 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26321 * nss/getent.c (print_rpc, print_protocols): Likewise.
26322 (print_passwd, print_group, print_aliases): Likewise.
26323 * nis/nss-nisplus.h (niserr2nss): Likewise.
26324 * nscd/connections.c (restart_p): Likewise.
26325 Change return type to bool.
26327 2013-02-05 Roland McGrath <roland@hack.frob.com>
26329 * Makeconfig (all-Depend-files): Add existing
26330 $(sorted-subdirs:=/Depend) files.
26331 (all-subdirs): Remove nss.
26332 * sysdeps/unix/inet/Subdirs: Add it here instead.
26333 * hesiod/Depend: New file.
26335 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26336 instead of calling alloca.
26338 * io/lseek.c (__lseek): Rename to __libc_lseek.
26339 Define __lseek as an alias.
26341 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26343 2013-02-04 Carlos O'Donell <carlos@redhat.com>
26345 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26346 else clause and remove check for non-standard endianness.
26348 2013-02-04 David S. Miller <davem@davemloft.net>
26350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26352 2013-02-04 Joseph Myers <joseph@codesourcery.com>
26355 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26356 (__ubp_memchr): Remove prototype.
26357 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26358 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26359 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26360 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26361 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26363 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26364 (__ubp_memchr): Likewise.
26365 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26366 (__ubp_memchr): Likewise.
26367 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26368 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26369 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26370 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26372 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26373 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26374 (__getcwd): Do not use CHECK_STRING.
26375 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26377 (__real_chown): Do not use CHECK_STRING.
26378 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26380 (fchownat): Do not use CHECK_STRING.
26381 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26383 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26385 (__lchown): Do not use CHECK_STRING.
26386 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26387 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26388 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26389 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26391 include <bp-checks.h>.
26392 (truncate64): Do not use CHECK_STRING.
26393 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26395 (__real_chown): Do not use CHECK_STRING.
26396 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26398 (__lchown): Do not use CHECK_STRING.
26399 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26401 (__chown): Do not use CHECK_STRING.
26402 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26404 (truncate64): Do not use CHECK_STRING.
26405 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26407 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26408 (__xmknod): Do not use CHECK_STRING.
26409 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26411 (__xmknodat): Do not use CHECK_STRING.
26412 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26413 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26415 2013-02-04 Andreas Schwab <schwab@suse.de>
26418 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26419 * include/netdb.h: Likewise for h_errno.
26420 * elf/tst-stackguard1.c: Include <tls.h>.
26422 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26424 * elf/link.h (struct link_map): Extend the l_addr comment.
26425 * include/link.h (struct link_map): Likewise.
26427 2013-02-01 Joseph Myers <joseph@codesourcery.com>
26430 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26431 (BOUNDED_1): Remove macro.
26432 * debug/backtrace.c: Don't include <bp-checks.h>.
26433 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26434 (__backtrace): Likewise.
26435 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26437 (__backtrace): Don't use BOUNDED_1.
26438 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26440 (__backtrace): Don't use BOUNDED_1.
26441 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26442 (__backtrace): Don't use BOUNDED_1.
26443 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26444 (shmat): Don't use BOUNDED_N.
26446 2013-01-31 Joseph Myers <joseph@codesourcery.com>
26449 * sysdeps/generic/bp-start.h: Remove file.
26450 * csu/libc-start.c: Don't include <bp-start.h>.
26451 (LIBC_START_MAIN): Set up __environ directly instead of using
26452 INIT_ARGV_and_ENVIRON.
26453 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26457 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26459 (CHECK_FCNTL): Likewise.
26460 (CHECK_N_PAGES): Likewise.
26463 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26465 (CHECK_SIGSET_NULL_OK): Likewise.
26466 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26468 (sigpending): Don't use CHECK_SIGSET.
26469 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26471 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26472 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26474 (do_sigsuspend): Don't use CHECK_SIGSET.
26475 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26477 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26478 (do_sigwait): Don't use CHECK_SIGSET.
26479 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26481 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26482 include <bp-checks.h>.
26483 (sigpending): Don't use CHECK_SIGSET.
26484 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26485 include <bp-checks.h>.
26486 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26487 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26489 (sigpending): Don't use CHECK_SIGSET.
26490 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26492 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26495 * sysdeps/generic/bp-semctl.h: Remove file.
26496 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26497 <bp-checks.h> and <bp-semctl.h>.
26498 (__old_semctl): Don't use CHECK_SEMCTL.
26499 (__new_semctl): Likewise.
26500 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26502 (__old_semctl): Don't use CHECK_SEMCTL.
26503 (__new_semctl): Likewise.
26504 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26505 <bp-checks.h> and <bp-semctl.h>.
26506 (__old_semctl): Don't use CHECK_SEMCTL.
26507 (__new_semctl): Likewise.
26508 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26509 <bp-checks.h> and <bp-semctl.h>.
26510 (semctl): Don't use CHECK_SEMCTL.
26513 * Makerules (elide-bp-thunks): Remove variable.
26514 (elide-routines.oS): Don't use $(elide-bp-thunks).
26515 (elide-routines.os): Likewise.
26516 (elide-routines.o): Likewise.
26517 (elide-routines.op): Likewise.
26518 (elide-routines.og): Likewise.
26519 (objects): Don't use $(bp-thunks).
26520 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26522 (common-generated): Do not add s-proto-bp.d.
26523 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26526 Do not generate makefile rules for bounded-pointer thunks.
26527 * sysdeps/generic/bp-thunks.h: Remove file.
26528 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26529 * sysdeps/unix/s-proto-bp.S: Likewise.
26532 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26533 parts of result separately when argument is not close to line from
26534 -i to i and one part of argument is small.
26535 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26536 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26537 * math/libm-test.inc (cacos_test): Add more tests.
26538 (casin_test): Likewise.
26539 (casinh_test): Likewise.
26540 * sysdeps/i386/fpu/libm-test-ulps: Update.
26541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26543 2013-01-31 David S. Miller <davem@davemloft.net>
26545 * po/de.po: Update from translation team.
26547 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26549 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26551 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26553 * configure.in (_AC_PROG_CC_C89): New definition.
26554 * configure: Regenerate.
26556 * configure.in (AC_PROG_CPP): New definition.
26557 * configure: Regenerate.
26559 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26561 * debug/tst-backtrace.h: New file.
26562 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26563 (ret): Remove variable.
26565 (FAIL): Remove macro.
26566 (NO_INLINE): Likewise.
26567 (fn1): Use match function instead of strstr.
26568 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26569 (ret): Remove variable.
26571 (FAIL): Remove macro.
26572 (NO_INLINE): Likewise.
26573 (fn): Use match function instead of strstr.
26574 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26575 (ret): Remove variable.
26577 (FAIL): Remove macro.
26578 (NO_INLINE): Likewise.
26579 (handle_signal): Use match function instead of strstr.
26580 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26581 (ret): Remove variable.
26583 (FAIL): Remove macro.
26584 (NO_INLINE): Likewise.
26585 (handle_signal): Use match function instead of strstr.
26587 2013-01-23 Roland McGrath <roland@hack.frob.com>
26589 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26591 2013-01-23 David S. Miller <davem@davemloft.net>
26593 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26594 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26595 argument of CAS if possible.
26596 * sysdeps/sparc/sparc64/bits/atomic.h
26597 (__arch_compare_and_exchange_val_32_acq): Likewise.
26598 (__arch_compare_and_exchange_val_64_acq): Likewise.
26600 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26602 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26603 * sysdeps/posix/ulimit.c: ... this.
26604 Include <limits.h>.
26605 * sysdeps/unix/bsd/ulimit.c: Remove file.
26607 2013-01-23 Adam Conrad <adconrad@0c3.net>
26609 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26610 (LDFLAGS-tst-array5): Likewise.
26612 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26615 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26616 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26617 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26618 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26620 2013-01-21 David S. Miller <davem@davemloft.net>
26622 * sysdeps/sparc/backtrace.c: New file.
26623 * sysdeps/sparc/sparc32/backtrace.h: New file.
26624 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26625 * sysdeps/sparc/sparc64/backtrace.h: New file.
26626 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26627 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26630 2013-01-21 Andreas Schwab <schwab@suse.de>
26633 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26636 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26642 2013-01-18 Joseph Myers <joseph@codesourcery.com>
26643 Mark Mitchell <mark@codesourcery.com>
26644 Tom de Vries <tom@codesourcery.com>
26645 Paul Pluzhnikov <ppluzhnikov@google.com>
26647 * debug/tst-backtrace2.c: New file.
26648 * debug/tst-backtrace3.c: Likewise.
26649 * debug/tst-backtrace4.c: Likewise.
26650 * debug/tst-backtrace5.c: Likewise.
26651 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26652 (CFLAGS-tst-backtrace3.c): Likewise.
26653 (CFLAGS-tst-backtrace4.c): Likewise.
26654 (CFLAGS-tst-backtrace5.c): Likewise.
26655 (LDFLAGS-tst-backtrace2): Likewise.
26656 (LDFLAGS-tst-backtrace3): Likewise.
26657 (LDFLAGS-tst-backtrace4): Likewise.
26658 (LDFLAGS-tst-backtrace5): Likewise.
26659 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26660 tst-backtrace4 and tst-backtrace5.
26662 2013-01-18 Anton Blanchard <anton@samba.org>
26663 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26665 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26666 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26667 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26668 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26670 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26671 "+r" and remove output regs list as redundant. Add explicit inline
26672 asm to specify register of return val to work around compiler codegen
26673 bug. Remove (int) cast on return value. Add return type parameter to
26674 use in macro so that this macro does not truncate return value for
26676 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26677 pass to INTERNAL_VSYSCALL_NCS.
26678 (INLINE_VSYSCALL): Add 'long int' as return type to
26679 INTERNAL_VSYSCALL_NCS macro invocation.
26680 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26681 INTERNAL_VSYSCALL_NCS macro invocation.
26682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26684 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26687 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26688 Fix application of SIMD FP exception mask.
26690 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26691 mp_no from a power of two.
26692 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26693 __mpexp_twomm1. Use __pow_mp.
26695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26698 2013-01-17 David S. Miller <davem@davemloft.net>
26700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26702 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26705 * include/complex.h: Condition contents on [!_COMPLEX_H].
26706 (__kernel_casinhf): New prototype.
26707 (__kernel_casinh): Likewise.
26708 (__kernel_casinhl): Likewise.
26709 * math/Makefile (libm_calls): Add k_casinh.
26710 * math/k_casinh.c: New file.
26711 * math/k_casinhf.c: Likewise.
26712 * math/k_casinhl.c: Likewise.
26713 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26714 finite nonzero arguments.
26715 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26716 finite nonzero arguments.
26717 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26718 finite nonzero arguments.
26719 * math/s_casinh.c: Do not include <float.h>.
26720 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26721 * math/s_casinhf.c: Do not include <float.h>.
26722 (__casinhf): Move code for finite nonzero arguments to
26724 * math/s_casinhl.c: Do not include <float.h>.
26725 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26727 (__casinhl): Move code for finite nonzero arguments to
26729 * math/libm-test.inc (cacos_test): Add more tests.
26730 * sysdeps/i386/fpu/libm-test-ulps: Update.
26731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26733 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26735 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26736 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26737 [!HAVE_MREMAP]: Remove [defined linux] case.
26738 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26740 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26742 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26744 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26746 * elf/elf.h (R_386_SIZE32): New relocation.
26747 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26749 (elf_machine_rela): Likewise.
26750 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26751 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26753 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26755 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26756 (FP_FAST_FMA): Do not define.
26757 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26758 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26759 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26760 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26761 !_SOFT_FLOAT]: Likewise.
26762 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26763 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26765 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26766 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26767 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26768 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26769 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26770 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26773 2013-01-16 Andreas Schwab <schwab@suse.de>
26776 * include/stdlib.h (__mktemp): Add declaration.
26777 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26778 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26780 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26782 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26784 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26785 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26786 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26788 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26789 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26791 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26793 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26794 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26795 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26797 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26798 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26800 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26802 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26804 2013-01-15 David S. Miller <davem@davemloft.net>
26806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26807 trunc{,f} to libm-sysdep_routes.
26808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26818 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26819 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26820 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26821 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26822 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26823 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26826 nearbyint{,f} to libm-sysdep_routes.
26827 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26838 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26840 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26841 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26843 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26844 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26845 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26847 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26848 libc_feholdexcept and libc_fesetenv.
26850 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26852 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26854 2013-01-14 David S. Miller <davem@davemloft.net>
26856 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26857 (SPARC_ASM_VIS2_IFUNC): Likewise.
26858 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26860 use of 'siam' instruction.
26861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26880 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26894 routines to libm-sysdep_routines.
26895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26898 fdim/fdimf to libm-sysdep_routines.
26899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26907 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26908 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26909 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26910 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26912 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26914 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26915 to optimize copies.
26917 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26922 local variable MPTWO.
26923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26926 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26928 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26931 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26933 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26935 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26937 * manual/pattern.texi (glob_t): Document gl_flags.
26938 (glob64_t): Likewise.
26940 2013-01-11 David S. Miller <davem@davemloft.net>
26942 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26943 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26944 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26945 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26946 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26947 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26948 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26949 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26950 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26951 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26952 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26953 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26954 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26956 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26957 sparc V9 rather than using V8 code.
26958 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26959 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26961 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26963 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26966 2013-01-11 Roland McGrath <roland@hack.frob.com>
26968 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26969 not in the main loop.
26970 * configure: Regenerated.
26972 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26974 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26975 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26977 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26978 [!__GLIBC_HAVE_LONG_LONG] case.
26979 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26980 condition to just #else.
26981 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26982 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26983 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26984 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26986 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26987 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26988 #elif condition to just #else.
26989 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26990 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26991 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26992 #elif condition to just #else.
26994 2013-01-11 Steve Ellcey <sellcey@mips.com>
26996 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26997 (EF_MIPS_ARCH_64): Fix value.
26998 (EF_MIPS_ARCH_32R2): New.
26999 (EF_MIPS_ARCH_64R2): New.
27001 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27003 * Makeconfig (+link-pie-before-libc): New.
27004 (+link-pie-after-libc): Likewise.
27005 (+link-pie-tests): Likewise.
27006 (+link-pie): Rewritten.
27007 (link-before-libc): Remove $(config-LDFLAGS).
27008 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27009 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27010 (config-LDFLAGS): Renamed to ...
27011 (rtld-LDFLAGS): This.
27012 (rtld-tests-LDFLAGS): New macro.
27013 (link-libc-rpath-link): Likewise.
27014 (link-libc-tests-rpath-link): Likewise.
27015 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27016 (link-libc): Prepand $(link-libc-rpath-link).
27017 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27018 (test-program-prefix): New macro.
27019 (test-via-rtld-prefix): Likewise.
27020 (test-program-cmd): Likewise.
27021 (host-test-program-cmd): Likewise.
27022 * Makefile ($(common-objpfx)testrun.sh): Replace
27023 $(run-program-prefix) with $(test-program-prefix).
27024 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27026 ($(common-objpfx)shlib.lds): Likewise.
27027 (build-module-helper): Likewise.
27028 ($(common-objpfx)format.lds): Likewise.
27029 * Rules (binaries-pie-tests): New.
27030 (binaries-pie-notests): Likewise.
27031 (binaries-pie): Rewritten.
27032 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27033 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27034 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27035 (make-test-out): Replace $(host-built-program-cmd) with
27036 $(host-test-program-cmd).
27037 * config.make.in (build-hardcoded-path-in-tests): New variable.
27038 * configure.in (--enable-hardcoded-path-in-tests): New configure
27040 (hardcoded_path_in_tests): New AC_SUBST.
27041 * configure: Regenerated.
27042 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27043 $(built-program-cmd) with $(test-program-cmd).
27044 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27045 (test_program_cmd): This.
27046 * elf/Makefile ($(objpfx)order.out): Run test with
27047 $(test-program-prefix).
27048 ($(objpfx)order2.out): Likewise.
27049 ($(objpfx)tst-initorder.out): Likewise.
27050 ($(objpfx)tst-initorder2.out): Likewise.
27051 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27052 $(test-program-cmd).
27053 ($(objpfx)tst-array1-static.out): Likewise.
27054 ($(objpfx)tst-array2.out): Likewise.
27055 ($(objpfx)tst-array3.out): Likewise.
27056 ($(objpfx)tst-array4.out): Likewise.
27057 ($(objpfx)tst-array5.out): Likewise.
27058 ($(objpfx)tst-array5-static.out): Likewise.
27059 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27060 $(test-program-cmd).
27061 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27062 $(run-program-prefix) with $(test-program-prefix).
27063 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27064 (test_program_prefix): This.
27065 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27066 $(run-program-prefix) with $(test-program-prefix).
27067 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27068 (test_program_prefix): This.
27069 * iconvdata/tst-tables.sh: Likewise.
27070 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27071 $(run-program-prefix) with $(test-program-prefix).
27072 ($(objpfx)tst-translit.out): Likewise.
27073 ($(objpfx)tst-gettext2.out): Likewise.
27074 ($(objpfx)tst-gettext4.out): Likewise.
27075 ($(objpfx)tst-gettext6.out): Likewise.
27076 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27077 (test_program_prefix): This.
27078 * intl/tst-gettext2.sh: Likewise.
27079 * intl/tst-gettext4.sh Likewise.
27080 * intl/tst-gettext6.sh: Likewise.
27081 * intl/tst-translit.sh: Likewise.
27082 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27083 with $(test-program-cmd).
27084 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27085 $(run-program-prefix) with $(test-program-prefix).
27086 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27087 (test_program_prefix): This.
27088 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27089 $(run-program-prefix) with $(test-program-prefix).
27090 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27091 (test_program_prefix): This.
27092 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27093 * posix/Makefile ($(objpfx)globtest.out): Replace
27094 $(run-via-rtld-prefix) and $(test-wrapper) with
27095 $(test-program-prefix) and $(test-via-rtld-prefix).
27096 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27097 $(test-program-prefix).
27098 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27099 $(host-test-program-cmd).
27100 (tst-spawn-ARGS): Likewise.
27101 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27102 $(test-program-prefix).
27103 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27104 (test_via_rtld_prefix): This.
27105 (test_wrapper): Renamed to ...
27106 (test_program_prefix): This.
27107 (run_program_prefix): Replaced by test_program_prefix.
27108 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27109 (test_program_prefix): This.
27110 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27111 with $(host-test-program-cmd).
27112 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27113 $(run-program-prefix) with $(test-program-prefix).
27114 ($(objpfx)tst-printf.out): Likewise.
27115 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27116 $(test-program-cmd).
27117 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27118 (test_program_prefix): This.
27119 * stdio-common/tst-unbputc.sh: Likewise.
27120 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27121 $(run-program-prefix) with $(test-program-prefix).
27122 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27123 (test_program_prefix): This.
27124 * string/Makefile ($(objpfx)tst-svc.out): Replace
27125 $(built-program-cmd) with $(test-program-cmd).
27127 2013-01-11 Andreas Jaeger <aj@suse.de>
27130 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27131 value. Sync with Linux 3.7.
27133 2013-01-10 David S. Miller <davem@davemloft.net>
27135 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27139 2013-01-10 Roland McGrath <roland@hack.frob.com>
27141 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27143 * configure: Regenerated.
27145 2013-01-10 David S. Miller <davem@davemloft.net>
27147 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27148 sparc V9 rather than using V8 code.
27149 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27150 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27152 2013-01-10 Roland McGrath <roland@hack.frob.com>
27154 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27155 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27156 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27157 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27158 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27159 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27160 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27161 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27162 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27163 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27164 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27165 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27166 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27167 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27168 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27169 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27170 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27171 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27172 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27173 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27174 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27175 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27176 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27177 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27178 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27179 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27180 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27182 2013-01-10 David S. Miller <davem@davemloft.net>
27184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27186 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27188 * posix/Makefile (tests-static): New variable.
27189 (tests): Add $(tests-static).
27190 (tst-exec-static-ARGS): New variable.
27191 (tst-spawn-static-ARGS): Likewise.
27192 * posix/tst-exec-static.c: New file.
27193 * posix/tst-spawn-static.c: Likewise.
27194 * posix/tst-exec.c: Support run directly.
27195 * posix/tst-spawn.c: Likewise.
27197 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27199 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27201 * math/bits/mathcalls.h (llrint): Likewise.
27202 (llround): Likewise.
27203 * stdlib/stdlib.h (struct drand48_data): Likewise.
27204 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27205 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27206 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27208 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27210 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27211 (elf_greg_t): Likewise.
27212 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27213 (__jmp_buf): Likewise.
27214 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27216 (llrint): Likewise, for all definitions.
27217 (llrintl): Likewise.
27219 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27220 Remove [__GNUC__] condition.
27221 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27222 condition to just [__USE_ISOC99].
27223 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27225 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27228 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27229 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27231 (_POSIX_V6_ILP32_OFF32): Likewise.
27232 (_XBS5_ILP32_OFF32): Likewise.
27233 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27234 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27236 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27238 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27241 doubles __mpexp_twomm1. Adjust usage.
27242 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27245 2013-01-10 Andreas Schwab <schwab@suse.de>
27248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27249 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27251 2013-01-09 David S. Miller <davem@davemloft.net>
27254 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27255 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27256 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27257 (TCP_FASTOPEN): Define.
27258 (tcp_repair_opt): New structure.
27259 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27261 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27262 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27263 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27264 (tcp_cookie_transactions): New structure.
27266 2013-01-09 Anton Blanchard <anton@samba.org>
27268 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27269 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27270 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27271 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27273 2013-01-09 Joseph Myers <joseph@codesourcery.com>
27275 * include/features.h (__USE_ANSI): Remove.
27277 2013-01-09 Roland McGrath <roland@hack.frob.com>
27279 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27281 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27283 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27285 * sysdeps/s390/fpu/libm-test-ulps: Update.
27287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27289 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27293 (denorm): Likewise.
27294 (__mp_dbl): Likewise.
27295 (__dbl_mp): Likewise.
27296 (add_magnitudes): Likewise.
27297 (sub_magnitudes): Likewise.
27303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27307 (denorm): Likewise.
27308 (__mp_dbl): Likewise.
27309 (__dbl_mp): Likewise.
27310 (add_magnitudes): Likewise.
27311 (sub_magnitudes): Likewise.
27317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27321 (denorm): Likewise.
27322 (__mp_dbl): Likewise.
27323 (__dbl_mp): Likewise.
27324 (add_magnitudes): Likewise.
27325 (sub_magnitudes): Likewise.
27332 2013-01-08 Joseph Myers <joseph@codesourcery.com>
27334 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27335 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27336 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27337 2 && __USE_EXTERN_INLINES]: Likewise.
27339 2013-01-08 Andreas Jaeger <aj@suse.de>
27342 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27344 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27345 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27347 2013-01-07 Anton Blanchard <anton@samba.org>
27349 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27350 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27351 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27352 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27353 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27354 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27355 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27356 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27358 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27359 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27360 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27361 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27362 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27363 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27364 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27365 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27366 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27367 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27368 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27369 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27370 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27371 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27372 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27373 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27374 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27375 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27376 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27377 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27378 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27379 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27381 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27382 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27383 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27384 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27385 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27387 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27388 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27389 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27391 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27393 2013-01-07 Joseph Myers <joseph@codesourcery.com>
27395 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27396 (__MALLOC_PMT): Likewise.
27397 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27398 [__GNUC__], only on [_LIBC].
27399 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27400 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27401 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27402 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27403 forward declaration.
27404 (realloc_hook_ini): Likewise.
27405 (memalign_hook_ini): Likewise.
27406 (__libc_memalign): Do not use __MALLOC_PMT in variable
27408 (__libc_valloc): Likewise.
27409 (__libc_pvalloc): Likewise.
27410 (__libc_calloc): Likewise.
27411 (__posix_memalign): Likewise.
27414 * math/s_casinh.c: Include <float.h>.
27415 (__casinh): Do not do computation with squaring and square root
27416 for large arguments.
27417 * math/s_casinhf.c: Include <float.h>.
27418 (__casinhf): Do not do computation with squaring and square root
27419 for large arguments.
27420 * math/s_casinhl.c: Include <float.h>.
27421 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27422 (__casinhl): Do not do computation with squaring and square root
27423 for large arguments.
27424 * math/libm-test.inc (casin_test): Add more tests.
27425 (casinh_test): Likewise.
27426 * sysdeps/i386/fpu/libm-test-ulps: Update.
27427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27429 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27431 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27432 (__x86_64_raw_data_cache_size): Likewise.
27433 (__x86_64_data_cache_size_half): Likewise.
27434 (__x86_64_raw_data_cache_size_half): Likewise.
27435 (__x86_64_shared_cache_size): Likewise.
27436 (__x86_64_raw_shared_cache_size): Likewise.
27437 (__x86_64_shared_cache_size_half): Likewise.
27438 (__x86_64_raw_shared_cache_size_half): Likewise.
27439 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27441 (__x86_data_cache_size): This.
27442 (__x86_64_raw_data_cache_size): Renamed to ...
27443 (__x86_raw_data_cache_size): This.
27444 (__x86_64_data_cache_size_half): Renamed to ...
27445 (__x86_data_cache_size_half): This.
27446 (__x86_64_raw_data_cache_size_half): Renamed to ...
27447 (__x86_raw_data_cache_size_half): This.
27448 (__x86_64_shared_cache_size): Renamed to ...
27449 (__x86_shared_cache_size): This.
27450 (__x86_64_raw_shared_cache_size): Renamed to ...
27451 (__x86_raw_shared_cache_size): This.
27452 (__x86_64_shared_cache_size_half): Renamed to ...
27453 (__x86_shared_cache_size_half): This.
27454 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27455 (__x86_raw_shared_cache_size_half): This.
27456 * sysdeps/x86_64/memcpy.S: Updated.
27457 * sysdeps/x86_64/memset.S: Likewise.
27458 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27459 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27460 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27462 2013-01-04 David S. Miller <davem@davemloft.net>
27464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27466 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27468 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27469 1 to avoid redefinition warning.
27470 (__USE_GNU): Don't define.
27471 (init_signaling_nan): Protoize.
27473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27475 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27477 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27479 (__cpymn): Likewise.
27480 (norm): Remove commented code.
27481 (denorm): Likewise.
27482 (__mp_dbl): Likewise.
27484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27485 (__cpymn): Likewise.
27486 (norm): Remove commented code.
27487 (denorm): Likewise.
27488 (__mp_dbl): Likewise.
27491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27492 mp_no value for 1.0 and 2.0.
27493 (norm): Use RADIXI instead of radixi.d.
27494 (denorm): Likewise.
27495 (__mul): Use 0.0 instead of zero.d.
27496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27497 mp_no value for 1.0 and 2.0.
27498 (norm): Use RADIXI instead of radixi.d.
27499 (denorm): Likewise.
27500 (__mul): Use 0.0 instead of zero.d.
27502 2013-01-04 Joseph Myers <joseph@codesourcery.com>
27505 * math/s_casinh.c (__casinh): Reduce finite argument to first
27506 quadrant then set signs of results at the end.
27507 * math/s_casinhf.c (__casinhf): Likewise.
27508 * math/s_casinhl.c (__casinhl): Likewise.
27509 * math/libm-test.inc (casin_test): Add more tests.
27510 (casinh_test): Likewise.
27511 * sysdeps/i386/fpu/libm-test-ulps: Update.
27512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27514 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27516 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27518 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27520 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27522 (denorm): Likewise.
27523 (__mp_dbl): Likewise.
27526 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27527 and adjust the header comment.
27529 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27530 variable name from declaration.
27532 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27535 Initialize COMMON_CPUID_INDEX_7 element.
27536 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27537 (CPUID_RTM): Likewise.
27538 (HAS_RTM): Likewise.
27539 (COMMON_CPUID_INDEX_7): New enum.
27541 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27544 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27545 size is zero, record memory as freed.
27547 2013-01-03 Andreas Jaeger <aj@suse.de>
27549 * po/ia.po: Add new Interlingua translation.
27551 2012-01-03 Allan McRae <allan@archlinux.org>
27553 * locale/programs/localedef.c: Fix description of '--posix' flag.
27555 2013-01-02 Joseph Myers <joseph@codesourcery.com>
27557 * NEWS: Update dates in second copyright notice.
27558 * README: Update copyright dates in example.
27559 * manual/libc.texinfo: Update copyright dates.
27560 * scripts/test-installation.pl: Update copyright date in --version
27563 * hurd/ctty-input.c: Fix copyright notice formatting.
27564 * hurd/ctty-output.c: Likewise.
27565 * hurd/dtable.c: Likewise.
27566 * hurd/hurd-raise.c: Likewise.
27567 * hurd/hurdprio.c: Likewise.
27568 * hurd/msgportdemux.c: Likewise.
27569 * misc/sys/file.h: Likewise.
27570 * misc/sys/ioctl.h: Likewise.
27571 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27572 * sysdeps/mach/hurd/chdir.c: Likewise.
27573 * sysdeps/mach/hurd/fchdir.c: Likewise.
27574 * sysdeps/mach/hurd/rename.c: Likewise.
27575 * sysdeps/mach/hurd/rmdir.c: Likewise.
27576 * sysdeps/mach/hurd/seekdir.c: Likewise.
27577 * sysdeps/mach/hurd/setsid.c: Likewise.
27578 * sysdeps/posix/wait3.c: Likewise.
27580 * All files with FSF copyright notices: Update copyright dates
27581 using scripts/update-copyrights.
27582 * intl/plural.c: Regenerated.
27583 * locale/programs/charmap-kw.h: Likewise.
27584 * locale/programs/locfile-kw.h: Likewise.
27586 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27588 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27591 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27592 calculation loop and add branch prediction.
27594 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27595 check access beyond bounds of m1np.
27597 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27599 (__inv): Remove local variable MPTWO to use the global
27601 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27602 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27604 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27605 MP3HALFS static const.
27607 2013-01-01 David S. Miller <davem@davemloft.net>
27609 * po/ca.po: Update from translation team.
27611 2013-01-01 Joseph Myers <joseph@codesourcery.com>
27613 * scripts/update-copyrights: New file.
27614 * Makeconfig: Reformat copyright notice.
27615 * ctype/ctype.h: Likewise.
27616 * debug/swprintf_chk.c: Likewise.
27617 * elf/dl-cache.c: Likewise.
27618 * elf/dl-debug.c: Likewise.
27619 * elf/dl-object.c: Likewise.
27620 * grp/initgroups.c: Likewise.
27621 * hurd/Makefile: Likewise.
27622 * hurd/hurd/signal.h: Likewise.
27623 * hurd/hurdfault.c: Likewise.
27624 * hurd/hurdioctl.c: Likewise.
27625 * hurd/hurdlookup.c: Likewise.
27626 * hurd/intr-msg.c: Likewise.
27627 * iconv/gconv_open.c: Likewise.
27628 * libio/swprintf.c: Likewise.
27629 * locale/lc-ctype.c: Likewise.
27630 * locale/nl_langinfo.c: Likewise.
27631 * mach/Machrules: Likewise.
27632 * mach/Makefile: Likewise.
27633 * malloc/obstack.h: Likewise.
27634 * manual/Makefile: Likewise.
27635 * manual/tsort.awk: Likewise.
27636 * misc/bits/stab.def: Likewise.
27637 * nis/nis_print_group_entry.c: Likewise.
27638 * nis/nis_table.c: Likewise.
27639 * nis/nss_compat/compat-pwd.c: Likewise.
27640 * nis/nss_compat/compat-spwd.c: Likewise.
27641 * po/Makefile: Likewise.
27642 * posix/fnmatch.c: Likewise.
27643 * posix/regex.h: Likewise.
27644 * resolv/Makefile: Likewise.
27645 * resolv/nss_dns/dns-network.c: Likewise.
27646 * resolv/res_hconf.c: Likewise.
27647 * scripts/gen-sorted.awk: Likewise.
27648 * soft-fp/soft-fp.h: Likewise.
27649 * stdio-common/printf.h: Likewise.
27650 * stdlib/monetary.h: Likewise.
27651 * stdlib/random.c: Likewise.
27652 * stdlib/random_r.c: Likewise.
27653 * sysdeps/generic/Makefile: Likewise.
27654 * sysdeps/gnu/Makefile: Likewise.
27655 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27657 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27659 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27662 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27663 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27664 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27665 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27666 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27667 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27668 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27669 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27670 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27671 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27672 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27675 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27676 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27677 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27683 * sysdeps/mach/hurd/errnos.awk: Likewise.
27684 * sysdeps/mach/hurd/fork.c: Likewise.
27685 * sysdeps/mach/hurd/getcwd.c: Likewise.
27686 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27687 * sysdeps/mach/hurd/mmap.c: Likewise.
27688 * sysdeps/mach/hurd/utimes.c: Likewise.
27689 * sysdeps/mach/hurd/xmknod.c: Likewise.
27690 * sysdeps/posix/profil.c: Likewise.
27691 * sysdeps/posix/readdir_r.c: Likewise.
27692 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27693 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27694 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27695 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27697 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27698 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27699 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27701 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27702 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27703 * sysdeps/pthread/lio_listio.c: Likewise.
27704 * sysdeps/sparc/dl-procinfo.h: Likewise.
27705 * sysdeps/unix/i386/sysdep.S: Likewise.
27706 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27707 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27708 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27709 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27711 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27712 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27713 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27714 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27715 * sysdeps/wordsize-32/divdi3.c: Likewise.
27716 * time/sys/time.h: Likewise.
27717 * wcsmbs/Makefile: Likewise.
27719 2013-01-01 David S. Miller <davem@davemloft.net>
27721 * po/fr.po: Update from translation team.
27723 * catgets/gencat.c: Update copyright year.
27724 * csu/version.c: Likewise.
27725 * debug/catchsegv.sh: Likewise.
27726 * debug/pcprofiledump.c: Likewise.
27727 * debug/xtrace.sh: Likewise.
27728 * elf/ldconfig.c: Likewise.
27729 * elf/ldd.bash.in: Likewise.
27730 * elf/pldd.c: Likewise.
27731 * elf/sotruss.ksh: Likewise.
27732 * elf/sprof.c: Likewise.
27733 * iconv/iconv_prog.c: Likewise.
27734 * iconv/iconvconfig.c: Likewise.
27735 * locale/programs/locale.c: Likewise.
27736 * locale/programs/localedef.c: Likewise.
27737 * login/programs/pt_chown.c: Likewise.
27738 * malloc/memusage.sh: Likewise.
27739 * malloc/memusagestat.c: Likewise.
27740 * malloc/mtrace.pl: Likewise.
27741 * nscd/nscd.c: Likewise.
27742 * nss/getent.c: Likewise.
27743 * nss/makedb.c: Likewise.
27744 * posix/getconf.c: Likewise.
27746 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27748 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27751 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27753 * math/bits/mathcalls.h (modf): Use __nonnull.
27755 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27757 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27758 (split): Use macro CN instead of the bare value.
27759 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27762 instead of the bare value.
27763 (power1): Likewise.
27765 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27769 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27771 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27773 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27774 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27775 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27776 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27778 2012-12-28 Andreas Jaeger <aj@suse.de>
27780 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27781 values are from Linux 3.7.
27783 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27784 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27786 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27788 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27791 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27793 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27794 variables with preprocessor constants.
27795 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27796 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27797 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27799 2012-12-27 Bruno Haible <bruno@clisp.org>
27802 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27805 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27808 and use variable directly.
27809 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27811 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27813 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27816 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27818 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27819 include directive. Remove local variable MPONE.
27820 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27821 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27822 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27824 2012-12-25 David S. Miller <davem@davemloft.net>
27826 * version.h (RELEASE): Set to "development".
27827 (VERSION): Set to "2.17.90".
27828 * NEWS: Add 2.18 section.
27830 2012-12-21 David S. Miller <davem@davemloft.net>
27832 * po/hr.po: Update from translation team.
27834 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27836 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27838 2012-12-19 Steve Ellcey <sellcey@mips.com>
27840 * NEWS: Mention new memcpy for MIPS.
27842 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27844 * manual/contrib.texi (Contributors): Spelling correction.
27846 2012-12-15 David S. Miller <davem@davemloft.net>
27848 * po/ru.po: Update from translation team.
27850 2012-12-13 David S. Miller <davem@davemloft.net>
27852 * NEWS: Mention IFUNC testsuite enhancements.
27854 * po/pl.po: Update from translation team.
27855 * po/bg.po: Likewise.
27857 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27858 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27860 2012-12-11 David S. Miller <davem@davemloft.net>
27862 * po/sv.po: Update from translation team.
27864 * po/vi.po: Update from translation team.
27866 * po/cs.po: Update from translation team.
27868 * po/de.po: Update from translation team.
27869 * po/eo.po: Likewise.
27870 * po/nl.po: Likewise.
27872 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27875 * manual/argp.texi (Argp Helper Functions): Move node to follow
27876 Argp Parsing State.
27879 * manual/conf.texi (Limits on File System Capacity): Mention if
27880 terminating null is included in the max size.
27882 2012-12-10 Andreas Jaeger <aj@suse.de>
27884 * po/cs.po: Update from translation team.
27886 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27888 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27889 void pointer and cast to uintptr_t.
27890 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27892 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27893 * sysdeps/s390/s390-64/memset.S: Likewise.
27895 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27898 * menual/message.texi (Message Translation): Fix typos.
27899 (Helper programs for gettext): Likewise.
27901 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27904 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27907 2012-12-07 David S. Miller <davem@davemloft.net>
27909 * po/libc.pot: Update.
27911 2012-12-07 Richard Henderson <rth@redhat.com>
27914 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27915 normal/normal case to before the switch.
27916 (_FP_DIV): Likewise.
27918 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27919 Mike Frysinger <vapier@gentoo.org>
27921 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27922 check for __NR_fadvise64_64.
27924 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27926 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27927 0, not just to plain "0" as a statement.
27928 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27931 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27933 * NEWS: Use sourceware.org in Bugzilla URL.
27935 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27938 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27940 * stdio-common/tst-put-error.c (do_test): Add newline to the
27941 padded test to ensure flush.
27943 2012-12-05 Jeff Law <law@redhat.com>
27945 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27947 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27949 * README: Don't refer to ports add-on as distributed separately.
27950 Mention AArch64 in list of systems supported in the ports add-on.
27952 * LICENSES: Add more non-FSF copyright and license notices.
27954 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27957 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27959 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27960 10000 as width of padded output.
27962 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27964 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27966 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27967 variable LX with __attribute__ ((unused)).
27968 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27970 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27971 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27972 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27973 with __attribute__ ((unused)).
27975 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27977 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27979 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27981 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27982 (CFLAGS-nldbl-acos.c): New variable.
27983 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27984 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27985 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27986 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27987 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27988 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27989 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27990 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27991 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27992 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27993 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27994 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27995 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27996 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27997 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27998 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27999 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28000 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28001 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28002 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28003 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28004 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28005 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28006 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28007 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28008 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28009 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28010 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28011 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28012 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28013 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28014 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28015 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28016 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28017 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28018 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28019 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28020 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28021 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28022 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28023 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28024 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28025 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28026 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28027 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28028 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28029 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28030 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28031 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28032 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28033 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28034 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28035 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28036 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28037 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28038 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28039 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28040 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28041 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28042 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28043 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28044 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28045 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28046 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28047 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28048 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28049 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28050 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28051 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28052 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28053 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28054 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28055 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28056 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28057 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28058 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28059 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28060 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28061 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28062 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28063 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28064 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28065 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28066 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28067 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28068 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28069 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28070 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28071 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28072 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28073 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28074 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28075 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28076 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28077 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28078 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28079 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28082 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28085 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28086 whole low double instead of just low 47 bits when splitting values
28089 2012-12-03 Allan McRae <allan@archlinux.org>
28091 * manual/stdio.texi (Predefined Printf Handlers): Remove
28092 @hsep and @vsep usage.
28094 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28096 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28097 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28099 2012-12-03 Jeff Law <law@redhat.com>
28101 * time/sys/time.h (settimeofday): Do not mark TV argument
28104 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28106 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28107 when currently writing and seek to current position when not.
28108 * libio/Makefile (tests): Remove bug-fclose1.
28109 * libio/bug-fclose1.c: Delete.
28111 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28113 * manual/arith.texi (feenableexcept): Fix typo.
28114 (fedisableexcept): Likewise.
28116 2012-11-30 Roland McGrath <roland@hack.frob.com>
28118 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28119 second, differently-typed declaration, rather than a cast.
28121 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28123 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28124 * include/rpc/svc.h: ... here.
28126 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28129 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28130 depending n and resplen2 to catch cases where answer
28133 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28135 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28136 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28138 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28140 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28142 2012-11-29 Roland McGrath <roland@hack.frob.com>
28144 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28146 2012-11-28 Jeff Law <law@redhat.com>
28149 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28150 dataset_temporary. Track alloca usage into alloca_used.
28151 If dataset is large allocate and release it via malloc/free.
28153 2012-06-04 Florian Weimer <fweimer@redhat.com>
28156 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28158 2012-11-28 David S. Miller <davem@davemloft.net>
28160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28162 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28165 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28166 of pi/2 rounded to nearest to 64 bits.
28167 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28168 nearest to 64 bits.
28169 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28172 2012-11-28 Jeff Law <law@redhat.com>
28173 Martin Osvald <mosvald@redhat.com>
28176 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28177 * sunrpc/svc.c: Include time.h.
28178 (__svc_accept_failed): New function.
28179 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28180 any reason other than EINTR, call __svc_accept_failed.
28181 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28182 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28184 2012-11-28 Andreas Schwab <schwab@suse.de>
28186 * scripts/abilist.awk: Also handle indirect functions in .opd
28189 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28192 * sysdeps/x86/fpu/powl_helper.c: New file.
28193 * sysdeps/x86/fpu/Makefile: Likewise.
28194 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28196 (__ieee754_powl): Use __powl_helper for finite arguments except
28197 integer exponents below 8.
28198 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28200 (__ieee754_powl): Use __powl_helper for finite arguments except
28201 integer exponents below 8.
28202 * math/libm-test.inc (pow_test): Add more tests and enable some
28203 previously disabled tests.
28204 * sysdeps/i386/fpu/libm-test-ulps: Update.
28205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28207 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28208 Carlos O'Donell <carlos_odonell@mentor.com>
28210 * nss/makedb.c (is_prime): Assert that input is odd and greater
28211 than 4. Note that fact in a comment too.
28212 (next_prime): Add 4 to input.
28214 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28217 * libio/Makefile (tests): Add test case tst-fwrite-error.
28218 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28219 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28220 * libio/tst-fwrite-error.c: New test case.
28222 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28224 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28225 before casting to void *.
28226 * include/libc-internal.h (__pointer_type): New macro.
28227 (__integer_if_pointer_type_sub): Likewise.
28228 (__integer_if_pointer_type): Likewise.
28229 (cast_to_integer): Likewise.
28230 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28231 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28232 before casting to atomic64_t.
28233 (atomic_exchange_acq): Likewise.
28234 (__arch_exchange_and_add_body): Likewise.
28235 (__arch_add_body): Likewise.
28236 (atomic_add_negative): Likewise.
28237 (atomic_add_zero): Likewise.
28239 2012-11-26 Joseph Myers <joseph@codesourcery.com>
28241 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28242 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28243 (add_fdes): Likewise.
28244 (linear_search_fdes): Likewise.
28245 (binary_search_unencoded_fdes): Likewise.
28247 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28249 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28251 2012-11-24 Adam Conrad <adconrad@0c3.net>
28253 * configure.in: Autodetect C++ header directories.
28254 * configure: Regenerated.
28256 2012-11-23 Mike Frysinger <vapier@gentoo.org>
28258 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28260 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28264 2012-11-22 Joseph Myers <joseph@codesourcery.com>
28266 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28267 LDBL_MANT_DIG == 106]: Disable some tests.
28268 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28270 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28274 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28275 input for small inputs. Return +/- pi/2 for large inputs.
28276 * math/libm-test.inc (atan_test): Add more tests.
28278 * sysdeps/generic/unwind-dw2-fde-glibc.c
28279 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28280 __attribute__ ((unused)).
28283 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28284 x * y if x and y are nonzero and z is zero.
28287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28288 nonzero exponents with absolute value below 0x1p-117 to +/-
28292 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28293 up arguments below 2**-450, not just those below 2**-500.
28294 * math/libm-test.inc (hypot_test): Add another test.
28297 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28298 Return a+b for ratio over 2**120, not 2**60.
28299 * math/libm-test.inc (hypot_test): Add another test.
28301 * math/libm-test.inc (clog_test): Use
28302 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28303 (clog10_test): Likewise.
28306 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28308 2012-11-22 Andreas Schwab <schwab@suse.de>
28310 * sysdeps/i386/fpu/libm-test-ulps: Update.
28312 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28314 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28315 printf output with newline.
28317 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28320 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28321 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28322 -z nodlopen, -z initfirst and -z execstack support.
28323 * configure: Regenerated.
28325 * elf/elf.h (DF_1_NODIRECT): New macro.
28326 (DF_1_IGNMULDEF): Likewise.
28327 (DF_1_NOKSYMS): Likewise.
28328 (DF_1_NOHDR): Likewise.
28329 (DF_1_EDITED): Likewise.
28330 (DF_1_NORELOC): Likewise.
28331 (DF_1_SYMINTPOSE): Likewise.
28332 (DF_1_GLOBAUDIT): Likewise.
28333 (DF_1_SINGLETON): Likewise.
28334 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28335 DT_1_SUPPORTED_MASK bits.
28336 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28338 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28340 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28342 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28344 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28347 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28348 (sendmmsg): Move declarations...
28349 * socket/sys/socket.h: ... here.
28350 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28351 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28353 * socket/recvmmsg.c: ... this new file.
28354 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28355 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28356 definition of __sendmmsg hidden.
28357 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28358 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28359 Move ENOSYS stub into and include it from...
28360 * socket/sendmmsg.c: ... this new file.
28361 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28362 (sysdep_routines): Move recvmmsg and sendmmsg...
28363 * socket/Makefile (routines): ... here.
28364 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28365 (GLIBC_PRIVATE): Add __sendmmsg.
28366 * include/sys/socket.h (__sendmmsg): Add declarations.
28367 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28370 2012-11-20 Joseph Myers <joseph@codesourcery.com>
28372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28373 variable I1 with __attribute__ ((unused)).
28374 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28376 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28378 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28379 DUMMY variables with __attribute__ ((unused)).
28381 * bits/byteswap.h: Include <bits/types.h>.
28382 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28384 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28386 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28387 string_t. Do not manually set errno.
28388 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28389 length with __strnlen. Make sure to both set errno and return it on
28392 2012-11-19 David S. Miller <davem@davemloft.net>
28394 With help from Joseph Myers.
28395 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28396 very large arguments properly.
28397 * math/libm-test.inc (atan_test): New tests.
28398 (atan2_test): New tests.
28399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28402 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28405 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28408 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28409 [POSIX] (EADDRNOTAVAIL): Likewise.
28410 [POSIX] (EAFNOSUPPORT): Likewise.
28411 [POSIX] (EALREADY): Likewise.
28412 [POSIX] (ECONNABORTED): Likewise.
28413 [POSIX] (ECONNREFUSED): Likewise.
28414 [POSIX] (ECONNRESET): Likewise.
28415 [POSIX] (EDESTADDRREQ): Likewise.
28416 [POSIX] (EDQUOT): Likewise.
28417 [POSIX] (EHOSTUNREACH): Likewise.
28418 [POSIX] (EIDRM): Likewise.
28419 [POSIX] (EISCONN): Likewise.
28420 [POSIX] (ELOOP): Likewise.
28421 [POSIX] (EMULTIHOP): Likewise.
28422 [POSIX] (ENETDOWN): Likewise.
28423 [POSIX] (ENETUNREACH): Likewise.
28424 [POSIX] (ENOBUFS): Likewise.
28425 [POSIX] (ENODATA): Likewise.
28426 [POSIX] (ENOLINK): Likewise.
28427 [POSIX] (ENOMSG): Likewise.
28428 [POSIX] (ENOPROTOOPT): Likewise.
28429 [POSIX] (ENOSR): Likewise.
28430 [POSIX] (ENOSTR): Likewise.
28431 [POSIX] (ENOTCONN): Likewise.
28432 [POSIX] (ENOTSOCK): Likewise.
28433 [POSIX] (EOPNOTSUPP): Likewise.
28434 [POSIX] (EOVERFLOW): Likewise.
28435 [POSIX] (EPROTO): Likewise.
28436 [POSIX] (EPROTONOSUPPORT): Likewise.
28437 [POSIX] (EPROTOTYPE): Likewise.
28438 [POSIX] (ESTALE): Likewise.
28439 [POSIX] (ETIME): Likewise.
28440 [POSIX] (ETXTBSY): Likewise.
28441 [POSIX] (EWOULDBLOCK): Likewise.
28442 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28443 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28444 [POSIX] (SEEK_CUR): Likewise.
28445 [POSIX] (SEEK_END): Likewise.
28446 [POSIX || UNIX98] (mode_t): Do not require.
28447 [POSIX] (off_t): Likewise.
28448 [POSIX] (pid_t): Likewise.
28449 [POSIX] (sys/stat.h): Do not allow header.
28450 [POSIX] (unistd.h): Likewise.
28451 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28452 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28453 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28454 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28456 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28457 sigevent): Specify elements.
28458 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28460 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28461 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28463 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28464 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28465 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28466 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28467 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28468 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28469 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28470 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28471 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28472 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28473 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28474 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28475 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28476 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28478 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28480 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28482 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28484 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28485 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28486 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28487 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28488 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28489 Specify lower bound on value.
28490 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28491 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28492 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28493 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28494 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28495 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28496 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28497 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28499 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28501 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28502 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28503 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28504 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28505 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28506 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28507 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28508 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28509 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28510 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28511 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28512 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28513 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28514 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28515 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28516 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28518 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28520 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28521 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28522 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28523 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28524 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28525 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28527 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28528 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28529 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28530 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28531 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28532 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28533 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28535 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28536 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28537 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28538 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28539 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28540 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28541 specify as optional.
28542 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28543 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28544 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28545 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28546 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28547 [XPG3] (NL_LANGMAX): Likewise.
28548 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28549 [POSIX || XPG3] (NL_NMAX): Likewise.
28550 [POSIX || XPG3] (NL_SETMAX): Likewise.
28551 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28552 [XPG3] (NZERO): Likewise.
28553 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28554 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28555 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28556 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28557 (REG_ERANGE): Expect.
28558 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28560 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28561 Use (void) in prototype.
28562 [POSIX] (*_t): Allow.
28563 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28564 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28565 (WRDE_BADVAL): Expect.
28567 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28569 [XPG3 || XPG4] (O_RSYNC): Likewise.
28570 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28572 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28573 [XPG3 || XPG4] (sigqueue): Likewise.
28574 [XPG3 || XPG4] (sigtimedwait): Likewise.
28575 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28576 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28577 [XPG3 || XPG4] (vsnprintf): Likewise.
28578 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28580 [XPG3 || XPG4] (blksize_t): Likewise.
28581 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28583 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28584 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28585 [XPG3 || XPG4] (struct itimerspec): Likewise.
28586 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28587 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28588 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28589 [XPG3 || XPG4] (clockid_t): Likewise.
28590 [XPG3 || XPG4] (timer_t): Likewise.
28591 [XPG3 || XPG4] (clock_getres): Likewise.
28592 [XPG3 || XPG4] (clock_gettime): Likewise.
28593 [XPG3 || XPG4] (clock_settime): Likewise.
28594 [XPG3 || XPG4] (nanosleep): Likewise.
28595 [XPG3 || XPG4] (timer_create): Likewise.
28596 [XPG3 || XPG4] (timer_delete): Likewise.
28597 [XPG3 || XPG4] (timer_gettime): Likewise.
28598 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28599 [XPG3 || XPG4] (timer_settime): Likewise.
28600 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28601 [XPG3 || XPG4] (getlogin_r): Likewise.
28602 [XPG3 || XPG4] (pread): Likewise.
28603 [XPG3 || XPG4] (pthread_atfork): Likewise.
28604 [XPG3 || XPG4] (pwrite): Likewise.
28607 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28610 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28612 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28613 finalizing MALLSTREAM.
28615 * sysdeps/mach/hurd/syncfs.c: New file.
28617 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28620 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28621 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28622 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28623 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28624 (_nss_dns_gethostbyname4_r): Likewise.
28625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28626 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28628 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28631 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28633 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28635 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28636 * elf/cache.c (print_entry): Print ",AArch64" for
28639 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28640 * elf/cache.c (print_entry): Print ",hard-float" for
28643 2012-11-18 David S. Miller <davem@davemloft.net>
28645 With help from Joseph Myers.
28646 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28648 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28650 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28651 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28653 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28654 * math/libm-test.inc (y0_test): New tests.
28655 (y1_test): New tests.
28656 * sysdeps/i386/fpu/libm-test-ulps: Update.
28657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28660 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28662 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28664 * configure: Regenerated.
28666 2012-11-17 David S. Miller <davem@davemloft.net>
28669 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28670 nonzero exponents with absolute value below 0x1p-128 to +/-
28673 2012-11-17 Joseph Myers <joseph@codesourcery.com>
28675 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28677 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28679 * posix/getconf-speclist.c: New file.
28680 * posix/posix-envs.def: Likewise.
28681 * posix/confstr.c (START_ENV_GROUP): New macro.
28682 (END_ENV_GROUP): Likewise.
28683 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28684 (KNOWN_PRESENT_ENV_STRING): Likewise.
28685 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28686 (UNKNOWN_ENVIRONMENT): Likewise.
28687 (confstr): Include posix-envs.def instead of handling
28688 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28689 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28690 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28691 (END_ENV_GROUP): Likewise.
28692 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28693 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28694 (UNKNOWN_ENVIRONMENT): Likewise.
28695 (__sysconf): Include posix-envs.def instead of handling associated
28696 cases directly here.
28697 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28698 preprocessing getconf-speclist.c rather than running getconf or
28699 generating empty file.
28701 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28703 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28705 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28708 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28710 2012-11-16 David S. Miller <davem@davemloft.net>
28712 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28713 smaller than LDBL_EPSILON/2.0L, just return xm1.
28715 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28717 * elf/tst-array1.c (init): Set constructor priority to 1000.
28718 (fini): Set destructor priority to 1000.
28719 * elf/tst-array2dep.c: Likewise.
28721 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28724 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28725 (_IO_new_file_xsputn): Also return EOF if none of the input
28726 data was written when overflow failed.
28727 * libio/iopadn.c (_IO_padn): Likewise.
28728 * libio/iowpadn.c (_IO_wpadn): Likewise.
28729 * stdio-common/tst-put-error.c: Add copyright notice.
28730 (do_test): Add case for printing padded string.
28731 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28732 _IO_padn returned error.
28733 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28734 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28737 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28739 * libio/libioP.h: Add comment note that the references to C++
28740 bits are now obsolete.
28742 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28744 * math/libm-test.inc (check_complex): Use asprintf.
28746 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28748 * debug/pcprofiledump.c (print_version): Update copyright year.
28749 * malloc/memusagestat.c (print_version): Likewise.
28751 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28754 * elf/Makefile (tests): Add tst-audit8.
28755 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28756 ($(objpfx)tst-audit8.out): New target.
28757 (tst-audit8-ENV): New variable.
28758 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28759 audit if l_reloc_result is NULL.
28760 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28761 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28762 * elf/tst-audit8.c: New file.
28764 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28766 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28767 * misc/Makefile (CFLAGS-select.c): Define.
28768 * posix/Makefile (CFLAGS-pause.c): Define.
28770 2012-11-13 David S. Miller <davem@davemloft.net>
28772 * crypt/Makefile: Move test targets after toplevel Rules
28773 inclusion. Grab any necessary sysdep routines when linking.
28774 * crypt/md5.c (md5_process_block): Remove define, we will always
28775 name it __md5_process_block.
28776 (md5_finish_ctx): Update md5_process_block call.
28777 (md5_stream): Likewise.
28778 (md5_process_bytes): Likewise.
28779 (md5_process_block): Rename to __md5_process_block and move to ...
28780 * crypt/md5-block.c: ... here.
28781 * crypt/sha256.c (sha256_process_block): Move to ...
28782 * crypt/sha256-block.c: ... here.
28783 * crypt/sha512.c (sha512_process_block): Move to ...
28784 * crypt/sha512-block.c: ... here.
28785 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28787 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28788 * sysdeps/sparc/sparc64/multiarch/Makefile
28789 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28791 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28792 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28794 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28795 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28796 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28797 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28798 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28799 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28800 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28801 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28802 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28804 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28805 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28807 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28809 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28811 * timezone/tzselect.ksh: Update from tzcode git revision
28812 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28813 * timezone/zdump.c: Likewise.
28814 * timezone/zic.c: Likewise.
28815 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28816 in TZVERSION setting, not $(PKGVERSION).
28817 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28818 REPORT_BUGS_TO settings.
28821 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28824 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28826 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28827 detection to immediately after _FP_ROUND().
28828 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28831 2012-11-11 David S. Miller <davem@davemloft.net>
28833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28835 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28836 __close rather than their public counterparts.
28838 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28840 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28842 [UNIX98] (sem_timedwait): Do not expect.
28843 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28844 [XPG4 || UNIX98] (sockatmark): Do not expect.
28845 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28846 (clock_getcpuclockid): Do not expect.
28847 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28848 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28850 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28851 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28852 [UNIX98] (vwscanf): Likewise.
28853 [UNIX98] (vswscanf): Likewise.
28855 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28857 * timezone/version.h: Remove file.
28858 * timezone/README: Do not refer to version.h.
28859 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28860 $(objpfx)version.h.
28861 ($(objpfx)zdump.o): Likewise.
28862 ($(objpfx)version.h): New target.
28864 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28866 * timezone/README: Don't mention modification to tzselect.ksh.
28867 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28868 work on unmodified tzselect.ksh. Substitute version numbers in
28871 * Makefile (format-me): Remove.
28872 (INSTALL): Adjust indentation. Use commands directly instead of
28873 using $(format-me).
28875 * aclocal.m4 (ACX_PKGVERSION): New macro.
28876 (ACX_BUGURL): Likewise.
28877 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28878 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28879 (REPORT_BUGS_TO): Likewise.
28880 * configure: Regenerated.
28881 * config.h.in (PKGVERSION): New macro.
28882 (REPORT_BUGS_TO): Likewise.
28883 * config.make.in (PKGVERSION): New variable.
28884 (PKGVERSION_TEXI): Likewise.
28885 (REPORT_BUGS_TO): Likewise.
28886 (REPORT_BUGS_TEXI): Likewise.
28887 * Makefile (format-me): Use -I$(common-objpfx)manual.
28888 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28889 ($(common-objpfx)manual/%): New target.
28890 (manual/%): Remove target.
28891 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28892 (print_version): Use PKGVERSION.
28893 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28894 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28895 and REPORT_BUGS_TO.
28896 ($(objpfx)xtrace): Likewise.
28897 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28898 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28899 (print_version): Use PKGVERSION.
28900 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28901 (do_version): Use PKGVERSION.
28902 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28904 (common-ldd-rewrite): Likewise.
28905 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28906 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28907 (print_version): Use PKGVERSION.
28908 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28909 * elf/pldd.c (argp_program_bug_address): Remove variable.
28910 (more_help): New function.
28911 (argp): Use more_help.
28912 (print_version): Use PKGVERSION.
28913 * elf/sln.c (main): Use PKGVERSION.
28914 (usage): Use REPORT_BUGS_TO.
28915 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28916 (top level): Use PKGVERSION.
28917 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28918 (print_version): Use PKGVERSION.
28919 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28920 (print_version): Use PKGVERSION.
28921 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28922 (print_version): Use PKGVERSION.
28923 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28924 (print_version): Use PKGVERSION.
28925 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28926 (print_version): Use PKGVERSION.
28927 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28928 (print_version): Use PKGVERSION.
28929 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28931 ($(objpfx)memusage): Likewise.
28932 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28933 (do_version): Use PKGVERSION.
28934 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28935 (print_version): Use PKGVERSION.
28936 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28937 ($PKGVERSION): New variable.
28938 ($REPORT_BUGS_TO): Likewise.
28939 (usage): Use $REPORT_BUGS_TO.
28940 (top level): Use $PKGVERSION.
28941 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28942 ($(objpfx)pkgvers.texi): New rule.
28943 ($(objpfx)stamp-pkgvers): Likewise.
28944 * manual/install.texi: Include pkgvers.texi.
28945 (--with-pkgversion): Document new configure option.
28946 (--with-bugurl): Likewise.
28947 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28948 than necessarily for this particular distribution. Use
28949 REPORT_BUGS_TO for where to report bugs.
28950 * INSTALL: Regenerated.
28951 * manual/libc.texinfo: Include pkgvers.texi.
28952 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28953 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28954 (print_version): Use PKGVERSION.
28955 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28956 (print_version): Use PKGVERSION.
28957 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28958 (print_version): Use PKGVERSION.
28959 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28960 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28962 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28963 (print_version): Use PKGVERSION.
28964 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28965 (print_version): Use PKGVERSION.
28966 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28969 * timezone/checktab.awk: Update from tzcode 2012i.
28970 * timezone/ialloc.c: Likewise.
28971 * timezone/private.h: Likewise.
28972 * timezone/scheck.c: Likewise.
28973 * timezone/tzfile.h: Likewise.
28974 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28975 (TZVERSION): Hardcode tzcode version number.
28976 * timezone/zdump.c: Update from tzcode 2012i.
28977 * timezone/zic.c: Likewise.
28978 * timezone/version.h: New file.
28979 * timezone/README: Describe version.h. Update upstream location.
28982 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28983 (mktemp): Enable declaration.
28984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28995 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28997 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29001 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29002 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29003 for copies of such integer values.
29004 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29005 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29007 2012-11-09 Andreas Jaeger <aj@suse.de>
29009 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29010 definitions and declarations that are provided by
29011 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29013 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29015 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29016 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29017 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29020 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29022 * elf/elf.h: Update comment before AArch64 relocations.
29024 2012-11-07 David S. Miller <davem@davemloft.net>
29026 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29027 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29028 (__start_context): Declare.
29029 (__makecontext_ret): Delete.
29030 (__makecontext): Hook up __start_context instead of
29032 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29033 (sysdep_routines): Add __start_context when in stdlib.
29035 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29037 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29038 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29039 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29041 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29042 (READELF): New variable. Use it instead of hardcoded "readelf".
29044 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29046 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29047 * sysdeps/x86/Makefile: Here.
29048 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29049 * sysdeps/x86/tst-xmmymm.sh: This.
29051 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29053 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29055 [UNIX98] (pthread_barrier_t): Do not expect.
29056 [UNIX98] (pthread_barrierattr_t): Likewise.
29057 [UNIX98] (pthread_spinlock_t): Likewise.
29058 [UNIX98] (pthread_barrier_destroy): Likewise.
29059 [UNIX98] (pthread_barrier_init): Likewise.
29060 [UNIX98] (pthread_barrier_wait): Likewise.
29061 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29062 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29063 [UNIX98] (pthread_barrierattr_init): Likewise.
29064 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29065 [UNIX98] (pthread_getcpuclockid): Likewise.
29066 [UNIX98] (pthread_mutex_timedlock): Likewise.
29067 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29068 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29069 [UNIX98] (pthread_sigmask): Likewise.
29070 [UNIX98] (pthread_spin_destroy): Likewise.
29071 [UNIX98] (pthread_spin_init): Likewise.
29072 [UNIX98] (pthread_spin_lock): Likewise.
29073 [UNIX98] (pthread_spin_trylock): Likewise.
29074 [UNIX98] (pthread_spin_unlock): Likewise.
29075 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29077 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29078 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29079 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29080 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29081 [XPG3 || XPG4] (pthread_key_t): Likewise.
29082 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29083 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29084 [XPG3 || XPG4] (pthread_once_t): Likewise.
29085 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29086 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29087 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29088 [XPG3 || XPG4] (pthread_t): Likewise.
29090 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29092 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29094 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29095 Change function return type to int.
29097 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29098 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29099 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29100 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29101 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29102 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29103 [!POSIX] (posix_madvise): Likewise.
29104 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29106 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29107 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29108 (mode_t): Likewise.
29109 (posix_mem_offset): Likewise.
29110 (posix_typed_mem_get_info): Likewise.
29111 (posix_typed_mem_open): Likewise.
29113 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29114 Change condition to [XOPEN2K8].
29116 * conform/conformtest.pl: Preprocess allow-header data with -x c
29117 instead of from stdin.
29118 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29119 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29120 [C99-based standards] (cerfc): Likewise.
29121 [C99-based standards] (cexp2): Likewise.
29122 [C99-based standards] (cexpm1): Likewise.
29123 [C99-based standards] (clog10): Likewise.
29124 [C99-based standards] (clog1p): Likewise.
29125 [C99-based standards] (clog2): Likewise.
29126 [C99-based standards] (clgamma): Likewise.
29127 [C99-based standards] (ctgamma): Likewise.
29128 [C99-based standards] (cerff): Likewise.
29129 [C99-based standards] (cerfcf): Likewise.
29130 [C99-based standards] (cexp2f): Likewise.
29131 [C99-based standards] (cexpm1f): Likewise.
29132 [C99-based standards] (clog10f): Likewise.
29133 [C99-based standards] (clog1pf): Likewise.
29134 [C99-based standards] (clog2f): Likewise.
29135 [C99-based standards] (clgammaf): Likewise.
29136 [C99-based standards] (ctgammaf): Likewise.
29137 [C99-based standards] (cerfl): Likewise.
29138 [C99-based standards] (cerfcl): Likewise.
29139 [C99-based standards] (cexp2l): Likewise.
29140 [C99-based standards] (cexpm1l): Likewise.
29141 [C99-based standards] (clog10l): Likewise.
29142 [C99-based standards] (clog1pl): Likewise.
29143 [C99-based standards] (clog2l): Likewise.
29144 [C99-based standards] (clgammal): Likewise.
29145 [C99-based standards] (ctgammal): Likewise.
29146 * conform/data/inttypes.h-data [C99-based standards]: Include
29147 stdint.h-data. Remove all expectations for stdint.h contents.
29148 [C99-based standards] (PRI*): Do not allow.
29149 [C99-based standards] (SCN*): Likewise.
29150 [C99-based standards] (*_t): Likewise.
29151 [C99-based-standards] (PRId8): Expect macro.
29152 [C99-based-standards] (PRIi8): Likewise.
29153 [C99-based-standards] (PRIo8): Likewise.
29154 [C99-based-standards] (PRIu8): Likewise.
29155 [C99-based-standards] (PRIx8): Likewise.
29156 [C99-based-standards] (PRIX8): Likewise.
29157 [C99-based-standards] (SCNd8): Likewise.
29158 [C99-based-standards] (SCNi8): Likewise.
29159 [C99-based-standards] (SCNo8): Likewise.
29160 [C99-based-standards] (SCNu8): Likewise.
29161 [C99-based-standards] (SCNx8): Likewise.
29162 [C99-based-standards] (PRIdLEAST8): Likewise.
29163 [C99-based-standards] (PRIiLEAST8): Likewise.
29164 [C99-based-standards] (PRIoLEAST8): Likewise.
29165 [C99-based-standards] (PRIuLEAST8): Likewise.
29166 [C99-based-standards] (PRIxLEAST8): Likewise.
29167 [C99-based-standards] (PRIXLEAST8): Likewise.
29168 [C99-based-standards] (SCNdLEAST8): Likewise.
29169 [C99-based-standards] (SCNiLEAST8): Likewise.
29170 [C99-based-standards] (SCNoLEAST8): Likewise.
29171 [C99-based-standards] (SCNuLEAST8): Likewise.
29172 [C99-based-standards] (SCNxLEAST8): Likewise.
29173 [C99-based-standards] (PRIdFAST8): Likewise.
29174 [C99-based-standards] (PRIiFAST8): Likewise.
29175 [C99-based-standards] (PRIoFAST8): Likewise.
29176 [C99-based-standards] (PRIuFAST8): Likewise.
29177 [C99-based-standards] (PRIxFAST8): Likewise.
29178 [C99-based-standards] (PRIXFAST8): Likewise.
29179 [C99-based-standards] (SCNdFAST8): Likewise.
29180 [C99-based-standards] (SCNiFAST8): Likewise.
29181 [C99-based-standards] (SCNoFAST8): Likewise.
29182 [C99-based-standards] (SCNuFAST8): Likewise.
29183 [C99-based-standards] (SCNxFAST8): Likewise.
29184 [C99-based-standards] (PRId16): Likewise.
29185 [C99-based-standards] (PRIi16): Likewise.
29186 [C99-based-standards] (PRIo16): Likewise.
29187 [C99-based-standards] (PRIu16): Likewise.
29188 [C99-based-standards] (PRIx16): Likewise.
29189 [C99-based-standards] (PRIX16): Likewise.
29190 [C99-based-standards] (SCNd16): Likewise.
29191 [C99-based-standards] (SCNi16): Likewise.
29192 [C99-based-standards] (SCNo16): Likewise.
29193 [C99-based-standards] (SCNu16): Likewise.
29194 [C99-based-standards] (SCNx16): Likewise.
29195 [C99-based-standards] (PRIdLEAST16): Likewise.
29196 [C99-based-standards] (PRIiLEAST16): Likewise.
29197 [C99-based-standards] (PRIoLEAST16): Likewise.
29198 [C99-based-standards] (PRIuLEAST16): Likewise.
29199 [C99-based-standards] (PRIxLEAST16): Likewise.
29200 [C99-based-standards] (PRIXLEAST16): Likewise.
29201 [C99-based-standards] (SCNdLEAST16): Likewise.
29202 [C99-based-standards] (SCNiLEAST16): Likewise.
29203 [C99-based-standards] (SCNoLEAST16): Likewise.
29204 [C99-based-standards] (SCNuLEAST16): Likewise.
29205 [C99-based-standards] (SCNxLEAST16): Likewise.
29206 [C99-based-standards] (PRIdFAST16): Likewise.
29207 [C99-based-standards] (PRIiFAST16): Likewise.
29208 [C99-based-standards] (PRIoFAST16): Likewise.
29209 [C99-based-standards] (PRIuFAST16): Likewise.
29210 [C99-based-standards] (PRIxFAST16): Likewise.
29211 [C99-based-standards] (PRIXFAST16): Likewise.
29212 [C99-based-standards] (SCNdFAST16): Likewise.
29213 [C99-based-standards] (SCNiFAST16): Likewise.
29214 [C99-based-standards] (SCNoFAST16): Likewise.
29215 [C99-based-standards] (SCNuFAST16): Likewise.
29216 [C99-based-standards] (SCNxFAST16): Likewise.
29217 [C99-based-standards] (PRId32): Likewise.
29218 [C99-based-standards] (PRIi32): Likewise.
29219 [C99-based-standards] (PRIo32): Likewise.
29220 [C99-based-standards] (PRIu32): Likewise.
29221 [C99-based-standards] (PRIx32): Likewise.
29222 [C99-based-standards] (PRIX32): Likewise.
29223 [C99-based-standards] (SCNd32): Likewise.
29224 [C99-based-standards] (SCNi32): Likewise.
29225 [C99-based-standards] (SCNo32): Likewise.
29226 [C99-based-standards] (SCNu32): Likewise.
29227 [C99-based-standards] (SCNx32): Likewise.
29228 [C99-based-standards] (PRIdLEAST32): Likewise.
29229 [C99-based-standards] (PRIiLEAST32): Likewise.
29230 [C99-based-standards] (PRIoLEAST32): Likewise.
29231 [C99-based-standards] (PRIuLEAST32): Likewise.
29232 [C99-based-standards] (PRIxLEAST32): Likewise.
29233 [C99-based-standards] (PRIXLEAST32): Likewise.
29234 [C99-based-standards] (SCNdLEAST32): Likewise.
29235 [C99-based-standards] (SCNiLEAST32): Likewise.
29236 [C99-based-standards] (SCNoLEAST32): Likewise.
29237 [C99-based-standards] (SCNuLEAST32): Likewise.
29238 [C99-based-standards] (SCNxLEAST32): Likewise.
29239 [C99-based-standards] (PRIdFAST32): Likewise.
29240 [C99-based-standards] (PRIiFAST32): Likewise.
29241 [C99-based-standards] (PRIoFAST32): Likewise.
29242 [C99-based-standards] (PRIuFAST32): Likewise.
29243 [C99-based-standards] (PRIxFAST32): Likewise.
29244 [C99-based-standards] (PRIXFAST32): Likewise.
29245 [C99-based-standards] (SCNdFAST32): Likewise.
29246 [C99-based-standards] (SCNiFAST32): Likewise.
29247 [C99-based-standards] (SCNoFAST32): Likewise.
29248 [C99-based-standards] (SCNuFAST32): Likewise.
29249 [C99-based-standards] (SCNxFAST32): Likewise.
29250 [C99-based-standards] (PRId64): Likewise.
29251 [C99-based-standards] (PRIi64): Likewise.
29252 [C99-based-standards] (PRIo64): Likewise.
29253 [C99-based-standards] (PRIu64): Likewise.
29254 [C99-based-standards] (PRIx64): Likewise.
29255 [C99-based-standards] (PRIX64): Likewise.
29256 [C99-based-standards] (SCNd64): Likewise.
29257 [C99-based-standards] (SCNi64): Likewise.
29258 [C99-based-standards] (SCNo64): Likewise.
29259 [C99-based-standards] (SCNu64): Likewise.
29260 [C99-based-standards] (SCNx64): Likewise.
29261 [C99-based-standards] (PRIdLEAST64): Likewise.
29262 [C99-based-standards] (PRIiLEAST64): Likewise.
29263 [C99-based-standards] (PRIoLEAST64): Likewise.
29264 [C99-based-standards] (PRIuLEAST64): Likewise.
29265 [C99-based-standards] (PRIxLEAST64): Likewise.
29266 [C99-based-standards] (PRIXLEAST64): Likewise.
29267 [C99-based-standards] (SCNdLEAST64): Likewise.
29268 [C99-based-standards] (SCNiLEAST64): Likewise.
29269 [C99-based-standards] (SCNoLEAST64): Likewise.
29270 [C99-based-standards] (SCNuLEAST64): Likewise.
29271 [C99-based-standards] (SCNxLEAST64): Likewise.
29272 [C99-based-standards] (PRIdFAST64): Likewise.
29273 [C99-based-standards] (PRIiFAST64): Likewise.
29274 [C99-based-standards] (PRIoFAST64): Likewise.
29275 [C99-based-standards] (PRIuFAST64): Likewise.
29276 [C99-based-standards] (PRIxFAST64): Likewise.
29277 [C99-based-standards] (PRIXFAST64): Likewise.
29278 [C99-based-standards] (SCNdFAST64): Likewise.
29279 [C99-based-standards] (SCNiFAST64): Likewise.
29280 [C99-based-standards] (SCNoFAST64): Likewise.
29281 [C99-based-standards] (SCNuFAST64): Likewise.
29282 [C99-based-standards] (SCNxFAST64): Likewise.
29283 [C99-based-standards] (PRIdMAX): Likewise.
29284 [C99-based-standards] (PRIiMAX): Likewise.
29285 [C99-based-standards] (PRIoMAX): Likewise.
29286 [C99-based-standards] (PRIuMAX): Likewise.
29287 [C99-based-standards] (PRIxMAX): Likewise.
29288 [C99-based-standards] (PRIXMAX): Likewise.
29289 [C99-based-standards] (SCNdMAX): Likewise.
29290 [C99-based-standards] (SCNiMAX): Likewise.
29291 [C99-based-standards] (SCNoMAX): Likewise.
29292 [C99-based-standards] (SCNuMAX): Likewise.
29293 [C99-based-standards] (SCNxMAX): Likewise.
29294 [C99-based-standards] (PRIdPTR): Likewise.
29295 [C99-based-standards] (PRIiPTR): Likewise.
29296 [C99-based-standards] (PRIoPTR): Likewise.
29297 [C99-based-standards] (PRIuPTR): Likewise.
29298 [C99-based-standards] (PRIxPTR): Likewise.
29299 [C99-based-standards] (PRIXPTR): Likewise.
29300 [C99-based-standards] (SCNdPTR): Likewise.
29301 [C99-based-standards] (SCNiPTR): Likewise.
29302 [C99-based-standards] (SCNoPTR): Likewise.
29303 [C99-based-standards] (SCNuPTR): Likewise.
29304 [C99-based-standards] (SCNxPTR): Likewise.
29305 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29307 * conform/data/stdint.h-data: Update comments to clarify
29309 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29311 [C99-based standards] (INT8_MAX): Likewise.
29312 [C99-based standards] (INT16_MIN): Likewise.
29313 [C99-based standards] (INT16_MAX): Likewise.
29314 [C99-based standards] (INT32_MIN): Likewise.
29315 [C99-based standards] (INT32_MAX): Likewise.
29316 [C99-based standards] (INT64_MIN): Likewise.
29317 [C99-based standards] (INT64_MAX): Likewise.
29318 [C99-based standards] (UINT8_MAX): Likewise.
29319 [C99-based standards] (UINT16_MAX): Likewise.
29320 [C99-based standards] (UINT32_MAX): Likewise.
29321 [C99-based standards] (UINT64_MAX): Likewise.
29322 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29323 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29324 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29325 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29326 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29327 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29328 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29329 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29330 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29331 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29332 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29333 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29334 [C99-based standards] (INT_FAST8_MIN): Likewise.
29335 [C99-based standards] (INT_FAST8_MAX): Likewise.
29336 [C99-based standards] (INT_FAST16_MIN): Likewise.
29337 [C99-based standards] (INT_FAST16_MAX): Likewise.
29338 [C99-based standards] (INT_FAST32_MIN): Likewise.
29339 [C99-based standards] (INT_FAST32_MAX): Likewise.
29340 [C99-based standards] (INT_FAST64_MIN): Likewise.
29341 [C99-based standards] (INT_FAST64_MAX): Likewise.
29342 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29343 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29344 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29345 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29346 [C99-based standards] (INTPTR_MIN): Likewise.
29347 [C99-based standards] (INTPTR_MAX): Likewise.
29348 [C99-based standards] (UINTPTR_MAX): Likewise.
29349 [C99-based standards] (INTMAX_MIN): Likewise.
29350 [C99-based standards] (INTMAX_MAX): Likewise.
29351 [C99-based standards] (UINTMAX_MAX): Likewise.
29352 [C99-based standards] (PTRDIFF_MIN): Likewise.
29353 [C99-based standards] (PTRDIFF_MAX): Likewise.
29354 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29355 [C99-based standards] (SIZE_MAX): Likewise.
29356 [C99-based standards] (WCHAR_MAX): Likewise.
29357 [C99-based standards] (WINT_MAX): Likewise.
29358 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29359 constraint on value.
29360 [C99-based standards] (WCHAR_MIN): Likewise.
29361 [C99-based standards] (WINT_MIN): Likewise.
29362 [C99-based standards] (*_t): Allow.
29363 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29364 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29365 Include math.h-data and complex.h-data. Remove all expectations
29366 of math.h and complex.h contents.
29367 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29369 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29370 (struct tm): Expect tag.
29371 [C99-based-standards] (wcstof): Expect function.
29372 [C99-based-standards] (wcstold): Likewise.
29373 [C99-based-standards] (wcstoll): Likewise.
29374 [C99-based-standards] (wcstoull): Likewise.
29375 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29376 macro-int-constant. Specify type.
29377 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29378 constraint on value.
29379 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29381 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29383 [ISO C standards]: Do not allow headers.
29384 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29385 wcs[abcdefghijklmnopqrstuvwxyz]*.
29386 [ISO C standards] (*_t): Do not allow.
29387 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29389 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29390 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29392 [ISO C standards]: Do not allow headers.
29393 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29394 is[abcdefghijklmnopqrstuvwxyz]*.
29395 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29396 to[abcdefghijklmnopqrstuvwxyz]*.
29397 [ISO C standards] (*_t): Do not allow.
29398 * conform/data/stdalign.h-data: New file.
29399 * conform/data/stdbool.h-data: Likewise.
29400 * conform/data/stdnoreturn.h-data: Likewise.
29402 2012-11-07 Roland McGrath <roland@hack.frob.com>
29405 * manual/filesys.texi (Directory Entries): Typo fix.
29406 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29408 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29410 * elf/elf.h (EM_AARCH64): New macro.
29411 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29412 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29413 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29414 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29415 (R_AARCH64_TLSDESC): Likewise.
29416 (NT_ARM_TLS): Likewise.
29417 (NT_ARM_HW_BREAK): Likewise.
29418 (NT_ARM_HW_WATCH): Likewise.
29420 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29423 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29424 (__ieee754_powl): Saturate nonzero exponents with absolute value
29425 below 0x1p-79 to +/- 0x1p-79.
29426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29427 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29428 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29429 nonzero exponents with absolute value below 0x1p-32 to +/-
29431 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29432 (__ieee754_powl): Saturate nonzero exponents with absolute value
29433 below 0x1p-79 to +/- 0x1p-79.
29434 * math/libm-test.inc (pow_test): Add more tests.
29436 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29438 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29439 _dl_s390_cap_flags with kernel. Increase string length.
29440 (_dl_s390_platforms): Add z196 and zEC12.
29442 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29444 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29445 Change XOPEN21K to XOPEN2K.
29447 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29449 * string/memmove.c: Use memcpy when possible.
29451 2012-11-06 Andreas Jaeger <aj@suse.de>
29453 * po/eo.po: Update from translation team.
29455 2012-11-06 Joseph Myers <joseph@codesourcery.com>
29458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29459 exponent and small x and y exponents, scale x or y up. Increase
29460 by 2 the exponent used in scaling up.
29461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29463 * math/libm-test.inc (fma_test): Add more tests.
29464 (fma_test_towardzero): Likewise.
29465 (fma_test_downward): Likewise.
29466 (fma_test_upward): Likewise.
29468 2012-11-05 Joseph Myers <joseph@codesourcery.com>
29471 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29475 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29476 namespace for names of struct fields.
29477 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29479 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29480 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29482 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29485 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29487 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29489 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29493 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29496 2012-11-04 Joseph Myers <joseph@codesourcery.com>
29499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29500 definitely overflow as x * y not x * y + z.
29501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29502 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29503 * math/libm-test.inc (fma_test): Add more tests.
29504 (fma_test_towardzero): Likewise.
29505 (fma_test_downward): Likewise.
29506 (fma_test_upward): Likewise.
29508 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29512 * include/stub-tag.h: Remove file.
29513 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29515 * manual/maint.texi (Porting): Don't reference it.
29516 * Makerules ($(objpfx)stubs): Likewise.
29517 * dirent/closedir.c: Don't include <stub-tag.h>.
29518 * dirent/dirfd.c: Likewise.
29519 * dirent/fdopendir.c: Likewise.
29520 * dirent/getdents.c: Likewise.
29521 * dirent/getdents64.c: Likewise.
29522 * dirent/opendir.c: Likewise.
29523 * dirent/readdir.c: Likewise.
29524 * dirent/readdir64.c: Likewise.
29525 * dirent/readdir64_r.c: Likewise.
29526 * dirent/readdir_r.c: Likewise.
29527 * dirent/rewinddir.c: Likewise.
29528 * dirent/seekdir.c: Likewise.
29529 * dirent/telldir.c: Likewise.
29530 * gmon/profil.c: Likewise.
29531 * grp/setgroups.c: Likewise.
29532 * inet/if_index.c: Likewise.
29533 * io/access.c: Likewise.
29534 * io/chdir.c: Likewise.
29535 * io/chmod.c: Likewise.
29536 * io/chown.c: Likewise.
29537 * io/close.c: Likewise.
29538 * io/dup.c: Likewise.
29539 * io/dup2.c: Likewise.
29540 * io/dup3.c: Likewise.
29541 * io/euidaccess.c: Likewise.
29542 * io/faccessat.c: Likewise.
29543 * io/fchdir.c: Likewise.
29544 * io/fchmod.c: Likewise.
29545 * io/fchmodat.c: Likewise.
29546 * io/fchown.c: Likewise.
29547 * io/fchownat.c: Likewise.
29548 * io/fcntl.c: Likewise.
29549 * io/flock.c: Likewise.
29550 * io/fstatfs.c: Likewise.
29551 * io/fstatfs64.c: Likewise.
29552 * io/fstatvfs.c: Likewise.
29553 * io/fstatvfs64.c: Likewise.
29554 * io/futimens.c: Likewise.
29555 * io/fxstat.c: Likewise.
29556 * io/fxstat64.c: Likewise.
29557 * io/fxstatat.c: Likewise.
29558 * io/fxstatat64.c: Likewise.
29559 * io/getcwd.c: Likewise.
29560 * io/isatty.c: Likewise.
29561 * io/lchmod.c: Likewise.
29562 * io/lchown.c: Likewise.
29563 * io/link.c: Likewise.
29564 * io/linkat.c: Likewise.
29565 * io/lseek.c: Likewise.
29566 * io/lseek64.c: Likewise.
29567 * io/lxstat64.c: Likewise.
29568 * io/mkdir.c: Likewise.
29569 * io/mkdirat.c: Likewise.
29570 * io/mkfifo.c: Likewise.
29571 * io/mkfifoat.c: Likewise.
29572 * io/open.c: Likewise.
29573 * io/open64.c: Likewise.
29574 * io/openat.c: Likewise.
29575 * io/openat64.c: Likewise.
29576 * io/pipe.c: Likewise.
29577 * io/pipe2.c: Likewise.
29578 * io/poll.c: Likewise.
29579 * io/posix_fadvise.c: Likewise.
29580 * io/posix_fadvise64.c: Likewise.
29581 * io/posix_fallocate.c: Likewise.
29582 * io/posix_fallocate64.c: Likewise.
29583 * io/read.c: Likewise.
29584 * io/readlink.c: Likewise.
29585 * io/readlinkat.c: Likewise.
29586 * io/rmdir.c: Likewise.
29587 * io/sendfile.c: Likewise.
29588 * io/sendfile64.c: Likewise.
29589 * io/statfs.c: Likewise.
29590 * io/statfs64.c: Likewise.
29591 * io/statvfs.c: Likewise.
29592 * io/statvfs64.c: Likewise.
29593 * io/symlink.c: Likewise.
29594 * io/symlinkat.c: Likewise.
29595 * io/ttyname.c: Likewise.
29596 * io/ttyname_r.c: Likewise.
29597 * io/umask.c: Likewise.
29598 * io/unlink.c: Likewise.
29599 * io/unlinkat.c: Likewise.
29600 * io/utime.c: Likewise.
29601 * io/utimensat.c: Likewise.
29602 * io/write.c: Likewise.
29603 * io/xmknod.c: Likewise.
29604 * io/xmknodat.c: Likewise.
29605 * io/xstat.c: Likewise.
29606 * io/xstat64.c: Likewise.
29607 * login/getpt.c: Likewise.
29608 * login/grantpt.c: Likewise.
29609 * login/unlockpt.c: Likewise.
29610 * math/e_acoshl.c: Likewise.
29611 * math/e_acosl.c: Likewise.
29612 * math/e_asinl.c: Likewise.
29613 * math/e_atan2l.c: Likewise.
29614 * math/e_atanhl.c: Likewise.
29615 * math/e_coshl.c: Likewise.
29616 * math/e_expl.c: Likewise.
29617 * math/e_fmodl.c: Likewise.
29618 * math/e_gammal_r.c: Likewise.
29619 * math/e_hypotl.c: Likewise.
29620 * math/e_j0l.c: Likewise.
29621 * math/e_j1l.c: Likewise.
29622 * math/e_jnl.c: Likewise.
29623 * math/e_lgammal_r.c: Likewise.
29624 * math/e_log10l.c: Likewise.
29625 * math/e_log2l.c: Likewise.
29626 * math/e_logl.c: Likewise.
29627 * math/e_powl.c: Likewise.
29628 * math/e_rem_pio2l.c: Likewise.
29629 * math/e_sinhl.c: Likewise.
29630 * math/e_sqrtl.c: Likewise.
29631 * math/fclrexcpt.c: Likewise.
29632 * math/fedisblxcpt.c: Likewise.
29633 * math/feenablxcpt.c: Likewise.
29634 * math/fegetenv.c: Likewise.
29635 * math/fegetexcept.c: Likewise.
29636 * math/fegetround.c: Likewise.
29637 * math/feholdexcpt.c: Likewise.
29638 * math/fesetenv.c: Likewise.
29639 * math/fesetround.c: Likewise.
29640 * math/feupdateenv.c: Likewise.
29641 * math/fgetexcptflg.c: Likewise.
29642 * math/fraiseexcpt.c: Likewise.
29643 * math/fsetexcptflg.c: Likewise.
29644 * math/ftestexcept.c: Likewise.
29645 * math/k_cosl.c: Likewise.
29646 * math/k_rem_pio2l.c: Likewise.
29647 * math/k_sinl.c: Likewise.
29648 * math/k_tanl.c: Likewise.
29649 * math/s_asinhl.c: Likewise.
29650 * math/s_atanl.c: Likewise.
29651 * math/s_cbrtl.c: Likewise.
29652 * math/s_erfl.c: Likewise.
29653 * math/s_expm1l.c: Likewise.
29654 * math/s_log1pl.c: Likewise.
29655 * math/s_tanhl.c: Likewise.
29656 * misc/acct.c: Likewise.
29657 * misc/brk.c: Likewise.
29658 * misc/chflags.c: Likewise.
29659 * misc/chroot.c: Likewise.
29660 * misc/fchflags.c: Likewise.
29661 * misc/fgetxattr.c: Likewise.
29662 * misc/flistxattr.c: Likewise.
29663 * misc/fremovexattr.c: Likewise.
29664 * misc/fsetxattr.c: Likewise.
29665 * misc/fsync.c: Likewise.
29666 * misc/ftruncate.c: Likewise.
29667 * misc/futimes.c: Likewise.
29668 * misc/futimesat.c: Likewise.
29669 * misc/getdomain.c: Likewise.
29670 * misc/getdtsz.c: Likewise.
29671 * misc/gethostid.c: Likewise.
29672 * misc/gethostname.c: Likewise.
29673 * misc/getloadavg.c: Likewise.
29674 * misc/getpagesize.c: Likewise.
29675 * misc/getsysstats.c: Likewise.
29676 * misc/getxattr.c: Likewise.
29677 * misc/gtty.c: Likewise.
29678 * misc/ioctl.c: Likewise.
29679 * misc/lgetxattr.c: Likewise.
29680 * misc/listxattr.c: Likewise.
29681 * misc/llistxattr.c: Likewise.
29682 * misc/lremovexattr.c: Likewise.
29683 * misc/lsetxattr.c: Likewise.
29684 * misc/lutimes.c: Likewise.
29685 * misc/madvise.c: Likewise.
29686 * misc/mincore.c: Likewise.
29687 * misc/mlock.c: Likewise.
29688 * misc/mlockall.c: Likewise.
29689 * misc/mmap.c: Likewise.
29690 * misc/mprotect.c: Likewise.
29691 * misc/msync.c: Likewise.
29692 * misc/munlock.c: Likewise.
29693 * misc/munlockall.c: Likewise.
29694 * misc/munmap.c: Likewise.
29695 * misc/preadv.c: Likewise.
29696 * misc/preadv64.c: Likewise.
29697 * misc/ptrace.c: Likewise.
29698 * misc/pwritev.c: Likewise.
29699 * misc/pwritev64.c: Likewise.
29700 * misc/readv.c: Likewise.
29701 * misc/reboot.c: Likewise.
29702 * misc/remap_file_pages.c: Likewise.
29703 * misc/removexattr.c: Likewise.
29704 * misc/revoke.c: Likewise.
29705 * misc/select.c: Likewise.
29706 * misc/setdomain.c: Likewise.
29707 * misc/setegid.c: Likewise.
29708 * misc/seteuid.c: Likewise.
29709 * misc/sethostid.c: Likewise.
29710 * misc/sethostname.c: Likewise.
29711 * misc/setregid.c: Likewise.
29712 * misc/setreuid.c: Likewise.
29713 * misc/setxattr.c: Likewise.
29714 * misc/sstk.c: Likewise.
29715 * misc/stty.c: Likewise.
29716 * misc/swapoff.c: Likewise.
29717 * misc/swapon.c: Likewise.
29718 * misc/sync.c: Likewise.
29719 * misc/syncfs.c: Likewise.
29720 * misc/syscall.c: Likewise.
29721 * misc/truncate.c: Likewise.
29722 * misc/ualarm.c: Likewise.
29723 * misc/usleep.c: Likewise.
29724 * misc/ustat.c: Likewise.
29725 * misc/utimes.c: Likewise.
29726 * misc/vhangup.c: Likewise.
29727 * misc/writev.c: Likewise.
29728 * posix/_exit.c: Likewise.
29729 * posix/alarm.c: Likewise.
29730 * posix/execve.c: Likewise.
29731 * posix/fexecve.c: Likewise.
29732 * posix/fork.c: Likewise.
29733 * posix/fpathconf.c: Likewise.
29734 * posix/getaddrinfo.c: Likewise.
29735 * posix/getegid.c: Likewise.
29736 * posix/geteuid.c: Likewise.
29737 * posix/getgid.c: Likewise.
29738 * posix/getgroups.c: Likewise.
29739 * posix/getlogin.c: Likewise.
29740 * posix/getlogin_r.c: Likewise.
29741 * posix/getpgid.c: Likewise.
29742 * posix/getpid.c: Likewise.
29743 * posix/getppid.c: Likewise.
29744 * posix/getresgid.c: Likewise.
29745 * posix/getresuid.c: Likewise.
29746 * posix/getsid.c: Likewise.
29747 * posix/getuid.c: Likewise.
29748 * posix/glob64.c: Likewise.
29749 * posix/nanosleep.c: Likewise.
29750 * posix/pathconf.c: Likewise.
29751 * posix/pause.c: Likewise.
29752 * posix/posix_madvise.c: Likewise.
29753 * posix/pread.c: Likewise.
29754 * posix/pread64.c: Likewise.
29755 * posix/pwrite.c: Likewise.
29756 * posix/pwrite64.c: Likewise.
29757 * posix/sched_getaffinity.c: Likewise.
29758 * posix/sched_getp.c: Likewise.
29759 * posix/sched_gets.c: Likewise.
29760 * posix/sched_primax.c: Likewise.
29761 * posix/sched_primin.c: Likewise.
29762 * posix/sched_rr_gi.c: Likewise.
29763 * posix/sched_setaffinity.c: Likewise.
29764 * posix/sched_setp.c: Likewise.
29765 * posix/sched_sets.c: Likewise.
29766 * posix/sched_yield.c: Likewise.
29767 * posix/setgid.c: Likewise.
29768 * posix/setlogin.c: Likewise.
29769 * posix/setpgid.c: Likewise.
29770 * posix/setresgid.c: Likewise.
29771 * posix/setresuid.c: Likewise.
29772 * posix/setsid.c: Likewise.
29773 * posix/setuid.c: Likewise.
29774 * posix/sleep.c: Likewise.
29775 * posix/spawni.c: Likewise.
29776 * posix/sysconf.c: Likewise.
29777 * posix/times.c: Likewise.
29778 * posix/wait.c: Likewise.
29779 * posix/wait3.c: Likewise.
29780 * posix/wait4.c: Likewise.
29781 * posix/waitpid.c: Likewise.
29782 * resolv/gai_sigqueue.c: Likewise.
29783 * resource/getpriority.c: Likewise.
29784 * resource/getrlimit.c: Likewise.
29785 * resource/getrusage.c: Likewise.
29786 * resource/nice.c: Likewise.
29787 * resource/setpriority.c: Likewise.
29788 * resource/setrlimit.c: Likewise.
29789 * resource/ulimit.c: Likewise.
29790 * rt/aio_cancel.c: Likewise.
29791 * rt/aio_fsync.c: Likewise.
29792 * rt/aio_read.c: Likewise.
29793 * rt/aio_sigqueue.c: Likewise.
29794 * rt/aio_suspend.c: Likewise.
29795 * rt/aio_write.c: Likewise.
29796 * rt/clock_getres.c: Likewise.
29797 * rt/clock_gettime.c: Likewise.
29798 * rt/clock_nanosleep.c: Likewise.
29799 * rt/clock_settime.c: Likewise.
29800 * rt/lio_listio.c: Likewise.
29801 * rt/mq_close.c: Likewise.
29802 * rt/mq_getattr.c: Likewise.
29803 * rt/mq_notify.c: Likewise.
29804 * rt/mq_open.c: Likewise.
29805 * rt/mq_receive.c: Likewise.
29806 * rt/mq_send.c: Likewise.
29807 * rt/mq_setattr.c: Likewise.
29808 * rt/mq_timedreceive.c: Likewise.
29809 * rt/mq_timedsend.c: Likewise.
29810 * rt/mq_unlink.c: Likewise.
29811 * rt/shm_open.c: Likewise.
29812 * rt/shm_unlink.c: Likewise.
29813 * rt/timer_create.c: Likewise.
29814 * rt/timer_delete.c: Likewise.
29815 * rt/timer_getoverr.c: Likewise.
29816 * rt/timer_gettime.c: Likewise.
29817 * rt/timer_settime.c: Likewise.
29818 * setjmp/__longjmp.c: Likewise.
29819 * setjmp/setjmp.c: Likewise.
29820 * signal/kill.c: Likewise.
29821 * signal/killpg.c: Likewise.
29822 * signal/raise.c: Likewise.
29823 * signal/sigaction.c: Likewise.
29824 * signal/sigaltstack.c: Likewise.
29825 * signal/sigblock.c: Likewise.
29826 * signal/sigignore.c: Likewise.
29827 * signal/sigintr.c: Likewise.
29828 * signal/signal.c: Likewise.
29829 * signal/sigpause.c: Likewise.
29830 * signal/sigpending.c: Likewise.
29831 * signal/sigqueue.c: Likewise.
29832 * signal/sigreturn.c: Likewise.
29833 * signal/sigset.c: Likewise.
29834 * signal/sigsetmask.c: Likewise.
29835 * signal/sigstack.c: Likewise.
29836 * signal/sigsuspend.c: Likewise.
29837 * signal/sigtimedwait.c: Likewise.
29838 * signal/sigvec.c: Likewise.
29839 * signal/sigwait.c: Likewise.
29840 * signal/sigwaitinfo.c: Likewise.
29841 * signal/sysv_signal.c: Likewise.
29842 * socket/accept.c: Likewise.
29843 * socket/accept4.c: Likewise.
29844 * socket/bind.c: Likewise.
29845 * socket/connect.c: Likewise.
29846 * socket/getpeername.c: Likewise.
29847 * socket/getsockname.c: Likewise.
29848 * socket/getsockopt.c: Likewise.
29849 * socket/isfdtype.c: Likewise.
29850 * socket/listen.c: Likewise.
29851 * socket/recv.c: Likewise.
29852 * socket/recvfrom.c: Likewise.
29853 * socket/recvmsg.c: Likewise.
29854 * socket/send.c: Likewise.
29855 * socket/sendmsg.c: Likewise.
29856 * socket/sendto.c: Likewise.
29857 * socket/setsockopt.c: Likewise.
29858 * socket/shutdown.c: Likewise.
29859 * socket/sockatmark.c: Likewise.
29860 * socket/socket.c: Likewise.
29861 * socket/socketpair.c: Likewise.
29862 * stdio-common/ctermid.c: Likewise.
29863 * stdio-common/cuserid.c: Likewise.
29864 * stdio-common/remove.c: Likewise.
29865 * stdio-common/rename.c: Likewise.
29866 * stdio-common/renameat.c: Likewise.
29867 * stdio-common/tempname.c: Likewise.
29868 * stdlib/getcontext.c: Likewise.
29869 * stdlib/makecontext.c: Likewise.
29870 * stdlib/setcontext.c: Likewise.
29871 * stdlib/swapcontext.c: Likewise.
29872 * stdlib/system.c: Likewise.
29873 * streams/fattach.c: Likewise.
29874 * streams/fdetach.c: Likewise.
29875 * streams/getmsg.c: Likewise.
29876 * streams/getpmsg.c: Likewise.
29877 * streams/putmsg.c: Likewise.
29878 * streams/putpmsg.c: Likewise.
29879 * sysdeps/unix/bsd/getpt.c: Likewise.
29880 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29881 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29882 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29885 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29886 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29887 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29888 * sysvipc/msgctl.c: Likewise.
29889 * sysvipc/msgget.c: Likewise.
29890 * sysvipc/msgrcv.c: Likewise.
29891 * sysvipc/msgsnd.c: Likewise.
29892 * sysvipc/semctl.c: Likewise.
29893 * sysvipc/semget.c: Likewise.
29894 * sysvipc/semop.c: Likewise.
29895 * sysvipc/semtimedop.c: Likewise.
29896 * sysvipc/shmat.c: Likewise.
29897 * sysvipc/shmctl.c: Likewise.
29898 * sysvipc/shmdt.c: Likewise.
29899 * sysvipc/shmget.c: Likewise.
29900 * termios/tcdrain.c: Likewise.
29901 * termios/tcflow.c: Likewise.
29902 * termios/tcflush.c: Likewise.
29903 * termios/tcgetattr.c: Likewise.
29904 * termios/tcgetpgrp.c: Likewise.
29905 * termios/tcsendbrk.c: Likewise.
29906 * termios/tcsetattr.c: Likewise.
29907 * termios/tcsetpgrp.c: Likewise.
29908 * time/adjtime.c: Likewise.
29909 * time/clock.c: Likewise.
29910 * time/getitimer.c: Likewise.
29911 * time/gettimeofday.c: Likewise.
29912 * time/setitimer.c: Likewise.
29913 * time/settimeofday.c: Likewise.
29914 * time/stime.c: Likewise.
29915 * time/time.c: Likewise.
29917 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29919 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29922 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29924 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29926 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29930 FE_TONEAREST before applying Dekker multiplication and Knuth
29931 addition. Clear inexact exceptions and check for exact zero
29932 results afterwards.
29933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29934 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29935 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29936 * math/libm-test.inc (fma_test): Add more tests.
29937 (fma_test_towardzero): Likewise.
29938 (fma_test_downward): Likewise.
29939 (fma_test_upward): Likewise.
29940 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29942 (libc_fesetround): New macro.
29943 (libc_fesetroundf): Likewise.
29944 (libc_fesetroundl): Likewise.
29945 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29947 (libc_fesetround_387): Likewise.
29948 (libc_fesetroundf): New macro.
29949 (libc_fesetround): Likewise.
29950 (libc_fesetroundl): Likewise.
29951 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29953 (libc_fesetroundf): New macro.
29954 (libc_fesetround): Likewise.
29955 (libc_fesetroundl): Likewise.
29956 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29957 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29958 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29960 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29961 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29963 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29964 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29966 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29970 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29971 integer constant usable in #if and use that to give value to enum
29973 (FE_DIVBYZERO): Likewise.
29974 (FE_UNDERFLOW): Likewise.
29975 (FE_OVERFLOW): Likewise.
29976 (FE_INVALID): Likewise.
29977 (FE_INVALID_SNAN): Likewise.
29978 (FE_INVALID_ISI): Likewise.
29979 (FE_INVALID_IDI): Likewise.
29980 (FE_INVALID_ZDZ): Likewise.
29981 (FE_INVALID_IMZ): Likewise.
29982 (FE_INVALID_COMPARE): Likewise.
29983 (FE_INVALID_SOFTWARE): Likewise.
29984 (FE_INVALID_SQRT): Likewise.
29985 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29986 (FE_TONEAREST): Likewise.
29987 (FE_TOWARDZERO): Likewise.
29988 (FE_UPWARD): Likewise.
29989 (FE_DOWNWARD): Likewise.
29990 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29991 (FE_DIVBYZERO): Likewise.
29992 (FE_OVERFLOW): Likewise.
29993 (FE_UNDERFLOW): Likewise.
29994 (FE_INEXACT): Likewise.
29995 (FE_TONEAREST): Likewise.
29996 (FE_DOWNWARD): Likewise.
29997 (FE_UPWARD): Likewise.
29998 (FE_TOWARDZERO): Likewise.
29999 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30000 (FE_UNDERFLOW): Likewise.
30001 (FE_OVERFLOW): Likewise.
30002 (FE_DIVBYZERO): Likewise.
30003 (FE_INVALID): Likewise.
30004 (FE_TONEAREST): Likewise.
30005 (FE_TOWARDZERO): Likewise.
30006 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30007 (FE_OVERFLOW): Likewise.
30008 (FE_UNDERFLOW): Likewise.
30009 (FE_DIVBYZERO): Likewise.
30010 (FE_INEXACT): Likewise.
30011 (FE_TONEAREST): Likewise.
30012 (FE_TOWARDZERO): Likewise.
30013 (FE_UPWARD): Likewise.
30014 (FE_DOWNWARD): Likewise.
30015 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30016 (FE_DIVBYZERO): Likewise.
30017 (FE_OVERFLOW): Likewise.
30018 (FE_UNDERFLOW): Likewise.
30019 (FE_INEXACT): Likewise.
30020 (FE_TONEAREST): Likewise.
30021 (FE_DOWNWARD): Likewise.
30022 (FE_UPWARD): Likewise.
30023 (FE_TOWARDZERO): Likewise.
30025 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30027 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30029 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30031 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30032 commands. Quote $PWD.
30033 (blacklist_exports): Don't use remove_newlines. Replace "declare
30035 (remove_newlines): Remove.
30037 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30039 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30040 * stdlib/stdlib.h (atof): Moved to ...
30041 * include/bits/stdlib-float.h: Here. New file.
30042 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30043 * stdlib/bits/stdlib-float.h: New file.
30044 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30046 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30049 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30051 * conform/conformtest.pl (@headers): Add fenv.h.
30052 * conform/data/fenv.h-data: New file.
30053 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30054 include of <math/fenv.h>.
30056 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30057 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30058 && !UNIX98]. Enables tests for XOPEN2K8.
30059 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30060 POSIX2008]: Likewise.
30062 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30063 (struct rusage): Do not expect type or its members.
30066 * math/math.h (FP_NAN): Define macro to integer constant usable in
30067 #if and use that to give value to enum constant.
30068 (FP_INFINITE): Likewise.
30069 (FP_ZERO): Likewise.
30070 (FP_SUBNORMAL): Likewise.
30071 (FP_NORMAL): Likewise.
30073 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30075 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30076 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30079 2012-11-02 Roland McGrath <roland@hack.frob.com>
30081 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30082 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30083 autoconf-time if not.
30084 * configure.in: Remove AC_PREREQ.
30086 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30088 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30089 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30090 of the internal implementation.
30092 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30094 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30095 except include of <misc/sys/syslog.h>.
30097 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30100 function returns with a NULL context exit with zero.
30102 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30104 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30106 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30108 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30109 (run_program_cmd): This.
30110 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30111 (tst_langinfo): New variable. Use it.
30113 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30115 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30116 floating point opcodes.
30118 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30120 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30123 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30125 * sysdeps/mach/hurd/powerpc: Remove directory.
30126 * sysdeps/mach/powerpc: Likewise.
30128 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30130 * scripts/check-local-headers.sh: Ignore c++ headers.
30132 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30134 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30135 __libc_cleanup_region_start argument.
30137 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30142 x * y using scaling, not as x * y + z.
30143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30145 * math/libm-test.inc (fma_test): Add more tests.
30146 (fma_test_towardzero): Likewise.
30147 (fma_test_downward): Likewise.
30148 (fma_test_upward): Likewise.
30150 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30152 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30154 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30156 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30159 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30161 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30163 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30170 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30173 Fix the order of the list for glibc 2.17.
30174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30177 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30181 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30184 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30185 for low part of x being zero before using __atanl (y).
30186 * math/libm-test.inc (atan2_test): Add another test.
30188 * manual/install.texi (Configuring and compiling): Document
30189 general use of test-wrapper and test-wrapper-env.
30190 * INSTALL: Regenerated.
30192 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30193 (__fma): Do not extract and scale down low bits on after-rounding
30194 systems when result rounded to normal precision would have normal
30196 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30197 (__fmal): Do not extract and scale down low bits on after-rounding
30198 systems when result rounded to normal precision would have normal
30200 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30201 (__fmal): Do not extract and scale down low bits on after-rounding
30202 systems when result rounded to normal precision would have normal
30204 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30206 (fma_test): Add more tests.
30207 (fma_test_towardzero): Likewise.
30208 (fma_test_downward): Likewise.
30209 (fma_test_upward): Likewise.
30211 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30213 * sysdeps/i386/tininess.h: Renamed to ...
30214 * sysdeps/x86/tininess.h: This.
30215 * sysdeps/x86_64/tininess.h: Removed.
30217 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30219 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30220 input. Use $(build-program-cmd).
30221 ($(objpfx)tst-array1-static.out): Likewise.
30222 ($(objpfx)tst-array2.out): Likewise.
30223 ($(objpfx)tst-array3.out): Likewise.
30224 ($(objpfx)tst-array4.out): Likewise.
30225 ($(objpfx)tst-array5.out): Likewise.
30226 ($(objpfx)tst-array5-static.out): Likewise.
30228 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30230 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30233 * nss/nsswitch.h (nss_interface_function): Provide new
30234 macro for use with NSS functions.
30235 * grp/initgroups.c: Use new macro.
30236 * nss/getXXbyYY.c: Likewise.
30237 * nss/getXXbyYY_r.c: Likewise.
30238 * nss/getXXent.c: Likewise.
30239 * nss/getXXent_r.c: Likewise.
30240 * sysdeps/posix/getaddrinfo.c: Likewise.
30242 2012-10-30 Andreas Jaeger <aj@suse.de>
30244 * po/ru.po: Update Russion translation from translation project.
30246 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30251 result and shift together with sticky bit instead of replicating
30252 round-to-nearest rounding.
30253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30255 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30256 missing underflow exceptions.
30257 (fma_test_towardzero): Add more tests.
30258 (fma_test_downward): Likewise.
30259 (fma_test_upward): Likewise.
30262 * sysdeps/generic/tininess.h: New file.
30263 * sysdeps/i386/tininess.h: Likewise.
30264 * sysdeps/sh/tininess.h: Likewise.
30265 * sysdeps/x86_64/tininess.h: Likewise.
30266 * stdlib/tst-strtod-underflow.c: Likewise.
30267 * stdlib/tst-tininess.c: Likewise.
30268 * stdlib/strtod_l.c: Include <tininess.h>.
30269 (round_and_return): Do not set errno for exact underflow cases.
30270 Force an underflow exception when setting errno for underflow.
30271 Determine underflow based on rounding to normal precision if
30272 TININESS_AFTER_ROUNDING.
30273 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30274 ERANGE for exact underflow cases.
30275 * stdlib/Makefile (tests): Add tst-tininess and
30276 tst-strtod-underflow.
30277 ($(objpfx)tst-tininess): Use $(link-libm).
30278 ($(objpfx)tst-strtod-underflow): Likewise.
30280 2012-10-30 Andreas Jaeger <aj@suse.de>
30283 * elf/Makefile (tests): Remove conditional for have-initfini-array
30284 since this is now always required and the variable does not exist
30286 (tests-static): Likewise.
30287 (modules-names): Likewise.
30289 * po/eo.po: Add Esperanto translation from translation project.
30291 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30292 merged with constructor/destructor.
30293 (init_array): Likewise.
30294 * elf/tst-array2dep.c (fini_array): Likewise.
30295 (init_array): Likewise.
30297 2012-10-29 Mike Frysinger <vapier@gentoo.org>
30299 * manual/message.texi: Delete @cartouche tags.
30301 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30303 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30305 * sysdeps/mach/hurd/fsync.c: Likewise.
30307 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30308 [_POSIX_REALTIME_SIGNALS]: Change condition to
30309 [_POSIX_REALTIME_SIGNALS > 0].
30311 2012-10-27 Andreas Jaeger <aj@suse.de>
30313 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30314 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30316 [__WORDSIZE != 64]: Likewise.
30318 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30320 * iconvdata/tst-table.sh: Remove ${SHELL}.
30321 * iconvdata/tst-tables.sh: Likewise.
30323 2012-10-25 David S. Miller <davem@davemloft.net>
30325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30326 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30331 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30332 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30333 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30336 2012-10-25 Roland McGrath <roland@hack.frob.com>
30338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30339 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30342 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30343 Jim Blandy <jimb@codesourcery.com>
30345 * scripts/cross-test-ssh.sh: New file.
30346 * manual/install.texi (Configuring and compiling): Document use of
30348 * INSTALL: Regenerated.
30350 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30352 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30355 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30357 * Makeconfig (run-program-prefix): Fix comment.
30359 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30360 Jim Blandy <jimb@codesourcery.com>
30362 * Makeconfig (test-wrapper): New variable,
30363 (test-wrapper-env): Likewise.
30364 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30365 (run-built-tests): Define to yes.
30366 (run-program-prefix): Use $(test-wrapper).
30367 (built-program-cmd): Likewise.
30368 * Rules (make-test-out): Use $(test-wrapper-env) and
30369 $(host-built-program-cmd).
30370 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30371 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30373 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30374 $(test-wrapper-env) to tst-rtld-load-self.sh.
30375 ($(objpfx)order2.out): Use $(test-wrapper).
30376 ($(objpfx)tst-initorder.out): Likewise.
30377 ($(objpfx)tst-initorder2.out): Likewise.
30378 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30379 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30380 (test_wrapper_env): New variable. Use it to run ld.so.
30381 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30382 Use it to run ld.so.
30383 (test_wrapper_env): Likewise.
30384 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30385 $(test-wrapper) to run-iconv-test.sh.
30386 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30387 (ICONV): Use $test_wrapper.
30388 * posix/Makefile ($(objpfx)globtest.out): Pass
30389 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30390 globtest.sh, not $(run-program-prefix).
30391 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30392 (test_wrapper): Likewise.
30393 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30394 set together with run_via_rtld_prefix.
30395 (run_program_prefix): Define in terms of test_wrapper and
30396 run_via_rtld_prefix.
30398 2012-10-24 Roland McGrath <roland@hack.frob.com>
30400 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30401 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30405 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30406 Declare __clock_getres, __clock_gettime, __clock_settime,
30407 __clock_nanosleep, and __clock_getcpuclockid.
30408 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30409 Remove librt_hidden_def (clock_gettime).
30410 * sysdeps/unix/clock_gettime.c: Likewise.
30411 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30413 * rt/clock_getres.c: Define __clock_getres as an alias.
30414 * sysdeps/posix/clock_getres.c: Likewise.
30415 * rt/clock_settime.c: Define __clock_settime as an alias.
30416 * sysdeps/unix/clock_settime.c: Likewise.
30417 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30418 * sysdeps/unix/clock_nanosleep.c: Likewise.
30419 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30420 * rt/clock-compat.c: New file.
30421 * rt/Makefile (librt-routines): Add clock-compat and move
30422 $(clock-routines) to ...
30423 (routines): ... here, new variable.
30424 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30425 Don't add get_clockfreq here.
30426 * rt/Versions (libc: GLIBC_2.17): New version set.
30427 Add clock_* symbols here.
30428 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30429 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30430 (GLIBC_2.17): Add clock_* symbols.
30431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30442 * NEWS: Mention the move.
30444 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30445 Use __open, __read, __close rather than their public counterparts.
30446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30447 (__get_clockfreq_via_cpuinfo): Likewise.
30448 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30449 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30451 * config.h.in (HAVE_IFUNC): New #undef.
30452 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30454 * configure: Regenerated.
30456 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30458 * configure.in: Move READELF check to start of file.
30459 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30460 libc_cv_asm_gnu_indirect_function in the process.
30461 * configure: Regenerated.
30463 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30465 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30466 send the output to /dev/null.
30467 (libc_cv_cc_with_libunwind): Likewise.
30468 (libc_cv_as_noexecstack): Likewise.
30469 * configure: Regenerate.
30471 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30473 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30475 * posix/globtest.sh (TMPDIR): Do not set.
30476 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30477 (testout): Likewise.
30479 2012-10-24 Andreas Jaeger <aj@suse.de>
30481 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30482 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30483 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30484 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30485 posix_fadvise64, posix_fallocate64.
30487 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30488 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30489 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30491 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30493 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30496 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30497 <bits/fcntl-linux.h>.
30498 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30501 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30502 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30503 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30504 [__WORDSIZE != 64]: Likewise.
30506 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30508 * Makeconfig (run-built-tests): New variable.
30509 * Rules [$(cross-compiling) = yes]: Change condition to
30510 [$(run-built-tests) = no].
30511 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30512 to [$(run-built-tests) = yes].
30513 * elf/Makefile [$(cross-compiling) = no]: Likewise
30514 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30515 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30516 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30517 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30518 * io/Makefile [$(cross-compiling) = no]: Likewise.
30519 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30520 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30521 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30522 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30523 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30524 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30525 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30526 * string/Makefile [$(cross-compiling) = no]: Likewise.
30528 * posix/Makefile ($(objpfx)globtest.out): Pass
30529 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30530 $(rtld-installed-name).
30531 * posix/globtest.sh (elf_objpfx): Remove variable.
30532 (rtld_installed_name): Likewise.
30533 (library_path): Likewise.
30534 (run_program_prefix): New variable. Use for running globtest
30537 2012-10-23 Jim Blandy <jimb@codesourcery.com>
30538 Joseph Myers <joseph@codesourcery.com>
30540 * Makeconfig (host-built-program-cmd): New variable.
30541 * elf/Makefile (tst-stackguard1-ARGS): Use
30542 $(host-built-program-cmd).
30543 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30544 (tst-spawn-ARGS): Likewise.
30545 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30547 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30548 Jim Blandy <jimb@codesourcery.com>
30550 * Makeconfig (run-via-rtld-prefix): New variable.
30551 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30552 (built-program-cmd): Likewise.
30554 2012-10-22 Andreas Jaeger <aj@suse.de>
30556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30557 __O_RSYNC if it exists, otherwise to O_SYNC.
30559 2012-10-22 Jim Blandy <jimb@codesourcery.com>
30560 Joseph Myers <joseph@codesourcery.com>
30562 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30564 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30566 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30569 2012-10-22 Andreas Jaeger <aj@suse.de>
30571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30576 bits/fcntl-linux.h.
30578 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30579 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30586 2012-10-21 Jim Blandy <jimb@codesourcery.com>
30587 Joseph Myers <joseph@codesourcery.com>
30589 * config.make.in (NM): New variable.
30591 2012-10-21 Andreas Jaeger <aj@suse.de>
30593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30594 definitions and declarations that are provided by
30595 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30597 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30600 * elf/Makefile (tests-static): Add tst-leaks1-static.
30601 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30602 ($(objpfx)tst-leaks1-static): New rule.
30603 ($(objpfx)tst-leaks1-static-mem): Likewise.
30604 (tst-leaks1-static-ENV): New macro.
30605 * elf/dl-open.c (dl_open_worker): Check the main application
30606 only if SHARED is defined.
30607 * elf/tst-leaks1-static.c: New file.
30609 2012-10-20 Andreas Jaeger <aj@suse.de>
30611 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30612 generic values for Linux.
30613 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30614 and declarations that are provided by <bits/fcntl-linux.h> and
30615 include <bits/fcntl-linux.h>.
30616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30619 2012-10-20 Roland McGrath <roland@hack.frob.com>
30621 * io/fcntl.h: Move include of <bits/types.h> to the top and
30622 include it unconditionally.
30624 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30626 * wcsmbs/Makefile (tests-ifunc): New variable.
30627 (tests): Add $(tests-ifunc).
30628 * wcsmbs/test-wcschr-ifunc.c: New file.
30629 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30630 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30631 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30632 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30633 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30635 * string/Makefile (tests-ifunc): New variable.
30636 (tests): Add $(tests-ifunc).
30637 * string/test-memccpy.c (TEST_NAME): New macro.
30638 * string/test-memchr.c (TEST_NAME): Likewise.
30639 * string/test-memcmp.c (TEST_NAME): Likewise.
30640 * string/test-memcpy.c (TEST_NAME): Likewise.
30641 * string/test-memmem.c (TEST_NAME): Likewise.
30642 * string/test-memmove.c (TEST_NAME): Likewise.
30643 * string/test-memset.c (TEST_NAME): Likewise.
30644 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30645 * string/test-stpcpy.c (TEST_NAME): Likewise.
30646 * string/test-stpncpy.c (TEST_NAME): Likewise.
30647 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30648 * string/test-strcasestr.c (TEST_NAME): Likewise.
30649 * string/test-strcat.c (TEST_NAME): Likewise.
30650 * string/test-strchr.c (TEST_NAME): Likewise.
30651 * string/test-strcmp.c(TEST_NAME): Likewise.
30652 * string/test-strcpy.c (TEST_NAME): Likewise.
30653 * string/test-strcspn.c (TEST_NAME): Likewise.
30654 * string/test-strlen.c (TEST_NAME): Likewise.
30655 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30656 * string/test-strncmp.c (TEST_NAME): Likewise.
30657 * string/test-strncpy.c (TEST_NAME): Likewise.
30658 * string/test-strnlen.c (TEST_NAME): Likewise.
30659 * string/test-strpbrk.c (TEST_NAME): Likewise.
30660 * string/test-strrchr.c (TEST_NAME): Likewise.
30661 * string/test-strspn.c (TEST_NAME): Likewise.
30662 * string/test-strstr.c (TEST_NAME): Likewise.
30663 * string/test-bcopy-ifunc.c: New file.
30664 * string/test-bzero-ifunc.c: Likewise.
30665 * string/test-memccpy-ifunc.c: Likewise.
30666 * string/test-memchr-ifunc.c: Likewise.
30667 * string/test-memcmp-ifunc.c: Likewise.
30668 * string/test-memcpy-ifunc.c: Likewise.
30669 * string/test-memmem-ifunc.c: Likewise.
30670 * string/test-memmove-ifunc.c: Likewise.
30671 * string/test-mempcpy-ifunc.c: Likewise.
30672 * string/test-memset-ifunc.c: Likewise.
30673 * string/test-rawmemchr-ifunc.c: Likewise.
30674 * string/test-stpcpy-ifunc.c: Likewise.
30675 * string/test-stpncpy-ifunc.c: Likewise.
30676 * string/test-strcasecmp-ifunc.c: Likewise.
30677 * string/test-strcasestr-ifunc.c: Likewise.
30678 * string/test-strcat-ifunc.c: Likewise.
30679 * string/test-strchr-ifunc.c: Likewise.
30680 * string/test-strchrnul-ifunc.c: Likewise.
30681 * string/test-strcmp-ifunc.c: Likewise.
30682 * string/test-strcpy-ifunc.c: Likewise.
30683 * string/test-strcspn-ifunc.c: Likewise.
30684 * string/test-strlen-ifunc.c: Likewise.
30685 * string/test-strncasecmp-ifunc.c: Likewise.
30686 * string/test-strncat-ifunc.c: Likewise.
30687 * string/test-strncmp-ifunc.c: Likewise.
30688 * string/test-strncpy-ifunc.c: Likewise.
30689 * string/test-strnlen-ifunc.c: Likewise.
30690 * string/test-strpbrk-ifunc.c: Likewise.
30691 * string/test-strrchr-ifunc.c: Likewise.
30692 * string/test-strspn-ifunc.c: Likewise.
30693 * string/test-strstr-ifunc.c: Likewise.
30695 * debug/Makefile (tests-ifunc): New variable.
30696 (tests): Add $(tests-ifunc).
30697 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30698 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30699 * debug/test-stpcpy_chk-ifunc.c: New file.
30700 * debug/test-strcpy_chk-ifunc.c: Likewise.
30702 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30705 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30706 header is not read in.
30708 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30710 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30711 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30712 directly. Pass built executable to script as
30713 $(built-program-cmd).
30714 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30715 $testprogram without using LD_LIBRARY_PATH and $ldso.
30717 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30718 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30719 $(rtld-installed-name).
30720 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30721 (rtld_installed_name): Likewise.
30722 (library_path): Likewise.
30723 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30724 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30725 $(run-program-prefix) to tst-tables.sh.
30726 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30727 it to run tst-table-from and tst-table-to.
30728 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30729 Pass it to tst-table.sh.
30730 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30731 $(run-program-prefix) to tst-gettext.sh.
30732 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30734 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30736 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30737 to run tst-gettext.
30738 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30739 to run tst-gettext2.
30740 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30741 to run tst-translit.
30742 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30743 $(run-program-prefix) to tst-mtrace.sh.
30744 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30746 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30747 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30748 $(rtld-installed-name).
30749 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30750 (rtld_installed_name): Likewise.
30751 (run_program_prefix): New variable. Use it to run wordexp-test.
30753 * Makeconfig (ARCH): Remove all definitions.
30754 (machine): Likewise.
30755 [ARCH]: Remove conditional code.
30756 [!objdir]: Give error.
30757 [!objdir] (objpfx): Remove.
30758 [!objdir] (common-objpfx): Likewise.
30759 [!objdir] (common-objdir): Likewise.
30760 * configure.in (config_makefile): Remove. Hardcode Makefile in
30761 AC_CONFIG_FILES call.
30762 * configure: Regenerated.
30765 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30767 (testout): Likewise.
30769 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30770 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30771 $(rtld-installed-name).
30772 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30773 (rtld_installed_name): Likwise.
30774 (runit): Remove function.
30775 (run_getconf): New variable, Use it for running getconf binary.
30777 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30780 * string/test-memmem.c (check_result): New function.
30781 (do_one_test): Use it.
30782 (check1): New function.
30783 (test_main): Use it.
30785 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30787 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30789 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30791 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30792 (_G_LSEEK64): Likewise.
30793 (_G_MMAP64): Likewise.
30794 (_G_FSTAT64): Likewise.
30795 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30796 (_G_LSEEK64): Likewise.
30797 (_G_MMAP64): Likewise.
30798 (_G_FSTAT64): Likewise.
30799 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30800 unconditional. Call __mmap64 directly.
30801 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30802 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30803 __lseek64 directly.
30804 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30805 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30807 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30808 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30809 __lseek64 directly.
30810 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30811 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30812 __lseek64 directly.
30813 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30814 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30815 __lseek64 directly.
30816 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30817 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30818 __fxstat64 directly.
30819 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30820 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30822 (freopen64) [!_G_OPEN64]: Remove conditional code.
30823 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30825 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30826 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30828 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30829 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30831 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30832 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30834 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30835 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30837 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30838 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30840 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30841 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30843 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30845 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30848 * manual/memory.texi (Malloc Tunable Parameters): Add note
30849 about free list pointers overwriting some perturb bytes.
30850 Wording suggested by Roland McGrath.
30852 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30854 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30855 (lgamma_test): Likewise.
30856 (tgamma_test): Likewise.
30858 2012-10-16 Florian Weimer <fweimer@redhat.com>
30861 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30862 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30864 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30866 * NEWS: Mention BZ #14716.
30867 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30868 when removing AVAILABLE1_USES_J macro.
30870 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30872 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30873 (__bswap_64): __uint64_t for unsigned 64-bit int.
30875 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30877 * include/string.h (memmem): Declare libc hidden alias.
30878 * string/memmem.c (memmem): Define libc hidden alias.
30879 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30880 __read, __close instead of open, read, close.
30882 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30885 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30887 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30888 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30889 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30891 (__rawmemchr_sse2): Likewise.
30892 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30893 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30894 (__strchr_sse2): Likewise.
30895 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30896 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30897 (__strcasecmp_sse2): Likewise.
30898 (__strncasecmp_sse2): Likewise.
30899 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30900 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30901 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30902 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30903 (__strrchr_sse2): Likewise.
30904 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30906 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30907 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30908 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30909 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30910 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30911 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30912 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30913 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30914 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30915 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30916 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30917 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30918 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30919 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30920 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30921 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30922 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30923 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30924 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30925 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30926 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30927 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30928 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30929 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30930 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30931 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30932 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30933 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30934 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30935 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30937 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30939 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30940 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30941 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30942 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30944 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30946 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30947 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30948 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30949 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30951 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30952 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30953 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30954 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30955 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30956 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30957 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30958 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30959 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30960 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30961 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30962 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30963 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30964 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30965 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30967 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30968 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30969 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30970 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30972 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30973 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30974 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30975 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30976 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30977 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30978 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30979 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30980 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30981 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30982 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30983 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30984 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30985 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30986 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30987 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30988 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30989 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30990 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30991 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30993 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30994 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30995 * include/ifunc-impl-list.h: New file.
30996 * misc/ifunc-impl-list.c: Likewise.
30997 * misc/Makefile (routines): Add ifunc-impl-list.
30998 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30999 * string/test-string.h: Include <ifunc-impl-list.h>.
31000 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31001 TEST_NAME]: New variables.
31002 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31004 (test_init): Call __libc_ifunc_impl_list to initialize
31005 func_list if TEST_IFUNC and TEST_NAME are defined.
31007 * string/Makefile (strop-tests): Add bcopy and bzero.
31008 * string/test-bcopy.c: New file.
31009 * string/test-bzero.c: Likewise.
31010 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31012 * string/test-memset.c: Support bzero test if TEST_BZERO is
31014 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31016 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31018 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31021 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31023 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31024 * configure: Regenerated.
31026 * Makeconfig (+link-static-before-libc): Don't include
31027 $(link-static-libc).
31029 * libio/libio.h (_IO_pos_t): Remove.
31031 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31033 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31036 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31038 * crypt/crypt-entry.c: Include fips-private.h.
31039 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31040 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31041 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31042 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31044 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31046 * crypt/crypt-private.h: Include stdbool.h.
31047 (_ufc_setup_salt_r): Return bool.
31048 * crypt/crypt-entry.c: Include errno.h.
31049 (__crypt_r): Return NULL with EINVAL for bad salt.
31050 * crypt/crypt_util.c (bad_for_salt): New.
31051 (_ufc_setup_salt_r): Check that salt is long enough and within
31052 the specified alphabet.
31053 * crypt/badsalttest.c: New file.
31054 * crypt/Makefile (tests): Add it.
31055 ($(objpfx)badsalttest): New.
31057 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31059 * NEWS: Add entry for BZ #14602.
31061 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31063 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31065 * math/libm-test.inc: Update comment listing what functions and
31067 (isgreater_test): New function.
31068 (isgreaterequal_test): Likewise.
31069 (isless_test): Likewise.
31070 (islessequal_test): Likewise.
31071 (islessgreater_test): Likewise.
31072 (isunordered_test): Likewise.
31073 (main): Call the new functions.
31075 2012-10-09 Roland McGrath <roland@hack.frob.com>
31077 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31078 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31079 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31080 * sysdeps/i386/configure: Regenerated.
31081 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31082 * sysdeps/mach/configure: Regenerated.
31083 * sysdeps/mach/hurd/configure: Regenerated.
31084 * sysdeps/powerpc/configure: Regenerated.
31085 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31086 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31087 * sysdeps/s390/s390-32/configure: Regenerated.
31088 * sysdeps/s390/s390-64/configure: Regenerated.
31089 * sysdeps/sh/configure: Regenerated.
31090 * sysdeps/sparc/configure: Regenerated.
31091 * sysdeps/unix/sysv/linux/configure: Regenerated.
31092 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31093 * sysdeps/x86_64/configure: Regenerated.
31095 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31096 defined. Don't check if MAP is NULL.
31098 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31100 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31101 (_G_stat64): Likewise.
31102 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31103 (_G_stat64): Likewise.
31104 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31105 instead of struct _G_stat64.
31106 * libio/fileops.c (mmap_remap_check): Likewise.
31107 (decide_maybe_mmap): Likewise.
31108 (_IO_new_file_seekoff): Likewise.
31109 (_IO_file_stat): Likewise.
31110 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31112 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31113 instead of struct _G_stat64.
31114 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31116 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31119 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31121 (CHECK_EOL): New macro.
31122 (two_way_short_needle): Check beginning of haystack for EOL. Use
31124 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31125 Replace with CHECK_EOL.
31126 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31127 Replace with CHECK_EOL.
31129 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31131 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31133 * math/libm-test.inc: Update comment listing what functions and
31135 (finite_test): New function.
31136 (isinf_test): Likewise.
31137 (isnan_test): Likewise.
31138 (fpclassify_test): Test subnormal input.
31139 (isfinite_test): Likewise.
31140 (isnormal_test): Likewise.
31141 (main): Call the new functions.
31143 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31146 * Makerules (%.dynsym): Force C locale when running
31147 $(OBJDUMP) --dynamic-syms.
31149 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31151 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31154 2012-10-06 David S. Miller <davem@davemloft.net>
31156 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31157 upper 32-bits of the length value in %o2 since we use branch-on-register
31158 tests which consider the entire 64-bit register.
31160 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31162 * string/test-strstr.c (check2): Add a test for page boundary.
31164 2012-10-05 David S. Miller <davem@davemloft.net>
31166 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31167 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31169 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31171 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31172 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31173 and bzero when HWCAP_SPARC_CRYPTO is present.
31175 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31178 * string/test-strstr.c (check2): New function.
31179 (test_main): Call check2.
31181 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31183 * string/bug-strcasestr1.c (do_test): Moved to ...
31184 * string/test-strcasestr.c (check1): Here. New function.
31185 (do_one_test): Break out result checking code into ...
31186 (check_result): This. New function.
31187 (do_one_test): Call check_result.
31188 (test_main): Call check1.
31189 * string/bug-strchr1.c (do_test): Moved to ...
31190 * string/test-strchr.c (check1): Here. New function.
31191 (do_one_test): Break out result checking code into ...
31192 (check_result): This. New function.
31193 (do_one_test): Call check_result.
31194 (test_main): Call check1.
31195 * string/bug-strstr1.c (main): Moved to ...
31196 * string/test-strstr.c (check1): Here. New function.
31197 (do_one_test): Break out result checking code into ...
31198 (check_result): This. New function.
31199 (do_one_test): Call check_result.
31200 (test_main): Call check1.
31201 * string/bug-strcasestr1.c: Removed.
31202 * string/bug-strchr1.c: Likewise.
31203 * string/bug-strstr1.c: Likewise.
31205 * elf/Makefile (dl-routines): Add hwcaps.
31206 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31207 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31208 (_dl_important_hwcaps): Moved to ...
31209 * elf/dl-hwcaps.c: Here. New file.
31210 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31213 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31214 if IS_IN_rtld isn't defined.
31216 * elf/dl-support.c (_dl_sysinfo_map): New.
31217 Include "get-dynamic-info.h" and "setup-vdso.h".
31218 (_dl_non_dynamic_init): Call setup_vdso.
31219 * elf/dynamic-link.h: Don't include <assert.h>.
31220 (elf_get_dynamic_info): Moved to ...
31221 * elf/get-dynamic-info.h: Here. New file.
31222 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31223 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31224 * elf/setup-vdso.h: Here. New file.
31225 * elf/rtld.c: Include "setup-vdso.h".
31226 (dl_main): Call setup_vdso.
31228 2012-10-05 Joseph Myers <joseph@codesourcery.com>
31230 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31231 creal in comment listing functions tested. List finite, isinf,
31232 isnan, isless, islessequal, isgreater, isgreaterequal,
31233 islessgreater, isunordered, lgamma_r and pow10 as functions and
31234 macros not tested. Mention which functions not tested are aliases
31235 for other functions. Fix typo. Note that signs of NaNs are not
31238 * scripts/config.guess: Update from config.git.
31239 * scripts/config.sub: Likewise.
31241 2012-10-04 Roland McGrath <roland@hack.frob.com>
31243 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31244 * misc/madvise.c (madvise): Renamed to __madvise.
31245 Make madvise a weak alias.
31246 * include/sys/mman.h: Declare __madvise.
31247 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31248 * sysdeps/unix/syscalls.list
31249 (madvise): Make __madvise the strong name, and madvise a weak alias.
31250 * sysdeps/unix/sysv/linux/syscalls.list
31251 (madvise, mmap): Remove redundant entries.
31252 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31253 * malloc/malloc.c (mtrim): Likewise.
31254 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31256 2012-10-03 Roland McGrath <roland@hack.frob.com>
31258 * sysdeps/mach/hurd/dl-cache.c: File removed.
31259 * config.h.in (USE_LDCONFIG): New #undef.
31260 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31261 * configure: Regenerated.
31262 * elf/Makefile (dl-routines): Add dl-cache only under
31263 [$(use-ldconfig) = yes].
31264 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31265 cache on [USE_LDCONFIG].
31266 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31268 * elf/rtld.c (dl_main): Likewise.
31270 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31272 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31273 _SC_LEVEL4_CACHE_LINESIZE.
31275 2012-10-03 Roland McGrath <roland@hack.frob.com>
31277 * sysdeps/unix/bsd/confstr.h: File removed.
31279 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
31281 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31284 2012-10-02 Roland McGrath <roland@hack.frob.com>
31286 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31287 Make 'mapoff' field ElfW(Off) rather than off_t.
31289 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31291 * nscd/Makefile: Remove nscd-cflags and all its users.
31292 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31293 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31296 * malloc.c (malloc_printerr): Clarify error message.
31298 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31302 Set bit_FMA_Usable if FMA is supported.
31303 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31305 (bit_FMA4_Usable): Updated.
31306 (index_FMA_Usable): New macro.
31307 (CPUID_FMA): Likewise
31308 (HAS_FMA): Defined with bit_FMA_Usable.
31310 2012-10-01 Roland McGrath <roland@hack.frob.com>
31312 * bits/types.h (__swblk_t): Type removed.
31313 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31314 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31316 (__SWBLK_T_TYPE): Likewise.
31317 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31318 (__SWBLK_T_TYPE): Likewise.
31319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31320 (__SWBLK_T_TYPE): Likewise.
31321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31322 (__SWBLK_T_TYPE): Likewise.
31324 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
31325 Honza Horak <hhorak@redhat.com>
31327 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31328 (xdr_mapname): Use YPMAXMAP as maxsize.
31329 (xdr_peername): Use YPMAXPEER as maxsize.
31330 (xdr_keydat): Use YPAXRECORD as maxsize.
31331 (xdr_valdat): Use YPMAXRECORD as maxsize.
31333 2012-10-01 Roland McGrath <roland@hack.frob.com>
31335 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31337 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31338 * csu/init-first.c: ... here.
31339 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31340 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31341 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31342 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31343 * sysdeps/i386/init-first.c: File removed.
31344 * sysdeps/sh/init-first.c: File removed.
31346 2012-10-01 Joseph Myers <joseph@codesourcery.com>
31349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31350 if x * y might underflow to zero and z is zero.
31351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31352 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31353 * math/libm-test.inc (min_subnorm_value): New variable.
31354 (fma_test): Add more tests.
31355 (fma_test_towardzero): Likewise.
31356 (fma_test_downward): Likewise
31357 (fma_test_upward): Likewise.
31358 (initialize): Set min_subnorm_value.
31360 2012-09-29 Joseph Myers <joseph@codesourcery.com>
31363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31366 mode for addition resulting in exact zero.
31367 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31370 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31371 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31372 * math/libm-test.inc (fma_test): Add more tests.
31373 (fma_test_towardzero): New function.
31374 (fma_test_downward): Likewise.
31375 (fma_test_upward): Likewise.
31376 (main): Call the new functions.
31378 2012-09-28 David S. Miller <davem@davemloft.net>
31380 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31382 2012-09-28 Roland McGrath <roland@hack.frob.com>
31384 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31385 instead of SIGALRM.
31387 * sysdeps/gnu/_G_config.h: Moved to ...
31388 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31389 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31390 * sysdeps/generic/_G_config.h: ... here.
31392 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31394 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31396 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31397 Conditionalize target on [libnss_test1.so-version].
31399 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31401 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31402 (elfobjdir): Move out of conditionals.
31404 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31405 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31406 (__nss_lookup_function): Conditionalize label remove_from_tree on
31407 [!DO_STATIC_NSS || SHARED], matching its only use.
31409 2012-09-28 David S. Miller <davem@davemloft.net>
31411 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31412 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31414 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31416 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31418 when HWCAP_SPARC_CRYPTO is present.
31420 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31422 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31424 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31427 * stdio-common/vfprintf.c (process_string_arg): Revert
31430 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31432 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31434 * stdio-common/tst-sprintf.c: Include <locale.h>
31435 (main): Test sprintf's handling of incomplete multibyte
31438 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31440 * elf/dl-runtime.c (VERSYMIDX): Removed.
31441 * elf/dl-version.c (VERSYMIDX): Likewise.
31442 * elf/do-rel.h (VERSYMIDX): Likewise.
31443 (VALIDX): Likewise.
31444 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31445 * elf/rtld.c (VALIDX): Likewise.
31446 (ADDRIDX): Likewise.
31447 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31448 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31449 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31450 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31451 (VALIDX): Likewise.
31452 (ADDRIDX): Likewise.
31454 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31456 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31458 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31461 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31463 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31464 addresses are in the same scope as 192.0.2/24.
31465 * posix/gai.conf: Document new scope table defaults.
31467 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31470 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31471 for ftell. Compute offsets from write pointers instead.
31472 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31474 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31477 * libio/Makefile (tests): New test case tst-fseek.
31478 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31479 combination works in wide mode.
31480 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31481 state when the external buffer state changes.
31483 2012-09-27 David S. Miller <davem@davemloft.net>
31486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31487 pass reloc->r_addend in as the 'high' argument to
31488 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31492 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31494 * rt/tst-aio2.c: Include <pthread.h>.
31495 * rt/tst-aio3.c: Likewise.
31497 2012-09-27 Steve Ellcey <sellcey@mips.com>
31499 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31501 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31503 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31504 contents on [SHARED].
31506 2012-09-26 Marek Polacek <polacek@redhat.com>
31510 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31511 for C++ and GCC <4.3 as well as for non GCC compilers.
31513 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31517 2012-09-25 Roland McGrath <roland@hack.frob.com>
31519 * Makefile.in (all, install): Declare with .PHONY.
31520 Reported by Michael Hope <michael.hope@linaro.org>.
31522 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31524 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31525 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31527 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31529 (sydep_routines): Add the new and the internal functions.
31530 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31531 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31533 (GLIBC_2.17): Add the new function.
31534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31535 (GLIBC_2.17): Likewise.
31536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31537 (GLIBC_2.17): Likewise.
31538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31539 (GLIBC_2.17): Likewise.
31540 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31542 2012-09-25 Alan Modra <amodra@gmail.com>
31544 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31545 Add release barrier before setting once_control to say
31546 initialisation is done. Add hints on lwarx. Use macro in
31548 (clear_once_control): Add release barrier.
31550 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31553 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31555 * math/s_clog10.c (__clog10): Likewise.
31556 * math/s_clog10f.c (__clog10f): Likewise.
31557 * math/s_clog10l.c (__clog10l): Likewise.
31558 * math/s_clogf.c (__clogf): Likewise.
31559 * math/s_clogl.c (__clogl): Likewise.
31560 * math/Makefile (libm-calls): Add x2y2m1.
31561 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31562 (__x2y2m1): Likewise.
31563 (__x2y2m1l): Likewise.
31564 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31565 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31566 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31567 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31568 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31569 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31570 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31571 * sysdeps/i386/fpu/libm-test-ulps: Update.
31572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31575 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31576 int as type of variable DEPTH.
31577 (glob): Use size_t instead of int as type of variables NEWCOUNT
31580 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31582 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31583 Add s_sincosf-sse2.
31584 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31585 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31586 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31587 macros for using routine as __sincosf_ia32.
31588 Use macro for function declaration and weak_alias.
31589 * sysdeps/i386/fpu/libm-test-ulps: Update.
31591 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31594 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31595 subnormal argument.
31596 * math/s_cexpf.c (__cexpf): Likewise.
31597 * math/s_csinf.c (__csinf): Likewise.
31598 * math/s_csinhf.c (__csinhf): Likewise.
31599 * math/s_ctanf.c (__ctanf): Likewise.
31600 * math/s_ctanhf.c (__ctanhf): Likewise.
31601 * math/s_ccosh.c (__ccoshf): Likewise.
31602 * math/s_cexp.c (__cexpl): Likewise.
31603 * math/s_csin.c (__csin): Likewise.
31604 * math/s_csinh.c (__csinh): Likewise.
31605 * math/s_ctan.c (__ctan): Likewise.
31606 * math/s_ctanh.c (ctanh): Likewise.
31607 * math/s_ccoshl.c (__ccoshl): Likewise.
31608 * math/s_cexpl.c (__cexpl): Likewise.
31609 * math/s_csinl.c (__csinl): Likewise.
31610 * math/s_csinhl.c (__csinhl): Likewise.
31611 * math/s_ctanl.c (__ctanl): Likewise.
31612 * math/s_ctanhl.c (__ctanhl): Likewise.
31614 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31616 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31617 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31618 (_IO_off_t): Define to __off_t, not _G_off_t.
31619 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31620 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31621 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31622 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31623 type of __dummy and __dummy2 fields.
31624 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31625 (_G_ssize_t): Likewise.
31626 (_G_off_t): Likewise.
31627 (_G_pid_t): Likewise.
31628 (_G_uid_t): Likewise.
31629 (_G_wchar_t): Likewise.
31630 (_G_wint_t): Likewise.
31631 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31632 (_G_ssize_t): Likewise.
31633 (_G_off_t): Likewise.
31634 (_G_pid_t): Likewise.
31635 (_G_uid_t): Likewise.
31636 (_G_wchar_t): Likewise.
31637 (_G_wint_t): Likewise.
31638 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31639 (_G_ssize_t): Likewise.
31640 (_G_off_t): Likewise.
31641 (_G_pid_t): Likewise.
31642 (_G_uid_t): Likewise.
31643 (_G_wchar_t): Likewise.
31644 (_G_wint_t): Likewise.
31646 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31648 * malloc/arena.c: Include malloc-sysdep.h.
31649 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31650 is sufficient to shrink the heap or an unmap is needed.
31651 * sysdeps/generic/malloc-sysdep.h: New file. Define
31652 new function check_may_shrink_heap.
31653 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31654 new function check_may_shrink_heap.
31656 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31658 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31661 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31663 * catgets/test-gencat.sh: Add "set -e".
31664 * elf/tst-pathopt.sh: Likewise.
31665 * grp/tst_fgetgrent.sh: Likewise.
31666 * iconvdata/run-iconv-test.sh: Likewise.
31667 * intl/tst-gettext.sh: Likewise.
31668 * intl/tst-gettext2.sh: Likewise.
31669 * intl/tst-gettext4.sh: Likewise.
31670 * intl/tst-gettext6.sh: Likewise.
31671 * intl/tst-translit.sh: Likewise.
31672 * io/ftwtest-sh: Likewise.
31673 * libio/test-freopen.sh: Likewise.
31674 * malloc/tst-mtrace.sh: Likewise.
31675 * posix/globtest.sh: Likewise.
31676 * posix/tst-getconf.sh: Likewise.
31677 * posix/wordexp-tst.sh: Likewise.
31678 * stdio-common/tst-printf.sh: Likewise.
31679 * stdio-common/tst-unbputc.sh: Likewise.
31680 * stdlib/tst-fmtmsg.sh: Likewise.
31681 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31682 * catgets/Makefile: Do not specify -e option when running
31683 testsuite shell scripts.
31684 * elf/Makefile: Likewise.
31685 * grp/Makefile: Likewise.
31686 * iconvdata/Makefile: Likewise.
31687 * intl/Makefile: Likewise.
31688 * io/Makefile: Likewise.
31689 * libio/Makefile: Likewise.
31690 * malloc/Makefile: Likewise.
31691 * posix/Makefile: Likewise.
31692 * stdio-common/Makefile: Likewise.
31693 * stdlib/Makefile: Likewise.
31694 * sysdeps/x86_64/Makefile: Likewise.
31696 * io/ftwtest-sh: Add copyright header.
31697 * posix/globtest.sh: Likewise.
31698 * posix/tst-getconf.sh: Likewise.
31699 * posix/wordexp-tst.sh: Likewise.
31700 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31702 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31705 * Makeconfig (+link): Defined as $(+link-static) if
31706 $(build-shared) isn't yes.
31707 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31709 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31711 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31714 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31715 new chunk size with MALLOC_ALIGN_MASK.
31717 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31720 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31722 (__printf_fphex): Determine rounding using get_rounding_mode and
31724 * stdio-common/tst-printf-round.c (struct hex_test): New
31726 (hex_tests): New variable.
31727 (test_hex_in_one_mode): New function.
31728 (do_test): Also run tests for hex float output.
31730 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31732 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31733 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31734 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31735 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31736 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31737 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31738 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31739 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31741 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31743 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31744 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31745 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31746 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31748 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31751 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31753 * elf/tst-rtld-load-self.sh: New test.
31754 * elf/Makefile: Run it.
31756 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31758 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31759 (tst-writev-ENV): Remove.
31760 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31762 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31764 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31766 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31768 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31770 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31772 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31773 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31774 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31777 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31780 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31781 * config.make.in (have-cpp-asm-debuginfo): Removed.
31782 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31783 * configure: Regenerated.
31785 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31788 * stdio-common/printf_fp.c: Include <stdbool.h> and
31790 (___printf_fp): Determine rounding using get_rounding_mode and
31792 * stdio-common/tst-printf-round.c: New file.
31793 * stdio-common/Makefile (tests): Add tst-printf-round.
31794 (link-libm): New variable.
31795 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31797 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31800 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31801 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31803 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31806 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31808 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31809 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31810 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31811 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31813 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31816 * include/rounding-mode.h: New file.
31817 * sysdeps/generic/get-rounding-mode.h: Likewise.
31818 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31819 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31820 (MAX_VALUE): New macro.
31821 (MIN_VALUE): Likewise.
31822 (overflow_value): New function.
31823 (underflow_value): Likewise.
31824 (round_and_return): Use overflow_value and underflow_value to
31825 determine return values in overflow and underflow cases. Use
31826 round_away to determine rounding depending on rounding mode.
31827 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31828 determine return values in overflow and underflow cases.
31829 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31830 (struct test_results): New structure.
31831 (struct test): Use struct test_results to store expected results
31832 for all rounding modes.
31833 (TEST): Include expected results for all rounding modes.
31834 (test_in_one_mode): New function.
31835 (do_test): Use test_in_one_mode to compute and check results.
31836 Check results for all rounding modes.
31837 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31840 2012-12-09 Allan McRae <allan@archlinux.org>
31842 * sysdeps/i386/fpu/libm-test-ulps: Update
31844 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31846 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31847 (_G_int32_t): Likewise.
31848 (_G_uint16_t): Likewise.
31849 (_G_uint32_t): Likewise.
31850 (_G_HAVE_BOOL): Likewise.
31851 (_G_HAVE_ATEXIT): Likewise.
31852 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31853 (_G_HAVE_IO_FILE_OPEN): Likewise.
31854 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31855 (_G_int32_t): Likewise.
31856 (_G_uint16_t): Likewise.
31857 (_G_uint32_t): Likewise.
31858 (_G_HAVE_BOOL): Likewise.
31859 (_G_HAVE_ATEXIT): Likewise.
31860 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31861 (_G_HAVE_IO_FILE_OPEN): Likewise.
31862 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31863 (_G_int32_t): Likewise.
31864 (_G_uint16_t): Likewise.
31865 (_G_uint32_t): Likewise.
31866 (_G_HAVE_BOOL): Likewise.
31867 (_G_HAVE_ATEXIT): Likewise.
31868 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31869 (_G_HAVE_IO_FILE_OPEN): Likewise.
31871 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31873 * csu/libc-tls.c: Update copyright years.
31875 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31877 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31878 [!_G_USING_THUNKS]: Remove conditional code.
31879 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31880 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31882 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31883 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31884 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31885 (_G_VTABLE_LABEL_PREFIX): Likewise.
31886 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31887 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31888 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31889 (_G_VTABLE_LABEL_PREFIX): Likewise.
31890 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31891 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31892 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31893 (_G_VTABLE_LABEL_PREFIX): Likewise.
31894 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31896 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31898 * libio/Makefile: Include ../Makeconfig before tests.
31899 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31900 only if $(build-shared) is yes.
31902 * iconv/gconv_db.c: Update copyright years.
31904 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31906 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31907 unwind info if defined PIC. Fix special cases description.
31908 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31910 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31912 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31914 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31916 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31918 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31921 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31922 (LDLIBS-tst-chk4): This.
31923 (LDFLAGS-tst-chk5): Renamed to ...
31924 (LDLIBS-tst-chk5): This.
31925 (LDFLAGS-tst-chk6): Renamed to ...
31926 (LDLIBS-tst-chk6): This.
31927 (LDFLAGS-tst-lfschk4): Renamed to ...
31928 (LDLIBS-tst-lfschk4): This.
31929 (LDFLAGS-tst-lfschk5): Renamed to ...
31930 (LDLIBS-tst-lfschk5): This.
31931 (LDFLAGS-tst-lfschk6): Renamed to ...
31932 (LDLIBS-tst-lfschk6): This.
31934 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31935 on $(common-objpfx)soversions.mk.
31937 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31940 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31943 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31945 * malloc/arena.c (arena_get_retry): New function that gets
31946 another arena for the caller to try its request on.
31947 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31948 current arena cannot fulfill the request.
31949 (__libc_memalign): Likewise.
31950 (__libc_memalign): Likewise.
31951 (__libc_pvalloc): Likewise.
31952 (__libc_calloc): Likewise.
31954 2012-09-05 John Tobey <john.tobey@gmail.com>
31957 * manual/arith.texi (Operations on Complex): Fix description
31958 of carg branch cut.
31960 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31963 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31967 * manual/memory.texi (Memory): Make order of menu items match
31970 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31972 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31973 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31974 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31976 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31978 * csu/libc-tls.c (static_dtv): Renamed to ...
31979 (_dl_static_dtv): This. Make it global.
31980 (_dl_initial_dtv): Removed.
31981 (__libc_setup_tls): Updated.
31982 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31983 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31986 2012-09-06 Petr Machata <pmachata@redhat.com>
31988 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31989 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31990 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31991 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31993 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31996 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31997 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32000 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32003 * Makeconfig (link-static-before-libc): Replace $(+prector)
32005 (link-static-after-libc): Replace $(+postctor) with
32007 (link-bounded): Replace $(+prector)/$(+postctor) with
32008 $(+prectorT)/$(+postctorT).
32009 (+prectorT): New macro.
32010 (+postctorT): Likewise.
32012 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32014 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32015 (round_str): Handle values above the maximum for IBM long double
32017 * stdlib/tst-strtod-round.c (tests): Regenerated.
32019 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32021 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32023 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32024 zarch_nohighgprs around the zarch optimized routines.
32025 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32026 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32027 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32030 2012-09-05 David S. Miller <davem@davemloft.net>
32032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32034 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32035 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32036 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32037 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32040 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32042 * malloc/arena.c: Fold copyright years.
32043 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32045 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32047 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32049 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32051 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32053 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32055 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32056 change internal state upon failure.
32058 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32060 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32061 * malloc/memusage.c (mmap): Likewise.
32062 (mmap64, mremap): Likewise. Adjust name in comment.
32064 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32066 * libio/fileops.c: Fix typos in comments.
32067 * libio/oldfileops.c: Likewise.
32068 * libio/wfileops.c: Likewise.
32070 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32073 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32074 (tst-malloc-usable-ENV): Set environment for test case.
32075 * malloc/hooks.c (malloc_check_get_size): New function to get
32077 * malloc/malloc.c (musable): Use malloc_check_get_size.
32078 * malloc/tst-malloc-usable.c: New test case.
32080 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32082 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32084 2012-09-05 Allan McRae <allan@archlinux.org>
32087 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32088 determine header location.
32089 * configure: Regenerated.
32091 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32093 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32095 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32096 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32098 (test): Regenerate.
32100 2012-09-04 David S. Miller <davem@davemloft.net>
32102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32104 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32106 2012-09-04 Florian Weimer <fweimer@redhat.com>
32108 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32111 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32113 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32116 * libio/iogetdelim.c: Include <limits.h>.
32117 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32118 + len + 1 would overflow.
32120 2012-09-03 Andreas Jaeger <aj@suse.de>
32122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32123 * sysdeps/i386/fpu/libm-test-ulps: Update.
32125 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32127 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32128 Add s_sinf-sse2, s_conf-sse2.
32130 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32131 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32132 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32133 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32135 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32136 for using routine as __sinf_ia32.
32137 Use macro for function declaration and weak_alias.
32138 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32139 for using routine as __cosf_ia32.
32140 Use macro for function declaration and weak_alias.
32142 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32143 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32145 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32146 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32149 * math/libm-test.inc (cos_test): Add more test cases.
32150 (sin_test): Likewise.
32151 (sincos_test): Likewise.
32153 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32155 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32156 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32158 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32160 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32163 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32164 first element of the GOT.
32165 (elf_machine_load_address): Return the difference between
32166 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32168 2012-09-01 Allan McRae <allan@archlinux.org>
32171 * configure.in (AWK): Require gawk version 3.0 or later.
32172 * configure: Regenerated.
32174 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32176 * sysdeps/unix/sysv/linux/kernel-features.h
32177 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32178 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32179 [__NR_clock_getres]: Make code unconditional.
32180 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32181 (clock_getcpuclockid): Remove code left unreachable by removal of
32183 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32184 code unconditional.
32185 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32186 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32187 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32188 Make code unconditional.
32189 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32190 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32191 * sysdeps/unix/sysv/linux/clock_settime.c
32192 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32194 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32195 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32197 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32200 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32201 scripts/test-installation.pl.
32203 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32204 and $ld_so_version if it is set.
32206 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32210 failure if reading from procfs failed.
32211 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32213 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32215 * sysdeps/unix/sysv/linux/kernel-features.h
32216 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32217 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32218 Remove conditional code.
32219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32220 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32221 Remove conditional code.
32222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32223 * sysdeps/unix/sysv/linux/i386/fxstat.c
32224 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32225 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32226 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32227 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32228 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32229 * sysdeps/unix/sysv/linux/i386/lxstat.c
32230 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32231 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32232 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32233 Remove conditional code.
32234 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32235 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32236 Remove conditional code.
32237 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32238 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32239 <kernel-features.h>.
32240 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32242 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32243 Remove conditional code.
32244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32245 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32246 Remove conditional.
32248 2012-08-27 Mike Frysinger <vapier@gentoo.org>
32251 * NEWS: Add fixed bug number.
32253 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32256 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32257 underflowing exponent in case of negative sign.
32258 * stdlib/tst-strtod-round-data: Add more tests.
32259 * stdlib/tst-strtod-round.c (tests): Regenerated.
32262 * stdlib/strtod_l.c (NDIG): Remove.
32263 (HEXNDIG): Likewise.
32264 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32265 smallest representable value.
32266 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32267 lie within an exact representation of 1/2 ulp of the result.
32268 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32270 (TENS_P9_IDX): Define unconditionally.
32271 (TENS_P9_SIZE): Likewise.
32272 (TENS_P10_IDX): Likewise.
32273 (TENS_P10_SIZE): Likewise.
32274 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32275 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32276 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32277 entries for 10^2^13 and 10^2^14.
32278 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32279 (TENS_P13_IDX): Define.
32280 (TENS_P13_SIZE): Likewise.
32281 (TENS_P14_IDX): Likewise.
32282 (TENS_P14_SIZE): Likewise.
32283 (_fpioconst_pow10): Change array size to
32284 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32286 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32287 1024]: Add entries for 10^2^13 and 10^2^14.
32288 [LAST_POW10 > _LAST_POW10]: Remove #error.
32289 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32290 (_fpioconst_pow10): Change array size to
32291 FPIOCONST_POW10_ARRAY_SIZE.
32292 * stdlib/gen-fpioconst.c: New file.
32293 * stdlib/gen-tst-strtod-round.c: Likewise.
32294 * stdlib/tst-strtod-round-data: Likewise.
32295 * stdlib/tst-strtod-round.c: Likewise.
32296 * stdlib/Makefile (tests): Add tst-strtod-round.
32299 * stdlib/strtod_l.c: Include <stdint.h>.
32300 (NDEBUG): Do not define.
32301 (round_and_return): Change EXPONENT parameter to type intmax_t.
32302 Rearrange calculations to avoid internal overflow possibilities.
32303 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32304 Rearrange calculations to avoid internal overflow possibilities.
32305 Assert that number fits inside MPNSIZE limbs.
32306 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32307 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32308 calculations and add assertions to avoid internal overflow
32309 possibilities. Add casts to avoid signed/unsigned operations.
32310 * stdlib/tst-strtod-overflow.c: New file.
32311 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32313 2012-08-25 Marek Polacek <polacek@redhat.com>
32315 * time/time.h: Fix some typos in comments.
32317 2012-08-23 Roland McGrath <roland@hack.frob.com>
32319 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32320 * posix/tst-rfc3484-2.c: Likewise.
32321 * posix/tst-rfc3484-3.c: Likewise.
32323 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32325 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32326 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32328 2012-08-23 Joseph Myers <joseph@codesourcery.com>
32330 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32331 #include of fxstatat64.c.
32333 2012-08-22 Roland McGrath <roland@hack.frob.com>
32335 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32336 * shadow/getspent_r.c: Likewise.
32337 * shadow/getspnam.c: Likewise.
32338 * shadow/getspnam_r.c: Likewise.
32339 * gshadow/getsgent.c: Likewise.
32340 * gshadow/getsgent_r.c: Likewise.
32341 * gshadow/getsgnam.c: Likewise.
32342 * gshadow/getsgnam_r.c: Likewise.
32343 * inet/getnetbyad.c: Likewise.
32344 * inet/getnetbyad_r.c: Likewise.
32345 * inet/getnetbynm.c: Likewise.
32346 * inet/getnetbynm_r.c: Likewise.
32347 * inet/getnetent.c: Likewise.
32348 * inet/getnetent_r.c: Likewise.
32349 * inet/getproto.c: Likewise.
32350 * inet/getproto_r.c: Likewise.
32351 * inet/getprtent.c: Likewise.
32352 * inet/getprtent_r.c: Likewise.
32353 * inet/getprtname.c: Likewise.
32354 * inet/getprtname_r.c: Likewise.
32355 * inet/getrpcbyname.c: Likewise.
32356 * inet/getrpcbyname_r.c: Likewise.
32357 * inet/getrpcbynumber.c: Likewise.
32358 * inet/getrpcbynumber_r.c: Likewise.
32359 * inet/getrpcent.c: Likewise.
32360 * inet/getrpcent_r.c: Likewise.
32361 * inet/getaliasent.c: Likewise.
32362 * inet/getaliasent_r.c: Likewise.
32363 * inet/getaliasname.c: Likewise.
32364 * inet/getaliasname_r.c: Likewise.
32365 * nscd/getgrgid_r.c: Likewise.
32366 * nscd/getgrnam_r.c: Likewise.
32367 * nscd/gethstbyad_r.c: Likewise.
32368 * nscd/gethstbynm3_r.c: Likewise.
32369 * nscd/getpwnam_r.c: Likewise.
32370 * nscd/getpwuid_r.c: Likewise.
32371 * nscd/getsrvbynm_r.c: Likewise.
32372 * nscd/getsrvbypt_r.c: Likewise.
32373 * nscd/gai.c: Likewise.
32375 * configure.in (build_nscd): New substituted variable, set
32376 by --disable-build-nscd and defaults to $use_nscd.
32377 * configure: Regenerated.
32378 * config.make.in (build-nscd): New substituted variable.
32379 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32380 Change conditional to require [$(build-nscd) = yes] as well.
32381 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32384 * configure.in (use_nscd): New substituted variable, set by
32385 --disable-nscd. If enabled, define USE_NSCD.
32386 * configure: Regenerated.
32387 * config.h.in: Add USE_NSCD.
32388 * config.make.in (use-nscd): New substituted variable.
32389 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32390 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32391 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32392 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32393 (CFLAGS-getgrnam_r.c): Likewise.
32394 (CFLAGS-initgroups.c): Likewise.
32395 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32396 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32398 * inet/getnetgrent_r.c
32399 (nscd_setnetgrent): New function, broken out of ...
32400 (setnetgrent): ... here. Call it.
32401 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32402 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32403 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32404 * nscd/Makefile (routines, aux): Move definitions after include of
32405 Makeconfig. Conditionalize on [$(use-nscd) != no].
32406 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32407 Conditionalize on [USE_NSCD].
32408 (is_nscd, nscd_init_cb): Likewise.
32409 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32410 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32411 * nss/nss_db/db-init.c: Likewise.
32412 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32414 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32415 (make_request): Use it.
32416 (cache_valid_p): New function.
32417 (__check_pf): Use it.
32418 * NEWS: Add item for --disable-nscd.
32420 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32422 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32423 to support sed >= 4.2.1-20-ga9bf076.
32424 * configure: Regenerated.
32426 2012-08-22 Roland McGrath <roland@hack.frob.com>
32428 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32429 Conditionalize whole body on [IREL].
32431 2012-08-22 Jeff Law <law@redhat.com>
32434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32435 if the family is PF_UNSPEC.
32437 2012-08-22 Mike Frysinger <vapier@gentoo.org>
32439 * Makerules (lib-version): Rename from V.
32440 (install-lib-nosubdir): Change V to lib-version.
32442 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32445 * powerpc32/power6/wcschr.c: New file.
32446 * powerpc32/power6/wcscpy.c: New file.
32447 * powerpc32/power6/wcsrchr.c: New file.
32448 * powerpc64/power6/wcschr.c: New file.
32449 * powerpc64/power6/wcscpy.c: New file.
32450 * powerpc64/power6/wcsrchr.c: New file.
32452 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32454 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32455 (two_way_short_needle): Use it.
32456 * string/strstr.c (AVAILABLE1_USES_J): Define.
32457 * string/strcasestr.c: Likewise.
32459 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32461 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32464 * NEWS: Add an entry.
32465 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32466 define their defaults.
32467 (two_way_short_needle): Detect end-of-string on-the-fly.
32468 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32469 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32470 * string/bug-strcasestr1.c: New test.
32471 * string/Makefile: Run it.
32473 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32476 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32477 the first character.
32479 2012-08-21 Roland McGrath <roland@hack.frob.com>
32481 * csu/elf-init.c (__libc_csu_irel): Function removed.
32482 * csu/libc-start.c (apply_irel): New function.
32483 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32485 2012-08-21 Joseph Myers <joseph@codesourcery.com>
32487 * sysdeps/unix/sysv/linux/kernel-features.h
32488 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32489 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32490 <kernel-features.h>.
32491 [__NR_fadvise64_64]: Make code unconditional.
32492 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32493 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32494 !__NR_fadvise64_64)]: Likewise.
32495 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32496 !__NR_fadvise64_64))]: Likewise.
32497 [__NR_fadvise64]: Make code unconditional.
32498 [!__NR_fadvise64]: Remove conditional code.
32499 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32500 <kernel-features.h>.
32501 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32503 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32506 not include <kernel-features.h>.
32507 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32509 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32511 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32512 include <kernel-features.h>.
32513 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32515 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32518 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32520 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32521 slight instruction rearrangements per scrollpipe analysis.
32522 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32524 2012-08-20 Roland McGrath <roland@hack.frob.com>
32526 * manual/syslog.texi (syslog; vsyslog, closelog):
32527 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32528 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32530 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32531 DSOCAPS to match condition on defining it.
32533 2012-08-20 Joseph Myers <joseph@codesourcery.com>
32535 * sysdeps/unix/sysv/linux/kernel-features.h
32536 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32538 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32539 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32541 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32542 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32544 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32545 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32547 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32548 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32550 * sysdeps/unix/sysv/linux/kernel-features.h
32551 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32552 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32554 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32555 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32556 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32557 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32558 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32559 Make code unconditional.
32560 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32561 (__mmap64) [!__NR_mmap2]: Likewise.
32562 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32563 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32564 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32565 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32566 [__NR_mmap2]: Make code unconditional.
32567 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32568 (__mmap64) [!__NR_mmap2]: Likewise.
32570 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32572 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32574 2012-08-18 Andreas Jaeger <aj@suse.de>
32576 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32578 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32580 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32581 * include/unistd.h (__have_sock_cloexec): Likewise.
32582 (__have_pipe2): Likewise.
32583 (__have_dup3): Likewise.
32585 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32588 * include/unistd.h (__have_pipe2): Change define into an extern int.
32589 (__have_dup3): Likewise.
32590 * socket/have_sock_cloexec.c: Include fcntl.h.
32591 (__have_pipe2): New variable.
32592 (__have_dup3): Likewise.
32594 2012-08-17 Mike Frysinger <vapier@gentoo.org>
32596 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32598 2012-08-17 Marek Polacek <polacek@redhat.com>
32600 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32601 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32603 2012-08-17 Roland McGrath <roland@hack.frob.com>
32605 * configure.in: Add AC_SUBST for sysheaders.
32606 * configure: Regenerated.
32607 * config.make.in (sysheaders): New substituted variable.
32609 * sysdeps/unix/mkfifo.c: Moved ...
32610 * sysdeps/posix/mkfifo.c: ... here.
32611 * sysdeps/unix/mkfifoat.c: Moved ...
32612 * sysdeps/posix/mkfifoat.c: ... here.
32614 * sysdeps/unix/utime.c: Moved ...
32615 * sysdeps/posix/utime.c: ... here.
32617 * sysdeps/unix/time.c: Moved ...
32618 * sysdeps/posix/time.c: ... here.
32619 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32620 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32622 * sysdeps/unix/nice.c: Moved ...
32623 * sysdeps/posix/nice.c: ... here.
32625 * sysdeps/unix/alarm.c: Moved ...
32626 * sysdeps/posix/alarm.c: ... here.
32628 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32630 2012-08-17 Jeff Law <law@redhat.com>
32632 * intl/Makefile (codeset_mo): New variable.
32633 ($(codeset_mo)): New target.
32634 (tst-codeset.out): Depend on that. Remove explicit rule.
32635 (tst-gettext3.out, tst-gettext5.out): Likewise.
32636 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32637 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32638 * intl/tst-codeset.sh: Remove.
32639 * intl/tst-gettext3.sh: Likewise.
32640 * intl/tst-gettext5.sh: Likewise.
32642 2012-08-17 Roland McGrath <roland@hack.frob.com>
32644 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32645 * sysdeps/unix/syscalls.list: ... here.
32647 * sysdeps/posix/getaddrinfo.c
32648 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32649 (gaiconf_init, gaiconf_reload): Use them.
32650 [!_STATBUF_ST_NSEC]
32651 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32652 Define using time_t rather than struct timespec.
32654 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32655 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32657 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32659 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32660 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32663 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32664 __libc_cleanup_push argument.
32666 * bits/param.h: New file.
32667 * misc/sys/param.h: New file.
32668 * include/sys/param.h: New file.
32669 * misc/Makefile (headers): Add bits/param.h.
32670 * sysdeps/generic/sys/param.h: File removed.
32671 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32672 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32673 * sysdeps/mach/hurd/bits/param.h: New file.
32674 * sysdeps/mach/hurd/sys/param.h: File removed.
32676 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32679 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32681 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32682 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32685 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32686 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32687 rather than -D_IO_MTSAFE_IO conditionally.
32688 * stdio-common/Makefile (CPPFLAGS): Likewise.
32689 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32690 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32691 Use $(libio-mtsafe).
32692 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32693 of -D_IO_MTSAFE_IO.
32694 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32695 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32696 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32697 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32698 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32699 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32700 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32701 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32702 (CFLAGS-fread_u_chk.c): Likewise.
32703 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32704 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32705 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32706 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32707 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32708 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32709 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32710 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32711 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32713 * libio/Makefile: Test [$(libc-reentrant) = yes]
32714 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32717 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32718 * sysdeps/pthread/configure: File removed.
32719 * sysdeps/pthread/Makeconfig: New file.
32720 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32721 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32723 2012-08-16 Gary Benson <gbenson@redhat.com>
32725 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32726 unmapping the first object in a namespace.
32728 2012-08-16 Roland McGrath <roland@hack.frob.com>
32730 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32731 (__internal_setnetgrent): ... this. Add internal_function to
32732 definition. Add libc_hidden_def.
32733 (setnetgrent): Update caller.
32734 (internal_endnetgrent): Renamed to ...
32735 (__internal_endnetgrent): ... this. Add internal_function to
32736 definition. Add libc_hidden_def.
32737 (endnetgrent): Update caller.
32738 (internal_getnetgrent_r): Renamed to ...
32739 (__internal_getnetgrent_r): ... this. Add internal_function to
32740 definition. Add libc_hidden_def.
32741 (__getnetgrent_r): Update caller.
32742 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32744 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32746 * stdlib/longlong.h: Update from GCC.
32748 2012-08-16 Roland McGrath <roland@hack.frob.com>
32750 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32751 on _QL, which is set by umul_ppmm but never used.
32752 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32753 variables, which are set by GMP macros but never used.
32754 * stdio-common/_itowa.c (_itowa): Likewise.
32755 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32756 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32758 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32760 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32761 struct La_sh_regs is not constant.
32762 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32763 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32764 and struct La_sparc64_regs are not constant.
32766 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32768 * sysdeps/unix/sysv/linux/kernel-features.h
32769 (__ASSUME_POSIX_TIMERS): Remove.
32770 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32771 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32772 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32773 Make code unconditional.
32774 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32775 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32776 Make code unconditional.
32777 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32778 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32779 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32780 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32781 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32782 Make code unconditional.
32783 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32784 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32785 (__libc_missing_posix_timers): Remove.
32787 2012-08-15 Roland McGrath <roland@hack.frob.com>
32789 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32790 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32792 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32794 * elf/dl-sym.c: Include <stdlib.h>.
32796 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32797 constants, which avoids warnings in 32-bit builds.
32799 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32800 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32802 * misc/lseek.c: File moved to ...
32803 * io/lseek.c: ... here.
32805 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32807 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32808 shifting LEN more than 31 bits at once.
32810 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32813 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32814 segmentation fault for a case of two empty input strings.
32815 * string/test-strncasecmp.c (check1): Renamed to...
32816 (bz12205): ...this.
32817 (bz14195): Add new testcase for two empty input strings and N > 0.
32818 (test_main): Call new testcase, adapt for renamed function.
32820 2012-08-15 Andreas Jaeger <aj@suse.de>
32823 * crypt/md5test2.c: New test, based on test supplied by Serge
32824 Belyshev <belyshev@depni.sinp.msu.ru>.
32825 * crypt/Makefile (xtests): Add md5test-giant..
32826 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32828 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32831 * crypt/md5.c (md5_process_block): Don't assume the buffer
32832 length is less than 2**32.
32833 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32834 length is less than 2**64.
32836 2012-08-15 Roland McGrath <roland@hack.frob.com>
32838 * string/str-two-way.h: Include <sys/param.h>.
32839 (MAX): Macro removed.
32841 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32842 Move #define and #undef of memmove to just before and after
32843 including <string.h>.
32845 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32846 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32847 and after including <string.h>. Move declarations of
32848 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32849 to before #include "string/memmove.c".
32851 * include/dirent.h: Declare __getdirentries.
32853 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32854 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32856 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32858 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32859 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32860 * sysdeps/i386/configure: Regenerated.
32861 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32862 STABS_CURRENT_FILE, and STABS_FUN.
32863 (END): Remove call to STABS_FUN_END.
32864 (STABS_CURRENT_FILE1): Delete.
32865 (STABS_CURRENT_FILE): Likewise.
32866 (STABS_FUN): Likewise.
32867 (STABS_FUN_END): Likewise.
32868 (STABS_FUN2): Likewise.
32869 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32870 * sysdeps/x86_64/configure: Regenerated.
32872 2012-08-14 Roland McGrath <roland@hack.frob.com>
32874 * elf/dl-open.c: Include <atomic.h>.
32875 * elf/dl-lookup.c: Likewise.
32877 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32879 * sysdeps/unix/sysv/linux/kernel-features.h
32880 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32881 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32883 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32885 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32886 condition on __ASSUME_CLONE_THREAD_FLAGS.
32888 2012-08-14 Andreas Jaeger <aj@suse.de>
32890 * sysdeps/i386/fpu/libm-test-ulps: Update.
32892 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32894 * include/atomic.h (atomic_exchange_and_add): Split into ...
32895 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32898 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32902 2012-08-13 Jeff Law <law@redhat.com>
32904 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32905 null byte in the output string.
32907 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32909 * sysdeps/unix/sysv/linux/kernel-features.h
32910 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32911 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32912 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32913 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32914 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32915 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32916 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32918 2012-08-09 Jeff Law <law@redhat.com>
32921 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32922 When avoid_arena is set, don't retry in the that arena. Pick the
32923 next one, whatever it might be.
32924 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32925 (arena_lock): Pass in new parameter to arena_get2.
32926 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32928 (__libc_malloc): Unify retrying after main arena failure with
32929 __libc_memalign version.
32930 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32932 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32935 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32936 to __redirect_strstr.
32937 (__strstr_sse42): Use typeof __redirect_strstr.
32938 (__strstr_ia32): Likewise.
32939 (__libc_strstr): New prototype.
32940 (strstr): Renamed to ...
32941 (__libc_strstr): This.
32942 (strstr): New strong alias of __libc_strstr.
32943 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32944 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32947 (__libc_time): New prototype.
32948 (time_ifunc): Replace time with __libc_time.
32949 (time): New strong alias and hidden definition of __libc_time.
32950 (__GI_time): Remove strong alias.
32951 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32952 Include <stddef.h>.
32953 (memmove): Redefined to __redirect_memmove.
32954 (__memmove_sse2): Use typeof __redirect_memmove.
32955 (__memmove_ssse3): Likewise.
32956 (__memmove_ssse3_back): Likewise.
32957 (__libc_memmove): New prototype.
32958 (memmove): Renamed to ...
32959 (__libc_memmove): This.
32960 (memmove): New strong alias of __libc_memmove.
32962 2012-08-08 Mark Salter <msalter@redhat.com>
32965 (R_MN10300_TLS_GD): Define.
32966 (R_MN10300_TLS_LD): Likewise.
32967 (R_MN10300_TLS_LDO): Likewise.
32968 (R_MN10300_TLS_GOTIE): Likewise.
32969 (R_MN10300_TLS_IE): Likewise.
32970 (R_MN10300_TLS_LE): Likewise.
32971 (R_MN10300_TLS_DTPMOD): Likewise.
32972 (R_MN10300_TLS_DTPOFF): Likewise.
32973 (R_MN10300_TLS_TPOFF): Likewise.
32974 (R_MN10300_SYM_DIFF): Likewise.
32975 (R_MN10300_ALIGN): Likewise.
32976 (R_MN10300_NUM): Update.
32978 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32980 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32983 2012-08-08 Roland McGrath <roland@hack.frob.com>
32985 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32987 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32988 sysdeps/unix -> sysdeps/posix move.
32989 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32991 2012-08-07 Allan McRae <allan@archlinux.org>
32994 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32995 (SUNOS_CPP): Likewise.
32996 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32998 (open_input): Call CPP using execvp.
33000 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33002 * sysdeps/unix/sysv/linux/kernel-features.h
33003 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33004 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33005 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33006 (__ASSUME_WAITID_SYSCALL): Likewise.
33007 * sysdeps/unix/sysv/linux/dl-execstack.c
33008 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33009 code unconditional.
33010 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33012 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33013 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33014 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33016 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33018 [__ASSUME_WAITID_SYSCALL]: Likewise.
33019 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33021 2012-08-07 Roland McGrath <roland@hack.frob.com>
33023 * sysdeps/unix/closedir.c: Renamed to ...
33024 * sysdeps/posix/closedir.c: ... here.
33025 * sysdeps/unix/dirfd.c: Renamed to ...
33026 * sysdeps/posix/dirfd.c: ... here.
33027 * sysdeps/unix/dirstream.h: Renamed to ...
33028 * sysdeps/posix/dirstream.h: ... here.
33029 * sysdeps/unix/fdopendir.c: Renamed to ...
33030 * sysdeps/posix/fdopendir.c: ... here.
33031 * sysdeps/unix/opendir.c: Renamed to ...
33032 * sysdeps/posix/opendir.c: ... here.
33033 * sysdeps/unix/readdir.c: Renamed to ...
33034 * sysdeps/posix/readdir.c: ... here.
33035 * sysdeps/unix/readdir_r.c: Renamed to ...
33036 * sysdeps/posix/readdir_r.c: ... here.
33037 * sysdeps/unix/rewinddir.c: Renamed to ...
33038 * sysdeps/posix/rewinddir.c: ... here.
33039 * sysdeps/unix/seekdir.c: Renamed to ...
33040 * sysdeps/posix/seekdir.c: ... here.
33041 * sysdeps/unix/telldir.c: Renamed to ...
33042 * sysdeps/posix/telldir.c: ... here.
33043 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33044 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33045 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33046 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33048 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33049 * bits/fcntl.h: ... here.
33051 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33053 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33054 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33055 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33056 (struct flock): Move l_start, l_len to the beginning.
33057 Use __pid_t for l_pid.
33058 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33059 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33060 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33061 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33062 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33063 [__USE_LARGEFILE64] (struct flock64): New type.
33064 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33066 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33067 * bits/dirent.h: ... here.
33069 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33070 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33072 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33074 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33075 Change from 2.6.0 to 2.6.16.
33076 * sysdeps/unix/sysv/linux/configure: Regenerated.
33077 * sysdeps/unix/sysv/linux/kernel-features.h
33078 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33079 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33081 (__ASSUME_UTIMES): Likewise.
33082 (__ASSUME_CLONE_STOPPED): Remove.
33083 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33084 architectures, not kernel version.
33085 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33086 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33087 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33088 (__ASSUME_WAITID_SYSCALL): Likewise.
33089 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33090 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33091 * README: State 2.6.16 as minimum Linux kernel version. Do not
33092 refer to older versions.
33094 2012-08-06 Roland McGrath <roland@hack.frob.com>
33096 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33097 Define alphasort64 as an alias.
33098 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33099 Define versionsort64 as an alias.
33100 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33101 Define scandir64 as an alias.
33102 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33103 Define scandirat64 as an alias.
33104 * dirent/alphasort64.c (alphasort64):
33105 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33106 * dirent/versionsort64.c: Likewise.
33107 * dirent/scandir64.c: Likewise.
33108 * dirent/scandirat64.c: Likewise.
33109 * sysdeps/wordsize-64/alphasort.c: File removed.
33110 * sysdeps/wordsize-64/alphasort64.c: File removed.
33111 * sysdeps/wordsize-64/scandir.c: File removed.
33112 * sysdeps/wordsize-64/scandir64.c: File removed.
33113 * sysdeps/wordsize-64/scandirat.c: File removed.
33114 * sysdeps/wordsize-64/scandirat64.c: File removed.
33115 * sysdeps/wordsize-64/versionsort.c: File removed.
33116 * sysdeps/wordsize-64/versionsort64.c: File removed.
33117 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33118 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33119 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33120 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33121 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33122 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33123 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33124 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33126 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33127 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33128 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33129 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33130 [defined __arch64__ || defined __sparcv9]
33131 (__INO_T_MATCHES_INO64_T): New macro.
33132 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33133 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33134 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33135 * sysdeps/unix/sysv/linux/bits/dirent.h
33136 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33137 (_DIRENT_MATCHES_DIRENT64): New macro.
33139 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33140 Define lockf64 as an alias.
33141 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33142 Define fseeko64 as an alias.
33143 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33144 Define ftello64 as an alias.
33145 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33146 Define _IO_fgetpos64 and fgetpos64 as aliases.
33147 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33148 Define _IO_fsetpos64 and fsetpos64 as aliases.
33149 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33150 Conditionalize body on this.
33151 * libio/fseeko64.c: Likewise.
33152 * libio/ftello64.c: Likewise.
33153 * libio/iofgetpos64.c: Likewise.
33154 * libio/iofsetpos64.c: Likewise.
33155 * sysdeps/wordsize-64/lockf.c: File removed.
33156 * sysdeps/wordsize-64/lockf64.c: File removed.
33157 * sysdeps/wordsize-64/fseeko.c: File removed.
33158 * sysdeps/wordsize-64/fseeko64.c: File removed.
33159 * sysdeps/wordsize-64/ftello.c: File removed.
33160 * sysdeps/wordsize-64/ftello64.c: File removed.
33161 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33162 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33163 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33164 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33165 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33166 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33167 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33168 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33169 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33170 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33171 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33172 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33173 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33174 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33176 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33177 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33178 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33180 [defined __arch64__ || defined __sparcv9]
33181 (__OFF_T_MATCHES_OFF64_T): New macro.
33182 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33183 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33185 (__OFF_T_MATCHES_OFF64_T): New macro.
33187 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33189 * stdlib/secure-getenv.c (__secure_getenv): Replace
33190 GLIBC_2_16 with GLIBC_2_17.
33192 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33194 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33195 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33197 2012-08-03 David S. Miller <davem@davemloft.net>
33199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33201 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33203 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33205 (__ASSUME_CORRECT_SI_PID): Likewise.
33206 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33207 (__ASSUME_TMPFS_NAME): Likewise.
33208 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33209 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33210 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33211 (HAVE_AUX_SECURE): Make definition unconditional.
33212 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33213 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33215 2012-08-03 Roland McGrath <roland@hack.frob.com>
33217 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33218 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33219 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33220 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33221 __eloop_threshold instead of SYMLOOP_MAX.
33223 * sysdeps/generic/eloop-threshold.h: New file.
33224 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33226 * elf/chroot_canon.c (chroot_canon): Likewise.
33228 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33231 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33232 Change to 2.6.0 everywhere.
33233 * sysdeps/unix/sysv/linux/configure: Regenerated.
33234 * sysdeps/unix/sysv/linux/kernel-features.h
33235 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33236 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33238 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33239 (__ASSUME_FUTEX_REQUEUE): Remove.
33240 (__ASSUME_STATFS64): Define unconditionally.
33241 (__ASSUME_AT_SECURE): Likewise.
33242 (__ASSUME_CORRECT_SI_PID): Likewise.
33243 (__ASSUME_TGKILL): Define without depending on kernel version for
33245 (__ASSUME_UTIMES): Likewise.
33246 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33248 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33249 (__ASSUME_TMPFS_NAME): Likewise.
33250 * README: Update reference to Linux kernel versions.
33252 2012-08-02 Marek Polacek <polacek@redhat.com>
33255 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33256 libc_cv_asm_type_prefix with %.
33257 * configure: Regenerated.
33258 * include/libc-symbols.h: Remove comment about
33259 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33260 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33261 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33262 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33263 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33264 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33265 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33266 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33267 * elf/tst-unique2mod1.c: Likewise.
33268 * elf/tst-unique1mod2.c: Likewise.
33269 * elf/tst-unique1mod1.c: Likewise.
33270 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33271 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33272 Replace ASM_TYPE_DIRECTIVE with .type.
33273 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33274 * sysdeps/i386/sysdep.h: Likewise.
33275 * sysdeps/x86_64/sysdep.h: Likewise.
33276 * sysdeps/sh/sysdep.h: Likewise.
33277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33278 Do not define ASM_TYPE_DIRECTIVE.
33279 * sysdeps/powerpc/sysdep.h: Likewise.
33280 * sysdeps/powerpc/powerpc32/sysdep.h:
33281 Replace ASM_TYPE_DIRECTIVE with .type.
33282 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33283 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33284 * sysdeps/i386/fpu/e_powf.S: Likewise.
33285 * sysdeps/i386/fpu/e_expl.S: Likewise.
33286 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33287 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33288 * sysdeps/i386/fpu/e_pow.S: Likewise.
33289 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33290 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33291 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33292 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33293 * sysdeps/i386/fpu/e_log2.S: Likewise.
33294 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33295 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33296 * sysdeps/i386/fpu/e_powl.S: Likewise.
33297 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33298 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33299 * sysdeps/i386/fpu/e_logl.S: Likewise.
33300 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33301 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33302 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33303 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33304 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33305 * sysdeps/i386/fpu/e_log.S: Likewise.
33306 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33307 * sysdeps/i386/fpu/e_logf.S: Likewise.
33308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33309 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33310 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33311 * sysdeps/i386/fpu/e_log10.S: Likewise.
33312 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33313 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33314 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33315 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33316 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33317 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33318 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33319 * sysdeps/i386/i686/strtok.S: Likewise.
33320 * sysdeps/i386/i386-mcount.S: Likewise.
33321 * sysdeps/i386/strtok.S: Likewise.
33322 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33323 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33324 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33325 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33326 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33327 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33328 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33329 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33330 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33331 * sysdeps/x86_64/_mcount.S: Likewise.
33332 * sysdeps/x86_64/strtok.S: Likewise.
33333 * sysdeps/sh/_mcount.S: Likewise.
33335 2012-08-01 Roland McGrath <roland@hack.frob.com>
33337 * libio/iofopen.c: Include <fcntl.h>.
33338 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33339 (_IO_fopen64, fopen64): Define as aliases.
33340 * libio/iofopen64.c: Include <fcntl.h>.
33341 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33342 Conditionalize body on this.
33343 * sysdeps/wordsize-64/iofopen.c: File removed.
33344 * sysdeps/wordsize-64/iofopen64.c: File removed.
33346 2012-08-01 Marek Polacek <polacek@redhat.com>
33348 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33349 Use dlfcn directly instead of a variable.
33350 (binfmt-subdir): Do not define.
33353 2012-08-01 Joseph Myers <joseph@codesourcery.com>
33355 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33356 Remove all definitions.
33357 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33358 <kernel-features.h>.
33359 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33360 (miss_F_GETOWN_EX): Remove all definitions.
33361 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33363 [!__ASSUME_FCNTL64]: Remove conditional code.
33364 [__ASSUME_FCNTL64]: Make code unconditional.
33365 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33366 <kernel-features.h>.
33367 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33368 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33369 (lockf64) [__NR_fcntl64]: Make code unconditional.
33370 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33372 * sysdeps/unix/sysv/linux/kernel-features.h
33373 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33374 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33375 Make code unconditional.
33376 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33377 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33379 [__NR_vfork]: Make code unconditional.
33380 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33381 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33383 [__NR_vfork]: Make code unconditional.
33384 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33385 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33387 2012-08-01 Roland McGrath <roland@hack.frob.com>
33389 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33390 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33392 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33393 Define mkstemp64 as an alias.
33394 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33395 Define mkstemps64 as an alias.
33396 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33397 Define mkostemp64 as an alias.
33398 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33399 Define mkostemps64 as an alias.
33400 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33401 Conditionalize body on this.
33402 * misc/mkostemp64.c: Likewise.
33403 * misc/mkostemps64.c: Likewise.
33404 * misc/mkstemps64.c: Likewise.
33405 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33406 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33407 * sysdeps/wordsize-64/mkostemp.c: File removed.
33408 * sysdeps/wordsize-64/mkstemp.c: File removed.
33409 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33410 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33411 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33412 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33415 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33416 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33417 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33418 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33420 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33421 compat_symbol macros from <shlib-compat.h> rather than the underlying
33422 default_symbol_version and symbol_version macros, so that DEFAULT
33423 lines in shlib-versions are respected.
33424 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33426 2012-08-01 Florian Weimer <fweimer@redhat.com>
33428 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33429 Declare with warn_unused_result.
33430 (setgid, setregid, setegid, setresgid): Likewise.
33431 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33433 * WUR-REPORT: Remove set*id functions.
33435 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33437 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33439 2012-07-31 Roland McGrath <roland@hack.frob.com>
33442 * include/sys/socket.h (__libc_accept, __libc_accept4):
33443 Add attribute_hidden.
33444 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33446 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33448 * inet/getnetgrent_r.c (setup): Likewise.
33450 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33452 2012-07-31 David S. Miller <davem@davemloft.net>
33454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33456 2012-07-31 Joseph Myers <joseph@codesourcery.com>
33459 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33460 value between 1.0 and 2.0 and smaller part has absolute value less
33462 * math/s_clog10.c (__clog10): Likewise.
33463 * math/s_clog10f.c (__clog10f): Likewise.
33464 * math/s_clog10l.c (__clog10l): Likewise.
33465 * math/s_clogf.c (__clogf): Likewise.
33466 * math/s_clogl.c (__clogl): Likewise.
33467 * math/libm-test.inc (clog_test): Add more tests.
33468 (clog10_test): Likewise.
33469 * sysdeps/i386/fpu/libm-test-ulps: Update.
33470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33472 2012-07-31 Florian Weimer <fweimer@redhat.com>
33474 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33475 Exit with zero in case no suitable GID is found, and write a
33476 message to standard error.
33478 2012-07-30 Roland McGrath <roland@hack.frob.com>
33480 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33482 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33483 (MAXPATHLEN): Removed.
33484 (NOGROUP, NODEV): New macros.
33485 (setbit, clrbit, isset, isclr): New macros.
33486 (howmany, roundup, powerof2): New macros.
33487 (DEV_BSIZE): New macro.
33489 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33490 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33492 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33493 definition on [!__NO_LONG_DOUBLE_MATH].
33495 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33496 PTR_MANGLE and PTR_DEMANGLE.
33498 * socket/accept4.c (accept4): Rename to __libc_accept4.
33499 Define accept4 as a weak alias.
33501 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33502 on [_DIRENT_HAVE_D_TYPE].
33503 * io/ftw.c (ftw_dir): Likewise.
33505 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33507 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33509 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33510 Use the BSD numbers rather than the arbitrary ones we had.
33511 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33512 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33513 (SIGXCPU, SIGXFSZ): New macros.
33516 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33517 initializer on [_LIBC_REENTRANT].
33519 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33520 definitions inside [_POSIX_MAPPED_FILES].
33522 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33524 * dirent/opendir.c: Include <fcntl.h>.
33526 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33527 (__libc_getspecific): Likewise.
33528 (__libc_key_create): Likewise.
33530 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33531 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33532 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33533 (tmpfile64): Define as alias.
33534 * sysdeps/wordsize-64/tmpfile.c: File removed.
33535 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33536 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33537 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33539 * stdio-common/vfscanf.c: Include <stdbool.h>.
33540 * nss/makedb.c: Likewise.
33541 * stdio-common/_i18n_number.h: Likewise.
33542 * argp/argp-help.c: Likewise.
33543 * posix/wordexp.c: Likewise.
33544 * sysdeps/posix/spawni.c: Likewise.
33545 * nss/nss_files/files-initgroups.c: Likewise.
33546 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33547 * nss/nss_files/files-initgroups.c: Likewise.
33548 * nss/nss_db/db-netgrp.c: Likewise.
33549 * nss/nss_db/db-initgroups.c: Likewise.
33550 * io/fchmodat.c: Include <sys/stat.h>.
33552 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33553 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33555 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33558 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33559 Add multiple inclusion protection.
33561 2012-07-27 David S. Miller <davem@davemloft.net>
33563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33565 2012-07-27 Gary Benson <gbenson@redhat.com>
33568 * elf/rtld.c: Include <stap-probe.h>.
33569 (dl_main): Added static probes "init_start" and "init_complete".
33570 * elf/dl-load.c: Include <stap-probe.h>.
33571 (lose): Take new parameter "nsid".
33572 Added static probe "map_failed".
33573 (_dl_map_object_from_fd): Pass namespace id to lose.
33574 Added static probe "map_start".
33575 (open_verify): Pass namespace id to lose.
33576 * elf/dl-open.c: Include <stap-probe.h>.
33577 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33578 and "reloc_complete".
33579 * elf/dl-close.c: Include <stap-probe.h>.
33580 (_dl_close_worker): Added static probes "unmap_start" and
33582 * elf/rtld-debugger-interface.txt: New file documenting the above.
33584 2012-07-26 Roland McGrath <roland@hack.frob.com>
33586 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33587 rather than a string variable.
33588 * sunrpc/rpc_main.c (h_output): Likewise.
33589 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33591 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33593 * inet/check_native.c: New file.
33595 2012-07-26 Joseph Myers <joseph@codesourcery.com>
33598 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33599 if larger part has absolute value 1.0.
33600 * math/s_clog10.c (__clog10): Likewise.
33601 * math/s_clog10f.c (__clog10f): Likewise.
33602 * math/s_clog10l.c (__clog10l): Likewise.
33603 * math/s_clogf.c (__clogf): Likewise.
33604 * math/s_clogl.c (__clogl): Likewise.
33605 * math/libm-test.inc (clog_test): Add more tests.
33606 (clog10_test): Likewise.
33607 * sysdeps/i386/fpu/libm-test-ulps: Update.
33608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33610 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33611 (pltexit): Likewise.
33612 (La_regs): Likewise.
33613 (La_retval): Likewise.
33614 (int_retval): Likewise.
33615 Update #error for removed macros to refer only to definitions in
33617 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33619 (pltexit): Likewise.
33620 (La_regs): Likewise.
33621 (La_retval): Likewise.
33622 (int_retval): Likewise.
33623 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33625 (pltexit): Likewise.
33626 (La_regs): Likewise.
33627 (La_retval): Likewise.
33628 (int_retval): Likewise.
33629 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33631 (pltexit): Likewise.
33632 (La_regs): Likewise.
33633 (La_retval): Likewise.
33634 (int_retval): Likewise.
33635 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33637 (pltexit): Likewise.
33638 (La_regs): Likewise.
33639 (La_retval): Likewise.
33640 (int_retval): Likewise.
33641 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33643 (pltexit): Likewise.
33644 (La_regs): Likewise.
33645 (La_retval): Likewise.
33646 (int_retval): Likewise.
33647 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33649 (pltexit): Likewise.
33650 (La_regs): Likewise.
33651 (La_retval): Likewise.
33652 (int_retval): Likewise.
33653 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33654 macro definitions in tst-audit.h.
33655 * sysdeps/i386/tst-audit.h: New file.
33656 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33657 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33658 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33659 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33660 * sysdeps/sh/tst-audit.h: Likewise.
33661 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33662 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33663 * sysdeps/x86_64/tst-audit.h: Likewise.
33665 2012-07-26 Andreas Jaeger <aj@suse.de>
33667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33670 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33671 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33672 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33674 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33675 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33676 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33678 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33681 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33683 (si_call_addr, si_syscall, si_arch): Define new macro.
33684 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33686 (si_call_addr, si_syscall, si_arch): Define new marcro.
33687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33689 (si_call_addr, si_syscall, si_arch): Define new macro.
33690 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33692 (si_call_addr, si_syscall, si_arch): Define new macro.
33694 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33697 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33698 Change to 2.4.21 where previously 2.4.1.
33699 * sysdeps/unix/sysv/linux/configure: Regenerated.
33700 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33701 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33702 Linux kernel version.
33703 (__ASSUME_STD_AUXV): Remove.
33704 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33706 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33707 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33708 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33709 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33710 (__ASSUME_NETLINK_SUPPORT): Likewise.
33711 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33712 (__no_netlink_support): Remove conditional definition.
33713 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33715 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33716 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33717 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33718 (if_nameindex_ioctl): Remove.
33719 (if_nameindex_netlink): Do not handle __no_netlink_support.
33720 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33722 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33723 Remove conditional code.
33724 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33726 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33728 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33729 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33730 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33732 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33733 [!__ASSUME_STD_AUXV]: Remove conditional code.
33734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33735 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33736 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33738 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33739 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33741 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33743 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33744 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33746 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33748 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33751 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33754 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33755 code unconditional.
33756 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33758 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33760 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33763 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33765 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33768 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33769 code unconditional.
33770 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33772 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33774 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33777 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33778 code unconditional.
33779 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33781 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33783 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33786 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33788 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33789 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33790 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33791 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33792 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33793 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33794 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33795 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33796 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33797 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33798 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33799 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33800 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33801 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33802 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33803 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33804 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33805 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33806 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33808 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33809 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33810 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33812 2012-07-25 Florian Weimer <fweimer@redhat.com>
33814 * Versions.def: Add GLIBC_2.17.
33815 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33816 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33817 Introduce __libc_secure_getenv.
33818 * stdlib/Versions (2.17): Add secure_getenv
33819 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33820 * stdlib/secure-getenv.c: Rename __secure_getenv to
33821 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33822 symbol __secure_getenv for GLIBC_2.0.
33823 * stdlib/tst-secure-getenv.c: New.
33824 * stdlib/Makefile (tests): Add testcase.
33825 * manual/startup.texi (Environment Access): Document
33827 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33828 __libc_secure_getenv.
33829 * inet/ruserpass.c (ruserpass): Likewise.
33830 * malloc/mtrace.c (mtrace): Likewise.
33831 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33832 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33833 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33834 * sysdeps/posix/tempname.c: Likewise. Evaluate
33835 HAVE_SECURE_GETENV.
33836 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33837 __secure_getenv to __libc_secure_getenv.
33838 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33851 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33853 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33854 (struct La_i86_retval): Likewise.
33855 (struct La_x86_64_regs): Likewise.
33856 (struct La_x86_64_retval): Likewise.
33857 (struct La_x32_regs): Likewise.
33858 (struct La_x32_retval): Likewise.
33859 (struct La_ppc32_regs): Likewise.
33860 (struct La_ppc32_retval): Likewise.
33861 (struct La_ppc64_regs): Likewise.
33862 (struct La_ppc64_retval): Likewise.
33863 (struct La_sh_regs): Likewise.
33864 (struct La_sh_retval): Likewise.
33865 (struct La_s390_32_regs): Likewise.
33866 (struct La_s390_32_retval): Likewise.
33867 (struct La_s390_64_regs): Likewise.
33868 (struct La_s390_64_retval): Likewise.
33869 (struct La_sparc32_regs): Likewise.
33870 (struct La_sparc32_retval): Likewise.
33871 (struct La_sparc64_regs): Likewise.
33872 (struct La_sparc64_retval): Likewise.
33873 (struct audit_ifaces): Remove architecture-specific pltenter and
33875 * sysdeps/i386/ldsodefs.h: New file.
33876 * sysdeps/powerpc/ldsodefs.h: Likewise.
33877 * sysdeps/s390/ldsodefs.h: Likewise.
33878 * sysdeps/sh/ldsodefs.h: Likewise.
33879 * sysdeps/sparc/ldsodefs.h: Likewise.
33880 * sysdeps/x86_64/ldsodefs.h: Likewise.
33882 2012-07-25 Marek Polacek <polacek@redhat.com>
33885 * math/libm-test.inc (yn_test): Add another test.
33886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33887 to ERANGE when the result is +-Inf.
33888 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33889 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33890 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33891 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33893 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33895 * conform/data/time.h-data (NULL): Use macro-constant. Require
33897 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33899 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33901 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33903 * configure.in <sysdeps resolving>: Correct printing
33905 * configure: Regenerate.
33907 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33909 * math/w_ilogb.c: Include <limits.h>.
33910 * math/w_ilogbl.c: Likewise.
33912 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33914 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33915 va_copy. Document allowing for unavailable va_copy only as
33916 pre-C99 compatibility.
33917 * manual/string.texi (Copying and Concatenation): Use va_copy
33918 instead of __va_copy in concat example.
33920 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33922 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33923 (__sendto): Use create_address_port. Initialize APORT and deallocate
33926 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33927 with O_NOLINK passed to __file_name_lookup.
33929 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33930 with O_NOLINK passed to __file_name_lookup.
33932 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33933 negative N or less than NGIDS.
33935 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33936 type to string_t. Set ERANGE as errno and return it if NAME is not big
33937 enough. Use memcpy instead of strncpy.
33939 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33941 * elf/Makefile (check-data): Remove.
33942 (localplt.data): New vpath directive.
33943 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33944 instead of $(check-data).
33945 * scripts/data/localplt-generic.data: Move to ...
33946 * sysdeps/generic/localplt.data: ... here.
33947 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33948 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33949 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33952 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33955 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33958 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33961 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33964 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33968 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33970 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33971 PPC32 and PPC64 files.
33972 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33973 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33975 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33977 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33978 __makecontext_ret to ...
33979 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33980 ... here and call exit if uc_link is NULL. New file.
33981 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33982 __makecontext_ret.S.
33983 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33984 __makecontext_ret to ...
33985 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33986 ... here and call exit if uc_link is NULL. New file.
33987 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33988 __makecontext_ret.S.
33990 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33992 * elf/elf.h (R_390_IRELATIVE): New definition.
33993 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33994 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33995 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33996 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33997 (elf_machine_lazy_rel): Likewise.
33998 * sysdeps/s390/dl-irel.h: New file.
33999 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34000 * sysdeps/s390/s390-64/memset.S: New asm code.
34001 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34002 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34003 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34004 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34005 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34006 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34007 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34008 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34009 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34010 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34011 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34012 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34013 * sysdeps/s390/s390-32/memset.S: New asm code.
34014 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34016 2012-07-17 Marek Polacek <polacek@redhat.com>
34019 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34020 * sysdeps/s390/s390-64/configure.in: Likewise.
34021 * sysdeps/sparc/configure.in: Likewise.
34022 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34023 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34024 * sysdeps/i386/configure.in: Likewise.
34025 * sysdeps/x86_64/configure.in: Likewise.
34026 * sysdeps/sh/configure.in: Likewise.
34027 * sysdeps/s390/s390-32/configure: Regenerated.
34028 * sysdeps/s390/s390-64/configure: Likewise.
34029 * sysdeps/x86_64/configure: Likewise.
34030 * sysdeps/sh/configure: Likewise.
34031 * sysdeps/powerpc/powerpc64/configure: Likewise.
34032 * sysdeps/powerpc/powerpc32/configure: Likewise.
34033 * sysdeps/sparc/configure: Likwise.
34034 * sysdeps/i386/configure: Likewise.
34036 * elf/dl-open.c: Comment fixes.
34038 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34040 * Makefile [CXX] (check-data): Remove.
34041 [CXX] (c++-types.data): New vpath directive.
34042 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34043 vpath. Do not allow for C++ type data being missing.
34044 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34045 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34046 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34047 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34048 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34049 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34050 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34053 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34056 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34059 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34062 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34065 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34068 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34071 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34074 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34075 definitions to architecture-specific files.
34076 (TLS_IE): Likewise.
34077 (TLS_LD): Likewise.
34078 (TLS_GD): Likewise.
34079 * sysdeps/i386/tls-macros.h: New file.
34080 * sysdeps/powerpc/tls-macros.h: Likewise.
34081 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34082 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34083 * sysdeps/sh/tls-macros.h: Likewise.
34084 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34085 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34086 * sysdeps/x86_64/tls-macros.h: Likewise.
34088 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34090 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34091 zero value for regular exit case.
34093 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34094 (__start_context): Preserve zero value for regular exit case.
34096 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34097 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34099 * manual/setjmp.texi (setcontext): Clarify normal process
34100 termination when uc_link is the null pointer.
34101 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34104 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34106 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34107 preprocessor. Test for each exception mask separately.
34109 2012-07-16 Andreas Jaeger <aj@suse.de>
34111 * po/ru.po: Update from translation team.
34113 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34115 * conform/data/string.h-data (NULL): Use macro-constant. Require
34117 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34118 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34119 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34120 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34121 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34123 2012-07-13 Andreas Jaeger <aj@suse.de>
34125 * po/fr.po: Update from translation team.
34127 2012-07-12 Marek Polacek <polacek@redhat.com>
34130 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34131 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34134 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34137 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34138 Change to 2.4.1 where previously 2.4.0.
34139 * sysdeps/unix/sysv/linux/configure: Regenerated.
34140 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34141 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34143 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34144 (__ASSUME_AT_CLKTCK): Remove.
34145 (__ASSUME_AT_PAGESIZE): Likewise.
34146 (__ASSUME_AT_XID): Likewise.
34147 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34148 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34149 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34151 (HAVE_AUX_PAGESIZE): Likewise.
34152 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34153 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34154 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34156 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34160 the temporary buffer used to invoke __gethostbyname2_r,
34161 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34162 host_data / struct gaih_addrtuple.
34163 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34164 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34165 header file nss/nsswitch.h.
34166 * nss/nsswitch.h (global scope): Add definition of implementation
34167 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34168 resolv/nss_dns/dns-host.c).
34170 2012-07-11 Andreas Jaeger <aj@suse.de>
34172 * po/fr.po: Update from translation team.
34174 * po/sv.po: Update from translation team
34175 * po/fr.po: Another update from translation team.
34177 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34179 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34180 for subnormals or multiply small sinh result by itself.
34181 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34184 2012-07-11 David S. Miller <davem@davemloft.net>
34186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34188 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34191 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34192 (INTERNAL_MARK): Shift it here.
34194 2012-07-10 Marek Polacek <polacek@redhat.com>
34197 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34198 libc_cv_asm_global_directive with .globl.
34199 * configure: Regenerated.
34200 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34202 * sysdeps/i386/configure: Regenerated.
34203 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34205 * sysdeps/x86_64/configure: Regenerated.
34206 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34207 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34208 * elf/tst-unique2mod2.c: Likewise.
34209 * elf/tst-unique2mod1.c: Likewise.
34210 * elf/tst-unique1mod2.c: Likewise.
34211 * elf/tst-unique1mod1.c: Likewise.
34212 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34213 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34215 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34216 * sysdeps/mach/sysdep.h: Likewise.
34217 * sysdeps/i386/sysdep.h: Likewise.
34218 * sysdeps/i386/i386-mcount.S: Likewise.
34219 * sysdeps/x86_64/_mcount.S: Likewise.
34220 * sysdeps/x86_64/sysdep.h: Likewise.
34221 * sysdeps/sh/_mcount.S: Likewise.
34222 * sysdeps/sh/sysdep.h: Likewise.
34223 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34224 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34225 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34226 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34227 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34228 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34229 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34230 * locale/localeinfo.h: Likewise.
34231 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34232 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34234 2012-07-09 Roland McGrath <roland@hack.frob.com>
34237 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34239 * manual/message.texi (The Uniforum approach): Likewise.
34240 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34241 (glibc iconv Implementation): Likewise.
34243 2012-07-09 Joseph Myers <joseph@codesourcery.com>
34246 * math/s_clog.c (__clog): Avoid scaling a value down where that
34247 could result in underflow.
34248 * math/s_clog10.c (__clog10): Likewise.
34249 * math/s_clog10f.c (__clog10f): Likewise.
34250 * math/s_clog10l.c (__clog10l): Likewise.
34251 * math/s_clogf.c (__clogf): Likewise.
34252 * math/s_clogl.c (__clogl): Likewise.
34253 * math/libm-test.inc (clog_test): Add more tests.
34254 (clog10_test): Likewise.
34255 * sysdeps/i386/fpu/libm-test-ulps: Update.
34256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34258 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34261 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34262 by 7 not 8 to examine high bit of fractional part.
34265 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34266 for call to __mcount_internal.
34267 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34268 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34269 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34271 2012-07-06 Joseph Myers <joseph@codesourcery.com>
34274 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34275 approximation for values within 0x1p-13f of an odd multiple of
34277 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34278 exception. Add more tests.
34279 * sysdeps/i386/fpu/libm-test-ulps: Update.
34282 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34283 inputs and return -1 for them. Do not check for +Inf in case not
34284 reachable for +Inf.
34285 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34286 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34287 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34288 and return -1 for them. Do not check for +Inf in case not
34289 reachable for +Inf.
34290 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34292 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34293 and return -1 for them. Do not check for +Inf in case not
34294 reachable for +Inf.
34295 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34296 spurious underflow.
34297 * sysdeps/i386/fpu/libm-test-ulps: Update.
34298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34300 2012-07-06 Mike Frysinger <vapier@gentoo.org>
34302 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34304 2012-07-05 Joseph Myers <joseph@codesourcery.com>
34308 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34309 could result in spurious underflow. Scale down values above
34310 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34311 * math/s_csqrtf.c (__csqrtf): Likewise.
34312 * math/s_csqrtl.c (__csqrtl): Likewise.
34313 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34314 spurious underflow.
34315 * sysdeps/i386/fpu/libm-test-ulps: Update.
34316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34318 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34320 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34322 * catgets/xopen-msg.awk: New file.
34323 * catgets/xopen-msg.sed: Removed.
34325 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34327 * intl/po2test.awk: New file.
34328 * intl/po2test.sed: Removed.
34330 2012-07-04 Joseph Myers <joseph@codesourcery.com>
34333 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34334 or multiply small sinh result by itself.
34335 * math/s_ctanf.c (__ctanf): Likewise.
34336 * math/s_ctanh.c (__ctanh): Likewise.
34337 * math/s_ctanhf.c (__ctanhf): Likewise.
34338 * math/s_ctanhl.c (__ctanhl): Likewise.
34339 * math/s_ctanl.c (__ctanl): Likewise.
34340 * math/libm-test.inc (ctan_test_tonearest): New function.
34341 (ctan_test_towardzero): Likewise.
34342 (ctan_test_downward): Likewise.
34343 (ctan_test_upward): Likewise.
34344 (ctanh_test_tonearest): Likewise.
34345 (ctanh_test_towardzero): Likewise.
34346 (ctanh_test_downward): Likewise.
34347 (ctanh_test_upward): Likewise.
34348 (main): Call these new functions.
34349 * sysdeps/i386/fpu/libm-test-ulps: Update.
34350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34352 2012-07-03 Mike Frysinger <vapier@gentoo.org>
34354 * .gitignore: Delete /ports entry.
34356 2012-07-03 Andreas Jaeger <aj@suse.de>
34358 * po/bg.po: Update from translation team.
34359 * po/cs.po: Likewise.
34360 * po/de.po: Likewise.
34361 * po/hr.po: Likewise.
34362 * po/nl.pl: Likewise.
34363 * po/pl.po: Likewise.
34364 * po/vi.po: Likewise.
34366 2012-07-03 Joseph Myers <joseph@codesourcery.com>
34368 * Makeconfig [!+link] (+link-before-libc): New variable.
34369 [!+link] (+link-after-libc): Likewise.
34370 [!+link] (+link-tests): Likewise.
34371 [!+link] (+link): Define in terms of $(+link-before-libc) and
34372 $(+link-after-libc).
34373 [!+link-static] (+link-static-before-libc): New variable.
34374 [!+link-static] (+link-static-after-libc): Likewise.
34375 [!+link-static] (+link-static-tests): Likewise.
34376 [!+link-static] (+link-static): Define in terms of
34377 $(+link-static-before-libc) and $(+link-static-after-libc).
34378 [build-shared] (link-libc-before-gnulib): New variable.
34379 [build-shared] (link-libc-tests): Likewise.
34380 [build-shared] (link-libc): Define in terms of
34381 $(link-libc-before-gnulib).
34382 [!build-shared] (link-libc-tests): New variable.
34383 (link-libc-static-tests): New variable.
34384 [!gnulib] (gnulib-arch): New variable.
34385 [!gnulib] (gnulib-tests): Likewise.
34386 [!gnulib] (static-gnulib-arch): Likewise.
34387 [!gnulib] (static-gnulib-tests): Likewise.
34388 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34389 Define with "=" instead of ":=".
34390 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34391 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34392 * Rules (binaries-all-notests): New variable.
34393 (binaries-all-tests): Likewise.
34394 (binaries-static-notests): Likewise.
34395 (binaries-static-tests): Likewise.
34396 (binaries-all): Define using $(binaries-all-notests) and
34397 $(binaries-all-tests).
34398 (binaries-static): Define using $(binaries-static-notests) and
34399 $(binaries-static-tests).
34400 (binaries-shared-tests): New variable.
34401 (binaries-shared-notests): Likewise.
34402 (binaries-shared): Remove variable.
34403 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34404 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34405 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34406 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34407 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34408 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34409 * elf/Makefile (sln-modules): New variable.
34410 (extra-objs): Add $(sln-modules:=.o).
34411 (ldconfig-modules): Add static-stubs.
34412 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34413 * elf/static-stubs.c: New file.
34416 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34417 by 7 not 8 to examine high bit of fractional part. Use volatile
34418 variables when splitting into final array of floats if
34419 __FLT_EVAL_METHOD__ != 0.
34420 * math/libm-test.inc (cos_test): Add another test.
34421 (sin_test): Likewise.
34422 * sysdeps/i386/fpu/libm-test-ulps: Update.
34425 * math/libm-test.inc (cosh_test): Add more tests.
34427 * version.h (RELEASE): Set to "development".
34428 (VERSION): Set to "2.16.90".
34430 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34432 * NEWS: Update copyright. Remove last-updated date.
34433 Mention math library bug fixes and timezone data changes.
34434 * README: Mention GNU/Hurd, x32, and HPPA support status.
34436 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34438 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34440 2012-06-27 Andreas Jaeger <aj@suse.de>
34442 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34444 2012-06-25 Andreas Jaeger <aj@suse.de>
34446 * sysdeps/s390/fpu/libm-test-ulps: Update.
34448 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34449 Thomas Schwinge <thomas@codesourcery.com>
34451 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34452 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34453 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34456 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34458 * sysdeps/mach/start.c: Remove file.
34459 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34460 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34461 * sysdeps/sh/init-first.c: Likewise.
34463 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34464 registers for frame unwinding purposes, add CFI directives.
34465 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34466 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34467 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34470 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34471 __fortify_fail returning.
34472 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34474 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34475 sysdeps/sh/____longjmp_chk.S.
34476 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34477 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34478 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34479 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34481 * sysdeps/sh/abort-instr.h: New file.
34482 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34483 process in case exit returns.
34485 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34486 initialize the GOT register before use.
34488 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34489 calculation of ARGC > 4.
34491 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34492 meaningful names to some local labels.
34494 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34495 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34497 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34498 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34499 (__arch_compare_and_exchange_val_16_acq): Likewise.
34500 (__arch_compare_and_exchange_val_32_acq): Likewise.
34501 (atomic_exchange_and_add): Fix gUSA sequence.
34502 (atomic_add): Likewise.
34503 (atomic_add_negative): Likewise.
34504 (atomic_add_zero): Likewise.
34505 (atomic_bit_test_set): Likewise.
34507 2012-06-22 Andreas Schwab <schwab@redhat.com>
34510 * include/link.h (struct link_map): Add l_free_initfini.
34511 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34513 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34514 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34515 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34518 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34520 * configure.in: Use AC_LANG_SOURCE.
34521 * configure: Regenerate.
34523 2012-06-22 Roland McGrath <roland@hack.frob.com>
34525 * configure.in (libc_cv_localstatedir): New substituted variable.
34526 * configure: Regenerated.
34527 * config.make.in (localstatedir): New variable, substituted from
34528 libc_cv_localstatedir.
34529 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34530 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34531 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34532 * sysdeps/gnu/configure: Regenerated.
34534 2012-06-21 Jeff Law <law@redhat.com>
34537 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34538 free. Simplify list management for _LIBC case.
34540 2012-06-21 Joseph Myers <joseph@codesourcery.com>
34543 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34544 Clear sign bit of 64-bit integer value before comparing against
34547 * sysdeps/mach/configure: Regenerated.
34549 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34552 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34554 2012-06-21 Jeff Law <law@redhat.com>
34557 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34558 uint16_t for elements in the "seen" array to avoid char overflows.
34559 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34560 * elf/dl-open.c (dl_open_worker): Likewise.
34562 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34564 * scripts/list-sources.sh: Scan PORTS for translations.
34565 * po/libc.pot: Regenerated.
34567 2012-06-21 Andreas Jaeger <aj@suse.de>
34570 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34572 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34573 * bits/byteswap-16.h (__bswap_16): Likewise.
34574 * bits/byteswap.h (__bswap_constant_16): Likewise.
34576 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34579 * sysdeps/i386/fpu_control.h: Removed.
34580 * sysdeps/x86_64/fpu_control.h: Moved to ...
34581 * sysdeps/x86/fpu_control.h: Here.
34583 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34584 (_FPU_SETCW): Likewise.
34586 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34589 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34590 * sysdeps/x86/fpu/bits/mathinline.h: This.
34591 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34595 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34596 functions if __x86_64__ is defined.
34598 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34600 * string/endian.h: Add !__ASSEMBLER__ condition for including
34601 conversion interfaces.
34603 2012-06-15 Joseph Myers <joseph@codesourcery.com>
34606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34607 of ABS(x) in calculating zero to negative powers other than odd
34609 * math/libm-test.inc (pow_test): Add more tests.
34611 2012-06-15 Andreas Jaeger <aj@suse.de>
34613 * manual/contrib.texi (Contributors): Update entry of Liubov
34614 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34617 2012-06-15 Cyril Hrubis <metan@ucw.cz>
34619 * string/string.h: Add __wur to GNU version of strerror_r.
34621 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34624 * string/Makefile (tests): Add tst-strtok_r.
34625 * string/tst-strtok_r.c: New file.
34626 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34627 RAX_LP/RDX_LP on SAVE_PTR.
34629 2012-06-14 Roland McGrath <roland@hack.frob.com>
34631 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34633 2012-06-14 Joseph Myers <joseph@codesourcery.com>
34635 * libm_test.inc (csqrt_test): Allow more spurious underflow
34637 (j0_test): Likewise.
34638 (j1_test): Likewise.
34639 (y0_test): Likewise.
34640 (y1_test): Likewise.
34642 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34644 * po/Makefile (libc.pot): Use UTF-8 charset.
34646 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34649 Suppress sign-conversion warning from FD_SET.
34650 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34651 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34652 not unsigned long int.
34653 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34655 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34659 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34660 __extern_always_inline instead of __extern_inline.
34661 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34662 (__signbit): Likewise.
34663 (__signbitl): Support C++ namespace.
34664 (lrintf): New inline function.
34666 (llrintf): Likewise.
34667 (llrint): Likewise.
34677 (floorf): Likewise.
34678 (nearbyint): Likewise.
34679 (nearbyintf): Likewise.
34681 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34683 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34684 non-default versions.
34686 2012-06-11 Roland McGrath <roland@hack.frob.com>
34689 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34691 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34693 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34694 (FE_UPWARD, FE_DOWNWARD): Don't define.
34695 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34696 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34698 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34700 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34701 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34703 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34705 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34707 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34708 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34710 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34713 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34714 * sysdeps/i386/fpu/Implies: New file.
34715 * sysdeps/x86_64/fpu/Implies: Likewise.
34716 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34717 * sysdeps/x86/fpu/bits/fenv.h: This.
34719 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34722 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34725 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34726 character 0xffff that matches the last element of the
34729 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34734 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34737 values higher than 25.6283.
34739 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34742 subnormal exponent extraction and add some __builtin_expect.
34743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34744 Fix for subnormal mantissa calculation.
34746 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34748 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34749 cpu2 is -1 and errno is not ENOSYS.
34751 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34754 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34755 * sysdeps/x86/bits/string.h: This.
34756 * sysdeps/x86_64/bits/string.h: Removed.
34758 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34759 if not compiling for x86-64, but compiling for >= i486.
34761 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34762 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34764 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34765 New macro from Linux kernel 3.4.0.
34766 (FP_XSTATE_MAGIC2): Likewise.
34767 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34768 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34769 (struct _fpx_sw_bytes): New struct.
34770 (struct _xsave_hdr): Likewise.
34771 (struct _ymmh_state): Likewise.
34772 (struct _xstate): Likewise.
34774 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34775 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34776 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34777 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34778 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34779 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34781 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34782 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34783 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34784 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34785 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34786 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34788 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34791 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34792 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34793 (sysdep_headers): Include sys/platform/ppc.h.
34794 * sysdeps/powerpc/test-gettimebase.c: Test for
34795 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34796 * manual/Makefile (appendices): Include platform.texi.
34797 * manual/contrib.texi (Contributors): Update @node pointers.
34798 * manual/maint.texi (Maintenance): Likewise.
34799 (Platform): New node.
34800 * manual/platform.texi: New file. Document the new features.
34802 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34803 Jakub Jelinek <jakub@redhat.com>
34806 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34807 where __builtin_expect is unavailable.
34809 2012-06-03 David S. Miller <davem@davemloft.net>
34811 * stdlib/longlong.h: Updated from GCC.
34813 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34816 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34817 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34820 (GLIBC_2.16): Likewise.
34822 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34824 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34826 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34829 (default-abi): New variable.
34830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34831 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34833 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34835 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34837 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34840 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34841 definition. Document in comment.
34843 2012-06-01 David S. Miller <davem@davemloft.net>
34845 * stdlib/longlong.h: Updated from GCC.
34847 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34850 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34851 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34852 sys/debugreg.h sys/io.h here.
34853 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34854 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34856 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34857 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34858 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34859 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34860 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34861 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34864 Define only if __x86_64__ is defined.
34866 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34869 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34870 Use int64_t for variable i.
34871 * math/libm-test.inc (fmod_test): Add more tests.
34873 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34874 z computation is not scheduled after fetestexcept.
34875 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34876 Use math_force_eval instead of asm to ensure calculation scheduled
34877 before exception test.
34878 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34879 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34881 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34884 computation is not scheduled after fetestexcept.
34886 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34889 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34890 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34892 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34894 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34895 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34897 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34900 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34902 (__WCHAR_MIN): Support __WORDSIZE == 64.
34903 (__WCHAR_MAX): Likewise.
34905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34906 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34909 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34910 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34913 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34914 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34916 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34917 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34919 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34920 Defined to 1 if __x86_64__ isn't defined.
34921 (_STAT_VER_LINUX_OLD): New.
34922 (st_atime): Remove duplicate.
34923 (st_mtime): Likewise.
34924 (st_ctime): Likewise.
34926 2012-05-31 David S. Miller <davem@davemloft.net>
34928 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34931 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34933 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34937 * elf/dl-reloc.c: Include <_itoa.h>.
34938 (_dl_reloc_bad_type): Remove use of INTUSE.
34939 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34940 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34941 * stdio-common/psiginfo.c (psiginfo): Likewise.
34942 * stdio-common/psignal.c (psignal): Likewise.
34943 * string/strsignal.c (strsignal): Likewise.
34944 * include/signal.h (_sys_siglist): Declare hidden proto.
34945 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34946 INTVARDEF with libc_hidden_data_def.
34947 * stdio-common/itoa-udigits.c: Likewise.
34948 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34949 (_itoa_lower_digits_internal): Remove declaration.
34950 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34951 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34952 (_sys_sigabbrev_internal): Remove aliases.
34953 (_sys_siglist): Define hidden alias.
34955 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34960 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34963 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34964 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34966 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34967 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34968 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34969 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34970 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34971 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34973 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34974 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34975 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34977 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34985 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34986 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34987 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34989 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34990 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34991 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34992 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34993 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34994 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34996 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34997 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34999 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35000 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35002 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35004 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35006 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35007 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35009 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35011 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35012 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35013 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35015 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35017 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35019 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35021 * math/math.h (M_El): Use two more decimal places.
35022 (M_LOG2El): Likewise.
35023 (M_LOG10El): Likewise.
35024 (M_LN2l): Likewise.
35025 (M_LN10l): Likewise.
35027 (M_PI_2l): Likewise.
35028 (M_PI_4l): Likewise.
35029 (M_1_PIl): Likewise.
35030 (M_2_PIl): Likewise.
35031 (M_2_SQRTPIl): Likewise.
35032 (M_SQRT2l): Likewise.
35033 (M_SQRT1_2l): Likewise.
35035 2012-05-31 David S. Miller <davem@davemloft.net>
35037 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35038 values between float registers.
35039 * sysdeps/sparc/sparc64/memset.S: Likewise.
35040 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35042 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35044 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35045 -D_FORTIFY_SOURCE=1.
35046 (CPPFLAGS-tst-longjmp_chk.c): Define.
35047 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35048 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35049 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35050 CFLAGS-tst-wchar-h.c.
35052 2012-05-31 Marek Polacek <polacek@redhat.com>
35055 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35056 __endmntent_internal): Remove declaration.
35057 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35058 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35059 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35061 2012-05-30 David S. Miller <davem@davemloft.net>
35063 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35064 (___Q_simulate_exceptions): Use real FP ops rather than writing
35066 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35069 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35072 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35073 * sysdeps/x86/bits/xtitypes.h: This.
35075 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35076 * sysdeps/x86/bits/wordsize.h: This.
35078 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35079 * sysdeps/x86/bits/huge_vall.h: This.
35081 * sysdeps/i386/bits/select.h: Removed.
35082 * sysdeps/x86_64/bits/select.h: Renamed to ...
35083 * sysdeps/x86/bits/select.h: This.
35085 * sysdeps/i386/bits/setjmp.h: Removed.
35086 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35087 * sysdeps/x86/bits/setjmp.h: This.
35089 * sysdeps/i386/bits/mathdef.h: Removed.
35090 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35091 * sysdeps/x86/bits/mathdef.h: This.
35093 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35096 * include/sys/socket.h (__connect_internal)
35097 (__libc_sa_len_internal): Remove declaration.
35098 (__connect, __libc_sa_len): Declare hidden_proto.
35099 (SA_LEN): Remove use of INTUSE.
35100 * socket/connect.c: Add libc_hidden_def.
35101 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35102 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35103 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35105 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35106 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35107 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35108 of adding _internal alias.
35110 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35113 * sysdeps/i386/bits/link.h: Removed.
35114 * sysdeps/i386/bits/linkmap.h: Likewise.
35115 * sysdeps/x86_64/bits/link.h: Renamed to ...
35116 * sysdeps/x86/bits/link.h: This.
35117 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35118 * sysdeps/x86/bits/linkmap.h: This.
35120 * sysdeps/i386/bits/endian.h: Removed.
35121 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35122 * sysdeps/x86/bits/endian.h: This.
35124 * sysdeps/i386/bits/byteswap.h: Removed.
35125 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35126 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35127 * sysdeps/x86/bits/byteswap.h: This.
35128 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35129 * sysdeps/x86/bits/byteswap-16.h: This.
35130 * sysdeps/i386/Implies: Add x86.
35131 * sysdeps/x86_64/Implies: Likewise.
35133 2012-05-30 David S. Miller <davem@davemloft.net>
35135 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35136 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35137 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35138 (FP_TRAPPING_EXCEPTIONS): Define.
35139 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35140 (FP_TRAPPING_EXCEPTIONS): Define.
35141 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35142 subnormals only when inexact has been signalled or underflow
35143 exceptions are enabled.
35144 (_FP_PACK_CANONICAL): Likewise.
35146 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35150 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35152 2012-05-30 Richard Henderson <rth@twiddle.net>
35154 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35155 with #ifndef NOT_IN_libc.
35157 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35158 marked to avoid plt entry.
35160 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35163 * Makeconfig (default-abi): New macro.
35164 (abi-includes): Likewise.
35165 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35166 $(abi-$(default-abi)-lib-soname) for soname if defined.
35167 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35169 * Makefile (installed-stubs): Likewise.
35170 * include/stubs-biarch.h: Removed.
35171 * scripts/lib-names.awk: Only handle one library at a time.
35172 * scripts/soversions.awk: Remove WORDSIZE support.
35173 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35175 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35177 (syscall-list-default-condition): Likewise.
35178 (syscall-list-default-condition): Likewise.
35179 (syscall-list-includes): Likewise.
35180 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35181 syscall-list-* with abi-*. Handle undefined abi-variants.
35182 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35183 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35184 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35185 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35186 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35187 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35189 (syscall-list-32-options): Likewise.
35190 (syscall-list-32-condition): Likewise.
35191 (syscall-list-64-options): Likewise.
35192 (syscall-list-64-condition): Likewise.
35193 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35195 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35198 (abi-64-ld-soname): New macro.
35199 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35200 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35203 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35204 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35206 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35208 * sysdeps/unix/sysv/linux/kernel-features.h
35209 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35210 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35211 include <kernel-features.h>.
35212 [!__NR_ftruncate64]: Remove conditional code.
35213 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35214 [__NR_ftruncate64]: Make code unconditional.
35215 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35216 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35217 include <kernel-features.h>.
35218 [!__NR_ftruncate64]: Remove conditional code.
35219 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35220 [__NR_ftruncate64]: Make code unconditional.
35221 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35223 include <kernel-features.h>.
35224 [!__NR_ftruncate64]: Remove conditional code.
35225 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35226 [__NR_ftruncate64]: Make code unconditional.
35227 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35229 include <kernel-features.h>.
35230 [!__NR_ftruncate64]: Remove conditional code.
35231 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35232 [__NR_ftruncate64]: Make code unconditional.
35233 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35235 * configure.in (libc_cv_fpie): Weaken to a compile test using
35236 LIBC_TRY_CC_OPTION.
35237 * configure: Regenerated.
35239 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35254 2012-05-27 David S. Miller <davem@davemloft.net>
35256 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35258 (__Q_simulate_exceptions): Return void. Change to simulate
35259 exceptions by writing into the %fsr.
35260 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35261 (__Qp_handle_exceptions): Likewise.
35263 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35264 __Qp_handle_exceptions.
35265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35266 __Qp_handle_exceptions.
35267 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35268 as unused and give dummy FP_RND_NEAREST initializer.
35269 (FP_INHIBIT_RESULTS): Define.
35270 (___Q_simulate_exceptions): Update declaration.
35271 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35273 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35274 as unused and give dummy FP_RND_NEAREST initializer.
35275 (__Qp_handle_exceptions): Update declaration.
35276 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35279 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35281 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35282 the temporary FPU control word.
35283 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35284 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35285 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35286 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35287 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35288 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35289 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35290 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35291 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35292 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35293 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35295 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35297 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35300 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35302 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35303 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35304 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35305 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35307 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35308 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35311 2012-05-27 Ulrich Drepper <drepper@gmail.com>
35313 * po/h.po: Update from translation team.
35315 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35317 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35319 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35320 handling of denormals.
35321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35322 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35323 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35324 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35325 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35327 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35330 2012-05-26 Marek Polacek <polacek@redhat.com>
35333 * math/libm-test.inc (fma_test): Don't always expect underflow
35336 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35339 * elf/tst-execstack.c: Include stackinfo.h.
35340 (do_test): Adjust test case to ensure that pthread_getattr_np
35341 behaviour remains the same after marking stack executable.
35343 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35345 * sysdeps/unix/sysv/linux/kernel-features.h
35346 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35347 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35349 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35350 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35351 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35353 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35354 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35356 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35358 * configure.in: Define the default includes to being none.
35359 * configure: Regenerated.
35361 2012-05-25 Roland McGrath <roland@hack.frob.com>
35363 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35364 * sysdeps/x86_64/setjmp.S: Likewise.
35365 * sysdeps/i386/bsd-setjmp.S: Likewise.
35366 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35367 * sysdeps/i386/setjmp.S: Likewise.
35368 * sysdeps/i386/__longjmp.S: Likewise.
35369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35370 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35372 * include/stap-probe.h: New file.
35373 * configure.in: Handle --enable-systemtap.
35374 * configure: Regenerated.
35375 * config.h.in (USE_STAP_PROBE): New #undef.
35376 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35377 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35378 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35380 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35383 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35384 to 2.4.0 where earlier.
35385 * sysdeps/unix/sysv/linux/configure: Regenerated.
35386 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35387 <kernel-features.h>.
35388 [__ASSUME_32BITUIDS]: Make code unconditional.
35389 [!__ASSUME_32BITUIDS]: Remove conditional code.
35390 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35391 <kernel-features.h>.
35392 [__ASSUME_32BITUIDS]: Make code unconditional.
35393 [!__ASSUME_32BITUIDS]: Remove conditional code.
35394 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35395 [__ASSUME_32BITUIDS]: Make code unconditional.
35396 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35397 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35398 <kernel-features.h>.
35399 [__ASSUME_32BITUIDS]: Make code unconditional.
35400 [!__ASSUME_32BITUIDS]: Remove conditional code.
35401 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35402 <kernel-features.h>.
35403 [__ASSUME_32BITUIDS]: Make code unconditional.
35404 [!__ASSUME_32BITUIDS]: Remove conditional code.
35405 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35406 <kernel-features.h>.
35407 [__ASSUME_32BITUIDS]: Make code unconditional.
35408 [!__ASSUME_32BITUIDS]: Remove conditional code.
35409 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35410 <kernel-features.h>.
35411 [__ASSUME_32BITUIDS]: Make code unconditional.
35412 [!__ASSUME_32BITUIDS]: Remove conditional code.
35413 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35414 <kernel-features.h>.
35415 [__ASSUME_32BITUIDS]: Make code unconditional.
35416 [!__ASSUME_32BITUIDS]: Remove conditional code.
35417 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35418 <kernel-features.h>.
35419 [__ASSUME_32BITUIDS]: Make code unconditional.
35420 [!__ASSUME_32BITUIDS]: Remove conditional code.
35421 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35422 <kernel-features.h>.
35423 [__ASSUME_32BITUIDS]: Make code unconditional.
35424 [!__ASSUME_32BITUIDS]: Remove conditional code.
35425 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35426 <kernel-features.h>.
35427 [__ASSUME_32BITUIDS]: Make code unconditional.
35428 [!__ASSUME_32BITUIDS]: Remove conditional code.
35429 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35430 <kernel-features.h>.
35431 [__ASSUME_32BITUIDS]: Make code unconditional.
35432 [!__ASSUME_32BITUIDS]: Remove conditional code.
35433 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35434 <kernel-features.h>.
35435 [__ASSUME_32BITUIDS]: Make code unconditional.
35436 [!__ASSUME_32BITUIDS]: Remove conditional code.
35437 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35438 <kernel-features.h>.
35439 [__NR_setresgid] (__setresgid): Do not declare.
35440 [__ASSUME_32BITUIDS]: Make code unconditional.
35441 [!__ASSUME_32BITUIDS]: Remove conditional code.
35442 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35443 <kernel-features.h>.
35444 [__NR_setresuid] (__setresuid): Do not declare.
35445 [__ASSUME_32BITUIDS]: Make code unconditional.
35446 [!__ASSUME_32BITUIDS]: Remove conditional code.
35447 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35448 <kernel-features.h>.
35449 [__ASSUME_32BITUIDS]: Make code unconditional.
35450 [!__ASSUME_32BITUIDS]: Remove conditional code.
35451 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35452 <kernel-features.h>.
35453 [__ASSUME_32BITUIDS]: Make code unconditional.
35454 [!__ASSUME_32BITUIDS]: Remove conditional code.
35455 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35456 <kernel-features.h>.
35457 [__ASSUME_32BITUIDS]: Make code unconditional.
35458 [!__ASSUME_32BITUIDS]: Remove conditional code.
35459 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35460 <kernel-features.h>.
35461 [__ASSUME_32BITUIDS]: Make code unconditional.
35462 [!__ASSUME_32BITUIDS]: Remove conditional code.
35463 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35464 <kernel-features.h>.
35465 [__ASSUME_32BITUIDS]: Make code unconditional.
35466 [!__ASSUME_32BITUIDS]: Remove conditional code.
35467 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35468 <kernel-features.h>.
35469 [__ASSUME_32BITUIDS]: Make code unconditional.
35470 [!__ASSUME_32BITUIDS]: Remove conditional code.
35471 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35472 <kernel-features.h>.
35473 [__ASSUME_32BITUIDS]: Make code unconditional.
35474 [!__ASSUME_32BITUIDS]: Remove conditional code.
35475 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35476 <kernel-features.h>.
35477 [__ASSUME_32BITUIDS]: Make code unconditional.
35478 [!__ASSUME_32BITUIDS]: Remove conditional code.
35479 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35480 <kernel-features.h>.
35481 [__ASSUME_32BITUIDS]: Make code unconditional.
35482 [!__ASSUME_32BITUIDS]: Remove conditional code.
35483 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35484 <kernel-features.h>.
35485 [__ASSUME_32BITUIDS]: Make code unconditional.
35486 [!__ASSUME_32BITUIDS]: Remove conditional code.
35487 * sysdeps/unix/sysv/linux/kernel-features.h
35488 (__ASSUME_SETRESUID_SYSCALL): Remove.
35489 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35490 (__ASSUME_32BITUIDS): Likewise.
35491 (__ASSUME_LDT_WORKS): Likewise.
35492 (__ASSUME_O_DIRECTORY): Likewise.
35493 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35494 architecture but not kernel version.
35495 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35496 (__ASSUME_MMAP2_SYSCALL): Likewise.
35497 (__ASSUME_STAT64_SYSCALL): Likewise.
35498 (__ASSUME_IPC64): Likewise.
35499 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35500 <kernel-features.h>.
35501 [__ASSUME_32BITUIDS]: Make code unconditional.
35502 [!__ASSUME_32BITUIDS]: Remove conditional code.
35503 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35504 <kernel-features.h>.
35505 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35506 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35507 132096]: Remove conditional code.
35508 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35509 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35510 <kernel-features.h>.
35511 [__ASSUME_32BITUIDS]: Make code unconditional.
35512 [!__ASSUME_32BITUIDS]: Remove conditional code.
35513 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35514 <kernel-features.h>.
35515 [__ASSUME_32BITUIDS]: Make code unconditional.
35516 [!__ASSUME_32BITUIDS]: Remove conditional code.
35517 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35518 <kernel-features.h>.
35519 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35521 (__setresgid): Do not declare.
35522 [__ASSUME_32BITUIDS]: Make code unconditional.
35523 [!__ASSUME_32BITUIDS]: Remove conditional code.
35524 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35525 <kernel-features.h>.
35526 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35528 (__setresuid): Do not declare.
35529 [__ASSUME_32BITUIDS]: Make code unconditional.
35530 [!__ASSUME_32BITUIDS]: Remove conditional code.
35531 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35532 <kernel-features.h>.
35533 [__ASSUME_32BITUIDS]: Make code unconditional.
35534 [!__ASSUME_32BITUIDS]: Remove conditional code.
35535 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35536 <kernel-features.h>.
35537 [__ASSUME_32BITUIDS]: Make code unconditional.
35538 [!__ASSUME_32BITUIDS]: Remove conditional code.
35540 2012-05-25 Richard Henderson <rth@twiddle.net>
35542 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35543 dl_hwcap to ifunc resolver.
35544 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35546 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35547 dl_hwcap to ifunc resolver.
35548 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35550 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35553 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35554 for |x| <= 2**-26, not 2**-57.
35555 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35558 2012-05-24 Jeff Law <law@redhat.com>
35560 * stdio-common/Makefile (tests): Add bug25.
35561 * stdio-common/bug25.c: New test.
35563 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35566 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35567 multiple of MALLOC_ALIGNMENT in size.
35568 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35570 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35572 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35574 (FILENAME_MAX): Use macro-int-constant.
35575 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35576 (_IOFBF): Use macro-int-constant.
35577 (_IOLBF): Likewise.
35578 (_IONBF): Likewise.
35579 (SEEK_CUR): Likewise.
35580 (SEEK_END): Likewise.
35581 (SEEK_SET): Likewise.
35582 (TMP_MAX): Likewise.
35583 (EOF): Use macro-int-constant. Require < 0.
35584 (NULL): Use macro-constant. Require == 0.
35585 (stdin): Require type to be FILE *.
35586 (stdout): Likewise.
35587 (stderr): Likewise.
35588 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35589 macro-int-constant.
35590 (EXIT_SUCCESS): Likewise.
35591 (NULL): Use macro-constant. Require == 0.
35592 (RAND_MAX): Use macro-int-constant.
35593 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35594 [C99-based standards] (strtof): Require function.
35595 [C99-based standards] (strtold): Likewise.
35596 [C99-based standards] (strtoll): Likewise.
35597 [C99-based standards] (strtoull): Likewise.
35598 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35599 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35600 [ISO || ISO99 || ISO11] (math.h): Likewise.
35601 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35602 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35605 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35608 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35609 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35610 * intl/dgettext.c (DCGETTEXT): Likewise.
35611 * intl/gettext.c (DCGETTEXT): Likewise.
35612 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35613 * posix/regex_internal.h (gettext): Likewise.
35614 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35615 Remove declaration.
35616 * include/argz.h (__argz_count_internal)
35617 (__argz_stringify_internal): Remove declaration.
35618 (__argz_count, __argz_stringify): Declare hidden proto.
35619 * intl/dcgettext.c: Remove use of INTDEF.
35620 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35621 * string/argz-stringify.c: Likewise.
35622 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35623 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35624 Declare hidden proto.
35625 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35626 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35627 Declare hidden proto.
35628 * include/stdio.h (__asprintf_internal): Don't declare.
35629 (__asprintf): Don't define as macro. Declare hidden proto.
35630 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35631 (__fsetlocking): Declare hidden proto.
35632 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35633 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35635 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35636 (_IO_setlinebuf): Remove use of INTUSE.
35637 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35638 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35639 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35640 Remove declaration.
35641 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35642 (_IO_do_flush): Remove use of INTUSE.
35643 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35644 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35645 (_IO_adjust_column, _IO_least_wmarker)
35646 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35647 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35648 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35649 (_IO_default_doallocate, _IO_wdefault_doallocate)
35650 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35651 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35652 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35653 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35654 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35655 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35656 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35657 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35658 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35659 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35660 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35661 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35662 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35664 (_IO_flush_all_internal, _IO_adjust_column_internal)
35665 (_IO_default_uflow_internal, _IO_default_finish_internal)
35666 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35667 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35668 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35669 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35670 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35671 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35672 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35673 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35674 (_IO_file_close_internal, _IO_file_close_it_internal)
35675 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35676 (_IO_file_init_internal, _IO_file_attach_internal)
35677 (_IO_file_fopen_internal, _IO_file_read_internal)
35678 (_IO_file_sync_internal, _IO_file_seek_internal)
35679 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35680 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35681 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35682 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35683 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35684 (_IO_list_all_internal, _IO_link_in_internal)
35685 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35686 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35687 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35688 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35689 (_IO_do_write_internal, _IO_padn_internal)
35690 (_IO_getline_info_internal, _IO_getline_internal)
35691 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35692 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35693 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35694 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35695 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35696 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35697 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35698 with libc_hidden_ver, remove use of INTUSE.
35699 * libio/genops.c: Likewise.
35700 * libio/freopen.c: Likewise.
35701 * libio/freopen64.c: Likewise.
35702 * libio/iofclose.c: Likewise.
35703 * libio/iofdopen.c: Likewise.
35704 * libio/iofflush.c: Likewise.
35705 * libio/iofflush_u.c: Likewise.
35706 * libio/iofgets.c: Likewise.
35707 * libio/iofgets_u.c: Likewise.
35708 * libio/iofopen.c: Likewise.
35709 * libio/iofopncook.c: Likewise.
35710 * libio/iofread.c: Likewise.
35711 * libio/iofread_u.c: Likewise.
35712 * libio/ioftell.c: Likewise.
35713 * libio/iofwrite.c: Likewise.
35714 * libio/iogetline.c: Likewise.
35715 * libio/iogets.c: Likewise.
35716 * libio/iogetwline.c: Likewise.
35717 * libio/iopadn.c: Likewise.
35718 * libio/iopopen.c: Likewise.
35719 * libio/ioseekoff.c: Likewise.
35720 * libio/ioseekpos.c: Likewise.
35721 * libio/iosetbuffer.c: Likewise.
35722 * libio/iosetvbuf.c: Likewise.
35723 * libio/ioungetc.c: Likewise.
35724 * libio/ioungetwc.c: Likewise.
35725 * libio/iovdprintf.c: Likewise.
35726 * libio/iovsprintf.c: Likewise.
35727 * libio/iovsscanf.c: Likewise.
35728 * libio/memstream.c: Likewise.
35729 * libio/obprintf.c: Likewise.
35730 * libio/oldfileops.c: Likewise.
35731 * libio/oldiofclose.c: Likewise.
35732 * libio/oldiofdopen.c: Likewise.
35733 * libio/oldiofopen.c: Likewise.
35734 * libio/oldiopopen.c: Likewise.
35735 * libio/oldstdfiles.c: Likewise.
35736 * libio/putc.c: Likewise.
35737 * libio/setbuf.c: Likewise.
35738 * libio/setlinebuf.c: Likewise.
35739 * libio/stdfiles.c: Likewise.
35740 * libio/strops.c: Likewise.
35741 * libio/vasprintf.c: Likewise.
35742 * libio/vscanf.c: Likewise.
35743 * libio/vsnprintf.c: Likewise.
35744 * libio/vswprintf.c: Likewise.
35745 * libio/wfiledoalloc.c: Likewise.
35746 * libio/wfileops.c: Likewise.
35747 * libio/wgenops.c: Likewise.
35748 * libio/wmemstream.c: Likewise.
35749 * libio/wstrops.c: Likewise.
35750 * libio/__fpurge.c: Likewise.
35751 * libio/__fsetlocking.c: Likewise.
35752 * assert/assert.c: Likewise.
35753 * debug/fgets_chk.c: Likewise.
35754 * debug/fgets_u_chk.c: Likewise.
35755 * debug/fread_chk.c: Likewise.
35756 * debug/fread_u_chk.c: Likewise.
35757 * debug/gets_chk.c: Likewise.
35758 * debug/obprintf_chk.c: Likewise.
35759 * debug/vasprintf_chk.c: Likewise.
35760 * debug/vdprintf_chk.c: Likewise.
35761 * debug/vsnprintf_chk.c: Likewise.
35762 * debug/vsprintf_chk.c: Likewise.
35763 * malloc/mtrace.c: Likewise.
35764 * misc/error.c: Likewise.
35765 * misc/syslog.c: Likewise.
35766 * stdio-common/asprintf.c: Likewise.
35767 * stdio-common/fxprintf.c: Likewise.
35768 * stdio-common/getw.c: Likewise.
35769 * stdio-common/isoc99_fscanf.c: Likewise.
35770 * stdio-common/isoc99_scanf.c: Likewise.
35771 * stdio-common/isoc99_vfscanf.c: Likewise.
35772 * stdio-common/isoc99_vscanf.c: Likewise.
35773 * stdio-common/isoc99_vsscanf.c: Likewise.
35774 * stdio-common/printf-prs.c: Likewise.
35775 * stdio-common/printf_fp.c: Likewise.
35776 * stdio-common/printf_fphex.c: Likewise.
35777 * stdio-common/printf_size.c: Likewise.
35778 * stdio-common/putw.c: Likewise.
35779 * stdio-common/scanf.c: Likewise.
35780 * stdio-common/sprintf.c: Likewise.
35781 * stdio-common/tmpfile.c: Likewise.
35782 * stdio-common/vfprintf.c: Likewise.
35783 * stdio-common/vfscanf.c: Likewise.
35784 * stdlib/strfmon_l.c: Likewise.
35785 * sunrpc/openchild.c: Likewise.
35786 * sunrpc/xdr_stdio.c: Likewise.
35787 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35788 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35790 2012-05-24 Roland McGrath <roland@hack.frob.com>
35792 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35794 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35795 in the third column, to generate for the shared library an IFUNC
35796 that uses _dl_vdso_vsym.
35797 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35798 * Makeconfig (object-suffixes-noshared): New variable.
35800 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35801 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35802 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35803 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35806 * include/sys/time.h (__gettimeofday): Remove macro.
35807 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35808 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35810 (__gettimeofday): Add libc_hidden_def.
35811 (gettimeofday): Add libc_hidden_weak.
35812 * sysdeps/mach/gettimeofday.c: Likewise.
35813 * sysdeps/posix/gettimeofday.c: Likewise.
35814 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35815 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35817 (__gettimeofday_internal): Remove strong_alias.
35818 (__gettimeofday): Add libc_hidden_def.
35819 (gettimeofday): Add libc_hidden_weak.
35820 * sysdeps/unix/syscalls.list (gettimeofday):
35821 Remove __gettimeofday_internal alias.
35823 2012-05-24 Daniel Jacobowitz <drow@false.org>
35824 H.J. Lu <hongjiu.lu@intel.com>
35827 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35828 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35829 (largebin_index_32_big): New.
35830 (largebin_index): Use it for 16-byte alignment.
35831 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35832 correction with front_misalign.
35834 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35862 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35863 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35865 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35869 * math/libm-test.inc (exp_test): Add test from bug 14036.
35870 (pow_test): Add test from bug 10846.
35872 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35874 (special_function): Do not include flags in test name.
35875 (parse_args): Likewise.
35876 * sysdeps/i386/fpu/libm-test-ulps: Update.
35877 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35878 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35879 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35882 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35884 * math/libm-test.inc ("Philosophy"): Update comment about
35886 (UNDERFLOW_EXCEPTION): New macro.
35887 (UNDERFLOW_EXCEPTION_OK): Likewise.
35888 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35889 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35890 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35891 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35892 (INVALID_EXCEPTION_OK): Update value.
35893 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35894 (OVERFLOW_EXCEPTION_OK): Likewise.
35895 (IGNORE_ZERO_INF_SIGN): Likewise.
35896 (test_exceptions): Handle underflow exceptions.
35897 (acos_test): Update for underflow exception expectations.
35898 (cexp_test): Likewise.
35899 (clog_test): Likewise.
35900 (clog10_test): Likewise.
35901 (csqrt_test): Likewise.
35902 (ctan_test): Likewise.
35903 (ctanh_test): Likewise.
35904 (exp_test): Likewise.
35905 (exp10_test): Likewise.
35906 (exp2_test): Likewise.
35907 (expm1_test): Likewise.
35908 (fma_test): Likewise.
35909 (j0_test): Likewise.
35910 (jn_test): Likewise.
35911 (nexttoward_test): Likewise.
35912 (pow_test): Likewise.
35913 (scalbn_test): Likewise.
35914 (scalbln_test): Likewise.
35915 (tan_test): Likewise.
35916 (y1_test): Likewise.
35917 * sysdeps/i386/fpu/libm-test-ulps: Update.
35918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35920 2012-05-23 David S. Miller <davem@davemloft.net>
35922 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35923 (__libc_sigaction): Remove unused local variables.
35925 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35927 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35929 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35931 mktime: avoid signed integer overflow
35932 * time/mktime.c (__mktime_internal): Do not mishandle the case
35933 where diff == INT_MIN.
35935 mktime: simplify computation of average
35936 * time/mktime.c (ranged_convert): Use new time_t_avg function
35937 instead of rolling our own (probably-slower) code.
35939 mktime: do not assume signed right shift propagates sign bit
35940 * time/mktime.c (isdst_differ): New static function.
35941 (__mktime_internal): No need to normalize tm_isdst now.
35942 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35945 mktime: merge another wrapv change from gnulib
35946 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35947 from some compilers.
35949 mktime: remove incorrect attempt at unusual arithmetics
35950 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35951 The code didn't really work on such machines anyway.
35952 (TYPE_MINIMUM): Assume two's complement.
35953 (twos_complement_arithmetic): Verify that long_int and time_t
35954 are two's complement (or unsigned, in the latter case).
35956 mktime: check signed shifts on long_int and time_t, too
35957 * time/mktime.c (SHR): Check that shifts work as desired
35958 on the types long_int and time_t too, as SHR is used on
35961 mktime: do not assume 'long' is wide enough
35962 * time/mktime.c (verify): Move decl up.
35963 (long_int): New type.
35964 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35965 to remove assumption in the code that 'long' is wide enough to
35966 store year values. This assumption is not true on x32 and on
35967 some non-glibc platforms.
35969 mktime: merge wrapv change from gnulib
35970 * time/mktime.c (WRAPV): New macro.
35971 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35972 (guess_time_tm, __mktime_internal): Do not assume that signed
35973 integer overflow wraps around; modern compilers generate code
35974 where this assumption is no longer valid.
35976 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35978 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35979 Replace "jmp L(pseudo_end)" with "ret".
35980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35983 2012-05-23 Andreas Jaeger <aj@suse.de>
35985 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35986 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35988 2012-05-23 Andreas Jaeger <aj@suse.de>
35989 Maximilian Attems <max@stro.at>
35991 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35994 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35996 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35997 code so that pseudo_end is just ret and the stack pointer is
35998 correct also for static library in error case.
36000 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36002 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36003 move to syscalls.list.
36004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36009 * manual/install.texi (Running make install): Do not mention Linux
36010 kernel version for which pt_chown is not needed.
36011 (Linux): Do not mention problems with nscd with 2.0 kernels.
36012 * INSTALL: Regenerated.
36014 2012-05-23 Andreas Jaeger <aj@suse.de>
36016 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36017 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36019 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36020 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36021 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36022 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36023 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36024 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36025 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36026 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36028 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36029 * sysdeps/unix/sysv/linux/bits/in.h
36030 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36032 2012-05-22 Roland McGrath <roland@hack.frob.com>
36034 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36035 (PREPARE_VERSION): Just use assert instead, it will be elided
36036 under [NDEBUG] anyway.
36038 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36040 * sysdeps/unix/sysv/linux/Makefile: Include
36041 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36042 (sysdep_routines): Remove sysctl.
36043 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36044 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36045 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36046 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36047 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36049 2012-05-22 Andreas Jaeger <aj@suse.de>
36051 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36052 that pseudo_end is just ret and the stack pointer is correct also
36053 for static library in error case.
36055 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36058 * nss/nsswitch.c (defconfig_entries): New variable.
36059 (__nss_database_lookup): Don't leak defconfig entries.
36060 (nss_parse_service_list): Don't leak on error paths.
36061 (free_database_entries): New function.
36062 (free_defconfig): New function.
36063 (free_mem): Move common code to free_database_entries.
36065 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36067 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36069 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36071 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36072 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36075 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36076 (INTERNAL_SYSCALL_TYPES): Likewise.
36077 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36078 (LOAD_REGS_TYPES_[1-6]): Likewise.
36079 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36080 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36082 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36084 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36085 copysignl for GLIBC_2_0.
36086 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36087 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36089 logbl for GLIBC_2_0.
36090 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36091 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36093 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36096 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36098 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36101 * time/mktime.c: Update copyright years.
36103 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36105 mktime: merge comment-quoting-style change from gnulib
36106 * time/mktime.c: Quote 'like this' in comments.
36107 The GNU coding standards suggest that we no longer quote `like this',
36108 as "`" and "'" are typically rendered asymmetrically nowadays.
36109 The typical gnulib style is to quote 'like this' when quoting
36110 code, and "like this" when quoting English.
36112 * time/mktime.c (compile-command): Add "-I.".
36114 mktime: merge mktime-internal.h change from gnulib
36115 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36117 mktime: merge time_r change from gnulib
36118 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36120 mktime: merge DEBUG change from gnulib
36121 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36122 case system <time.h> has a #define.
36124 mktime: merge <sys/types.h> change from gnulib
36125 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36126 since <time.t> is now guaranteed to define time_t.
36128 mktime: merge HAVE_CONFIG_H change from gnulib
36129 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36131 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36136 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36138 (struct rusage): Use anonymous union to pad each field to
36141 2012-05-21 David S. Miller <davem@davemloft.net>
36143 * Makefules (o-iterator): Remove .s cases.
36144 (compile-command.s): Delete.
36145 (COMPILE.s): Delete.
36146 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36148 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36150 * configure.in (libc_cv_predef_stack_protector): Only consider
36151 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36152 * configure: Regenerated.
36154 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36157 New macro. Use R*LP on int and pointer.
36158 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36159 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36160 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36161 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36163 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36164 [__WORDSIZE_TIME64_COMPAT32] instead of
36165 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36166 (struct utmp): Likewise.
36167 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36168 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36170 (__WORDSIZE_TIME64_COMPAT32): This.
36171 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36172 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36173 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36174 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36175 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36176 (__WORDSIZE_TIME64_COMPAT32): New macro.
36178 2012-05-21 Andreas Jaeger <aj@suse.de>
36180 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36181 only if [SHARED]. Add prototype for __wcschr_ia32.
36183 2012-05-21 Roland McGrath <roland@hack.frob.com>
36185 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36186 of %rbp unmolested in the jmp_buf while mangling the low bits.
36187 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36188 unmolested high bits of %rbp while demangling the low bits.
36189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36191 2012-05-21 Andreas Jaeger <aj@suse.de>
36193 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36194 * sunrpc/svc_simple.c: Use it for registerrpc.
36195 * sunrpc/xcrypt.c: Use it for passwd2des.
36197 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36199 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36201 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36202 Don't define if [__SYSCALL_WORDSIZE != 32].
36203 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36206 2012-05-21 Bruno Haible <bruno@clisp.org>
36207 Andreas Jaeger <aj@suse.de>
36209 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36210 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36211 inptr and inend for must_buffer_ch.
36212 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36213 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36214 * stdio-common/Makefile (tests): Remove bug15.
36215 (bug15-ENV): Remove macro.
36216 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36219 2012-05-19 Andreas Jaeger <aj@suse.de>
36220 Roland McGrath <roland@hack.frob.com>
36222 * manual/contrib.texi: Completely rewritten. It contains now an
36223 alphabetical list of contributors and their contributions.
36225 2012-05-21 Richard Henderson <rth@twiddle.net>
36227 * misc/getauxval.c (__getauxval): Use unsigned long int.
36228 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36229 (getauxval): Use unsigned long int.
36231 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36233 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36235 2012-05-21 Roland McGrath <roland@hack.frob.com>
36237 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36238 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36239 __alignof__ (long double).
36241 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36245 2012-05-20 Richard Henderson <rth@twiddle.net>
36247 * misc/getauxval.c: New file.
36248 * misc/sys/auxv.h: New file.
36249 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36250 (routines): Add getauxval.
36251 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36252 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36253 * elf/dl-sysdep.c (_dl_auxv): Remove.
36254 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36255 * elf/dl-support.c (_dl_auxv): New variable.
36256 (_dl_aux_init): Initialize it.
36257 * manual/startup.texi (Auxiliary Vector): New node.
36258 * sysdeps/generic/bits/hwcap.h: New file.
36259 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36260 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36261 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36262 * sysdeps/sparc/sysdep.h: ... here. Include it.
36263 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36270 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36276 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36280 2012-05-19 David S. Miller <davem@davemloft.net>
36282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36284 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36287 * math/s_ccosh.c: Include <float.h>
36288 (__ccosh): Avoid internal overflow calculating sinh and cosh
36289 values before multiplying by sin and cos values.
36290 * math/s_ccoshf.c: Likewise.
36291 * math/s_ccoshl.c: Likewise.
36292 * math/s_csin.c: Likewise.
36293 * math/s_csinf.c: Likewise.
36294 * math/s_csinl.c: Likewise.
36295 * math/s_csinh.c: Likewise.
36296 * math/s_csinhf.c: Likewise.
36297 * math/s_csinhl.c: Likewise.
36298 * math/libm-test.inc (ccos_test): Add more tests.
36299 (ccosh_test): Likewise.
36300 (csin_test): Likewise.
36301 (csinh_test): Likewise.
36302 * sysdeps/i386/fpu/libm-test-ulps: Update.
36303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36305 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36307 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36308 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36310 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36312 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36314 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36315 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36316 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36317 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36318 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36319 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36320 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36321 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36322 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36323 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36324 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36325 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36326 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36327 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36328 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36329 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36330 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36331 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36332 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36333 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36334 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36335 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36336 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36337 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36338 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36339 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36340 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36341 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36342 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36343 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36344 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36346 2012-05-18 Andreas Jaeger <aj@suse.de>
36348 * csu/.gitignore: Delete.
36350 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36352 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36353 (timex): Use __syscall_slong_t.
36355 2012-05-18 Andreas Jaeger <aj@suse.de>
36356 Carlos O'Donell <carlos_odonell@mentor.com>
36358 * manual/install.texi (Configuring and compiling): Update
36359 description about files modified in the source directory.
36360 * INSTALL: Regenerated.
36362 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36364 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36365 value. Use "or" to set return value to -1.
36366 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36367 negate return value.
36369 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36371 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36372 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36373 failure if the compiler has Graphite support disabled.
36374 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36376 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36377 (CFLAGS-memmove.c): Likewise.
36378 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36381 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36383 * sysdeps/x86_64/x32/_itoa.h: New file.
36385 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36386 getdents system call only if kernel and user dirents have the
36387 same d_ino and d_off.
36389 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36390 LLONG_MAX != LONG_MAX.
36391 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36392 (_fitoa_word): Likewise.
36394 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36397 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36398 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36400 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36401 include <bits/wordsize.h>. Check __x86_64__ instead of
36403 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36404 if __x86_64__ is defined. Use anonymous union on fpstate.
36406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36409 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36411 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36412 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36413 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36414 Refer to _rtld_local_ro instead of _rtld_global_ro.
36415 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36417 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36419 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36421 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36422 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36423 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36425 * sysdeps/powerpc/powerpc32/dl-machine.c
36426 (__elf_machine_runtime_setup) [PROF]: Don't reference
36429 2012-05-18 Andreas Jaeger <aj@suse.de>
36431 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36432 function only available for GCCs before 3.4 since GCC 3.4
36433 introduced a builtin.
36435 (llrintf): Likewise.
36436 (llrint): Likewise.
36443 (nearbyint): Likewise.
36444 (nearbyintf): Likewise.
36448 (floorf): Likewise.
36450 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36452 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36453 on both fields and cast pointer to __syscall_ulong_t.
36455 * bits/types.h (__fsword_t): New type.
36456 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36457 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36459 (__FSWORD_T_TYPE): Likewise.
36460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36461 (__FSWORD_T_TYPE): Likewise.
36462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36463 (__FSWORD_T_TYPE): Likewise.
36464 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36465 (__FSWORD_T_TYPE): Likewise.
36466 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36467 __SWORD_TYPE with __fsword_t.
36468 (statfs64): Likewise.
36470 2012-05-17 David S. Miller <davem@davemloft.net>
36472 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36474 2012-05-17 Andreas Jaeger <aj@suse.de>
36476 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36479 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36481 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36483 2012-05-17 Andreas Jaeger <aj@suse.de>
36485 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36488 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36490 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36492 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36494 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36495 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36497 2012-05-17 Andreas Jaeger <aj@suse.de>
36498 Carlos O'Donell <carlos_odonell@mentor.com>
36501 * sysdeps/x86_64/multiarch/init-arch.h
36502 (bit_YMM_Usable): Rename to...
36503 (bit_AVX_Usable): ... this.
36504 (bit_FMA4_Usable): New macro.
36505 (bit_XMM_state): New macro.
36506 (bit_YMM_state): New macro.
36507 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36508 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36509 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36510 (CPUID_OSXSAVE): New macro.
36511 (CPUID_AVX): New macro.
36512 (CPUID_FMA4): New macro.
36513 (index_YMM_Usable): Rename to...
36514 (index_AVX_Usable): ... this.
36515 (HAS_AVX): Use HAS_ARCH_FEATURE.
36516 (HAS_FMA4): Likewise.
36517 (HAS_YMM_USABLE): Remove.
36518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36519 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36521 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36522 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36523 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36524 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36525 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36527 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36529 * math/libm-test.c: Support platforms without multiple rounding modes.
36530 * math/bug-nextafter.c: Support platforms without FP exceptions.
36531 * math/bug-nexttoward.c: Likewise.
36532 * math/test-fenv.c: Likewise.
36533 * math/test-misc.c: Likewise.
36534 * stdlib/bug-getcontext.c: Likewise.
36536 2012-05-17 Andreas Jaeger <aj@suse.de>
36538 * manual/examples/search.c (critter_cmp): Change signature to
36540 * manual/string.texi (Collation Functions): Likewise.
36542 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36544 * bits/types.h: Fold copyright years.
36545 * bits/typesizes.h: Likewise.
36546 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36547 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36550 * time/time.h: Likewise.
36552 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36555 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36556 in instead of returning them. Return void.
36557 (__libc_mallinfo): Accumulate over all arenas.
36558 (__malloc_stats): Adjust for change in int_mallinfo interface.
36560 2012-05-16 Roland McGrath <roland@hack.frob.com>
36563 * configure.in (NM): Add AC_CHECK_TOOL for it.
36564 (libc_extra_cflags): New substituted variable.
36565 Check for -fstack-protector being used implicitly.
36566 * configure: Regenerated.
36567 * config.make.in (config-extra-cflags): New variable,
36568 gets @libc_extra_cflags@.
36569 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36572 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36573 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36574 * configure: Regenerated.
36575 * config.make.in (CPPUNDEFS): New substituted variable.
36576 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36577 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36578 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36580 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36582 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36583 (mq_attr): Use __syscall_slong_t.
36585 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36588 Check __x86_64__ instead of __WORDSIZE.
36589 (_STAT_VER_LINUX): Likewise.
36590 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36591 __syscall_ulong_t and __syscall_slong_t.
36592 (stat64): Likewise.
36594 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36598 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36600 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36602 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36604 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36607 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36608 include <bits/wordsize.h>. Check __x86_64__ instead of
36610 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36612 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36614 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36615 include <bits/wordsize.h>. Check __x86_64__ instead of
36617 (user_regs_struct): Use "__extension__ unsigned long long"
36618 instead of "unsigned long" if __x86_64__ is defined.
36619 (user): Likewise. Pad after pointer field if __ILP32__ is
36622 2012-05-16 Joseph Myers <joseph@codesourcery.com>
36624 * configure.in (makeinfo): Require version 4.5 or later. Allow
36626 * configure: Regenerated.
36627 * manual/install.texi (texinfo): Increase version requirement to
36629 * INSTALL: Regenerated.
36631 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36633 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36635 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36637 * sysdeps/x86_64/x32/ffs.c: New file.
36639 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36641 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36642 defined. Use __syscall_ulong_t.
36643 (shminfo): Use __syscall_ulong_t.
36644 (shm_info): Likewise.
36646 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36649 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36651 (msgqnum_t): Use __syscall_ulong_t.
36652 (msglen_t): Likewise.
36653 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36656 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36657 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36659 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36661 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36662 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36664 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36667 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36668 include <bits/wordsize.h>. Check __x86_64__ instead of
36671 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36672 "unsigned long long int" if __x86_64__ is defined.
36673 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36675 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36676 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36677 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36679 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36681 (GET_PC): Cast to uintptr_t first.
36682 (GET_FRAME): Likewise.
36683 (GET_STACK): Likewise.
36685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36687 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36688 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36689 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36690 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36691 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36692 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36693 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36694 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36695 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36696 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36697 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36698 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36699 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36700 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36701 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36702 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36703 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36704 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36705 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36706 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36707 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36708 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36709 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36710 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36711 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36712 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36713 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36715 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36717 * Makerules (+depfiles): Also collect depfiles from .oS in
36719 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36720 .oS, $(libnldbl-routines)).
36722 * Makerules (native-compile-mkdep-flags): Define.
36723 * sunrpc/Makefile (extra-objs): Add $(addprefix
36724 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36725 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36726 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36727 calling $(make-target-directory).
36729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36731 * bits/types.h (__snseconds_t): Removed.
36732 * time/time.h (struct timespec): Replace __snseconds_t with
36734 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36735 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36738 (__SNSECONDS_T_TYPE): Likewise.
36739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36740 (__SNSECONDS_T_TYPE): Likewise.
36741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36742 (__SNSECONDS_T_TYPE): Likewise.
36744 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36746 * sysdeps/mach/hurd/bits/typesizes.h
36747 (__SYSCALL_SLONG_TYPE): New macro.
36748 (__SYSCALL_ULONG_TYPE): Likewise.
36750 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36752 * bits/types.h (__syscall_slong_t): New type.
36753 (__syscall_ulong_t): Likewise.
36755 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36756 (__SYSCALL_ULONG_TYPE): Likewise.
36757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36758 (__SYSCALL_SLONG_TYPE): Likewise.
36759 (__SYSCALL_ULONG_TYPE): Likewise.
36760 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36761 (__SYSCALL_SLONG_TYPE): Likewise.
36762 (__SYSCALL_ULONG_TYPE): Likewise.
36763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36764 (__SYSCALL_SLONG_TYPE): Likewise.
36765 (__SYSCALL_ULONG_TYPE): Likewise.
36767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36769 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36770 Add sigaltstack-offsets.sym.
36771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36772 <sigaltstack-offsets.h>.
36773 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36774 longjmp_msg pointer.
36775 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36776 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36778 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36780 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36782 * elf/stackguard-macros.h: Remove file.
36783 * sysdeps/generic/stackguard-macros.h: New file.
36784 * sysdeps/i386/stackguard-macros.h: Likewise.
36785 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36786 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36787 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36788 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36789 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36790 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36791 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36792 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36793 <elf/stackguard-macros.h>.
36796 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36797 __aligned__ in attribute.
36798 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36799 (gregset_t): Likewise.
36801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36803 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36804 * sysdeps/x86_64/64/Implies-after: Here. New file.
36805 * sysdeps/x86_64/x32/Implies-after: New file.
36807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36809 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36810 and access return value for _dl_profile_fixup. Use R10_LP to
36813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36815 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36819 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36820 * sysdeps/x86_64/x32/sysdep.h: New file.
36822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36824 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36825 * sysdeps/x86_64/setjmp.S: Likewise.
36827 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36829 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36830 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36831 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36832 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36833 remove unused global constant.
36835 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36837 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36838 include of <not-cancel.h>.
36840 2012-05-15 Roland McGrath <roland@hack.frob.com>
36842 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36844 2012-05-15 Jeff Law <law@redhat.com>
36845 Andreas Jaeger <aj@suse.de>
36848 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36850 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36851 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36852 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36853 code changing __hst_map_handle.map.
36855 2012-05-15 Roland McGrath <roland@hack.frob.com>
36857 * configure.in (sysnames): Look for Implies-before and Implies-after
36859 * configure: Regenerated.
36861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36863 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36864 8-byte data alignment with LP_SIZE alignment.
36866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36868 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36873 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36877 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36878 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36879 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36881 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36885 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36886 (stackinfo_sub_sp): Likewise.
36888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36890 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36893 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36895 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36905 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36909 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36910 into R11_LP and load __x86_64_shared_cache_size_half into
36913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36915 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36918 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36927 powerpc32/power7/fpu/s_logb.c via #include.
36928 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36929 powerpc32/power7/fpu/s_logbf.c via #include.
36930 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36931 powerpc32/power7/fpu/s_logbl.c via #include.
36933 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36935 * README.libm: Remove file.
36937 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36939 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36940 count for x32. Use R*_LP and omit operand-size suffix.
36942 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36944 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36945 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36946 * sysdeps/x86_64/x32/shlib-versions: New file.
36948 2012-05-14 Roland McGrath <roland@hack.frob.com>
36950 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36951 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36952 Use _dl_fatal_printf instead.
36954 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36956 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36957 set if not set by the user. Do not allow for being unset.
36958 * sysdeps/unix/sysv/linux/configure: Regenerated.
36960 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36962 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36963 the `q' suffix from lea and replace .quad with ASM_ADDR.
36965 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36968 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36970 (PTR_DEMANGLE): Likewise.
36972 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36974 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36976 (ASM_ADDR): Likewise.
36977 (RAX_LP): Likewise.
36978 (RBP_LP): Likewise.
36979 (RBX_LP): Likewise.
36980 (RCX_LP): Likewise.
36981 (RDI_LP): Likewise.
36982 (RSI_LP): Likewise.
36983 (RSP_LP): Likewise.
36986 (R10_LP): Likewise.
36987 (R10_LP): Likewise.
36988 (R11_LP): Likewise.
36989 (R12_LP): Likewise.
36990 (R13_LP): Likewise.
36991 (R14_LP): Likewise.
36992 (R15_LP): Likewise.
36994 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36996 * sysdeps/x86_64/x32/dl-machine.h: New file.
36998 2012-05-14 Andreas Jaeger <aj@suse.de>
37000 * manual/Makefile (subdir): Remove export of subdir.
37001 (all): Remove target.
37002 (.PHONY): Remove all from list.
37003 (mkinstalldirs): Remove.
37004 (.PHONY): Remove installdirs from list.
37005 ($(inst_infodir)/libc.info): Use make-target-directory.
37006 (installdirs): Remove.
37007 (subdir_%): Remove.
37008 (glibc-targets): Remove.
37011 ($(objpfx)stubs ../po/manual.pot): Remove.
37012 ($(objpfx)stamp%): Remove.
37013 (make-target-directory): Remove.
37014 (subdir_install): Remove.
37015 (routines): Remove.
37022 * manual/.gitignore: Remove, it's not needed anymore.
37023 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37025 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37027 (texis): Renamed to $(objpfx)texis.
37028 (texis-path): New, contains path to generated files.
37029 (chapters.%): Use texis-path for complete path, add extra argument
37031 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37032 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37033 (summary,texi, stamp-summary): Use complete path of
37034 files. Generate files in build dir.
37035 (dir-add.texi): Build in build dir.
37036 (libm-err.texi,stamp-libm-err): Likewise.
37037 (version.texi, stamp-version): Likewise.
37038 (.%c.texi): Likewise.
37039 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37040 (mostlyclean): Remove target.
37041 (realclean): Remove target.
37042 (generated): Add new variable with contents from mostlyclean and
37043 realclean, remove entries duplicated in common-mostlyclean, add
37044 stamp-libm-err and stamp-version.
37045 (generated-dirs): Add libc directory.
37046 ($(inst_infodir)/libc.info): Install files from build dir.
37048 * manual/install.texi (Configuring and compiling): Adjust since
37049 the info files are not part of the tar ball anymore.
37051 2012-05-14 Andreas Jaeger <aj@suse.de>
37053 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37056 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37059 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37060 to 2.2.0 where earlier.
37061 * sysdeps/unix/sysv/linux/configure: Regenerated.
37062 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37063 Remove conditional code.
37064 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37065 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37066 Remove conditional code.
37067 [!__NR_lchown]: Likewise.
37068 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37069 [__NR_lchown]: Likewise.
37070 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37071 comment referencing __ASSUME_LCHOWN_SYSCALL.
37072 * sysdeps/unix/sysv/linux/i386/sigaction.c
37073 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37074 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37075 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37076 Remove conditional code.
37077 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37078 (__protocol_available): Remove #if 0 code.
37079 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37081 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37082 * sysdeps/unix/sysv/linux/kernel-features.h
37083 (__ASSUME_GETCWD_SYSCALL): Don't define.
37084 (__ASSUME_REALTIME_SIGNALS): Likewise.
37085 (__ASSUME_PREAD_SYSCALL): Likewise.
37086 (__ASSUME_PWRITE_SYSCALL): Likewise.
37087 (__ASSUME_POLL_SYSCALL): Likewise.
37088 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37089 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37091 (__ASSUME_SIOCGIFNAME): Don't define.
37092 (__ASSUME_MSG_NOSIGNAL): Likewise.
37093 (__ASSUME_SENDFILE): Define unconditionally.
37094 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37095 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37097 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37098 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37099 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37100 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37101 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37102 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37103 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37105 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37108 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37114 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37115 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37117 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37120 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37123 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37126 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37128 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37129 Remove conditional code.
37130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37131 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37132 Remove conditional code.
37133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37134 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37135 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37136 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37137 Remove conditional code.
37138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37139 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37140 Remove conditional code.
37141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37142 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37143 Remove conditional code.
37144 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37145 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37146 Remove conditional code.
37147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37148 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37149 Remove conditional code.
37150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37151 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37154 * sysdeps/unix/sysv/linux/sigaction.c
37155 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37156 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37157 * sysdeps/unix/sysv/linux/sigpending.c
37158 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37159 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37160 * sysdeps/unix/sysv/linux/sigprocmask.c
37161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37163 * sysdeps/unix/sysv/linux/sigsuspend.c
37164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37166 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37167 (__libc_missing_rt_sigs): Remove.
37168 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37169 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37170 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37171 Remove conditional code.
37172 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37173 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37175 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37176 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37177 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37178 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37180 2012-05-14 Andreas Jaeger <aj@suse.de>
37182 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37183 it's not used in glibc.
37184 (__coshm1): Likewise.
37185 (__acosh1p): Likewise.
37188 * manual/string.texi (Copying and Concatenation): Add missing
37189 variable in concat example.
37190 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37192 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37196 __builtin_clzl with __builtin_clzll.
37198 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37201 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37204 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37206 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37207 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37208 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37209 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37211 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37213 * NEWS: Update ia64 info.
37215 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37217 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37220 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37222 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37223 * sysdeps/unix/syscalls.list (dup3): Likewise.
37224 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37225 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37227 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37229 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37230 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37232 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37234 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37236 (TLS_IE): Use mov/add instead of movq/addq to load thread
37238 (TLS_GD_PREFIX): New.
37241 2012-05-11 David S. Miller <davem@davemloft.net>
37243 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37244 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37245 (_FPU_SETCW): Likewise.
37247 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37249 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37250 is 32-byte aligned.
37252 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37255 * iconvdata/gb18030.c: Update tables.
37256 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37257 characters specially.
37258 (BODY for TO_LOOP): Add encoding of missing ranges.
37260 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37263 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37264 * sysdeps/mach/hurd/dup3.c: Likewise.
37265 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37266 * sysdeps/powerpc/memmove.c:: Likewise.
37268 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37271 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37273 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37275 * elf/elf.h (R_X86_64_RELATIVE64): New.
37276 (R_X86_64_NUM): Updated.
37277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37278 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37279 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37280 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37281 tst-quad1pie tst-quad2pie
37282 (modules-names): Add tst-quadmod1 tst-quadmod2.
37283 ($(objpfx)tst-quad1): New dependency.
37284 ($(objpfx)tst-quad2): Likewise.
37285 ($(objpfx)tst-quad1pie): Likewise.
37286 ($(objpfx)tst-quad2pie): Likewise.
37287 * sysdeps/x86_64/tst-quad1.c: New file.
37288 * sysdeps/x86_64/tst-quad1pie.c: New file.
37289 * sysdeps/x86_64/tst-quad2.c: Likewise.
37290 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37291 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37292 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37293 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37294 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37296 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37298 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37299 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37300 * streams/stropts.h (t_scalar_t): Define type.
37302 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37303 (_PATH_PRESERVE): Set to "/var/lib".
37304 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37306 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37309 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37310 if __dir_mkfile succeeded.
37312 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37313 checking for _hurd_dtablesize. Unlock it right after having
37314 finished _hurd_dtable allocation.
37316 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37318 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37319 * sysdeps/mach/hurd/configure: Regenerated.
37320 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37321 special-casing to...
37322 * sysdeps/gnu/configure.in: ... this new file.
37323 * sysdeps/unix/sysv/linux/configure: Regenerated.
37324 * sysdeps/gnu/configure: New generated file.
37326 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37327 for Linux: use nsec instead of usec, as well as:
37328 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37329 members of type struct timespec.
37330 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37332 (struct stat64): Likewise.
37333 (_STATBUF_ST_NSEC): New macro.
37334 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37336 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37337 __strtoul_internal rather than strtoul.
37339 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37341 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37344 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37346 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37347 which preserves existing values.
37348 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37350 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37352 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37353 TIMEOUT values. Return EINVAL for NFDS values either negative or
37354 greater than FD_SETSIZE.
37356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37358 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37359 allocated, call __vm_protect to finish enabling the existing space, and
37360 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37361 allocate the remainder.
37363 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37365 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37366 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37368 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37370 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37371 sysdeps/mach/hurd/readlink.c.
37373 * posix/tst-sysconf.c (posix_options): Only use
37374 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37375 _POSIX_SYNCHRONIZED_IO when they are defined
37376 * sysdeps/mach/hurd/bits/posix_opt.h:
37377 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37378 (_XOPEN_REALTIME): Undefine macro.
37379 (_XOPEN_REALTIME_THREADS): Undefine macro.
37380 (_XOPEN_SHM): Undefine macro.
37381 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37383 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37385 (_POSIX_ASYNC_IO): Undefine macro.
37386 (_POSIX_PRIORITIZED_IO): Undefine macro.
37387 (_POSIX_SPIN_LOCKS): Define macro to -1.
37389 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37390 SA_NODEFER, SA_RESETHAND.
37391 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37392 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37395 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37397 * elf/Makefile (pldd-modules): Define unconditionally.
37399 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37401 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37403 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37405 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37406 Return ENOENT when name is empty.
37407 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37409 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37411 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37413 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37415 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37417 Fix mlock in all cases except non-readable pages.
37418 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37419 instead of VM_PROT_ALL as parameter to __vm_wire function.
37421 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37422 (__mkdir): When path is `/', just fail with EEXIST.
37423 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37425 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37427 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37428 <sys/uio.h> (for writev).
37429 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37430 and <sys/param.h> (for MIN).
37432 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37434 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37435 REQUESTED_TIME. Properly set the remaining time and return EINTR
37438 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37440 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37441 Depend on against $(link-rpcuserlibs).
37443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37445 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37446 (__libc_stack_end): Do not use attribute_relro.
37447 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37448 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37449 to libthread-provided value.
37450 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37453 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37456 * bits/libc-lock.h (__libc_once_get): New macro.
37457 * sysdeps/mach/bits/libc-lock.h: Likewise.
37458 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37460 instead of using implementation details.
37462 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37463 * libio/freopen.c: Likewise.
37464 * libio/freopen64.c: Likewise.
37465 * misc/syslog.c: Likewise.
37466 * nscd/connections.c: Likewise.
37467 * nscd/netgroupcache.c: Likewise.
37468 * sysdeps/posix/getcwd.c: Likewise.
37470 2012-05-10 Roland McGrath <roland@hack.frob.com>
37472 * math/w_ilogbf.c: Add #include <limits.h>.
37474 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37476 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37477 path instead of returning without unlocking.
37479 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37480 immediate-write ioctls.
37481 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37483 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37485 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37486 __builtin_frame_address instead of making assumptions about the
37487 location of the return address relative to DATA. Force early load of
37488 the return address.
37489 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37490 __builtin_frame_address.
37493 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37494 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37495 implement dup3 and do some further code clean-ups.
37496 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37497 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37499 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37501 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37503 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37504 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37505 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37506 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37507 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37510 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37511 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37512 when handler == SIG_ERR, not when handler != SIG_ERR.
37514 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37516 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37517 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37520 accept4 for GNU Hurd.
37521 * include/sys/socket.h (__libc_accept4): New prototype.
37522 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37523 to implement __libc_accept4.
37524 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37526 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37528 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37529 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37530 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37531 signal-defines.sym.
37533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37535 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37537 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37539 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37540 assertion on O_CLOEXEC flag.
37541 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37542 * hurd/intern-fd.c: Likewise.
37543 * hurd/port2fd.c: Likewise.
37545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37548 * bits/in.h (IPV6_PKTINFO): Define new macro.
37549 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37551 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37556 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37557 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37558 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37559 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37561 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37562 * math/libm-test.inc (logb_test) : Additional logb tests.
37564 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37565 Andreas Jaeger <aj@suse.de>
37567 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37568 * configure: Regenerated.
37569 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37570 * config.make.in (link-obsolete-rpc): New substituted variable.
37571 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37572 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37573 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37574 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37575 so that libc.a contains the symbols.
37576 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37577 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37578 * sunrpc/auth_none.c: Likewise.
37579 * sunrpc/auth_unix.c: Likewise.
37580 * sunrpc/authdes_prot.c: Likewise.
37581 * sunrpc/authuxprot.c: Likewise.
37582 * sunrpc/clnt_gen.c: Likewise.
37583 * sunrpc/clnt_perr.c: Likewise.
37584 * sunrpc/clnt_raw.c: Likewise.
37585 * sunrpc/clnt_simp.c: Likewise.
37586 * sunrpc/clnt_tcp.c: Likewise.
37587 * sunrpc/clnt_udp.c: Likewise.
37588 * sunrpc/clnt_unix.c: Likewise.
37589 * sunrpc/des_crypt.c: Likewise.
37590 * sunrpc/des_soft.c: Likewise.
37591 * sunrpc/get_myaddr.c: Likewise.
37592 * sunrpc/key_call.c: Likewise.
37593 * sunrpc/key_prot.c: Likewise.
37594 * sunrpc/netname.c: Likewise.
37595 * sunrpc/pm_getmaps.c: Likewise.
37596 * sunrpc/pm_getport.c: Likewise.
37597 * sunrpc/pmap_clnt.c: Likewise.
37598 * sunrpc/pmap_prot.c: Likewise.
37599 * sunrpc/pmap_prot2.c: Likewise.
37600 * sunrpc/pmap_rmt.c: Likewise.
37601 * sunrpc/publickey.c: Likewise.
37602 * sunrpc/rpc_cmsg.c: Likewise.
37603 * sunrpc/rpc_common.c: Likewise.
37604 * sunrpc/rpc_dtable.c: Likewise.
37605 * sunrpc/rpc_prot.c: Likewise.
37606 * sunrpc/rpc_thread.c: Likewise.
37607 * sunrpc/rtime.c: Likewise.
37608 * sunrpc/svc.c: Likewise.
37609 * sunrpc/svc_auth.c: Likewise.
37610 * sunrpc/svc_raw.c: Likewise.
37611 * sunrpc/svc_run.c: Likewise.
37612 * sunrpc/svc_tcp.c: Likewise.
37613 * sunrpc/svc_udp.c: Likewise.
37614 * sunrpc/svc_unix.c: Likewise.
37615 * sunrpc/svcauth_des.c: Likewise.
37616 * sunrpc/xcrypt.c: Likewise.
37617 * sunrpc/xdr.c: Likewise.
37618 * sunrpc/xdr_array.c: Likewise.
37619 * sunrpc/xdr_float.c: Likewise.
37620 * sunrpc/xdr_intXX_t.c: Likewise.
37621 * sunrpc/xdr_mem.c: Likewise.
37622 * sunrpc/xdr_rec.c: Likewise.
37623 * sunrpc/xdr_ref.c: Likewise.
37624 * sunrpc/xdr_sizeof.c: Likewise.
37625 * sunrpc/xdr_stdio.c: Likewise.
37627 2012-05-10 Roland McGrath <roland@hack.frob.com>
37629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37630 change. Update copyright years.
37632 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37634 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37636 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37637 Joseph Myers <joseph@codesourcery.com>
37638 Paul Pluzhnikov <ppluzhnikov@google.com>
37641 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37643 [cross-compiling] (extra-libs): Likewise.
37644 [cross-compiling] (extra-libs-others): Likewise.
37645 [cross-compiling] (librpcsvc-routines): Likewise.
37646 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37647 [cross-compiling] (omit-deps): Likewise.
37648 (sunrpc-CPPFLAGS): New variable.
37649 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37650 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37651 (cross-rpcgen-objs): New variable.
37652 (extra-objs): Append $(cross-rpcgen-objs).
37653 ($(cross-rpcgen-objs)): New rule.
37654 ($(objpfx)cross-rpcgen): Likewise.
37655 (rpcgen-cmd): Define to use $(built-program-file). Expand
37657 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37658 ($(objpfx)x%.stmp): Likewise.
37659 * sunrpc/proto.h [IS_IN_build] (_): Define.
37660 [IS_IN_build] (_libc_intl_domainname): Likewise.
37662 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37665 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37666 and R_X86_64_TPOFF64.
37668 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37670 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37671 sysdeps/unix/sysv/syscalls.list.
37674 * sysdeps/unix/sysv/syscalls.list: Remove file.
37676 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37679 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37680 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37681 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37682 (__LC_IDENTIFICATION): Make these macros useful in #if
37683 expressions, as required by C99.
37685 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37687 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37688 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37691 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37693 * stdlib/longlong.h: Updated from GCC.
37695 2012-05-09 Andreas Jaeger <aj@suse.de>
37697 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37698 default is first entry.
37699 (run_mode): Set type.
37700 (main): Remove informal message about syslog.
37701 (options): Fix typo.
37704 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37707 (llrintf): Likewise.
37708 (llrint): Likewise.
37711 (nearbyint): Likewise.
37712 (nearbyintf): Likewise.
37714 2012-05-09 Andreas Jaeger <aj@suse.de>
37715 Pedro Alves <palves@redhat.com>
37717 * nscd/nscd.c (run_mode): Use enum.
37718 (main): Cleanup coding style issue.
37720 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37721 Andreas Jaeger <aj@suse.de>
37723 * nscd/nscd.c (go_background): Replaced with...
37724 (run_mode): ... this.
37725 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37726 (options): Add -F --foreground.
37727 (main): Implement it.
37728 (parse_opt): Parse it.
37730 2012-05-09 Andreas Jaeger <aj@suse.de>
37733 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37734 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37735 -Wconversion warning.
37736 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37739 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37741 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37743 (LC_ALL): Use macro-int-constant.
37744 (LC_COLLATE): Likewise.
37745 (LC_CTYPE): Likewise.
37746 (LC_MESSAGES): Likewise.
37747 (LC_MONETARY): Likewise.
37748 (LC_NUMERIC): Likewise.
37749 (LC_TIME): Likewise.
37750 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37751 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37752 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37753 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37755 [C99-based standards] (float_t): Expect type.
37756 [C99-based standards] (double_t): Expect type.
37757 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37759 [C99-based standards] (HUGE_VALL): Likewise.
37760 [C99-based standards] (INFINITY): Likewise.
37761 [C99-based standards] (NAN): Likewise.
37762 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37763 [C99-based standards] (FP_NAN): Likewise.
37764 [C99-based standards] (FP_NORMAL): Likewise.
37765 [C99-based standards] (FP_SUBNORMAL): Likewise.
37766 [C99-based standards] (FP_ZERO): Likewise.
37767 [C99-based standards] (FP_FAST_FMA): Use
37768 optional-macro-int-constant. Specify type. Require == 1.
37769 [C99-based standards] (FP_FAST_FMAF): Likewise.
37770 [C99-based standards] (FP_FAST_FMAL): Likewise.
37771 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37772 [C99-based standards] (FP_ILOGBNAN): Likewise.
37773 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37775 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37776 [C99-based standards] (math_errhandling): Specify type.
37777 [ISO99 || ISO11] (signgam): Do not allow.
37778 [non-C99-based standards] (copysignf): Do not allow.
37779 [non-C99-based standards] (exp2f): Likewise.
37780 [non-C99-based standards] (log2f): Likewise.
37781 [non-C99-based standards] (modff): Allow.
37782 [non-C99-based standards] (erff): Do not allow.
37783 [non-C99-based standards] (erfcf): Likewise.
37784 [non-C99-based standards] (gammaf): Likewise.
37785 [non-C99-based standards] (hypotf): Likewise.
37786 [non-C99-based standards] (j0f): Likewise.
37787 [non-C99-based standards] (j1f): Likewise.
37788 [non-C99-based standards] (jnf): Likewise.
37789 [non-C99-based standards] (lgammaf): Likewise.
37790 [non-C99-based standards] (tgammaf): Likewise.
37791 [non-C99-based standards] (y0f): Likewise.
37792 [non-C99-based standards] (y1f): Likewise.
37793 [non-C99-based standards] (ynf): Likewise.
37794 [non-C99-based standards] (isnanf): Likewise.
37795 [non-C99-based standards] (acoshf): Likewise.
37796 [non-C99-based standards] (asinhf): Likewise.
37797 [non-C99-based standards] (atanhf): Likewise.
37798 [non-C99-based standards] (cbrtf): Likewise.
37799 [non-C99-based standards] (expm1f): Likewise.
37800 [non-C99-based standards] (ilogbf): Likewise.
37801 [non-C99-based standards] (log1pf): Likewise.
37802 [non-C99-based standards] (logbf): Likewise.
37803 [non-C99-based standards] (nextafterf): Likewise.
37804 [non-C99-based standards] (remainderf): Likewise.
37805 [non-C99-based standards] (rintf): Likewise.
37806 [non-C99-based standards] (scalbf): Likewise.
37807 [non-C99-based standards] (copysignl): Likewise.
37808 [non-C99-based standards] (exp2l): Likewise.
37809 [non-C99-based standards] (log2l): Likewise.
37810 [non-C99-based standards] (modfl): Allow.
37811 [non-C99-based standards] (erfl): Do not allow.
37812 [non-C99-based standards] (erfcl): Likewise.
37813 [non-C99-based standards] (gammal): Likewise.
37814 [non-C99-based standards] (hypotl): Likewise.
37815 [non-C99-based standards] (j0l): Likewise.
37816 [non-C99-based standards] (j1l): Likewise.
37817 [non-C99-based standards] (jnl): Likewise.
37818 [non-C99-based standards] (lgammal): Likewise.
37819 [non-C99-based standards] (tgammal): Likewise.
37820 [non-C99-based standards] (y0l): Likewise.
37821 [non-C99-based standards] (y1l): Likewise.
37822 [non-C99-based standards] (ynl): Likewise.
37823 [non-C99-based standards] (isnanl): Likewise.
37824 [non-C99-based standards] (acoshl): Likewise.
37825 [non-C99-based standards] (asinhl): Likewise.
37826 [non-C99-based standards] (atanhl): Likewise.
37827 [non-C99-based standards] (cbrtl): Likewise.
37828 [non-C99-based standards] (expm1l): Likewise.
37829 [non-C99-based standards] (ilogbl): Likewise.
37830 [non-C99-based standards] (log1pl): Likewise.
37831 [non-C99-based standards] (logbl): Likewise.
37832 [non-C99-based standards] (nextafterl): Likewise.
37833 [non-C99-based standards] (remainderl): Likewise.
37834 [non-C99-based standards] (rintl): Likewise.
37835 [non-C99-based standards] (scalbl): Likewise.
37836 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37837 [non-C99-based standards] (FP_*): Do not allow.
37838 [C99-based standards] (FP_*): Change to
37839 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37840 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37842 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37843 (SIG_ERR): Likewise.
37844 [X/Open-based standards] (SIG_HOLD): Likewise.
37845 (SIG_IGN): Likewise.
37846 (SIGABRT): Use macro-int-constant. Specify type. Require
37848 (SIGFPE): Likewise.
37849 (SIGILL): Likewise.
37850 (SIGINT): Likewise.
37851 (SIGSEGV): Likewise.
37852 (SIGTER): Likewise.
37853 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37854 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37855 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37856 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37857 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37858 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37859 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37860 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37861 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37862 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37863 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37864 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37865 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37866 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37867 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37868 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37869 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37870 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37871 [X/Open-based standards] (SIGTRAP): Likewise.
37872 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37873 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37874 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37875 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37876 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37879 2012-05-08 Ian Wienand <ianw@vmware.com>
37882 * time/tzset.c (__tzset_parse_tz): Update default rules for
37883 daylight time changes in the Energy Policy Act of 2005.
37885 2012-05-09 Andreas Jaeger <aj@suse.de>
37888 * elf/ldconfig.c (parse_conf): Change string to make clear that
37889 ldconfig only issued a warning if ld.so.conf does not exist.
37891 2012-05-08 David S. Miller <davem@davemloft.net>
37893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37894 movxtod instead of popping the value on the stack.
37896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37898 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37900 * config.h.in: Add HAVE_ARM_PCS_VFP.
37902 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37905 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37906 checking but the checks are disabled for any reason.
37908 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37910 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37911 and ELF64_R_TYPE with ELFW(R_TYPE).
37913 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37915 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37916 (ulimit): Likewise.
37918 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37919 (settimeofday): Likewise.
37921 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37923 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37924 a struct th_u2 inside the union, and move tu_block/tu_code into
37925 a new th_u3 union of tu_block/tu_code inside of that. Move
37926 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37927 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37928 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37929 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37930 (th_stuff): Change to th_u1.tu_stuff.
37932 (th_msg): Change to th_u1.th_u2.tu_data.
37934 2012-05-07 David S. Miller <davem@davemloft.net>
37936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37939 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37940 (SETUP_PIC_REG): Use it.
37941 (SETUP_PIC_REG_LEAF): Use it.
37943 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37947 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37949 (EXPL_FINITE): Likewise.
37950 (FLDLOG): Likewise.
37951 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37952 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37954 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37956 (EXPL_FINITE): Likewise.
37957 (FLDLOG): Likewise.
37958 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37959 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37961 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37962 test of -max_value argument for long double.
37963 * sysdeps/i386/fpu/libm-test-ulps: Update.
37964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37966 2012-05-06 David S. Miller <davem@davemloft.net>
37968 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37969 quad soft-float symbols whose references which are compiler
37971 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37973 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37977 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37979 (EXPL_FINITE): Likewise.
37980 (FLDLOG): Likewise.
37983 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37984 Adjust comments for base varying.
37985 (__expl_finite): Change alias to EXPL_FINITE.
37986 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37988 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37989 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37990 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37991 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37992 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37994 (EXPL_FINITE): Likewise.
37995 (FLDLOG): Likewise.
37998 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37999 Adjust comments for base varying.
38000 (__expl_finite): Change alias to EXPL_FINITE.
38001 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38006 * math/libm-test.inc (check_float_internal): Correct ulp
38007 calculation for subnormal expected results.
38009 2012-05-06 Andreas Jaeger <aj@suse.de>
38011 * Makeconfig (+math-flags): New, set to -frounding-math.
38012 (+cflags): Add +math-flags so that all of glibc gets compiled with
38015 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38017 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38019 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38025 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38026 (__ieee754_expl): Allow for and saturate large arguments.
38027 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38028 (u_threshold): Likewise.
38029 (__exp): Call __ieee754_exp before checking for overflow and
38031 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38032 (u_threshold): Likewise.
38033 (__expf): Call __ieee754_expf before checking for overflow and
38035 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38036 (u_threshold): Likewise.
38037 (__expl): Call __ieee754_expl before checking for overflow and
38039 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38040 (__ieee754_expl): Allow for and saturate large arguments.
38041 * math/libm-test.inc (exp_test): Add another test. Do not allow
38042 missing overflow exception on overflow.
38043 (expm1_test): Do not allow missing overflow exception on overflow.
38045 * sysdeps/i386/fpu/e_expl.c: Move to ...
38046 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38047 rather than using inline asm.
38048 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38049 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38050 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38052 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38055 (signal): Likewise.
38059 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38061 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38062 sysdeps/unix/common/syscalls.list.
38063 (fchmod): Likewise.
38064 (fchown): Likewise.
38065 (ftruncate): Likewise.
38066 (getrusage): Likewise.
38067 (gettimeofday): Likewise.
38068 (setpgid): Likewise.
38069 (setregid): Likewise.
38070 (setreuid): Likewise.
38071 (sigaction): Likewise.
38072 (truncate): Likewise.
38073 (vhangup): Likewise.
38074 * sysdeps/unix/common/syscalls.list: Remove file.
38075 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38076 * sysdeps/unix/sysv/linux/Implies: Likewise.
38078 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38080 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38082 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38086 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38089 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38092 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38095 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38098 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38101 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38104 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38108 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38112 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38115 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38119 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38123 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38125 * sysdeps/unix/common/bits/dirent.h: Remove file.
38126 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38128 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38129 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38130 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38131 * sysdeps/unix/bsd/isatty.c: Likewise.
38132 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38133 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38134 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38136 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38139 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38140 long double comparison inaccuracies.
38141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38144 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38146 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38147 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38149 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38152 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38153 nonzero digits before rounding a hex value.
38154 * stdlib/tst-strtod.c (tests): Add another test.
38156 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38158 * sysdeps/s390/fpu/libm-test-ulps: Update.
38160 2012-05-03 Andreas Jaeger <aj@suse.de>
38162 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38163 does not get optimized out.
38164 (malloc_opt_barrier): New.
38166 2012-05-03 Andreas Jaeger <aj@suse.de>
38167 Roland McGrath <roland@hack.frob.com>
38169 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38170 intermediate file deletion.
38171 (generated): Add .symlist files.
38173 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38176 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38177 Redirect under this condition.
38178 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38179 [__USE_GNU] (__dprintf_chk): Not under this condition.
38180 [__USE_GNU] (__vdprintf_chk): Likewise.
38181 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38182 under this condition.
38183 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38184 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38185 [__USE_XOPEN2K8] (vdprintf): Likewise.
38186 [__USE_GNU] (__dprintf_chk): Not under this condition.
38187 [__USE_GNU] (__vdprintf_chk): Likewise.
38188 [__USE_GNU] (dprintf): Likewise.
38189 [__USE_GNU] (vdprintf): Likewise.
38191 2012-05-03 Roland McGrath <roland@hack.frob.com>
38193 * elf/Makefile (common-generated): Set this instead of generated for
38194 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38195 $(all-built-dso)-derived lists.
38197 2012-05-03 Andreas Jaeger <aj@suse.de>
38199 * sysdeps/i386/fpu/libm-test-ulps: Update.
38202 * FAQ.in: Likewise.
38203 * scripts/gen-FAQ.pl: Likewise.
38204 * manual/install.texi (Installation): Point to online location of
38206 * Makefile (files-for-dist): Remove FAQ.
38209 2012-05-02 Allan McRae <allan@archlinux.org>
38211 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38212 (LDFLAGS-reldepmod5.so): Likewise.
38213 (LDFLAGS-reldep6mod1.so): Likewise.
38214 (LDFLAGS-reldep6mod4.so): Likewise.
38215 (LDFLAGS-reldep8mod3.so): Likewise.
38216 (LDFLAGS-unload4mod1.so): Likewise.
38217 (LDFLAGS-unload4mod2.so): Likewise.
38218 (LDFLAGS-tst-initorder): Likewise.
38219 (LDFLAGS-tst-initordera2.so): Likewise.
38220 (LDFLAGS-tst-initordera3.so): Likewise.
38221 (LDFLAGS-tst-initordera4.so): Likewise.
38222 (LDFLAGS-tst-initorderb2.so): Likewise.
38223 (LDFLAGS-noload): Likewise.
38224 (LDFLAGS-next): Likewise.
38225 (LDFLAGS-order2mod1.so): Likewise.
38226 (LDFLAGS-order2mod2.so): Likewise.
38227 (LDFLAGS-tst-initorder2): Likewise.
38228 (LDFLAGS-tst-initorder2a.so): Likewise.
38229 (LDFLAGS-tst-initorder2b.so): Likewise.
38230 (LDFLAGS-tst-initorder2c.so): Likewise.
38231 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38233 2012-05-02 David S. Miller <davem@davemloft.net>
38235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38237 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38240 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38242 2012-05-02 Andreas Jaeger <aj@suse.de>
38244 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38245 since we manipulate rounding mode.
38246 (CPPFLAGS-test-idouble.c): Likewise.
38247 (CPPFLAGS-test-ifloat.c): Likewise.
38248 (CFLAGS-test-ldouble.c): Likewise.
38249 (CFLAGS-test-double.c): Likewise.
38250 (CFLAGS-test-float.c): Likewise.
38251 (CFLAGS-test-misc.c): Likewise.
38252 (CFLAGS-test-test-fenv.c): Likewise.
38254 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38258 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38259 comparisons to determine direction to adjust input.
38261 2012-05-01 Roland McGrath <roland@hack.frob.com>
38263 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38264 output to the target.
38266 * scripts/localplt.awk: New file.
38267 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38268 (check-localplt-CFLAGS): Variable removed.
38269 ($(all-built-dso:=.jmprel)): New static pattern rule.
38270 (generated): Add those targets.
38271 (localplt-built-dso): New variable.
38272 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38274 * elf/check-localplt.c: File removed.
38276 * scripts/check-execstack.awk: New file.
38277 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38278 (check-execstack-CFLAGS): Variable removed.
38279 ($(objpfx)check-execstack.h): Target removed.
38280 ($(objpfx)execstack-default): New target.
38281 (generated): Add that instead of check-execstack.h.
38282 ($(all-built-dso:=.phdr)): New static pattern rule.
38283 (generated): Add those targets.
38284 * elf/check-execstack.c: File removed.
38286 * scripts/check-textrel.awk: New file.
38287 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38288 (check-textrel-CFLAGS): Variable removed.
38289 (all-built-dso): Use := to define.o
38290 ($(all-built-dso:=.dyn)): New static pattern rule.
38291 (generated): Add those targets.
38292 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38293 * config.make.in (READELF): New substituted variable.
38294 * elf/check-textrel.c: File removed.
38296 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38298 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38300 * conform/data/ctype.h-data [C99-based standards] (isblank):
38302 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38303 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38305 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38306 Specify type. Require positive value.
38307 (EILSEQ): Likewise.
38308 (ERANGE): Likewise.
38309 [ISO || POSIX] (EILSEQ): Do not expect.
38310 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38311 Specify type. Require positive value.
38312 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38313 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38314 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38315 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38316 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38317 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38318 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38319 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38320 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38321 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38322 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38323 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38324 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38325 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38326 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38327 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38328 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38329 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38330 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38331 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38332 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38333 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38334 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38335 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38336 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38337 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38338 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38339 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38340 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38341 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38342 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38343 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38344 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38345 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38346 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38347 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38348 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38349 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38350 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38351 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38352 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38353 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38354 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38355 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38356 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38357 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38358 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38359 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38360 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38361 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38362 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38363 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38364 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38365 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38366 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38367 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38368 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38369 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38370 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38371 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38372 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38373 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38374 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38375 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38376 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38377 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38378 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38379 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38380 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38381 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38382 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38383 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38384 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38385 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38386 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38387 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38388 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38390 (FLT_ROUNDS): Expect as macro, not constant.
38391 (FLT_MANT_DIG): Use macro-int-constant.
38392 (DBL_MANT_DIG): Likewise.
38393 (LDBL_MANT_DIG): Likewise.
38394 (FLT_DIG): Likewise.
38395 (DBL_DIG): Likewise.
38396 (LDBL_DIG): Likewise.
38397 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38398 (DBL_MIN_EXP): Likewise.
38399 (LDBL_MIN_EXP): Likewise.
38400 (FLT_MAX_EXP): Use macro-int-constant.
38401 (DBL_MAX_EXP): Likewise.
38402 (LDBL_MAX_EXP): Likewise.
38403 (FLT_MAX_10_EXP): Likewise.
38404 (DBL_MAX_10_EXP): Likewise.
38405 (LDBL_MAX_10_EXP): Likewise.
38406 (FLT_MAX): Use macro-constant.
38407 (DBL_MAX): Likewise.
38408 (LDBL_MAX): Likewise.
38409 (FLT_EPSILON): Use macro-constant. Give upper bound.
38410 (DBL_EPSILON): Likewise.
38411 (LDBL_EPSILON): Likewise.
38412 (FLT_MIN): Likewise.
38413 (DBL_MIN): Likewise.
38414 (LDBL_MIN): Likewise.
38415 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38416 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38417 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38418 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38419 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38420 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38421 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38422 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38423 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38424 [ISO11] (FLT_TRUE_MIN): Likewise.
38425 [ISO11] (LDBL_TRUE_MIN): Likewise.
38426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38427 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38428 (SCHAR_MIN): Use macro-int-constant. Specify type.
38429 (SCHAR_MAX): Likewise.
38430 (UCHAR_MAX): Likewise.
38431 (CHAR_MIN): Likewise.
38432 (CHAR_MAX): Likewise.
38433 (MB_LEN_MAX): Use macro-int-constant.
38434 (SHRT_MIN): Use macro-int-constant. Specify type.
38435 (SHRT_MAX): Likewise.
38436 (USHRT_MAX): Likewise.
38437 (INT_MAX): Likewise.
38438 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38440 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38442 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38444 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38445 bound negative. Suffix upper bound with "L".
38446 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38448 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38450 [C99-based standards] (LLONG_MAX): Likewise.
38451 [C99-based standards] (ULLONG_MAX): Likewise.
38452 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38454 [ISO11] (max_align_t): Require type.
38455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38457 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38458 from $CFLAGS, without defining away __attribute__ calls.
38459 (checknamespace): Use $CFLAGS_namespace.
38461 * conform/conformtest.pl (@keywords): Only include C99 keywords
38462 for standards based on C99 or C11.
38464 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38466 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38469 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38470 usability of symbols in #if.
38472 * conform/conformtest.pl: If macro or constant types start
38473 "promoted:", expect the symbol to be of the following type
38474 promoted by the integer promotions.
38476 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38477 in one place. Also handle "macro-constant".
38479 * conform/conformtest.pl: Only accept expected macro values with
38480 "==". Parse all "macro" lines in one place.
38481 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38483 * conform/conformtest.pl: Handle braced types on "constant" lines
38484 instead of handling "typed-constant".
38485 * conform/data/signal.h-data: Use "constant" instead of
38488 * conform/conformtest.pl: Handle "optional-" at start of lines in
38489 one place rather than duplicating several cases. Handle each
38490 format of "macro" line with initial "optional-".
38492 * conform/conformtest.pl: Only accept expected constant or
38493 optional-constant values with "==". Parse all "constant" lines in
38494 one place. Parse all "optional-constant" lines in one place.
38495 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38496 * conform/data/fmtmsg.h-data: Likewise.
38497 * conform/data/netinet/in.h-data: Likewise.
38498 * conform/data/tar.h-data: Likewise.
38499 * conform/data/limits.h-data: Use "==" form on "constant" and
38500 "optional-constant" lines.
38502 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38503 Use -std=c99 for XOPEN2K.
38504 (@knownproblems): Remove.
38505 (newtoken): Don't check %isknown.
38507 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38508 Do not expect macro.
38509 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38510 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38511 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38512 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38513 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38514 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38515 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38516 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38517 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38518 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38519 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38520 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38521 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38522 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38523 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38524 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38525 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38526 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38527 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38528 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38529 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38530 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38531 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38532 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38533 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38534 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38535 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38536 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38537 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38538 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38539 [XPG3] (acosh): Likewise.
38540 [XPG3] (asinh): Likewise.
38541 [XPG3] (atanh): Likewise.
38542 [XPG3] (cbrt): Likewise.
38543 [XPG3] (expm1): Likewise.
38544 [XPG3] (ilogb): Likewise.
38545 [XPG3] (log1p): Likewise.
38546 [XPG3] (logb): Likewise.
38547 [XPG3] (nextafter): Likewise.
38548 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38549 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38550 [XPG3] (remainder): Likewise.
38551 [XPG3] (rint): Likewise.
38552 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38553 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38554 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38555 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38556 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38557 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38558 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38559 [UNIX98 || XOPEN2K] (scalb): Expect.
38560 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38561 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38562 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38563 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38564 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38565 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38566 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38567 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38568 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38569 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38570 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38571 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38572 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38573 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38574 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38575 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38576 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38577 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38578 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38579 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38580 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38581 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38582 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38583 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38584 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38585 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38586 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38587 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38588 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38589 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38590 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38591 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38592 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38593 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38594 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38595 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38596 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38597 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38598 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38599 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38600 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38601 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38602 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38603 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38604 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38605 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38606 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38607 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38608 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38609 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38610 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38611 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38612 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38613 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38614 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38615 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38616 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38617 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38618 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38619 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38620 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38621 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38622 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38623 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38624 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38625 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38626 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38627 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38628 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38629 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38630 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38631 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38632 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38633 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38634 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38635 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38636 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38637 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38638 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38639 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38640 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38641 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38642 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38643 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38644 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38645 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38646 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38647 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38648 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38649 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38650 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38651 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38652 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38653 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38654 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38655 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38656 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38657 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38658 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38659 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38660 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38661 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38662 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38663 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38664 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38665 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38666 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38667 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38668 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38669 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38670 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38671 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38672 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38673 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38674 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38675 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38676 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38677 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38678 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38679 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38680 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38681 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38682 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38683 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38684 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38685 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38686 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38687 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38688 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38689 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38690 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38691 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38692 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38693 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38694 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38695 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38696 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38698 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38699 _XOPEN_SOURCE_EXTENDED for XPG4.
38701 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38703 * Makeconfig (localtime): Remove variable.
38704 (inst_localtime-file): Likewise.
38706 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38727 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38731 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38732 comparisons to determine direction to adjust input.
38733 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38734 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38735 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38739 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38741 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38742 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38744 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38746 * math/libm-test.inc (nexttoward_test): Add more tests.
38748 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38751 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38752 in version GLIBC_2.1, not GLIBC_2.0.
38753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38756 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38759 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38761 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38762 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38763 * math/libm-test.inc (acos_test): Add more tests.
38764 (asin_test): Likewise.
38765 * sysdeps/i386/fpu/libm-test-ulps: Update.
38766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38769 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38771 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38772 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38773 * math/libm-test.inc (acos_test_tonearest): New function.
38774 (acos_test_towardzero): Likewise.
38775 (acos_test_downward): Likewise.
38776 (acos_test_upward): Likewise.
38777 (asin_test_tonearest): Likewise.
38778 (asin_test_towardzero): Likewise.
38779 (asin_test_downward): Likewise.
38780 (asin_test_upward): Likewise.
38781 (main): Call the new functions.
38782 * sysdeps/i386/fpu/libm-test-ulps: Update.
38783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38787 * math/e_exp10.c: Include <float.h>.
38788 (__ieee754_exp10): Handle underflow here rather than multiplying
38789 large negative argument by M_LN10.
38790 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38792 * math/e_exp10l.c: Include <float.h>.
38793 (__ieee754_exp10l): Handle underflow here rather than multiplying
38794 large negative argument by M_LN10l.
38795 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38796 spurious overflow exception on underflow.
38798 2012-04-29 Marek Polacek <polacek@redhat.com>
38800 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38801 (__fortify_function): New macro.
38802 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38803 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38804 __extern_always_inline.
38805 * libio/bits/stdio2.h: Likewise.
38806 * libio/bits/stdio.h: Likewise.
38807 * string/string.h: Likewise.
38808 * string/bits/string3.h: Likewise.
38809 * include/stdio.h: Likewise.
38810 * stdlib/bits/stdlib.h: Likewise.
38811 * stdlib/stdlib.h: Likewise.
38812 * rt/bits/mqueue2.h: Likewise.
38813 * rt/mqueue.h: Likewise.
38814 * posix/bits/unistd.h: Likewise.
38815 * posix/unistd.h: Likewise.
38816 * io/bits/poll2.h: Likewise.
38817 * io/bits/fcntl2.h: Likewise.
38818 * io/fcntl.h: Likewise.
38819 * io/sys/poll.h: Likewise.
38820 * misc/bits/syslog.h: Likewise.
38821 * misc/bits/syslog-ldbl.h: Likewise.
38822 * misc/sys/syslog.h: Likewise.
38823 * socket/bits/socket2.h: Likewise.
38824 * socket/sys/socket.h: Likewise.
38825 * debug/tst-chk1.c: Likewise.
38826 * wcsmbs/bits/wchar2.h: Likewise.
38827 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38828 * wcsmbs/wchar.h: Likewise.
38830 2012-04-29 Andreas Jaeger <aj@suse.de>
38832 * Makerules (tests): Remove enable-check-abi protection.
38833 (check-abi-warn): Remove.
38834 (check-abi-%): Remove check-abi-warn usage.
38836 * configure.in: Remove check-abi configure option.
38837 * configure: Regenerated.
38838 * config.make.in (enable-check-abi): Remove.
38840 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38843 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38844 double functions to double *_finite functions.
38847 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38848 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38850 * stdio-common/Makefile (tests): Add tst-sprintf3.
38851 * stdio-common/tst-sprintf3.c: New file.
38853 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38854 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38856 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38858 * conform/conformtest.pl: Remove duplicate typed-constant
38861 2012-04-28 David S. Miller <davem@davemloft.net>
38863 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38864 (check-abi-%): Remove AWK script prerequisite and explicit
38866 (check-abi): Rewrite to just diff the symlist with the abilist.
38867 (config-tls, config-abi-config): Delete, no longer used.
38868 (update-abi-%): Remove AWK script and explicit abilist directory.
38869 (update-abi): Rewrite to simply compare and conditionally copy the
38870 symlist and the sysdep abilist file. Remove update-abi-config
38872 * abilist/ld.abilist: Remove.
38873 * abilist/libBrokenLocale.abilist: Remove.
38874 * abilist/libanl.abilist: Remove.
38875 * abilist/libcrypt.abilist: Remove.
38876 * abilist/libdl.abilist: Remove.
38877 * abilist/librt.abilist: Remove.
38878 * abilist/libthread_db.abilist: Remove.
38879 * abilist/libutil.abilist: Remove.
38880 * scripts/extract-abilist.awk: Remove.
38881 * scripts/merge-abilist.awk: Remove.
38882 * sysdeps/generic/libcidn.abilist: New file.
38883 * sysdeps/generic/libnss_compat.abilist: New file.
38884 * sysdeps/generic/libnss_db.abilist: New file.
38885 * sysdeps/generic/libnss_dns.abilist: New file.
38886 * sysdeps/generic/libnss_files.abilist: New file.
38887 * sysdeps/generic/libnss_hesiod.abilist: New file.
38888 * sysdeps/generic/libnss_nis.abilist: New file.
38889 * sysdeps/generic/libnss_nisplus.abilist: New file.
38890 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38891 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38892 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38894 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38895 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38896 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38897 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38898 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38899 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38900 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38901 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38902 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38904 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38905 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38906 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38907 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38909 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38910 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38911 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38912 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38913 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38914 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38916 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38917 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38918 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38920 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39023 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39024 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39025 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39028 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39029 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39030 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39031 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39032 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39033 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39034 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39035 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39036 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39088 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39090 * conform/conformtest.pl: Fix typo in handling typed-constant from
39093 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39095 * README: Cut down references to pre-2.6 Linux kernels and
39096 Linuxthreads. Update lists of configurations in libc and ports
39097 and sort alphabetically. Say "or newer" with Linux kernel version
39100 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39102 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39105 * math/libm-test.inc (logb_test_downward): New test to expose
39106 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39109 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39112 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39114 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39115 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39117 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39119 * sysdeps/unix/i386/brk.S: Remove file.
39120 * sysdeps/unix/i386/dl-brk.S: Likewise.
39121 * sysdeps/unix/i386/pipe.S: Likewise.
39122 * sysdeps/unix/i386/sigreturn.S: Likewise.
39123 * sysdeps/unix/i386/syscall.S: Likewise.
39124 * sysdeps/unix/i386/vfork.S: Likewise.
39125 * sysdeps/unix/i386/wait.S: Likewise.
39127 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39128 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39130 * configure.in (arm*-none*): Do not allow without
39131 --enable-hacker-mode.
39132 (netbsd*): Remove case setting base_os.
39133 (386bsd*): Likewise.
39134 (freebsd*): Likewise.
39137 (sunos*): Likewise.
39138 (ultrix*): Likewise.
39139 (newsos*): Likewise.
39140 (dynix*): Likewise.
39146 (minix*): Likewise.
39147 (irix4*): Likewise.
39148 (irix6*): Likewise.
39149 (solaris[2-9]*): Likewise.
39151 * configure: Regenerated.
39153 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39156 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39157 overflow or cancellation in calculating denominator.
39158 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39159 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39160 down expression to avoid unexpected rounding in newer GCCs.
39161 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39163 2012-04-26 David S. Miller <davem@davemloft.net>
39165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39166 long-double compat symbols.
39167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39181 2012-04-25 David S. Miller <davem@davemloft.net>
39183 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39184 HWCAP_* values only after the memory barriers have been defined.
39185 (atomic_full_barrier): Define.
39186 (atomic_read_barrier): Define.
39187 (atomic_write_barrier): Define.
39189 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39191 * shlib-versions: Add libgcc_s version information.
39192 * sysdeps/generic/libgcc_s.h: Remove.
39193 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39195 * sysdeps/gnu/unwind-resume.c: Likewise.
39196 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39198 2012-04-25 David S. Miller <davem@davemloft.net>
39200 * sysdeps/unix/sparc/brk.S: Delete.
39201 * sysdeps/unix/sparc/dl-brk.S: Delete.
39202 * sysdeps/unix/sparc/pipe.S: Delete.
39203 * sysdeps/unix/sparc/sysdep.S: Delete.
39204 * sysdeps/unix/sparc/sysdep.h: Delete.
39205 * sysdeps/unix/sparc/vfork.S: Delete.
39206 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39207 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39208 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39209 (ret_ERRVAL, r0, r1, MOVE): Define.
39210 (JUMPTARGET): Remove.
39211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39212 sysdeps/unix/sparc/sysdep.h
39213 (ENTRY, END): Remove.
39214 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39216 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39218 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39219 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39222 * timezone/README: Update upstream location and email address for
39224 * timezone/zdump.c: Update from tzcode 2012b.
39225 * timezone/zic.c: Likewise.
39227 * configure.in (libc_cv_as_needed): Remove test.
39228 * configure: Regenerated.
39229 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39230 conditional definition.
39231 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39232 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39233 * config.make.in (have-as-needed): Remove variable.
39235 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39236 Paul Pluzhnikov <ppluzhnikov@google.com>
39238 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39241 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39243 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39244 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39245 * sysdeps/sh/strlen.S: Likewise.
39247 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39249 * sysdeps/unix/fork.S: Remove file.
39250 * sysdeps/unix/i386/fork.S: Likewise.
39251 * sysdeps/unix/sparc/fork.S: Likewise.
39253 * sysdeps/unix/system.c: Remove file.
39254 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39256 * sysdeps/unix/getegid.S: Remove file.
39257 * sysdeps/unix/geteuid.S: Likewise.
39259 2012-04-24 Roland McGrath <roland@hack.frob.com>
39261 * scripts/check-localplt.awk: New file.
39262 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39264 * scripts/data/localplt-generic.data: Add a comment.
39266 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39267 NODE when __dir_mkfile failed.
39268 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39269 Reported by Ludovic Courtès <ludo@gnu.org>.
39271 2012-04-24 Andreas Jaeger <aj@suse.de>
39273 * Makerules (common-clean): Also remove gen-as-const-headers
39276 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39278 * Makerules (native-compile): Do not change working directory for
39279 build. Use $(OUTPUT_OPTION) in command.
39280 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39282 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39285 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39286 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39287 * math/libm-test.inc (floor_test): Add more tests.
39288 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39290 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39292 * sysdeps/unix/getdents.c: Remove file.
39293 * sysdeps/unix/sysv/getdents.c: Likewise.
39294 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39296 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39297 sysdeps/unix/mman/syscalls.list.
39299 (mprotect): Likewise.
39301 (munmap): Likewise.
39302 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39303 * sysdeps/unix/mman/syscalls.list: Remove.
39304 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39306 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39307 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39308 * configure: Regenerated.
39309 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39310 $(libgcc_s_suffix).
39311 * config.make.in (libgcc_s_suffix): Remove variable.
39313 2012-04-23 Joseph Myers <joseph@codesourcery.com>
39315 * sysdeps/unix/sysv/gethostname.c: Move to ...
39316 * sysdeps/posix/gethostname.c: ... here.
39318 * sysdeps/unix/execve.S: Remove file.
39320 * sysdeps/unix/_exit.S: Remove file.
39322 2012-04-23 Andreas Jaeger <aj@suse.de>
39325 * manual/Makefile: Remove make dist support, there's no
39326 need for a stand-alone documentation tar ball.
39327 (TEXI2DVI): Define always, it's not in Makeconfig.
39330 (edition): Removed.
39331 (glibc-doc-$(edition).tar): Removed
39335 (ETAGS): Remove, it's in Makeconfig.
39336 (move-if-change): Remove, it's in Makeconfig.
39338 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
39341 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39342 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39343 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39344 (strtod_l, strtof_l, strtold_l): Remove __wur.
39345 It is not necessarily an error to ignore strtol's return value.
39346 One can reliably look at the stored endptr to decide whether
39347 the number had valid syntax.
39349 2012-04-21 Andreas Jaeger <aj@suse.de>
39352 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39354 2012-04-21 Joseph Myers <joseph@codesourcery.com>
39356 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39357 * sysdeps/unix/sysv/Versions: Remove file.
39359 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39364 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
39367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39368 version from __vm86.
39370 2012-04-20 Joseph Myers <joseph@codesourcery.com>
39372 * sysdeps/unix/common/lxstat.c: Remove file.
39373 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39375 * sysdeps/unix/sysv/Makefile: Remove file.
39377 * sysdeps/unix/sysv/direct.h: Remove file.
39379 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39380 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39381 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39382 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39383 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39384 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39385 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39387 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39389 * sysdeps/unix/xmknod.c: Remove file.
39390 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39392 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39394 * sysdeps/unix/sysv/i386/time.S: Remove file.
39396 * sysdeps/unix/fxstat.c: Remove file.
39397 * sysdeps/unix/xstat.c: Likewise.
39398 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39400 * sysdeps/unix/sysv/sigaction.c: Remove file.
39402 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39403 (sysdep_headers): Remove variable.
39404 [termio.h not in sysdep_headers] (generated): Likewise.
39405 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39406 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39407 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39408 * sysdeps/unix/sysv/tcflow.c: Likewise.
39409 * sysdeps/unix/sysv/tcflush.c: Likewise.
39410 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39411 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39412 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39413 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39414 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39416 * sysdeps/unix/siglist.c: Remove file.
39418 * sysdeps/unix/getppid.S: Remove file.
39420 * sysdeps/unix/mkdir.c: Remove file.
39421 * sysdeps/unix/rmdir.c: Likewise.
39423 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39425 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39427 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39428 errlist-compat value.
39430 2012-04-18 David S. Miller <davem@davemloft.net>
39432 * sysdeps/generic/memcopy.h (reg_char): Delete.
39433 * debug/strcat_chk.c: Use char, not reg_char.
39434 * debug/strcpy_chk.c: Likewise.
39435 * debug/strncat_chk.c: Likewise.
39436 * debug/strncpy_chk.c: Likewise.
39437 * string/memchr.c: Likewise.
39438 * string/memrchr.c: Likewise.
39439 * string/rawmemchr.c: Likewise.
39440 * string/strcat.c: Likewise.
39441 * string/strchr.c: Likewise.
39442 * string/strchrnul.c: Likewise.
39443 * string/strcmp.c: Likewise.
39444 * string/strcpy.c: Likewise.
39445 * string/strncat.c: Likewise.
39446 * string/strncmp.c: Likewise.
39447 * string/strncpy.c: Likewise.
39449 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39451 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39452 __builtin_memcopy is called when src and dest ranges are known to not
39455 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39457 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39458 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39459 fwd_align_merge macro call.
39460 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39461 bwd_align_merge macro call.
39462 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39464 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39467 bwd_align_merge macros.
39468 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39469 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39470 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39472 2012-04-18 David S. Miller <davem@davemloft.net>
39474 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39476 2012-04-18 Andreas Jaeger <aj@suse.de>
39479 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39480 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39481 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39483 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39484 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39485 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39487 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39488 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39489 Adjust for changed ldbl-128 files.
39491 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39492 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39493 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39495 2012-04-17 David S. Miller <davem@davemloft.net>
39497 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39499 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39501 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39502 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39503 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39504 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39505 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39506 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39508 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39511 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39512 * math/libm-test.inc: Add ilogb errno and exception tests.
39513 * math/w_ilogb.c: New file: ilogb wrapper.
39514 * math/w_ilogbf.c: New file: ilogbf wrapper.
39515 * math/w_ilogbl.c: New file: ilogbl wrapper.
39516 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39517 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39518 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39519 exception being thrown with 0.0 as argument.
39520 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39521 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39522 exception being thrown with 0.0 as argument.
39523 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39524 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39525 exception being thrown with 0.0 as argument.
39526 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39527 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39528 exception being thrown with 0.0 as argument.
39529 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39530 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39531 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39532 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39533 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39534 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39535 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39536 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39537 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39539 2012-04-17 Petr Baudis <pasky@ucw.cz>
39541 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39544 2012-04-16 Marek Polacek <polacek@redhat.com>
39546 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39548 2012-04-16 Marek Polacek <polacek@redhat.com>
39550 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39551 operands of fdivp instruction.
39553 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39555 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39556 * elf/tst-auditmod3b.c: Likewise.
39557 * elf/tst-auditmod4b.c: Likewise.
39558 * elf/tst-auditmod5b.c: Likewise.
39559 * elf/tst-auditmod6b.c: Likewise.
39560 * elf/tst-auditmod6c.c: Likewise.
39561 * elf/tst-auditmod7b.c: Likewise.
39562 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39563 * sysdeps/x86_64/preconfigure.in: Likewise.
39564 * sysdeps/x86_64/preconfigure: Regenerated.
39566 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39568 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39571 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
39573 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39574 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39576 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39579 * locale/iso-639.def: Fix gl language name. Spotted by
39582 2012-04-12 Roland McGrath <roland@hack.frob.com>
39585 * libio/libio.h (__io_write_fn): Update comment.
39587 2012-04-12 Petr Baudis <pasky@ucw.cz>
39590 * stdio.texi (Hook Functions): The user provided writer function
39591 is not allowed to return -1.
39593 2012-04-11 David S. Miller <davem@davemloft.net>
39595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39597 2012-04-11 Mike Frysinger <vapier@gentoo.org>
39599 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39600 Add a leading slash to rtkaio.
39602 2012-04-11 Jim Meyering <meyering@redhat.com>
39605 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39606 It is not necessarily an error to ignore fwrite's return
39607 value. One can reliably use ferror to test for errors after
39610 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39612 * bits/types.h (__snseconds_t): New type.
39613 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39615 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39617 (__SNSECONDS_T_TYPE): Likewise.
39618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39619 (__SNSECONDS_T_TYPE): Likewise.
39620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39621 (__SNSECONDS_T_TYPE): Likewise.
39623 2012-04-10 Andreas Jaeger <aj@suse.de>
39626 * manual/time.texi (Processor Time): Return type of times is
39627 elapsed real time since an arbitrary point in the past.
39628 (CPU Time): Move CLK_TCK from here...
39629 (Processor Time): ...to here. Correct description.
39630 * manual/conf.texi (Constants for Sysconf): Correct description of
39633 2012-04-10 David S. Miller <davem@davemloft.net>
39636 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39637 where the is a gap between DT_REL(A) and DT_JMPREL.
39639 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39641 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39642 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39643 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39645 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39647 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39648 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39649 (dl_main): Handle --inhibit-cache.
39650 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39652 * elf/dl-load.c (_dl_map_object): Use it.
39653 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39655 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39658 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39659 (__ieee754_powl): Saturate large exponents rather than testing for
39660 overflow of y*log2(x).
39661 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39662 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39666 * math/s_ctan.c: Include <float.h>.
39667 (__ctan): Avoid internal overflow or cancellation in calculating
39669 * math/s_ctanf.c: Likewise.
39670 * math/s_ctanl.c: Likewise.
39671 * math/s_ctanh.c: Likewise.
39672 * math/s_ctanhf.c: Likewise.
39673 * math/s_ctanhl.c: Likewise.
39674 * math/libm-test.inc (ctan_test): Add more tests.
39675 (ctanh_test): Likewise.
39676 * sysdeps/i386/fpu/libm-test-ulps: Update.
39677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39679 2012-04-09 Andreas Jaeger <aj@suse.de>
39682 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39683 is an optional BSD extension.
39686 * manual/stdio.texi (Opening Streams): Document additional fopen
39689 2012-04-09 Roland McGrath <roland@hack.frob.com>
39691 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39692 %eax without telling the compiler.
39694 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39697 * manual/install.texi: Use sourceware.org.
39699 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39702 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39703 (__ieee754_pow): Generate overflow and underflow using huge*huge
39704 and tiny*tiny rather than just returning constant infinity or zero
39705 for large exponents.
39706 * math/libm-test.inc (pow_test): Require overflow exceptions for
39707 applicable cases of large exponents.
39710 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39711 (__ieee754_pow): Use iterative multiplication algorithm only for
39712 integer exponents with absolute value below 1024. Check for odd
39713 integer exponents when using algorithm for real exponents.
39714 * math/libm-test.inc (pow_test): Add more tests.
39715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39717 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39720 * math/libm-test.inc (exp_test): Do not allow overflow exception
39723 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39726 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39727 instead of __kernel_standard_f.
39729 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39731 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39732 * sysdeps/x86_64/memset_chk.S: Likewise.
39734 2012-04-08 Andreas Jaeger <aj@suse.de>
39737 * manual/startup.texi (Environment Access): Describe return value
39738 for putenv and setenv.
39741 * manual/filesys.texi (Directory Entries): Add description for
39745 * manual/filesys.texi (Directory Entries): Clarify that it's file
39746 system not operating system in the description of DT_UNKNOWN.
39749 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39751 2012-04-08 Stephen Compall <s11@member.fsf.org>
39754 * manual/llio.texi (Opening and Closing Files): Add cross
39755 reference to explain mode argument.
39757 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39759 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39760 * sysdeps/x86_64/memset_chk.S: Likewise.
39762 2012-04-07 David S. Miller <davem@davemloft.net>
39764 * elf/elf.h (R_SPARC_WDISP10): Define.
39765 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39768 R_SPARC_SIZE64 and R_SPARC_H34.
39770 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39772 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39773 conditions and remove no longer applicable assertion.
39775 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39777 * bits/byteswap.h: Include <features.h>.
39778 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39779 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39781 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39783 * bits/byteswap.h (__bswap_16): Removed.
39784 Include <bits/byteswap-16.h> to get __bswap_16.
39785 * sysdeps/i386/bits/byteswap.h: Likewise.
39786 * sysdeps/s390/bits/byteswap.h: Likewise.
39787 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39788 * bits/byteswap-16.h: New file.
39789 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39790 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39791 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39792 * string/Makefile (headers): Add bits/byteswap-16.h.
39794 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39797 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39799 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39800 * nss/tst-nss-static.c: New.
39802 2012-04-06 Robert Millan <rmh@gnu.org>
39805 * manual/llio.texi (File Position Primitive): lseek
39806 refers to WHENCE when it really means OFFSET.
39808 2012-04-06 Andreas Jaeger <aj@suse.de>
39810 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39811 strncmp declarations.
39813 * abilist/libc.abilist: Add __poll and __ppoll.
39815 2012-04-05 David S. Miller <davem@davemloft.net>
39817 * scripts/check-local-headers.sh: Accept a host triplet in the
39818 path matched by the exclude regexp.
39820 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39822 * sysdeps/powerpc/powerpc32/dl-machine.h
39823 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39824 * sysdeps/s390/s390-32/dl-machine.h
39825 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39826 * sysdeps/sparc/sparc32/dl-machine.h
39827 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39828 * sysdeps/sparc/sparc64/dl-machine.h
39829 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39831 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39833 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39834 undefined symbol errors.
39836 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39839 2012-04-05 Michael Matz <matz@suse.de>
39842 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39844 2012-04-05 Andreas Jaeger <aj@suse.de>
39847 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39850 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39852 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39853 which ROUND is no valid rounding mode.
39855 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39857 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39859 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39861 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39863 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39864 an exception using FPU order intentionally.
39866 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39868 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39869 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39870 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39871 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39873 2012-04-05 Simon Josefsson <simon@josefsson.org>
39876 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39877 EINVAL when BUFLEN is too smal.
39879 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39882 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39883 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39885 2012-04-03 Andreas Jaeger <aj@suse.de>
39888 * manual/setjmp.texi (System V contexts): Fix sentence.
39891 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39892 New macro for this case.
39893 [!__GNUC__] (__bswap_64): New inline function for this case.
39894 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39895 * bits/byteswap.h: Likewise.
39896 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39897 ull, guard with __GLIBC_HAVE_LONG_LONG.
39899 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39900 __GLIBC_HAVE_LONG_LONG.
39902 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39903 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39905 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39908 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39909 inptr and inend, rather than using last_ch.
39911 2012-04-02 David S. Miller <davem@davemloft.net>
39913 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39914 * stdio-common/printf-parse.h (read_int): Change return type to
39915 'int', return -1 on INT_MAX overflow.
39916 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39917 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39918 overflows INT_MAX. Check for overflow of in-format-string precision
39919 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39920 SIZE_MAX not INT_MAX for integer overflow test.
39921 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39922 skip the construct in the format string but do not record anything.
39923 * stdio-common/bug22.c: Adjust to test both width/prevision
39924 INT_MAX overflow as well as total length INT_MAX overflow. Check
39925 explicitly for proper errno values.
39927 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39929 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39931 * string/test-strcmp.c [! WIDE]: Likewise.
39932 * time/tst-mktime2.c: Likewise for INT_MAX.
39933 * string/test-string.h: #include <sys/param.h> for MIN.
39935 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39936 * sysdeps/i386/init-first.c (init): Likewise.
39937 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39938 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39939 * sysdeps/sh/init-first.c (init): Likewise.
39941 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39943 * po/ru.po: Update from translation team.
39944 * po/vi.po: Likewise.
39946 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39948 * resolv/nss_dns/dns-host.c: Merge copyright years.
39950 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39953 Optimize memcpy with prefetch if
39954 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39955 src, dst pointers have unequal 16 byte alignments.
39957 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39960 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39961 from a CNAME entry and return the minimum ttl for the query.
39962 (gaih_getanswer_slice): Likewise.
39964 2012-03-30 Jeff Law <law@redhat.com>
39966 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39968 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39969 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39971 * resolv/nss_dns/dns-host.c: Update copyright year.
39973 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39975 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39976 requests to save a system call. Fix check that all bytes are sent.
39978 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39979 comments for sendmmsg.
39981 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39984 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39985 with only 1 character between 0x0041 and 0x01b0.
39986 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39987 * wcsmbs/tst-mbsnrtowcs.c: New file.
39989 2012-03-29 David S. Miller <davem@davemloft.net>
39991 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39992 small copies by hand.
39994 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39997 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39998 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40001 2012-03-28 David S. Miller <davem@davemloft.net>
40003 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40004 that branches into memcpy.
40005 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40006 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40007 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40008 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40011 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40012 implementation too.
40013 * sysdeps/sparc/mempcpy.S: New file.
40015 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40016 the IFUNC routine in the libc case.
40017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40019 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40020 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40021 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40022 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40023 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40024 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40025 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40026 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40028 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40029 loop to 256 bytes instead of 64 bytes and fix test signedness.
40031 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40032 * sysdeps/sparc/sparc32/Makefile: rather than here...
40033 * sysdeps/sparc/sparc64/Makefile: and here.
40035 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40037 * malloc/mallocbug.c: Avoid warnings about unused variables.
40039 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40042 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40043 in the right place. Discard and retry query if response is
40044 larger than input buffer size.
40046 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40051 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40052 x for large integer exponent.
40053 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40054 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40055 sign of result as needed afterwards.
40056 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40057 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40058 result for underflowing pow the same as for overflow.
40059 (__kernel_standard_l): Handle powl overflow and underflow here
40060 rather than calling __kernel_standard.
40061 * math/libm-test.inc (pow_test): Add more tests.
40076 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40077 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40078 (__kernel_standard_l): New function.
40079 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40081 * math/w_acosl.c (__acosl): Likewise.
40082 * math/w_asinl.c (__asinl): Likewise.
40083 * math/w_atan2l.c (__atan2l): Likewise.
40084 * math/w_atanhl.c (__atanhl): Likewise.
40085 * math/w_coshl.c (__coshl): Likewise.
40086 * math/w_exp10l.c (__exp10l): Likewise.
40087 * math/w_exp2l.c (__exp2l): Likewise.
40088 * math/w_fmodl.c (__fmodl): Likewise.
40089 * math/w_hypotl.c (__hypotl): Likewise.
40090 * math/w_j0l.c (__j0l, __y0l): Likewise.
40091 * math/w_j1l.c (__j1l, __y1l): Likewise.
40092 * math/w_jnl.c (__jnl, __ynl): Likewise.
40093 * math/w_lgammal.c (__lgammal): Likewise.
40094 * math/w_log10l.c (__log10l): Likewise.
40095 * math/w_log2l.c (__log2l): Likewise.
40096 * math/w_logl.c (__logl): Likewise.
40097 * math/w_powl.c (__powl): Likewise.
40098 * math/w_remainderl.c (__remainderl): Likewise.
40099 * math/w_scalbl.c (sysv_scalbl): Likewise.
40100 * math/w_sinhl.c (__sinhl): Likewise.
40101 * math/w_sqrtl.c (__sqrtl): Likewise.
40102 * math/w_tgammal.c (__tgammal): Likewise.
40103 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40104 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40105 * math/libm-test.inc (acos_test): Add more tests.
40106 (acosh_test): Likewise.
40107 (asin_test): Likewise.
40108 (atanh_test): Likewise.
40109 (exp_test): Likewise.
40110 (exp10_test): Likewise.
40111 (exp2_test): Likewise.
40112 (expm1_test): Likewise.
40113 (lgamma_test): Likewise.
40114 (log_test): Likewise.
40115 (log10_test): Likewise.
40116 (log1p_test): Likewise.
40117 (log2_test): Likewise.
40118 (pow_test): Do not allow some spurious overflow exceptions.
40119 (sqrt_test): Add more tests.
40120 (tgamma_test): Likewise.
40121 (y0_test): Likewise.
40122 (y1_test): Likewise.
40123 (yn_test): Likewise.
40125 2012-03-27 Anton Blanchard <anton@samba.org>
40127 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40129 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40130 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40131 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40133 2012-03-27 David S. Miller <davem@davemloft.net>
40135 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40137 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40138 have-as-vis3 check.
40140 2012-03-27 Andreas Jaeger <aj@suse.de>
40142 * sysdeps/x86_64/elf/configure.in: Moved to ...
40143 * sysdeps/x86_64/configure.in: ... here.
40144 * sysdeps/x86_64/elf/start.S: Moved to ...
40145 * sysdeps/x86_64/start.S: ... here.
40146 * sysdeps/x86_64/elf/configure: Delete.
40148 * sysdeps/x86_64/configure.in: Merge contents from
40149 sysdeps/i386/configure.in (without i686 check).
40151 * sysdeps/i386/elf/Versions: Merge into ...
40152 * sysdeps/i386/Versions: ... this.
40153 * sysdeps/i386/elf/Versions: Delete file.
40154 * sysdeps/i386/elf/start.S: Moved to ...
40155 * sysdeps/i386/start.S: ...here.
40156 * sysdeps/i386/elf/configure.in: Merge into...
40157 * sysdeps/i386/configure.in: ...here.
40158 * sysdeps/i386/elf/configure.in: Delete file.
40159 * sysdeps/i386/elf/configure: Delete file.
40161 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40162 * debug/backtracesyms.c: ... here.
40163 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40164 * debug/backtracesymsfd.c: ... here.
40165 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40166 * sysdeps/generic/ifunc-sel.h: ... here.
40168 * sysdeps/unix/i386/start.c: Delete file.
40169 * sysdeps/unix/sparc/start.c: Delete file.
40170 * sysdeps/unix/start.c: Delete file.
40172 * sysdeps/sh/elf/configure.in: Moved to ...
40173 * sysdeps/sh/configure.in: ... here.
40174 * sysdeps/sh/elf/start.S: Moved to ...
40175 * sysdeps/sh/start.S: ... here.
40176 * sysdeps/sh/elf/configure: Delete file.
40178 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40179 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40180 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40181 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40182 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40183 * sysdeps/powerpc/powerpc64/start.S: here.
40184 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40185 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40186 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40187 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40188 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40190 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40191 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40192 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40193 * sysdeps/powerpc/powerpc32/start.S: ... here.
40194 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40195 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40196 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40198 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40199 * sysdeps/powerpc/ifunc-sel.h: ... here.
40200 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40201 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40203 * sysdeps/sparc/elf/configure.in: Moved to ...
40204 * sysdeps/sparc/configure.in: ... here.
40205 * sysdeps/sparc/elf/configure: Delete file.
40206 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40207 * sysdeps/sparc/sparc32/start.S: ... here.
40208 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40209 * sysdeps/sparc/sparc64/start.S: ... here.
40210 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40211 * sysdeps/sparc/sparc32/Makefile: ... this.
40212 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40213 * sysdeps/sparc/sparc64/Makefile: ... this.
40215 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40216 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40217 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40218 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40219 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40220 * sysdeps/s390/s390-32/setjmp.S: ... here.
40221 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40222 * sysdeps/s390/s390-32/configure.in: ... here.
40223 * sysdeps/s390/s390-32/elf/configure: Delete file.
40224 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40225 * sysdeps/s390/s390-32/start.S: ... here.
40227 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40228 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40229 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40230 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40231 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40232 * sysdeps/s390/s390-64/setjmp.S: ... here.
40233 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40234 * sysdeps/s390/s390-64/configure.in: ... here
40235 * sysdeps/s390/s390-64/elf/configure: Delete file.
40236 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40237 * sysdeps/s390/s390-64/start.S: ... here.
40238 * sysdeps/s390/s390-64/elf/configure: Delete.
40240 * configure.in: Remove support for elf directories in sysdeps.
40242 * configure: Regenerated.
40243 * sysdeps/i386/configure: Regenerated.
40244 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40245 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40246 * sysdeps/s390/s390-32/configure: Regenerated.
40247 * sysdeps/s390/s390-64/configure: Regenerated.
40248 * sysdeps/sh/configure: Regenerated.
40249 * sysdeps/sparc/configure: Regenerated.
40250 * sysdeps/x86_64/configure: Regenerated.
40252 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40256 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40257 denormal result into account.
40259 2012-03-25 Roland McGrath <roland@hack.frob.com>
40261 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40262 Reported by Allan McRae <allan@archlinux.org>.
40264 2012-03-23 Jeff Law <law@redhat.com>
40266 * nss/getnssent.c (__nss_getent): Fix typo.
40268 2012-03-23 David S. Miller <davem@davemloft.net>
40270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40272 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40274 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40275 to pad to uint64_t for each field.
40276 (dl_tls_index): Replace unsigned long with uint64_t.
40278 2012-03-23 Daniel Jacobowitz <dmj@google.com>
40279 Paul Pluzhnikov <ppluzhnikov@google.com>
40282 * grp/Makefile (otherlibs): Don't set it.
40283 * inet/Makefile (otherlibs): Likewise.
40284 * login/Makefile (otherlibs): Likewise.
40285 * nscd/Makefile (otherlibs): Likewise.
40286 * posix/Makefile (otherlibs): Likewise.
40287 * pwd/Makefile (otherlibs): Likewise.
40288 * rt/Makefile (otherlibs): Likewise.
40289 * sunrpc/Makefile (otherlibs): Likewise.
40290 * nss/Makefile (otherlibs): Likewise.
40291 Add libnss_files to routines and static-only-routines.
40292 ($(objpfx)getent): Remove rule.
40293 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40294 static-only-routines.
40296 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40299 * math/s_cexp.c: Include <float.h>.
40300 (__cexp): Handle exp result overflowing not necessarily
40301 overflowing both real and imaginary parts of result.
40302 * math/s_cexpf.c: Likewise.
40303 * math/s_cexpl.c: Likewise.
40304 * math/libm-test.inc (cexp_test): Add more tests.
40305 * sysdeps/i386/fpu/libm-test-ulps: Update.
40306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40308 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40310 * include/link.h (ELFW): New macro.
40311 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40312 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40314 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40316 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40319 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40321 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40323 (struct La_x32_retval): Likewise.
40325 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40327 * sysdeps/x86_64/preconfigure.in: New file.
40328 * sysdeps/x86_64/preconfigure: New generated file.
40330 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40333 * math/e_exp2l.c: Include <float.h>.
40334 (__ieee754_exp2l): Handle overflow and underflow cases
40335 separately. Only pass fractional part of argument to
40337 * math/libm-test.inc (exp2_test): Add more tests.
40339 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40340 negating x to take absolute value.
40341 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40343 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40344 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40346 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40347 computing low part if x was negated.
40348 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40350 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40352 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40353 la_x32_gnu_pltexit.
40354 (pltexit): Cast int_retval to ptrdiff_t.
40355 * elf/tst-auditmod3b.c: Likewise.
40356 * elf/tst-auditmod4b.c: Likewise.
40357 * elf/tst-auditmod5b.c: Likewise.
40358 * elf/tst-auditmod6b.c: Likewise.
40359 * elf/tst-auditmod6c.c: Likewise.
40360 * elf/tst-auditmod7b.c: Likewise.
40362 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40363 and x32_gnu_pltexit.
40365 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40366 __ELF_NATIVE_CLASS.
40367 (La_x32_regs): New macro.
40368 (La_x32_retval): Likewise.
40369 (la_x32_gnu_pltenter): New function prototype.
40370 (la_x32_gnu_pltexit): Likewise.
40372 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40374 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40379 * configure.in (libc_cv_cc_nofma): Check for option to disable
40380 generation of FMA instructions.
40381 * configure: Regenerate.
40382 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40383 * sysdeps/ieee754/dbl-64/Makefile: New file.
40384 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40385 Remove brandred-fma4.
40386 (CFLAGS-brandred-fma4.c): Remove.
40387 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40388 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40390 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40393 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40395 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40396 LLONG_MAX != LONG_MAX.
40397 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40398 (_fitoa_word): Likewise.
40399 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40400 LLONG_MAX != LONG_MAX.
40401 * stdio-common/_itowa.h: Include <_itoa.h>.
40402 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40403 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40404 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40405 only if not defined.
40406 (_ITOA_WORD_TYPE): Likewise.
40407 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40408 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40410 2012-03-21 David S. Miller <davem@davemloft.net>
40412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40414 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40416 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40417 of x86_64 when setting libc_cv_slibdir, libdir and
40419 * sysdeps/unix/sysv/linux/configure: Regenerated.
40421 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40423 * manual/lang.texi (Old Varargs): Remove section.
40424 (How Variadic): Update menu.
40425 (va_start): Do not mention varargs.h.
40427 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40428 Joseph Myers <joseph@codesourcery.com>
40430 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40432 * configure: Regenerated.
40434 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40436 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40437 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40440 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40443 * Makefile (files-for-dist): Remove NOTES.
40444 (NOTES): Remove rule.
40445 * README: Don't refer to NOTES.
40446 * manual/creature.texi: Don't include macros.texi.
40447 * manual/intro.texi (creature.texi): Remove comment referring to
40450 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40451 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40452 * configure: Regenerated.
40453 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40454 LIBC_TRY_CC_OPTION.
40455 (libc_cv_as_i686): Likewise.
40456 (libc_cv_cc_avx): Likewise.
40457 (libc_cv_cc_sse2avx): Likewise.
40458 (libc_cv_cc_fma4): Likewise.
40459 (libc_cv_cc_novzeroupper): Likewise.
40460 * sysdeps/i386/configure: Regenerated.
40463 * sysdeps/i386/fpu/s_cexp.S: Remove.
40464 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40465 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40466 * math/libm-test.inc (cexp_test): Add more tests.
40467 * sysdeps/i386/fpu/libm-test-ulps: Update.
40468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40470 2012-03-21 Allan McRae <allan@archlinux.org>
40472 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40474 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40477 * math/w_exp2.c: Do not include <float.h>.
40478 (o_threshold, u_threshold): Remove.
40479 (__exp2): Calculate result before checking finiteness and calling
40481 * math/w_exp2f.c: Likewise.
40482 * math/w_exp2l.c: Likewise.
40483 * math/libm-test.inc (exp2_test): Require overflow exception for
40487 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40488 range of signed 64-bit integers before using fistpll. Remove
40489 checks for whether integers fit in mantissa bits.
40490 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40491 the range of signed 32-bit integers before using fistpl. Remove
40492 checks for whether integers fit in mantissa bits.
40493 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40494 (__ieee754_powl): Test for y outside the range of signed 64-bit
40495 integers before using fistpll. Reduce 64-bit values to 63-bit
40497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40498 divide-by-zero is raised for zero to large negative powers.
40499 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40500 (__ieee754_powl): Test for y outside the range of signed 64-bit
40501 integers before using fistpll. Reduce 64-bit values to 63-bit
40503 * math/libm-test.inc (pow_test): Add more tests.
40505 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40507 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40508 <stdio-common/_itoa.h>.
40509 * debug/segfault.c: Likewise.
40510 * elf/dl-cache.c: Likewise.
40511 * elf/dl-minimal.c: Likewise.
40512 * elf/dl-misc.c: Likewise.
40513 * elf/dl-sysdep.c: Likewise.
40514 * elf/dl-version.c: Likewise.
40515 * elf/rtld.c: Likewise.
40516 * hurd/hurdsock.c: Likewise.
40517 * hurd/lookup-retry.c: Likewise.
40518 * malloc/malloc.c: Likewise.
40519 * malloc/mtrace.c: Likewise.
40520 * nscd/nscd_getgr_r.c: Likewise.
40521 * nscd/nscd_getpw_r.c: Likewise.
40522 * nscd/nscd_getserv_r.c: Likewise.
40523 * posix/getopt_init.c: Likewise.
40524 * posix/wordexp.c: Likewise.
40525 * stdio-common/_itoa.c: Likewise.
40526 * stdio-common/printf_fphex.c: Likewise.
40527 * stdio-common/vfprintf.c: Likewise.
40528 * string/_strerror.c: Likewise.
40529 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40530 * sysdeps/i386/i686/hp-timing.h: Likewise.
40531 * sysdeps/mach/_strerror.c: Likewise.
40532 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40533 * sysdeps/mach/hurd/sethostid.c: Likewise.
40534 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40535 * sysdeps/mach/xpg-strerror.c: Likewise.
40536 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40538 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40539 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40540 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40541 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40542 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40543 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40544 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40545 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40546 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40547 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40548 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40549 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40550 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40551 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40552 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40553 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40554 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40555 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40556 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40558 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40560 * stdio-common/_itoa.h: Moved to ...
40561 * sysdeps/generic/_itoa.h: Here.
40563 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40565 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40566 instead of "_itoa.h" and "_itowa.h".
40567 * stdio-common/vfprintf.: Likewise.
40569 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40571 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40573 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40574 (__signbit): Likwise.
40575 (llrintf): Likwise.
40578 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40580 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40583 2012-03-20 Joseph Myers <joseph@codesourcery.com>
40585 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40586 OVERFLOW_EXCEPTION_OK.
40587 * math/libm-test.inc ("Philosophy"): Update comment about
40589 (OVERFLOW_EXCEPTION): Define.
40590 (OVERFLOW_EXCEPTION_OK): Likewise.
40591 (INVALID_EXCEPTION_OK): Renumber.
40592 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40593 (IGNORE_ZERO_INF_SIGN): Likewise.
40594 (test_exceptions): Handle FE_OVERFLOW.
40595 (exp10_test): Expect overflow exceptions.
40596 (exp2_test): Likewise.
40597 (expm1_test): Likewise.
40598 (nextafter_test): Likewise.
40599 (pow_test): Likewise.
40600 (scalbn_test): Likewise.
40601 (scalbln_test): Likewise.
40603 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40605 * sysdeps/x86_64/bits/atomic.h
40606 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40608 (atomic_exchange_acq): Likewise.
40609 (__arch_exchange_and_add_body): Likewise.
40610 (__arch_add_body): Likewise.
40611 (atomic_add_negative): Likewise.
40612 (atomic_add_zero): Likewise.
40614 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40616 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40617 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40619 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40621 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40622 Check __x86_64__ instead of __WORDSIZE.
40624 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40626 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40628 2012-03-19 David S. Miller <davem@davemloft.net>
40630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40632 * sysdeps/sparc/fpu/fenv_private.h: New file.
40633 * sysdeps/sparc/fpu/math_private.h: Use it.
40634 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40636 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40637 (libc_feholdexcept_setroundl): Remove.
40638 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40640 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40641 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40643 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40645 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40646 int64_t instead of long int.
40647 (INSERT_WORDS64): Likwise.
40649 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40651 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40652 _Unwind_GetCFA return to _Unwind_Ptr first.
40654 2012-03-19 Joseph Myers <joseph@codesourcery.com>
40657 * math/s_clog.c: Include <float.h>.
40658 (__clog): Scale large or subnormal inputs.
40659 * math/s_clogf.c: Likewise.
40660 * math/s_clogl.c: Likewise.
40661 * math/s_clog10.c: Include <float.h>.
40662 (M_LOG10_2): Define.
40663 (__clog10): Scale large or subnormal inputs.
40664 * math/s_clog10f.c: Likewise.
40665 * math/s_clog10l.c: Likewise.
40666 * math/libm-test.inc (clog_test): Add more tests.
40667 (clog10_test): Likewise.
40668 * sysdeps/i386/fpu/libm-test-ulps: Update.
40669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40672 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40674 * math/libm-test.inc (atan2_test): Add another test.
40676 * Makerules (common-objdir-compile): Remove.
40677 * sysdeps/unix/Makefile (config-generated): Do not add
40678 $(unix-generated) to variable.
40679 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40680 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40682 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40684 [generic bits/local_lim.h] (before-compile): Do not append to
40686 [generic bits/local_lim.h] (common-generated): Likewise.
40687 [generic sys/param.h] (before-compile): Do not append to variable.
40688 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40689 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40690 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40691 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40693 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40694 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40695 [generic sys/param.h] ($(addprefix
40696 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40697 [generic sys/param.h] (common-generated): Do not append to
40699 [generic sys/param.h] (sysdep_headers): Likewise.
40700 [generic bits/errno.h] (before-compile): Do not append to
40702 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40704 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40705 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40706 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40707 [generic bits/errno.h] (common-generated): Do not append to
40709 [generic bits/ioctls.h] (before-compile): Do not append to
40711 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40713 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40714 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40715 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40717 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40718 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40719 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40720 [generic bits/ioctls.h] (common-generated): Do not append to
40722 [generic sys/syscall.h] (syscall.h): Remove variable.
40723 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40725 [generic sys/syscall.h] (before-compile): Do not append to
40727 [generic sys/syscall.h] (common-generated): Likewise.
40728 * sysdeps/unix/errnos-tmpl.c: Remove file.
40729 * sysdeps/unix/errnos.awk: Likewise.
40730 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40731 * sysdeps/unix/ioctls.awk: Likewise.
40732 * sysdeps/unix/mk-local_lim.c: Likewise.
40733 * sysdeps/unix/snarf-ioctls: Likewise.
40735 2012-03-19 Richard Henderson <rth@twiddle.net>
40737 * sysdeps/i386/fpu/fenv_private.h: New file.
40738 * sysdeps/i386/fpu/math_private.h: Use it.
40739 (math_opt_barrier, math_force_eval): Remove.
40740 (libc_feholdexcept_setround_53bit): Remove.
40741 (libc_feupdateenv_53bit): Remove.
40742 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40743 (math_opt_barrier, math_force_eval): Remove.
40744 (libc_feholdexcept): Remove.
40745 (libc_feholdexcept_setround): Remove.
40746 (libc_fetestexcept, libc_fesetenv): Remove.
40747 (libc_feupdateenv_test): Remove.
40748 (libc_feupdateenv, libc_feholdsetround): Remove.
40749 (libc_feresetround): Remove.
40751 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40752 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40754 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40755 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40756 (libc_feupdateenv_testl): New.
40757 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40758 (libc_feupdateenv_testf): New.
40759 (libc_feupdateenv): Use libc_feupdateenv_test.
40760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40763 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40764 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40765 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40766 (libc_feresetround_noex): New.
40767 (libc_feresetround_noexf): New.
40768 (libc_feresetround_noexl): New.
40769 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40770 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40771 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40772 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40777 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40778 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40779 SET_RESTORE_ROUND_NOEX.
40780 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40781 SET_RESTORE_ROUND_NOEXF.
40782 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40783 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40784 (libc_feholdsetroundf): New.
40785 (libc_feresetround, libc_feresetroundf): New.
40787 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40788 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40789 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40791 * sysdeps/generic/math_private.h: Include <fenv.h>.
40792 (default_libc_feholdexcept): New.
40793 (default_libc_feholdexcept_setround): New.
40794 (default_libc_fesetenv, default_libc_feupdateenv): New.
40795 (libc_feholdexcept): Only define if undefined.
40796 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40797 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40798 (libc_feholdexcept_setroundl): Likewise.
40799 (libc_feholdexcept_setround_53bit): Likewise.
40800 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40801 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40802 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40803 (libc_feupdateenv_53bit): Likewise.
40804 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40805 (libc_feholdexcept): Convert from macro to inline function.
40806 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40807 (libc_fesetenv, libc_feupdateenv): Likewise.
40809 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40810 not previously defined.
40811 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40812 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40813 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40814 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40815 * sysdeps/ieee754/flt-32/math_private.h: New file.
40816 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40817 math_private.h below SET_FLOAT_WORD.
40818 (__isnan, __isinf_ns, __finite): Remove.
40819 (__isnanf, __isinf_nsf, __finitef): Remove.
40821 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40825 2012-03-17 David S. Miller <davem@davemloft.net>
40828 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40831 2012-03-16 David S. Miller <davem@davemloft.net>
40833 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40837 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40839 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40840 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40841 sysdep_routines when subdir is sysvipc.
40842 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40843 __getshmlba helper.
40845 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40847 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40849 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40852 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40854 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40855 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40856 (__lround): Renamed to ...
40857 (__llround): This. Replace long int with long long int.
40858 Define lround functions as aliases of llround functions.
40859 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40861 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40863 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40864 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40865 adresses to uintptr_t. Replace "long int" and "unsigned long
40866 int" with "greg_t" on va_arg.
40868 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40870 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40871 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40873 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40874 Move e_machine check before EI_CLASS check. Handle x32
40875 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40876 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40877 SKIP_EM_IA_64 and include
40878 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40880 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40881 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40882 (add_system_dir): New macro.
40884 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40885 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40887 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40898 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40900 * math/w_j0f.c (j0f): Likewise.
40902 * math/w_j0l.c (__j0l): Likewise.
40904 * math/w_j1.c (j1): Likewise.
40906 * math/w_j1f.c (j1f): Likewise.
40908 * math/w_j1l.c (__j1l): Likewise.
40910 * math/w_jn.c (jn): Likewise.
40912 * math/w_jnf.c (jnf): Likewise.
40914 * math/w_jnl.c (__jnl): Likewise.
40916 * math/libm-test.inc (j0_test): Add more tests.
40917 (j1_test): Likewise.
40918 (jn_test): Likewise. Add trailing semicolon to existing test.
40919 (y0_test): Likewise.
40920 (y1_test): Likewise.
40921 * sysdeps/i386/fpu/libm-test-ulps: Update.
40922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40926 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40927 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40928 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40929 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40930 (__tanl): Set errno for infinite argument.
40931 * sysdeps/i386/fpu/mptan.c: Remove.
40932 * sysdeps/i386/fpu/s_tan.S: Likewise.
40933 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40934 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40935 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40936 * math/libm-test.inc (tan_test): Add more tests and enable more
40937 tests for double and long double.
40938 * sysdeps/i386/fpu/libm-test-ulps: Update.
40939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40941 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40943 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40944 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40946 2012-03-16 Roland McGrath <roland@hack.frob.com>
40948 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40949 * configure.in: Use it for both main tree and add-ons.
40950 * configure: Regenerated.
40952 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40954 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40956 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40958 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40962 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40963 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40964 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40966 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40968 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40970 != 0 for prec == 2.
40971 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40972 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40973 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40974 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40975 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40976 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40977 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40978 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40979 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40980 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40981 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40982 * math/libm-test.inc (cos_test): Add more tests and enable more
40983 tests for long double.
40984 (sin_test): Likewise.
40985 (sincos_test): Likewise.
40986 * sysdeps/i386/fpu/libm-test-ulps: Update.
40987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40989 2012-03-16 David S. Miller <davem@davemloft.net>
40991 * sysdeps/sparc/fpu/math_private.h: New file.
40993 2012-03-15 David S. Miller <davem@davemloft.net>
40995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41005 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41009 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41010 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41012 * sysdeps/sparc/sparc-ifunc.h: New file.
41013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41052 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41053 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41054 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41058 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41060 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41064 2012-03-15 Andreas Jaeger <aj@suse.de>
41067 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41068 ieee754/flt-32 implementation for sin, cos and sincos.
41069 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41070 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41071 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41072 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41073 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41074 ieee754/flt-32 implementation for tan.
41076 * math/libm-test.inc (cos_test): Enable some large input tests for
41078 (sin_test): Likewise.
41079 (sincos_test): Likewise.
41080 (tan_test): Add tests for large input.
41082 * sysdeps/i386/fpu/libm-test-ulps: Update.
41084 2012-03-15 Andreas Jaeger <aj@suse.de>
41087 * math/libm-test.inc (cos_test): Add more test cases.
41088 (sin_test): Likewise.
41089 (sincos_test): Likewise.
41091 2012-03-15 Andreas Jaeger <aj@suse.de>
41094 * math/libm-test.inc (cos_test): Add a test case for large input
41096 (sin_test): Likewise.
41097 (sincos_test): Likewise.
41099 2012-03-15 Andreas Jaeger <aj@suse.de>
41100 Joseph Myers <joseph@codesourcery.com>
41103 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41104 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41105 * sysdeps/i386/fpu/branred.c: Likewise.
41106 * sysdeps/i386/fpu/dosincos.c: Likewise.
41107 * sysdeps/i386/fpu/mpa.c: Likewise.
41108 * sysdeps/i386/fpu/s_cos.S: Likewise.
41109 * sysdeps/i386/fpu/s_sin.S: Likewise.
41110 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41111 * sysdeps/i386/fpu/sincos32.c: Likewise.
41113 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41115 (libc_feupdateenv_53bit): Define.
41116 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41118 (libc_feupdateenv_53bit): Define.
41120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41121 53 bit (without extend i386 double precision).
41123 * math/libm-test.inc (sincos_test): Add tests for large input.
41127 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41129 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41133 2012-03-15 David S. Miller <davem@davemloft.net>
41135 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41136 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41137 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41138 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41163 fmin/fmax sysdep routines.
41164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41166 2012-03-14 David S. Miller <davem@davemloft.net>
41168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41240 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41245 * sysdeps/sparc/configure.in: New file.
41246 * sysdeps/sparc/configure: Generate.
41247 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41248 * configure: Regenerate.
41249 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41250 * config.make.in (have-as-vis3): New.
41251 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41252 available use -Av9d instead of -Av9a.
41253 * sysdeps/sparc/sparc64/Makefile: Likewise.
41254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41263 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41264 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41265 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41269 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41270 fzeros/fnegs to load 0x80000000 into a float register instead of
41272 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41274 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41278 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41279 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41280 ($(inst_includedir)/bits/syscall.h): Remove rule.
41281 ($(objpfx)bits/syscall.d): Include instead of
41282 $(objpfx)syscall-list.d.
41283 (generated): Change syscall-list.h and syscall-list.d to
41284 bits/syscall.h and bits/syscall.d.
41286 2012-03-14 Roland McGrath <roland@hack.frob.com>
41289 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41291 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41294 * math/s_csqrt.c: Include <float.h>.
41295 (__csqrt): Scale large or subnormal inputs.
41296 * math/s_csqrtf.c: Likewise.
41297 * math/s_csqrtl.c: Likewise.
41298 * math/libm-test.inc (csqrt_test): Add more tests.
41299 * sysdeps/i386/fpu/libm-test-ulps: Update.
41300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41303 * math/libm-test.inc (hypot_test): Add more tests.
41305 2012-03-13 David S. Miller <davem@davemloft.net>
41308 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41309 double-precision for the calculation instead of scaling.
41311 2012-03-13 Joseph Myers <joseph@codesourcery.com>
41313 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41314 manipulate bits before adding and subtracting TWO52[sx].
41315 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41316 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41318 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41320 2012-03-13 David S. Miller <davem@davemloft.net>
41322 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41323 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41325 rtld-global-offsets.h
41326 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41328 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41331 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41333 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41334 'err' in the ifdef scope in which it is actually used.
41336 * nss/nss_db/db-init.c: Include string.h
41338 2012-03-12 David S. Miller <davem@davemloft.net>
41340 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41341 masking out of the most significant byte of random value used.
41342 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41343 Fix coding style in previous change.
41345 * sysdeps/unix/sysv/linux/kernel-features.h
41346 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41347 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41349 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41352 2012-03-11 David S. Miller <davem@davemloft.net>
41354 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41355 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41356 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41357 for 'resultvar' otherwise things get truncated on 64-bit.
41359 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41360 Fix masking out of the most significant byte of random value used.
41362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41364 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41368 2012-03-09 David S. Miller <davem@davemloft.net>
41370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41371 variables with appropriate CPP guards.
41372 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41373 from the frame pointer, not the stack pointer. Correct layout
41374 comments. Fix test on resulting framesize and the management of
41375 the outregs buffer for pltexit. Preserve floating point return
41376 values across _dl_call_pltexit call.
41377 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41378 framesize and the management of the outregs buffer for pltexit.
41379 Preserve floating point return values across _dl_call_pltexit
41381 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41382 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41383 (la_sparc64_gnu_pltexit): New functions.
41384 (print_exit): Fix format string for return register value.
41386 2012-03-10 Joseph Myers <joseph@codesourcery.com>
41388 * sunrpc/Makefile (others): Add rpcgen.
41389 ($(objpfx)rpcgen): Remove special build rule and dependency on
41391 * sunrpc/rpcgen.c: New file.
41393 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41396 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41397 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41398 * sysdeps/i386/crti.S: Likewise.
41399 * sysdeps/i386/crtn.S: Likewise.
41400 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41401 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41402 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41403 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41404 * sysdeps/sh/crti.S: Likewise.
41405 * sysdeps/sh/crtn.S: Likewise.
41406 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41409 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41411 * locale/programs/locfile-kw.gperf: Likewise.
41412 * locale/programs/charmap-kw.h: Regenerated.
41413 * locale/programs/locfile-kw.h: Likewise.
41416 * intl/plural.y: Replace FSF snail mail address with URL.
41417 * intl/plural.c: Regenerated.
41419 2012-03-09 Richard Henderson <rth@twiddle.net>
41421 * include/math_private.h: Remove file.
41422 * math/math_private.h: Move file ...
41423 * sysdeps/generic/math_private.h: ... here.
41425 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41426 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41427 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41429 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41430 and <math_private.h>.
41431 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41432 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41433 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41434 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41435 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41436 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41437 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41438 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41439 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41440 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41442 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41443 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41444 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41445 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41446 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41447 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41448 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41449 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41453 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41455 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41456 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41457 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41458 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41461 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41463 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41464 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41465 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41466 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41467 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41468 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41469 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41470 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41471 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41472 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41473 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41474 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41475 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41476 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41477 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41478 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41479 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41480 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41481 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41482 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41483 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41484 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41485 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41486 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41487 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41488 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41489 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41490 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41491 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41492 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41493 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41494 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41495 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41496 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41497 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41498 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41499 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41500 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41501 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41502 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41503 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41504 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41505 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41508 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41510 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41511 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41512 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41513 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41514 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41515 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41516 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41518 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41519 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41520 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41521 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41522 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41523 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41524 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41525 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41526 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41527 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41528 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41529 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41531 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41532 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41533 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41534 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41535 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41536 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41537 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41538 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41539 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41541 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41542 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41543 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41544 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41545 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41546 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41547 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41548 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41549 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41550 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41551 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41552 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41553 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41554 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41555 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41556 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41557 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41558 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41559 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41560 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41561 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41562 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41563 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41564 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41565 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41566 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41567 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41568 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41569 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41570 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41571 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41572 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41573 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41574 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41575 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41576 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41577 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41578 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41579 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41580 * sysdeps/ieee754/k_standard.c: Likewise.
41581 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41582 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41584 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41585 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41586 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41587 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41588 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41589 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41590 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41591 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41592 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41593 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41594 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41595 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41596 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41597 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41598 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41599 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41600 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41601 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41602 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41603 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41604 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41605 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41606 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41607 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41608 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41609 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41610 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41611 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41612 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41613 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41614 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41615 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41616 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41617 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41618 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41619 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41620 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41621 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41622 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41623 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41624 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41625 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41626 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41627 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41628 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41629 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41630 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41631 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41632 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41637 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41639 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41640 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41641 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41651 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41658 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41665 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41672 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41675 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41680 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41682 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41683 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41684 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41685 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41686 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41692 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41693 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41694 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41695 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41696 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41697 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41698 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41699 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41700 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41701 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41702 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41703 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41704 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41707 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41708 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41709 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41711 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41712 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41713 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41714 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41715 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41716 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41717 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41718 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41719 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41720 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41721 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41723 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41724 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41726 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41727 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41728 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41729 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41730 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41731 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41733 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41739 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41741 * sysdeps/ieee754/s_lib_version.c: Likewise.
41742 * sysdeps/ieee754/s_matherr.c: Likewise.
41743 * sysdeps/ieee754/s_signgam.c: Likewise.
41744 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41745 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41746 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41747 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41748 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41749 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41750 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41751 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41752 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41753 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41754 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41755 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41756 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41757 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41758 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41759 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41760 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41761 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41762 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41763 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41766 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41768 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41769 * sunrpc/rpc_main.c: Likewise.
41770 * sunrpc/rpc_svcout.c: Likewise.
41772 2012-03-09 David S. Miller <davem@davemloft.net>
41774 * include/math_private.h: New file.
41776 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41778 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41779 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41780 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41781 from <bits/socket_type.h>.
41782 (enum __socket_type): Don't define here.
41783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41785 bits/socket_type.h.
41788 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41789 checking __USE_GNU.
41791 * Makerules ($(inst_includedir)/%.h): New rule.
41792 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41793 (install-others): Remove variable setting.
41794 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41796 2012-03-08 Richard Henderson <rth@twiddle.net>
41798 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41799 from macro to inline function; merge with the
41800 !__LIBC_INTERNAL_MATH_INLINES version.
41801 (__ieee754_sqrtf): Likewise.
41803 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41804 to inline function.
41805 (__rintf, __floor, __floorf): Likewise.
41807 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41808 macro to inline function.
41809 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41812 not <math/math_private.h>.
41814 2012-03-08 David S. Miller <davem@davemloft.net>
41816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41818 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41820 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41822 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41824 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41825 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41827 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41829 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41830 be defined individually, they must be defined as a block. Define
41831 S for printing a string instead of hidint the different by using a
41832 macro for adding the 'l'.
41833 * stdio-common/tst-fphex-wide.c: Adjust.
41835 2012-03-07 Marek Polacek <polacek@redhat.com>
41837 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41839 2012-03-08 Marek Polacek <polacek@redhat.com>
41842 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41843 * stdio-common/tst-fphex.c: Define a few macros to make the
41844 test reusable. Use them.
41845 * stdio-common/tst-fphex-wide.c: New file.
41847 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41850 * manual/macros.texi (gnusystems): New macro.
41851 (nongnusystems): Likewise.
41852 (gnulinuxhurdsystems): Likewise.
41853 (gnuhurdsystems): Likewise..
41854 (gnulinuxsystems): Likewise.
41855 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41856 variants of the GNU system, not "GNU system".
41857 * manual/conf.texi: Likewise.
41858 * manual/errno.texi: Likewise. Update example of errno macro
41860 * manual/filesys.texi: Likewise.
41861 (getumask): Document as specific to GNU/Hurd.
41862 * manual/install.texi: Likewise. Reword some references to
41864 * manual/intro.texi: Likewise.
41865 * manual/io.texi: Likewise.
41866 (File Name Portability): Detail which constraints are inapplicable
41867 to all GNU systems and which are only inapplicable to GNU/Hurd.
41868 * manual/job.texi: Likewise.
41869 * manual/llio.texi: Likewise.
41870 (O_NOCTTY): Document as present on GNU/Linux.
41871 * manual/maint.texi: Likewise.
41872 * manual/memory.texi: Likewise.
41873 * manual/pattern.texi: Likewise.
41874 * manual/pipe.texi: Likewise.
41875 * manual/process.texi: Likewise.
41876 * manual/resource.texi: Likewise.
41877 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41879 * manual/setjmp.texi: Likewise.
41880 * manual/signal.texi: Likewise.
41881 * manual/startup.texi: Likewise.
41882 * manual/stdio.texi: Likewise.
41883 * manual/terminal.texi: Likewise.
41884 (ONLCR): Document as POSIX.
41885 (OXTABS): Document availability on GNU/Linux as XTABS.
41886 (ONOEOT): Document availability separately from other bits.
41887 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41888 * manual/time.texi: Likewise.
41889 * manual/users.texi: Likewise.
41890 * INSTALL: Regenerated.
41891 * sysdeps/gnu/errlist.c: Regenerated.
41893 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41894 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41895 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41897 * configure: Regenerated.
41899 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41901 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41902 default includes instead of AC_HEADER_CHECK.
41903 * sysdeps/i386/configure: Regenerated.
41906 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41907 * math/s_cacoshf.c (__cacoshf): Likewise.
41908 * math/s_cacoshl.c (__cacoshl): Likewise.
41909 * math/s_casinh.c (__casinh): Set signs of result from argument.
41910 * math/s_casinhf.c (__casinhf): Likewise.
41911 * math/s_casinhl.c (__casinhl): Likewise.
41912 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41913 (casinh_test): Add more tests.
41914 * sysdeps/i386/fpu/libm-test-ulps: Update.
41915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41917 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41919 * po/zh_TW.po: Update from translation team.
41921 * login/Makefile (distribute): Remove variable.
41922 * catgets/Makefile: Likewise.
41923 * mach/Makefile: Likewise.
41924 * malloc/Makefile: Likewise.
41925 * misc/Makefile: Likewise.
41926 * iconv/Makefile: Likewise.
41927 * nscd/Makefile: Likewise.
41928 * hurd/Makefile: Likewise.
41929 * manual/Makefile: Likewise.
41930 * locale/Makefile: Likewise.
41931 * intl/Makefile: Likewise.
41932 * conform/Makefile: Likewise.
41933 * nss/Makefile: Likewise.
41934 * time/Makefile: Likewise.
41935 * soft-fp/Makefile: Likewise.
41936 * dirent/Makefile: Likewise.
41937 * gmon/Makefile: Likewise.
41938 * po/Makefile: Likewise.
41939 * rt/Makefile: Likewise.
41940 * socket/Makefile: Likewise.
41941 * math/Makefile: Likewise.
41942 * signal/Makefile: Likewise.
41943 * debug/Makefile: Likewise.
41944 * elf/Makefile: Likewise.
41945 * timezone/Makefile: Likewise.
41946 * stdlib/Makefile: Likewise.
41947 * iconvdata/Makefile: Likewise.
41948 * sunrpc/Makefile: Likewise.
41949 * io/Makefile: Likewise.
41950 * argp/Makefile: Likewise.
41951 * inet/Makefile: Likewise.
41952 * hesiod/Makefile: Likewise.
41953 * grp/Makefile: Likewise.
41954 * csu/Makefile: Likewise.
41955 * wctype/Makefile: Likewise.
41956 * crypt/Makefile: Likewise.
41957 * libio/Makefile: Likewise.
41958 * string/Makefile: Likewise.
41959 * nis/Makefile: Likewise.
41960 * resolv/Makefile: Likewise.
41961 * stdio-common/Makefile: Likewise.
41962 * wcsmbs/Makefile: Likewise.
41963 * dlfcn/Makefile: Likewise.
41964 * posix/Makefile: Likewise.
41967 * timezone/Makefile: Don't install timezone files, just the programs
41970 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41972 * nss/databases.def: Add missing gshadow entry.
41974 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41976 2012-03-06 Marek Polacek <polacek@redhat.com>
41979 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41980 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41981 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41982 * stdio-common/tst-long-dbl-fphex.c: New file.
41984 2012-03-06 David S. Miller <davem@davemloft.net>
41986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41987 (set_obp_int): New function.
41988 (get_obp_int): New function.
41989 (__get_clockfreq_via_dev_openprom): Likewise.
41990 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41991 Avoid unused variable warnings on 'val' and use builtin_expect.
41992 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41994 (INLINE_CLONE_SYSCALL): Likewise.
41996 2012-03-05 David S. Miller <davem@davemloft.net>
41998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42000 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42004 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42005 only for |x| >= 40.
42006 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42008 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42011 Replace gettimeofday with __vdso_gettimeofday.
42013 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42014 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42015 __vdso_clock_gettime and __vdso_getcpu.
42017 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42018 time with __vdso_time.
42020 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42022 * manual/lang.texi (size_t): Note types to which size_t may be
42023 equivalent with the GNU C Library, but do not describe when
42024 differences between them are significant.
42026 2012-03-05 Andreas Jaeger <aj@suse.de>
42028 * sysdeps/i386/fpu/libm-test-ulps: Update.
42030 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42033 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42034 (__ieee754_pow): Save and restore rounding mode and use
42035 round-to-nearest for main computations.
42036 * math/libm-test.inc (pow_test_tonearest): New function.
42037 (pow_test_towardzero): Likewise.
42038 (pow_test_downward): Likewise.
42039 (pow_test_upward): Likewise.
42040 (main): Call the new functions.
42041 * sysdeps/i386/fpu/libm-test-ulps: Update.
42042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42045 * math/libm-test.inc (cosh_test_tonearest): New function.
42046 (cosh_test_towardzero): Likewise.
42047 (cosh_test_downward): Likewise.
42048 (cosh_test_upward): Likewise.
42049 (sinh_test_tonearest): Likewise.
42050 (sinh_test_towardzero): Likewise.
42051 (sinh_test_downward): Likewise.
42052 (sinh_test_upward): Likewise.
42053 (main): Call the new functions.
42054 * sysdeps/i386/fpu/libm-test-ulps: Update.
42055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42057 2012-03-05 Tom de Vries <tom@codesourcery.com>
42059 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42060 default stack guard is set in last bytes.
42061 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42063 2012-03-05 Kees Cook <keescook@chromium.org>
42065 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42068 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42069 possibly allocate from heap instead of stack.
42070 * stdio-common/bug-vfprintf-nargs.c: New file.
42071 * stdio-common/Makefile (tests): Add nargs overflow test.
42073 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42077 2012-03-03 Marek Polacek <polacek@redhat.com>
42079 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42080 * math/math_private.h: Likewise.
42081 * stdlib/tst-strtod.c: Likewise.
42082 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42083 * sysdeps/x86_64/bits/atomic.h: Likewise.
42085 2012-03-02 David S. Miller <davem@davemloft.net>
42087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42091 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42092 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42093 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42094 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42096 2012-03-02 Roland McGrath <roland@hack.frob.com>
42099 * manual/examples/README: New file, says the example source files
42100 can be used under GPL>=2.
42101 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42102 line containing just "*/".
42103 * manual/examples/add.c: Add copyright header (GPL>=2).
42104 * manual/examples/argp-ex1.c: Likewise.
42105 * manual/examples/argp-ex2.c: Likewise.
42106 * manual/examples/argp-ex3.c: Likewise.
42107 * manual/examples/argp-ex4.c: Likewise.
42108 * manual/examples/atexit.c: Likewise.
42109 * manual/examples/db.c: Likewise.
42110 * manual/examples/dir.c: Likewise.
42111 * manual/examples/dir2.c: Likewise.
42112 * manual/examples/execinfo.c: Likewise.
42113 * manual/examples/filecli.c: Likewise.
42114 * manual/examples/filesrv.c: Likewise.
42115 * manual/examples/fmtmsgexpl.c: Likewise.
42116 * manual/examples/genpass.c: Likewise.
42117 * manual/examples/inetcli.c: Likewise.
42118 * manual/examples/inetsrv.c: Likewise.
42119 * manual/examples/isockad.c: Likewise.
42120 * manual/examples/longopt.c: Likewise.
42121 * manual/examples/memopen.c: Likewise.
42122 * manual/examples/memstrm.c: Likewise.
42123 * manual/examples/mkfsock.c: Likewise.
42124 * manual/examples/mkisock.c: Likewise.
42125 * manual/examples/mygetpass.c: Likewise.
42126 * manual/examples/pipe.c: Likewise.
42127 * manual/examples/popen.c: Likewise.
42128 * manual/examples/rprintf.c: Likewise.
42129 * manual/examples/search.c: Likewise.
42130 * manual/examples/select.c: Likewise.
42131 * manual/examples/setjmp.c: Likewise.
42132 * manual/examples/sigh1.c: Likewise.
42133 * manual/examples/sigusr.c: Likewise.
42134 * manual/examples/stpcpy.c: Likewise.
42135 * manual/examples/strdupa.c: Likewise.
42136 * manual/examples/strftim.c: Likewise.
42137 * manual/examples/strncat.c: Likewise.
42138 * manual/examples/subopt.c: Likewise.
42139 * manual/examples/swapcontext.c: Likewise.
42140 * manual/examples/termios.c: Likewise.
42141 * manual/examples/testopt.c: Likewise.
42142 * manual/examples/testpass.c: Likewise.
42143 * manual/examples/timeval_subtract.c: Likewise.
42146 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42148 * manual/timeval_subtract.c.texi: ... here, new file.
42150 2012-03-02 David S. Miller <davem@davemloft.net>
42152 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42154 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42157 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42158 (__sin): Save and restore rounding mode and use round-to-nearest
42159 for all computations.
42160 (__cos): Save and restore rounding mode and use round-to-nearest
42161 for all computations.
42162 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42164 (tan): Save and restore rounding mode and use round-to-nearest for
42166 * math/libm-test.inc (cos_test_tonearest): New function.
42167 (cos_test_towardzero): Likewise.
42168 (cos_test_downward): Likewise.
42169 (cos_test_upward): Likewise.
42170 (sin_test_tonearest): Likewise.
42171 (sin_test_towardzero): Likewise.
42172 (sin_test_downward): Likewise.
42173 (sin_test_upward): Likewise.
42174 (tan_test_tonearest): Likewise.
42175 (tan_test_towardzero): Likewise.
42176 (tan_test_downward): Likewise.
42177 (tan_test_upward): Likewise.
42178 (main): Call the new functions.
42179 * sysdeps/i386/fpu/libm-test-ulps: Update.
42180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42183 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42184 small n, then large n, before computing and testing k+n.
42185 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42190 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42191 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42193 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42194 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42195 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42196 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42197 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42198 * math/libm-test.inc (scalbn_test): Add more tests.
42199 (scalbln_test): Likewise.
42201 * manual/filesys.texi (mode_t): Describe constraints on size and
42202 signedness, not exact equivalence to a particular type.
42204 (ino64_t): Likewise.
42206 (nlink_t): Likewise.
42207 (blkcnt_t): Likewise.
42208 (blkcnt64_t): Likewise.
42209 * manual/llio.texi (off_t): Likewise.
42212 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42213 (__ieee754_exp): Save and restore rounding mode and use
42214 round-to-nearest for all computations.
42215 * math/libm-test.inc (exp_test_tonearest): New function.
42216 (exp_test_towardzero): Likewise.
42217 (exp_test_downward): Likewise.
42218 (exp_test_upward): Likewise.
42219 (main): Call the new functions.
42220 * sysdeps/i386/fpu/libm-test-ulps: Update.
42221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42223 2012-03-01 Chris Demetriou <cgd@google.com>
42225 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42226 have predictable order.
42228 2012-03-01 David S. Miller <davem@davemloft.net>
42230 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42232 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42233 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42234 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42235 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42237 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42238 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42239 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42241 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42242 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42243 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42244 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42245 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42249 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42250 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42251 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42253 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42254 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42255 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42256 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42257 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42259 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42260 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42261 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42262 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42263 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42264 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42266 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42267 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42269 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42270 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42271 * sysdeps/sparc/elf/configure: Regenerated.
42273 2012-03-01 Joseph Myers <joseph@codesourcery.com>
42275 * configure.in (AS, LD): Require binutils 2.20 or later.
42276 * configure: Regenerated.
42277 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42278 as required minimum version.
42279 * INSTALL: Regenerated.
42283 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42284 before squaring exponent.
42285 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42286 bottom long double and 27 bits of top long double before squaring
42288 * math/libm-test.inc (erfc_test): Add more tests.
42289 * sysdeps/i386/fpu/libm-test-ulps: Update.
42290 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42293 2012-03-01 Kai Tietz <ktietz@redhat.com>
42295 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42296 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42297 containing bit-fields.
42298 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42299 * soft-fp/single.h (_FP_UNION_S): Likewise.
42300 * soft-fp/double.h (_FP_UNION_D): Likewise.
42302 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42305 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42306 not include ../strcmp.S.
42307 [USE_AS_STRNCASECMP_L]: Likewise.
42308 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42309 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42310 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42311 (__strncasecmp_l_ia32): Define as alias to
42312 __strncasecmp_l_nonascii.
42315 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42316 * sysdeps/i386/fpu/libm-test-ulps: Update.
42317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42319 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42322 2012-02-29 Jeff Law <law@redhat.com>
42324 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42325 out of bounds read.
42327 2012-02-29 Marek Polacek <polacek@redhat.com>
42330 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42331 * elf/Makefile: Add rules to run tst-unused-dep.out.
42333 2012-02-28 David S. Miller <davem@davemloft.net>
42335 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42336 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42337 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42338 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42339 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42340 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42342 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42344 * math/libm-test.inc (llround_test): Move one test from
42345 lround_test. Use TEST_f_L in moved test.
42346 (lround_test): Move misplaced test to llround_test. Add testcase
42349 2012-02-28 Ulrich Drepper <drepper@gmail.com>
42351 * sysdeps/x86_64/fpu/e_expf.S: New file.
42352 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42354 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42357 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42358 of remain_len that may cause incomplete multi-byte character and
42360 * posix/bug-regex33.c: New file.
42361 * posix/Makefile (tests): Add bug-regex33.
42363 2012-02-28 Joseph Myers <joseph@codesourcery.com>
42365 * manual/macros.texi: New file.
42366 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42367 * manual/libc.texinfo: Include macros.texi.
42368 * manual/creatute.texi: Likewise.
42369 * manual/install.texi: Likewise.
42370 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42371 @glibcadj{} in references to the GNU C Library.
42372 * manual/charset.texi: Likewise.
42373 * manual/conf.texi: Likewise.
42374 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42375 when not using those macros.
42376 * manual/creature.texi: Likewise.
42377 * manual/crypt.texi: Likewise.
42378 * manual/errno.texi: Likewise.
42379 * manual/filesys.texi: Likewise.
42380 * manual/header.texi: Likewise.
42381 * manual/install.texi: Likewise.
42382 * manual/intro.texi: Likewise.
42383 * manual/io.texi: Likewise.
42384 * manual/job.texi: Likewise.
42385 * manual/lang.texi: Likewise.
42386 * manual/libc.texiinfo: Likewise.
42387 * manual/llio.texi: Likewise.
42388 * manual/locale.texi: Likewise.
42389 * manual/maint.texi: Likewise.
42390 * manual/math.texi: Likewise.
42391 * manual/memory.texi: Likewise.
42392 * manual/message.texi: Likewise.
42393 * manual/nss.texi: Likewise.
42394 * manual/pattern.texi: Likewise.
42395 * manual/process.texi: Likewise.
42396 * manual/resource.texi: Likewise.
42397 * manual/search.texi: Likewise.
42398 * manual/setjmp.texi: Likewise.
42399 * manual/signal.texi: Likewise.
42400 * manual/socket.texi: Likewise.
42401 * manual/startup.texi: Likewise.
42402 * manual/stdio.texi: Likewise.
42403 * manual/string.texi: Likewise.
42404 * manual/sysinfo.texi: Likewise.
42405 * manual/syslog.texi: Likewise.
42406 * manual/terminal.texi: Likewise.
42407 * manual/time.texi: Likewise.
42408 * manual/users.texi: Likewise.
42409 * INSTALL: Regenerated.
42410 * NOTES: Regenerated.
42411 * sysdeps/gnu/errlist.c: Regenerated.
42413 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42415 * include/dirent.h: Include <dirstream.h> before
42418 2012-02-28 David S. Miller <davem@davemloft.net>
42420 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42421 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42422 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42423 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42425 2012-02-27 David S. Miller <davem@davemloft.net>
42427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42429 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42430 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42433 frame pointer instead of stack pointer relative arg slot.
42434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42435 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42436 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42438 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42441 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42443 2012-02-27 David S. Miller <davem@davemloft.net>
42445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42449 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42450 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42451 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42452 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42454 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42456 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42457 later. Allow versions 5-9.
42458 * configure: Regenerated.
42459 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42460 required minimum version and 4.6 as recommended version. Do not
42461 mention bugs in GCC 2.7 and 2.8.
42462 * INSTALL: Regenerated.
42464 2012-02-27 David S. Miller <davem@davemloft.net>
42466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42470 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42471 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42472 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42473 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42476 manipulate bits before adding and subtracting TWO112[sx].
42477 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42479 2012-02-27 Roland McGrath <roland@hack.frob.com>
42482 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42483 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42484 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42485 being in POSIX, because they are in 1003.1-2008.
42487 * rt/tst-aio.c: Include <fcntl.h>.
42488 * rt/tst-aio7.c: Likewise.
42489 * rt/tst-aio64.c: Likewise.
42491 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42493 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42495 * manual/install.texi (--with-headers): Describe headers as
42496 interface headers, not private headers.
42497 (Specific advice for GNU/Linux systems): Describe use of headers
42498 from "make headers_install", not private headers from older
42500 * INSTALL: Regenerated.
42501 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42503 * sysdeps/unix/sysv/linux/configure: Regenerated.
42505 * manual/llio.texi (fclean): Remove documentation.
42507 * manual/Makefile (libc-texi-generated): New variable. Include
42509 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42510 $(libc-texi-generated), not duplicated list of files.
42511 (version.texi, stamp-version): New rules.
42512 (realclean): Remove $(libc-texi-generated), not individual files
42513 from that list. Do not remove dir-add.texinfo.
42514 * manual/libc.texinfo: Comment out uses of edition numbers and
42515 references to printed manual. Remove last-updated dates.
42516 (EDITION): Comment out.
42518 (VERSION, UPDATED): Remove.
42519 (version.texi): Include.
42521 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42523 * sysdeps/posix/spawni.c: Include <signal.h>.
42524 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42525 * sysdeps/pthread/aio_fsync.c: Likewise.
42527 2012-02-26 Ulrich Drepper <drepper@gmail.com>
42529 * conform/Makefile (tests): Run only when not cross-compiling and
42530 when fast-check is not defined.
42532 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42533 * conform/data/limits.h-data: Fixes for POSIX2008.
42534 * conform/run-conformtest.sh: Run all tests.
42535 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42537 * include/bits/dlfcn.h: Likewise.
42538 * include/langinfo.h: Likewise.
42539 * include/monetary.h: Likewise.
42540 * include/sys/poll.h: Likewise.
42542 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42544 * posix/spawn.h: Define __need_sigset_t.
42545 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42546 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42547 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42548 to get sigevent_t only.
42549 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42550 only for __USE_GNU.
42551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42552 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42553 process_vm_writev only for __USE_GNU.
42554 * termios/termios.h: Declare tcgetsid also for POSIX2008.
42556 * conform/Makefile: For now ignore errors from run-conformtest.
42557 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42558 POSIX to avoid namespace pollution. Don't prepend headers.
42559 * conform/data/aio.h-data: Fixes for POSIX testing.
42560 * conform/data/fcntl.h-data: Likewise.
42561 * conform/data/glob.h-data: Likewise.
42562 * conform/data/grp.h-data: Likewise.
42563 * conform/data/pthread.h-data: Likewise.
42564 * conform/data/pwd.h-data: Likewise.
42565 * conform/data/signal.h-data: Likewise.
42566 * conform/data/spawn.h-data: Likewise.
42567 * conform/data/stdio.h-data: Likewise.
42568 * conform/data/stdlib.h-data: Likewise.
42569 * conform/data/stropts.h-data: Likewise.
42570 * conform/data/sys/mman.h-data: Likewise.
42571 * conform/data/sys/stat.h-data: Likewise.
42572 * conform/data/sys/types.h-data: Likewise.
42573 * conform/data/sys/wait.h-data: Likewise.
42574 * conform/data/time.h-data: Likewise.
42575 * conform/data/unistd.h-data: Likewise.
42576 * conform/data/utime.h-data: Likewise.
42578 * io/sys/stat.h: fchmod was always in POSIX.
42579 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42580 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42581 * rt/aio.h: Define __need_timespec before including <time.h>.
42582 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42583 struct. Add forward declaration of pthread_attr_t and use it in
42585 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42587 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42588 always remove CLK_TCK definition.
42590 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42592 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42594 2012-02-25 Ulrich Drepper <drepper@gmail.com>
42596 * conform/run-conformtest.sh: New file.
42597 * conform/Makefile: Run run-conformtest for tests.
42598 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42601 * conform/data/uchar.h-data: New file.
42602 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42603 * conform/data/arpa/inet.h-data: Likewise.
42604 * conform/data/assert.h-data: Likewise.
42605 * conform/data/complex.h-data: Likewise.
42606 * conform/data/cpio.h-data: Likewise.
42607 * conform/data/ctype.h-data: Likewise.
42608 * conform/data/dirent.h-data: Likewise.
42609 * conform/data/dlfcn.h-data: Likewise.
42610 * conform/data/errno.h-data: Likewise.
42611 * conform/data/fcntl.h-data: Likewise.
42612 * conform/data/float.h-data: Likewise.
42613 * conform/data/fmtmsg.h-data: Likewise.
42614 * conform/data/fnmatch.h-data: Likewise.
42615 * conform/data/ftw.h-data: Likewise.
42616 * conform/data/glob.h-data: Likewise.
42617 * conform/data/grp.h-data: Likewise.
42618 * conform/data/iconv.h-data: Likewise.
42619 * conform/data/inttypes.h-data: Likewise.
42620 * conform/data/langinfo.h-data: Likewise.
42621 * conform/data/libgen.h-data: Likewise.
42622 * conform/data/limits.h-data: Likewise.
42623 * conform/data/locale.h-data: Likewise.
42624 * conform/data/math.h-data: Likewise.
42625 * conform/data/monetary.h-data: Likewise.
42626 * conform/data/mqueue.h-data: Likewise.
42627 * conform/data/ndbm.h-data: Likewise.
42628 * conform/data/net/if.h-data: Likewise.
42629 * conform/data/netdb.h-data: Likewise.
42630 * conform/data/netinet/in.h-data: Likewise.
42631 * conform/data/nl_types.h-data: Likewise.
42632 * conform/data/poll.h-data: Likewise.
42633 * conform/data/pthread.h-data: Likewise.
42634 * conform/data/pwd.h-data: Likewise.
42635 * conform/data/regex.h-data: Likewise.
42636 * conform/data/sched.h-data: Likewise.
42637 * conform/data/search.h-data: Likewise.
42638 * conform/data/semaphore.h-data: Likewise.
42639 * conform/data/setjmp.h-data: Likewise.
42640 * conform/data/signal.h-data: Likewise.
42641 * conform/data/spawn.h-data: Likewise.
42642 * conform/data/stdarg.h-data: Likewise.
42643 * conform/data/stdio.h-data: Likewise.
42644 * conform/data/stdlib.h-data: Likewise.
42645 * conform/data/string.h-data: Likewise.
42646 * conform/data/strings.h-data: Likewise.
42647 * conform/data/stropts.h-data: Likewise.
42648 * conform/data/sys/ipc.h-data: Likewise.
42649 * conform/data/sys/mman.h-data: Likewise.
42650 * conform/data/sys/msg.h-data: Likewise.
42651 * conform/data/sys/resource.h-data: Likewise.
42652 * conform/data/sys/select.h-data: Likewise.
42653 * conform/data/sys/sem.h-data: Likewise.
42654 * conform/data/sys/shm.h-data: Likewise.
42655 * conform/data/sys/socket.h-data: Likewise.
42656 * conform/data/sys/stat.h-data: Likewise.
42657 * conform/data/sys/statvfs.h-data: Likewise.
42658 * conform/data/sys/time.h-data: Likewise.
42659 * conform/data/sys/timeb.h-data: Likewise.
42660 * conform/data/sys/times.h-data: Likewise.
42661 * conform/data/sys/types.h-data: Likewise.
42662 * conform/data/sys/uio.h-data: Likewise.
42663 * conform/data/sys/un.h-data: Likewise.
42664 * conform/data/sys/utsname.h-data: Likewise.
42665 * conform/data/sys/wait.h-data: Likewise.
42666 * conform/data/syslog.h-data: Likewise.
42667 * conform/data/tar.h-data: Likewise.
42668 * conform/data/termios.h-data: Likewise.
42669 * conform/data/utime.h-data: Likewise.
42670 * conform/data/utmpx.h-data: Likewise.
42671 * conform/data/varargs.h-data: Likewise.
42672 * conform/data/wchar.h-data: Likewise.
42673 * conform/data/wctype.h-data: Likewise.
42674 * conform/data/wordexp.h-data: Likewise.
42676 * include/stropts.h: New file.
42677 * include/uchar.h: New file.
42678 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42679 * include/assert.h: Likewise.
42680 * include/ctype.h: Likewise.
42681 * include/dirent.h: Likewise.
42682 * include/dlfcn.h: Likewise.
42683 * include/fcntl.h: Likewise.
42684 * include/fnmatch.h: Likewise.
42685 * include/glob.h: Likewise.
42686 * include/grp.h: Likewise.
42687 * include/libio.h: Likewise.
42688 * include/locale.h: Likewise.
42689 * include/math.h: Likewise.
42690 * include/net/if.h: Likewise.
42691 * include/netdb.h: Likewise.
42692 * include/netinet/in.h: Likewise.
42693 * include/pthread.h: Likewise.
42694 * include/pwd.h: Likewise.
42695 * include/regex.h: Likewise.
42696 * include/sched.h: Likewise.
42697 * include/search.h: Likewise.
42698 * include/setjmp.h: Likewise.
42699 * include/signal.h: Likewise.
42700 * include/stdio.h: Likewise.
42701 * include/stdlib.h: Likewise.
42702 * include/string.h: Likewise.
42703 * include/sys/cdefs.h: Likewise.
42704 * include/sys/mman.h: Likewise.
42705 * include/sys/msg.h: Likewise.
42706 * include/sys/resource.h: Likewise.
42707 * include/sys/select.h: Likewise.
42708 * include/sys/socket.h: Likewise.
42709 * include/sys/stat.h: Likewise.
42710 * include/sys/statvfs.h: Likewise.
42711 * include/sys/time.h: Likewise.
42712 * include/sys/times.h: Likewise.
42713 * include/sys/uio.h: Likewise.
42714 * include/sys/utsname.h: Likewise.
42715 * include/sys/wait.h: Likewise.
42716 * include/termios.h: Likewise.
42717 * include/time.h: Likewise.
42718 * include/ulimit.h: Likewise.
42719 * include/unistd.h: Likewise.
42720 * include/utime.h: Likewise.
42721 * include/wchar.h: Likewise.
42722 * include/wctype.h: Likewise.
42723 * include/wordexp.h: Likewise.
42725 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42727 * time/time.h: TIME_UTC must be a macro.
42728 Make timespec_get available for ISO C11 only as well.
42730 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42732 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42733 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42735 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42737 * configure.in: Use -o not -a in test for unsupported multi-arch.
42739 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42741 * manual/texinfo.tex: Update to version 2012-01-19.16.
42743 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42745 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42747 2012-02-24 Roland McGrath <roland@hack.frob.com>
42750 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42751 * manual/fdl-1.3.texi: New file.
42752 * manual/fdl-1.1.texi: File removed.
42755 * manual/libc.texinfo (FDL_VERSION): New @set.
42756 Use it for mention of FDL in cover text.
42757 (Documentation License): Use it in @include file name.
42759 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42760 Roland McGrath <roland@hack.frob.com>
42763 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42764 (not LONG_LONG_MAX and LONG_LONG_MIN.
42765 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42766 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42768 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42770 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42774 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42775 manipulate bits before adding and subtracting TWO23[sx].
42776 * math/libm-test.inc (nearbyint_test): Add more tests.
42778 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42781 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42782 bits before adding and subtracting TWO23[sx].
42783 * math/libm-test.inc (rint_test): Add more tests.
42784 (rint_test_tonearest): Likewise.
42785 (rint_test_towardzero): Likewise.
42786 (rint_test_downward): Likewise.
42787 (rint_test_upward: Likewise.
42789 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42792 * include/stdc-predef.h: New file. Extracted from features.h.
42793 * include/features.h: Include stdc-predef.h.
42794 * Makefile (headers): Add stdc-predef.h.
42795 * CONFORMANCE (Compiler limitations): Update.
42797 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42799 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42801 2012-02-21 David S. Miller <davem@davemloft.net>
42803 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42804 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42806 2012-02-20 David S. Miller <davem@davemloft.net>
42808 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42809 using a normal save/restore sequence, rather than allocating a
42810 dummy stack frame just to store a frame pointer and restore.
42811 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42813 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42815 * manual/install.texi: Fix stray word in line-wrapped comment.
42817 2012-02-20 David S. Miller <davem@davemloft.net>
42819 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42820 both binutils and gcc support GOTDATA.
42822 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42823 "rd %pc" in the PIC register setup sequences.
42825 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42826 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42827 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42828 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42829 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42831 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42834 (SYSCALL_ERROR_HANDLER): Likewise.
42835 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42836 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42838 (SYSCALL_ERROR_HANDLER): Likewise.
42840 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42841 (HAVE_GCC_GOTDATA): New.
42842 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42843 relocation support in both binutils and gcc.
42844 * sysdeps/sparc/elf/configure: Regenerate.
42846 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42847 * sysdeps/sparc/sparc32/elf/configure: Delete.
42848 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42849 * sysdeps/sparc/sparc64/elf/configure: Delete.
42850 * sysdeps/sparc/elf/configure.in: New file.
42851 * sysdeps/sparc/elf/configure: Generate.
42853 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42854 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42855 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42856 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42857 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42859 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42861 * manual/install.texi: Do not mention specific glibc version
42863 * manual/libc.texinfo (VERSION, UPDATED): Update.
42864 (@copying): Use @copyright{} and range of years.
42866 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42869 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42870 [crti.S not in sysdirs] (generated): Do not append.
42871 [crti.S not in sysdirs] (omit-deps): Likewise.
42872 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42873 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42874 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42875 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42876 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42878 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42879 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42880 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42881 * csu/defs.awk: Remove file.
42882 * sysdeps/generic/initfini.c: Likewise.
42883 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42885 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42888 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42890 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42891 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42892 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42893 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42895 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42897 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42898 (__EPOLL_PACKED): Define to empty if not defined by
42900 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42904 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42906 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42907 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42908 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42909 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42911 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42915 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42917 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42919 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42920 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42924 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42926 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42927 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42929 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42931 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42932 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42934 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42936 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42939 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42941 * math/w_acos.c: Use non-signaling floating-point comparisons.
42942 * math/w_acosf.c: Likewise.
42943 * math/w_acosh.c: Likewise.
42944 * math/w_acoshf.c: Likewise.
42945 * math/w_acoshl.c: Likewise.
42946 * math/w_acosl.c: Likewise.
42947 * math/w_asin.c: Likewise.
42948 * math/w_asinf.c: Likewise.
42949 * math/w_asinl.c: Likewise.
42950 * math/w_atanh.c: Likewise.
42951 * math/w_atanhf.c: Likewise.
42952 * math/w_atanhl.c: Likewise.
42953 * math/w_exp2.c: Likewise.
42954 * math/w_exp2f.c: Likewise.
42955 * math/w_exp2l.c: Likewise.
42956 * math/w_j0.c: Likewise.
42957 * math/w_j0f.c: Likewise.
42958 * math/w_j0l.c: Likewise.
42959 * math/w_j1.c: Likewise.
42960 * math/w_j1f.c: Likewise.
42961 * math/w_j1l.c: Likewise.
42962 * math/w_jn.c: Likewise.
42963 * math/w_jnf.c: Likewise.
42964 * math/w_log.c: Likewise.
42965 * math/w_log10.c: Likewise.
42966 * math/w_log10f.c: Likewise.
42967 * math/w_log10l.c: Likewise.
42968 * math/w_log2.c: Likewise.
42969 * math/w_log2f.c: Likewise.
42970 * math/w_log2l.c: Likewise.
42971 * math/w_logf.c: Likewise.
42972 * math/w_logl.c: Likewise.
42973 * math/w_sqrt.c: Likewise.
42974 * math/w_sqrtf.c: Likewise.
42975 * math/w_sqrtl.c: Likewise.
42976 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42977 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42978 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42979 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42980 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42982 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42985 * manual/string.texi (strnlen): Use correct parameter name in
42986 equivalent expression.
42988 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42991 * manual/users.texi (seteuid): Consistently use neweuid for
42994 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42997 * manual/nss.texi (Services in the NSS configuration): Correct
42998 list of services in example configuration file.
43000 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43003 * manual/arith.texi: Remove statements about negative zero
43004 behaving identically to zero.
43006 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43009 * manual/install.texi: Do not document upgrading from libc5.
43011 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43014 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43016 2012-02-18 David S. Miller <davem@davemloft.net>
43018 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43019 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43020 %o7 across the call.
43021 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43024 SETUP_PIC_REG_LEAF.
43025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43026 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43027 * sysdeps/sparc/crtn.S: Likewise.
43029 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43031 * aout/Makefile: Remove.
43033 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43036 * manual/examples/argp-ex1.c (main): Format definition in GNU
43038 * manual/examples/argp-ex2.c (main): Likewise.
43039 * manual/examples/argp-ex3.c (main): Likewise.
43040 * manual/examples/argp-ex4.c (main): Likewise.
43041 * manual/examples/longopt.c (main): Use new-style prototype
43043 * manual/examples/strncat.c (main): Specify return type and use
43044 (void) for arguments.
43045 * manual/examples/subopt.c (main): Use char **argv argument.
43047 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43050 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43053 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43056 * manual/string.texi (strchr): Change when strchrnul is
43059 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43062 * manual/locale.texi (setlocale): Document LOCPATH.
43064 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43067 * manual/process.texi (execle): Move @dots{} before last argument.
43069 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43072 * manual/charset.texi (Generic Charset Conversion): Fix typo
43073 (LC_TYPE -> LC_CTYPE).
43075 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43078 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43079 (scalbnf): Likewise.
43080 (scalbnl): Likewise.
43081 (scalbln): Likewise.
43082 (scalblnf): Likewise.
43083 (scalblnl): Likewise.
43084 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43085 (vwarnx): Likewise.
43088 * manual/filesys.texi (telldir): Use braces around return type.
43089 * manual/llio.texi (mmap): Add space after comma.
43090 (mmap64): Likewise.
43091 * manual/math.texi (jn): Use @var{} on parameter names.
43097 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43099 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43101 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43102 (sched_get_priority_max): Likewise.
43103 * manual/signal.texi (sigvec): Add space after comma.
43104 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43106 (if_indextoname): Likewise.
43107 (if_freenameindex): Likewise.
43108 (sendto): Use ',' instead of '.' in prototype.
43109 * manual/startup.texi (syscall): Use @dots{} instead of literal
43111 * manual/stdio.texi (__fpending): Separate initial words of
43112 paragraph from @deftypefun line.
43113 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43115 (vsyslog): Use @var{} on parameter names.
43116 * manual/terminal.texi (stty): Use @var{} on parameter names.
43117 * manual/users.texi (getutmp): Use @var{} on parameter names.
43118 (getutmpx): Likewise.
43120 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43123 * manual/stdio.texi (fopen): Fix typos in description of
43126 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43129 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43130 get clock_id definition.
43132 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43135 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43136 (madvise): Cast every argument to void on its own.
43138 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43141 * manual/startup.texi (Exit Status): Fix typo.
43143 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43146 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43147 * manual/examples/argp-ex2.c: Likewise.
43148 * manual/examples/argp-ex3.c: Likewise.
43150 2012-02-16 Richard Henderson <rth@redhat.com>
43152 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43153 * sysdeps/s390/s390-32/initfini.c: Remove.
43154 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43155 * sysdeps/s390/s390-64/initfini.c: Remove.
43157 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43159 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43160 compiler output for sysdeps/generic/initfini.c.
43161 * sysdeps/sh/elf/initfini.c: Remove file.
43163 2012-02-16 David S. Miller <davem@davemloft.net>
43166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43168 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43169 * sysdeps/sparc/crti.S: New file.
43170 * sysdeps/sparc/crtn.S: New file.
43171 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43172 * sysdeps/sparc/sparc64/Makefile: Likewise.
43174 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43177 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43179 2012-02-15 Roland McGrath <roland@hack.frob.com>
43182 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43184 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43185 (write, read, close): Likewise.
43186 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43188 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43190 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43191 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43192 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43193 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43195 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43199 2012-02-14 Marek Polacek <polacek@redhat.com>
43201 * sysdeps/x86_64/crti.S: New file.
43202 * sysdeps/x86_64/crtn.S: New file.
43203 * sysdeps/x86_64/elf/initfini.c: Remove file.
43205 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43207 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43208 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43209 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43210 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43212 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43216 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43218 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43219 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43220 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43221 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43223 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43227 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43229 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43230 __feraiseexcept instead of feraiseexcept.
43232 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43233 nanosleep invocations.
43234 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43235 strings, and add error checking for a nanosleep invocations.
43237 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43239 Replace FSF snail mail address with URLs, as per GNU coding standards.
43240 Most of the snail mail addresses were wrong anyway, and omitting
43241 them makes the source code easier to maintain. Almost all of the
43242 changes are to license notices and to locale LC_IDENTIFICATION
43243 addresses, except for this one:
43244 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43245 not its snail mail address.
43247 2012-02-09 Richard Henderson <rth@twiddle.net>
43249 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43250 of kernel-features.h.
43252 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43254 2012-02-08 Marek Polacek <polacek@redhat.com>
43256 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43257 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43258 * sysdeps/gnu/_G_config.h: Likewise.
43259 * sysdeps/generic/_G_config.h: Likewise.
43261 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43263 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43267 * sysdeps/powerpc/powerpc32/crti.S: New file.
43268 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43269 * sysdeps/powerpc/powerpc64/crti.S: New file.
43270 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43272 * Makeconfig (have-initfini): Don't set.
43273 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43274 * configure.in (nopic_initfini): Don't substitute.
43275 * config.h.in (HAVE_INITFINI): Don't #undef.
43276 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43277 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43279 2012-02-08 Joseph Myers <joseph@codesourcery.com>
43281 Support crti.S and crtn.S provided directly by architectures.
43282 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43283 [crti.S in sysdirs] (omit-deps): Likewise.
43284 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43285 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43286 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43287 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43288 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43289 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43290 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43291 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43292 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43293 compiler output for sysdeps/generic/initfini.c.
43294 * sysdeps/i386/elf/Makefile: Remove file.
43295 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43297 2012-02-07 Marek Polacek <polacek@redhat.com>
43299 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43300 * sysdeps/gnu/_G_config.h: Likewise.
43301 * sysdeps/mach/hurd/_G_config.h: Likewise.
43303 2012-02-07 Marek Polacek <polacek@redhat.com>
43305 * math/Makefile (tests): Add tst-CMPLX2.
43306 * math/tst-CMPLX2.c: New file.
43308 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43310 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43312 * math/libm-test.inc (jn_test): Add missing L suffix.
43314 2012-02-06 Marek Polacek <polacek@redhat.com>
43316 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43317 * sysdeps/i386/fpu/e_powf.S: Likewise.
43318 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43319 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43320 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43321 * sysdeps/i386/fpu/e_pow.S: Likewise.
43322 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43323 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43324 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43325 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43326 * sysdeps/i386/fpu/e_log2.S: Likewise.
43327 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43328 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43329 * sysdeps/i386/fpu/e_powl.S: Likewise.
43330 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43332 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43333 * sysdeps/i386/fpu/e_logl.S: Likewise.
43334 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43335 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43336 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43337 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43338 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43339 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43340 * sysdeps/i386/fpu/e_log.S: Likewise.
43341 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43342 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43343 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43344 * sysdeps/i386/fpu/e_logf.S: Likewise.
43345 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43346 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43347 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43348 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43349 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43350 * sysdeps/i386/fpu/e_log10.S: Likewise.
43351 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43352 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43353 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43354 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43355 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43356 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43357 * sysdeps/i386/asm-syntax.h: Likewise.
43358 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43359 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43360 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43361 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43362 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43363 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43364 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43365 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43366 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43367 * sysdeps/powerpc/sysdep.h: Likewise.
43368 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43369 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43371 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43374 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43376 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43378 * sysdeps/i386/sysdep.h: Include <features.h>.
43379 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43382 2012-02-05 Joseph Myers <joseph@codesourcery.com>
43384 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43386 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43389 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43391 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43392 (SETUP_PIC_REG): Use GET_PC_THUNK.
43393 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43396 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43398 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43399 for non-PIC compilation.
43400 (SETUP_PIC_REG): Add .p2align directive.
43401 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43402 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43403 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43404 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43405 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43406 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43407 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43408 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43409 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43410 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43411 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43412 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43413 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43414 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43415 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43416 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43417 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43418 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43419 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43420 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43421 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43423 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43424 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43425 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43427 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43428 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43429 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43430 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43431 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43432 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43433 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43434 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43435 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43436 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43437 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43438 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43439 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43440 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43441 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43443 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43445 * math/tst-CMPLX.c: Include <stdio.h>.
43447 2012-01-31 Joseph Myers <joseph@codesourcery.com>
43449 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43451 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43452 * sysdeps/sparc/bits/mathdef.h: Likewise.
43454 2012-01-31 Marek Polacek <polacek@redhat.com>
43456 * libio/libio.h: Don't define _PARAMS.
43457 * locale/programs/config.h: Don't define PARAMS.
43458 * stdlib/strtol_l.c: Likewise.
43459 (__strtol_l): Remove PARAMS from the prototype.
43461 2012-01-31 Ulrich Drepper <drepper@gmail.com>
43463 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43464 names. Just use the correct names. Remove unnecessary wrapper
43466 * malloc/arena.c: Likewise.
43467 * malloc/hooks.c: Likewise.
43469 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43470 ARENA_TEST says not to. Simplify test for creation of a new arena.
43471 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43473 2012-01-30 Ulrich Drepper <drepper@gmail.com>
43475 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43477 (update_get_addr): New function.
43478 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43479 GET_ADDR_MODULE parameter.
43481 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43483 * crypt/cert.c: Remove __STDC__ conditionals.
43484 * crypt/crypt-entry.c: Likewise.
43485 * crypt/crypt_util.c: Likewise.
43486 * libio/filedoalloc.c: Likewise.
43487 * libio/fileops.c: Likewise.
43488 * libio/genops.c: Likewise.
43489 * libio/iofclose.c: Likewise.
43490 * libio/iofdopen.c: Likewise.
43491 * libio/iofopen.c: Likewise.
43492 * libio/iofopen64.c: Likewise.
43493 * libio/iogetdelim.c: Likewise.
43494 * libio/iopopen.c: Likewise.
43495 * libio/obprintf.c: Likewise.
43496 * libio/oldfileops.c: Likewise.
43497 * libio/oldiofclose.c: Likewise.
43498 * libio/oldiofdopen.c: Likewise.
43499 * libio/oldiofopen.c: Likewise.
43500 * libio/oldiopopen.c: Likewise.
43501 * libio/wfiledoalloc.c: Likewise.
43502 * libio/wgenops.c: Likewise.
43503 * locale/programs/xmalloc.c: Likewise.
43504 * misc/syslog.c: Likewise.
43505 * stdio-common/xbug.c: Likewise.
43506 * string/memchr.c: Likewise.
43507 * string/memcmp.c: Likewise.
43508 * string/memrchr.c: Likewise.
43509 * string/rawmemchr.c: Likewise.
43510 * sysdeps/posix/getcwd.c: Likewise.
43511 * time/strftime_l.c: Likewise.
43513 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43515 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43516 * config.make.in (config-cflags-sse2avx): Define.
43517 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43520 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43522 * scripts/config.guess: Update from upstream config git repository.
43523 * scripts/config.sub: Likewise.
43525 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43527 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43529 (R_TILEPRO_*, R_TILEGX_*): New macros.
43531 * scripts/firstversions.awk: Fix bug in version range handling.
43533 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43535 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43537 * include/sys/epoll.h: New file.
43538 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43541 2012-01-28 Ulrich Drepper <drepper@gmail.com>
43543 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43544 Avoid unnecessary __WORDSIZE == 64 test.
43545 (fmaxf): Use VEX format if possible.
43550 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43551 * math/math_private.h: Remove libc_fegetround* and
43553 * sysdeps/i386/configure.in: Check for -msse2avx.
43554 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43555 also if SSE2AVX is defined.
43556 Remove libc_fegetround* and libc_fesetround*.
43557 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43558 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43559 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43561 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43562 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43563 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43564 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43565 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43567 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43569 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43571 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43573 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43575 2012-01-27 Ulrich Drepper <drepper@gmail.com>
43578 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43580 * Makeconfig (libm): Define.
43581 * elf/Makefile: Add rules to build and run tst-relsort1.
43582 * elf/tst-relsort1.c: New file.
43583 * elf/tst-relsort1mod1.c: New file.
43584 * elf/tst-relsort1mod2.c: New file.
43586 2012-01-27 Joseph Myers <joseph@codesourcery.com>
43588 * math/s_ldexp.c: Remove __STDC__ conditionals.
43589 * math/s_ldexpf.c: Likewise.
43590 * math/s_ldexpl.c: Likewise.
43591 * math/s_nextafter.c: Likewise.
43592 * math/s_nexttowardf.c: Likewise.
43593 * math/s_significand.c: Likewise.
43594 * math/s_significandf.c: Likewise.
43595 * math/s_significandl.c: Likewise.
43596 * math/w_jnl.c: Likewise.
43597 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43598 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43599 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43600 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43601 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43603 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43604 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43605 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43606 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43607 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43608 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43609 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43610 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43611 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43612 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43613 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43614 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43616 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43617 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43618 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43619 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43620 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43621 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43622 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43623 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43624 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43625 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43626 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43627 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43628 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43629 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43630 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43631 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43632 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43633 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43634 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43635 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43636 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43637 * sysdeps/ieee754/k_standard.c: Likewise.
43638 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43639 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43640 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43641 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43642 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43643 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43645 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43646 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43647 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43648 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43649 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43650 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43651 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43652 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43654 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43655 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43656 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43657 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43660 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43661 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43662 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43663 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43665 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43667 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43668 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43669 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43670 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43671 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43673 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43674 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43675 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43676 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43677 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43678 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43679 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43680 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43681 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43682 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43683 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43684 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43685 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43686 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43687 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43688 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43689 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43690 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43691 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43692 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43693 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43694 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43695 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43696 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43698 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43699 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43700 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43702 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43703 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43704 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43705 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43706 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43707 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43708 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43709 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43710 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43711 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43712 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43713 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43714 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43715 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43716 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43717 * sysdeps/ieee754/s_matherr.c: Likewise.
43718 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43719 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43720 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43721 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43723 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43725 * crypt/md5.h: Remove __STDC__ conditionals.
43726 * libio/libioP.h: Likewise.
43727 * locale/programs/config.h: Likewise.
43728 * sysdeps/generic/sysdep.h: Likewise.
43729 * sysdeps/i386/asm-syntax.h: Likewise.
43730 * sysdeps/s390/asm-syntax.h: Likewise.
43731 * sysdeps/unix/sysdep.h: Likewise.
43732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43735 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43737 * libio/libio.h: Remove __STDC__ conditionals.
43738 * malloc/obstack.h: Likewise.
43739 * math/complex.h: Likewise.
43740 * math/math.h: Likewise.
43741 * sysdeps/generic/_G_config.h: Likewise.
43742 * sysdeps/gnu/_G_config.h: Likewise.
43743 * sysdeps/mach/hurd/_G_config.h: Likewise.
43744 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43745 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43746 * sysdeps/sparc/bits/mathdef.h: Likewise.
43748 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43751 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43752 Clean up HAS_* macros.
43753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43754 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43758 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43759 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43761 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43762 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43764 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43766 * elf/tst-unique3.cc (gets): Remove declaration.
43767 * elf/tst-unique3lib.cc (gets): Likewise.
43768 * elf/tst-unique3lib2.cc (gets): Likewise.
43769 * elf/tst-unique4.cc (gets): Likewise.
43771 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43773 * include/stdio.h: Add C++ protection. Add gets declarations and
43775 * debug/tst-chk1.c: Don't declare gets here.
43776 * stdio-common/tst-gets.c: Likewise.
43778 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43780 * posix/glob: Remove directory.
43782 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43784 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43786 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43788 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43789 of the non-standard EPFNOSUPPORT.
43791 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43793 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43794 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43795 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43797 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43799 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43801 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43803 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43805 * nscd/grpcache.c (cache_addgr): Likewise.
43806 * nscd/hstcache.c (cache_addhst): Likewise.
43807 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43808 * nscd/pwdcache.c (cache_addpw): Likewise.
43809 * nscd/servicescache.c (cache_addserv): Likewise.
43811 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43813 * malloc/malloc.c: Various cleanups.
43814 * malloc/hooks.c: Likewise.
43816 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43817 * stdlib/bug-fmtmsg1.c: New file.
43819 * stdlib/fmtmsg.c (init): Add missing unlock.
43820 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43822 2012-01-12 Marek Polacek <polacek@redhat.com>
43824 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43827 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43829 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43830 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43831 macro to ensure uniqueness of label name.
43832 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43833 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43835 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43837 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43839 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43840 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43841 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43844 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43848 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43849 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43850 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43852 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43854 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43855 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43856 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43859 * math/bits/math-finite.h: Add ldexp support.
43861 2012-01-10 Marek Polacek <polacek@redhat.com>
43863 * locale/programs/localedef.h (show_archive_content): Add noreturn
43866 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43868 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43870 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43872 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43874 * io/Makefile (headers): Add bits/poll2.h.
43876 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43879 typo #include statement.
43881 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43883 * include/sys/cdefs.h: Define __attribute_alloc_size.
43884 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43885 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43886 * elf/pldd.c: Likewise.
43887 * iconv/iconv_charmap.c: Likewise.
43888 * iconv/iconvconfig.c: Likewise.
43889 * iconv/strtab.c: Likewise.
43890 * locale/programs/locale.c: Likewise.
43891 * locale/programs/localedef.h: Likewise.
43892 * locale/programs/simple-hash.c: Likewise.
43893 * nscd/nscd.h: Likewise.
43894 * nss/makedb.c: Likewise.
43895 * sysdeps/generic/ldconfig.h: Likewise.
43896 * locale/programs/localedef.c: Remove xmalloc prototype.
43897 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43899 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43901 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43904 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43906 * math/Makefile (tests): Add tst-CMPLX.
43907 * math/tst-CMPLX.c: New file.
43909 * math/complex.h (CMPLXL): Fix typo.
43911 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43912 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43914 * debug/tst-chk1.c: Add poll and ppoll tests.
43915 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43916 * include/sys/poll.h: Add hidden proto for ppoll.
43917 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43918 * sysdeps/mach/hurd/ppoll.c: Likewise.
43919 * io/ppoll.c: Likewise.
43920 * debug/poll_chk.c: New file.
43921 * debug/ppoll_chk.c: New file.
43922 * include/bits/poll2.h: New file.
43923 * io/bits/poll2.h: New file.
43926 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43928 * configure.in: static is always set to yes. Remove.
43929 * config.make.in: Don't set build-static.
43930 * Makeconfig: Remove use of build-static.
43931 * dlfcn/Makefile: Likewise.
43932 * elf/Makefile: Likewise.
43933 * math/Makefile: Likewise.
43934 * misc/Makefile: Likewise.
43935 * nptl/Makefile: Likewise.
43936 * sysdeps/mach/hurd/Makefile: Likewise.
43938 * configure.in: PWD_P is not used anymore.
43939 * config.make.in: Remove PWD_P entry.
43941 * configure.in: Remove last remnants of RANLIB.
43942 No need to check for signed size_t anymore.
43943 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43945 Remove __builtin_expect test because we require at least gcc 3.4.
43946 * aclocal.m4: Likewise.
43948 * wcsmbs/mbrtoc16.c: Implement using towc function.
43949 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43950 * wcsmbs/wcsmbsload.c: Likewise.
43951 * iconv/gconv_simple.c: Likewise.
43952 * iconv/gconv_int.h: Likewise.
43953 * iconv/gconv_builtin.h: Likewise.
43954 * iconv/iconv_prog.c: Remove CHAR16 handling.
43956 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43958 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43960 * configure.in: Remove --with-elf and --enable-bounded options.
43961 Dont set base_machine for ia64. More non-ELF conditions removed.
43962 Remove testing and setting of leading underscore information.
43963 * config.make.in (build-bounded): Set to no.
43964 * config.h.in: Remove NO_UNDERSCORES entry.
43965 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43967 * csu/start.c: Remove !NO_UNDERSCORE code.
43968 * locale/localeinfo.h: Likewise.
43969 * sysdeps/generic/machine-gmon.h: Likewise.
43970 * sysdeps/generic/sysdep.h: Likewise.
43971 * sysdeps/i386/sysdep.h: Likewise.
43972 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43973 * sysdeps/mach/sysdep.h: Likewise.
43974 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43975 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43976 * sysdeps/sh/sysdep.h: Likewise.
43977 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43978 * sysdeps/unix/i386/sysdep.S: Likewise.
43979 * sysdeps/unix/sparc/start.c: Likewise.
43980 * sysdeps/unix/sparc/sysdep.S: Likewise.
43981 * sysdeps/unix/sparc/sysdep.h: Likewise.
43982 * sysdeps/unix/start.c: Likewise.
43983 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43984 * sysdeps/x86_64/sysdep.h: Likewise.
43986 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43989 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43991 * argp/argp-fmtstream.h: Use const instead __const.
43992 * argp/argp.h: Likewise.
43993 * assert/assert.h: Likewise.
43994 * bits/fenv.h: Likewise.
43995 * bits/sched.h: Likewise.
43996 * bits/sigset.h: Likewise.
43997 * bits/sigthread.h: Likewise.
43998 * catgets/nl_types.h: Likewise.
43999 * conform/data/pthread.h-data: Likewise.
44000 * crypt/crypt-private.h: Likewise.
44001 * crypt/crypt.h: Likewise.
44002 * crypt/crypt_util.c: Likewise.
44003 * ctype/ctype.h: Likewise.
44004 * debug/execinfo.h: Likewise.
44005 * debug/mbsnrtowcs_chk.c: Likewise.
44006 * debug/mbsrtowcs_chk.c: Likewise.
44007 * debug/wcsnrtombs_chk.c: Likewise.
44008 * debug/wcsrtombs_chk.c: Likewise.
44009 * debug/wcstombs_chk.c: Likewise.
44010 * dirent/dirent.h: Likewise.
44011 * dlfcn/dlfcn.h: Likewise.
44012 * elf/neededtest4.c: Likewise.
44013 * grp/grp.h: Likewise.
44014 * gshadow/gshadow.h: Likewise.
44015 * iconv/gconv.h: Likewise.
44016 * iconv/gconv_int.h: Likewise.
44017 * iconv/gconv_simple.c: Likewise.
44018 * iconv/iconv.h: Likewise.
44019 * iconv/loop.c: Likewise.
44020 * iconv/skeleton.c: Likewise.
44021 * include/aio.h: Likewise.
44022 * include/aliases.h: Likewise.
44023 * include/argz.h: Likewise.
44024 * include/arpa/inet.h: Likewise.
44025 * include/assert.h: Likewise.
44026 * include/dirent.h: Likewise.
44027 * include/dlfcn.h: Likewise.
44028 * include/execinfo.h: Likewise.
44029 * include/fcntl.h: Likewise.
44030 * include/fenv.h: Likewise.
44031 * include/glob.h: Likewise.
44032 * include/grp.h: Likewise.
44033 * include/libintl.h: Likewise.
44034 * include/mntent.h: Likewise.
44035 * include/netdb.h: Likewise.
44036 * include/pwd.h: Likewise.
44037 * include/rpc/netdb.h: Likewise.
44038 * include/sched.h: Likewise.
44039 * include/search.h: Likewise.
44040 * include/shadow.h: Likewise.
44041 * include/signal.h: Likewise.
44042 * include/stdio.h: Likewise.
44043 * include/stdlib.h: Likewise.
44044 * include/string.h: Likewise.
44045 * include/sys/socket.h: Likewise.
44046 * include/sys/stat.h: Likewise.
44047 * include/sys/statfs.h: Likewise.
44048 * include/sys/statvfs.h: Likewise.
44049 * include/sys/syslog.h: Likewise.
44050 * include/sys/time.h: Likewise.
44051 * include/sys/uio.h: Likewise.
44052 * include/time.h: Likewise.
44053 * include/unistd.h: Likewise.
44054 * include/utmp.h: Likewise.
44055 * include/wchar.h: Likewise.
44056 * include/wctype.h: Likewise.
44057 * inet/aliases.h: Likewise.
44058 * inet/arpa/inet.h: Likewise.
44059 * inet/netinet/ether.h: Likewise.
44060 * inet/netinet/in.h: Likewise.
44061 * intl/libintl.h: Likewise.
44062 * io/bits/fcntl2.h: Likewise.
44063 * io/fcntl.h: Likewise.
44064 * io/ftw.h: Likewise.
44065 * io/sys/poll.h: Likewise.
44066 * io/sys/stat.h: Likewise.
44067 * io/sys/statfs.h: Likewise.
44068 * io/sys/statvfs.h: Likewise.
44069 * io/utime.h: Likewise.
44070 * libio/bits/stdio.h: Likewise.
44071 * libio/bits/stdio2.h: Likewise.
44072 * libio/libio.h: Likewise.
44073 * libio/libioP.h: Likewise.
44074 * libio/stdio.h: Likewise.
44075 * locale/lc-ctype.c: Likewise.
44076 * locale/locale.h: Likewise.
44077 * login/utmp.h: Likewise.
44078 * malloc/arena.c: Likewise.
44079 * malloc/malloc.c: Likewise.
44080 * malloc/malloc.h: Likewise.
44081 * malloc/mcheck.c: Likewise.
44082 * malloc/mtrace.c: Likewise.
44083 * math/bits/mathcalls.h: Likewise.
44084 * math/fenv.h: Likewise.
44085 * math/math_private.h: Likewise.
44086 * misc/bits/error.h: Likewise.
44087 * misc/bits/syslog.h: Likewise.
44088 * misc/err.h: Likewise.
44089 * misc/error.h: Likewise.
44090 * misc/fstab.h: Likewise.
44091 * misc/mntent.h: Likewise.
44092 * misc/regexp.h: Likewise.
44093 * misc/search.h: Likewise.
44094 * misc/sgtty.h: Likewise.
44095 * misc/sys/mman.h: Likewise.
44096 * misc/sys/syslog.h: Likewise.
44097 * misc/sys/uio.h: Likewise.
44098 * misc/sys/xattr.h: Likewise.
44099 * misc/ttyent.h: Likewise.
44100 * nis/rpcsvc/ypclnt.h: Likewise.
44101 * nss/nss.h: Likewise.
44102 * posix/bits/unistd.h: Likewise.
44103 * posix/fnmatch.h: Likewise.
44104 * posix/glob.h: Likewise.
44105 * posix/sched.h: Likewise.
44106 * posix/spawn.h: Likewise.
44107 * posix/sys/wait.h: Likewise.
44108 * posix/unistd.h: Likewise.
44109 * posix/wordexp.h: Likewise.
44110 * pwd/pwd.h: Likewise.
44111 * resolv/netdb.h: Likewise.
44112 * resource/sys/resource.h: Likewise.
44113 * rt/aio.h: Likewise.
44114 * rt/bits/mqueue2.h: Likewise.
44115 * rt/mqueue.h: Likewise.
44116 * shadow/shadow.h: Likewise.
44117 * signal/signal.h: Likewise.
44118 * socket/send.c: Likewise.
44119 * socket/sendto.c: Likewise.
44120 * socket/sys/socket.h: Likewise.
44121 * stdio-common/printf.h: Likewise.
44122 * stdlib/bits/stdlib.h: Likewise.
44123 * stdlib/fmtmsg.h: Likewise.
44124 * stdlib/monetary.h: Likewise.
44125 * stdlib/stdlib.h: Likewise.
44126 * stdlib/ucontext.h: Likewise.
44127 * streams/stropts.h: Likewise.
44128 * string/argz.h: Likewise.
44129 * string/bits/string2.h: Likewise.
44130 * string/string.h: Likewise.
44131 * string/strings.h: Likewise.
44132 * sunrpc/rpc/auth.h: Likewise.
44133 * sunrpc/rpc/auth_des.h: Likewise.
44134 * sunrpc/rpc/clnt.h: Likewise.
44135 * sunrpc/rpc/netdb.h: Likewise.
44136 * sunrpc/rpc/pmap_clnt.h: Likewise.
44137 * sunrpc/rpc/xdr.h: Likewise.
44138 * sysdeps/generic/inttypes.h: Likewise.
44139 * sysdeps/generic/net/if.h: Likewise.
44140 * sysdeps/generic/sys/swap.h: Likewise.
44141 * sysdeps/gnu/net/if.h: Likewise.
44142 * sysdeps/gnu/utmpx.h: Likewise.
44143 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44144 * sysdeps/i386/i486/bits/string.h: Likewise.
44145 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44146 * sysdeps/s390/bits/string.h: Likewise.
44147 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44148 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44149 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44150 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44151 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44152 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44153 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44154 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44155 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44156 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44157 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44158 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44159 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44160 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44161 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44162 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44163 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44165 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44166 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44167 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44168 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44169 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44170 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44171 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44172 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44173 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44174 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44175 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44176 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44177 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44178 * sysvipc/sys/ipc.h: Likewise.
44179 * sysvipc/sys/msg.h: Likewise.
44180 * sysvipc/sys/sem.h: Likewise.
44181 * sysvipc/sys/shm.h: Likewise.
44182 * termios/termios.h: Likewise.
44183 * time/sys/time.h: Likewise.
44184 * time/time.h: Likewise.
44185 * wcsmbs/bits/wchar2.h: Likewise.
44186 * wcsmbs/uchar.h: Likewise.
44187 * wcsmbs/wchar.h: Likewise.
44188 * wctype/wctype.h: Likewise.
44191 * Makeconfig: Remove all but ELF support including AIX support.
44192 * Makerules: Likewise.
44193 * config.h.in: Likewise.
44194 * config.make.in: Likewise.
44195 * configure: Likewise.
44196 * configure.in: Likewise.
44197 * csu/Makefile: Likewise.
44198 * csu/version.c: Likewise.
44199 * debug/Makefile: Likewise.
44200 * dlfcn/Makefile: Likewise.
44201 * elf/Makefile: Likewise.
44202 * extra-lib.mk: Likewise.
44203 * iconv/Makefile: Likewise.
44204 * include/libc-symbols.h: Likewise.
44205 * include/shlib-compat.h: Likewise.
44206 * resolv/Makefile: Likewise.
44207 * resolv/res_libc.c: Likewise.
44208 * rt/Makefile: Likewise.
44209 * sysdeps/i386/asm-syntax.h: Likewise.
44210 * sysdeps/i386/sysdep.h: Likewise.
44211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44212 * sysdeps/mach/sysdep.h: Likewise.
44213 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44214 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44215 * sysdeps/s390/asm-syntax.h: Likewise.
44216 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44217 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44218 * sysdeps/sh/sysdep.h: Likewise.
44219 * sysdeps/unix/sparc/sysdep.h: Likewise.
44220 * sysdeps/wordsize-32/divdi3.c: Likewise.
44221 * sysdeps/x86_64/sysdep.h: Likewise.
44223 * argp/Versions: Remove _argp_unlock_xxx.
44226 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44227 * abilist/libBrokenLocale.abilist: Likewise.
44228 * abilist/libanl.abilist: Likewise.
44229 * abilist/libc.abilist: Likewise.
44230 * abilist/libcrypt.abilist: Likewise.
44231 * abilist/libdl.abilist: Likewise.
44232 * abilist/libm.abilist: Likewise.
44233 * abilist/libnsl.abilist: Likewise.
44234 * abilist/libpthread.abilist: Likewise.
44235 * abilist/libresolv.abilist: Likewise.
44236 * abilist/librt.abilist: Likewise.
44237 * abilist/libthread_db.abilist: Likewise.
44238 * abilist/libutil.abilist: Likewise.
44239 * abilist/libnss_db.abilist: New file.
44241 * scripts/abilist.awk: Add support for indirect functions.
44243 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44245 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44247 * shlib-versions: Remove entries for ports architectures.
44249 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44251 * elf/stackguard-macros.h: Remove support for IA-64.
44252 * elf/tst-auditmod1.c: Likewise.
44253 * sysdeps/generic/ldsodefs.h: Likewise.
44255 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44256 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44260 * configure.in: Remove --enable-omitfp support.
44262 * config.make.in: Likewise.
44263 * Makeconfig: Likewise.
44264 * manual/install.texi: Likewise.
44266 In case anyone cares, the IA-64 architecture could move to ports.
44267 * sysdeps/ia64/*: Removed.
44268 * sysdeps/unix/sysv/linux/ia64/*: Removed.
44269 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44272 * configure.in: Remove entries for unsupported architectures.
44275 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44276 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44278 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44279 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44280 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44281 fall back to using wcrtomb.
44282 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44283 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44285 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44286 * wcsmbs/tst-c16c32-1.c: New file.
44288 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44291 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44293 * elf/tst-unique3.cc: Add explicit declaration of gets.
44294 * elf/tst-unique3lib.cc: Likewise.
44295 * elf/tst-unique3lib2.cc: Likewise.
44296 * elf/tst-unique4.cc: Likewise.
44298 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44300 2012-01-06 Joseph Myers <joseph@codesourcery.com>
44303 * assert/assert.h (static_assert): Don't define for C++.
44304 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44305 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44307 2012-01-03 Ulrich Drepper <drepper@gmail.com>
44309 * iconv/loop.c (single loop): Fix assertion in storing of
44312 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44314 2012-01-01 Ulrich Drepper <drepper@gmail.com>
44316 * posix/getconf.c: Update copyright year.
44317 * nss/getent.c: Likewise.
44318 * nss/makedb.c: Likewise.
44319 * iconv/iconvconfig.c: Likewise.
44320 * iconv/iconv_prog.c: Likewise.
44321 * elf/ldconfig.c: Likewise.
44322 * elf/pldd.c: Likewise.
44323 * elf/sotruss.ksh: Likewise.
44324 * catgets/gencat.c: Likewise.
44325 * csu/version.c: Likewise.
44326 * elf/ldd.bash.in: Likewise.
44327 * elf/sprof.c (print_version): Likewise.
44328 * locale/programs/locale.c: Likewise.
44329 * locale/programs/localedef.c: Likewise.
44330 * login/programs/pt_chown.c: Likewise.
44331 * nscd/nscd.c (print_version): Likewise.
44332 * debug/xtrace.sh: Likewise.
44333 * malloc/memusage.sh: Likewise.
44334 * malloc/mtrace.pl: Likewise.
44335 * debug/catchsegv.sh: Likewise.
44337 2011-12-30 Jakub Jelinek <jakub@redhat.com>
44339 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44342 2011-12-24 Ulrich Drepper <drepper@gmail.com>
44345 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44346 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44348 * iconv/gconv_int.h: Likewise.
44349 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44350 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44351 from libc for GLIBC_2.16.
44352 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44353 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44354 * wcsmbs/uchar.h: Really define mbstate_t.
44355 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44356 * wcsmbs/c16rtomb.c: New file.
44357 * wcsmbs/mbrtoc16.c: New file.
44358 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44359 for C/POSIX locale.
44360 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44361 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44363 * wcsmbs/wchar.h: Add missing __restrict.
44365 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44368 * time/Makefile (routines): Add timespec_get.
44369 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44370 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44371 timespec for ISO C11.
44372 * time/timespec_get.c: New file.
44373 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44374 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44377 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44378 * stdlib/stdlib.h: Declare aligned_alloc.
44379 * Versions.def: Add GLIBC_2.16 for libc.
44380 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44383 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44386 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44390 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44393 * assert/assert.h (static_assert): Define.
44395 * version.h: Update for 2.16 development version.
44398 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44401 * version.h (RELEASE): Bump for 2.15 release.
44402 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44404 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44405 Patch by Marek Polacek <mpolacek@redhat.com>.
44407 * bits/byteswap.h: Protect long long constants with __extension__.
44408 * sysdeps/i386/bits/byteswap.h: Likewise.
44409 * sysdeps/ia64/bits/byteswap.h: Likewise.
44410 * sysdeps/s390/bits/byteswap.h: Likewise.
44411 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44413 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44416 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44417 destination buffer.
44418 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44420 2011-12-23 Marek Polacek <polacek@redhat.com>
44422 * elf/dl-addr.c (determine_info): Add inline keyword.
44423 * elf/tst-auditmod4b.c (check_avx): Likewise.
44424 * elf/tst-auditmod6b.c (check_avx): Likewise.
44425 * elf/tst-auditmod6c.c (check_avx): Likewise.
44426 * elf/tst-auditmod7b.c (check_avx): Likewise.
44428 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44430 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44433 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44436 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44437 processing for last bytes.
44439 2011-08-06 Bruno Haible <bruno@clisp.org>
44442 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44443 U+0385, not to U+1FEE.
44446 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44447 entry for U+00A5 U+0301.
44449 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44452 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44453 buffer for the output is too small.
44455 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44459 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44460 SSE flags if possible.
44462 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44466 processing for last bytes.
44468 2011-12-22 Joseph Myers <joseph@codesourcery.com>
44470 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44471 (syscall-list-default-options, syscall-list-default-condition)
44472 (syscall-list-includes): Define.
44473 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44474 list of ABIs and options and #if conditions for each ABI. Do not
44475 handle common syscalls between ABIs specially.
44476 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44478 (syscall-list-variants, syscall-list-32bit-options)
44479 (syscall-list-32bit-condition, syscall-list-64bit-options)
44480 (syscall-list-64bit-condition): Define.
44481 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44482 (syscall-list-variants, syscall-list-32bit-options)
44483 (syscall-list-32bit-condition, syscall-list-64bit-options)
44484 (syscall-list-64bit-condition): Define.
44485 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44487 (syscall-list-variants, syscall-list-32bit-options)
44488 (syscall-list-32bit-condition, syscall-list-64bit-options)
44489 (syscall-list-64bit-condition): Define.
44490 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44492 (syscall-list-variants, syscall-list-32bit-options)
44493 (syscall-list-32bit-condition, syscall-list-64bit-options)
44494 (syscall-list-64bit-condition): Define.
44496 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44498 * locale/iso-639.def: Add brx entry.
44501 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44502 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44504 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44505 __feraiseexcept_renamed.
44507 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44510 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44511 EPOLLET with unsigned values.
44512 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44515 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44516 to large cancellation.
44517 * math/s_cacoshf.c: Likewise.
44518 * math/s_cacoshl.c: Likewise.
44520 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44524 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44525 * math/s_cacoshf.c: Likewise.
44526 * math/s_cacoshl.c: Likewise.
44528 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44531 * iconv/gconv.h: Define __GCONV_SWAP.
44532 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44533 * iconvdata/utf-16.c: Likewise.
44534 * iconvdata/utf-32.c: Likewise.
44536 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44539 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44540 numerator after shifting it by one limb.
44542 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44544 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44545 under [__USE_EXTERN_INLINES].
44547 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44550 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44552 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44554 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44555 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44557 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44558 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44559 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44560 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44561 for strncasecmp/strncasecmp_l compilation.
44562 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44563 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44565 2011-12-08 Marek Polacek <mpolacek@redhat.com>
44568 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44571 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44574 * time/tzfile.c (__tzfile_read): Check values from file header.
44576 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44578 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44579 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44580 * powerpc/powerpc32/dl-start.S: Likewise.
44581 * powerpc/powerpc32/elf/start.S: Likewise.
44582 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44583 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44584 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44585 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44586 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44587 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44588 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44589 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44590 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44591 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44592 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44593 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44594 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44595 * powerpc/powerpc32/memset.S: Likewise.
44596 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44597 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44598 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44599 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44600 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44601 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44602 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44603 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44604 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44605 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44606 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44607 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44608 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44610 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44612 * math/libm-test.inc: Added more nearbyint tests.
44613 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44615 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44616 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44618 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44620 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44623 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44625 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44626 Add wcscpy-ssse3 wcscpy-c.
44627 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44628 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44629 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44630 * sysdeps/x86_64/wcschr.S: New file.
44631 * sysdeps/x86_64/wcsrchr.S: New file.
44632 * string/test-strcmp.c: Remove checking of wcscmp function for
44634 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44635 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44636 wcsrchr-sse2 wcsrchr-c.
44637 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44638 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44639 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44640 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44641 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44642 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44643 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44644 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44645 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44646 * wcsmbc/wcschr.c (WCSCHR): New macro.
44648 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44650 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44651 * wcsmbs/test-wcsrchr.c: New file.
44652 * string/test-strrchr.c: Add wcsrchr support.
44654 * wcsmbs/test-wcscpy.c: New file.
44655 * string/test-strcpy.c: Add wcscpy support.
44658 2011-12-10 Ulrich Drepper <drepper@gmail.com>
44660 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44663 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44666 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44668 2011-12-04 Ulrich Drepper <drepper@gmail.com>
44670 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44671 Minor optimizations.
44673 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44674 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44675 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44677 2011-12-03 Ulrich Drepper <drepper@gmail.com>
44679 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44680 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44681 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44682 for gcc to avoid warnings.
44683 * inet/Makefile (tests): Add tst-checks.
44684 * inet/tst-checks.c: New file.
44686 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44689 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44692 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44693 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44695 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44697 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44699 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44702 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44704 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44706 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44707 conditional on GCC version.
44708 (__arch_compare_and_exchange_val_8_acq)
44709 (__arch_compare_and_exchange_val_16_acq)
44710 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44711 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44712 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44714 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44716 * sysdeps/sh/backtrace.c: New file.
44718 2011-12-02 Andreas Schwab <schwab@redhat.com>
44720 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44723 2011-12-01 Andreas Schwab <schwab@redhat.com>
44725 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44726 falling back to utime.
44728 2011-11-30 Andreas Schwab <schwab@redhat.com>
44730 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44731 expectations for float.
44733 2011-11-29 Andreas Schwab <schwab@redhat.com>
44735 * locale/weight.h (findidx): Add parameter len.
44736 * locale/weightwc.h (findidx): Likewise.
44737 * posix/fnmatch_loop.c (FCT): Adjust caller.
44738 * posix/regcomp.c (build_equiv_class): Likewise.
44739 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44740 * posix/regexec.c (check_node_accept_bytes): Likewise.
44741 * string/strcoll_l.c (STRCOLL): Likewise.
44742 * string/strxfrm_l.c (STRXFRM): Likewise.
44744 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44746 * Makefile.in: Remove CVSOPT handling.
44747 * configure.in: Remove use of AC_REVISION.
44748 * iconvdata/Makefile (distribute): No need to filter out CVS.
44749 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44752 2011-11-16 Andreas Schwab <schwab@redhat.com>
44754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44755 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44756 [USE_AS_STRNCASECMP_L]: Likewise.
44757 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44758 NO_TLS_DIRECT_SEG_REFS.
44759 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44760 Fix argument offsets for non-PIC.
44761 [USE_AS_STRNCASECMP_L]: Likewise.
44762 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44763 NO_TLS_DIRECT_SEG_REFS.
44765 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44767 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44769 * locale/loadlocale.c (_nl_load_locale): Likewise.
44771 2011-11-15 Andreas Schwab <schwab@redhat.com>
44773 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44774 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44775 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44776 (SYSCALL_GETTIME): Set errno on error.
44778 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44779 count references to noai6ai_cached.
44781 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44783 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44785 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44786 FD_CLOEXEC for /proc/self/maps.
44788 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44789 FD_CLOEXEC for /proc/meminfo.
44791 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44794 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44795 FD_CLOEXEC for given file.
44797 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44799 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44800 FD_CLOEXEC for /etc/hosts.
44801 (_gethtent): Likewise.
44803 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44805 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44806 cancellation and set FD_CLOEXEC for /etc/netgroup.
44808 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44809 reading /etc/publickey.
44811 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44812 allow cancellation when reading /etc/group.
44814 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44816 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44818 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44819 when using data file.
44821 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44823 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44824 (write_nis_obj): Use "c" and "e" in fopen.
44826 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44828 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44830 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44832 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44834 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44837 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44839 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44841 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44843 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44844 file parsing and set FD_CLOEXEC.
44846 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44848 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44850 2011-11-14 Andreas Schwab <schwab@redhat.com>
44852 * malloc/arena.c (arena_get2): Don't call reused_arena when
44853 _int_new_arena failed.
44855 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44857 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44858 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44859 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44860 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44861 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44862 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44863 to compile strcasecmp and strncasecmp.
44864 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44865 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44869 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44871 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44872 locale-defines.sym to gen-as-const-headers.
44873 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44874 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44876 to compile strcasecmp and strncasecmp.
44877 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44878 strcasecmp_l and strncasecmp_l.
44879 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44880 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44881 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44882 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44883 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44884 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44885 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44886 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44887 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44888 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44889 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44891 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44893 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44894 result of SYSDEP_GETTIME_CPU to retval.
44895 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44896 parameter list to macro. Remove trailing semicolon. Adjust users.
44898 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44901 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44903 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44905 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44906 from unused variable.
44908 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44910 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44913 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44916 * sunrpc/rpc_prot.c (rejected): Fix case value.
44918 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44919 unsigned long long int to avoid warnings in shift.
44921 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44923 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44926 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44927 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44928 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44930 * nis/nis_table.c (nis_list): Use variable of correct type for
44931 result of __follow_path call.
44933 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44935 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44936 of math functions ceil, trunc, floor, round, and sqrt, when
44937 avaliable on the platform.
44938 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44940 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44941 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44942 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44944 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44946 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44947 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44949 2011-11-11 Roland McGrath <roland@hack.frob.com>
44951 * include/unistd.h: Fix __readlink return type.
44952 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44954 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44956 * stdlib/ucontext.h: Undo last change for makecontext.
44958 2011-11-11 Andreas Schwab <schwab@redhat.com>
44960 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44962 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44963 * setjmp/setjmp.h: Mark functions as non-leaf.
44964 * setjmp/bits/setjmp2.h: Likewise.
44965 * stdlib/ucontext.h: Likewise.
44967 2011-11-10 Andreas Schwab <schwab@redhat.com>
44969 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44970 (reused_arena): Don't check arena limit.
44971 (arena_get2): Atomically check arena limit.
44973 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44975 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44976 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44981 2011-11-07 Andreas Schwab <schwab@redhat.com>
44983 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44984 handler when locking.
44986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44987 Fix size of allocated buffer.
44989 2011-11-04 Andreas Schwab <schwab@redhat.com>
44992 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44993 declarations for long double functions.
44994 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44996 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44998 2011-11-03 Andreas Schwab <schwab@redhat.com>
45000 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45003 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45006 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45008 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45010 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45012 * include/alloca.h (stackinfo_alloca_round): Define.
45013 (extend_alloca): Use it.
45014 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45015 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45018 * scripts/check-local-headers.sh: Ignore libaudit.h.
45020 * nscd/Makefile (extra-objs): Make recursively expanded.
45022 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45024 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45027 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45028 * posix/tst-rfc3484-2.c: Likewise.
45029 * posix/tst-rfc3484-3.c: Likewise.
45031 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45033 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45035 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45036 process_vm_writev from libc using GLIBC_2.15 version.
45038 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45040 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45042 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45045 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45048 * nss/getent.c (initgroups_keys): Show error message in case no group
45051 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45052 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45053 __bump_nl_timestamp.
45054 * nscd/connections (nscd_init): When host database is served open
45055 netlink socket and request notification about configuration changes.
45056 (main_loop_poll): Track netlink file descriptor and bump timestamp
45057 in case data becomes available.
45058 (main_loop_epoll): Likewise.
45059 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45060 (database_pers_head): Add extra_data fileds.
45061 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45062 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45063 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45066 in6ai data, call __free_in6ai.
45067 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45068 Add -DHAVE_NETLINK.
45069 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45070 interface information. Reuse previous data if netlink timestamp
45072 (__bump_nl_timestamp): New function.
45073 (__free_in6ai): New function.
45075 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45077 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45078 close_not_cancel_no_status here.
45079 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45081 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45084 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45087 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45088 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45089 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45091 2011-07-03 Andreas Jaeger <aj@suse.de>
45094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45095 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45096 * math/libm-test.inc (sin_test): Add test case.
45098 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45101 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45102 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45104 * elf/chroot_canon.c (chroot_canon): Cleanups.
45106 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45109 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45110 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45112 * string/test-strchr.c: Make usable for strchrnul testing.
45113 * string/test-strchrnul.c: New file.
45114 * string/Makefile (strop-tests): Add strchrnul.
45116 * po/it.po: Update from translation team.
45117 * po/es.po: Likewise.
45119 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45121 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45122 the three constants needed as parameters. Drop the others.
45123 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45124 __m128i_strloadu_tolower.
45125 Create and initialize variable zero and use it in all the places
45126 where _mm_setzero_si128 was used.
45128 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45129 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45130 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45131 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45133 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45134 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45135 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45136 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45137 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45138 __mpranred, __mptan.
45139 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45140 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45141 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45142 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45143 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45144 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45145 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45146 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45147 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45149 2011-10-28 Andreas Schwab <schwab@redhat.com>
45151 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45152 redefine if SHARED.
45153 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45156 wide char related routines to wcsmbs subdir.
45158 2011-10-27 Andreas Schwab <schwab@redhat.com>
45161 * misc/sys/cdefs.h (__THROWNL): Define.
45162 * posix/unistd.h: Use __THREADNL instead of __THREAD
45163 for memory synchronization functions.
45165 2011-10-26 Roland McGrath <roland@hack.frob.com>
45168 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45170 * manual/stdio.texi (Obstack Streams): Node removed.
45172 2011-10-26 Andreas Schwab <schwab@redhat.com>
45174 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45175 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45176 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45178 * math/math_private.h (math_force_eval): Allow non-addressable
45180 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45182 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45184 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45185 file is not needed.
45187 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45188 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45189 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45190 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45191 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45192 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45193 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45194 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45196 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45197 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45198 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45199 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45200 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45201 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45202 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45203 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45204 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45205 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45206 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45207 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45209 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45210 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45211 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45212 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45213 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45214 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45216 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45217 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45219 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45220 place. Use VEX encoding when compiling for AVX.
45222 2011-10-25 Andreas Schwab <schwab@redhat.com>
45224 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45225 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45227 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45229 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45231 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45232 useless if() expression.
45233 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45234 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45235 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45236 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45237 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45239 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45240 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45241 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45242 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45243 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45244 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45245 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45246 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45247 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45248 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45249 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45251 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45253 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45255 2011-10-25 Andreas Schwab <schwab@redhat.com>
45257 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45259 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45261 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45263 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45264 .text section. Avoid duplicate constants.
45265 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45267 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45269 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45273 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45274 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45275 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45276 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45277 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45278 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45279 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45280 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45281 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45282 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45283 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45285 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45286 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45287 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45288 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45289 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45290 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45291 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45292 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45293 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45294 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45295 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45296 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45297 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45298 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45299 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45300 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45301 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45302 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45303 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45304 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45305 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45306 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45307 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45308 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45309 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45311 2011-10-24 Ulrich Drepper <drepper@gmail.com>
45313 * sysdeps/x86_64/dla.h: Move to ...
45314 * sysdeps/x86_64/fpu/dla.h: ...here.
45315 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45316 situations. Use __builtin_fma only for gcc 4.6 and up.
45318 * config.make.in: Add have-mfma4 entry.
45319 * configure.in: Substitute libc_cv_cc_fma4.
45320 * math/Makefile (dbl-only-routines): Add sincostab.
45321 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45322 Use __sincostab not sincos.
45323 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45325 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45326 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45327 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45330 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45331 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45332 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45333 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45336 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45338 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45339 define aliases when function name is a macro.
45340 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45341 sysdeps/ieee754/dbl-64/sincos.tbl.
45342 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45343 fma4-enabled routines.
45344 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45345 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45346 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45347 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45348 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45349 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45350 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45351 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45352 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45353 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45354 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45355 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45356 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45357 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45358 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45359 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45360 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45361 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45362 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45363 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45364 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45365 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45366 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45367 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45368 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45370 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45371 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45372 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45373 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45375 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45386 2011-10-24 Andreas Schwab <schwab@redhat.com>
45388 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45390 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45392 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45394 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45396 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45398 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45399 Remove unused variable magic_bits.
45400 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45402 * string/strnlen.c: Define and use STRNLEN macro.
45403 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45404 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45405 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45406 * wcsmbs/wcslen.c: Define and use WCSLEN.
45407 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45408 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45409 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45410 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45411 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45412 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45413 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45415 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45418 strnlen-sse2-no-bsf.
45419 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45421 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45422 Add strnlen support.
45423 (USE_AS_STRNLEN): New macro.
45424 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45425 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45426 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45427 * sysdeps/x86_64/wcslen.S: New file.
45429 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45432 XMM-moves are used for copying on small sizes.
45434 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45436 * wcsmbs/Makefile (strop-tests): Add wcschr.
45437 * wcsmbs/test-wcschr.c: New file.
45438 * string/test-strchr.c: Update.
45439 Add wcschr support.
45442 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45444 * wcsmbs/Makefile (strop-tests): Add wcslen.
45445 * wcsmbs/test-wcslen.c: New file.
45446 * string/test-strlen.c: Update.
45447 Add wcslen support.
45450 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45452 * po/it.po: Update from translation team.
45454 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45456 * sysdeps/x86_64/wcscmp.S: Update.
45457 Fix wrong comparison semantics.
45458 wcscmp shall use signed comparison not unsigned.
45459 Don't use substraction to avoid overflow bug.
45460 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45461 * wcsmbc/wcscmp.c: Likewise.
45462 * string/test-strcmp.c: Likewise.
45463 Add new tests to check cases with negative values.
45465 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45467 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45468 * sysdeps/x86_64/dla.h: ...here. New file.
45469 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45476 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45479 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45481 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45482 __ynl_finite aliases.
45484 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45488 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45490 [DLA_FMA] (EMULV): Use DLA_FMA.
45491 [DLA_FMA] (MUL12): Use EMULV.
45492 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45493 that are not needed.
45494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45502 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45504 * math/s_nan.c: Undef __nan.
45505 * math/s_nanf.c: Undef __nanf.
45506 * math/s_nanl.c: Undef __nanl.
45507 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45510 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45512 * math/s_catan.c: Add branch predictions.
45513 * math/s_catanf.c: Likewise.
45514 * math/s_catanh.c: Likewise.
45515 * math/s_catanhf.c: Likewise.
45516 * math/s_catanhl.c: Likewise.
45517 * math/s_catanl.c: Likewise.
45518 * math/s_cexp.c: Likewise.
45519 * math/s_cexpf.c: Likewise.
45520 * math/s_cexpl.c: Likewise.
45521 * math/s_clog.c: Likewise.
45522 * math/s_clog10.c: Likewise.
45523 * math/s_clog10f.c: Likewise.
45524 * math/s_clog10l.c: Likewise.
45525 * math/s_clogf.c: Likewise.
45526 * math/s_clogl.c: Likewise.
45527 * math/s_csqrt.c: Likewise.
45528 * math/s_csqrtf.c: Likewise.
45529 * math/s_csqrtl.c: Likewise.
45530 * math/s_ctanf.c: Likewise.
45531 * math/s_ctanh.c: Likewise.
45532 * math/s_ctanhf.c: Likewise.
45533 * math/s_ctanhl.c: Likewise.
45534 * math/s_ctanl.c: Likewise.
45536 * math/math_private.h: Define __nan, __nanf, __nanl.
45537 * math/s_cacosh.c: Include <math_private.h>.
45538 * math/s_cacoshl.c: Likewise.
45539 * math/s_casinh.c: Likewise.
45540 * math/s_casinhf.c: Likewise.
45541 * math/s_casinhl.c: Likewise.
45542 * math/s_ccos.c: Rely entire on ccosh.
45543 * math/s_ccosf.c: Rely entire on ccoshf.
45544 * math/s_ccosl.c: Rely entirely on ccoshl.
45545 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45546 Remove tests for FE_INVALID.
45547 * math/s_ccoshf.c: Likewise.
45548 * math/s_ccoshl.c: Likewise.
45549 * math/s_csin.c: Likewise.
45550 * math/s_csinf.c: Likewise.
45551 * math/s_csinh.c Likewise.
45552 * math/s_csinhf.c: Likewise.
45553 * math/s_csinhl.c: Likewise.
45554 * math/s_csinl.c: Likewise.
45555 * math/s_ctan.c: Likewise.
45556 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45557 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45558 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45560 2011-10-21 Ulrich Drepper <drepper@gmail.com>
45562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45563 compilation problems.
45565 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45568 2011-10-20 Ulrich Drepper <drepper@gmail.com>
45570 * sysdeps/i386/configure.in: Test for -mfma4 option.
45571 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45572 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45573 COMMON_CPUID_INDEX_80000001.
45574 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45575 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45576 use it if FMA3 is not supported.
45577 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45579 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45580 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45582 2011-10-20 Andreas Schwab <schwab@redhat.com>
45585 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45586 it would create a cycle with a link time dependency.
45588 2011-10-19 Ulrich Drepper <drepper@gmail.com>
45590 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45592 * string/Makefile (strop-tests): Add rawmemchr.
45593 * string/test-rawmemchr.c: New file.
45595 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45596 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45597 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45598 when compiling str{,n}casecmp and when AVX is available. Hook up
45599 new optimized code in initializers.
45601 2011-10-19 Andreas Schwab <schwab@redhat.com>
45603 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45604 __feraiseexcept instead of feraiseexcept.
45606 2011-10-18 Ulrich Drepper <drepper@gmail.com>
45608 * math/math_private.h: Define defaults for libc_fetestexcept and
45610 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45611 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45612 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45613 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45614 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45615 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45616 libc_fetestexcept and libc_feupdateenv.
45618 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45619 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45620 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45621 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45622 libc_feholdexcept_setround.
45624 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45625 Add s_nearbyint-c and s_nearbyintf-c.
45626 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45627 nearbyintf inlines.
45628 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45629 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45630 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45631 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45633 * math/math_private.h: Define defaults for libc_fegetround,
45634 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45635 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45636 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45637 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45638 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45639 standard functions.
45640 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45641 Remove comments and hacks for old compiler versions.
45642 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45643 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45644 libc_feholdexceptl.
45646 2011-10-18 Andreas Schwab <schwab@redhat.com>
45648 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45649 (__feraiseexcept_renamed): Add __NTH.
45650 (feraiseexcept): Add __NTH. Rename local variables to fix
45651 namespace violations.
45653 2011-10-17 Ulrich Drepper <drepper@gmail.com>
45655 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45657 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45659 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45660 recently added interfaces.
45661 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45663 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45664 about macro parameter expansion.
45666 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45667 __NO_MATH_INLINES is defined. Cleanups.
45669 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45670 and __floorf is target has SSE4.1.
45671 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45672 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45673 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45674 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45676 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45678 (floorf): Likewise.
45680 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45682 2011-10-17 Andreas Schwab <schwab@redhat.com>
45684 * misc/sys/cdefs.h: Fix last change.
45686 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45689 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45691 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45693 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45694 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45695 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45696 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45698 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45699 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45700 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45701 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45702 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45703 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45704 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45705 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45706 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45707 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45708 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45709 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45710 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45711 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45712 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45713 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45714 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45716 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45717 ceil, ceilf, floor, floorf.
45719 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45720 Perform IRELATIVE relocations last.
45722 * elf/do-rel.h: Add another parameter nrelative, replacing the
45723 local variable with the same name. Change name of the function
45724 to end in Rel or Rela (uppercase).
45725 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45726 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45727 elf_dynamic_do_##reloc function.
45729 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45731 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45732 is sufficient, at least on modern CPUs.
45734 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45736 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45737 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45739 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45741 * math/bits/math-finite.h: Add entries for exp.
45742 * math/e_expl.c: Add __*_finite alias.
45743 * sysdeps/i386/fpu/e_exp.S: Likewise.
45744 * sysdeps/i386/fpu/e_expf.S: Likewise.
45745 * sysdeps/i386/fpu/e_expl.c: Likewise.
45746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45747 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45748 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45750 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45751 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45752 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45754 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45755 is sufficient, at least on modern CPUs.
45757 * ctype/ctype-info.c (__ctype_init): Define.
45758 * include/ctype.h (__ctype_init): Declare.
45759 (__ctype_b_loc): The variable is always initialized.
45760 (__ctype_toupper_loc): Likewise.
45761 (__ctype_tolower_loc): Likewise.
45762 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45763 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45765 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45767 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45769 * configure.in: Also look in $cxxmachine/include for C++ system
45772 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45774 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45775 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45776 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45777 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45778 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45779 (USE_AS_WMEMCMP): New macro.
45781 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45782 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45783 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45784 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45786 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45787 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45788 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45789 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45790 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45791 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45792 (USE_AS_WMEMCMP): New macro.
45793 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45794 * sysdeps/string/test-memcmp.c: Update.
45795 Fix simple_wmemcmp.
45797 * wcsmbs/wmemcmp.c: Update.
45798 (WMEMCMP): New macro.
45801 2011-10-12 Andreas Jaeger <aj@suse.de>
45804 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45806 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45808 * libio/iofwide.c (do_length): Avoid warning.
45810 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45812 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45814 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45816 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45817 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45818 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45819 * sysdeps/i386/i686/fpu/e_log.S: New file.
45820 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45821 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45823 * ctype/ctype.h: Add support for inlined isXXX functions when
45824 compiling C++ code.
45826 2011-10-14 Andreas Schwab <schwab@redhat.com>
45828 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45830 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45832 2011-10-13 Roland McGrath <roland@hack.frob.com>
45835 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45837 2011-10-13 Andreas Schwab <schwab@redhat.com>
45839 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45840 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45843 * sysdeps/x86_64/memrchr.S: Check for zero size.
45845 * string/stratcliff.c: Add memrchr tests.
45847 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45850 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45851 rawmemchr-sse2 rawmemchr-sse2-bsf.
45852 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45853 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45854 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45855 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45856 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45857 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45858 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45859 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45860 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45861 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45862 * string/memrchr.c (MEMRCHR): New macro.
45864 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45866 Add integration with gcc's -ffinite-math-only and optimize wrapper
45868 * Versions.def: Define GLIBC_2.15 version for libm.
45869 * math/Makefile (headers): Add bits/math-finite.h.
45870 * math/bits/math-finite.h: New file.
45871 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45872 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45873 * math/e_acoshl.c: Add __*_finite alias.
45874 * math/e_acosl.c: Likewise.
45875 * math/e_asinl.c: Likewise.
45876 * math/e_atan2l.c: Likewise.
45877 * math/e_atanhl.c: Likewise.
45878 * math/e_coshl.c: Likewise.
45879 * math/e_exp10.c: Likewise.
45880 * math/e_exp10f.c: Likewise.
45881 * math/e_exp10l.c: Likewise.
45882 * math/e_exp2l.c: Likewise.
45883 * math/e_fmodl.c: Likewise.
45884 * math/e_gammal_r.c: Likewise.
45885 * math/e_hypotl.c: Likewise.
45886 * math/e_j0l.c: Likewise.
45887 * math/e_j1l.c: Likewise.
45888 * math/e_jnl.c: Likewise.
45889 * math/e_lgammal_r.c: Likewise.
45890 * math/e_log10l.c: Likewise.
45891 * math/e_log2l.c: Likewise.
45892 * math/e_logl.c: Likewise.
45893 * math/e_powl.c: Likewise.
45894 * math/e_sinhl.c: Likewise.
45895 * math/e_sqrtl.c: Likewise.
45896 * math/e_scalb.c: Completely rewritten and optimized.
45897 * math/e_scalbf.c: Likewise.
45898 * math/e_scalbl.c: Likewise.
45899 * math/w_acos.c: Likewise.
45900 * math/w_acosf.c: Likewise.
45901 * math/w_acosl.c: Likewise.
45902 * math/w_acosh.c: Likewise.
45903 * math/w_acoshf.c: Likewise.
45904 * math/w_acoshl.c: Likewise.
45905 * math/w_asin.c: Likewise.
45906 * math/w_asinf.c: Likewise.
45907 * math/w_asinl.c: Likewise.
45908 * math/w_atan2.c: Likewise.
45909 * math/w_atan2f.c: Likewise.
45910 * math/w_atan2l.c: Likewise.
45911 * math/w_atanh.c: Likewise.
45912 * math/w_atanhf.c: Likewise.
45913 * math/w_atanhl.c: Likewise.
45914 * math/w_exp10.c: Likewise.
45915 * math/w_exp10f.c: Likewise.
45916 * math/w_exp10l.c: Likewise.
45917 * math/w_fmod.c: Likewise.
45918 * math/w_fmodf.c: Likewise.
45919 * math/w_fmodl.c: Likewise.
45920 * math/w_j0.c: Likewise.
45921 * math/w_j0f.c: Likewise.
45922 * math/w_j0l.c: Likewise.
45923 * math/w_j1.c: Likewise.
45924 * math/w_j1f.c: Likewise.
45925 * math/w_j1l.c: Likewise.
45926 * math/w_jn.c: Likewise.
45927 * math/w_jnf.c: Likewise.
45928 * math/w_log.c: Likewise.
45929 * math/w_logf.c: Likewise.
45930 * math/w_logl.c: Likewise.
45931 * math/w_log10.c: Likewise.
45932 * math/w_log10f.c: Likewise.
45933 * math/w_log10l.c: Likewise.
45934 * math/w_log2.c: Likewise.
45935 * math/w_log2f.c: Likewise.
45936 * math/w_log2l.c: Likewise.
45937 * math/w_pow.c: Likewise.
45938 * math/w_powf.c: Likewise.
45939 * math/w_powl.c: Likewise.
45940 * math/w_remainder.c: Likewise.
45941 * math/w_remainderf.c: Likewise.
45942 * math/w_remainderl.c: Likewise.
45943 * math/w_scalb.c: Likewise.
45944 * math/w_scalbf.c: Likewise.
45945 * math/w_scalbl.c: Likewise.
45946 * math/w_sqrt.c: Likewise.
45947 * math/w_sqrtf.c: Likewise.
45948 * math/w_sqrtl.c: Likewise.
45949 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45950 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45952 * math/math_private.h: Declare __kernel_standard_f.
45953 * math/w_cosh.c: Remove cruft and optimize a bit.
45954 * math/w_coshf.c: Likewise.
45955 * math/w_coshl.c: Likewise.
45956 * math/w_exp2.c: Likewise.
45957 * math/w_exp2f.c: Likewise.
45958 * math/w_exp2l.c: Likewise.
45959 * math/w_hypot.c: Likewise.
45960 * math/w_hypotf.c: Likewise.
45961 * math/w_hypotl.c: Likewise.
45962 * math/w_lgamma.c: Likewise.
45963 * math/w_lgamma_r.c: Likewise.
45964 * math/w_lgammaf.c: Likewise.
45965 * math/w_lgammaf_r.c: Likewise.
45966 * math/w_lgammal.c: Likewise.
45967 * math/w_lgammal_r.c: Likewise.
45968 * math/w_sinh.c: Likewise.
45969 * math/w_sinhf.c: Likewise.
45970 * math/w_sinhl.c: Likewise.
45971 * math/w_tgamma.c: Likewise.
45972 * math/w_tgammaf.c: Likewise.
45973 * math/w_tgammal.c: Likewise.
45974 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45975 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45976 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45977 Minor optimizations. Pretty printing. Remove cruft.
45978 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45979 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45980 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45981 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45982 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45983 * sysdeps/i386/fpu/e_asin.S: Likewise.
45984 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45985 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45986 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45987 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45988 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45989 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45990 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45991 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45992 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45993 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45994 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45995 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45996 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45997 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45998 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45999 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46000 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46001 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46002 * sysdeps/i386/fpu/e_log.S: Likewise.
46003 * sysdeps/i386/fpu/e_log10.S: Likewise.
46004 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46005 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46006 * sysdeps/i386/fpu/e_log2.S: Likewise.
46007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46008 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46009 * sysdeps/i386/fpu/e_logf.S: Likewise.
46010 * sysdeps/i386/fpu/e_logl.S: Likewise.
46011 * sysdeps/i386/fpu/e_pow.S: Likewise.
46012 * sysdeps/i386/fpu/e_powf.S: Likewise.
46013 * sysdeps/i386/fpu/e_powl.S: Likewise.
46014 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46015 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46016 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46017 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46018 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46019 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46020 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46021 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46022 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46024 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46026 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46027 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46028 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46029 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46030 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46034 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46036 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46037 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46039 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46040 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46041 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46043 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46044 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46047 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46048 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46049 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46050 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46051 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46052 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46053 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46054 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46055 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46056 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46057 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46058 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46059 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46060 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46061 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46062 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46063 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46064 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46065 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46066 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46068 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46069 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46070 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46071 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46072 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46073 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46074 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46075 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46076 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46078 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46079 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46080 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46081 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46082 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46089 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46091 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46093 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46094 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46097 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46102 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46103 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46106 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46108 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46109 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46111 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46112 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46114 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46115 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46116 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46117 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46118 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46119 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46120 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46121 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46122 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46123 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46124 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46125 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46126 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46127 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46128 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46129 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46130 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46131 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46132 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46133 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46134 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46135 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46136 (__isnanf): Likewise.
46137 (__isinf_ns): Likewise.
46138 (__isinf_nsf): Likewise.
46139 (__finite): Likewise.
46140 (__finitef): Likewise.
46141 (__ieee754_sqrt): Define as macro.
46142 (__ieee754_sqrtf): Define as macro.
46143 (__ieee754_sqrtl): Define as macro.
46144 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46146 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46147 __FINITE_MATH_ONLY__ consistent.
46148 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46150 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46152 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46155 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46157 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46159 * po/ja.po: Update from translation team.
46161 2011-10-08 Roland McGrath <roland@hack.frob.com>
46163 * locale/programs/locarchive.c (prepare_address_space): New function.
46164 (create_archive, enlarge_archive, open_archive): Use it.
46166 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46167 inside [SHARED], where it is used.
46169 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46171 * nss/getent.c (netgroup_keys): Remove unused variable.
46172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46174 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46176 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46177 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46179 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46180 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46181 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46182 * math/Makefile (libm-calls): Add s_isinf_ns.
46183 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46184 * math/multc3.c: Likewise.
46185 * math/s_casin.c: Likewise.
46186 * math/s_casinf.c: Likewise.
46187 * math/s_casinl.c: Likewise.
46188 * math/s_ccos.c: Likewise.
46189 * math/s_ccosf.c: Likewise.
46190 * math/s_ccosl.c: Likewise.
46191 * math/s_ctan.c: Likewise.
46192 * math/s_ctanf.c: Likewise.
46193 * math/s_ctanh.c: Likewise.
46194 * math/s_ctanhf.c: Likewise.
46195 * math/s_ctanhl.c: Likewise.
46196 * math/s_ctanl.c: Likewise.
46197 * math/w_fmod.c: Likewise.
46198 * math/w_fmodf.c: Likewise.
46199 * math/w_fmodl.c: Likewise.
46200 * math/w_remainder.c: Likewise.
46201 * math/w_remainderf.c: Likewise.
46202 * math/w_remainderl.c: Likewise.
46203 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46204 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46205 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46206 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46207 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46208 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46209 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46210 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46212 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46214 * stdio-common/printf_fphex.c: Likewise.
46215 * stdio-common/printf_size.c: Likewise.
46217 * math/e_exp10.c: Include math_private.h using <...> not "...".
46218 * math/e_exp10f.c: Likewise.
46219 * math/e_exp10l.c: Likewise.
46220 * math/e_exp2l.c: Likewise.
46221 * math/e_j0l.c: Likewise.
46222 * math/e_j1l.c: Likewise.
46223 * math/e_jnl.c: Likewise.
46224 * math/e_lgammal_r.c: Likewise.
46225 * math/e_rem_pio2l.c: Likewise.
46226 * math/e_scalb.c: Likewise.
46227 * math/e_scalbf.c: Likewise.
46228 * math/e_scalbl.c: Likewise.
46229 * math/k_cosl.c: Likewise.
46230 * math/k_sinl.c: Likewise.
46231 * math/k_tanl.c: Likewise.
46232 * math/s_cacoshf.c: Likewise.
46233 * math/s_catan.c: Likewise.
46234 * math/s_catanf.c: Likewise.
46235 * math/s_catanh.c: Likewise.
46236 * math/s_catanhf.c: Likewise.
46237 * math/s_catanhl.c: Likewise.
46238 * math/s_catanl.c: Likewise.
46239 * math/s_ccosh.c: Likewise.
46240 * math/s_ccoshf.c: Likewise.
46241 * math/s_ccoshl.c: Likewise.
46242 * math/s_cexp.c: Likewise.
46243 * math/s_cexpf.c: Likewise.
46244 * math/s_cexpl.c: Likewise.
46245 * math/s_clog.c: Likewise.
46246 * math/s_clog10.c: Likewise.
46247 * math/s_clog10f.c: Likewise.
46248 * math/s_clog10l.c: Likewise.
46249 * math/s_clogf.c: Likewise.
46250 * math/s_clogl.c: Likewise.
46251 * math/s_csin.c: Likewise.
46252 * math/s_csinf.c: Likewise.
46253 * math/s_csinh.c: Likewise.
46254 * math/s_csinhf.c: Likewise.
46255 * math/s_csinhl.c: Likewise.
46256 * math/s_csinl.c: Likewise.
46257 * math/s_csqrt.c: Likewise.
46258 * math/s_csqrtf.c: Likewise.
46259 * math/s_csqrtl.c: Likewise.
46260 * math/s_ctan.c: Likewise.
46261 * math/s_ctanf.c: Likewise.
46262 * math/s_ctanh.c: Likewise.
46263 * math/s_ctanhf.c: Likewise.
46264 * math/s_ctanhl.c: Likewise.
46265 * math/s_ctanl.c: Likewise.
46266 * math/s_ldexp.c: Likewise.
46267 * math/s_ldexpf.c: Likewise.
46268 * math/s_ldexpl.c: Likewise.
46269 * math/s_significand.c: Likewise.
46270 * math/s_significandf.c: Likewise.
46271 * math/s_significandl.c: Likewise.
46272 * math/w_acos.c: Likewise.
46273 * math/w_acosf.c: Likewise.
46274 * math/w_acosh.c: Likewise.
46275 * math/w_acoshf.c: Likewise.
46276 * math/w_acoshl.c: Likewise.
46277 * math/w_acosl.c: Likewise.
46278 * math/w_asin.c: Likewise.
46279 * math/w_asinf.c: Likewise.
46280 * math/w_asinl.c: Likewise.
46281 * math/w_atan2.c: Likewise.
46282 * math/w_atan2f.c: Likewise.
46283 * math/w_atan2l.c: Likewise.
46284 * math/w_atanh.c: Likewise.
46285 * math/w_atanhf.c: Likewise.
46286 * math/w_atanhl.c: Likewise.
46287 * math/w_cosh.c: Likewise.
46288 * math/w_coshf.c: Likewise.
46289 * math/w_coshl.c: Likewise.
46290 * math/w_dremf.c: Likewise.
46291 * math/w_exp10.c: Likewise.
46292 * math/w_exp10f.c: Likewise.
46293 * math/w_exp10l.c: Likewise.
46294 * math/w_exp2.c: Likewise.
46295 * math/w_exp2f.c: Likewise.
46296 * math/w_fmod.c: Likewise.
46297 * math/w_fmodf.c: Likewise.
46298 * math/w_fmodl.c: Likewise.
46299 * math/w_hypot.c: Likewise.
46300 * math/w_hypotf.c: Likewise.
46301 * math/w_hypotl.c: Likewise.
46302 * math/w_j0.c: Likewise.
46303 * math/w_j0f.c: Likewise.
46304 * math/w_j0l.c: Likewise.
46305 * math/w_j1.c: Likewise.
46306 * math/w_j1f.c: Likewise.
46307 * math/w_j1l.c: Likewise.
46308 * math/w_jn.c: Likewise.
46309 * math/w_jnf.c: Likewise.
46310 * math/w_jnl.c: Likewise.
46311 * math/w_lgamma.c: Likewise.
46312 * math/w_lgamma_r.c: Likewise.
46313 * math/w_lgammaf.c: Likewise.
46314 * math/w_lgammaf_r.c: Likewise.
46315 * math/w_lgammal.c: Likewise.
46316 * math/w_lgammal_r.c: Likewise.
46317 * math/w_log.c: Likewise.
46318 * math/w_log10.c: Likewise.
46319 * math/w_log10f.c: Likewise.
46320 * math/w_log10l.c: Likewise.
46321 * math/w_log2.c: Likewise.
46322 * math/w_log2f.c: Likewise.
46323 * math/w_log2l.c: Likewise.
46324 * math/w_logf.c: Likewise.
46325 * math/w_logl.c: Likewise.
46326 * math/w_pow.c: Likewise.
46327 * math/w_powf.c: Likewise.
46328 * math/w_powl.c: Likewise.
46329 * math/w_remainder.c: Likewise.
46330 * math/w_remainderf.c: Likewise.
46331 * math/w_remainderl.c: Likewise.
46332 * math/w_scalb.c: Likewise.
46333 * math/w_scalbf.c: Likewise.
46334 * math/w_scalbl.c: Likewise.
46335 * math/w_sinh.c: Likewise.
46336 * math/w_sinhf.c: Likewise.
46337 * math/w_sinhl.c: Likewise.
46338 * math/w_sqrt.c: Likewise.
46339 * math/w_sqrtf.c: Likewise.
46340 * math/w_sqrtl.c: Likewise.
46341 * math/w_tgamma.c: Likewise.
46342 * math/w_tgammaf.c: Likewise.
46343 * math/w_tgammal.c: Likewise.
46345 * po/ja.po: Update from translation team.
46347 2011-09-29 Andreas Jaeger <aj@suse.de>
46350 * sunrpc/netname.c (netname2host): Fix logic.
46354 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46356 * math/w_remainder.c (__remainder): Likewise.
46357 * math/w_remainderf.c (__remainderf): Likewise.
46358 * math/libm-test.inc (remainder_test): Add test cases.
46360 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46362 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46365 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46367 * string/test-memcmp.c: Avoid unncessary #defines.
46368 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46370 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46372 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46373 Use new sse2 version for core i3 - i7 as it's faster
46374 than sse42 version.
46375 (bit_Prefer_PMINUB_for_stringop): New.
46376 * sysdeps/x86_64/rawmemchr.S: Update.
46377 Replace with faster SSE2 version.
46378 * sysdeps/x86_64/memrchr.S: New file.
46379 * sysdeps/x86_64/memchr.S: Update.
46380 Replace with faster SSE2 version.
46382 2011-09-12 Marek Polacek <mpolacek@redhat.com>
46384 * elf/dl-load.c (lose): Add cast to avoid warning.
46386 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46388 * po/ca.po: Update from translation team.
46390 * inet/getnetgrent_r.c: Hook up nscd.
46391 * nscd/Makefile (routines): Add nscd_netgroup.
46392 (nscd-modules): Add netgroupcache.
46393 (CFLAGS-netgroupcache.c): Define.
46394 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46395 (cache_search): Add const to second parameter.
46396 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46398 (dbs): Add netgrdb entry.
46399 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46400 (verify_persistent_db): Handle netgrdb.
46401 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46402 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46404 (netgroup_response_header): Define.
46405 (innetgroup_response_header): Define.
46406 (datahead): Add netgroup_response_header and innetgroup_response_header
46408 * nscd/nscd.conf: Add entries for netgroup cache.
46409 * nscd/nscd.h (dbtype): Add netgrdb.
46410 (_PATH_NSCD_NETGROUP_DB): Define.
46411 (netgroup_iov_disabled): Declare.
46412 (xmalloc, xcalloc, xrealloc): Move declarations here.
46413 (cache_search): Adjust prototype.
46414 Add netgroup-related prototypes.
46415 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46416 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46417 (__nscd_innetgr): Declare.
46418 * nscd/selinux.c (perms): Use access_vector_t as element type and
46419 add netgroup-related initializers.
46420 * nscd/netgroupcache.c: New file.
46421 * nscd/nscd_netgroup.c: New file.
46422 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46423 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46424 For four parameters use innetgr.
46425 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46426 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46427 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46428 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46430 * nscd/connections.c (register_traced_file): Don't register file
46431 for disabled databases.
46433 2011-10-06 Ulrich Drepper <drepper@gmail.com>
46435 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46437 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46438 from tree and freeing node.
46440 2011-09-25 Jiri Olsa <jolsa@redhat.com>
46442 * nss/nsswitch.c (__nss_database_lookup): Handle
46443 nss_parse_service_list out of memory case.
46445 2011-09-15 Jiri Olsa <jolsa@redhat.com>
46447 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46448 out of memory case.
46450 2011-10-04 Andreas Schwab <schwab@redhat.com>
46452 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46453 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46455 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46456 elf_machine_rela, elf_machine_lazy_rel.
46457 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46458 (ELF_DYNAMIC_DO_REL): Likewise.
46459 (ELF_DYNAMIC_DO_RELA): Likewise.
46460 (ELF_DYNAMIC_RELOCATE): Likewise.
46461 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46462 to ELF_DYNAMIC_DO_REL.
46463 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46464 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46465 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46467 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46468 skip_ifunc, don't call ifunc function if non-zero.
46469 (elf_machine_rela): Likewise.
46470 (elf_machine_lazy_rel): Likewise.
46471 (elf_machine_lazy_rela): Likewise.
46472 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46473 (elf_machine_lazy_rel): Likewise.
46474 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46476 (elf_machine_lazy_rel): Likewise.
46477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46479 (elf_machine_lazy_rel): Likewise.
46480 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46481 (elf_machine_lazy_rel): Likewise.
46482 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46483 (elf_machine_lazy_rel): Likewise.
46484 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46485 (elf_machine_lazy_rel): Likewise.
46486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46487 (elf_machine_lazy_rel): Likewise.
46488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46489 (elf_machine_lazy_rel): Likewise.
46490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46491 (elf_machine_lazy_rel): Likewise.
46493 2011-09-28 Ulrich Drepper <drepper@gmail.com>
46495 * nss/nss_files/files-init.c (_nss_files_init): Use static
46496 initialization for all the *_traced_file variables.
46498 2011-09-28 Andreas Schwab <schwab@redhat.com>
46500 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46502 2011-09-27 Roland McGrath <roland@hack.frob.com>
46505 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46507 2011-09-27 Andreas Schwab <schwab@redhat.com>
46509 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46510 Reread the line before reparsing it.
46512 2011-09-26 Andreas Schwab <schwab@redhat.com>
46514 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46516 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46517 Maxim Kuvyrkov <maxim@codesourcery.com>
46518 Joseph Myers <joseph@codesourcery.com>
46520 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46521 if needed for __stack_chk_guard.
46523 2011-09-19 Roland McGrath <roland@hack.frob.com>
46525 * sysdeps/posix/spawni.c (script_execute): Always define it.
46526 It will be optimized away if unused.
46527 (maybe_script_execute): New function.
46528 (__spawni): Call it.
46530 * Makerules: Don't include tls.make.
46531 (config-tls): Always set to thread.
46532 * tls.make.c: File removed.
46534 2011-09-19 Mike Frysinger <vapier@gentoo.org>
46536 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46537 * config.make.in (CPPFLAGS-config): New substituted variable.
46539 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46541 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46544 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46545 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46547 2011-09-15 Roland McGrath <roland@hack.frob.com>
46549 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46550 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46552 (CALL_FAIL): Likewise.
46553 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46554 (CALL_FAIL): Macro removed.
46555 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46557 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46559 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46560 for __FINITE_MATH_ONLY__ == 1.
46562 2011-09-15 Andreas Schwab <schwab@redhat.com>
46564 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46565 __ieee754_sqrt instead of sqrt.
46566 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46567 __ieee754_sqrtf instead of sqrtf.
46568 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46569 __floorf instead of floorf.
46570 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46571 __floorf, __truncf instead of floorf, truncf.
46573 2011-09-14 Ulrich Drepper <drepper@gmail.com>
46575 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46577 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46578 __extern_always_inline.
46579 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46582 2011-09-14 Andreas Schwab <schwab@redhat.com>
46584 * elf/rtld.c (dl_main): Also relocate in dependency order when
46585 doing symbol dependency testing.
46587 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46590 Always define `refsym'.
46592 2011-09-13 Andreas Schwab <schwab@redhat.com>
46594 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46595 (__FD_ELT): Renamed from __FDELT.
46596 * misc/bits/select2.h (__FD_ELT): Likewise.
46597 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46598 __FD_MASK instead of __FDELT, __FDMASK.
46599 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46601 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46604 * elf/Makefile (gen-ldd): Fix pattern.
46606 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46607 (init_tls): Likewise.
46609 2011-09-12 Ulrich Drepper <drepper@gmail.com>
46611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46613 2011-09-12 Andreas Schwab <schwab@redhat.com>
46615 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46616 `struct cmsghdr *' instead of `void *'.
46617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46620 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46622 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46624 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46625 ldd_rewrite_script.
46627 2011-09-11 Ulrich Drepper <drepper@gmail.com>
46629 * configure.in: Remove --with-tls option.
46630 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46631 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46632 out in case it is missing.
46633 * sysdeps/ia64/elf/configure.in: Likewise.
46634 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46635 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46636 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46637 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46638 * sysdeps/sh/elf/configure.in: Likewise.
46639 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46640 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46641 * sysdeps/x86_64/elf/configure.in: Likewise.
46642 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46643 * sysdeps/mach/hurd/tls.h: Likewise.
46646 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46649 * configure.in: Fix use of AC_INIT.
46651 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46653 2011-09-10 Ulrich Drepper <drepper@gmail.com>
46655 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46657 * malloc/hooks.c: Likewise.
46660 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46661 variables statically.
46662 (narenas): Initialize.
46663 (list_lock): Initialize.
46664 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46665 initializtion of main_arena and list_lock. Small cleanups.
46666 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46667 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46668 Add initializers to main_arena and mp_.
46669 (malloc_state): Remove pagesize member. Change all users to use
46672 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46673 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46674 is always initialized.
46676 * malloc/malloc.c: Removed unused configurations and dead code.
46677 * malloc/arena.c: Likewise.
46678 * malloc/hooks.c: Likewise.
46679 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46681 * include/tls.h: Removed. USE___THREAD must always be defined.
46682 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46683 * elf/dl-libc.c: Likewise.
46684 * elf/dl-tsd.c: Likewise.
46685 * include/errno.h: Likewise.
46686 * include/netdb.h: Likewise.
46687 * include/resolv.h: Likewise.
46688 * inet/herrno-loc.c: Likewise.
46689 * inet/herrno.c: Likewise.
46690 * malloc/arena.c: Likewise.
46691 * malloc/hooks.c: Likewise.
46692 * malloc/malloc.c: Likewise.
46693 * resolv/res-state.c: Likewise.
46694 * resolv/res_libc.c: Likewise.
46695 * sysdeps/i386/dl-machine.h: Likewise.
46696 * sysdeps/ia64/dl-machine.h: Likewise.
46697 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46698 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46699 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46700 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46701 * sysdeps/sh/dl-machine.h: Likewise.
46702 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46703 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46704 * sysdeps/unix/i386/sysdep.S: Likewise.
46705 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46706 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46710 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46711 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46715 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46716 * sysdeps/x86_64/dl-machine.h: Likewise.
46717 * tls.make.c: Likewise.
46719 * configure.in: Remove --with-__thread option. Make tests for
46720 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46721 tls_model attribute fail if no support is available. Remove
46723 * Makeconfig: Adjust for dropped configure option. All features are
46725 * Makerules: Likewise.
46726 * Versions.def: Likewise.
46727 * argp/argp-fmtstream.c: Likewise.
46728 * argp/argp-fmtstream.h: Likewise.
46729 * argp/argp-help.c: Likewise.
46730 * assert/assert.c: Likewise.
46731 * config.h.in: Likewise.
46732 * config.make.in: Likewise.
46733 * configure: Likewise.
46734 * configure.in: Likewise.
46735 * csu/Versions: Likewise.
46736 * csu/init.c: Likewise.
46737 * elf/tst-audit2.c: Likewise.
46738 * elf/tst-tls10.c: Likewise.
46739 * elf/tst-tls10.h: Likewise.
46740 * elf/tst-tls11.c: Likewise.
46741 * elf/tst-tls12.c: Likewise.
46742 * elf/tst-tls14.c: Likewise.
46743 * elf/tst-tlsmod11.c: Likewise.
46744 * elf/tst-tlsmod12.c: Likewise.
46745 * elf/tst-tlsmod13.c: Likewise.
46746 * elf/tst-tlsmod13a.c: Likewise.
46747 * elf/tst-tlsmod14a.c: Likewise.
46748 * elf/tst-tlsmod15b.c: Likewise.
46749 * elf/tst-tlsmod16a.c: Likewise.
46750 * elf/tst-tlsmod16b.c: Likewise.
46751 * elf/tst-tlsmod7.c: Likewise.
46752 * elf/tst-tlsmod8.c: Likewise.
46753 * elf/tst-tlsmod9.c: Likewise.
46754 * gmon/gmon.c: Likewise.
46755 * grp/fgetgrent_r.c: Likewise.
46756 * grp/putgrent.c: Likewise.
46757 * hurd/fopenport.c: Likewise.
46758 * include/libc-symbols.h: Likewise.
46759 * include/tls.h: Likewise.
46760 * intl/gettextP.h: Likewise.
46761 * intl/loadinfo.h: Likewise.
46762 * locale/global-locale.c: Likewise.
46763 * locale/localeinfo.h: Likewise.
46764 * mach/devstream.c: Likewise.
46765 * malloc/arena.c: Likewise.
46766 * malloc/set-freeres.c: Likewise.
46767 * misc/err.c: Likewise.
46768 * misc/getttyent.c: Likewise.
46769 * misc/mntent_r.c: Likewise.
46770 * posix/getopt.c: Likewise.
46771 * posix/wordexp.c: Likewise.
46772 * pwd/fgetpwent_r.c: Likewise.
46773 * resolv/Versions: Likewise.
46774 * resolv/res_hconf.c: Likewise.
46775 * shadow/fgetspent_r.c: Likewise.
46776 * shadow/putspent.c: Likewise.
46777 * stdio-common/printf_fphex.c: Likewise.
46778 * stdio-common/tmpfile.c: Likewise.
46779 * stdlib/abort.c: Likewise.
46780 * stdlib/fmtmsg.c: Likewise.
46781 * sunrpc/auth_unix.c: Likewise.
46782 * sunrpc/clnt_perr.c: Likewise.
46783 * sunrpc/clnt_tcp.c: Likewise.
46784 * sunrpc/clnt_udp.c: Likewise.
46785 * sunrpc/clnt_unix.c: Likewise.
46786 * sunrpc/openchild.c: Likewise.
46787 * sunrpc/svc_simple.c: Likewise.
46788 * sunrpc/svc_tcp.c: Likewise.
46789 * sunrpc/svc_udp.c: Likewise.
46790 * sunrpc/svc_unix.c: Likewise.
46791 * sunrpc/xdr.c: Likewise.
46792 * sunrpc/xdr_array.c: Likewise.
46793 * sunrpc/xdr_rec.c: Likewise.
46794 * sunrpc/xdr_ref.c: Likewise.
46795 * sunrpc/xdr_stdio.c: Likewise.
46797 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46799 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46801 2011-07-03 Andreas Jaeger <aj@suse.de>
46803 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46804 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46805 regenerate with gen-libm-tests.pl.
46807 2010-05-12 Petr Baudis <pasky@suse.cz>
46810 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46811 around j0() zero points by switching to j1().
46812 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46813 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46815 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46817 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46819 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46821 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46824 Patch in part by Pavel Roskin <proski@gnu.org>.
46827 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46829 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46830 Free memory block if necessary.
46833 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46834 be NULL. Don't lock in this case.
46836 2011-09-09 Roland McGrath <roland@hack.frob.com>
46838 * elf/elf.h (ELFOSABI_GNU): New macro.
46839 (ELFOSABI_LINUX): Define to that.
46841 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46843 * string/strncat.c (strncat): Undef the symbol in case it has been
46844 defined in bits/string.h.
46846 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46848 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46850 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46853 2011-08-17 Andreas Jaeger <aj@suse.de>
46855 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46857 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46858 Ian Lance Taylor <iant@google.com>
46860 * math/libm-test.inc (lround_test): New testcase.
46861 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46863 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46865 * Makefile: Remove support for automatic cvs check-ins.
46866 * Makerules: Likewise.
46867 * config.make.in: Likewise.
46868 * configure.in: Likewise.
46869 * intl/Makefile: Likewise.
46870 * locale/Makefile: Likewise.
46871 * po/Makefile: Likewise.
46872 * posix/Makefile: Likewise.
46873 * sysdeps/gnu/Makefile: Likewise.
46874 * sysdeps/mach/hurd/Makefile: Likewise.
46875 * sysdeps/sparc/sparc32/Makefile: Likewise.
46878 * posix/Makefile (bug-regex32-ENV): Define.
46879 Patch by John Stanley <jpsinthemix@verizon.net>.
46881 * misc/Makefile (headers): Add bits/select2.h.
46882 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46883 * misc/bits/select2.h: New file.
46884 * include/bits/select2.h: New file.
46885 * debug/Makefile (routines): Add fdelt_chk.
46886 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46887 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46889 * debug/fdelt_chk.c: New file.
46891 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46892 * wcsmbs/test-wmemcmp.c: Likewise.
46893 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46894 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46896 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46898 * string/Makefile (strop-tests): Add memcmp.
46899 * string/test-wmemcmp.c: New file.
46900 * string/test-memcmp.c: Add wmemcmp support.
46902 2011-09-08 Roland McGrath <roland@hack.frob.com>
46905 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46908 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46909 garbage value in a __mach_port_mod_refs call in the cases of the
46910 task-self and thread-self ports.
46912 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46914 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46916 2011-09-08 Andreas Schwab <schwab@redhat.com>
46918 * elf/dl-load.c (lose): Check for non-null L.
46920 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46922 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46924 * elf/dl-libc.c (dlerror_run): Pass back error code from
46928 * elf/dl-load.c (lose): Free l_origin if it is valid.
46930 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46932 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46933 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46935 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46936 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46937 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46939 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46941 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46942 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46943 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46944 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46945 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46946 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46947 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46948 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46949 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46950 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46952 2011-08-15 Alan Modra <amodra@gmail.com>
46955 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46956 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46957 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46958 ppc_mcount to static-only-routines.
46959 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46961 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46962 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46964 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46966 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46967 for finite and infinity parameters.
46969 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46971 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46972 and add nop instructions for throughput optimization.
46973 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46975 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46977 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46978 aligned copy for power7 with vector-scalar instructions.
46979 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46981 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46986 2011-09-07 Andreas Schwab <schwab@redhat.com>
46989 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46992 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46994 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46995 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46996 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46997 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47000 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47002 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47003 Forgot to demangle the pointer.
47005 * sysdeps/i386/sysdep.h: Define atom_text_section.
47006 * sysdeps/x86_64/sysdep.h: Likewise.
47007 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47008 section with atom_text_section.
47009 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47010 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47011 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47012 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47013 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47015 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47016 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47017 already be defined. Change to take two parameters and don't assign
47018 result to variable. Adjust all users.
47019 Define INTERNAL_GETTIME if not already defined.
47020 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47023 HAVE_CLOCK_GETTIME_VSYSCALL.
47024 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47027 gettimeofday vsyscall, just use time.
47029 2011-09-06 Andreas Schwab <schwab@redhat.com>
47031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47034 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47036 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47040 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47041 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47042 syscall if possible.
47044 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47046 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47047 e_ident. Don't pass to find_mapsXX.
47048 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47050 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47053 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47054 * sysdeps/x86_64/multiarch/strchr.S: Update.
47055 Check bit_slow_BSF bit.
47056 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47057 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47058 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47060 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47063 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47065 (tryshell): Define.
47066 (__spawni): Change last parameter to be flag. Test
47067 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47068 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47069 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47070 * posix/spawni.c: Likewise.
47071 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47072 * posix/spawnp.c: Likewise. Change normal version to use
47073 SPAWN_XFLAGS_USE_PATH.
47074 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47075 SPAWN_XFLAGS_TRY_SHELL.
47078 * posix/glob.h: Remove gcc 1.x support.
47081 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47083 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47086 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47088 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47089 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47090 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47091 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47092 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47093 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47095 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47097 * sysdeps/x86_64/wcscmp.S: New file.
47099 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47100 wcscmp-c wcscmp-sse2
47101 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47102 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47103 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47104 * wcsmbs/wcscmp.c: Allow renaming.
47106 2011-09-05 David S. Miller <davem@davemloft.net>
47108 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47109 stack slot, rather than the struct return pointer slot.
47110 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47111 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47113 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47115 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47117 * po/ja.po: Update from translation team.
47120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47121 kernel in 64-bit binaries.
47123 2011-09-01 David S. Miller <davem@davemloft.net>
47125 * elf/elf.h (HWCAP_SPARC_*): Move to..
47126 * sysdeps/sparc/sysdep.h: this new file and add new values.
47127 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47128 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47129 _DL_HWCAP_COUNT to 24.
47130 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47132 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47133 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47134 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47136 instead of magic constants.
47137 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47139 2011-08-31 David S. Miller <davem@davemloft.net>
47141 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47143 Reimplement to do errno handling inline.
47144 (SYSCALL_ERROR_HANDLER): New macro.
47145 (__SYSCALL_STRING): Do not do errno handling in asm.
47146 (__CLONE_SYSCALL_STRING): Delete.
47147 (__INTERNAL_SYSCALL_STRING): Delete.
47148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47149 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47150 (PSEUDO): Reimplement to do errno handling inline.
47151 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47152 (SYSCALL_ERROR_HANDLER): New macro.
47153 (__SYSCALL_STRING): Do not do errno handling in asm.
47154 (__CLONE_SYSCALL_STRING): Delete.
47155 (__INTERNAL_SYSCALL_STRING): Delete.
47156 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47157 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47159 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47160 (inline_syscall*): Add 'err' argument.
47161 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47162 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47163 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47164 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47166 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47167 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47169 2011-08-30 Andreas Schwab <schwab@redhat.com>
47171 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47173 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47175 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47178 2011-08-24 David S. Miller <davem@davemloft.net>
47180 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47182 2011-08-24 Andreas Schwab <schwab@redhat.com>
47184 * elf/Makefile: Add rules to build and run unload8 test.
47185 * elf/unload8.c: New file.
47186 * elf/unload8mod1.c: New file.
47187 * elf/unload8mod1x.c: New file.
47188 * elf/unload8mod2.c: New file.
47189 * elf/unload8mod3.c: New file.
47191 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47194 2011-08-23 David S. Miller <davem@davemloft.net>
47196 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47197 subtract stack bias.
47198 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47199 %sp not %fp in calculations.
47200 (_JMPBUF_UNWINDS_ADJ): Likewise.
47202 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47203 (aio_suspend): Call it to force an exception region around the
47204 AIO_MISC_WAIT() invocation.
47206 2011-08-23 Andreas Schwab <schwab@redhat.com>
47208 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47211 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47213 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47215 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47216 and <dl-machine.h>.
47217 (Elf64_FuncDesc): Remove.
47219 2011-08-22 David S. Miller <davem@davemloft.net>
47221 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47222 sigaltstack check, add missing cfi directives.
47223 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47224 missing cfi directives, and sigaltstack handling.
47226 2011-08-16 Andreas Schwab <schwab@redhat.com>
47229 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47230 object is seen twice.
47231 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47233 * elf/Makefile (distribute): Add tst-initorder2.c.
47234 (tests): Add tst-initorder2.
47235 (modules-names): Add tst-initorder2a tst-initorder2b
47236 tst-initorder2c tst-initorder2d. Add rules to build them.
47237 ($(objpfx)tst-initorder2.out): New rule.
47238 * elf/tst-initorder2.c: New file.
47239 * elf/tst-initorder2.exp: New file.
47241 2011-08-22 Andreas Schwab <schwab@redhat.com>
47243 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47245 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47246 dependencies back to end of function.
47248 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47249 $(elfobjdir)/ld.so.
47251 2011-08-21 Ulrich Drepper <drepper@gmail.com>
47253 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47254 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47255 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47256 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47257 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47258 of __vdso_gettimeofday.
47259 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47260 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47262 (_libc_vdso_platform_setup): Remove initialization of
47263 __vdso_gettimeofday and __vdso_time.
47265 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47267 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47268 and fgetc_unlocked.
47269 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47272 * elf/dl-open.c (add_to_global): Report additions to the global scope
47273 for LD_DEBUG=scopes.
47274 (dl_open_worker): Also print scope of newly loaded dependencies.
47275 (_dl_show_scope): Indicate if there is no scope.
47278 * stdio-common/Makefile (tests): Add bug24.
47279 * stdio-common/bug24.c: New file.
47281 2011-08-19 Andreas Jaeger <aj@suse.de>
47284 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47285 non-existant file when using close-on-exec mode.
47287 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47289 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47290 the very first instruction.
47292 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47293 the CFI state in the end.
47294 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47295 inclusion of dl-trampoline.h.
47296 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47298 2011-08-19 Andreas Schwab <schwab@redhat.com>
47300 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47301 expectations for long double.
47303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47304 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47306 2011-08-14 David S. Miller <davem@davemloft.net>
47308 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47309 artificual limit depends upon the system page size.
47311 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47313 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47314 * resolv/Makefile: Define CFLAGS-libresolv.
47316 2011-08-17 Andreas Schwab <schwab@redhat.com>
47318 * nss/makedb.c (compute_tables): Make variables used in nested
47321 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47323 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47324 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47325 if buffer was too small.
47327 * elf/pldd.c (main): Attach to all threads in the process.
47328 Rewrite /proc handling to use *at functions.
47330 2011-08-16 Ulrich Drepper <drepper@gmail.com>
47332 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47333 specifies first scope to show.
47334 (dl_open_worker): Update callers. Move printing scope of new
47335 object to before the relocation.
47336 * elf/rtld.c (dl_main): Update _dl_show_scope call.
47337 * sysdeps/generic/ldsodefs.h: Update declaration.
47339 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47340 string for the scope number.
47342 2011-08-14 Ulrich Drepper <drepper@gmail.com>
47344 * nscd/servicescache.c (cache_addserv): Make sure written is always
47347 2011-08-14 Roland McGrath <roland@hack.frob.com>
47349 * sysdeps/i386/i486/bits/atomic.h
47350 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47351 statement expression, so as to suppress "set but not used" warning.
47352 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47354 * string/strncat.c (STRNCAT): Use prototype definition.
47356 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47357 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47359 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47360 (localedef-modules): Add localedef.
47361 (locale-modules): Add locale.
47363 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47364 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47365 to avoid a warning.
47367 2011-08-14 David S. Miller <davem@davemloft.net>
47369 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47370 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47372 2011-08-13 Ulrich Drepper <drepper@gmail.com>
47374 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47375 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47376 * elf/rtld.c (dl_main): Set l_name of vDSO.
47377 Call _dl_show_scope when DL_DEBUG_SCOPES.
47378 (process_dl_debug): Recognize scopes flag and also set it for all.
47379 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47380 Declare _dl_show_scope.
47382 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47383 (do_dlopen): Pass caller_dlopen to dl_open.
47384 (__libc_dlopen_mode): Initialize caller_dlopen.
47386 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47387 of libc. Make tolower call locale-independent. Optimize a bit by
47388 using isdigit instead of isalnum.
47389 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47391 2011-08-12 Ulrich Drepper <drepper@gmail.com>
47393 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47394 was a dependency or dynamically loaded.
47396 2011-08-11 Ulrich Drepper <drepper@gmail.com>
47398 * intl/l10nflist.c: Allow architecture-specific pop function.
47399 * sysdeps/x86_64/l10nflist.c: New file.
47401 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47404 2011-08-10 Andreas Schwab <schwab@redhat.com>
47406 * include/dirent.h: Add libc_hidden_proto for scandirat and
47407 scandirat64. Don't declare __scandirat64.
47408 * dirent/scandirat.c: Add libc_hidden_def.
47409 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47410 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47412 2011-08-10 David S. Miller <davem@davemloft.net>
47414 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47416 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47420 2011-08-09 Ulrich Drepper <drepper@gmail.com>
47422 * Versions.def [libc]: Add GLIBC_2.15.
47423 * dirent/Makefile (routines): Add scandirat and scandirat64.
47424 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47426 * dirent/dirent.h: Declare scandirat and scandirat64.
47427 * dirent/scandirat.c: New file.
47428 * dirent/scandirat64.c: New file.
47429 * sysdeps/wordsize-64/scandirat.c: New file.
47430 * sysdeps/wordsize-64/scandirat64.c: New file.
47431 * dirent/opendir.c: Define opendirat.
47432 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47434 * dirent/scandir64.c: Adjust for scandir.c change.
47435 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47436 __scandirat64, and __scandir_cancel_handler.
47437 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47438 additional parameter and use openat instead of open (outside of ld.so).
47439 Add new __opendir as wrapper around __opendirat.
47440 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47441 here without requiring old scandirat implementation.
47443 2011-08-08 Ulrich Drepper <drepper@gmail.com>
47445 * dirent/scandir.c (cancel_handler): Renamed to
47446 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47447 defined. Adjust users.
47448 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47449 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47451 2011-08-04 Ulrich Drepper <drepper@gmail.com>
47453 * string/test-string.h (IMPL): Use __STRING to expand name and then
47456 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47459 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47461 * string/Makefile: Update.
47462 (strop-tests): Append strncat.
47463 * string/test-wcscmp.c: New file.
47464 New comprehensive test for wcscmp.
47465 * string/test-strcmp.c: Update.
47466 (WIDE): New define.
47468 2011-07-22 Andreas Schwab <schwab@redhat.com>
47470 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47473 2011-07-26 Andreas Schwab <schwab@redhat.com>
47475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47476 encoding to ACE if AI_IDN.
47478 2011-08-01 Jakub Jelinek <jakub@redhat.com>
47480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47481 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47483 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47486 Fix overflow bug in strncat.
47487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47489 * string/test-strncat.c: Update.
47490 Add new tests for checking overflow bugs.
47492 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47495 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47496 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47497 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47498 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47499 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47500 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47501 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47502 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47505 (USE_AS_STRCAT): Define.
47506 Add strcat and strncat support.
47507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47509 2011-07-25 Andreas Schwab <schwab@redhat.com>
47511 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47512 __n bigger than INT_MAX+1.
47513 (__strncmp_g): Likewise.
47515 2011-07-23 Ulrich Drepper <drepper@gmail.com>
47517 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47518 * libio/stido.h: Likewise.
47520 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47525 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47526 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47528 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47532 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47537 (_dl_x86_64_save_sse): Likewise.
47539 2011-07-22 Ulrich Drepper <drepper@gmail.com>
47541 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47543 (_dl_x86_64_save_sse): Likewise.
47545 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47547 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47549 2011-07-21 Andreas Schwab <schwab@redhat.com>
47551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47553 (_dl_x86_64_save_sse): Use correct AVX check.
47555 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47557 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47558 bug in strncpy/strncat.
47559 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47561 2011-07-21 Ulrich Drepper <drepper@gmail.com>
47563 * string/tester.c (test_strcat): Add tests for different alignments
47564 of source and destination.
47565 (test_strncat): Likewise.
47567 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47570 * posix/glob.c (glob): Check passed in values before using them in
47571 expressions to avoid some overflows.
47572 (glob_in_dir): Likewise.
47575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47576 check for AVX enablement so that we don't crash with old kernels and
47578 * elf/tst-audit4.c: Add same checks here.
47579 * elf/tst-audit6.c: Likewise.
47581 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47583 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47585 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47587 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47589 * po/cs.po: Update from translation team.
47590 * po/bg.po: Likewise.
47592 2011-07-12 Marek Polacek <mpolacek@redhat.com>
47594 * misc/sys/cdefs.h: Add support for const attribute.
47595 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47596 to gnu_dev_{major,minor,makedev} functions.
47598 2011-07-20 Marek Polacek <mpolacek@redhat.com>
47600 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47602 2011-07-20 Andreas Schwab <schwab@redhat.com>
47604 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47607 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47610 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47611 register in order to avoid conflicts with the soft frame pointer
47612 being held in r11 when necessary.
47613 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47614 (INTERNAL_VSYSCALL_NCS): Likewise.
47616 2011-07-14 Marek Polacek <mpolacek@redhat.com>
47618 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47619 * elf/dl-fini.c (_dl_fini): Adjust caller.
47620 * elf/dl-close.c (_dl_close_worker): Likewise.
47621 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47623 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47625 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47626 "aux_cache->nlibs < 0".
47628 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47629 in the reload-count case.
47631 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47634 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47635 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47636 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47637 * sysdeps/x86_64/multiarch/strcat.S: New file.
47638 * sysdeps/x86_64/multiarch/strncat.S: New file.
47639 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47640 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47641 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47642 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47643 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47644 (USE_AS_STRCAT): Define.
47645 Add strcat and strncat support.
47646 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47647 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47648 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47649 * string/strncat.c: Update.
47650 (USE_AS_STRNCAT): Define.
47651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47652 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47654 * sysdeps/x86_64/multiarch/init-arch.h
47655 (bit_Prefer_PMINUB_for_stringop): New.
47656 (index_Prefer_PMINUB_for_stringop): Likewise.
47657 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47658 bit_Prefer_PMINUB_for_stringop.
47660 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47662 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47664 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47665 of casting of buffer.
47666 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47667 buffer32 and buffer64.
47668 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47669 writes instead of casting of buffer.
47670 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47672 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47675 2011-07-19 Andreas Schwab <schwab@redhat.com>
47677 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47679 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47681 * nscd/nscd.c (termination_handler): Don't do anything for a database
47682 if it has not yet been initialized.
47684 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47686 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47688 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47690 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47692 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47694 * po/nl.po: Update from translation team.
47695 * po/sv.po: Likewise.
47697 2011-07-16 Roland McGrath <roland@hack.frob.com>
47699 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47700 now disallowed by GCC.
47702 * configure.in (use-default-link): Default to yes if a test -shared
47703 link meets our qualifications.
47704 * configure: Regenerated.
47706 * config.make.in (output-format): New variable.
47707 * configure.in: Check for ld --print-output-format support.
47708 * configure: Regenerated.
47709 * Makerules ($(common-objpfx)format.lds)
47710 [$(output-format) != unknown]: Just use $(output-format),
47711 instead of the linker-script munging.
47713 2011-07-14 Roland McGrath <roland@hack.frob.com>
47715 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47716 of $(common-objpfx)shlib.lds.
47717 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47719 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47720 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47722 * configure.in (-z relro check): Adjust test code to add a large
47723 writable data section after it.
47724 * configure: Regenerated.
47726 2011-07-11 Roland McGrath <roland@hack.frob.com>
47728 * configure.in (-z relro check): Fix test code to make the variable
47730 * configure: Regenerated.
47732 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47734 * nscd/nscd.h (struct traced_file): Define.
47735 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47736 elements. Add traced_files.
47737 (inotify_fd): Declare.
47738 (register_traced_file): Declare.
47739 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47740 (inotify_fd): Export.
47741 (resolv_conf_descr): Remove.
47742 (nscd_init): Move inotify descriptor creation to main.
47743 Don't register files for notification here.
47744 (register_traced_file): New function.
47745 (invalidate_cache): Don't use reset_res to determine whether to call
47746 res_init, go through the list of registered files.
47747 (main_loop_poll): The inotify descriptors are now stored in the
47748 structures for the traced files.
47749 (main_loop_epoll): Likewise
47750 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47751 to __nss_disable_nscd.
47752 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47753 for a database anymore. Check the records for all the registered
47755 * nss/Makefile (libnss_files-routines): Add files-init.
47756 (libnss_db-routines): Add db-init.
47757 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47758 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47759 * nss/nss_db/db-init.c: New file.
47760 * nss/nss_files/files-init.c: New file.
47761 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47762 __nss_lookup_function.
47763 (__nss_lookup_function): Call nss_load_library.
47764 (nss_load_all_libraries): New function.
47765 (__nss_disable_nscd): Take parameter with callback function for files
47766 to register. Set is_nscd. Load all the DSOs for the NSS modules
47767 used for the cached services.
47768 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47769 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47770 options for features to all the files in nscd.
47772 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47774 2011-07-10 Roland McGrath <roland@hack.frob.com>
47776 * csu/elf-init.c (__libc_csu_init): Comment typo.
47778 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47780 * po/pl.po: Update from translation team.
47781 * po/ja.po: Likewise.
47782 * po/ru.po: Likewise.
47783 * po/ko.po: Likewise.
47784 * po/fr.po: Likewise.
47786 2011-07-09 Roland McGrath <roland@hack.frob.com>
47788 * configure.in (.ctors/.dtors header and trailer check):
47789 Use an empirical test on a built program.
47790 * configure: Regenerated.
47792 * configure.in (-z relro check): Use an empirical test on a built DSO.
47793 Detect, but do not require, on ia64.
47794 * configure: Regenerated.
47796 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47797 Update tests that use readelf to use $READELF instead.
47798 * configure: Regenerated.
47800 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47802 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47803 if the result is not used.
47805 2011-07-05 Andreas Jaeger <aj@suse.de>
47808 * stdlib/tst-strtod.c: Add testcase.
47810 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47812 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47813 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47814 The latter has a higher limit. Take additional parameter to pass to
47816 (__pathconf): Pass file to __statfs_link_max.
47817 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47819 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47823 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47824 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47826 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47827 (__statfs_filesize_max): Likewise.
47828 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47830 2011-07-05 Andreas Jaeger <aj@suse.de>
47832 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47834 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47836 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47838 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47841 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47843 * Makefile (strop-tests): Add strncat.
47844 * string/test-strncat.c: New file.
47846 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47848 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47850 2011-06-21 Andreas Jaeger <aj@suse.de>
47852 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47853 Copy rule from iconvdata/Makefile.
47855 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47858 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47859 but no long options are defined, just return 'W'.
47861 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47864 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47866 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47868 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47870 (innetgr): Likewise.
47872 2011-07-05 Roland McGrath <roland@hack.frob.com>
47874 * config.make.in (install_root): Default to $(DESTDIR).
47876 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47878 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47880 2011-07-02 Roland McGrath <roland@hack.frob.com>
47882 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47884 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47885 containing directory rather than embedding absolute directory names.
47887 * scripts/check-local-headers.sh: Rewritten using awk.
47888 Match by word, not by line. Print error messages for matches.
47889 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47891 * Makerules [shlib-lds-flags empty]:
47892 ($(common-objpfx)libc_pic.opts): New target.
47893 ($(common-objpfx)libc_pic.os.clean): New target.
47894 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47896 * config.make.in (OBJCOPY): New variable.
47897 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47898 * configure: Regenerated.
47900 * config.make.in (use-default-link): New variable.
47901 * configure.in (use_default_link): Grok --with-default-link to set it.
47902 * configure: Regenerated.
47903 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47904 (shlib-lds, shlib-lds-flags): Define to empty.
47906 * Makerules (shlib-lds): New variable.
47907 (shlib-lds-flags): New variable.
47908 (build-shlib, build-moduile, build-module-asneeded): Use it.
47909 ($(common-objpfx)libc.so): Use $(shlib-lds).
47910 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47911 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47913 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47914 DT_FLAGS/DT_FLAGS_1 with zero flags.
47916 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47917 linker script munging.
47919 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47921 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47923 * crypt/sha512.c (sha512_process_block): Perform total addition using
47924 128-bit if possible.
47925 (__sha512_finish_ctx): Likewise.
47926 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47928 * crypt/sha256.c (SWAP64): Define.
47929 (sha256_process_block): Perform total addition using 64-bit if
47931 (__sha256_finish_ctx): Likewise.
47933 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47935 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47936 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47937 * nscd/hstcache.c (cache_addhst): Likewise.
47938 * nscd/grpcache.c (cache_addgr): Likewise.
47939 * nscd/aicache.c (addhstaiX): Likewise
47940 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47942 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47944 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47945 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47946 * nscd/hstcache.c (cache_addhst): Likewise.
47947 * nscd/grpcache.c (cache_addgr): Likewise.
47948 * nscd/aicache.c (addhstaiX): Likewise
47950 2011-07-01 Andreas Schwab <schwab@redhat.com>
47952 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47953 domain only when needed.
47955 2011-06-30 Andreas Schwab <schwab@redhat.com>
47957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47958 is always restored.
47960 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47962 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47963 are re-adding the entry.
47964 * nscd/servicescache.c (cache_addserv): Likewise.
47966 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47968 * sysdeps/generic/dl-irel.h: fix protection against multiple
47970 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47972 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47975 * malloc/memusage.sh: Fix quoting in message.
47976 * debug/xtrace.sh: Likewise.
47978 * configure.in: Remove support for --experimental-malloc option, make
47980 * config.make.in: Likewise.
47981 * malloc/Makefile: Likewise.
47983 2011-06-27 Andreas Schwab <schwab@redhat.com>
47985 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47986 two-byte characters.
47988 2011-06-27 Roland McGrath <roland@hack.frob.com>
47990 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47991 AC_CACHE_CHECK invocation.
47992 * configure: Regenerated.
47994 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47996 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47999 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48000 bit from old_res_options.
48002 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48004 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48005 value type for setfct.
48007 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48010 __gettimeofday instead of gettimeofday.
48012 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48014 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48016 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48023 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48026 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48027 strcpy-sse2-unaligned strncpy-sse2-unaligned
48028 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48029 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48030 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48031 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48032 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48033 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48035 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48036 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48037 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48038 (STRCPY): Support SSE2 and SSSE3 versions.
48040 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48043 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48044 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48045 kernels which artificially limit size of requests.
48047 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48050 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48051 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48052 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48053 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48054 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48055 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48056 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48057 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48058 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48059 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48060 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48061 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48062 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48063 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48065 Enable unaligned load optimization for Intel Core i3, i5 and i7
48067 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48069 (index_Fast_Unaligned_Load): Define.
48070 (HAS_FAST_UNALIGNED_LOAD): Define.
48072 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48074 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48076 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48080 until it is clear that the information is realy needed.
48081 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48083 2011-06-22 Andreas Schwab <schwab@redhat.com>
48085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48087 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48090 /sys/devices/system/cpu/online if it is usable.
48092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48093 reading the information from the /proc filesystem to once a second.
48095 2011-06-21 Andreas Jaeger <aj@suse.de>
48097 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48098 NULL after inclusion of kernel headers.
48100 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48102 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48103 calls to internal_setent.
48106 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48107 addresses using gethostbyname4_r ignore IPv4 addresses.
48109 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48110 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48112 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48114 2011-06-20 David S. Miller <davem@davemloft.net>
48116 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48118 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48120 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48121 (elf_irel): Use it.
48122 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48123 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48124 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48125 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48126 * sysdeps/x86_64/dl-irel.h: Likewise.
48128 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48129 * elf/dl-sym.c: Likewise.
48131 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48133 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48134 need to dereference resplen2.
48136 2011-06-14 Andreas Schwab <schwab@redhat.com>
48138 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48140 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48142 * Makeconfig: Define vardbdir and inst_vardbdir.
48143 * nss/Makefile: Add rules to install db-Makefile.
48145 * nss/nss_db/db-XXX.c: Cleanup.
48147 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48148 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48150 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48151 * nss/makedb.c: Implement -g option to specify that value strings
48152 are generated and should not be added to table iterated over for
48154 * nss/nss_db/db-initgroups.c: New file.
48156 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48159 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48160 (internal_getgrouplist): Adjust to name change.
48161 Update use_initgroups_entry if this is not the first call.
48162 * nss/databases.def: Add initgroups entry.
48164 * nss/makedb.c (compute_tables): Check result of multiple hash table
48165 sizes to minimize maximum chain length.
48167 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48169 * Versions.def: Add entry for libnss_db.
48170 * shlib-versions: Likewise.
48171 * nss/Makefile: Add rules to build libnss_db.
48172 * nss/Versions: Add libnss_db information. Organize libnss_files
48174 * nss/db-Makefile: Add gshadow support. Change rules for the new
48175 makedb progra. Some minor improvements to generate smaller files.
48176 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48178 * nss/makedb.c: ...here.
48179 Improve database format to be smaller and require less memory at
48181 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48183 * nss/nss_db/db-netgrp.c: Likewise.
48184 * nss/nss_db/db-open.c: Likewise.
48185 * nss/nss_files/flies-XXX.x: Adjust comments.
48186 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48187 * nss/nss_files/files-grp.c: Likewise.
48188 * nss/nss_files/files-hosts.c: Likewise.
48189 * nss/nss_files/files-network.c: Likewise.
48190 * nss/nss_files/files-proto.c: Likewise.
48191 * nss/nss_files/files-pwd.c: Likewise.
48192 * nss/nss_files/files-rpc.c: Likewise.
48193 * nss/nss_files/files-service.c: Likewise.
48194 * nss/nss_files/files-sgrp.c: Likewise.
48195 * nss/nss_files/files-spwd.c: Likewise.
48196 * nss/nss_db/db-alias.c: Removed.
48197 * nss/nss_db/dummy-db.h: Removed.
48199 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48201 * nss/makedb.c: Rewritten to not use database library.
48202 * nss/Makefile: Update to build new makedb program.
48204 2011-06-14 Andreas Jaeger <aj@suse.de>
48206 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48207 memset declaration.
48209 2011-06-10 Andreas Schwab <schwab@redhat.com>
48211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48214 2011-06-10 Roland McGrath <roland@hack.frob.com>
48216 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48217 * elf/Makefile ($(objpfx)ld.so): Likewise.
48219 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48220 Don't list ld.so twice in dependencies.
48222 * posix/bug-regex31.c: Include <stdlib.h>.
48224 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48226 * nis/nss_compat/compat-spwd.c
48227 (getspent_next_nss_netgr): Remove unused variable.
48228 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48230 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48231 nonmembers" output to use the right array.
48233 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48235 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48237 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48238 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48239 * catgets/gencat.c (read_input_file): Likewise.
48240 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48242 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48243 variable definition inside #if's controlling its use.
48245 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48247 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48249 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48251 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48254 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48256 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48257 * configure: Regenerated.
48259 * Makerules: Revert last change.
48260 * elf/Makefile: Likewise.
48262 2011-06-09 Roland McGrath <roland@hack.frob.com>
48264 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48265 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48266 (reloc-link): Likewise.
48268 2011-06-09 Ulrich Drepper <drepper@gmail.com>
48270 * elf/Makefile: Add rules to build pldd.
48271 * elf/pldd.c: New file.
48272 * elf/pldd-xx.c: New file.
48274 2011-06-07 Ulrich Drepper <drepper@gmail.com>
48276 * version.h: Update for 2.15 development version.
48278 2011-06-07 David S. Miller <davem@davemloft.net>
48280 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48283 elf_machine_lazy_rel): Likewise.
48284 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48286 elf_machine_lazy_rel): Likewise.
48287 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48288 dl_hwcap via passed in argument.
48289 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48292 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48294 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48296 2011-06-06 Roland McGrath <roland@hack.frob.com>
48299 * manual/fdl-1.1.texi: New file, verbatim from:
48300 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48301 * manual/lgpl-2.1.texi: New file, verbatim from:
48302 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48303 * manual/Makefile (licenses): New variable, list those new file names.
48305 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48307 * manual/fdl.texi: File removed.
48308 * manual/lesser.texi: File removed.
48309 * manual/libc.texinfo (Copying, Documentation License):
48310 Use new @include file names, put @appendix directive before @include.
48312 2011-06-04 Jakub Jelinek <jakub@redhat.com>
48315 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48316 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48317 (mq_open): Add __NTH.
48319 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48322 Assume Intel Core i3/i5/i7 processor if AVX is available.
48324 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48329 2011-05-31 Andreas Schwab <schwab@redhat.com>
48331 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48332 memory. Use alloca_account. Fix memory leak when retrying.
48334 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48336 * version.h (RELEASE): Bump for 2.14 release.
48337 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48339 * config.make.in (RANLIB): Remove entry.
48341 2011-05-30 Ulrich Drepper <drepper@gmail.com>
48343 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48344 (libc.pot): Work around missing support for .ksh extension in xgettext.
48347 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48348 if both request failed.
48349 (send_dg): In case of server errors clear resplen or *resplen2.
48352 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48353 when there are multiple maps.
48354 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48355 (_dl_fini): Remove test here.
48357 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48359 2011-05-29 Ulrich Drepper <drepper@gmail.com>
48362 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48363 bit from old_res_options.
48364 (gaih_inet): Likewise.
48367 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48370 * resolv/res_init.c (res_setoptions): Make the code more compact.
48373 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48377 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48379 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48382 * malloc/malloc.h: Declare malloc hook variables as volatile.
48384 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48388 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48389 raise in the comment.
48390 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48392 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48394 2011-05-28 Ulrich Drepper <drepper@gmail.com>
48397 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48398 grow the buffers more if it already has to be sufficient.
48399 (build_wcs_upper_buffer): Likewise.
48400 * posix/regexec.c (check_matching): Likewise.
48401 (clean_state_log_if_needed): Likewise.
48402 (extend_buffers): Don't enlarge buffers beyond size of the input
48404 Patches mostly by Emil Wojak <emil@wojak.eu>.
48405 * posix/bug-regex32.c: New file.
48406 * posix/Makefile (tests): Add bug-regex32.
48408 * locale/findlocale.c (_nl_find_locale): Return right away if
48409 _nl_explode_name failed.
48410 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48412 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48414 * debug/xtrace.sh: Unify messages.
48415 * malloc/memusage.sh: Likewise.
48418 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48419 time symbol from vDSO. Substitute with vsyscall if not available.
48420 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48423 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48424 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48425 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48426 Add sendmmsg and internal_sendmmsg.
48427 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48428 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48429 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48431 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48432 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48433 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48435 2011-05-27 Ulrich Drepper <drepper@gmail.com>
48438 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48439 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48445 * iconvdata/Makefile (tests): Add bug-iconv9.
48446 * iconvdata/bug-iconv9.c: New file.
48448 2011-05-27 Andreas Schwab <schwab@redhat.com>
48451 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48453 2011-05-25 Jakub Jelinek <jakub@redhat.com>
48455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48456 (struct user_regs_struct): Change intcs field back to cs.
48458 2011-05-25 Ulrich Drepper <drepper@gmail.com>
48460 * po/ja.po: Update from translation team.
48462 2011-05-23 Ulrich Drepper <drepper@gmail.com>
48465 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48466 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48468 2011-05-20 Andreas Schwab <schwab@redhat.com>
48470 * stdlib/longlong.h: Update from GCC.
48472 2011-05-23 Andreas Schwab <schwab@redhat.com>
48474 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48476 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48477 Add parameter name.
48478 (__sysconf): Pass it down.
48480 2011-05-22 Ulrich Drepper <drepper@gmail.com>
48483 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48486 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48487 add in in __libc_use_alloca calls. Adjust callers.
48488 (glob): Use malloc in some situations.
48490 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48491 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48494 2011-05-21 Ulrich Drepper <drepper@gmail.com>
48496 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48497 and CLOCK_BOOTTIME_ALARM.
48500 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48503 * string/_strerror.c (__strerror_r): Print negative errors as signed
48507 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48508 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48509 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48511 * configure.in: Fix typo in redirection and correct removal of test
48512 files in two cases.
48515 * locale/setlocale.c (new_composite_name): Fix test to check for
48516 identical name of all categories.
48519 * libio/filedoalloc.c (local_isatty): New function.
48520 (_IO_file_doallocate): Use local_isatty.
48521 * stdio-common/perror.c (perror): In case a new stream is used
48522 forward the stream error.
48523 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48526 2011-05-20 Ulrich Drepper <drepper@gmail.com>
48529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48531 * include/alloca.h (extend_alloca_account): Define.
48534 * posix/regex.h: Fix comments with documentation of user-accessible
48535 fields after compilation and describe correct free'ing of pattern
48536 after re_compile_pattern.
48537 Patch by Reuben Thomas <rrt@sc3d.org>.
48539 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48541 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48542 and -mno-altivec to prevent the compiler from using Altivec and/or
48543 VSX instructions when the corresponding registers are not available.
48545 2011-05-19 Andreas Schwab <schwab@redhat.com>
48547 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48549 2011-05-19 Ulrich Drepper <drepper@gmail.com>
48551 * libio/freopen.c (freopen): Use __dup2, not dup2.
48552 * libio/freopen64.c (freopen64): Likewise.
48554 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48557 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48558 * math/Makefile (tests): Add test-powl.
48559 (CFLAGS-test-powl.c): Define.
48560 * math/test-powl.c: New file.
48562 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48564 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48566 2011-05-17 Ulrich Drepper <drepper@gmail.com>
48569 * iconvdata/gb18030.c: Update to GB18020-2005.
48571 2011-05-16 Ulrich Drepper <drepper@gmail.com>
48573 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48574 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48575 Patch by Aharon Robbins <arnold@skeeve.com>.
48578 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48582 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48583 through underflows.
48586 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48587 point to strings before performing equality test for error_one_per_line
48591 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48594 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48595 (struct user_fpregs_struct): Avoid __uint*_t types.
48598 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48599 symbol info. Use it instead of calling _dl_addr locally.
48600 (lock_and_info): New function.
48601 (tr_freehook): Call lock_and_info and pass symbol info as additional
48602 parameter to tr_where.
48603 (tr_mallochook): Likewise.
48604 (tr_reallochook): Likewise.
48605 (tr_memalignhook): Likewise.
48607 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48608 used and couldn't be at all thread-safe.
48610 2011-05-15 Ulrich Drepper <drepper@gmail.com>
48612 * libio/freopen.c (freopen): Don't close old file descriptor
48613 before the new one is opened. Instead dup the new file descriptor
48614 to the old one after the new stream is created.
48615 * libio/freopen64.c (freopen64): Likewise.
48616 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48617 * libio/fileops.c (_IO_new_file_close_it): Handle new
48618 _IO_FLAGS2_NOCLOSE flag.
48619 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48620 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48621 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48622 _IO_FLAGS2_NOCLOSE flag.
48623 * include/unistd.h: Add hidden_proto for dup3.
48624 Define __have_dup3.
48625 * io/dup3.c: Define hidden symbol.
48626 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48629 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48630 when an incomplete long option is used.
48631 * posix/tst-getopt_long1.c: New file.
48632 * posix/Makefile (tests): Add tst-getopt_long1.
48635 * scripts/config.guess: Update from autoconf-2.68.
48636 * scripts/config.sub: Likewise.
48639 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48641 (has_cpuclock): ...this. New function.
48642 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48643 macro here based on has_cpuclock code.
48646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48647 First byte (not low byte) is now always NUL.
48648 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48651 Use non-cancelable interfaces.
48654 * locale/iso-639.def: Add entry for Sorani.
48657 * include/stdlib.h: Move include protection to the right place.
48658 Define abort_msg_s. Declare __abort_msg with it.
48659 * stdlib/abort.c (__abort_msg): Adjust type.
48660 * assert/assert.c (__assert_fail_base): New function. Majority
48661 of code from __assert_fail. Allocate memory for __abort_msg with
48663 (__assert_fail): Now call __assert_fail_base.
48664 * assert/assert-perr.c: Remove bulk of implementation. Use
48665 __assert_fail_base.
48666 * include/assert.hL Declare __assert_fail_base.
48667 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48669 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48671 2011-05-14 Ulrich Drepper <drepper@gmail.com>
48675 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48676 until all modules are registered in the DTV.
48677 * elf/Makefile: Add rules to build and run tst-tls19.
48678 * elf/tst-tls19.c: New file.
48679 * elf/tst-tls19mod1.c: New file.
48680 * elf/tst-tls19mod2.c: New file.
48681 * elf/tst-tls19mod3.c: New file.
48682 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48685 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48689 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48690 two-byte sequence errors.
48691 * iconvdata/Makefile (tests): Add bug-iconv8.
48692 * iconvdata/bug-iconv8.c: New file.
48695 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48698 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48701 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48702 (dummy_getcfa): New function.
48703 (init): Get _Unwind_GetCFA address, use dummy if not found.
48704 (backtrace_helper): In recursion check, also check whether CFA changes.
48705 (__backtrace): Completely initialize arg.
48707 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48708 storing incomplete byte sequence in state object. Avoid testing for
48709 guaranteed too small input if we know there is enough data available.
48711 2011-05-11 Andreas Schwab <schwab@redhat.com>
48713 * Makeconfig (+link-pie): Indent.
48714 * Rules (binaries-pie): Define if $(have-fpie) and
48716 (binaries-shared): Also filter out $(binaries-pie).
48717 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48718 * nscd/Makefile (others-pie): Add nscd.
48719 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48720 ($(objpfx)nscd): Remove command override.
48721 * login/Makefile (others-pie): Add pt_chown.
48722 ($(objpfx)pt_chown): Remove command override.
48723 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48724 remove command overrides.
48726 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48728 * libio/tst_putwc.c: Fix error messages.
48731 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48732 currently writing and seek to current position when not.
48733 * libio/Makefile (tests): Add bug-fclose1.
48734 * libio/bug-fclose1.c: New file.
48736 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48739 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48740 don't set DF_1_NODELETE here.
48741 (do_lookup_x): When entering new entry test for copy relocation
48742 and if necessary set DF_1_NODELETE flag.
48743 * elf/tst-unique4.cc: New file.
48744 * elf/tst-unique4.h: New file.
48745 * elf/tst-unique4lib.cc: New file.
48746 * elf/Makefile: Add rules to build and run tst-unique4.
48747 Patch by Piotr Bury <pbury@goahead.com>.
48749 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48752 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48755 * misc/mntent_r.c (addmntent): Flush the stream after the output
48758 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48759 (is_trusted_path_normalize): Skip initial colon. Append slash
48760 to empty buffer. Duplicate is_trusted_path code but allow
48761 constructed patch to be prefix.
48762 (is_dst): Allow $ORIGIN followed by /.
48763 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48764 Correct testing of result of is_trusted_path_normalize
48765 (decompose_rpath): Fix warning.
48767 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48770 * grp/initgroups.c (internal_getgrouplist): When we found the service
48771 list through the initgroups entry in nsswitch.conf do not always
48772 continue on a successful lookup. Don't always use the
48773 __nss_group_database value if it is set.
48774 * nss/nsswitch.conf (initgroups): Change action for successful db
48775 lookup to continue for compatibility.
48777 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48780 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48782 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48784 * iconvdata/tst-tables.sh: Likewise.
48785 * iconvdata/cp770.c: New file.
48786 * iconvdata/cp771.c: New file.
48787 * iconvdata/cp772.c: New file.
48788 * iconvdata/cp773.c: New file.
48789 * iconvdata/cp774.c: New file.
48790 * iconvdata/testdata/CP770: New file.
48791 * iconvdata/testdata/CP770..UTF8: New file.
48792 * iconvdata/testdata/CP771: New file.
48793 * iconvdata/testdata/CP771..UTF8: New file.
48794 * iconvdata/testdata/CP772: New file.
48795 * iconvdata/testdata/CP772..UTF8: New file.
48796 * iconvdata/testdata/CP773: New file.
48797 * iconvdata/testdata/CP773..UTF8: New file.
48798 * iconvdata/testdata/CP774: New file.
48799 * iconvdata/testdata/CP774..UTF8: New file.
48801 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48803 * iconvdata/gen-8bit-gap.sh: Likewise.
48804 * iconvdata/gen-8bit.sh: Likewise.
48806 * locale/iso-639.def: Add ary entry.
48809 * locale/C-translit.h.in: Add U20A1 transliteration.
48812 * locale/iso-639.def: Add wae entry.
48813 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48816 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48820 * locale/C-translit.h.in: Add entry for U20B9.
48821 Patch by pravin.d.s@gmail.com.
48823 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48826 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48827 ENAMETOOLONG use generic getcwd.
48828 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48829 in rtld. Use *stat64.
48830 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48831 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48832 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48833 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48834 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48835 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48836 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48837 __fstatat64 macros.
48838 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48839 * dirent/rewinddir.c: Add libc_hidden_def.
48840 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48841 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48843 * include/dirent.h (__alloc_dir): Add flags parameter.
48844 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48845 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48847 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48848 from fdopendir if O_CLOEXEC is already set.
48850 2011-03-15 Alan Modra <amodra@gmail.com>
48852 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48853 l_tls_firstbyte_offset non-zero. Save padding offset in
48854 l_tls_firstbyte_offset for later use.
48855 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48856 freeing static tls block.
48858 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48860 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48861 where #ifdef was intended. The intent is to prevent ARG_MAX from
48862 being defined by the kernel headers.
48864 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48867 * resolv/resolv.h: Define RES_NOTLDQUERY.
48868 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48869 no-tld-query and set RES_NOTLDQUERY.
48870 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48871 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48872 modern BIND to search name as TLD unless forbidden.
48874 2011-05-07 Petr Baudis <pasky@suse.cz>
48875 Ulrich Drepper <drepper@gmail.com>
48878 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48879 (is_trusted_path): ...to here.
48880 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48881 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48882 using is_trusted_path_normalize() in setuid scripts.
48884 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48886 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48887 __BEGIN/__END_DECLS.
48889 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48892 NSS_STATUS_NOTFOUND if no record was found.
48894 2011-05-05 Andreas Schwab <schwab@redhat.com>
48896 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48897 (headers-not-in-tirpc): Remove rpc/netdb.h
48898 * resolv/netdb.h: Revert last change.
48900 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48902 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48903 circular dependency between libgcc.a and libc.a.
48905 2011-05-05 Andreas Schwab <schwab@redhat.com>
48907 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48908 * nis/Makefile: Don't install rpcsvc/*.
48909 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48910 instead of <rpc/types.h>.
48911 (MAXHOSTNAMELEN): Define.
48913 2011-05-03 Andreas Schwab <schwab@redhat.com>
48915 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48917 2011-04-28 Maciej Babinski <mbabinski@google.com>
48920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48921 gethostbyname4_r when IPv6 results are possible.
48923 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48926 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48927 _PC_PIPE_BUF handling.
48929 2011-04-30 Bruno Haible <bruno@clisp.org>
48932 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48933 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48935 * inet/getnameinfo.c (getnameinfo): Likewise.
48937 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48939 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48940 to groups setting in database lookup.
48941 * nss/nsswitch.conf: Add initgroups entry.
48943 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48946 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48948 Patch by Eric Blake <eblake@redhat.com>.
48950 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48952 * sunrpc/Makefile (need-export-routines): Add svc_run.
48953 (routines): Remove svc_run.
48954 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48955 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48956 * sunrpc/svc_run.c (svc_run): Likewise.
48957 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48959 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48961 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48962 problem in reallocation in last patch.
48964 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48966 * sunrpc/Makefile: Move inclusion of Rules.
48968 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48970 * nss/nss_files/files-initgroups.c: New file.
48971 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48972 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48973 _nss_files_initgroups_dyn.
48975 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48977 * elf/elf.h (R_ARM_IRELATIVE): Define.
48979 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48981 * po/ru.po: Update from translation team.
48983 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48985 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48988 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48991 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48992 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48993 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48994 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48997 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48999 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49001 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49005 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49008 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49010 * stdlib/bug-getcontext.c: New file.
49011 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49013 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49015 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49016 instructions into .machine "z9-109".
49017 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49018 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49020 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49022 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49023 between environment variables and auxiliary vector.
49025 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49027 * Makefile: Add rules to build linkobj/libc.so.
49028 * include/libc-symbols.h: Define libc_hidden_nolink.
49029 * include/rpc/auth.h: Mark functions which are to be hidden.
49030 * include/rpc/auth_des.h: Likewise.
49031 * include/rpc/auth_unix.h: Likewise.
49032 * include/rpc/clnt.h: Likewise.
49033 * include/rpc/des_crypt.h: Likewise.
49034 * include/rpc/key_prot.h: Likewise.
49035 * include/rpc/pmap_clnt.h: Likewise.
49036 * include/rpc/pmap_prot.h: Likewise.
49037 * include/rpc/pmap_rmt.h: Likewise.
49038 * include/rpc/rpc_msg.h: Likewise.
49039 * include/rpc/svc.h: Likewise.
49040 * include/rpc/svc_auth.h: Likewise.
49041 * include/rpc/xdr.h: Likewise.
49042 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49043 * nss/Makefile: Likewise.
49044 * sunrpc/Makefile: Don't install headers. Build library with normal
49045 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49046 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49047 for the compat linking library. Remove use of INTDEF/INTUSE.
49048 * sunrpc/auth_none.c: Likewise.
49049 * sunrpc/auth_unix.c: Likewise.
49050 * sunrpc/authdes_prot.c: Likewise.
49051 * sunrpc/authuxprot.c: Likewise.
49052 * sunrpc/clnt_gen.c: Likewise.
49053 * sunrpc/clnt_perr.c: Likewise.
49054 * sunrpc/clnt_raw.c: Likewise.
49055 * sunrpc/clnt_simp.c: Likewise.
49056 * sunrpc/clnt_tcp.c: Likewise.
49057 * sunrpc/clnt_udp.c: Likewise.
49058 * sunrpc/clnt_unix.c: Likewise.
49059 * sunrpc/des_crypt.c: Likewise.
49060 * sunrpc/des_soft.c: Likewise.
49061 * sunrpc/get_myaddr.c: Likewise.
49062 * sunrpc/key_call.c: Likewise.
49063 * sunrpc/key_prot.c: Likewise.
49064 * sunrpc/netname.c: Likewise.
49065 * sunrpc/pm_getmaps.c: Likewise.
49066 * sunrpc/pm_getport.c: Likewise.
49067 * sunrpc/pmap_clnt.c: Likewise.
49068 * sunrpc/pmap_prot.c: Likewise.
49069 * sunrpc/pmap_prot2.c: Likewise.
49070 * sunrpc/pmap_rmt.c: Likewise.
49071 * sunrpc/publickey.c: Likewise.
49072 * sunrpc/rpc_cmsg.c: Likewise.
49073 * sunrpc/rpc_common.c: Likewise.
49074 * sunrpc/rpc_dtable.c: Likewise.
49075 * sunrpc/rpc_prot.c: Likewise.
49076 * sunrpc/rpc_thread.c: Likewise.
49077 * sunrpc/rtime.c: Likewise.
49078 * sunrpc/svc.c: Likewise.
49079 * sunrpc/svc_auth.c: Likewise.
49080 * sunrpc/svc_authux.c: Likewise.
49081 * sunrpc/svc_raw.c: Likewise.
49082 * sunrpc/svc_run.c: Likewise.
49083 * sunrpc/svc_simple.c: Likewise.
49084 * sunrpc/svc_tcp.c: Likewise.
49085 * sunrpc/svc_udp.c: Likewise.
49086 * sunrpc/svc_unix.c: Likewise.
49087 * sunrpc/svcauth_des.c: Likewise.
49088 * sunrpc/xcrypt.c: Likewise.
49089 * sunrpc/xdr.c: Likewise.
49090 * sunrpc/xdr_array.c: Likewise.
49091 * sunrpc/xdr_float.c: Likewise.
49092 * sunrpc/xdr_intXX_t.c: Likewise.
49093 * sunrpc/xdr_mem.c: Likewise.
49094 * sunrpc/xdr_rec.c: Likewise.
49095 * sunrpc/xdr_ref.c: Likewise.
49096 * sunrpc/xdr_sizeof.c: Likewise.
49097 * sunrpc/xdr_stdio.c: Likewise.
49099 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49102 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49103 * sysdeps/ia64/dl-tls.h: Likewise.
49104 * sysdeps/powerpc/dl-tls.h: Likewise.
49105 * sysdeps/s390/dl-tls.h: Likewise.
49106 * sysdeps/sh/dl-tls.h: Likewise.
49107 * sysdeps/sparc/dl-tls.h: Likewise.
49108 * sysdeps/x86_64/dl-tls.h: Likewise.
49109 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49111 2011-03-14 Andreas Schwab <schwab@redhat.com>
49113 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49114 rpath element also skip the following colon.
49115 (expand_dynamic_string_token): Add is_path parameter and pass
49116 down to DL_DST_REQUIRED and _dl_dst_substitute.
49117 (decompose_rpath): Call expand_dynamic_string_token with
49118 non-zero is_path. Ignore empty rpaths.
49119 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49122 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49127 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49130 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49131 Patch by Filipe David Manana <fdmanana@apache.org>.
49133 2011-04-07 Andreas Schwab <schwab@redhat.com>
49135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49136 Maintain aligned stack.
49137 (CHECK_RSP): Remove unused macro.
49139 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49141 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49142 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49144 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49146 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49148 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49150 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49153 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49154 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49155 * sysdeps/x86_64/memmove.c: New file.
49156 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49157 (memcpy): Renamed to ...
49158 (__new_memcpy): This.
49159 (memcpy): Provide GLIBC_2_14 memcpy.
49160 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49161 (memcpy): Provide GLIBC_2_2_5 memcpy.
49163 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49166 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49168 2011-03-30 Andreas Schwab <schwab@redhat.com>
49170 * misc/syncfs.c: New file.
49171 * misc/Makefile (routines): Add syncfs.
49172 * posix/unistd.h: Declare syncfs.
49173 * sysdeps/unix/syscalls.list: Add syncfs.
49175 2011-04-01 Andreas Schwab <schwab@redhat.com>
49177 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49180 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49182 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49183 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49184 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49187 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49189 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49191 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49193 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49197 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49198 sync_file_range.c with -fexceptions.
49199 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49200 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49201 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49202 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49203 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49204 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49206 sync_file_range as cancellation point
49207 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49208 now a wrapper around __call_sync_file_range with cancellation handling.
49209 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49210 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49211 function name to __call_sync_file_range.
49212 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49213 Add call_sync_file_range.
49215 2011-04-01 Andreas Schwab <schwab@redhat.com>
49217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49220 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49222 * iconv/iconv.h: Fix typo in comment.
49223 * io/fcntl.h: Likewise.
49224 * libio/stdio.h: Likewise.
49225 * posix/spawn.h: Likewise.
49226 * posix/unistd.h: Likewise.
49227 * stdlib/stdlib.h: Likewise.
49228 * time/time.h: Likewise.
49229 * wcsmbs/wchar.h: Likewise.
49231 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49232 open_by_handle): Add.
49233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49234 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49235 Augment a few comments.
49236 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49238 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49241 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49244 * io/fcntl.h (AT_EMPTY_PATH): Define.
49246 2011-03-30 Ulrich Drepper <drepper@gmail.com>
49248 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49249 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49250 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49252 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
49253 * Versions.def: Add GLIBC_2.14.
49254 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49257 2011-03-22 Ulrich Drepper <drepper@gmail.com>
49259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49261 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49263 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49266 * string/test-strncmp.c (do_page_test): New function.
49267 (check2): Likewise.
49268 (test_main): Call check2.
49269 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49271 2011-03-20 Ulrich Drepper <drepper@gmail.com>
49274 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49275 Handle cache information in CPU leaf 4.
49276 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49278 2011-03-18 Ulrich Drepper <drepper@gmail.com>
49281 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49282 character representation.
49283 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49285 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49287 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49288 END(__isnan) to END(__isnanf) to match function entry point/label
49289 EALIGN(__isnanf,...).
49291 2011-03-10 Jakub Jelinek <jakub@redhat.com>
49293 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49295 2011-03-10 Ulrich Drepper <drepper@gmail.com>
49298 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49299 copy from the symbol referenced in the relocation to initialize the
49301 Patch by Piotr Bury <pbury@goahead.com>.
49302 * elf/Makefile: Add rules to build and tst-unique3.
49303 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49304 * elf/tst-unique3.cc: New file.
49305 * elf/tst-unique3.h: New file.
49306 * elf/tst-unique3lib.cc: New file.
49307 * elf/tst-unique3lib2.cc: New file.
49309 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49311 2011-03-10 Mike Frysinger <vapier@gentoo.org>
49313 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49314 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49317 2011-03-06 Ulrich Drepper <drepper@gmail.com>
49319 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49320 to-be-loaded object along a path to loader is ld.so.
49322 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49323 Ulrich Drepper <drepper@gmail.com>
49325 * sysdeps/x86_64/memset.S: After aligning destination, code
49326 branches to different locations depending on the value of
49327 misalignment, when multiarch is enabled. Fix this.
49329 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49331 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49332 Set _x86_64_preferred_memory_instruction for AMD processsors.
49333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49334 Set bit_Prefer_SSE_for_memop for AMD processors.
49336 2011-03-04 Ulrich Drepper <drepper@gmail.com>
49338 * libio/fmemopen.c (fmemopen): Optimize a bit.
49340 2011-03-03 Andreas Schwab <schwab@redhat.com>
49342 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49344 2011-03-03 Roland McGrath <roland@redhat.com>
49346 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49348 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49350 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49351 __bzero_ultra1 instead of __memset_ultra1.
49353 2011-02-23 Andreas Schwab <schwab@redhat.com>
49354 Ulrich Drepper <drepper@gmail.com>
49357 * include/link.h (struct link_map): Add l_orig_initfini.
49358 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49359 returning unsuccessfully.
49360 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49361 close of a file loaded at startup, restore the original l_initfini
49363 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49364 list, store the pointer.
49365 * elf/Makefile ($(objpfx)noload-mem): New rule.
49366 (noload-ENV): Define.
49367 (tests): Add $(objpfx)noload-mem.
49368 * elf/noload.c: Include <memcheck.h>.
49369 (main): Call mtrace. Close all opened handles.
49371 2011-02-17 Andreas Schwab <schwab@redhat.com>
49374 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49375 dependencies are missing.
49377 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49379 Fix __if_freereq crash: Unlike the generic version which uses free,
49381 * sysdeps/mach/hurd/ifreq.h: New file.
49383 2011-01-27 Petr Baudis <pasky@suse.cz>
49384 Ulrich Drepper <drepper@gmail.com>
49387 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49388 to extend_alloca().
49389 * stdio-common/bug23.c: New file.
49390 * stdio-common/Makefile (tests): Add bug23.
49392 2010-09-28 Andreas Schwab <schwab@redhat.com>
49393 Ulrich Drepper <drepper@gmail.com>
49396 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49397 before performing relro protection. At old place add assertion
49398 to make sure nothing changed.
49400 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49401 Glauber de Oliveira Costa <glommer@gmail.com>
49403 * elf/elf.h: Add new ARM TLS relocs.
49405 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49408 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49410 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49412 * sysdeps/wordsize-64/tst-writev.c: New file.
49414 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49416 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49417 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49418 insns in _dl_start to prevent a TOC reference before relocs are
49421 2011-02-15 Ulrich Drepper <drepper@gmail.com>
49424 * Makeconfig: Remove RANLIB definition.
49425 * Makerules: Don't use RANLIB.
49426 * aclocal.m4: Remove ranlib test.
49427 * configure.in: No need to check for ranlib.
49428 * elf/rtld-Rules: Don't use RANLIB.
49430 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49432 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49434 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49435 inclusion protection macro.
49437 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49438 SIGRTMIN and SIGRTMAX and print information in that case only when
49439 SIGRTMIN is defined.
49441 2011-02-11 Jakub Jelinek <jakub@redhat.com>
49443 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49444 arginfo fn returning -1.
49446 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49447 and thousands string is zero terminated.
49449 2011-02-03 Andreas Schwab <schwab@redhat.com>
49451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49452 sysdeps/unix/sysv/linux/bits/socket.h.
49454 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49456 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49457 (__CPU_COUNT): Remove old macros.
49458 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49459 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49460 (__CPU_ALLOC, __CPU_FREE): Add macros.
49461 (__sched_cpualloc, __sched_cpufree): Add declarations.
49463 2011-02-05 Ulrich Drepper <drepper@gmail.com>
49465 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49466 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49467 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49468 (readdhstai): Return value of addhstaiX call.
49469 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49470 (addgrbyX): Return value returned by cache_addgr.
49471 (readdgrbyname): Return value returned by addgrbyX.
49472 (readdgrbygid): Likewise.
49473 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49474 (addpwbyX): Return value returned by cache_addpw.
49475 (readdpwbyname): Return value returned by addhstbyX.
49476 (readdpwbyuid): Likewise.
49477 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49478 (addservbyX): Return value returned by cache_addserv.
49479 (readdservbyname): Return value returned by addservbyX:
49480 (readdservbyport): Likewise.
49481 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49482 (addhstbyX): Return value returned by cache_addhst.
49483 (readdhstbyname): Return value returned by addhstbyX.
49484 (readdhstbyaddr): Likewise.
49485 (readdhstbynamev6): Likewise.
49486 (readdhstbyaddrv6): Likewise.
49487 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49488 (readdinitgroups): Return value returned by addinitgroupsX.
49489 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49490 (prune_cache): Keep track of timeout value of re-added entries.
49491 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49492 * nscd/nscd.h: Adjust prototypes of readd* functions.
49494 2011-02-04 Roland McGrath <roland@redhat.com>
49496 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49497 (nis_stats): Likewise.
49498 * nis/nis_modify.c (nis_modify): Likewise.
49499 * nis/nis_remove.c (nis_remove): Likewise.
49500 * nis/nis_add.c (nis_add): Likewise.
49502 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49504 * posix/fnmatch_loop.c: Add some consts.
49506 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49508 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49511 * config.make.in (config-cflags-novzeroupper): Define.
49512 * configure.in: Substitute libc_cv_cc_novzeroupper.
49513 * elf/Makefile (AVX-CFLAGS): Define.
49514 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49515 (CFLAGS-tst-auditmod4a.c): Likewise.
49516 (CFLAGS-tst-auditmod4b.c): Likewise.
49517 (CFLAGS-tst-auditmod6b.c): Likewise.
49518 (CFLAGS-tst-auditmod6c.c): Likewise.
49519 (CFLAGS-tst-auditmod7b.c): Likewise.
49520 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49522 2011-02-02 Ulrich Drepper <drepper@gmail.com>
49524 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49525 function to the callback.
49526 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49528 2011-02-02 Andreas Schwab <schwab@redhat.com>
49530 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49533 2011-01-19 Ulrich Drepper <drepper@gmail.com>
49536 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49538 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49540 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49543 * elf/Makefile: Add rules to build and run new test.
49544 * elf/tst-initorder.c: New file.
49545 * elf/tst-initorder.exp: New file.
49546 * elf/tst-initordera1.c: New file.
49547 * elf/tst-initordera2.c: New file.
49548 * elf/tst-initordera3.c: New file.
49549 * elf/tst-initordera4.c: New file.
49550 * elf/tst-initorderb1.c: New file.
49551 * elf/tst-initorderb2.c: New file.
49552 * elf/tst-order-a1.c: New file.
49553 * elf/tst-order-a2.c: New file.
49554 * elf/tst-order-a3.c: New file.
49555 * elf/tst-order-a4.c: New file.
49556 * elf/tst-order-b1.c: New file.
49557 * elf/tst-order-b2.c: New file.
49558 * elf/tst-order-main.c: New file.
49559 New test case by George Gensure <werkt0@gmail.com>.
49561 2010-10-01 Andreas Schwab <schwab@redhat.com>
49563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49564 decoding ACE if AI_CANONIDN.
49566 2011-01-18 Ulrich Drepper <drepper@gmail.com>
49568 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49570 2011-01-17 Ulrich Drepper <drepper@gmail.com>
49572 * version.h (RELEASE): Bump for 2.13 release.
49573 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49575 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49577 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49579 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49580 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49581 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49584 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49586 * posix/getconf.c: Update copyright year.
49587 * catgets/gencat.c: Likewise.
49588 * csu/version.c: Likewise.
49589 * debug/catchsegv.sh: Likewise.
49590 * debug/xtrace.sh: Likewise.
49591 * elf/ldconfig.c: Likewise.
49592 * elf/ldd.bash.in: Likewise.
49593 * elf/sprof.c (print_version): Likewise.
49594 * iconv/iconv_prog.c: Likewise.
49595 * iconv/iconvconfig.c: Likewise.
49596 * locale/programs/locale.c: Likewise.
49597 * locale/programs/localedef.c: Likewise.
49598 * malloc/memusage.sh: Likewise.
49599 * malloc/mtrace.pl: Likewise.
49600 * nscd/nscd.c (print_version): Likewise.
49601 * nss/getent.c: Likewise.
49603 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49604 PF_CAIF, and PF_ALG.
49605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49607 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49609 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49610 (modules-names): Use them.
49611 (ifunc-test-modules, ifunc-pie-tests): Define.
49612 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49613 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49614 (test-extras): Likewise.
49615 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49616 $(compile-command.c).
49617 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49618 (all-built-dso): Define.
49619 (check-textrel.out, check-execstack.out): Depend on it.
49621 * configure.in: Don't override --enable-multi-arch.
49623 2011-01-15 Ulrich Drepper <drepper@gmail.com>
49626 * nscd/hstcache.c (tryagain): Define.
49627 (cache_addhst): Return tryagain not notfound for temporary errors.
49628 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49631 2011-01-14 Ulrich Drepper <drepper@gmail.com>
49634 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49635 to make the syscall.
49636 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49639 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49640 and fall back to matching as normal character if the string ends before
49641 the matching ']' is found. This is what POSIX requires.
49642 * posix/testfnm.c: Adjust test result.
49643 * posix/globtest.sh: Adjust test result. Add new test.
49644 * posix/tst-fnmatch.input: Likewise.
49645 * posix/tst-fnmatch2.c: Add new test.
49647 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49649 * elf/Makefile (check-execstack): Revert last change. Depend on
49651 (check-execstack.h): New target.
49652 (generated): Add check-execstack.h.
49653 * elf/check-execstack.c: Include "check-execstack.h".
49654 (main): Revert last change.
49655 (handle_file): Return zero if GNU_STACK is absent and
49656 DEFAULT_STACK_PERMS doesn't include PF_X.
49658 2011-01-13 Ulrich Drepper <drepper@gmail.com>
49660 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49661 in child fails because the descriptor is already closed.
49662 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49663 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49664 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49667 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49671 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49672 temporary buffer used to handle multi lookups locally.
49673 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49675 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49677 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49680 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49682 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49683 alignment for SSE2.
49685 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49688 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49689 characters. When rounding increased number of integer digits recompute
49691 * stdio-common/tst-grouping.c: New file.
49692 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49694 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49696 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49697 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49699 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49701 * bits/select.h: Likewise.
49703 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49705 * po/ja.po: Update from translation team.
49707 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49710 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49711 implementation just like for lxstat, fxstatat, et al.
49713 2010-12-27 Jim Meyering <meyering@redhat.com>
49716 * posix/regexec.c (build_trtable): Return failure indication upon
49717 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49719 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49722 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49723 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49724 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49725 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49728 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49731 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49732 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49734 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49736 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49737 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49738 script has SORT_BY_INIT_PRIORITY.
49739 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49740 NO_CTORS_DTORS_SECTIONS is defined.
49741 * elf/soinit.c: Likewise.
49742 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49743 NO_CTORS_DTORS_SECTIONS is defined.
49744 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49745 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49746 * sysdeps/sh/init-first.c: Likewise.
49747 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49749 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49751 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49752 always use the slow path.
49754 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49756 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49757 similar rule which adds the sysdep directories to the header search in
49758 order to pick up the correct platform stackinfo.h.
49759 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49760 perform test if it is, otherwise return successfully without testing.
49761 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49762 DEFAULT_STACK_PERMS define in stackinfo.h.
49763 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49764 defined in stackinfo.h.
49765 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49766 DEFAULT_STACK_PERMS defined in stackinfo.h.
49767 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49768 * sysdeps/ia64/stackinfo.h: Likewise.
49769 * sysdeps/s390/stackinfo.h: Likewise.
49770 * sysdeps/sh/stackinfo.h: Likewise.
49771 * sysdeps/sparc/stackinfo.h: Likewise.
49772 * sysdeps/x86_64/stackinfo.h: Likewise.
49773 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49774 PF_X for powerpc64. Retain PF_X for powerpc32.
49776 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49778 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49780 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49781 GETDENTS_64BIT_ALIGNED.
49783 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49785 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49787 2010-12-10 Andreas Schwab <schwab@redhat.com>
49789 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49792 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49793 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49795 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49796 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49798 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49801 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49804 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49806 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49808 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49810 * po/it.po: Update from translation team.
49812 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49814 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49817 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49819 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49821 2010-11-24 Andreas Schwab <schwab@redhat.com>
49823 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49825 (gaih_getanswer_slice): Likewise.
49827 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49831 2010-05-31 Petr Baudis <pasky@suse.cz>
49834 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49835 silently even in the chroot mode.
49837 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49839 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49840 last patch a bit. Pretty printing
49842 2010-05-31 Petr Baudis <pasky@suse.cz>
49845 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49846 initialization of skip_initgroups_dyn.
49848 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49850 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49851 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49853 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49855 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49857 2010-11-11 Andreas Schwab <schwab@redhat.com>
49859 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49860 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49861 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49862 ($(objpfx)tst-fnmatch-mem): New rule.
49863 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49864 * posix/tst-fnmatch.c (main): Call mtrace.
49866 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49869 Support Intel processor model 6 and model 0x2c.
49871 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49873 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49876 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49879 * string/test-strncasecmp.c (check_result): New function.
49880 (do_one_test): Use it.
49881 (check1): New function.
49882 (test_main): Use it.
49883 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49884 Support strcasecmp and strncasecmp.
49886 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49889 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49892 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49894 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49898 * sysdeps/x86_64/multiarch/bzero.S: New file.
49899 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49900 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49901 * sysdeps/x86_64/multiarch/memset.S: New file.
49902 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49904 Set bit_Prefer_SSE_for_memop for Intel processors.
49905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49907 (index_Prefer_SSE_for_memop): Define.
49908 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49910 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49912 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49913 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49915 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49918 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49919 (__x86_64_raw_data_cache_size_half): Likewise.
49920 (__x86_64_raw_shared_cache_size): Likewise.
49921 (__x86_64_raw_shared_cache_size_half): Likewise.
49923 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49924 (__x86_64_raw_data_cache_size_half): Likewise.
49925 (__x86_64_raw_shared_cache_size): Likewise.
49926 (__x86_64_raw_shared_cache_size_half): Likewise.
49927 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49928 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49929 and __x86_64_raw_shared_cache_size_half. Round
49930 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49931 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49932 to multiple of 256 bytes.
49934 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49938 of inacessible symlinks. Verify result of symlink before returning it.
49939 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49940 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49942 2010-10-28 Erich Ritz <erichritz@gmail.com>
49944 * math/math.h (isinf): Fix typo in comment.
49946 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49948 * po/da.po: Update from translation team.
49950 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49952 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49953 is added to the list.
49955 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49956 Ulrich Drepper <drepper@gmail.com>
49958 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49959 the global list here. Move code to...
49960 (_dl_add_to_namespace_list): ...here. New function.
49961 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49962 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49963 * elf/dl-load.c (lose): Don't remove the element from the list.
49964 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49965 (_dl_map_object): Likewise.
49967 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49970 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49971 into all bytes of SSE register.
49972 Patch by Richard Li <richardpku@gmail.com>.
49974 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49977 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49980 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49982 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49983 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49984 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49985 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49990 2010-10-22 Andreas Schwab <schwab@redhat.com>
49992 * include/dlfcn.h (__RTLD_SECURE): Define.
49993 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49994 mode & __RTLD_SECURE instead.
49995 (open_path): Rename preloaded parameter to secure.
49996 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49997 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49998 * elf/dl-deps.c (openaux): Likewise.
49999 * elf/rtld.c (struct map_args): Remove is_preloaded.
50000 (map_doit): Don't use it.
50001 (dl_main): Likewise.
50002 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50003 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50005 2010-09-09 Andreas Schwab <schwab@redhat.com>
50007 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50008 (sysd-rules-targets): Remove duplicates.
50009 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50010 rtld-%.$o dependency.
50012 2010-10-18 Andreas Schwab <schwab@redhat.com>
50014 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50015 _dl_map_object do it.
50017 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50019 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50020 fast fma builtins, define the macros in the C99 standard.
50021 (FP_FAST_FMAF): Likewise.
50022 (FP_FAST_FMAL): Likewise.
50023 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50025 * bits/mathdef.h: Update copyright year.
50026 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50028 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50030 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50031 builtins, define the macros in the C99 standard.
50032 (FP_FAST_FMAF): Likewise.
50033 (FP_FAST_FMAL): Likewise.
50034 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50036 (FP_FAST_FMAF): Likewise.
50038 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50041 * math/libm-test.inc (fma_test): Some new testcases.
50042 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50043 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50044 y and infinite z. Do multiplication by C already in long double.
50045 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50047 y and infinite z. Do bitwise or of inexact bit into u.d.
50048 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50049 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50050 * sysdeps/i386/fpu/s_fma.S: Removed.
50051 * sysdeps/i386/fpu/s_fmal.S: Removed.
50053 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50056 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50058 computation is not scheduled after fetestexcept. Fix value
50059 of minimum denormal long double.
50061 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50064 * math/libm-test.inc (fma_test): Add some more tests.
50065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50068 2010-10-15 Andreas Schwab <schwab@redhat.com>
50070 * scripts/data/localplt-s390-linux-gnu.data: New file.
50071 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50073 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50076 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50077 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50079 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50081 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50083 if one of x and y is very large and the other is subnormal.
50084 * sysdeps/s390/fpu/s_fmaf.c: New file.
50085 * sysdeps/s390/fpu/s_fma.c: New file.
50086 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50087 * sysdeps/powerpc/fpu/s_fma.S: New file.
50088 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50089 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50090 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50092 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50095 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50097 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50098 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50099 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50100 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50101 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50102 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50103 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50105 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50108 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50109 * posix/bug-regex31.input: Add test case.
50111 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50113 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50114 * posix/bug-regex31.input: New file.
50117 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50118 (parse_sub_exp): Fix last change, use postorder.
50120 * posix/bug-regex31.c: New file.
50121 * posix/Makefile: Add rules to build and run bug-regex31.
50123 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50126 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50129 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50130 to have entries in sys_siglist.
50133 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50136 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50139 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50140 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50141 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50142 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50143 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50144 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50145 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50146 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50147 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50148 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50149 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50150 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50151 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50152 * math/ftestexcept.c (fetestexcept): Likewise.
50153 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50154 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50155 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50156 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50157 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50158 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50159 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50161 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50164 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50167 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50169 * string/bug-strstr1.c: New file.
50170 * string/Makefile: Add rules to build and run bug-strstr1.
50172 2010-10-05 Eric Blake <eblake@redhat.com>
50175 * string/str-two-way.h (two_way_long_needle): Always clear memory
50176 when skipping input due to the shift table.
50178 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50181 * malloc/mcheck.c: Handle large requests.
50184 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50185 for strncmp and strncasecmp.
50186 * string/stratcliff.c: Add tests for strcmp and strncmp.
50187 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50189 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50191 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50194 2010-09-30 Andreas Jaeger <aj@suse.de>
50196 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50197 (CGROUP_SUPER_MAGIC): Define.
50198 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50199 Handle btrfs and cgroup file systems.
50200 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50203 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50205 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50206 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50208 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50211 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50212 trying to locate the ELF header.
50214 2010-09-27 Andreas Schwab <schwab@redhat.com>
50217 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50218 Mask out sign-bit copies when constructing f_fsid.
50220 2010-09-24 Petr Baudis <pasky@suse.cz>
50222 * debug/stack_chk_fail_local.c: Add missing licence exception.
50223 * debug/warning-nop.c: Likewise.
50225 2010-09-15 Joseph Myers <joseph@codesourcery.com>
50227 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50228 implementing getdents64 using getdents syscall, set d_type if
50229 __ASSUME_GETDENTS32_D_TYPE.
50231 2010-09-16 Andreas Schwab <schwab@redhat.com>
50233 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50234 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50236 2010-09-21 Ulrich Drepper <drepper@redhat.com>
50239 * posix/unistd.h: Undo change of feature selection for ftruncate from
50242 2010-09-20 Ulrich Drepper <drepper@redhat.com>
50244 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50247 2010-09-20 Andreas Schwab <schwab@redhat.com>
50249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50253 2010-09-14 Andreas Schwab <schwab@redhat.com>
50255 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50256 variables after CHECK_SP call.
50257 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50259 2010-09-13 Andreas Schwab <schwab@redhat.com>
50260 Ulrich Drepper <drepper@redhat.com>
50262 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50263 re-relocationg ld.so.
50264 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50265 _dl_init_paths call.
50266 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50269 2010-09-14 Ulrich Drepper <drepper@redhat.com>
50271 * resolv/res_init.c (__res_vinit): Count the default server we added.
50273 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50274 Ulrich Drepper <drepper@redhat.com>
50277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50278 (____longjmp_chk): Use %ebx for saving value across system call.
50281 2010-09-06 Andreas Schwab <schwab@redhat.com>
50283 * manual/Makefile: Don't mix pattern rules with normal rules.
50285 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50287 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50289 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50290 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50291 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50292 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50296 2010-09-04 Ulrich Drepper <drepper@redhat.com>
50299 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50300 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50302 2010-09-02 Ulrich Drepper <drepper@redhat.com>
50304 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50305 * sysdeps/x86_64/addmul_1.S: Likewise.
50306 * sysdeps/x86_64/lshift.S: Likewise.
50307 * sysdeps/x86_64/mul_1.S: Likewise.
50308 * sysdeps/x86_64/rshift.S: Likewise.
50309 * sysdeps/x86_64/sub_n.S: Likewise.
50310 * sysdeps/x86_64/submul_1.S: Likewise.
50312 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50314 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50315 Define __sched_param instead of SCHED_* and sched_param when
50316 <bits/sched.h> is included with __need_schedparam defined.
50317 * bits/sched.h [__need_schedparam]
50318 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50319 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50320 (__defined_schedparam): Define to 1.
50321 (__sched_param): New structure, identical to sched_param.
50322 (__need_schedparam): Undefine.
50324 2010-08-31 Mike Frysinger <vapier@gentoo.org>
50326 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50327 (epoll_create1): Declare.
50329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50331 2010-08-31 Andreas Schwab <schwab@redhat.com>
50334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50335 shifting retval into place.
50337 2010-09-01 Ulrich Drepper <drepper@redhat.com>
50339 * nis/rpcsvc/nis.h: Update copyright notice.
50340 * nis/rpcsvc/nis.x: Likewise.
50341 * nis/rpcsvc/nis_callback.h: Likewise.
50342 * nis/rpcsvc/nis_callback.x: Likewise.
50343 * nis/rpcsvc/nis_object.x: Likewise.
50344 * nis/rpcsvc/nis_tags.h: Likewise.
50345 * nis/rpcsvc/yp.h: Likewise.
50346 * nis/rpcsvc/yp.x: Likewise.
50347 * nis/rpcsvc/ypupd.h: Likewise.
50348 * nis/yp_xdr.c: Likewise.
50349 * nis/ypupdate_xdr.c: Likewise.
50351 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50352 mainly the body of pmap_getport. Add parameters to specify timeouts.
50353 (pmap_getport): Use __libc_rpc_getport.
50354 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50355 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50356 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50358 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50363 2010-08-27 Roland McGrath <roland@redhat.com>
50365 * sysdeps/i386/i686/multiarch/Makefile
50366 (CFLAGS-varshift.c): New variable.
50368 2010-08-27 Ulrich Drepper <drepper@redhat.com>
50370 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50371 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50373 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50375 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50377 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50379 * sysdeps/x86_64/strlen.S: Unroll the loop.
50380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50381 strlen-sse2 strlen-sse2-bsf.
50382 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50383 __strlen_no_bsf if bit_Slow_BSF is set.
50384 (__strlen_sse42): Removed.
50385 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50386 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50388 2010-08-25 Roland McGrath <roland@redhat.com>
50390 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50391 * sysdeps/x86_64/multiarch/varshift.c: New file.
50392 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50393 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50394 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50395 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50397 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50400 strlen-sse2 strlen-sse2-bsf.
50401 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50402 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50403 (__strlen_sse2): Removed.
50404 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50405 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50407 bit_Slow_BSF for Atom.
50408 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50409 (index_Slow_BSF): Define.
50410 (HAS_SLOW_BSF): Define.
50412 2010-08-25 Ulrich Drepper <drepper@redhat.com>
50415 * resolv/res_init.c (__res_vinit): When no server address at all
50416 is given default to loopback.
50418 2010-08-24 Roland McGrath <roland@redhat.com>
50420 * configure.in: Remove config-name.h generation.
50421 * configure: Regenerated.
50422 * config-name.in: File removed.
50423 * scripts/config-uname.sh: New file.
50424 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50425 ($(objdir)config-name.h): New target.
50427 * sunrpc/rpc_parse.h: Avoid nested comment.
50429 2010-08-24 Richard Henderson <rth@redhat.com>
50430 Ulrich Drepper <drepper@redhat.com>
50431 H.J. Lu <hongjiu.lu@intel.com>
50433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50435 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50436 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50437 _mm_alignr_epi8 with _mm_loadu_si128.
50438 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50439 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50440 (__m128i_shift_right): Removed.
50441 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50442 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50443 * sysdeps/x86_64/multiarch/varshift.h: New file.
50444 * sysdeps/x86_64/multiarch/varshift.S: New file.
50446 2010-08-21 Mike Frysinger <vapier@gentoo.org>
50448 * configure.in: Move assembler checks to before sysdep dir checking.
50450 2010-08-20 Petr Baudis <pasky@suse.cz>
50452 * LICENSES: Sync the sunrpc license.
50454 2010-08-19 Ulrich Drepper <drepper@redhat.com>
50456 * sunrpc/auth_des.c: Update copyright notice once again.
50457 * sunrpc/auth_none.c: Likewise.
50458 * sunrpc/auth_unix.c: Likewise.
50459 * sunrpc/authdes_prot.c: Likewise.
50460 * sunrpc/authuxprot.c: Likewise.
50461 * sunrpc/bindrsvprt.c: Likewise.
50462 * sunrpc/clnt_gen.c: Likewise.
50463 * sunrpc/clnt_perr.c: Likewise.
50464 * sunrpc/clnt_raw.c: Likewise.
50465 * sunrpc/clnt_simp.c: Likewise.
50466 * sunrpc/clnt_tcp.c: Likewise.
50467 * sunrpc/clnt_udp.c: Likewise.
50468 * sunrpc/clnt_unix.c: Likewise.
50469 * sunrpc/des_crypt.c: Likewise.
50470 * sunrpc/des_soft.c: Likewise.
50471 * sunrpc/get_myaddr.c: Likewise.
50472 * sunrpc/getrpcport.c: Likewise.
50473 * sunrpc/key_call.c: Likewise.
50474 * sunrpc/key_prot.c: Likewise.
50475 * sunrpc/openchild.c: Likewise.
50476 * sunrpc/pm_getmaps.c: Likewise.
50477 * sunrpc/pm_getport.c: Likewise.
50478 * sunrpc/pmap_clnt.c: Likewise.
50479 * sunrpc/pmap_prot.c: Likewise.
50480 * sunrpc/pmap_prot2.c: Likewise.
50481 * sunrpc/pmap_rmt.c: Likewise.
50482 * sunrpc/rpc/auth.h: Likewise.
50483 * sunrpc/rpc/auth_unix.h: Likewise.
50484 * sunrpc/rpc/clnt.h: Likewise.
50485 * sunrpc/rpc/des_crypt.h: Likewise.
50486 * sunrpc/rpc/key_prot.h: Likewise.
50487 * sunrpc/rpc/netdb.h: Likewise.
50488 * sunrpc/rpc/pmap_clnt.h: Likewise.
50489 * sunrpc/rpc/pmap_prot.h: Likewise.
50490 * sunrpc/rpc/pmap_rmt.h: Likewise.
50491 * sunrpc/rpc/rpc.h: Likewise.
50492 * sunrpc/rpc/rpc_des.h: Likewise.
50493 * sunrpc/rpc/rpc_msg.h: Likewise.
50494 * sunrpc/rpc/svc.h: Likewise.
50495 * sunrpc/rpc/svc_auth.h: Likewise.
50496 * sunrpc/rpc/types.h: Likewise.
50497 * sunrpc/rpc/xdr.h: Likewise.
50498 * sunrpc/rpc_clntout.c: Likewise.
50499 * sunrpc/rpc_cmsg.c: Likewise.
50500 * sunrpc/rpc_common.c: Likewise.
50501 * sunrpc/rpc_cout.c: Likewise.
50502 * sunrpc/rpc_dtable.c: Likewise.
50503 * sunrpc/rpc_hout.c: Likewise.
50504 * sunrpc/rpc_main.c: Likewise.
50505 * sunrpc/rpc_parse.c: Likewise.
50506 * sunrpc/rpc_parse.h: Likewise.
50507 * sunrpc/rpc_prot.c: Likewise.
50508 * sunrpc/rpc_sample.c: Likewise.
50509 * sunrpc/rpc_scan.c: Likewise.
50510 * sunrpc/rpc_scan.h: Likewise.
50511 * sunrpc/rpc_svcout.c: Likewise.
50512 * sunrpc/rpc_tblout.c: Likewise.
50513 * sunrpc/rpc_util.c: Likewise.
50514 * sunrpc/rpc_util.h: Likewise.
50515 * sunrpc/rpcinfo.c: Likewise.
50516 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50517 * sunrpc/rpcsvc/key_prot.x: Likewise.
50518 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50519 * sunrpc/rpcsvc/mount.x: Likewise.
50520 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50521 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50522 * sunrpc/rpcsvc/rex.x: Likewise.
50523 * sunrpc/rpcsvc/rstat.x: Likewise.
50524 * sunrpc/rpcsvc/rusers.x: Likewise.
50525 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50526 * sunrpc/rpcsvc/spray.x: Likewise.
50527 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50528 * sunrpc/rtime.c: Likewise.
50529 * sunrpc/svc.c: Likewise.
50530 * sunrpc/svc_auth.c: Likewise.
50531 * sunrpc/svc_authux.c: Likewise.
50532 * sunrpc/svc_raw.c: Likewise.
50533 * sunrpc/svc_run.c: Likewise.
50534 * sunrpc/svc_simple.c: Likewise.
50535 * sunrpc/svc_tcp.c: Likewise.
50536 * sunrpc/svc_udp.c: Likewise.
50537 * sunrpc/svc_unix.c: Likewise.
50538 * sunrpc/svcauth_des.c: Likewise.
50539 * sunrpc/xcrypt.c: Likewise.
50540 * sunrpc/xdr.c: Likewise.
50541 * sunrpc/xdr_array.c: Likewise.
50542 * sunrpc/xdr_float.c: Likewise.
50543 * sunrpc/xdr_mem.c: Likewise.
50544 * sunrpc/xdr_rec.c: Likewise.
50545 * sunrpc/xdr_ref.c: Likewise.
50546 * sunrpc/xdr_sizeof.c: Likewise.
50547 * sunrpc/xdr_stdio.c: Likewise.
50549 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50552 2010-08-19 Andreas Schwab <schwab@redhat.com>
50554 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50556 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
50558 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50559 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50560 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50561 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50562 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50563 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50564 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50565 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50566 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50567 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50568 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50569 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50570 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50571 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50573 2010-07-26 Anton Blanchard <anton@samba.org>
50575 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50576 * malloc/arena.c (heap_trim): Likewise.
50578 2010-08-16 Ulrich Drepper <drepper@redhat.com>
50580 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50582 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50583 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50585 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50587 * sysdeps/i386/elf/Makefile: New file.
50589 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50591 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50592 from fanotify_init.
50593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50596 2010-08-15 Ulrich Drepper <drepper@redhat.com>
50598 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50600 * sysdeps/multiarch/strcmp.S: Likewise.
50602 2010-08-14 Ulrich Drepper <drepper@redhat.com>
50604 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50605 strncase_l-nonascii.
50606 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50607 Add strncase_l-ssse3.
50608 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50609 * sysdeps/x86_64/strcmp.S: Likewise.
50610 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50611 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50612 * sysdeps/x86_64/strncase.S: New file.
50613 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50614 * sysdeps/x86_64/strncase_l.S: New file.
50615 * string/Makefile (strop-tests): Add strncasecmp.
50616 * string/test-strncasecmp.c: New file.
50618 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50621 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50622 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50624 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50626 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50628 2010-08-12 Ulrich Drepper <drepper@redhat.com>
50630 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50631 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50632 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50634 2010-05-01 Alan Modra <amodra@gmail.com>
50636 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50637 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50638 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50639 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50640 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50641 tidying. Don't tail-call __sigjmp_save for static lib.
50642 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50644 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50645 (CALL_MCOUNT): Add eh info, and nop after bl.
50646 (TAIL_CALL_SYSCALL_ERROR): New macro.
50647 (PSEUDO_RET): Use it.
50648 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50649 Correct save location of integer regs and cr.
50650 (_dl_profile_resolve): Correct cr save location. Delete nops
50651 after bl when SHARED. Reduce cfi size a little by better
50652 placement of cfi directives.
50653 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50654 make a stack frame. Instead use parm save area as a temp.
50655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50656 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50658 Don't make a stack frame for parent, use parm save area.
50659 Increase child stack frame to 112 bytes. Don't save unused reg,
50660 and adjust reg usage. Set up cfi on error recovery and
50661 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50663 (__makecontext): Add dummy nop after jump to exit.
50664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50665 Use correct parm save area and cr save, reduce stack frame.
50666 Correct cfi for possible PSEUDO_RET frame setup.
50667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50668 Branch to local label emitted by PSEUDO_RET rather than
50671 2010-08-12 Andreas Schwab <schwab@redhat.com>
50674 * locale/programs/locale.c (print_assignment): New function.
50675 (show_locale_vars): Use it.
50677 2010-08-11 Ulrich Drepper <drepper@redhat.com>
50679 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50681 (struct statfs64): Likewise.
50682 (_STATFS_F_FLAGS): Define.
50683 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50684 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50685 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50686 (ST_VALID): Define locally.
50687 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50688 __statvfs_getflags, use the provided value.
50689 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50690 __ASSUME_STATFS_F_FLAGS.
50692 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50694 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50695 Add sys/fanotify.h.
50696 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50697 fanotify_mask for GLIBC_2.13.
50698 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50699 fanotify_init and fanotify_mark.
50700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50701 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50703 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50705 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50706 prlimit64 for GLIBC_2.13.
50707 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50712 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50713 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50714 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50717 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50720 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50721 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50723 * nss/Makefile: Add rules to build and run tst-nss-test1.
50724 * shlib-versions: Add entry for libnss_test1.
50725 * nss/nss_test1.c: New file.
50726 * nss/tst-nss-test1.c: New file.
50728 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50729 (__nss_configure_lookup): Set appropriate entry in
50730 __nss_configure_lookup to true.
50731 * nss/nsswitch.h: Define enum with indeces of databases in
50732 databases and __nss_database_custom arrays. Declare
50733 __nss_database_custom.
50734 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50735 to avoid using nscd when custom rules are installed.
50736 * nss/getXXbyYY_r.c: Likewise.
50737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50739 * nss/nss_files/files-parse.c: Whitespace fixes.
50741 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50744 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50745 * posix/fnmatch_loop.c: Likewise.
50747 2010-07-17 Andi Kleen <ak@linux.intel.com>
50749 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50750 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50751 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50752 * Versions.def [GLIBC_2.13]: Add.
50754 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50756 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50757 Also fail if tpwd after pwuid call is NULL.
50759 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50761 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50762 when converting to ms.
50764 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50766 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50767 EOPNOTSUPP errors with ENOTTY.
50768 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50769 EOPNOTSUPP errors with ENOTTY.
50771 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50773 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50774 Add strcasecmp_l-ssse3.
50775 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50777 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50778 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50779 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50781 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50783 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50785 * string/Makefile (strop-tests): Add strcasecmp.
50786 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50787 strcasecmp_l-nonascii.
50788 (gen-as-const-headers): Add locale-defines.sym.
50789 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50790 * sysdeps/x86_64/strcasecmp.S: New file.
50791 * sysdeps/x86_64/strcasecmp_l.S: New file.
50792 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50793 * sysdeps/x86_64/locale-defines.sym: New file.
50794 * string/test-strcasecmp.c: New file.
50796 * string/test-strcasestr.c: Test both ends of the range of characters.
50797 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50799 2010-07-29 Roland McGrath <roland@redhat.com>
50802 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50804 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50806 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50809 2010-07-27 Andreas Schwab <schwab@redhat.com>
50811 * manual/memory.texi (Malloc Tunable Parameters): Document
50814 2010-07-26 Roland McGrath <roland@redhat.com>
50817 * configure.in (-fgnu89-inline check): Set and substitute
50818 gnu89_inline, not libc_cv_gnu89_inline.
50819 * configure: Regenerated.
50820 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50822 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50824 * string/test-strnlen.c: New file.
50825 * string/Makefile (strop-tests): Add strnlen.
50826 * string/tester.c (test_strnlen): Add a few more test cases.
50827 * string/tst-strlen.c: Better error reporting.
50829 * sysdeps/x86_64/strnlen.S: New file.
50831 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50833 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50834 lower-latency instructions.
50836 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50838 * string/test-strcasestr.c: New file.
50839 * string/test-strstr.c: New file.
50840 * string/Makefile (strop-tests): Add strstr and strcasestr.
50841 * string/str-two-way.h: Don't undefine MAX.
50842 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50844 2010-07-21 Andreas Schwab <schwab@redhat.com>
50846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50847 strcasestr-nonascii.
50848 (CFLAGS-strcasestr-nonascii.c): Define.
50849 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50850 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50851 Remove unused attribute.
50853 2010-07-20 Roland McGrath <roland@redhat.com>
50855 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50856 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50857 ld.so.cache was broken. With it, there is no way to disable dsocaps
50858 like LD_HWCAP_MASK can disable hwcaps.
50860 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50862 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50864 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50866 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50867 call in strcasestr.
50868 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50869 __strcasestr_sse42_nonascii.
50870 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50871 strcasestr-nonascii.c.
50872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50874 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50876 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50877 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50878 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50879 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50881 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50883 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50886 2010-07-06 Andreas Schwab <schwab@redhat.com>
50889 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50892 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50894 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50895 _PC_PIPE_BUF using F_GETPIPE_SZ.
50897 2010-07-05 Roland McGrath <roland@redhat.com>
50899 * manual/arith.texi (Rounding Functions): Fix rint description
50900 implicit in round description.
50902 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50904 * elf/Makefile: Fix linking for a few tests to make recent linker
50907 2010-06-30 Andreas Schwab <schwab@redhat.com>
50909 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50910 $(common-objpfx)libc_nonshared.a.
50912 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50914 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50915 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50916 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50917 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50918 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50919 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50920 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50921 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50936 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50937 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50938 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50939 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50940 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50941 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50942 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50943 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50944 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50945 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50946 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50947 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50963 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50965 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50966 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50967 * string/memmove.c (memmove): Renamed to ...
50968 (MEMMOVE): ...this. Default to memmove.
50969 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50970 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50973 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50974 mempcpy-ssse3-back memmove-ssse3-back.
50975 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50977 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50978 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50979 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50980 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50981 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50982 * sysdeps/x86_64/multiarch/memmove.c: New file.
50983 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50984 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50985 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50986 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50987 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50990 (index_Fast_Copy_Backward): Define.
50991 (HAS_ARCH_FEATURE): Define.
50992 (HAS_FAST_REP_STRING): Define.
50993 (HAS_FAST_COPY_BACKWARD): Define.
50995 2010-06-21 Andreas Schwab <schwab@redhat.com>
50997 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50998 Restore proper fallback handling.
51000 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51003 * posix/group_member.c (__group_member): Correct checking loop.
51005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51006 OOM in getpwuid_r correctly. Return error number when the caller
51007 should return, otherwise -1.
51008 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51009 call returning > 0 value.
51010 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51012 2010-06-07 Andreas Schwab <schwab@redhat.com>
51014 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51015 libc_nonshared.a from targets in modules-names.
51017 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51019 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51022 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51024 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51025 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51026 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51029 2010-06-02 Andreas Schwab <schwab@redhat.com>
51031 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51033 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51035 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51037 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51041 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51042 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51044 2010-06-14 Roland McGrath <roland@redhat.com>
51046 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51048 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51050 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51051 __REDIRECT followed by __THROW.
51052 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51053 * posix/getopt.h (getopt): Likewise.
51055 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51057 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51058 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51059 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51061 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51062 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51064 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51066 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51068 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51072 Properly check family and model.
51074 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51076 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51078 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51080 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51082 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51084 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51087 2010-05-19 Andreas Schwab <schwab@redhat.com>
51089 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51092 2010-05-21 Andreas Schwab <schwab@redhat.com>
51094 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51095 and internal_recvmmsg.
51096 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51097 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51098 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51099 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51101 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51102 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51103 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51105 2010-05-20 Andreas Schwab <schwab@redhat.com>
51107 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51109 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51111 POWER7 optimizations.
51112 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51113 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51115 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51117 * version.h: Update for 2.13 development version.
51119 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51121 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51122 exceptions. Return 0.
51124 2010-05-07 Roland McGrath <roland@redhat.com>
51126 * elf/ldconfig.c (main): Add a const.
51128 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51130 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51131 (args_options): Add no-idn option.
51132 (ahosts_keys_int): Add idn_flags to ai_flags.
51133 (parse_option): Handle 'i' option to clear idn_flags.
51135 * malloc/malloc.c (_int_free): Possible race in the most recently
51136 added check. Only act on the data if no current modification
51139 See ChangeLog.17 for earlier changes.