]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove spaces.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
eb04247d
WD
12014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2
3 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7
13d84554
CD
82014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9 Helge Deller <deller@gmx.de>
10
11 [BZ #17508]
12 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15
15f9c5df
JM
162014-10-23 Joseph Myers <joseph@codesourcery.com>
17
18 [BZ #14132]
19 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20 Remove macro definition.
21 (__ashrdi3_v_glibc20): Likewise.
22 (__lshrdi3_v_glibc20): Likewise.
23 (__cmpdi2_v_glibc20): Likewise.
24 (__ucmpdi2_v_glibc20): Likewise.
25 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31
c6dfed24
RM
322014-10-22 Roland McGrath <roland@hack.frob.com>
33
34 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
35 old GNU extension [0] syntax.
36 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37 alloca rather than an array member with variable length.
38 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39 * nscd/nscd.c (invalidate_db): New function, broken out of ...
40 (parse_opt): ... here. Likewise use alloca there.
41 Validate the -i argument before checking for rootness.
42 (send_shutdown): New function, broken out of ...
43 (parse_opt): ... here.
44
8c2b1ed8
RM
452014-10-22 Roland McGrath <roland@hack.frob.com>
46
47 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
48 macro to get at the _rt_local_ro field.
49 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
50 ([PIC] case) or _dl_hwcap ([!PIC] case).
51 * sysdeps/arm/setjmp.S: Likewise.
52
53 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
54 * sysdeps/arm/configure.ac: New check to define it.
55 * sysdeps/arm/configure: Regenerated.
56 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
57 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
58 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
59 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
60 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
61 Use move/movt pair instead of a load.
62 (LDST_GLOBAL): Macro removed.
63 (LDR_GLOBAL): New macro replaces it.
64 (LDR_HIDDEN): New macro.
65 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
66 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
67
68 * setjmp/tst-setjmp-static.c: New file.
69 * setjmp/Makefile (tests): Add it.
70 (tests-static): New variable.
71
b5af9297
MR
722014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
73
74 [BZ #17485]
75 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
76
a13d0d74
JM
772014-10-21 Joseph Myers <joseph@codesourcery.com>
78
79 [BZ #14132]
80 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
81
f05e73f6
RM
822014-10-21 Roland McGrath <roland@hack.frob.com>
83
84 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
85
6ab1d1ea
RM
862014-10-20 Roland McGrath <roland@hack.frob.com>
87
88 * io/fts.c (dirent_not_directory): New function.
89 (fts_build): Call it.
90
ab49e763
RM
912014-10-20 Roland McGrath <roland@hack.frob.com>
92
e436eb79
RM
93 * nptl/version.c (__nptl_main): Use normal __write rather than
94 INTERNAL_SYSCALL.
95 (banner): Update copyright years.
96
6af246cf
RM
97 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
98 gettimeofday.
99 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
100 * nptl/pthread_cond_timedwait.c: Likewise.
101 * nptl/pthread_mutex_timedlock.c: Likewise.
102 * nptl/sem_timedwait.c: Likewise.
103
ab49e763
RM
104 * sysdeps/nptl/bits/libc-lock.h
105 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
106 (__libc_lock_init_recursive): Return void, not 0.
107 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
108 (__libc_rwlock_init): Likewise.
109 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
110
f50277c1
TR
1112014-10-20 Torvald Riegel <triegel@redhat.com>
112
113 [BZ #15215]
114 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
115 (__pthread_once_slow): ... here.
116 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
117 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
118
63668b70
TR
1192014-10-20 Torvald Riegel <triegel@redhat.com>
120
121 [BZ #15215]
122 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
123 __PTHREAD_ONCE_FORK_GEN_INCR): New.
124 * sysdeps/nptl/fork.c (__libc_fork): Use them.
125 * nptl/pthread_once.c (__pthread_once): Likewise.
126 Update comments.
127
42b7f5d4
JM
1282014-10-20 Joseph Myers <joseph@codesourcery.com>
129
130 [BZ #14138]
131 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
132 name.
133 (writev): Use __libc_writev as strong name.
134 * sysdeps/unix/sysv/linux/readv.c: Remove file.
135 * sysdeps/unix/sysv/linux/writev.c: Likewise.
136
b0643088
RM
1372014-10-17 Roland McGrath <roland@hack.frob.com>
138
114c4e09
RM
139 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
140
674b8978
RM
141 * sysdeps/i386/nptl/tls.h
142 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
143 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
144 New macros.
145 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
146 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
147 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
148 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
149 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
150 Call CHECK_THREAD_SYSINFO instead of doing an assert.
151
184ee940
RM
152 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
153 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
154 on [__NR_futex].
155 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
156 broken out of ...
157 (__pthread_mutex_init): ... here. Call it.
158 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
159 Conditionalize PI cases on [__NR_futex].
160 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
161 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
162 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
163
327ae257
RM
164 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
165 conditional on [SIGSETXID].
166 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
167 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
168 is defined. Likewise for SIGSETXID.
169 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
170 Conditionalize definitions on [SIGSETXID].
171 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
172 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
173 unblocking on [SIGCANCEL].
174
b0643088
RM
175 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
176 [__NR_set_robust_list].
177
33cc770b
SP
1782014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
179
180 * string/strcoll_l.c (get_next_seq): Fix up formatting.
181 (do_compare): Likewise.
182
0742aef6
LH
1832014-10-17 Leonhard Holz <leonhard.holz@web.de>
184
185 [BZ #15884]
186 * string/strcoll_l.c: Don't include stdio.h.
187 (coll_seq): Remove members idxarr and rulearr.
188 (get_next_seq_cached): Remove function.
189 (get_next_seq): Likewise.
190 (get_next_seq_nocache): Rename to get_next_seq.
191 (do_compare): Remove function.
192 (do_compare_nocache): Rename to do_compare.
193 (STRCOLL): Remove weight and rules cache.
194
ee54ce44
RM
1952014-10-16 Roland McGrath <roland@hack.frob.com>
196
197 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
198 * sysdeps/arm/sfp-machine.h: ... to here.
199 * sysdeps/arm/Implies: Remove arm/soft-fp.
200
a75d3b02
JM
2012014-10-14 Joseph Myers <joseph@codesourcery.com>
202
203 * conform/data/sys/utsname.h-data (*_t): Allow.
204 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
205 [POSIX] (WEXITED): Do not expect constant.
206 [POSIX] (WSTOPPED): Likewise.
207 [POSIX] (WNOHANG): Likewise.
208 [POSIX] (WNOWAIT): Likewise.
209 [POSIX] (siginfo_t): Do not expect type or elements.
210 [POSIX] (pid_t): Do not expect type.
211 [POSIX] (signal.h): Do not allow header.
212 [POSIX] (sys/resource.h): Likewise.
213 [POSIX] (si_*): Do not allow pattern.
214 [POSIX] (W*): Likewise.
215 [POSIX] (P_*): Likewise.
216 [POSIX] (BUS_*): Likewise.
217 [POSIX] (CLD_*): Likewise.
218 [POSIX] (FPE_*): Likewise.
219 [POSIX] (ILL_*): Likewise.
220 [POSIX] (POLL_*): Likewise.
221 [POSIX] (SEGV_*): Likewise.
222 [POSIX] (SI_*): Likewise.
223 [POSIX] (TRAP_*): Likewise.
224 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
225 variable.
226
fda389c8
SP
2272014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
228
229 [BZ #12926]
230 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
231 infinite loop when __recvmsg returns 0.
232
6bc6bd3b
JM
2332014-10-10 Joseph Myers <joseph@codesourcery.com>
234
fcb32af1
JM
235 * CANCEL-FCT-WAIVE: Remove file.
236 * CANCEL-FILE-WAIVE: Likewise.
237
6bc6bd3b
JM
238 [BZ #14132]
239 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
240 instead of INTVARDEF.
241 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
242 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
243 rtld_hidden_data_def instead of INTVARDEF.
244 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
245 * elf/dl-deps.c (expand_dst): Likewise.
246 * elf/dl-load.c (_dl_dst_count): Likewise.
247 (_dl_dst_substitute): Likewise.
248 (decompose_rpath): Likewise.
249 (_dl_init_paths): Likewise.
250 (open_path): Likewise.
251 (_dl_map_object): Likewise.
252 * elf/rtld.c (dl_main): Likewise.
253 (process_dl_audit): Likewise.
254 (process_envvars): Likewise.
255 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
256 Remove declaration.
257 (__libc_enable_secure): Use rtld_hidden_proto.
258
b8c80a7e
KS
2592014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
260
261 * elf/dl-load.c
262 (add_path): New function broken out of _dl_rtld_di_serinfo.
263 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
264
ff12c11f
JM
2652014-10-09 Joseph Myers <joseph@codesourcery.com>
266
5c0508a3
JM
267 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
268 parentheses around macro arguments.
269 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
270 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
271 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
272 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
273 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
274 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
275 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
276 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
277 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
278 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
279 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
280 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
281 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
282 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
283 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
284 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
285 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
286 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
287 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
288 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
289 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
290 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
291 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
292 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
293 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
294 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
295 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
296 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
297 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
298 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
299 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
300 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
301 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
302 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
303 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
304 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
305 Likewise.
306 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
307 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
308 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
309 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
310 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
311 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
312 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
313 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
314 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
315 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
316 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
317 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
318 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
319 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
320 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
321 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
322 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
323 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
324 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
325 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
326 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
327 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
328 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
329 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
330 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
331 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
332 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
333 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
334 (_FP_FRAC_SRS_1): Likewise.
335 (_FP_FRAC_CLZ_1): Likewise.
336 (_FP_MUL_MEAT_1_imm): Likewise.
337 (_FP_MUL_MEAT_1_wide): Likewise.
338 (_FP_MUL_MEAT_1_hard): Likewise.
339 (_FP_SQRT_MEAT_1): Likewise.
340 (_FP_FRAC_ASSEMBLE_1): Likewise.
341 (_FP_FRAC_DISASSEMBLE_1): Likewise.
342 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
343 (__FP_CLZ_2): Likewise.
344 (_FP_MUL_MEAT_2_wide): Likewise.
345 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
346 (_FP_MUL_MEAT_2_gmp): Likewise.
347 (_FP_MUL_MEAT_2_120_240_double): Likewise.
348 (_FP_SQRT_MEAT_2): Likewise.
349 (_FP_FRAC_ASSEMBLE_2): Likewise.
350 (_FP_FRAC_DISASSEMBLE_2): Likewise.
351 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
352 (_FP_FRAC_CLZ_4): Likewise.
353 (_FP_MUL_MEAT_4_wide): Likewise.
354 (_FP_MUL_MEAT_4_gmp): Likewise.
355 (_FP_SQRT_MEAT_4): Likewise.
356 (_FP_FRAC_ASSEMBLE_4): Likewise.
357 (_FP_FRAC_DISASSEMBLE_4): Likewise.
358 * soft-fp/op-common.h (_FP_CMP): Likewise.
359 (_FP_CMP_EQ): Likewise.
360 (_FP_CMP_UNORD): Likewise.
361 (_FP_TO_INT): Likewise.
362 (_FP_FROM_INT): Likewise.
363 [!__FP_CLZ] (__FP_CLZ): Likewise.
364 (_FP_DIV_HELP_imm): Likewise.
365 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
366 Likewise.
367 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
368 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
369 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
370 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
371 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
372 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
373 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
374 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
375 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
376 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
377 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
378 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
379 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
380 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
381 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
382 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
383 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
384 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
385 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
386 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
387 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
388 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
389 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
390 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
391 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
394 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
395 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
396 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
397 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
398 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
399 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
400 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
401 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
402 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
403 (FP_UNPACK_RAW_SP): Likewise.
404 (FP_PACK_RAW_S): Likewise.
405 (FP_PACK_RAW_SP): Likewise.
406 (FP_UNPACK_S): Likewise.
407 (FP_UNPACK_SP): Likewise.
408 (FP_UNPACK_SEMIRAW_S): Likewise.
409 (FP_UNPACK_SEMIRAW_SP): Likewise.
410 (FP_PACK_S): Likewise.
411 (FP_PACK_SP): Likewise.
412 (FP_PACK_SEMIRAW_S): Likewise.
413 (FP_PACK_SEMIRAW_SP): Likewise.
414 (_FP_SQRT_MEAT_S): Likewise.
415 (FP_CMP_S): Likewise.
416 (FP_CMP_EQ_S): Likewise.
417 (FP_CMP_UNORD_S): Likewise.
418 (FP_TO_INT_S): Likewise.
419 (FP_FROM_INT_S): Likewise.
420
a736ec37
JM
421 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
422
ff12c11f
JM
423 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
424 (FP_EX_INVALID_IMZ): Likewise.
425 (FP_EX_INVALID_IMZ_FMA): Likewise.
426 (FP_EX_INVALID_ISI): Likewise.
427 (FP_EX_INVALID_ZDZ): Likewise.
428 (FP_EX_INVALID_IDI): Likewise.
429 (FP_EX_INVALID_SQRT): Likewise.
430 (FP_EX_INVALID_CVI): Likewise.
431 (FP_EX_INVALID_VC): Likewise.
432 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
433 "invalid" exceptions.
434 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
435 (_FP_ADD_INTERNAL): Likewise.
436 (_FP_MUL): Likewise.
437 (_FP_FMA): Likewise.
438 (_FP_DIV): Likewise.
439 (_FP_CMP_CHECK_NAN): Likewise.
440 (_FP_SQRT): Likewise.
441 (_FP_TO_INT): Likewise.
442 (FP_EXTEND): Likewise.
443
b6dcfe8c
AM
4442014-10-09 Allan McRae <allan@archlinux.org>
445
446 * po/fr.po: Update French translation from translation project.
447
2d6a47ba
JM
4482014-10-09 Joseph Myers <joseph@codesourcery.com>
449
cb831245
JM
450 [BZ #14132]
451 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
452 of INTDEF.
453 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
454 (__cxa_atexit): Use libc_hidden_proto.
455 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
456
5deeb190
JM
457 [BZ #14132]
458 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
459 declaration.
460 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
461 [!_ISOMAC] (__iswspace_l_internal): Likewise.
462 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
463 [!_ISOMAC] (__iswctype_internal): Likewise.
464 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
465 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
466 alias.
467 (fcntl): Remove __fcntl_internal alias.
468 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
469 __connect_internal alias.
470 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
471 Likewise.
472
454ac701
JM
473 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
474 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
475 FP_DENORM_ZERO.
476 (_FP_CHECK_FLUSH_ZERO): New macro.
477 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
478 (_FP_CMP): Likewise.
479 (_FP_CMP_EQ): Likewise.
480 (_FP_TO_INT): Do not set inexact for subnormal arguments if
481 FP_DENORM_ZERO.
482 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
483 (FP_TRUNC): Likewise.
484
0022e688
JM
485 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
486 treated as invalid conversion, not as normal exponent.
487
73e28d9c
JM
488 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
489 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
490 (_FP_CMP_EQ): Likewise.
491 (_FP_CMP_UNORD): Likewise.
492 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
493 (FP_CMP_EQ_D): Likewise.
494 (FP_CMP_UNORD_D): Likewise.
495 * soft-fp/extended.h (FP_CMP_E): Likewise.
496 (FP_CMP_EQ_E): Likewise.
497 (FP_CMP_UNORD_E): Likewise.
498 * soft-fp/quad.h (FP_CMP_Q): Likewise.
499 (FP_CMP_EQ_Q): Likewise.
500 (FP_CMP_UNORD_Q): Likewise.
501 * soft-fp/single.h (FP_CMP_S): Likewise.
502 (FP_CMP_EQ_S): Likewise.
503 (FP_CMP_UNORD_S): Likewise.
504 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
505 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
506 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
507 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
508 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
509 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
510 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
511 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
512 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
513 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
514 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
515 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
516 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
517 to FP_CMP_Q.
518 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
519 FP_CMP_Q.
520 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
521 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
522 FP_CMP_EQ_Q.
523 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
524 FP_CMP_Q.
525 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
526 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
527 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
528 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
529 FP_CMP_EQ_Q.
530 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
531 FP_CMP_Q.
532 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
533 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
534 FP_CMP_EQ_Q.
535 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
536 FP_CMP_Q.
537 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
538 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
539 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
540 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
541 FP_CMP_EQ_Q.
542
43059f42
JM
543 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
544 a subnormal result, set the underflow exception if trapping on
545 underflow is enabled.
546 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
547 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
548 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
549 redefine to 0.
550 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
551 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
552 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
553 * soft-fp/extendxftf2.c (__extendxftf2): Use
554 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
555
2d6a47ba
JM
556 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
557 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
558 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
559 FP_HANDLE_EXCEPTIONS.
560 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
561 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
562 FP_HANDLE_EXCEPTIONS.
563 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
564 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
565 FP_HANDLE_EXCEPTIONS.
566 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
567 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
568 FP_HANDLE_EXCEPTIONS.
569
620f462e
JM
5702014-10-08 Joseph Myers <joseph@codesourcery.com>
571
572 [BZ #14132]
573 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
574 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
575 use INTUSE.
576 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
577 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
578 Remove alias.
579 (__adjtimex): Define using libc_hidden_ver.
580 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
581 Remove declaration.
582 (ntp_gettime): Call __adjtimex directly.
583 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
584 Remove declaration.
585 (ntp_gettimex): Call __adjtimex directly.
586 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
587 __adjtimex_internal alias.
588
c763c5d2
RM
5892014-10-08 Roland McGrath <roland@hack.frob.com>
590
591 [BZ #17460]
592 * nscd/nscd.c (more_help): Rewrite list of tables collection
593 using xstrdup and asprintf.
594
595 * nscd/nscd_conf.c: Remove local xstrdup declaration.
596
7b8fb2b8
RM
5972014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
598 Roland McGrath <roland@hack.frob.com>
599
600 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
601 (do_lookup_unique): ... local function 'enter' here; update callers.
602
abb280f7
JM
6032014-10-06 Joseph Myers <joseph@codesourcery.com>
604
f7b42517
JM
605 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
606 compat_symbol calls on [SHARED].
607 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
608 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
609 Remove.
610 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
611 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
612 (oldsetrlimit): Remove.
613 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
615 (lchown): New syscall entry.
616 (oldsetrlimit): Remove.
617 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
618 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
619 (oldsetrlimit): Remove.
620 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
621
abb280f7
JM
622 [BZ #14138]
623 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
624 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
625 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
626 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
627 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
628 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
629 (fchown): Likewise.
630 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
631 (fchown): Likewise.
632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
633 Likewise.
634
47d46237
AZ
6352014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
636
637 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
638 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
639 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
640 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
641 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
642 Likewise.
643 (__old_sem_post): Likewise.
644
6452014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 646
845a7343
CM
647 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
648 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
649 HAVE_CLOCK_GETTIME_VSYSCALL macros.
650 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
651 Use INLINE_VSYSCALL macro.
652 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
653 __vdso_clock_gettime.
654 * sysdeps/unix/sysv/linux/tile/init-first.c
655 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
656 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
657 __vdso_clock_gettime.
658
83d641ef
CM
659 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
660 to set up frame more cleanly.
661
d9cd52e6
CM
662 * sysdeps/tile/memcmp.c: New file.
663
4b68ea11
CM
664 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
665
c86f7b80
CM
666 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
667 * sysdeps/tile/tilegx/strcasestr.c: New file.
668 * sysdeps/tile/tilegx/strnlen.c: New file.
669 * sysdeps/tile/tilegx/strstr.c: New file.
670
1c4c1a6f
CM
671 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
672
99d86ea3
AS
6732014-10-06 Arjun Shankar <arjun.is@lostca.se>
674
675 * nptl/tst-setuid3.c: Write errors to stdout.
676
06210a44
KS
6772014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
678
679 * elf/dl-deps.c
680 (preload): New functions broken out of _dl_map_object_deps.
681 (_dl_map_object_deps): Remove a nested function. Update call sites.
682
6268f532
JM
6832014-10-01 Joseph Myers <joseph@codesourcery.com>
684
685 [BZ #14138]
686 * sysdeps/unix/sysv/linux/execve.c: Remove file.
687 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
688
b925285f
SE
6892014-10-01 Steve Ellcey <sellcey@mips.com>
690
691 * sysdeps/mips/strcmp.S: New.
692
754a15c6
JM
6932014-09-30 Joseph Myers <joseph@codesourcery.com>
694
695 [BZ #14138]
696 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
697 (linkat): Likewise.
698 (mkdirat): Likewise.
699 (readlinkat): Likewise.
700 (renameat): Likewise.
701 (symlinkat): Likewise.
702 (unlinkat): Likewise.
703 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
704 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
705 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
706 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
707 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
708 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
709 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
710
85bb81c9
WN
7112014-09-30 Will Newton <will.newton@linaro.org>
712
dc6fe23b
WN
713 * math/math.h: Define long double math functions if
714 _LIBC_TEST is defined.
715 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
716
85bb81c9
WN
717 * localedata/Makefile: Move assignment to tests-special
718 into an ifdef testing run-built-tests.
719 * timezone/Makefile: Likewise.
720
b7e02da4
JM
7212014-09-29 Joseph Myers <joseph@codesourcery.com>
722
723 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
724 with $(BASH) not $(SHELL).
725
62058ce6
CD
7262014-09-29 Carlos O'Donell <carlos@redhat.com>
727 Matthew LeGendre <legendre1@llnl.gov>
728
729 [BZ #17411]
730 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
731 l_reloc_result.
732
8e257a29
KS
7332014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
734
735 * stdio-common/printf_fp.c
736 (hack_digit): New function, broken out of ...
737 (__printf_fp): ... local function here. Update call sites.
738 hack_digit now takes an additional parameter that is a pointer
739 to a struct of the referenced locals. Those locals moved inside
740 the struct and references updated.
741
f4a58f0d
L
7422014-09-29 H.J. Lu <hongjiu.lu@intel.com>
743
744 * aclocal.m4: Require autoconf 2.69.
745 * configure: Regenerated.
746 * sysdeps/aarch64/configure: Likewise.
747 * sysdeps/alpha/configure: Likewise.
748 * sysdeps/arm/armv7/configure: Likewise.
749 * sysdeps/arm/configure: Likewise.
750 * sysdeps/ia64/configure: Likewise.
751 * sysdeps/mach/configure: Likewise.
752 * sysdeps/mips/configure: Likewise.
753 * sysdeps/s390/configure: Likewise.
754 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
756
757 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
758 file.
759 * sysdeps/ia64/configure.ac: Likewise.
760
93ae1eba
JM
7612014-09-26 Joseph Myers <joseph@codesourcery.com>
762
1810d3ab
JM
763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
764 specify symbol version for ld.so. Do not include entry for
765 libpthread.
766 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
767 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
768 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
769
93ae1eba
JM
770 [BZ #14171]
771 * Makeconfig [$(build-shared) = yes]
772 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
773 makefiles.
774 [$(build-shared) = yes && $(soversions.mk-done) = t]
775 ($(common-objpfx)gnu/lib-names.h): Remove rule.
776 [$(build-shared) = yes && $(soversions.mk-done) = t]
777 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
778 to Makerules.
779 [$(build-shared) = yes && $(soversions.mk-done) = t]
780 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
781 here.
782 [$(build-shared) = yes && $(soversions.mk-done) = t]
783 (common-generated): Don't append gnu/lib-names.h and
784 gnu/lib-names.stmp here.
785 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
786 (lib-names-h-abi): New variable.
787 [$(build-shared) = yes && $(soversions.mk-done) = t]
788 (lib-names-stmp-abi): Likewise.
789 [$(build-shared) = yes && $(soversions.mk-done) = t &&
790 abi-variants] (before-compile): Append
791 $(common-objpfx)$(lib-names-h-abi).
792 [$(build-shared) = yes && $(soversions.mk-done) = t &&
793 abi-variants] (common-generated): Append gnu/lib-names.h.
794 [$(build-shared) = yes && $(soversions.mk-done) = t &&
795 abi-variants] (install-others-nosubdir): Depend on
796 $(inst_includedir)/$(lib-names-h-abi).
797 [$(build-shared) = yes && $(soversions.mk-done) = t &&
798 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
799 [$(build-shared) = yes && $(soversions.mk-done) = t]
800 ($(common-objpfx)$(lib-names-h-abi)): New rule.
801 [$(build-shared) = yes && $(soversions.mk-done) = t]
802 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
803 [$(build-shared) = yes && $(soversions.mk-done) = t]
804 (common-generated): Append $(lib-names-h-abi) and
805 $(lib-names-stmp-abi).
806 * scripts/lib-names.awk: Do not handle multi being set.
807 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
808 Remove variable.
809 (abi-lp64_be-ld-soname): Likewise.
810 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
811 Likewise.
812 (abi-hard-ld-soname): Likewise.
813 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
814 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
815 Remove variable.
816 (abi-o32_hard-ld-soname): Likewise.
817 (abi-o32_soft_2008-ld-soname): Likewise.
818 (abi-o32_hard_2008-ld-soname): Likewise.
819 (abi-n32_soft-ld-soname): Likewise.
820 (abi-n32_hard-ld-soname): Likewise.
821 (abi-n32_soft_2008-ld-soname): Likewise.
822 (abi-n32_hard_2008-ld-soname): Likewise.
823 (abi-n64_soft-ld-soname): Likewise.
824 (abi-n64_hard-ld-soname): Likewise.
825 (abi-n64_soft_2008-ld-soname): Likewise.
826 (abi-n64_hard_2008-ld-soname): Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
828 Likewise.
829 (abi-64-v2-ld-soname): Likewise.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
831 ld.so entries.
832 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
833 variable.
834 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
835 entry.
836 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
837 variable.
838 (abi-64-ld-soname): Likewise.
839 (abi-x32-ld-soname): Likewise.
840 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
841 entry.
842 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
843
68870f12
JM
8442014-09-23 Joseph Myers <joseph@codesourcery.com>
845
846 [BZ #14138]
847 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
848 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
849 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
850 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
851 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
852 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
853 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
854 syscall entry for GLIBC_2.2 symbol version.
855 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
856 Likewise.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
858 (setrlimit): Likewise.
859 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
860 Likewise.
861
ea58f202
WN
8622014-09-23 Will Newton <will.newton@linaro.org>
863
864 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
865 _LINUX_ARM_SYSDEP_H include guard too.
866 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
867 define.
868
69eb9a18
RV
8692014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
870
871 * sysdeps/unix/sysv/linux/eventfd.c:
872 Make first argument unsigned.
873 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
874 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
875
20e5a5f7
OB
8762014-09-20 Ondřej Bílka <neleai@seznam.cz>
877
878 * socket/recvmmsg.c (recvmmsg): Drop const argument.
879 * socket/sys/socket.h: Likewise
880 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
881
d3c827e7
AK
8822014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
883
884 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
885
fe1cc35a
AS
8862014-09-17 Arjun Shankar <arjun.is@lostca.se>
887
888 * time/tst-ftime.c: New test.
889 * time/Makefile (tests): Add tst-ftime.
890
4e8afe69
JM
8912014-09-17 Joseph Myers <joseph@codesourcery.com>
892
c4fe3ea7
JM
893 * soft-fp/extended.h: Fix comment formatting.
894 * soft-fp/op-1.h: Likewise.
895 * soft-fp/op-2.h: Likewise.
896 * soft-fp/op-4.h: Likewise.
897 * soft-fp/op-8.h: Likewise.
898 * soft-fp/op-common.h: Likewise.
899 * soft-fp/soft-fp.h: Likewise.
900
4e8afe69
JM
901 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
902
af296fcd
JM
9032014-09-16 Joseph Myers <joseph@codesourcery.com>
904
905 [BZ #6652]
906 * Makeconfig (soversions-default-setname): Remove variable.
907 ($(common-objpfx)soversions.i): Don't pass default_setname to
908 soversions.awk.
909 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
910 oldest_abi to abi-versions.awk.
911 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
912 * config.make.in (oldest-abi): Remove variable.
913 * configure.ac (--enable-oldest-abi): Remove configure option.
914 * configure: Regenerated.
915 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
916 text.
917 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
918 * scripts/soversions.awk: Do not handle default_setname variable.
919 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
920 variable.
921 * sysdeps/mach/hurd/configure: Regenerated.
922 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
923 variable.
924 * sysdeps/unix/sysv/linux/configure: Regenerated.
925
545583d6
SP
9262014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
927
d330b980
SP
928 * elf/Makefile (CFLAGS-interp.c): Remove.
929 ($(elf-objpfx)runtime-linker.h): Generate header with linker
930 path string.
931 * elf/interp.c: Include generated runtime-linker.h
932
02657da2
SP
933 * Makerules (lib%.so): Don't include $(+interp) in
934 prerequisites.
935 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
936 * dlfcn/eval.c: Remove file.
937
653b1080
SP
938 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
939 macros.
940
602f80ec
SP
941 [BZ #17266]
942 * misc/sys/cdefs.h: Define __extern_always_inline for clang
943 4.2 and newer.
944
545583d6
SP
945 [BZ #17370]
946 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
947
884ddc50
SP
9482014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
949 Jakub Jelinek <jakub@redhat.com>
950
951 [BZ #17266]
952 * libio/stdio.h: Check definition of __fortify_function
953 instead of __extern_always_inline to include bits/stdio2.h.
954 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
955 check if __extern_always_inline is defined.
956 [__USE_MISC || __USE_XOPEN]: Likewise.
957 [__USE_ISOC99] Likewise.
958 * misc/sys/cdefs.h (__fortify_function): Define only if
959 __extern_always_inline is defined.
960 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
961 __extern_always_inline and __extern_inline only for g++-4.3
962 and newer or a compatible gcc.
963
a7b87268
AS
9642014-09-15 Andreas Schwab <schwab@linux-m68k.org>
965
966 [BZ #17371]
967 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
968 last change to handle zero prefix length.
969
3f41521d
SP
9702014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
971
61fe374a
SP
972 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
973 _SC_REGEX_VERSION.
974
3f41521d
SP
975 * posix/getconf.c (vars): Add _POSIX_IPV6 and
976 _POSIX_RAW_SOCKETS.
977
d8f879ee
AM
9782014-09-13 Allan McRae <allan@archlinux.org>
979
980 * po/ru.po: Update Russian translation from translation project.
981
c079afb7
RM
9822014-09-12 Roland McGrath <roland@hack.frob.com>
983
a62b3c15
RM
984 * locale/programs/locale.c (show_locale_vars): Inline local function
985 into its sole call site. Clean up some style nits.
986 (print_item): New function, broken out of ...
987 (show_info): ... local function here. Clean up style nits.
988
d7e49b19
RM
989 * locale/programs/ld-ctype.c (set_one_default): New function, broken
990 out of ...
991 (set_class_defaults): ... local function set_default here.
992 Define set_default as a macro locally to pass constant parameters.
993 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
994 rather than a shared local.
995
c079afb7
RM
996 * stdlib/rpmatch.c (try): New function, broken out of ...
997 (rpmatch): ... local function here. Also, prototypify definition.
998
0bd72468
JM
9992014-09-12 Joseph Myers <joseph@codesourcery.com>
1000
ba90e050
JM
1001 * scripts/soversions.awk: Do not handle configuration names.
1002 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1003 vendor and os variables to soversions.awk.
1004 * configure.ac: Do not modify gnu-* host_os.
1005 * configure: Regenerated
1006 * shlib-versions: Remove first column with configuration names.
1007 * nptl/shlib-versions: Likewise.
1008 * nptl_db/shlib-versions: Likewise.
1009 * sysdeps/hppa/shlib-versions: Likewise.
1010 * sysdeps/m68k/shlib-versions: Likewise.
1011 * sysdeps/mach/hurd/shlib-versions: Likewise.
1012 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1013 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1014 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1015 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1016 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1017 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1018 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1019 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1021 Likewise.
1022 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1023 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1024 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1025 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1027 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1028 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1029 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1030
73a39112
JM
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1032 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1034 Regenerated.
1035 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1037 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1038
c729e7c1
JM
1039 * shlib-versions: Remove OS-specific entries. Moved to files in
1040 sysdeps.
1041 * sysdeps/mach/hurd/shlib-versions: New file.
1042 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1043
dc932a24
JM
1044 * nptl/shlib-versions: Remove architecture-specific entries.
1045 Moved to files in sysdeps.
1046 * shlib-versions: Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1048 file.
1049 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1050 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1051 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1052 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1053
0bd72468
JM
1054 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1055 (UDP_NO_CHECK6_RX): Likewise.
1056
920238e0
SP
10572014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1058
1059 * sysdeps/posix/sysconf.c (__sysconf): Spell
1060 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1061
ba7b4d29
FW
10622014-08-12 Florian Weimer <fweimer@redhat.com>
1063
1064 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1065 loading.
1066 * iconv/Versions (__gconv_transliterate): Export for use from
1067 gconv modules.
1068 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1069 (struct __gconv_trans_data, __gconv_trans_fct,
1070 __gconv_trans_context_fct, __gconv_trans_query_fct,
1071 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1072 definitions.
1073 (struct __gconv_step_data): Remove __trans member.
1074 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1075 longer hidden. Remove unused trans_data argument.
1076 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1077 (__gconv_translit_find): Remove declaration.
1078 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1079 prototype.
1080 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1081 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1082 trans_data argument. Add hidden definition.
1083 (__gconv_translit_find): Remove.
1084 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1085 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1086 * iconv/skeleton.c: Remove transliteration initialization.
1087 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1088 __gconv_step_data initialization.
1089 * libio/iofwide.c (__libio_translit_): Remove.
1090 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1091 * wcsmbs/btowc.c (__btowc): Likewise.
1092 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1093 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1094 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1095 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1096 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1097 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1098 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1099 * wcsmbs/wctob.c (wctob): Likewise.
1100
5379aebd
SP
11012014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1102
1103 [BZ #16194]
1104 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1105 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1106 register usage.
1107 * sysdeps/x86/Makefile: Adjust.
1108
8c0ab919
RM
11092014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1110 Roland McGrath <roland@hack.frob.com>
1111
1112 * locale/weight.h: Add include guard.
1113 (findidx): Make static rather than auto; take new parameters
1114 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1115 * locale/weightwc.h: Likewise.
1116 * posix/fnmatch_loop.c
1117 (FCT): Change type of EXTRA from int32_t to wint_t.
1118 Don't include either header inside the function.
1119 Call FINDIDX rather than findidx, and pass new arguments.
1120 #undef FINDIDX at the end of the file.
1121 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1122 FINDIDX before including fnmatch_loop.c for the non-wide version.
1123 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1124 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1125 for the wide version.
1126 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1127 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1128 Pass new arguments to findidx.
1129 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1130 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1131 Don't #include it inside the function. Pass new arguments to findidx.
1132 * posix/regex_internal.h
1133 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1134 (re_string_elem_size_at): Don't #include it inside the function.
1135 Pass new arguments to findidx.
1136 * string/strcoll_l.c: #include WEIGHT_H at top level.
1137 (get_next_seq): Don't #include it inside the function.
1138 Pass new arguments to findidx.
1139 (get_next_seq_nocache): Likewise.
1140 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1141 (STRXFRM): Don't #include it inside the function.
1142 Pass new arguments to findidx.
1143
52ffbdf2
FW
11442014-09-11 Florian Weimer <fweimer@redhat.com>
1145
1146 [BZ #17344]
1147 * malloc/malloc.c (unlink): Turn asserts into a call to
1148 malloc_printerr.
1149
984c0ea9
TL
11502014-09-11 Tim Lammens <tim.lammens@gmail.com>
1151
1152 [BZ #17370]
1153 * libio/wfileops (do_ftell_wide): Free OUT.
1154
3daee107
CM
11552014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1156
1157 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1158
58b930ae
SP
11592014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1160
1161 [BZ #17363]
1162 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1163 group if the current group is empty.
1164
3b473fec
AZ
11652014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1166
71ae8647
AZ
1167 * benchtests/bench-memset.c (test_main): Add more test from size
1168 from 32 to 512 bytes.
1169 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1170 Add POWER8 memset object.
1171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1172 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1173 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1174 implementation.
1175 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1176 Likewise.
1177 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1178 multiarch POWER8 memset optimization.
1179 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1180 POWER8 memset optimization.
1181
3b473fec
AZ
1182 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1183 Remove bzero multiarch objects.
1184 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1185 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1186 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1187 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1188 Remove define.
1189 [__bzero]: Redefine to specific name.
1190 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1191 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1192 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1193 define.
1194 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1195 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1196
e6fb9587
FW
11972014-09-10 Florian Weimer <fweimer@redhat.com>
1198
1199 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1200 warnings into errors.
1201
1202 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1203 __cxa_thread_atexit_impl prototype.
1204
9d3a350b
SE
12052014-09-09 Steve Ellcey <sellcey@mips.com>
1206
1207 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1208 Fix capitalization of error message.
1209
0febba23
SE
12102014-09-09 Steve Ellcey <sellcey@mips.com>
1211
1212 * sysdeps/mips/preconfigure: Modify ABI tests.
1213
645a0e9c
CD
12142014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1215
1216 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1217
d83f0734
CD
12182014-09-07 Roland McGrath <roland@hack.frob.com>
1219 Carlos O'Donell <carlos@systemhalted.org>
1220
1221 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1222 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1223 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1224 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1225 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1226 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1227 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1228 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1229 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1230 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1231 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1232 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1233 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1234 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1235 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1236 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1237 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1238 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1239 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1240 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1241 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1242 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1243 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1244 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1245 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1246 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1247 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1248 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1249 Deconditionalize the code that was previously under [RESET_PID].
1250 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1251 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1252 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1253 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1254 include sysdep.h.
1255
21c83793
AM
12562014-09-08 Allan McRae <allan@archlinux.org>
1257
1258 * version.h (RELEASE): Set to "development".
1259 (VERSION): Set to "2.20.90"
1260
1cd9b65c
AM
12612014-09-07 Allan McRae <allan@archlinux.org
1262
b8079dd0
AM
1263 * version.h (RELEASE): Set to "stable".
1264 (VERSION): Set to "2.20"
1265 * include/features.h (__GLIBC_MINOR__): Set to 20.
1266
c46303ef
AM
1267 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1268 Liebler.
1269
1cd9b65c
AM
1270 * po/ko.po: Update Korean translation from translation project.
1271
8622092d
CM
12722014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1273
1274 [BZ #17354]
1275 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1276 macro for handling signed relocations.
1277
41488498
FW
12782014-09-03 Florian Weimer <fweimer@redhat.com>
1279
1280 [BZ #17325]
1281 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1282 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1283 assert.
1284 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1285 * iconvdata/ibm935.c (BODY): Likewise.
1286 * iconvdata/ibm937.c (BODY): Likewise.
1287 * iconvdata/ibm939.c (BODY): Likewise.
1288 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1289 assert.
1290 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1291 script.
1292 * iconvdata/run-iconv-test.sh: New test loop for checking for
1293 decoder crashers.
1294
a78b712d
KR
12952014-09-02 Khem Raj <raj.khem@gmail.com>
1296
1297 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1298 libm_hidden_ver.
1299
cb08abc6
AM
13002014-09-01 Allan McRae <allan@archlinux.org>
1301
2c31e102
AM
1302 * po/eo.po: Update Esperanto translation from translation project.
1303
cb08abc6
AM
1304 * po/ca.po: Update Catalan translation from translation project.
1305
17a62de1
ST
13062014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1307
1308 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1309 __proc_dostop call.
1310
9570bc53
MW
13112014-08-27 Mark Wielaard <mjw@redhat.com>
1312
1313 [BZ #17319]
1314 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1315 to call set_thread_area instead of hand written asm.
1316 (__NR_set_thread_area): Removed define.
1317 (TLS_FLAG_WRITABLE): Likewise.
1318 (__ASSUME_SET_THREAD_AREA): Remove check.
1319 (TLS_EBX_ARG): Remove define.
1320 (TLS_LOAD_EBX): Likewise.
1321
b0f955c9
ST
13222014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1323
1324 Simplify atomicity of socket creation in bind.
1325
1326 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1327 looking up the name after linking the file.
1328
529bf515
AM
13292014-08-27 Allan McRae <allan@archlinux.org>
1330
1331 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1332
a1a6a401
FW
13332014-08-26 Florian Weimer <fweimer@redhat.com>
1334
1335 [BZ #17187]
1336 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1337 trans_compare, open_translit, __gconv_translit_find):
1338 Remove module loading code.
1339
686ab290
AM
13402014-08-26 Allan McRae <allan@archlinux.org>
1341
e4e7cfd2
AM
1342 * po/vi.po: Update Vietnamese translation from translation project.
1343
6aa09f71
AM
1344 * po/uk.po: Update Ukrainian translation from translation project.
1345
edc0660e
AM
1346 * po/fr.po: Update French translation from translation project.
1347
7eea72ac
AM
1348 * po/ru.po: Update Russian translation from translation project.
1349
93c49eff
AM
1350 * po/pl.po: Update Polish translation from translation project.
1351
46acaf63
AM
1352 * po/cs.po: Update Czech translation from translation project.
1353
a9f5ce98
AM
1354 * po/de.po: Update German translation from translation project.
1355
373f2b78
AM
1356 * po/bg.po: Update Bulgarian translation from translation project.
1357
e7548bd8
AM
1358 * po/sv.po: Update Sweedish translation from translation project.
1359
c526bf4d
AM
1360 * po/nl.po: Update Dutch translation from translation project.
1361
686ab290
AM
1362 * po/es.po: Update Spanish translation from translation project.
1363
eb72478a
SP
13642014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1365
dd763fdb
SP
1366 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1367
318c7a58
SP
1368 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1369 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1370 (CPPFLAGS-iconvconfig): Likewise.
1371 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1372
eb72478a
SP
1373 * include/libc-symbols.h: Remove unnecessary check for
1374 NOT_IN_libc.
1375 * nptl/pthreadP.h: Likewise.
1376 * sysdeps/aarch64/setjmp.S: Likewise.
1377 * sysdeps/alpha/setjmp.S: Likewise.
1378 * sysdeps/arm/sysdep.h: Likewise.
1379 * sysdeps/i386/setjmp.S: Likewise.
1380 * sysdeps/m68k/setjmp.c: Likewise.
1381 * sysdeps/posix/getcwd.c: Likewise.
1382 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1383 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1384 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1385 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1386 * sysdeps/sh/sh3/setjmp.S: Likewise.
1387 * sysdeps/sh/sh4/setjmp.S: Likewise.
1388 * sysdeps/unix/alpha/sysdep.h: Likewise.
1389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1391 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1392 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1395 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1396 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1397 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1399 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1400 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1402 * sysdeps/x86_64/setjmp.S: Likewise.
1403
d44a052c
JM
14042014-08-13 Joseph Myers <joseph@codesourcery.com>
1405
1406 [BZ #17263]
1407 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1408 <stdint.h>.
1409 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1410 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1411
508ce3ac
SP
14122014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1413
e44c8b0e
SP
1414 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1415
508ce3ac
SP
1416 [BZ #17262]
1417 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1418 and __x86_64__ when disabling x87 inline functions.
1419
b4acef1f
L
14202014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 [BZ #17259]
1423 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1424 asm statement with __cpuid_count.
1425
61b1ef6e
MF
14262014-08-12 Mike Frysinger <vapier@gentoo.org>
1427
1428 * configure.ac: Change __ehdr_start code to dereference the struct.
1429 Run readelf on the output to look for relocations.
1430 * configure: Regenerated.
1431
898c62f4
JM
14322014-08-12 Joseph Myers <joseph@codesourcery.com>
1433
1434 [BZ #17261]
1435 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1436 value to 0.
1437 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1438
9a8a5720
RM
14392014-08-12 Roland McGrath <roland@hack.frob.com>
1440
1441 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1442
4e75751c
BO
14432014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1444
1445 [BZ #16892]
1446 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1447 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1448
bb2ce416
SA
14492014-08-12 Sean Anderson <seanga2@gmail.com>
1450
1451 * malloc/malloc.c: Fix typo in comment.
1452
7950a4ee
AM
14532014-08-09 Allan McRae <allan@archlinux.org>
1454
1455 * Regenerate libc.po.
1456
f469c49f
MF
14572014-08-08 Mike Frysinger <vapier@gentoo.org>
1458
1459 * intl/tst-gettext2.sh: Check every lang file for creation.
1460
656b84c2
WD
14612014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1462
1463 * sysdeps/aarch64/fpu/math_private.h
1464 (libc_feholdsetround_noex_aarch64_ctx): New function.
1465
538e9e45
W
14662014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1467
1468 * sysdeps/arm/armv6/strcpy.S (strcpy):
1469 Fix performance issue in misaligned cases.
1470
d4795e4a
AZ
14712014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1472
1473 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1474 Move definition from termios.h.
1475 (struct termio): Likewise.
1476 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1477 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1478 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1479 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1480 Likewise.
1481 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1482 Move definition to ioctl-types.h
1483 (struct termio): Likewise.
1484 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1485 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1486 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1487 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1488 Likewise.
1489
64accb62
RH
14902014-08-05 Richard Henderson <rth@redhat.com>
1491
27bb6dc0
RH
1492 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1493 exceptions.
1494 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1495 Add fraiseexcpt.
1496 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1497 Use __feraiseexcept.
1498 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1499 Protect libm symbols with IS_IN_libm.
1500
64accb62
RH
1501 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1502
e5292691
BO
15032014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1504
1505 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1506
5b4bd2d4
WN
15072014-08-04 Will Newton <will.newton@linaro.org>
1508
1509 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1510 file.
1511
fcadaeef
MF
15122014-08-04 Mike Frysinger <vapier@gentoo.org>
1513
1514 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1515 variants for each function.
1516
43a94c64
RM
15172014-08-04 Roland McGrath <roland@hack.frob.com>
1518
1519 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1520 appended ...
1521 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1522 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1523 appended ...
1524 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1525 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1526 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1527 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1528 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1529 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1530 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1531 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1532 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1533 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1534 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1535 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1536 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1537 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1538 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1539 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1540 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1542 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1543 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1544 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1545 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1546 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1547 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1548 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1549 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1550 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1551 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1552 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1553 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1554 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1555 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1556 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1557 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1558 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1559 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1560 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1561 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1562 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1563 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1564 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1565 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1566 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1567 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1568 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1569 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1570 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1571 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1572 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1573 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1574 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1575 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1576 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1577 Update #include.
1578 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1579 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1580
8f3c1fa4
RM
15812014-08-04 Roland McGrath <roland@hack.frob.com>
1582
1583 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1584 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1585 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1586 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1587 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1588 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1589
ca08746f
RM
15902014-08-04 Roland McGrath <roland@hack.frob.com>
1591
1592 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1593 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1594 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1595 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1596
9c925ff9
RM
15972014-08-04 Roland McGrath <roland@hack.frob.com>
1598
1599 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1600 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1601 (__libc_vfork): Define function under this name.
1602 (__vfork): Define as an alias.
1603 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1604 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1605
e641054c
RM
16062014-08-04 Roland McGrath <roland@hack.frob.com>
1607
1608 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1609 that was previously under [RESET_PID].
1610 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1611
dacdc867
AS
16122014-08-04 Andreas Schwab <schwab@suse.de>
1613
1614 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1615
41f725ff
MF
16162014-08-03 Mike Frysinger <vapier@gentoo.org>
1617
1618 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1619 (main): Likewise.
1620
277cfb31
RM
16212014-08-01 Roland McGrath <roland@hack.frob.com>
1622
1623 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1624
4896f049
RH
16252014-08-01 Richard Henderon <rth@redhat.com>
1626
1627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1628 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1629 typo in exact zero test.
1630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1633
6f64e7d7
RM
16342014-08-01 Roland McGrath <roland@hack.frob.com>
1635
1636 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1637 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1638 * sysdeps/arm/sysdep.h: ... here.
1639 [!__ASSEMBLER__]: Include <stdint.h>.
1640
3f3dd810
SP
16412014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1642
a476ac4b
SP
1643 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1644 (HAVE_WCTYPE_H): Likewise.
1645 (HAVE_ISWCTYPE): Likewise.
1646 (ENABLE_NLS): Likewise.
1647 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1648 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1649
78dd658a
SP
1650 * posix/regex_internal.c: Check if DEBUG is defined and is
1651 set.
1652
3f3dd810
SP
1653 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1654 (HAVE_MBSRTOWCS): Likewise.
1655 * posix/fnmatch.c: Include string.h unconditionally.
1656
95ee7fb1
SL
16572014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1658
1659 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1660 reversal.
1661
23fe486b
RM
16622014-07-31 Roland McGrath <roland@hack.frob.com>
1663
f61a113f
RM
1664 * sysdeps/generic/safe-fatal.h: New file.
1665 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1666 * nptl/forward.c: Include it.
1667 (__pthread_unwind): Use __safe_fatal as default action, rather
1668 than a bogus use of INTERNAL_SYSCALL that could never work.
1669
9fe7e787
RM
1670 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1671 * configure.ac (libc_cv_builtin_trap): New test.
1672 * configure: Regenerated.
1673 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1674 (ABORT_INSTRUCTION): Define using __builtin_trap.
1675
23fe486b
RM
1676 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1677 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1678 * sysdeps/nptl/nptl-signals.h: New file.
1679 * nptl/pthreadP.h: Include <nptl-signals.h>.
1680
f349489e
SL
16812014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1682
1683 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1684 (ONE_DIRECTION): Define.
1685 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1686 (ONE_DIRECTION): Define.
1687 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1688 (ONE_DIRECTION): Define.
1689
2f438e20
SL
16902014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1691
1692 * sysdeps/s390/Makefile: Delete file.
1693 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1694 * sysdeps/s390/__longjmp.c: Delete file.
1695 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1696 Remove fields __flags and __reserved.
1697 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1698 and add versioning.
1699 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1700 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1701 * sysdeps/s390/rtld-setjmp.S: Likewise.
1702 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1703 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1704 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1705 * sysdeps/s390/s390-32/setjmp.S: ... here.
1706 Add versioning.
1707 (__sigsetjmp): Remove setting __flags field.
1708 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1709 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1710 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1711 * sysdeps/s390/s390-64/setjmp.S: ... here.
1712 Add versioning.
1713 (__sigsetjmp): Remove setting __flags field.
1714 * sysdeps/s390/setjmp.S: Delete file.
1715 * sysdeps/s390/sigjmp.c: Likewise.
1716 * sysdeps/s390/v1-longjmp.c: Likewise.
1717 * sysdeps/s390/v1-setjmp.h: Likewise.
1718 * sysdeps/s390/v1-sigjmp.c: Likewise.
1719 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1720 Remove v1-longjmp_chk.
1721 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1722 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1723 Include debug/longjmp_chk.c and add versioning.
1724 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1725 Include nptl/pt-longjmp.c and add versioning.
1726 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1727 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1728 Include __longjmp.c.
1729 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1730 Move to ...
1731 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1732 (__getcontext): Remove setting __flags field.
1733 Add versioning.
1734 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1735 Don't restore upper high grps.
1736 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1737 Likewise.
1738 (__swapcontext): Remove setting uc_flags field.
1739 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1740 Delete file.
1741 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1742 Include __longjmp.c.
1743 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1744 Move to ...
1745 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1746 (__getcontext): Remove setting __flags field.
1747 Add versioning.
1748 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1749 (__swapcontext): Remove setting uc_flags field.
1750 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1752 Remove fields uc_high_gprs and __reserved.
1753 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1754 New file with reverted content.
1755 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1756 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1757 Regenerated.
1758 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1759 Regenerated.
1760
6c9578a2
AS
17612014-07-31 Andreas Schwab <schwab@suse.de>
1762
1763 * config.h.in (HAVE_IFUNC): Define to 0.
1764 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1765 definedness.
1766
05f3633d
LM
17672014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1768
1769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1770 memmove-avx-unaligned, memcpy-avx-unaligned and
1771 mempcpy-avx-unaligned.
1772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1773 Add tests for AVX memcpy functions.
1774 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1775 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1776 memcpy_chk.
1777 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1778 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1779 memmove_chk.
1780 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1781 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1782 mempcpy_chk.
1783 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1784 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1785 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1786
a53fbd8e
AZ
17872013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1788
1789 [BZ #17213]
1790 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1791 powerpc64le.
1792
0961f7e1
JL
17932014-07-29 Jeff Layton <jlayton@poochiereds.net>
1794
1795 [BZ #16839]
1796 * manual/llio.texi: Add section about open file description locks.
1797 * manual/examples/ofdlocks.c: Example of open file description
1798 lock usage.
1799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1800 F_OFD_SETLK, and F_OFD_SETLKW.
1801
cc5fb300
AM
18022014-07-23 Allan McRae <allan@archlinux.org>
1803
1804 * po/es.po: Update Spanish translation from translation project.
1805
23329dca
AS
18062014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1807
1808 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1809
9c82da17
MR
18102014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1811
1812 [BZ #17078]
1813 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1814 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1815 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1816
29c4f53e
JM
18172014-07-17 Joseph Myers <joseph@codesourcery.com>
1818
831b9896
JM
1819 [BZ #17088]
1820 * math/fesetenv.c (__fesetenv)
1821 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1822 * math/feupdateenv.c (__feupdateenv)
1823 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1824
b21c2d50
JM
1825 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1826 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1827 (__ASSUME_SOCKETCALL): Do not define.
1828
067764ef
JM
1829 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1830 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1831 (__ASSUME_SOCKETCALL): Do not define.
1832 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1833 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1834 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1835 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1836 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1837 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1838 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1839 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1840
642530c1
JM
1841 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1842 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1843 (__ASSUME_SOCKETCALL): Do not define.
1844 (__ASSUME_IPC64): Define unconditionally.
1845 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1846 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1847 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1848 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1849 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1850 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1851 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1852 Likewise.
1853
03f77315
JM
1854 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1855 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1856 (__ASSUME_SOCKETCALL): Do not define.
1857 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1858 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1859 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1860 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1861 (__ASSUME_REQUEUE_PI): Define unconditionally.
1862 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1863 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1864 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1865 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1866 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1867 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1868
083b1f7c
JM
1869 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1870 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1871 (__ASSUME_SOCKETCALL): Do not define.
1872 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1873 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1874 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1875 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1876 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1877 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1878
5be44ea6
JM
1879 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1880 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1881 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1882 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1883 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1884 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1885 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1886 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1887 (__ASSUME_GETCPU_SYSCALL): Likewise.
1888
d95ffd4c
JM
1889 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1890 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1891 cases for individual architectures.
1892 * sysdeps/gnu/configure: Regenerated.
1893 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1894 LIBC_SLIBDIR_RTLDDIR.
1895 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1896 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1897 LIBC_SLIBDIR_RTLDDIR.
1898 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1900 LIBC_SLIBDIR_RTLDDIR.
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1902 Regenerated.
1903 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1904 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1905 file.
1906 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1907 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1908 file.
1909 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1910 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1911 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1912 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1913
29c4f53e
JM
1914 * sysdeps/aarch64/shlib-versions: Move to ...
1915 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1916 * sysdeps/alpha/shlib-versions: Move to ...
1917 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1918 * sysdeps/arm/shlib-versions: Move to ...
1919 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1920 * sysdeps/hppa/shlib-versions: Move all contents except for
1921 libgcc_s entry to ...
1922 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1923 entry from ...
1924 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1925 * sysdeps/ia64/shlib-versions: Move to ...
1926 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1927 entry from ...
1928 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1929 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1930 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1931 * sysdeps/microblaze/shlib-versions: Move to ...
1932 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1933 * sysdeps/mips/shlib-versions: Move to ...
1934 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1935 entry from ...
1936 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1937 * sysdeps/tile/shlib-versions: Move to ...
1938 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1939 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1940 from ...
1941 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1942 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1943 entry from ...
1944 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1945
32bead5b
WN
19462014-07-17 Will Newton <will.newton@linaro.org>
1947
57977c4b
WN
1948 * sysdeps/arm/bits/atomic.h
1949 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1950 (__arch_compare_and_exchange_bool_16_int): Likewise.
1951 (__arch_compare_and_exchange_bool_64_int): Likewise.
1952
32bead5b
WN
1953 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1954 into an #else block.
1955
37fccd41
RM
19562014-07-16 Roland McGrath <roland@hack.frob.com>
1957
1958 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1959 just Linux configurations. Test empirically that the compiler sets
1960 __ARM_EABI__, rather than using the tuple to decide.
1961 * sysdeps/arm/preconfigure: Regenerated.
1962 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1963 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1964 contents appended ...
1965 * sysdeps/arm/configure.ac: ... here.
1966 * sysdeps/arm/configure: Regenerated.
1967
b365f3ec
RM
19682014-07-15 Roland McGrath <roland@hack.frob.com>
1969
8badf496
RM
1970 * nptl/pthread_kill.c: New file.
1971 * nptl/pthread_sigmask.c: New file.
1972 * nptl/pthread_sigqueue.c: New file.
1973
3df6f22e
RM
1974 * sysdeps/nptl/lowlevellock.h: New file.
1975 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1976 * sysdeps/nptl/lowlevellock-futex.h: New file.
1977
b365f3ec
RM
1978 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1979 Remove dead declarations.
1980
f2fef657
L
19812014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1984 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1985 config-cflags-avx2.
1986 * sysdeps/x86_64/configure.ac: Likewise.
1987 * sysdeps/i386/configure: Regenerated.
1988 * sysdeps/x86_64/configure: Likewise.
1989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1990 memset-avx2 only if config-cflags-avx2 is yes.
1991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1992 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1993 defined.
1994 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1995 only if HAVE_AVX2_SUPPORT is defined.
1996 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1997
f6c44d47
AM
19982014-07-14 Alan Modra <amodra@gmail.com>
1999
2000 [BZ #17153]
2001 * elf/elf.h (DT_PPC64_NUM): Correct value.
2002 * NEWS: Add to fixed bug list.
2003
7ee03f00
JM
20042014-07-13 Jim Meyering <meyering@fb.com>
2005
2006 [BZ 17150]
2007 regex: don't deref NULL upon heap allocation failure
2008 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2009 failure in one more place.
2010 To trigger the segfault, configure grep -with-included-regex,
2011 build it, and run these commands:
2012 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2013
9d39d517
AS
20142014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2015
2016 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2017
a75b89b7
RH
20182014-07-11 Richard Henderson <rth@redhat.com>
2019
2020 * sysdeps/aarch64/libm-test-ulps: Update.
2021
771eb141
FW
20222014-07-10 Florian Weimer <fweimer@redhat.com>
2023
2024 [BZ #17135]
2025 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2026 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2027 (__nptl_setxid): Initialize error member. Call
2028 __nptl_setxid_error.
2029 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2030 * nptl/descr.h (struct xid_command): Add error member.
2031 * nptl/tst-setuid3.c: New file.
2032 * nptl/Makefile (tests): Add it.
2033
bc1da176
AZ
20342014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035
2036 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2037 New define.
2038 (__lll_trylock): Use __lll_base_trylock.
2039 (__lll_cond_trylock): Likewise.
2040
887865fc
RM
20412014-07-10 Roland McGrath <roland@hack.frob.com>
2042
c0c6bac9
RM
2043 * nptl/pthread_create.c (start_thread): Use atomic_or and
2044 lll_futex_wake directly rather than lll_robust_dead.
2045 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2046 (lll_robust_dead): Macro removed.
6a42be57 2047 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2048 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2049 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2050 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2051 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2052 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2053 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2054 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2055 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2056 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2057 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2058 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2059 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2060 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2061 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2062
887865fc
RM
2063 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2064 Use atomic_compare_and_exchange_val_acq directly rather than
2065 lll_robust_trylock.
2066 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2067 (__lll_robust_trylock, lll_robust_trylock): Removed.
2068 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2069 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2070 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2071 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2072 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2073 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2074 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2075 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2076 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2077 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2078 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2079 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2080 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2081 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2082
58536726
FW
20832014-07-02 Florian Weimer <fweimer@redhat.com>
2084
2085 * manual/locale.texi (Locale Names): New section documenting
2086 locale name syntax. Adjust menu and node chaining accordingly.
2087 (Choosing Locale): Reference Locale Names, Locale Categories.
2088 Mention setting LC_ALL=C. Reflect that name syntax is now
2089 documented.
2090 (Locale Categories): New section title. Reference Locale Names.
2091 LC_ALL is an environment variable, but not a category.
2092 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2093 description, now in Locale Name. Reference that section. Locale
2094 name syntax is now documented.
2095
4e8f95a0
FW
20962014-07-02 Florian Weimer <fweimer@redhat.com>
2097
2098 [BZ #17137]
2099 * locale/findlocale.c (name_present, valid_locale_name): New
2100 functions.
2101 (_nl_find_locale): Use the loc_name variable to store name
2102 candidates. Call name_present and valid_locale_name to check and
2103 validate locale names. Return an error if the locale is invalid.
2104
d1836456
FW
21052014-07-02 Florian Weimer <fweimer@redhat.com>
2106
2107 * locale/setlocale.c (setlocale): Use strdup for allocating
2108 composite name copy.
2109
d69b7f5a
SP
21102014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2111
888c679b
SP
2112 Sync up with gnulib.
2113 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2114 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2115 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2116 and _GL_ARG_NONNULL.
2117 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2118 [!_LIBC]: Include code for Windows and Cygwin.
2119 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2120 Include prototype for int strerror_r.
2121 [!_LIBC] (is_open): New function.
2122 (flush_stdout): New function.
2123 (print_errno_message): Use it.
2124 (error): Likewise.
2125 (error_at_line): Likewise.
2126 (error_tail) Add function attribute macros. Use
2127 __builtin_expect.
2128
180e0e4b
SP
2129 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2130
d22f1fe2
SP
2131 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2132
12f2254b
SP
2133 * io/ftw.c: Include sys/param.h unconditionally.
2134
c3c7c360
SP
2135 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2136
d62aa75a
SP
2137 [BZ #17125]
2138 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2139 libc_freeres_ptr.
2140 (freecache): New function to free CACHE on exit.
2141
d69b7f5a
SP
2142 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2143 initialization.
2144
5efe06a1
DM
21452014-07-09 David S. Miller <davem@davemloft.net>
2146
2147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2148
7000d82e
DM
2149 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2150 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2151 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2152 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2153 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2154 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2155 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2156 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2157 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2158 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2159 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2160 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2161 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2162
c213442d
AS
21632014-07-09 Andreas Schwab <schwab@suse.de>
2164
4a2552c3
AS
2165 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2166 output.
2167 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2168 (do_test): Likewise.
2169
c213442d
AS
2170 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2171
82374e65
WN
21722014-07-09 Will Newton <will.newton@linaro.org>
2173
2174 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2175 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2176 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2177 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2178 * sysdeps/hppa/start.S (_start): Likewise.
2179
6680738a
SP
21802014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2181
6ee3eab4
SP
2182 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2183
6680738a
SP
2184 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2185 defined.
2186
80b5c505
SP
21872014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2188
e35c53e3
SP
2189 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2190 after checking that it is non-NULL.
2191
80b5c505
SP
2192 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2193
91f4b564
AZ
21942014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2195
27b75f56
AZ
2196 * sysdeps/powerpc/memmove.c: Remove file.
2197 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2198 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2199 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2200 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2201 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2202 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2203 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2204 string memmove instead of removed powerpc one.
2205
e7f95bb5
AZ
2206 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2207 [weak_alias]: Fix compiler warning due trailing data.
2208 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2209 [weak_alias]: Likewise.
2210 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2211 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2212
91f4b564
AZ
2213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2214 (__libc_ifunc_impl_list): Add memmove functions.
2215
7c33f1e5
SP
22162014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2217
2218 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2219 Remove code.
2220 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2221 Likewise
2222 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2223 Likewise
2224 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2225 Likewise
2226 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2227 Likewise
2228 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2229 Likewise
2230 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2231 Likewise
2232 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2233 Likewise
2234 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2235 Likewise
2236 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2237 Likewise
2238 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2239 Likewise
2240 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2241 Likewise
2242 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2243 Likewise
2244 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2245 Likewise
2246 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2247 Likewise
2248 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2249 Likewise
2250 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2251 Likewise
2252
3f17b03b
AZ
22532014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2254
87868c24
AZ
2255 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2256 to avoid alignment traps in non-cacheable memory.
2257 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2258
07aedd78
AZ
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2260 multiarch objects.
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2262 file: multiarch power7 memmove.
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2264 multiarch default memmove.
2265 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2266 multiarch memove for powerpc32/power4.
2267
17762f66
AZ
2268 * string/bcopy.c: Use full path to include memmove.c.
2269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2270 multiarch objects.
2271 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2272 bcopy for powerpc64.
2273 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2274 bcopy for powerpc64.
2275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2276 and memmove implementations.
2277 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2278 optimized multiarch memmove for POWER7/powerpc64.
2279 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2280 default multiarch memmove for powerpc64.
2281 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2282 multiarch for powerpc64.
2283 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2284 for POWER7/powerpc64.
2285 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2286 memmove for POWER7/powerpc64.
2287
d6f68bbe
AZ
2288 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2289 glibc default one.
2290
3f17b03b
AZ
2291 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2292 __ELF_NATIVE_CLASS equal to 64.
2293
08192659
RM
22942014-07-07 Roland McGrath <roland@hack.frob.com>
2295
f4c4021b
RM
2296 * sysdeps/nptl/lowlevellock.h: File removed.
2297
f083450f
RM
2298 * NEWS: NPTL is no longer an add-on!
2299 * nptl/internaltypes.h: Moved ...
2300 * sysdeps/nptl/internaltypes.h: ... here.
2301 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2302 * sysdeps/nptl/fork.c: Likewise.
2303 * sysdeps/nptl/gai_misc.h: Likewise.
2304 * sysdeps/nptl/librt-cancellation.c: Likewise.
2305 * sysdeps/nptl/jmp-unwind.c: Likewise.
2306 * sysdeps/nptl/setxid.h: Likewise.
2307 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2308 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2309 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2310 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2311 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2312 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2313 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2314 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2315 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2316 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2317 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2318 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2319 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2320 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2321 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2322 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2323 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2324 * nptl/Makeconfig: Moved ...
2325 * sysdeps/nptl/Makeconfig: ... here.
2326 * nptl/configure: File removed.
2327 * nptl/ANNOUNCE: File removed.
2328 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2329 * sysdeps/unix/sysv/linux/configure: Regenerated.
2330
08192659
RM
2331 * nptl/Makefile (routines): Add libc_pthread_init,
2332 libc_multiple_threads, register-atfork and unregister-atfork.
2333 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2334 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2335 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2336 pthread-pi-defines.sym, structsem.sym.
2337 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2338 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2339 [$(subdir) = nptl] (tests): Add tst-setgetname.
2340 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2341 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2342 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2343 [!LIBC_SIGACTION]: Remove aliases.
2344 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2345 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2346 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2347 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2348 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2349 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2350 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2352 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2353 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2354 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2355 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2356 __libc_allocate_rtsig_private.
2357 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2358 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2359 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2360 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2361 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2362 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2363 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2364 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2365 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2366 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2367 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2368 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2369 * nptl/internaltypes.h: ... here.
2370 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2371 * sysdeps/nptl/jmp-unwind.c: ... here.
2372 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2373 * nptl/libc-lowlevellock.c: ... here.
2374 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2375 * nptl/libc_multiple_threads.c: ... here.
2376 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2377 * nptl/libc_pthread_init.c: ... here.
2378 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2379 * nptl/lowlevelbarrier.sym: ... here.
2380 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2381 * nptl/lowlevelcond.sym: ... here.
2382 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2383 * nptl/lowlevellock.c: ... here.
2384 * nptl/lowlevellock.h: Moved ...
2385 * sysdeps/nptl/lowlevellock.h: ... here.
2386 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2387 * nptl/lowlevelrobustlock.c: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2389 * nptl/lowlevelrobustlock.sym: ... here.
2390 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2391 * nptl/lowlevelrwlock.sym: ... here.
2392 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2393 * nptl/pt-fork.c: ... here.
2394 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2395 * nptl/pthread-pi-defines.sym: ... here.
2396 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2397 * nptl/pthread_attr_getaffinity.c: ... here.
2398 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2399 * nptl/pthread_attr_setaffinity.c: ... here.
2400 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2401 * nptl/pthread_mutex_cond_lock.c: ... here.
2402 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2403 Update #include.
2404 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2405 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2406 * nptl/pthread_once.c: ... here, replacing old file.
2407 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2408 * nptl/pthread_yield.c: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2410 * nptl/register-atfork.c: ... here.
2411 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2412 * nptl/sem_post.c: ... here.
2413 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2414 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2415 * nptl/sem_timedwait.c: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2417 * nptl/sem_trywait.c: ... here.
2418 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2419 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2420 * nptl/sem_wait.c: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2422 * nptl/structsem.sym: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2424 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2425 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2426 * nptl/unregister-atfork.c: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2428 * nptl/unwindbuf.sym: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2430 * sysdeps/nptl/fork.c: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2432 * sysdeps/nptl/fork.h: ... here.
2433 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2434 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2435 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2437 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2439 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2441 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2443 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2445 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2447 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2449 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2451 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2453 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2455 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2456 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2457 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2458 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2459 * sysdeps/unix/sysv/linux/raise.c: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2461 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2463 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2465 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2467 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2469 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2470 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2471 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2472 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2473 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2474 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2475
96baf6ff
SP
24762014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2477
2478 * sysdeps/generic/memcopy.h: Add comment for
2479 MEMCPY_OK_FOR_FWD_MEMMOVE.
2480
6b7b14b2
WN
24812014-07-04 Will Newton <will.newton@linaro.org>
2482
1570a72b
WN
2483 * string/memchr.c: Merge from gnulib.
2484 [_LIBC]: Remove conditionals.
2485 (__ptr_t): Remove define.
2486 (LONG_MAX_32_BITS): Likewise.
2487 (LONG_MAX): Likewise.
2488 (MEMCHR): Use ANSI prototype and optimize algorithm.
2489
6b7b14b2
WN
2490 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2491
38851324
SP
24922014-07-03 Roland McGrath <roland@hack.frob.com>
2493
3d9eb57c
RM
2494 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2495 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2496
78b984ae
RM
2497 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2498 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2499 in a bare environment with no <stdlib.h> installed.
2500 * sysdeps/nptl/configure: Regenerated.
2501
2d5976a5
RM
2502 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2503
c1f5acd4
RM
2504 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2505 AC_EGREP_CPP for kernel header checks, so they only succeed if
2506 including <linux/version.h> actually works right.
2507 * sysdeps/unix/sysv/linux/configure: Regenerated.
2508
4d614fe5
RM
2509 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2510 value so it's not diagnosed as unused.
2511
38851324
SP
2512 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2513 thing) with "ifeq ($(subdir),rt)".
2514
b3ec00e5
RH
25152014-07-03 Richard Henderson <rth@redhat.com>
2516
69862e25
RH
2517 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2518 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2519 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2520
d5e16ade
RH
2521 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2522 (math_force_eval): New.
2523
ca7b945c
RH
2524 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2525 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2526
cd1175a3
RH
2527 * sysdeps/alpha/fpu/s_round.c: Remove file.
2528 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2529
b3ec00e5
RH
2530 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2531 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2532 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2533 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2534 (_dl_start, print_statistics): Likewise.
2535 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2536 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2537
2538 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2539 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2540 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2541 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2542 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2543 (HP_SMALL_TIMING_AVAIL): Define.
2544 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2545 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2546 (HP_SMALL_TIMING_AVAIL): Define.
2547 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2548 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2549
2550 * sysdeps/aarch64/hp-timing.h: New file.
2551
2552 * sysdeps/generic/hp-timing.h: Remove dead comment.
2553 * sysdeps/generic/hp-timing-common.h: New file.
2554 * sysdeps/alpha/hp-timing.h: Include it.
2555 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2556 * sysdeps/i386/i686/hp-timing.h: Likewise.
2557 * sysdeps/ia64/hp-timing.h: Likewise.
2558 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2559 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2560 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2561 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2562 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2563 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2564 (hp_timing_t): New.
2565
2566 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2567 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2568 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2569 * elf/rtld.c (_dl_start_final): Likewise.
2570 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2571 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2572 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2573 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2574 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2575 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2576 (HP_TIMING_DIFF_INIT): Remove.
2577 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2578 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2579 (HP_TIMING_DIFF_INIT): Remove.
2580 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2581 * sysdeps/i386/i686/hp-timing.c: Remove file.
2582 * sysdeps/x86_64/hp-timing.c: Remove file.
2583 * sysdeps/ia64/hp-timing.c: Remove file.
2584 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2585 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2586 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2587 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2588
2589 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2590 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2591 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2592 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2593 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2594 (HP_TIMING_ACCUM): Remove.
2595 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2596 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2597 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2598
2599 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2600 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2601 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2602 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2604 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2605 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2606 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2607
2608 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2609
225f410f
MR
26102014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2611
2612 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2613
3247f285
SP
26142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2615
2616 Sync up with gettext.
2617 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2618 [_MSC_VER]: Include malloc.h
2619 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2620 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2621 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2622 TEMP_FAILURE_RETRY. Cast return of alloca.
2623 [!_LIBC] Call gl_rwlock_init.
2624 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2625
d12704c7
SP
26262014-07-02 Roland McGrath <roland@hack.frob.com>
2627
2628 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2629 before checking its value.
2630
99f8dc92
SP
26312014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2632
05fdac77
SP
2633 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2634
99f8dc92
SP
2635 * debug/memcpy_chk.c: Don't include pagecopy.h.
2636 * debug/mempcpy_chk.c: Likewise.
2637 * string/memcpy.c: Likewise.
2638 * string/memmove.c: Likewise.
2639 * sysdeps/powerpc/memmove.c: Likewise.
2640 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2641 definition of PAGE_COPY_FWD_MAYBE here...
2642 * sysdeps/generic/pagecopy.h: ... from here.
2643 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2644
bc8ea385
VR
26452014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2646 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2647
2648 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2650 optimizations.
2651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2652 (__libc_ifunc_impl_list): Likewise.
2653 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2654 multiarch strcat for PPC64.
2655 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2656 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2657
fe5f34e4
RM
26582014-07-02 Roland McGrath <roland@hack.frob.com>
2659
2660 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2661
256aa665
SP
26622014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2663
d4eb8195
SP
2664 * intl/loadmsgcat.c: Remove declaration of
2665 get_sysdep_segment_value.
2666 (get_sysdep_segment_value): Use ISO C style.
2667 (_nl_load_domain): Use ISO C style. Get rid of redundant
2668 semicolon. Fix typo and formatting in comment.
2669 (_nl_unload_domain): Use ISO C style.
2670
256aa665
SP
2671 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2672
b100f9aa
WN
26732014-07-02 Will Newton <will.newton@linaro.org>
2674
2675 * malloc/obstack.c: Merge from gnulib master.
2676 [HAVE_CONFIG_H]: Remove conditional code.
2677 [!_LIBC]: Include config.h.
2678 [!ELIDE_CODE]: Don't include inttypes.h, include
2679 stdint.h unconditionally.
2680 (print_and_abort): Mark as _Noreturn.
2681 (_obstack_allocated_p): Mark as __attribute_pure__.
2682 (obstack_free): Rename to __obstack_free.
2683 [!__attribute__]: Remove conditional code.
2684 * malloc/obstack.h: Merge from gnulib master.
2685 [__cplusplus]: Move conditional down.
2686 [!__attribute_pure__]: Define __attribute_pure__ here
2687 if it is not already defined.
2688 (_obstack_memory_used): Mark as __attribute_pure__.
2689 [!__obstack_free]: Define as obstack_free.
2690 [__GNUC__]: Remove check for ancient NeXT gcc.
2691
c4c41244
PE
26922014-07-02 Will Newton <will.newton@linaro.org>
2693 Paul Eggert <eggert@cs.ucla.edu>
2694
2695 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2696
e1e041c4
SP
26972014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2698
2699 * resolv/gethnamaddr.c: Add comment warning that the file is
2700 not maintained.
2701
ccf431ff
CD
27022014-07-01 Carlos O'Donell <carlos@redhat.com>
2703
d34570a6
CD
2704 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2705 entries.
2706
ccf431ff
CD
2707 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2708 entry for aio_cancel and aio_cancel64.
2709 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2710 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2711 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2712 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2713 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2714 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2715 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2716 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2717 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2718 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2719 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2720 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2721 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2722
ca06321d
RM
27232014-07-01 Roland McGrath <roland@hack.frob.com>
2724
2725 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2726 * nptl/pthread_mutex_lock.c: Likewise.
2727 * nptl/pthread_mutex_timedlock.c: Likewise.
2728 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2729
a1ac3184
RH
27302014-07-01 Richard henderson <rth@redhat.com>
2731
631021e0
RH
2732 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2733 (__isnan, __isnanl): Remove.
2734 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2735
a1ac3184
RH
2736 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2737
0c1d731f
SL
27382014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2739
2740 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2741
76985d3e
SP
27422014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2743
2744 * resolv/nss_dns/dns-host.c (getanswer_r)
2745 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2746
b0cb3096
JM
27472014-07-01 Joseph Myers <joseph@codesourcery.com>
2748
2749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2750 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2751 undefine.
2752 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2753 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2754
4d76cb39
RM
27552014-07-01 Roland McGrath <roland@hack.frob.com>
2756
2757 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2758 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2759
2760 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2761 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2762
2763 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2764 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2765 ... here.
2766 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2767 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2768
2769 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2770 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2771 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2772 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2773
2774 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2775 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2776 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2777 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2779 Moved ...
2780 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2781 ... here.
2782 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2793 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2801 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2802 ... here.
2803 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2804 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2806 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2807 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2808 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2809 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2810 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2811
0cdcad17
DH
28122014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2813
2814 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2815 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2816 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2817 Add sysdep.
2818
9b71d0e3
AZ
28192014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2820
2821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2822
665390c2
JM
28232014-06-30 Joseph Myers <joseph@codesourcery.com>
2824
ae05a9d7
JM
2825 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2826 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2827
a7672a2f
JM
2828 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2829
665390c2
JM
2830 * sysdeps/arm/libm-test-ulps: Regenerated.
2831
d7a05d07
MR
28322014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2833 Roland McGrath <roland@hack.frob.com>
2834
2835 * test-skeleton.c (signal_handler): Kill the whole process group
2836 before killing the child individually.
2837 (main): Report any failure on `setpgid'.
2838
46f1d8a6
RM
28392014-06-30 Roland McGrath <roland@hack.frob.com>
2840
2841 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2842 from _TLS_H to _ARM_NPTL_TLS_H.
2843 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2844 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2845
9c37ec0b
JM
28462014-06-30 Joseph Myers <joseph@codesourcery.com>
2847
ce9c5b3e
JM
2848 [BZ #16539]
2849 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2850 (__expm1l): Return argument unchanged when small but not
2851 subnormal.
2852
3a6e9887
JM
2853 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2854 include macro name.
2855 (_FP_UNPACK_RAW_1_P): Likewise.
2856 (_FP_PACK_RAW_1): Likewise.
2857 (_FP_PACK_RAW_1_P): Likewise.
2858 (_FP_MUL_MEAT_1_wide): Likewise.
2859 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2860 (_FP_MUL_MEAT_1_hard): Likewise.
2861 (_FP_DIV_MEAT_1_imm): Likewise.
2862 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2863 (_FP_DIV_MEAT_1_udiv): Likewise.
2864 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2865 (_FP_UNPACK_RAW_2): Likewise.
2866 (_FP_UNPACK_RAW_2_P): Likewise.
2867 (_FP_PACK_RAW_2): Likewise.
2868 (_FP_PACK_RAW_2_P): Likewise.
2869 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2870 (_FP_MUL_MEAT_2_wide): Likewise.
2871 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2872 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2873 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2874 (_FP_MUL_MEAT_2_gmp): Likewise.
2875 (_FP_DIV_MEAT_2_udiv): Likewise.
2876 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2877 (_FP_FRAC_SRL_4): Likewise.
2878 (_FP_FRAC_SRST_4): Likewise.
2879 (_FP_FRAC_SRS_4): Likewise.
2880 (_FP_UNPACK_RAW_4): Likewise.
2881 (_FP_UNPACK_RAW_4_P): Likewise.
2882 (_FP_PACK_RAW_4): Likewise.
2883 (_FP_PACK_RAW_4_P): Likewise.
2884 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2885 (_FP_MUL_MEAT_4_wide): Likewise.
2886 (_FP_MUL_MEAT_4_gmp): Likewise.
2887 (umul_ppppmnnn): Likewise.
2888 (_FP_DIV_MEAT_4_udiv): Likewise.
2889 (__FP_FRAC_ADD_4): Likewise.
2890 (__FP_FRAC_SUB_3): Likewise.
2891 (__FP_FRAC_SUB_4): Likewise.
2892 (__FP_FRAC_DEC_3): Likewise.
2893 (__FP_FRAC_DEC_4): Likewise.
2894 (__FP_FRAC_ADDI_4): Likewise.
2895 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2896 (_FP_FRAC_SRL_8): Likewise.
2897 (_FP_FRAC_SRS_8): Likewise.
2898
9c37ec0b
JM
2899 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2900 include macro name.
2901 (FP_UNPACK_RAW_EP): Likewise.
2902 (FP_PACK_RAW_E): Likewise.
2903 (FP_PACK_RAW_EP): Likewise.
2904 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2905 (_FP_ISSIGNAN): Likewise.
2906 (_FP_ADD_INTERNAL): Likewise.
2907 (_FP_FMA): Likewise.
2908 (_FP_CMP): Likewise.
2909 (_FP_SQRT): Likewise.
2910 (_FP_TO_INT): Likewise.
2911 (_FP_FROM_INT): Likewise.
2912 (FP_EXTEND): Likewise.
2913 (_FP_DIV_MEAT_N_loop): Likewise.
2914
2125f674
MR
29152014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2916
2917 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2918 throughout.
2919
edea4028
JM
29202014-06-29 Joseph Myers <joseph@codesourcery.com>
2921
2922 [BZ #17097]
2923 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2924 result with correct sign in case of exponents that produce
2925 overflow except for X very close to 1.
2926
dd0ba018
PE
29272014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2928
2929 mktime: merge #if/#ifdef usage from glibc
2930 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2931 as that works with both Glibc's and Gnulib's style.
2932 See thread starting at Siddhesh Poyarekar's bug report at:
2933 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2934
64df73c2
SP
29352014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2936
2937 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2938 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2939 * sysdeps/tile/tilegx/memmove.c: Remove file.
2940
f1eafb41
JM
29412014-06-27 Joseph Myers <joseph@codesourcery.com>
2942
2943 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2944 abi-name definition.
2945 * scripts/soversions.awk: Do not handle or generate ABI lines.
2946 * shlib-versions: Remove ABI entries.
2947 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2948 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2949
58eb0862
RM
29502014-06-27 Roland McGrath <roland@hack.frob.com>
2951
37caf178
RM
2952 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2953 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2954 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2955 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2957 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2959 Moved ...
2960 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2961 ... here.
2962 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2963 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2965 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2975 Moved ...
2976 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2978 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2979 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2980 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2981 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2982 Moved ...
2983 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2985 Moved ...
2986 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2988 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2990 Moved ...
2991 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2999 Moved ...
3000 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3001 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3002 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3003 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3004 Moved ...
3005 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3006 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3007 Moved ...
3008 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3009 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3010 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3012 Moved ...
3013 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3014 ... here.
3015 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3016 Identical file removed.
3017 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3018 Moved ...
3019 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3020 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3021 Identical file removed.
3022 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3023 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3024 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3025 Moved ...
3026 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3027 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3028 Identical file removed.
3029 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3030 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3031 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3032 Identical file removed.
3033 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3034 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3035 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3036 Identical file removed.
3037 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3038 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3040 Identical file removed.
3041 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3042 Moved ...
3043 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3044 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3045 Identical file removed.
3046 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3047 Moved ...
3048 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3049 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3050 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3051 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3052 Identical file removed.
3053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3054 Moved ...
3055 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3056 ... here.
3057 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3058 Identical file removed.
3059 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3060 Moved ...
3061 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3062 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3063 Identical file removed.
3064 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3065 Moved ...
3066 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3067 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3068 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3069 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3070 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3071 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3072 Moved ...
3073 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3074 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3075 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3076
58eb0862
RM
3077 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3078 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3079 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3080 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3081 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3082
6f12d062
AS
30832014-06-27 Arjun Shankar <arjun.is@lostca.se>
3084
3085 [BZ #17092]
3086 * nscd/nscd.c (monitor_child): Return exit status of child
3087 instead of return value from wait syscall.
3088
be254932
JM
30892014-06-27 Joseph Myers <joseph@codesourcery.com>
3090
cb403c34
JM
3091 * configure.ac (libc_commonpagesize): Remove variable.
3092 (libc_relro_required): Likewise.
3093 (libc_cv_z_relro): Remove configure test.
3094 * configure: Regenerated.
3095 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3096 variable.
3097 (libc_relro_required): Likewise.
3098 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3099 (libc_relro_required): Likewise.
3100 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3101 (libc_relro_required): Likewise.
3102 * sysdeps/arm/preconfigure: Regenerated.
3103 * sysdeps/ia64/preconfigure: Remove file.
3104 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3105 variable.
3106 (libc_relro_required): Likewise.
3107
be254932
JM
3108 [BZ #16561]
3109 [BZ #16562]
3110 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3111 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3112 recompute overflowing results in original rounding mode.
3113 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3114 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3115 recompute overflowing results in original rounding mode.
3116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3117 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3118 recompute overflowing results in original rounding mode.
3119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3120 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3121 recompute overflowing results in original rounding mode.
3122 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3123 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3124 recompute overflowing results in original rounding mode.
3125 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3126 (libc_feholdsetround_ctx): New macro.
3127 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3128 * sysdeps/i386/fpu/libm-test-ulps: Update.
3129 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3130
b351d85a
JM
31312014-06-26 Joseph Myers <joseph@codesourcery.com>
3132
3133 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3134 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3135 corresponding .cpsetup call.
3136
3cb4de47
RM
31372014-06-26 Roland McGrath <roland@hack.frob.com>
3138
3139 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3140 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3141 * sysdeps/arm/Makefile [$(subdir) = csu]
3142 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3143 (static-only-routines): Add aeabi_read_tp here.
3144 (shared-only-routines): Add libc-aeabi_read_tp here.
3145 (CFLAGS-libc-start.c): Add -fexceptions here.
3146 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3147 (sysdep_routines, static-only-routines, shared-only-routines):
3148 Don't add to these here.
3149 (CFLAGS-libc-start.c): Likewise.
3150
3151 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3152 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3153 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3154 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3155 * sysdeps/arm/Makefile [$(subdir) = rt]
3156 (librt-sysdep_routines, librt-shared-only-routines):
3157 Append rt-aeabi_unwind_cpp_pr1 here.
3158 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3159 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3160 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3161 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3162 Append nptl-aeabi_unwind_cpp_pr1 here.
3163 (tests): Filter out tst-cleanupx4 here.
3164 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3165 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3166 Don't do those here.
3167
354426bb
JM
31682014-06-26 Joseph Myers <joseph@codesourcery.com>
3169
3170 * scripts/list-sources.sh: Do not handle ports specially.
3171
28b0a8c9
RM
31722014-06-26 Roland McGrath <roland@hack.frob.com>
3173
a3dd035d
RM
3174 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3175 * sysdeps/arm/feupdateenv.c: Likewise.
3176
28b0a8c9
RM
3177 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3178
e66a8203
JM
31792014-06-26 Joseph Myers <joseph@codesourcery.com>
3180
3181 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3182 trailing whitespace removed.
3183 * scripts/config.guess: Update to version 2014-03-23.
3184 * scripts/config.sub: Update to version 2014-05-01
3185 * scripts/install-sh: Update to version 2013-12-25.23.
3186 * scripts/move-if-change: Update from gnulib.
3187
74171115
SP
31882014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3189
b97c9ce5
SP
3190 * debug/memmove_chk.c: Remove pagecopy.h include.
3191
4000f892
SP
31922014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3193
74171115
SP
3194 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3195 identical to gnulib mktime.
3196
a8779c28
JM
31972014-06-26 Joseph Myers <joseph@codesourcery.com>
3198
e64708de
JM
3199 * configure.ac: Do not test for machine being rs6000. Do not test
3200 for powerpc*-*soft.
3201 * configure: Regenerated.
3202
a8779c28
JM
3203 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3204 test.
3205 * configure: Regenerated.
3206 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3207 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3208 Remove configure test.
3209 * sysdeps/arm/configure: Regenerated.
3210 * sysdeps/nptl/configure.ac: Do not check
3211 libc_cv_asm_cfi_directives.
3212 * sysdeps/nptl/configure: Regenerated.
3213 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3214 * sysdeps/x86_64/nptl/configure: Remove generated file.
3215 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3216 unconditional.
3217 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3218
2aac0a86
SP
32192014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3220
059bf913
SP
3221 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3222 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3223 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3224 it is defined.
3225
4cf5b6d0
SP
3226 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3227 instead of whether it is defined.
3228 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3229 * sysdeps/hppa/dl-machine.h: Likewise.
3230 * sysdeps/ia64/dl-machine.h: Likewise.
3231 * sysdeps/m68k/dl-machine.h: Likewise.
3232 * sysdeps/microblaze/dl-machine.h: Likewise.
3233 * sysdeps/mips/dl-machine.: Likewise.
3234 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3235 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3236 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3237 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3238 * sysdeps/sh/dl-machine.h: Likewise.
3239 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3240 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3241 * sysdeps/tile/dl-machine.h: Likewise.
3242 * sysdeps/x86_64/dl-machine.h: Likewise.
3243
2aac0a86
SP
3244 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3245 code.
3246 (verify_persistent_db): Likewise.
3247
6ad2df0b
RM
32482014-06-26 Roland McGrath <roland@hack.frob.com>
3249
d8a483f3
RM
3250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3251 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3253 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3255 Moved ...
3256 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3257 ... here.
3258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3259 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3261 Identical file removed.
3262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3263 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3265 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3267 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3269 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3271 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3273 Moved ...
3274 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3276 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3278 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3280 Moved ...
3281 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3283 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3285 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3287 Identical file removed.
3288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3289 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3291 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3293 Moved ...
3294 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3295 ... here.
3296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3297 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3299 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3301 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3303 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3305 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3307 Moved ...
3308 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3310 Moved ...
3311 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3313 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3315 Moved ...
3316 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3318 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3319
52ae23b4
RM
3320 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3321 folded into ...
3322 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3323 * sysdeps/unix/sysv/linux/s390/Versions
3324 (libpthread: GLIBC_2.19): New version set.
3325 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3326 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3327 (librt: GLIBC_2.3.3): New version set.
3328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3329 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3330 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3331 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3332 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3333 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3334 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3335 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3336 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3337 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3338 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3339 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3340 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3341 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3342 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3343 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3344 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3345 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3346 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3347 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3348 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3349 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3350 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3351 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3352 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3353 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3354 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3355 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3356 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3357 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3358 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3359 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3360 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3361 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3362 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3363 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3364 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3365 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3366 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3367 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3368 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3369 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3370 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3371 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3372 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3373
39507e4a
RM
3374 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3375 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3376 (__libc_vfork): Define the function under this name.
3377 [!NOT_IN_libc] (__vfork): Make this an alias.
3378 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3379 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3380 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3381 (__libc_vfork): Define the function under this name.
3382 [!NOT_IN_libc] (__vfork): Make this an alias.
3383 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3384 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3385 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3386 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3387 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3388 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3389
e549ee56
RM
3390 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3391 code that was previously under [RESET_PID].
3392 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3393 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3394 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3395
6ad2df0b
RM
3396 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3397 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3398 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3399 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3400 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3401 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3402 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3403 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3404 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3405 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3407 Moved ...
3408 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3410 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3411 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3412 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3413 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3414 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3415 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3416 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3421 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3422 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3423 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3424 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3425 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3426 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3427 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3428 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3429 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3430 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3431 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3432 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3433 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3434 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3435 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3436 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3437
7c1c1d8e
RM
34382014-06-25 Roland McGrath <roland@hack.frob.com>
3439
3440 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3441 that was previously under [RESET_PID].
3442 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3443
3e239be6
JM
34442014-06-25 Joseph Myers <joseph@codesourcery.com>
3445
74385da5
JM
3446 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3447 not undefine and redefine.
3448 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3449 [O_CLOEXEC]: Make code unconditional.
3450 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3451 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3452 <kernel-features.h>.
3453 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3454 conditional variable definition.
3455 (shm_open) [O_CLOEXEC]: Make code unconditional.
3456 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3457 code.
3458
c2570a0b
JM
3459 * configure.ac (USE_REGPARMS): Don't define here.
3460 * configure: Regenerated.
3461 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3462 * sysdeps/i386/configure: Regenerated.
3463
11b076bb
JM
3464 * nptl/createthread.c: Don't include kernel-features.h.
3465 * nptl/pthread_cancel.c: Likewise.
3466 * nptl/pthread_condattr_setclock.c: Likewise.
3467 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3468 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3469 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3470 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3471 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3472 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3473 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3474 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3475 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3476 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3477 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3478 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3479 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3480 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3481 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3482 * nscd/gai.c: Likewise.
3483 * nss/nss_db/db-open.c: Likewise.
3484 * sysdeps/generic/ldsodefs.h: Likewise.
3485 * sysdeps/sh/nptl/tls.h: Likewise.
3486 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3487 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3488 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3489 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3490 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3491 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3492 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3493 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3494 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3495 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3496 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3497 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3498 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3499 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3500 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3501 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3502 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3503 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3504 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3505 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3506 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3507 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3508 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3509 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3510 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3511 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3512 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3513 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3514 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3515 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3516 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3517 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3518 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3519 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3520 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3521 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3522 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3523 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3524 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3525 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3526 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3527 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3528 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3529 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3530 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3531 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3532 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3533 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3534 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3535 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3536 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3537 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3538 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3539 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3540 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3541 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3542 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3543 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3566 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3567 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3568 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3569 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3570 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3571 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3572 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3573 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3574 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3575 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3576 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3577 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3578 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3579 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3580 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3581 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3582 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3583 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3584 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3585 * sysdeps/unix/sysv/linux/system.c: Likewise.
3586 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3587 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3588 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3589 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3590 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3591 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3592 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3593
92072d57
JM
3594 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3595 * configure: Regenerated.
3596 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3597
3e239be6
JM
3598 * configure.ac (base_machine): Do not set specially for particular
3599 machines here.
3600 * configure: Regenerated.
3601 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3602 settings from configure.ac.
3603 * sysdeps/i386/preconfigure: New file.
3604 * sysdeps/s390/preconfigure: Likewise.
3605 * sysdeps/sh/preconfigure: Likewise.
3606 * sysdeps/sparc/preconfigure: Likewise.
3607
06d50baa
RM
36082014-06-25 Roland McGrath <roland@hack.frob.com>
3609
74836003
RM
3610 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3611 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3612 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3613 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3614 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3615 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3616 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3617 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3618 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3619 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3620 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3621 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3622 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3623 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3624 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3625 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3626 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3627 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3628 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3629
3630 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3631 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3632 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3633 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3634 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3635 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3636 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3637 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3638 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3639 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3640 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3641 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3642 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3643 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3644 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3645 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3646 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3647 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3648 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3649 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3650 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3651 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3652 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3653 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3654 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3655 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3656 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3657 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3658 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3659 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3660 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3661 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3662 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3663 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3664 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3665 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3666 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3667 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3668
06d50baa
RM
3669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3670 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3672 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3674 Moved ...
3675 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3676 ... here.
3677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3678 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3680 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3682 Moved ...
3683 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3685 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3687 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3689 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3691 Moved ...
3692 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3694 Moved ...
3695 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3697 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3699 Moved ...
3700 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3702 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3704 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3706 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3708 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3710 Moved ...
3711 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3712 ... here.
3713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3714 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3716 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3718 Moved ...
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3721 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3723 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3725 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3727 Moved ...
3728 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3730 Moved ...
3731 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3733 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3735 Moved ...
3736 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3738 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3740 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3741
a4ccbc9b
JM
37422014-06-25 Joseph Myers <joseph@codesourcery.com>
3743
0828edbf
JM
3744 * timezone/checktab.awk: Update from tzcode 2014e.
3745 * timezone/private.h: Likewise.
3746 * timezone/tzfile.h: Likewise.
3747 * timezone/zdump.c: Likewise.
3748 * timezone/zic.c: Likewise.
3749
a4ccbc9b
JM
3750 * sysdeps/unix/sysv/linux/kernel-features.h
3751 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3752 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3753 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3754 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3755 Remove conditional code.
3756
9aea0cb8
WN
37572014-06-25 Will Newton <will.newton@linaro.org>
3758
3759 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3760 (_dl_arm_cap_flags): Add HWCAP2 values.
3761 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3762 (_DL_HWCAP_COUNT): Increase to 37.
3763 (_DL_HWCAP_LAST): New define.
3764 (_DL_HWCAP2_LAST): New define.
3765 (_dl_procinfo): Add support for printing
3766 AT_HWCAP2 entries.
3767 (_dl_string_hwcap): Use _dl_hwcap_string.
3768
6eaa65ce
AZ
37692014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3770
3771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3772
0f5b7185
JM
37732014-06-25 Joseph Myers <joseph@codesourcery.com>
3774
cfd2ea50
JM
3775 * README: Do not mention ports directory.
3776
cecf2ed4
JM
3777 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3778 Remove macro.
3779 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3780 <kernel-features.h>.
3781 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3782 conditional variable definition.
3783 (__futimes): Update comment.
3784 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3785 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3786
a638de82
JM
3787 [BZ #16560]
3788 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3789 arguments close to 0.
3790 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3791 Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3793 Likewise.
3794 * math/auto-libm-test-in: Add more tests of exp10.
3795 * math/auto-libm-test-out: Regenerated.
3796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3797
0f5b7185
JM
3798 * sysdeps/unix/sysv/linux/kernel-features.h
3799 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3800 * sysdeps/unix/sysv/linux/readv.c: Do not include
3801 <kernel-features.h>.
3802 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3803 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3804 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3805 unconditional.
3806 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3807 conditional code.
3808 * sysdeps/unix/sysv/linux/writev.c: Do not include
3809 <kernel-features.h>.
3810 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3811 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3812 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3813 unconditional.
3814 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3815 conditional code.
3816
c7aec4be
WN
38172014-06-25 Will Newton <will.newton@linaro.org>
3818
3819 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3820 comment changes throughout the file. Remove checks
3821 for HAVE_*_H definitions that are not required.
3822 (__gen_tempname): Call abort if an unknown kind value is
3823 passed.
3824
c5241f95
AS
38252014-06-25 Andreas Schwab <schwab@suse.de>
3826
3827 [BZ #17086]
3828 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3829 scalbln, scalblnf, scalblnl in libc.
3830
911422da
SP
38312014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3832
3833 [BZ #17086]
3834 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3835 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3836 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3837
0d749bbe
RM
38382014-06-24 Roland McGrath <roland@hack.frob.com>
3839
3840 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3841 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3842 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3843 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3844 Update #include.
3845 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3846 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3847 Update #include.
3848 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3849 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3850 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3851 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3852 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3853 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3854 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3855 * sysdeps/x86/bits/semaphore.h: ... here.
3856 * sysdeps/x86/nptl/elide.h: Moved ...
3857 * sysdeps/x86/elide.h: ... here.
3858 * sysdeps/x86_64/nptl/Implies: File removed.
3859 * sysdeps/i386/nptl/Implies: File removed.
3860
0ea5d373
JM
38612014-06-24 Joseph Myers <joseph@codesourcery.com>
3862
4060283d
JM
3863 [BZ #16539]
3864 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3865 return the argument for normal arguments with exponent below -64.
3866 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3867 Likewise.
3868 * math/auto-libm-test-in: Add another test of expm1.
3869 * math/auto-libm-test-out: Regenerated.
3870
e7dd3c8c
JM
3871 [BZ #16287]
3872 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3873 calling __erfcl for arguments at least 16.
3874 * math/auto-libm-test-in: Add more tests of erf.
3875 * math/auto-libm-test-out: Regenerated.
3876
0ea5d373
JM
3877 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3878 individual architectures.
3879 * sysdeps/unix/sysv/linux/configure: Regenerated.
3880 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3881 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3882 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3883 (ldd_rewrite_script): Define variable.
3884 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3886 file.
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3888 generated file.
3889 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3890 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3891 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3892 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3893 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3894 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3895 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3896 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3897
2307e126
SP
38982014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3899
3900 [BZ #17084]
3901 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3902 Rename member __data.d to __data.__elision_data.
3903
c0a4ed77
W
39042014-06-24 Wilco <wdijkstr@arm.com>
3905
3906 * NEWS: Add 16918 to fixed bug list.
3907
b8c00573
W
39082014-06-24 Wilco <wdijkstr@arm.com>
3909
3910 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3911
b5570d92
W
39122014-06-24 Wilco <wdijkstr@arm.com>
3913
3914 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3915 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3916 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3917 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3918 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3919 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3920 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3921 Use _FPU_MASK_RM.
3922
947bdca2
W
39232014-06-24 Wilco <wdijkstr@arm.com>
3924
3925 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3926
00f669ed
W
39272014-06-24 Wilco <wdijkstr@arm.com>
3928
3929 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3930 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3931 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3932 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3933
db59bad3
W
39342014-06-24 Wilco <wdijkstr@arm.com>
3935
3936 [BZ #16918]
3937 * sysdeps/arm/feupdateenv.c (feupdateenv):
3938 Rewrite to reduce FPSCR accesses and fix return value.
3939
001f7b77
W
39402014-06-24 Wilco <wdijkstr@arm.com>
3941
3942 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3943 Optimize to avoid unnecessary FPSCR writes.
3944 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3945 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3946 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3947 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3948
4841e6a6
W
39492014-06-24 Wilco <wdijkstr@arm.com>
3950
3951 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3952 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3953 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3954 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3955 Call libc_fetestexcept_vfp.
3956 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3957 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3958 __SOFTFP__ ifdef so that they can be built for softfp.
3959
0813022c
SP
39602014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3961
08e5862f
SP
3962 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3963 argument type signed char.
3964
0813022c
SP
3965 * Makerules (check-abi): Dump diff of symlist if the test
3966 fails.
3967
3fc7236a
RM
39682014-06-23 Roland McGrath <roland@hack.frob.com>
3969
aba8ef95
RM
3970 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3971 using abort.
3972
3fc7236a
RM
3973 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3974 Remove unused variable ST.
3975
4da6db51
JM
39762014-06-23 Joseph Myers <joseph@codesourcery.com>
3977
4648909d
JM
3978 [BZ #16354]
3979 [BZ #17061]
3980 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3981 small arguments before calling __expm1.
3982 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3983 small arguments before calling __expm1f.
3984 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3985 small arguments before calling __expm1l.
3986 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3987 Likewise.
3988 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3989 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3990 spurious underflow for some cosh tests.
3991 * math/auto-libm-test-out: Regenerated.
3992 * sysdeps/i386/fpu/libm-test-ulps: Update.
3993
46a3d3c7
JM
3994 [BZ #17050]
3995 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3996 (__ieee754_y1): Set errno if return value overflows.
3997 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3998 (__ieee754_y1f): Set errno if return value overflows.
3999 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4000 (__ieee754_y1l): Set errno if return value overflows.
4001 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4002 (__ieee754_y1l): Set errno if return value overflows.
4003 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4004 * math/auto-libm-test-out: Regenerated.
4005
863893ec
JM
4006 * math/gen-auto-libm-tests.c: Document use of
4007 ignore-zero-inf-sign.
4008 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4009 (input_flags): Add ignore-zero-inf-sign.
4010 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4011 * math/gen-libm-test.pl (generate_testfile): Handle
4012 ignore-zero-inf-sign.
4013 * math/auto-libm-test-in: Mark some cpow tests with
4014 ignore-zero-inf-sign and some with xfail-rounding.
4015 * math/auto-libm-test-out: Regenerated.
4016 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4017 * sysdeps/i386/fpu/libm-test-ulps: Update.
4018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4019
4da6db51
JM
4020 [BZ #16315]
4021 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4022 overflowing or underflowing operations take place with sign of
4023 result.
4024 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4025 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4026 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4027 (__ieee754_pow): Recompute overflowing and underflowing results in
4028 original rounding mode.
4029 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4030 (__powl_helper): Allow negative argument X and scale negated value
4031 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4032 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4033 overflowing or underflowing operations take place with sign of
4034 result.
4035 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4036 Include <math.h>.
4037 * math/auto-libm-test-in: Add more tests of pow.
4038 * math/auto-libm-test-out: Regenerated.
4039 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4040 (pow_tonearest_test_data): Remove.
4041 (pow_test_tonearest): Likewise.
4042 (pow_towardzero_test_data): Likewise.
4043 (pow_test_towardzero): Likewise.
4044 (pow_downward_test_data): Likewise.
4045 (pow_test_downward): Likewise.
4046 (pow_upward_test_data): Likewise.
4047 (pow_test_upward): Likewise.
4048 (main): Don't call removed functions.
4049 * sysdeps/i386/fpu/libm-test-ulps: Update.
4050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4051
5686b236
RM
40522014-06-23 Roland McGrath <roland@hack.frob.com>
4053
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4055 Moved ...
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4058 Moved ...
4059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4061 Moved ...
4062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4064 Moved ...
4065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4067 File removed.
4068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4069 File removed.
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4071 File removed.
4072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4073 File removed.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4075 File removed.
4076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4077 File removed.
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4079 File removed.
4080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4081 File removed.
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4083 File removed.
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4085 File removed.
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4087 File removed.
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4089 File removed.
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4091 Moved ...
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4094 Moved ...
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4096 ... here.
4097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4098 Moved ...
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4101 Moved ...
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4104 Moved ...
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4107 Moved ...
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4110 Moved ...
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4113 Moved ...
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4116 Moved ...
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4120 ... here.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4122 Moved ...
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4125 Moved ...
4126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4127 ... here.
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4129 Moved ...
4130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4131 ... here.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4133 Moved ...
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4135 ... here.
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4137 Moved ...
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4140 Moved ...
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4145 Moved ...
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4147 ... here.
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4149 Moved ...
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4151 ... here.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4153 Moved ...
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4156 Moved ...
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4159 Moved ...
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4162 Moved ...
4163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4165 Moved ...
4166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4167 ... here.
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4169 Moved ...
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4172 Moved ...
4173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4175 Moved ...
4176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4178 Moved ...
4179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4183 Moved ...
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4186 Moved ...
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4189 Moved ...
4190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4191 ... here.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4193 Moved ...
4194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4195 ... here.
4196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4197 Moved ...
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4199 ... here.
4200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4201 Moved ...
4202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4204 Moved ...
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4207 Moved ...
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4210 Moved ...
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4212 ... here.
4213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4214 Moved ...
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4216 ... here.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4218 Moved ...
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4220 ... here.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4222 Moved ...
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4225 Moved ...
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4227
e6d90d67
WD
42282014-06-23 Will Newton <will.newton@linaro.org>
4229 Wilco <wdijkstr@arm.com>
4230
4231 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4232 implementation. Include get-rounding-mode.h.
4233 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4234 [!libc_feholdsetround_noex_ctx]: Define
4235 libc_feholdsetround_noex_ctx.
4236 [!libc_feholdsetround_noexf_ctx]: Define
4237 libc_feholdsetround_noexf_ctx.
4238 [!libc_feholdsetround_noexl_ctx]: Define
4239 libc_feholdsetround_noexl_ctx.
4240 (libc_feholdsetround_ctx): New function.
4241 (libc_feresetround_ctx): New function.
4242 (libc_feholdsetround_noex_ctx): New function.
4243 (libc_feresetround_noex_ctx): New function.
4244
d42df555
RM
42452014-06-23 Roland McGrath <roland@hack.frob.com>
4246
88a46474
RM
4247 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4248 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4249 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4250 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4251 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4252 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4253
15bed472
RM
4254 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4255 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4256 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4257 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4258 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4259 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4260 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4261 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4262 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4263 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4264 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4265 Moved ...
4266 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4267 ... here.
4268 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4271 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4272 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4273 Moved ...
4274 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4276 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4278 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4279 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4280 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4281 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4282 Moved ...
4283 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4284 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4285 Moved ...
4286 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4288 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4289 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4290 Moved ...
4291 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4292 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4293 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4294 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4295 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4296 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4297 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4298 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4299 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4300 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4301 Moved ...
4302 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4303 ... here.
4304 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4305 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4306 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4307 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4308 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4309 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4310 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4311 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4312 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4313 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4314 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4315 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4316 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4317 Moved ...
4318 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4320 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4322 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4323 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4324 Moved ...
4325 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4326 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4327 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4328 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4329 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4330
d42df555
RM
4331 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4332 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4333 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4334 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4335 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4336 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4337 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4338 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4340 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4341 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4342 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4343 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4344 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4345 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4346 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4347 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4348 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4349 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4350 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4351 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4352 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4353 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4354 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4355 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4356 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4357 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4358 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4359
76e5216e
JM
43602014-06-23 Joseph Myers <joseph@codesourcery.com>
4361
4362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4363 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4364 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4365 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4366 (IPV6_PMTUDISC_INTERFACE): Likewise.
4367 (IPV6_PMTUDISC_OMIT): Likewise.
4368
7a81cbcc
AS
43692014-06-23 Andreas Schwab <schwab@suse.de>
4370
4371 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4372 Remove unused errout label.
4373
db224009
AZ
43742014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4375
4376 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4377 macro: hardware supports Vector Crypto instructions.
4378
f393b4aa
WN
43792014-06-23 Will Newton <will.newton@linaro.org>
4380
cc7d0447
WN
4381 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4382 rather than __builtin_expect.
4383
d6d06225
WN
4384 * elf/dl-lookup.c (undefined_msg): Remove variable.
4385 (_dl_lookup_symbol_x): Replace undefined_msg with string
4386 literal.
4387
f393b4aa
WN
4388 * elf/dl-lookup.c (do_lookup_unique): New function.
4389 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4390 to a separate function.
4391
ac60763e
AS
43922014-06-23 Andreas Schwab <schwab@suse.de>
4393
4394 [BZ #17079]
4395 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4396 before reading the next line.
4397
c5c13355
WN
43982014-06-23 Will Newton <will.newton@linaro.org>
4399
4400 * test-skeleton.c (signal_handler): Use printf and %m
4401 rather than perror. Use printf rather than fprintf to
4402 stderr. Use puts rather than fputs to stderr.
4403 (main): Likewise.
4404
bd3675f9
LC
44052014-06-22 Ludovic Courtès <ludo@gnu.org>
4406
4407 * nscd/nscd.c (thread_info_t): Remove typedef.
4408 (thread_info): Remove variable.
4409
d03efb2f
AM
44102014-06-21 Allan McRae <allan@archlinux.org>
4411
4412 * NEWS: Mention CVE-2014-4043.
4413
bc4a86fa
RM
44142014-06-20 Roland McGrath <roland@hack.frob.com>
4415
dc9a54f8
RM
4416 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4417 * nptl/smp.h: ... here.
4418
bd7022c4
RM
4419 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4420
26ffd5e6
RM
4421 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4422 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4423 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4424 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4425
93a6d082
RM
4426 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4427 * nptl/stack-aliasing.h: New file.
4428 * sysdeps/i386/i686/stack-aliasing.h: New file.
4429 * sysdeps/i386/i686/nptl/Makefile: File removed.
4430 * sysdeps/x86_64/stack-aliasing.h: New file.
4431 * sysdeps/x86_64/nptl/Makefile
4432 (CFLAGS-pthread_create.c): Variable removed.
4433
bc4a86fa
RM
4434 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4435 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4436 old file.
4437 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4438 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4439 old file.
4440
2272ffc1
JM
44412014-06-21 Joseph Myers <joseph@codesourcery.com>
4442
4443 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4444 (__ASSUME_SIGFRAME_V2): Remove macro.
4445 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4446 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4447 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4448 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4449 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4450 Declare as function. Remove conditional macro definitions.
4451 (__default_rt_sa_restorer): Likewise.
4452 (__default_sa_restorer_v1): Remove declaration.
4453 (__default_sa_restorer_v2): Likewise.
4454 (__default_rt_sa_restorer_v1): Likewise.
4455 (__default_rt_sa_restorer_v2): Likewise.
4456 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4457 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4458 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4459
4b88139b
RM
44602014-06-20 Roland McGrath <roland@hack.frob.com>
4461
4462 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4463 (libpthread-routines): Add sysdep.
4464 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4465 * sysdeps/unix/sysv/linux/sparc/Versions
4466 (libpthread: GLIBC_2.3.3): New version set.
4467 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4468 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4469 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4470 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4471 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4472 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4473 Moved ...
4474 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4475 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4476 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4477 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4478 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4479 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4480 * sysdeps/sparc/nptl/sem_init.c: ... here.
4481 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4482 * sysdeps/sparc/nptl/sem_post.c: ... here.
4483 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4484 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4485 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4486 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4487 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4488 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4489 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4490 (libpthread-routines): Add cpu_relax.
4491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4492 File removed.
4493 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4494 (librt: GLIBC_2.3.3): New version set.
4495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4496 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4497 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4498 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4501 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4503 Moved ...
4504 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4506 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4508 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4510 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4512 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4514 Moved ...
4515 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4516 Update #include.
4517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4518 Moved ...
4519 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4520 Update #include.
4521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4522 Moved ...
4523 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4524 Update #include.
4525 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4526 Moved ...
4527 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4528 Update #include.
4529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4530 Moved ...
4531 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4532 Update #include.
4533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4534 Moved ...
4535 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4536 Update #include.
4537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4538 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4540 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4544 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4545 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4546 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4547 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4548 Moved ...
4549 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4551 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4553 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4554
d7109027
JM
45552014-06-20 Joseph Myers <joseph@codesourcery.com>
4556
9bc6103d
JM
4557 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4558 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4559 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4560 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4561 * nscd/nscd.c: Likewise.
4562 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4563 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4564 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4565 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4566
d7109027
JM
4567 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4568 <kernel-features.h>.
4569 (init_mq_netlink): Remove conditional have_sock_cloexec
4570 definitions. Remove code conditional on have_sock_cloexec < 0.
4571 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4572 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4573 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4574 <kernel-features.h>.
4575 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4576 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4577
d92d8f8a
L
45782014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4579
4580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4581 Add tests for memset_chk and memset.
4582
4583 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4584 with AVX2_Usable.
4585
4e6d2347
MR
45862014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4587
257ce712
MR
4588 [BZ #16046]
4589 * elf/tst-dl-iter-static.c: New file.
4590 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4591
4e6d2347
MR
4592 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4593 error.
4594
a2a76afe
JM
45952014-06-20 Joseph Myers <joseph@codesourcery.com>
4596
7fd00f99
JM
4597 * sysdeps/unix/sysv/linux/kernel-features.h
4598 (__ASSUME_F_GETOWN_EX): Remove macro.
4599 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4600 <kernel-features.h>.
4601 (miss_F_GETOWN_EX): Remove variable or macro.
4602 (do_fcntl): Do not check miss_F_GETOWN_EX.
4603 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4604
4a103975
JM
4605 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4606 Remove macro.
4607 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4608 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4609 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4610
a2a76afe
JM
4611 * sysdeps/unix/sysv/linux/kernel-features.h
4612 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4613 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4614 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4615 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4616
90e5dd48
MR
46172014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4618
4619 [BZ #17075]
4620 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4621 Fix calculation of the symbol's value.
4622 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4623 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4624 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4625 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4626 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4627 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4628 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4629 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4630 (modules-names): Add `tst-armtlsdescmod',
4631 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4632 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4633 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4634 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4635 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4636 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4637 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4638 ($(objpfx)tst-armtlsdescloc): New dependency.
4639 ($(objpfx)tst-armtlsdescextnow): Likewise.
4640 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4641 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4642 TLS scheme support.
4643 * sysdeps/arm/configure: Regenerate.
4644
809fdf0d
JM
46452014-06-20 Joseph Myers <joseph@codesourcery.com>
4646
4647 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4648 (__atfct_seterrno_2): Likewise.
4649 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4650 <kernel-features.h>.
4651 (__ASSUME_ATFCTS): Do not undefine and redefine.
4652 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4653 (__have_atfcts): Remove conditional definition.
4654 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4655 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4656 unreachable if [__ASSUME_ATFCTS].
4657 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4658 not undefine and redefine.
4659 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4660 <kernel-features.h>.
4661 (faccessat) [__NR_faccessat]: Make code unconditional.
4662 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4663 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4664 <kernel-features.h>.
4665 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4666 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4667 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4668 <kernel-features.h>.
4669 (fchownat) [__NR_fchownat]: Make code unconditional.
4670 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4671 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4672 <kernel-features.h>.
4673 (futimesat) [__NR_futimesat]: Make code unconditional.
4674 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4675 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4676 <kernel-features.h>.
4677 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4678 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4679 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4680 <kernel-features.h>.
4681 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4682 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4683 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4684 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4685 <kernel-features.h>.
4686 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4687 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4688 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4689 <kernel-features.h>.
4690 (linkat) [__NR_linkat]: Make code unconditional.
4691 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4692 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4693 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4694 <kernel-features.h>.
4695 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4696 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4697 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4698 <kernel-features.h>.
4699 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4700 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4701 * sysdeps/unix/sysv/linux/openat.c: Do not include
4702 <kernel-features.h>.
4703 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4704 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4705 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4706 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4707 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4708 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4709 <kernel-features.h>.
4710 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4711 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4712 result of INLINE_SYSCALL directly, not via int variable.
4713 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4714 <kernel-features.h>.
4715 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4716 (renameat) [__NR_renameat]: Make code unconditional.
4717 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4718 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4719 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4720 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4721 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4722 (__ASSUME_ATFCTS): Do not undefine and redefine.
4723 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4724 <kernel-features.h>.
4725 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4726 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4727 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4728 <kernel-features.h>.
4729 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4730 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4731 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4732 (__ASSUME_ATFCTS): Do not undefine and redefine.
4733 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4734 <kernel-features.h>.
4735 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4736 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4737 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4738 <kernel-features.h>.
4739 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4740 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4741
224c6c51
L
47422014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4743
4744 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4745
aa6ec754
AS
47462014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4747
4748 [BZ #17069]
4749 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4750 constructed tree before returning error.
4751 * posix/bug-regexp36.c: Expand test case.
4752
d8c2869d
SL
47532014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4754
3ef6b850
SL
4755 [BZ #6803]
4756 * math/libm-test.inc (scalbln_test_date):
4757 Add errno expectations.
4758 * math/w_scalblnf.c: New File.
4759 Add wrapper which checks for setting errno to ERANGE.
4760 Add weak_alias for corresponding scalbln function.
4761 * math/w_scalbln.c: Likewise.
4762 * math/w_scalblnl.c: Likewise.
4763 * math/Makefile (libm-calls): Add w_scalbln.
4764 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4765 Remove weak_alias for corresponding scalbln function.
4766 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4768 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4770 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4771 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4772 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4773 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4774 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4775 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4776 Remove long_double_symbol for scalblnl function in libm, libc.
4777 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4778 Add wrapper which checks for setting errno to ERANGE.
4779 Add long_double_symbol for scalblnl function in libm, libc.
4780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4781 Remove long_double_symbol for scalblnl in libm.
4782 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4783 Add wrapper which checks for setting errno to ERANGE.
4784 Add long_double_symbol for scalblnl function in libm.
4785 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4786 Do not use wrapper because of own implementation.
4787
c8daec5c
L
47882014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4789
4790 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4791 3 bytes for __pad1 for x32.
4792 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4793
5c74e47c
LM
47942014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4795 H.J. Lu <hongjiu.lu@intel.com>
4796
4797 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4798 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4799 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4800 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4801 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4802
4d43ef1e
AS
48032014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4804
4805 [BZ #17069]
4806 * posix/regcomp.c (parse_expression): Deallocate partially
4807 constructed tree before returning error.
4808 * posix/Makefile.c (tests): Add bug-regex36.
4809 (generated): Add bug-regex36.mtrace.
4810 (tests-special): Add $(objpfx)bug-regex36-mem.out
4811 (bug-regex36-ENV): New variable.
4812 ($(objpfx)bug-regex36-mem.out): New rule.
4813 * posix/bug-regex36.c: New file.
4814
51a7380b
WN
48152014-06-19 Will Newton <will.newton@linaro.org>
4816
4817 * malloc/malloc.c (systrim): If extra is zero then return
4818 early.
4819
91b84fe5
SP
48202014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4821
4822 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4823
f940b965
RE
48242014-06-19 Richard Earnshaw <rearnsha@arm.com>
4825
4826 * sysdeps/aarch64/strchr.S: New file.
4827
4ba7a00f
JM
48282014-06-18 Joseph Myers <joseph@codesourcery.com>
4829
4830 [BZ #17022]
4831 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4832 from arguments -2 or below.
4833 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4834 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4835
b3a9f56b
AS
48362014-06-18 Andreas Schwab <schwab@suse.de>
4837
4838 [BZ #17062]
4839 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4840 of a bracket expr not to run off the end of the string.
4841 * posix/Makefile (tests): Add tst-fnmatch3.
4842 * posix/tst-fnmatch3.c: New file.
4843
85d89278
JM
48442014-06-18 Joseph Myers <joseph@codesourcery.com>
4845
4846 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4847 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4848 [$(cross-compiling) = no]: Likewise.
4849 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4850 [$(cross-compiling) = no]: Likewise.
4851
754c5a08
RS
48522014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4853
4854 [BZ #17031]
4855 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4856 double, adjusted for any remainder from the high double.
4857 * math/libm-test.inc (nearbyint): Add tests.
4858 (rint): Likewise.
4859
556f529d
AZ
48602014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4861
4862 * nptl/sysdeps/powerpc/Makefile: Moved ...
4863 * sysdeps/powerpc/nptl/Makefile: ... here.
4864 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4865 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4866 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4867 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4868 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4869 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4870 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4871 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4872 * nptl/sysdeps/powerpc/tls.h: Moved ...
4873 * sysdeps/powerpc/nptl/tls.h: ... here.
4874
91c03c53
JM
48752014-06-16 Joseph Myers <joseph@codesourcery.com>
4876
4877 [BZ #16681]
4878 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4879 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4880 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4881 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4882 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4883 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4884 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4885 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4886 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4887
a76e63c5
AS
48882014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4889
4890 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4891
f2f6d82f
AS
48922014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4893
ea8a15f6
AS
4894 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4895 defined operator.
4896
f2f6d82f
AS
4897 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4898 $TIMEOUTFACTOR.
4899
a7291117
FW
49002014-06-16 Florian Weimer <fweimer@redhat.com>
4901
4902 [BZ #17058]
4903 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4904 non-executed part of the test.
4905
3d7c00e3
AS
49062014-06-16 Andreas Schwab <schwab@suse.de>
4907
4908 * string/bits/string2.h (strdup, strndup): Update feature guard.
4909
6957fb31
DM
49102014-06-14 David S. Miller <davem@davemloft.net>
4911
4912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4913
11b9e55b
AS
49142014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4915
1d2a0492
AS
4916 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4917 that was previously under [RESET_PID].
4918 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4919
11b9e55b
AS
4920 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4921 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4922 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4923 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4924 (__libc_vfork): New strong alias.
4925 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4926
0f6901d0
AK
49272014-06-14 Andi Kleen <ak@linux.intel.com>
4928
4929 * sysdeps/generic/elide.h: New file.
4930
38bbbb9f
SL
49312014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4932
4933 * Makefile (installed-headers): Adjust path of pthread.h header.
4934
45193bb8
RM
49352014-06-13 Roland McGrath <roland@hack.frob.com>
4936
9a25fd1e
RM
4937 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4938 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4939 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4940 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4941
4004f7e4
RM
4942 * nptl/sysdeps/s390/Makefile: Moved ...
4943 * sysdeps/s390/nptl/Makefile: ... here.
4944 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4945 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4946 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4947 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4948 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4949 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4950 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4951 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4952 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4953 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4954 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4955 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4956 * nptl/sysdeps/s390/tls.h: Moved ...
4957 * sysdeps/s390/nptl/tls.h: ... here.
4958
45193bb8
RM
4959 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4960 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4961
f6fdf533
DM
49622014-06-13 David S. Miller <davem@davemloft.net>
4963
4964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4967 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4971 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4972 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4973 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4974 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4975 Remove RESET_PID cpp guards.
4976 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4977 Remove RESET_PID cpp guards.
4978 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4979
f5d71e14
AS
49802014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4981
4982 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4983 __sp to uintptr_t.
4984
b7aa8caa
AK
49852014-06-13 Andi Kleen <ak@linux.intel.com>
4986
4b266200
AZ
4987 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4988 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4989 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4990 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4991 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4992 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4993 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4994 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4995 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4996 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4997 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4998 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4999 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5000 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5001 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5002 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5003 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5004 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5005 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5006 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5007
5008 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5009 (pthread_rwlock_rdlock): Add elision.
5010 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5011 (pthread_rwlock_wrlock): Add elision.
5012 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5013 (pthread_rwlock_trywrlock): Add elision.
5014 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5015 (pthread_rwlock_tryrdlock): Add elision.
5016 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5017 (pthread_rwlock_tryrdlock): Add elision unlock.
5018 * nptl/sysdeps/pthread/pthread.h:
5019 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5020 (PTHREAD_RWLOCK_INITIALIZER,
5021 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5022 Handle new elision field.
5023 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5024 * sysdeps/arm/nptl/bits/pthreadtypes.h
5025 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5026 * sysdeps/sh/nptl/bits/pthreadtypes.h
5027 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5028 * sysdeps/tile/nptl/bits/pthreadtypes.h
5029 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5030 * sysdeps/a/nptl/bits/pthreadtypes.h
5031 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5032 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5033 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5034 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5035 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5036 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5037 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5038 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5039 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5040 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5041 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5042 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5043 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5044 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5045 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5046 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5047 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5048 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5049 (elision_init): Set try_xbegin to zero when no RTM.
5050 * sysdeps/x86/nptl/bits/pthreadtypes.h
5051 (pthread_rwlock_t): Change __pad1 to __rwelision.
5052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5053
a832bdd3
AK
50542014-06-13 Andi Kleen <ak@linux.intel.com>
5055
5056 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5057 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5058 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5059 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5060
995a46bb
MI
50612014-06-13 Meador Inge <meadori@codesourcery.com>
5062
5063 [BZ #16996]
03ed7738 5064 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5065 that the cached result has been set before returning it.
5066
45262aee
RM
50672014-06-12 Roland McGrath <roland@hack.frob.com>
5068
febf6cc5
RM
5069 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5070 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5071 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5072 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5073 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5074 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5075
e2682246
RM
5076 * nptl/sysdeps/sparc/Makefile: Moved ...
5077 * sysdeps/sparc/nptl/Makefile: ... here.
5078 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5079 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5080 * nptl/sysdeps/sparc/tls.h: Moved ...
5081 * sysdeps/sparc/nptl/tls.h: ... here.
5082 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5083 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5084 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5085 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5086 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5087 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5088 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5089 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5090 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5091 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5092 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5093 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5094 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5095 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5096 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5097 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5098 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5099 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5100 Update #include.
5101 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5102 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5103 Update #include.
5104 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5105 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5106 Update #include.
5107 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5108 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5109 Update #include.
5110
b0725f43
RM
5111 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5112
b14368b8
RM
5113 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5114 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5115
c5620eb3
RM
5116 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5117 (struct list_links): Type removed.
5118 (struct thread_node, struct timer_node): Replace struct list_links
5119 with struct list_head.
5120 (list_unlink_ip): Likewise.
5121 * sysdeps/pthread/timer_routines.c
5122 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5123 (list_append, list_insbefore): Likewise.
5124 (list_init): Function removed.
5125 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5126 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5127 * sysdeps/pthread/Makefile: ... here, new file.
5128
5129 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5130 * sysdeps/nptl/Implies: ... here.
5131 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5132 * nptl/sysdeps/pthread/list.h: Moved ...
5133 * include/list.h: ... here.
5134 * nptl/sysdeps/pthread/createthread.c: Moved ...
5135 * nptl/createthread.c: ... here.
5136 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5137 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5138 * nptl/pt-longjmp.c: ... here.
5139 * nptl/sysdeps/pthread/Makefile: Moved ...
5140 * sysdeps/nptl/Makefile: ... here.
5141 * nptl/sysdeps/pthread/Subdirs: Moved ...
5142 * sysdeps/nptl/Subdirs: ... here.
5143 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5144 * sysdeps/nptl/aio_misc.h: ... here.
5145 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5146 * sysdeps/nptl/bits/libc-lock.h: ... here.
5147 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5148 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5149 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5150 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5151 * nptl/sysdeps/pthread/configure: Moved ...
5152 * sysdeps/nptl/configure: ... here.
5153 * nptl/sysdeps/pthread/configure.ac: Moved ...
5154 * sysdeps/nptl/configure.ac: ... here.
5155 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5156 * sysdeps/nptl/gai_misc.h: ... here.
5157 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5158 * sysdeps/nptl/librt-cancellation.c: ... here.
5159 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5160 * sysdeps/nptl/malloc-machine.h: ... here.
5161 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5162 * sysdeps/nptl/pthread-functions.h: ... here.
5163 * nptl/sysdeps/pthread/pthread.h: Moved ...
5164 * sysdeps/nptl/pthread.h: ... here.
5165 * nptl/sysdeps/pthread/setxid.h: Moved ...
5166 * sysdeps/nptl/setxid.h: ... here.
5167 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5168 * sysdeps/nptl/sigfillset.c: ... here.
5169 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5170 * sysdeps/nptl/tcb-offsets.h: ... here.
5171 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5172 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5173 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5174 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5175 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5176 * sysdeps/pthread/allocalim.h: ... here.
5177 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5178 * sysdeps/pthread/bits/sigthread.h: ... here.
5179 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5180 * sysdeps/pthread/flockfile.c: ... here.
5181 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5182 * sysdeps/pthread/ftrylockfile.c: ... here.
5183 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5184 * sysdeps/pthread/funlockfile.c: ... here.
5185 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5186 * sysdeps/pthread/posix-timer.h: ... here.
5187 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5188 * sysdeps/pthread/timer_create.c: ... here.
5189 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5190 * sysdeps/pthread/timer_delete.c: ... here.
5191 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5192 * sysdeps/pthread/timer_getoverr.c: ... here.
5193 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5194 * sysdeps/pthread/timer_gettime.c: ... here.
5195 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5196 * sysdeps/pthread/timer_routines.c: ... here.
5197 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5198 * sysdeps/pthread/timer_settime.c: ... here.
5199 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5200 * sysdeps/pthread/tst-timer.c: ... here.
5201 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5202 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5203
e876b090
RM
5204 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5205 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5206
f6b07b3d
RM
5207 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5208 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5209 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5210 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5211 Update #include target.
5212 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5213 * sysdeps/i386/i686/nptl/Makefile: ... here.
5214 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5215 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5216 Update #include target.
5217 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5218 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5219 * nptl/sysdeps/i386/Makefile: Moved ...
5220 * sysdeps/i386/nptl/Makefile: ... here.
5221 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5222 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5223 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5224 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5225 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5226 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5227 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5228 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5229 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5230 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5231 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5232 * nptl/sysdeps/i386/tls.h: Moved ...
5233 * sysdeps/i386/nptl/tls.h: ... here.
5234
45262aee
RM
5235 * sysdeps/sh/Makefile [$(subdir) = csu]
5236 (gen-as-const-headers): Add tcb-offsets.sym.
5237 * nptl/sysdeps/sh/Makefile: File removed.
5238 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5239 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5240 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5241 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5242 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5243 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5244 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5245 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5246 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5247 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5248 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5249 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5250 * nptl/sysdeps/sh/tls.h: Moved ...
5251 * sysdeps/sh/nptl/tls.h: ... here.
5252 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5253 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5254 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5255 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5256 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5257 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5258 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5259 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5260 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5261 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5262 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5263 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5264 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5265 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5266 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5267 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5268 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5269 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5270 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5271 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5272 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5273 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5274 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5275 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5276 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5277 Moved ...
5278 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5279 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5280 Moved ...
5281 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5282 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5283 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5284 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5285 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5286 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5287 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5288 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5289 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5290 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5291 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5293 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5294 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5295 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5296 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5297 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5298 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5299 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5300
35a5e3e3
SL
53012014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5302
5303 * posix/spawn_faction_addopen.c: Include string.h.
5304
14642b85
RM
53052014-06-11 Roland McGrath <roland@hack.frob.com>
5306
5307 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5308 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5309 * nptl/sysdeps/x86_64/Makefile: Moved ...
5310 * sysdeps/x86_64/nptl/Makefile: ... here.
5311 * nptl/sysdeps/x86_64/configure: Moved ...
5312 * sysdeps/x86_64/nptl/configure: ... here.
5313 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5314 * sysdeps/x86_64/nptl/configure.ac: ... here.
5315 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5316 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5317 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5318 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5319 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5320 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5321 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5322 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5323 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5324 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5325 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5326 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5327 * nptl/sysdeps/x86_64/tls.h: Moved ...
5328 * sysdeps/x86_64/nptl/tls.h: ... here.
5329 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5330 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5331 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5332 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5333
5334 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5335
31c44fea
AZ
53362014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5337
5338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5339
e81a4f9a
JM
53402014-06-11 Joseph Myers <joseph@codesourcery.com>
5341
5342 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5343 type.
5344 [POSIX] (off_t): Likewise.
5345 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5346 [POSIX] (S_ISBLK): Require macro.
5347 [POSIX] (S_ISCHR): Likewise.
5348 [POSIX] (S_ISDIR): Likewise.
5349 [POSIX] (S_ISFIFO): Likewise.
5350 [POSIX] (S_ISREG): Likewise.
5351 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5352 optional-macro.
5353 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5354 type.
5355 [POSIX] (time_t): Likewise.
5356 [POSIX] (timer_t): Likewise.
5357
89e435f3
FW
53582014-06-11 Florian Weimer <fweimer@redhat.com>
5359
5360 [BZ #17048]
5361 * posix/spawn_int.h (struct __spawn_action): Make the path string
5362 non-const to support deallocation.
5363 * posix/spawn_faction_addopen.c
5364 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5365 * posix/spawn_faction_destroy.c
5366 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5367 path in all spawn_do_open actions.
5368 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5369 posix_spawn_file_actions_addopen.
5370
c3a2ebe1
CM
53712014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5372
5373 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5374 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5375 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5376 conditional code always true.
5377 (__libc_vfork): New alias.
5378
9503784a
RM
53792014-06-11 Roland McGrath <roland@hack.frob.com>
5380
c9cab3d2
RM
5381 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5382 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5383
d3996c79
RM
5384 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5385
ba5ec611
RM
5386 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5387 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5388
f12b4814
RM
5389 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5390 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5391
9503784a
RM
5392 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5393 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5394
e23d3d26
VR
53952014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5396
5397 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5398 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5399 multiarch strcmp for PPC64.
5400 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5401 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5403 multiarch optimizations.
5404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5405 (__libc_ifunc_impl_list): Likewise.
5406
42b1161e
SP
54072014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5408
5409 * benchtests/scripts/validate_benchout.py: New script.
5410 * benchtests/Makefile (bench-func): Call it.
5411 * benchtests/scripts/benchout.schema.json: New file.
5412
2d0fc4dc
CM
54132014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5414
4a594c34
AZ
5415 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5416 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5417 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5418 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5419 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5420 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5421 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5422 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5423 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5424 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5425 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5426 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5427 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5428 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5429 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5430 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 5432 Moved ...
4a594c34 5433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 5434 ... here.
4a594c34 5435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 5436 Moved ...
4a594c34
AZ
5437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 5439 Moved ...
4a594c34 5440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 5441 ... here.
4a594c34 5442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 5443 Moved ...
4a594c34 5444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 5445 ... here.
4a594c34 5446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 5447 Moved ...
4a594c34
AZ
5448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 5450 Moved ...
4a594c34 5451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 5452 ... here.
4a594c34 5453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 5454 Moved ...
4a594c34 5455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 5456 ... here.
4a594c34 5457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 5458 Moved ...
4a594c34
AZ
5459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 5461 Moved ...
4a594c34 5462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 5463 ... here.
4a594c34 5464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 5465 Moved ...
4a594c34 5466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 5467 ... here.
4a594c34 5468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 5469 Moved ...
4a594c34 5470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 5471 ... here.
4a594c34 5472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 5473 Moved ...
4a594c34
AZ
5474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 5476 Moved ...
4a594c34 5477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 5478 ... here.
4a594c34 5479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 5480 Moved ...
4a594c34 5481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 5482 ... here.
4a594c34 5483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 5484 Moved ...
4a594c34 5485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 5486 ... here.
4a594c34 5487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 5488 Moved ...
4a594c34
AZ
5489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 5491 Moved ...
4a594c34 5492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 5493 ... here.
4a594c34 5494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 5495 Moved ...
4a594c34 5496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 5497 ... here.
4a594c34 5498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 5499 Moved ...
4a594c34
AZ
5500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 5502 Moved ...
4a594c34 5503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 5504 ... here.
4a594c34 5505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 5506 Moved ...
4a594c34
AZ
5507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 5509 Moved ...
4a594c34
AZ
5510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 5512 Moved ...
4a594c34 5513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 5514 ... here.
4a594c34 5515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 5516 Moved ...
4a594c34 5517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 5518 ... here.
4a594c34 5519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 5520 Moved ...
4a594c34 5521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 5522 ... here.
4a594c34 5523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 5524 Moved ...
4a594c34
AZ
5525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 5527 Moved ...
4a594c34 5528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 5529 ... here.
4a594c34 5530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 5531 Moved ...
4a594c34 5532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 5533 ... here.
4a594c34
AZ
5534 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5535 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5536 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5537 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5538 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 5539 Moved ...
4a594c34 5540 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 5541 ... here.
4a594c34
AZ
5542 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5543 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5545 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5546 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5547 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5548 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5549 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5551 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5552 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5553 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5554 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 5555 Moved ...
4a594c34
AZ
5556 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5557 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 5558 Moved ...
4a594c34
AZ
5559 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5560 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5561 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5562 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 5563 Moved ...
4a594c34
AZ
5564 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5566 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5567 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5568 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5569 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5570 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 5571
0570cfed
W
55722014-06-10 Wilco <wdijkstr@arm.com>
5573
5574 * math/test-fenv-return.c: New file.
5575 * math/Makefile: Add new test test-fenv-return.
5576
f8ba1b56
JM
55772014-06-10 Joseph Myers <joseph@codesourcery.com>
5578
5579 [BZ #17042]
5580 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5581 when x - 1 is zero.
5582 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5583 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5584 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5585 0.0L for an argument of 1.0L.
5586 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5587 Likewise.
5588 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5589 value when x - 1 is zero.
5590 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5591 * sysdeps/i386/fpu/libm-test-ulps: Update.
5592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5593
2c3520d9
BO
55942014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5595
5596 [BZ #15119]
5597 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5598
acaa4d24
RM
55992014-06-09 Roland McGrath <roland@hack.frob.com>
5600
5601 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5602 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5603
962b744d
RM
56042014-06-09 Roland McGrath <roland@hack.frob.com>
5605
d752f0cc
RM
5606 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5607 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5608
34eda6d1
RM
5609 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5610 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5611
50f0a637
RM
5612 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5613 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5614
08f41f04
RM
5615 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5616 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5617
962b744d
RM
5618 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5619 if not already defined.
5620 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5621 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5622 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5623 (TLS_INIT_TP): Use it.
5624 (TLS_DEFINE_INIT_TP): New macro.
5625 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5626
09f19b05
JM
56272014-06-09 Joseph Myers <joseph@codesourcery.com>
5628
5629 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5630 constant.
5631 [POSIX] (IXANY): Likewise.
5632 [POSIX] (OLCUC): Likewise.
5633 [POSIX || POSIX2008] (CBAUD): Do not allow.
5634 [POSIX || POSIX2008] (DEFECHO): Likewise.
5635 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5636 [POSIX || POSIX2008] (ECHOKE): Likewise.
5637 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5638 [POSIX || POSIX2008] (EXTA): Likewise.
5639 [POSIX || POSIX2008] (EXTB): Likewise.
5640 [POSIX || POSIX2008] (FLUSHO): Likewise.
5641 [POSIX || POSIX2008] (LOBLK): Likewise.
5642 [POSIX || POSIX2008] (PENDIN): Likewise.
5643 [POSIX || POSIX2008] (SWTCH): Likewise.
5644 [POSIX || POSIX2008] (VDISCARD): Likewise.
5645 [POSIX || POSIX2008] (VDSUSP): Likewise.
5646 [POSIX || POSIX2008] (VLNEXT): Likewise.
5647 [POSIX || POSIX2008] (VREPRINT): Likewise.
5648 [POSIX || POSIX2008] (VSTATUS): Likewise.
5649 [POSIX || POSIX2008] (VWERASE): Likewise.
5650 (B*): Change to B[0123456789]*.
5651 * conform/data/time.h-data [POSIX || UNIX98]
5652 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5653 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5654 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5655 [POSIX] (tm_*): Do not allow.
5656
686554bf
JM
56572014-06-07 Joseph Myers <joseph@codesourcery.com>
5658
5659 * Makefile (install): Don't set LANGUAGE.
5660 * Makefile.in (install): Likewise.
5661 * assert/Makefile (test-assert-ENV): Remove variable.
5662 (test-assert-perr-ENV): Likewise.
5663 * elf/Makefile (neededtest4-ENV): Likewise.
5664 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5665 [$(cross-compiling) = no]: Don't set LANGUAGE.
5666 * io/ftwtest-sh (LANG): Remove variable.
5667 * libio/Makefile (tst-widetext-ENV): Likewise.
5668 * manual/install.texi (Running make install): Don't refer to
5669 environment settings for make install.
5670 * INSTALL: Regenerated.
5671 * nptl/tst-tls6.sh: Don't set LANG.
5672 * posix/globtest.sh (LANG): Remove variable.
5673 * string/Makefile (tester-ENV): Likewise.
5674 (inl-tester-ENV): Likewise.
5675 (noinl-tester-ENV): Likewise.
5676 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5677 [$(cross-compiling) = no]: Don't set LANGUAGE.
5678 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5679 without explicit environment settings.
5680
68e6b6b1
RM
56812014-06-06 Roland McGrath <roland@hack.frob.com>
5682
5683 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5684 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5685 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5686 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5687
4d3ae034
CM
56882014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5689
5690 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5691 other files in the crypt directory.
5692 * crypt/crypt.c: Remove duplicate includes.
5693 * crypt/crypt-entry.c: Likewise.
5694 * crypt/crypt_util.c: Likewise.
5695
8540f6d2
JM
56962014-06-06 Joseph Myers <joseph@codesourcery.com>
5697
5698 * Makeconfig (run-program-env): New variable.
5699 (run-program-prefix-before-env): Likewise.
5700 (run-program-prefix-after-env): Likewise.
5701 (run-program-prefix): Define in terms of new variables.
5702 (built-program-cmd-before-env): New variable.
5703 (built-program-cmd-after-env): Likewise.
5704 (built-program-cmd): Define in terms of new variables.
5705 (test-program-prefix-before-env): New variable.
5706 (test-program-prefix-after-env): Likewise.
5707 (test-program-prefix): Define in terms of new variables.
5708 (test-program-cmd-before-env): New variable.
5709 (test-program-cmd-after-env): Likewise.
5710 (test-program-cmd): Define in terms of new variables.
5711 * Rules (make-test-out): Use $(run-program-env).
5712 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5713 (help): Do not mention environment variables. Mention
5714 --timeoutfactor option.
5715 (timeoutfactor): New variable.
5716 (blacklist_exports): Remove function.
5717 (exports): Remove variable.
5718 (command): Do not include ${exports}.
5719 * manual/install.texi (Configuring and compiling): Do not mention
5720 test wrappers preserving environment variables. Mention that last
5721 assignment to a variable must take precedence.
5722 * INSTALL: Regenerated.
5723 * benchtests/Makefile (run-bench): Use $(run-program-env).
5724 * catgets/Makefile ($(objpfx)test1.cat): Use
5725 $(built-program-cmd-before-env), $(run-program-env) and
5726 $(built-program-cmd-after-env).
5727 ($(objpfx)test2.cat): Do not specify environment variables
5728 explicitly.
5729 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5730 $(run-program-env) and $(built-program-cmd-after-env).
5731 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5732 $(run-program-env) and $(test-program-cmd-after-env).
5733 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5734 explicitly.
5735 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5736 run_program_env and test_program_cmd_after_env arguments.
5737 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5738 * elf/tst-pathopt.sh: Use run_program_env argument.
5739 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5740 $(test-wrapper-env) and $(run-program-env).
5741 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5742 run_program_env arguments.
5743 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5744 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5745 $(test-program-prefix-before-env), $(run-program-env) and
5746 $(test-program-prefix-after-env).
5747 ($(objpfx)tst-gettext2.out): Likewise.
5748 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5749 run_program_env and test_program_prefix_after_env arguments.
5750 * intl/tst-gettext2.sh: Likewise.
5751 * intl/tst-gettext4.sh: Do not set environment variables
5752 explicitly.
5753 * intl/tst-gettext6.sh: Likewise.
5754 * intl/tst-translit.sh: Likewise.
5755 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5756 $(test-program-prefix-before-env), $(run-program-env) and
5757 $(test-program-prefix-after-env).
5758 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5759 run_program_env and test_program_prefix_after_env arguments.
5760 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5761 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5762 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5763 explicitly with each use of ${test_wrapper_env}.
5764 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5765 $(test-program-prefix-before-env), $(run-program-env) and
5766 $(test-program-prefix-after-env).
5767 * posix/tst-getconf.sh: Do not set environment variables
5768 explicitly.
5769 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5770 run_program_env and test_program_prefix_after_env arguments.
5771 * stdio-common/tst-printf.sh: Do not set environment variables
5772 explicitly.
5773 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5774 $(test-program-prefix-before-env), $(run-program-env) and
5775 $(test-program-prefix-after-env).
5776 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5777 run_program_env and test_program_prefix_after_env arguments.
5778 Split $test calls into $test_pre and $test.
5779 * timezone/Makefile (build-testdata): Use
5780 $(built-program-cmd-before-env), $(run-program-env) and
5781 $(built-program-cmd-after-env).
5782
ed36bfa1
AZ
57832014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5784
5785 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5786 strlen for non SHARED builds.
5787
fc75bf46
SP
57882014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5789
5790 * nptl/allocatestack.c (check_list): Inlined function...
5791 (__reclaim_stacks): ... here.
5792
d89b3d80
OB
57932014-06-05 Ondřej Bílka <neleai@seznam.cz>
5794
5795 [BZ #15698]
5796 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5797 memory overrun.
5798
2bf18041
JM
57992014-06-05 Joseph Myers <joseph@codesourcery.com>
5800
5801 * Rules (make-test-out): Include
5802 LOCPATH=$(common-objpfx)localedata in default environment.
5803 * debug/Makefile (tst-chk1-ENV): Remove variable.
5804 (tst-chk2-ENV): Likewise.
5805 (tst-chk3-ENV): Likewise.
5806 (tst-chk4-ENV): Likewise.
5807 (tst-chk5-ENV): Likewise.
5808 (tst-chk6-ENV): Likewise.
5809 (tst-lfschk1-ENV): Likewise.
5810 (tst-lfschk2-ENV): Likewise.
5811 (tst-lfschk3-ENV): Likewise.
5812 (tst-lfschk4-ENV): Likewise.
5813 (tst-lfschk5-ENV): Likewise.
5814 (tst-lfschk6-ENV): Likewise.
5815 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5816 (tst-iconv7-ENV): Likewise.
5817 * intl/Makefile (LOCPATH-ENV): Likewise.
5818 (tst-codeset-ENV): Likewise.
5819 (tst-gettext3-ENV): Likewise.
5820 (tst-gettext5-ENV): Likewise.
5821 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5822 (tst-fopenloc-ENV): Likewise.
5823 (tst-fgetws-ENV): Remove variable.
5824 (tst-ungetwc1-ENV): Likewise.
5825 (tst-ungetwc2-ENV): Likewise.
5826 (bug-ungetwc2-ENV): Likewise.
5827 (tst-swscanf-ENV): Likewise.
5828 (bug-ftell-ENV): Likewise.
5829 (tst-fgetwc-ENV): Likewise.
5830 (tst-fseek-ENV): Likewise.
5831 (tst-ftell-partial-wide-ENV): Likewise.
5832 (tst-ftell-active-handler-ENV): Likewise.
5833 (tst-ftell-append-ENV): Likewise.
5834 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5835 (tst-regexloc-ENV): Likewise.
5836 (bug-regex1-ENV): Likewise.
5837 (tst-regex-ENV): Likewise.
5838 (tst-regex2-ENV): Likewise.
5839 (bug-regex5-ENV): Likewise.
5840 (bug-regex6-ENV): Likewise.
5841 (bug-regex17-ENV): Likewise.
5842 (bug-regex18-ENV): Likewise.
5843 (bug-regex19-ENV): Likewise.
5844 (bug-regex20-ENV): Likewise.
5845 (bug-regex22-ENV): Likewise.
5846 (bug-regex23-ENV): Likewise.
5847 (bug-regex25-ENV): Likewise.
5848 (bug-regex26-ENV): Likewise.
5849 (bug-regex30-ENV): Likewise.
5850 (bug-regex32-ENV): Likewise.
5851 (bug-regex33-ENV): Likewise.
5852 (bug-regex34-ENV): Likewise.
5853 (bug-regex35-ENV): Likewise.
5854 (tst-rxspencer-ENV): Likewise.
5855 (tst-rxspencer-no-utf8-ENV): Likewise.
5856 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5857 (tst-sscanf-ENV): Likewise.
5858 (tst-swprintf-ENV): Likewise.
5859 (tst-swscanf-ENV): Likewise.
5860 (test-vfprintf-ENV): Likewise.
5861 (scanf13-ENV): Likewise.
5862 (bug14-ENV): Likewise.
5863 (tst-grouping-ENV): Likewise.
5864 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5865 (tst-strtod3-ENV): Likewise.
5866 (tst-strtod4-ENV): Likewise.
5867 (tst-strtod5-ENV): Likewise.
5868 (testmb2-ENV): Likewise./
5869 * string/Makefile (tst-strxfrm-ENV): Likewise.
5870 (tst-strxfrm2-ENV): Likewise.
5871 (bug-strcoll1-ENV): Likewise.
5872 (test-strcasecmp-ENV): Likewise.
5873 (test-strncasecmp-ENV): Likewise.
5874 * time/Makefile (tst-strptime-ENV): Likewise.
5875 (tst-ftime_l-ENV): Likewise.
5876 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5877 (tst-mbrtowc-ENV): Likewise.
5878 (tst-wcrtomb-ENV): Likewise.
5879 (tst-mbrtowc2-ENV): Likewise.
5880 (tst-c16c32-1-ENV): Likewise.
5881 (tst-mbsnrtowcs-ENV): Likewise.
5882
cd1fb604
OB
58832014-06-05 Ondřej Bílka <neleai@seznam.cz>
5884
5885 * manual/resource.texi (How to get information about the memory
5886 subsystem?): Fix typo.
5887 Reported by Peon de la Parra Ivan <peon@keba.com>
5888
b42eca7d
GY
58892014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5890
5891 [BZ #16882]
5892 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5893 (pthread_spin_lock): Branch out of spin loop to proper location.
5894 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5895 (pthread_spin_lock): Likewise.
5896
902b71f9
DM
5897 * nptl/tst-spin4.c: New test.
5898 * nptl/Makefile (tests): Add tst-spin4.
5899
f9d2d032
AS
59002014-06-03 Andreas Schwab <schwab@suse.de>
5901
5902 [BZ #15946]
5903 * resolv/res_send.c (send_dg): Reload file descriptor after
5904 calling reopen.
5905
cf7bfd28
SL
59062014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5907
5908 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5909
111cc714
RH
59102014-06-03 Richard Henderson <rth@redhat.com>
5911
89b4bd6b
RH
5912 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5913 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5914 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5915 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5916 in the SAVE_PID block.
5917 (__libc_vfork): New alias.
71840409 5918 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 5919
111cc714
RH
5920 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5921 child in registers, not on the stack. Remove RESET_PID conditionals.
5922 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5923
ccc39911
MS
59242014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5925
5926 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5927
693096cc
W
59282014-06-03 Wilco <wdijkstr@arm.com>
5929
5930 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5931 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5932 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5933 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5934 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5935 Likewise.
5936
0b4366bc
W
59372014-06-03 Wilco <wdijkstr@arm.com>
5938
5939 * sysdeps/aarch64/fpu/math_private.h
5940 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5941 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5942 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5943 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5944 Fix declarations.
5945
8747cd03
KS
59462014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5947
5948 * crypt/crypt-private.h: Include ufc-crypt.h.
5949 (__b64_from_24bit): Declare extern.
5950 * crypt/crypt_util.c(__b64_from_24bit): New function.
5951 (b64t): New static const variable.
5952 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5953 (b64t): Remove variable.
5954 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5955 * crypt/sha256-crypt.c: Include crypt-private.h.
5956 (b64t): Remove variable.
5957 (__sha256_crypt_r): Remove b64_from_24bit and replace
5958 with __b64_from_24bit.
5959 * crypt/sha512-crypt.c: Likewise.
5960
d936d379
RM
59612014-06-02 Roland McGrath <roland@hack.frob.com>
5962
5963 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5964 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5965 Label the code __libc_vfork rather than __vfork.
5966 [!NOT_IN_libc] (vfork): Define as weak alias.
5967 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5968 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5969 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5970
9fa76613
SP
59712014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5972
5973 * malloc/malloc.c (malloc_info): Fix format specifier for
5974 n_mmaps.
5975
a88dadbe
W
59762014-06-02 Wilco <wdijkstr@arm.com>
5977
5978 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5979 FPCR write.
5980
c95b3011
W
59812014-06-02 Wilco <wdijkstr@arm.com>
5982
5983 [BZ #17009]
5984 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5985 Rewrite to reduce FPCR/FPSR accesses.
5986
6b4d7a90
DM
59872014-06-01 David S. Miller <davem@davemloft.net>
5988
5989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5990
30f3d07c
DM
59912014-05-31 David S. Miller <davem@davemloft.net>
5992
5993 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5994 to occur in round to nearest mode when |x| >= 2.0
5995
74f31c18
RH
59962014-05-30 Richard Henderson <rth@twiddle.net>
5997
f0712b54
RH
5998 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5999 (PSEUDO_RET_NOERRNO): Remove.
6000 (ret): Don't redefine.
6001 (ret_NOERRNO): Define in terms of ret.
6002 (ret_ERRVAL): Likewise.
6003
74f31c18
RH
6004 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6005 use of PSEUDO_RET; perform the error check directly.
6006
30477995
MM
60072014-05-30 Marko Myllynen <myllynen@redhat.com>
6008
6009 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6010 with __int128_t.
6011
62a58816
SP
60122014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6013
6014 * malloc/malloc (malloc_info): Fix formatting.
6015
4d653a59
SP
60162014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6017 Roland McGrath <roland@hack.frob.com>
6018
6019 * malloc/malloc (malloc_info): Also print mmapped statistics.
6020
5190c17f
RM
60212014-05-30 Roland McGrath <roland@hack.frob.com>
6022
6023 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6024 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6025
987c0269
OB
60262014-05-30 Ondřej Bílka <neleai@seznam.cz>
6027
6028 * malloc/malloc.c (malloc_info): Inline mi_arena.
6029
af4e8ef9
RH
60302014-05-29 Richard Henderson <rth@twiddle.net>
6031
1670e207
RH
6032 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6033 Remove comma before expanding ASM_ARGS_##nr.
6034 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6035 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6036 of ASM_ARGS_##nr.
6037 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6038 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6039 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6040 (ASM_ARGS_1): Add leading comma.
6041
11a28aee
RH
6042 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6043 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6044 to __errno_location.
6045 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6046 Remove the expected plt for __errno_location.
6047
a17e5ffb 6048 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6049 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6050 call to __read_tp.
6051
b5be4597
RH
6052 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6053 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6054 it and break it down.
6055 (DOCARGS_0, DOCARGS_1): Do nothing.
6056 (DOCARGS_2): Update to store into the new stack frame.
6057 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6058 (UNDOCARGS_1): Update to restore from the new stack frame.
6059 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6060 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6061
645d44ab
RH
6062 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6063 (SINGLE_THREAD_P): New parameter for result regno.
6064 (PSEUDO): Update to match; use cbz instead of beq.
6065
a8b4f04a
RH
6066 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6067 Use ENTRY to define the _nocancel entry point. Share the syscall
6068 and syscall error check paths with the cancel path.
6069 (PSEUDO_END): New.
6070
af4e8ef9
RH
6071 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6072 whitespace; tabs before and after asm mnemonics.
6073
26b0d2e1
EW
60742014-05-29 Eric Wong <normalperson@yhbt.net>
6075
6076 [BZ #15132]
6077 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6078 Call fstat64 or stat64 internally, depending on arguments passed.
6079 Replace stat buffer argument with file descriptor argument.
6080 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6081 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6082 Pass fd to __internal_statvfs instead of calling fstat64.
6083 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6084 Pass fd to __internal_statvfs64 instead of calling fstat64.
6085 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6086 Pass -1 to __internal_statvfs instead of calling stat64.
6087 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6088 Pass -1 to __internal_statvfs64 instead of calling stat64.
6089
1efe2bd9
RM
60902014-05-28 Roland McGrath <roland@hack.frob.com>
6091
0d3b7a19
RM
6092 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6093 that was previously under [RESET_PID].
6094 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6095
1efe2bd9
RM
6096 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6097 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6098
a6bea3ca
RM
60992014-05-27 Roland McGrath <roland@hack.frob.com>
6100
30b6629e
RM
6101 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6102
a6bea3ca
RM
6103 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6104 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6105
3dfb9a5c
OB
61062014-05-27 Ondřej Bílka <neleai@seznam.cz>
6107
6108 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6109
774f9285
AS
61102014-05-27 Andreas Schwab <schwab@suse.de>
6111
6112 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6113 TLS_INIT_TP macro.
6114 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6115 * elf/rtld.c (init_tls, dl_main): Likewise.
6116 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6117 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6118 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6119 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6120 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6121 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6122 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6123 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6124 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6125 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6126 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6127 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6128 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6129 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6130 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6131 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6132 * sysdeps/generic/tls.h: Update description.
6133
36ffe739
WN
61342014-05-27 Will Newton <will.newton@linaro.org>
6135
6136 [BZ #16990]
6137 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6138 and restore r2 rather than just restoring.
6139
2482ae43
SP
61402014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6141
6142 [BZ #16724]
6143 * libio/tst-ftell-append.c: New test case.
6144 * libio/Makefile (tests): Add test case.
6145 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6146 append mode.
6147 * libio/wfileops.c (do_ftell_wide): Likewise.
6148
3d1024e8
AZ
61492014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6150
bab90016
AZ
6151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6152
c7a8d667
AZ
6153 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6154 ...
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6157 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6158 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6159 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6160 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6161 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6162 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6164 Moved ...
6165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6167 Moved ...
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6169 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6170 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6171 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6172 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6173 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6174 ...
6175 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6176 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6177 Moved ...
6178 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6179 here.
6180 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6181 ...
6182 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6183 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6184 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6185
daee7851
AZ
6186 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6187 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6188 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6189 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6190
50a40819
AZ
6191 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6192 merge into ...
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6195 ...
6196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6198 ...
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6201 Moved ...
6202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6203 here.
6204 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6205 Moved ...
6206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6208 Moved ...
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6210
8464c2a1
AZ
6211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6212 conditional [RESET_PID].
6213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6214 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6215 removed.
6216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6217 removed.
6218
3d1024e8
AZ
6219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6220 <tcb-offsets.h>.
6221 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6222 (__libc_vfork): New strong alias.
6223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6224 removed.
6225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6226 Removed.
6227
6228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6229 <tcb-offsets.h>.
6230 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6231 (__libc_vfork): New strong alias.
6232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6233 removed.
6234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6235 removed.
6236
fdfd175d
CD
62372014-05-26 Carlos O'Donell <carlos@redhat.com>
6238
6239 * malloc/malloc.c (mi_arena): New function.
6240 (malloc_info): Remove nested function mi_arena. Call non-nosted
6241 function mi_arena.
6242
d298c416
AZ
62432014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244
6245 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6246 by insrwi.
6247 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6248 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6249 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6250 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6251 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6252 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6253 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6254
b60ea6ff
AS
62552014-05-26 Andreas Schwab <schwab@suse.de>
6256
6257 [BZ #16984]
6258 * locale/programs/repertoire.c (repertoire_read): Add slash
6259 between I18NPATH element and file name.
6260 * locale/programs/locfile.c (locfile_read): Likewise.
6261
67365926
SL
62622014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6263
6264 * nptl/pthread_mutexattr_settype.c
6265 (__pthread_mutexattr_settype):
6266 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6267
f8bdf1f0
SL
62682014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6269
6270 * nptl/tst-mutex5 (do_test):
6271 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6272
15eaf6ff
SP
62732014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6274
6275 * benchtests/README: Document 'init' directive.
6276 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6277 BENCH_INIT.
6278 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6279 (parse_file): Recognize 'init' directive.
6280
75f11331
KM
62812014-05-26 Kyle McMartin <kyle@redhat.com>
6282
6283 [BZ #16796]
6284 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6285 alignment of struct pthread.
6286
c3ec475c
SP
62872014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6288
6289 [BZ #16878]
6290 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6291 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6292 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6293 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6294
82aab97c
RH
62952014-05-25 Richard Henderson <rth@twiddle.net>
6296
aa2f176d
RH
6297 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6298 (SINGLE_THREAD_P_PIC): Remove.
6299 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6300 (SINGLE_THREAD_P_PIC): Remove.
6301
ca3cfa40
RH
6302 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6303 branch to syscall error ...
6304 (PSEUDO): ... here.
6305 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6306 from __local_syscall_error to .Lsyscall_error.
6307 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6308 (SYSCALL_ERROR): Update label name.
6309
6e6c2d01
RH
6310 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6311 Do not use DOARGS/UNDOARGS.
6312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6313 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6314 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6315 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6316 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6317
c69abcee
RH
6318 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6319 block comment.
6320
82aab97c
RH
6321 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6322 define if !NOT_IN_libc.
6323 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6324 define with non-default symbol versions.
6325
8820e3ac
RH
63262014-05-23 Richard Henderson <rth@twiddle.net>
6327
900e445f
RH
6328 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6329 (vfork, __vfork): Define via compat_symbol.
6330
8820e3ac
RH
6331 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6332 [!HAVE_IFUNC] (vfork_compat): Remove.
6333 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6334
e59252a5
JM
63352014-05-23 Joseph Myers <joseph@codesourcery.com>
6336
6337 [BZ #16978]
6338 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6339 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6340 variable.
6341
132c7f5f
RH
63422014-05-23 Richard Henderson <rth@twiddle.net>
6343
bc89e962
RH
6344 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6345 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6346 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6347 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6348
6349 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6350 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6351 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6352 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6353 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6354 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6355 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6356 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6357 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6358 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6359 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6360 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6361 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6362 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6363 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6364 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6365 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6366 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6367 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6368 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6369 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6370 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6371 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6372 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6373 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6374 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6375 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6376 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6377 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6378 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6379 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6380 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6381 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6382 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6383 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6384 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6385 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6386 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6387 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6388 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6389 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6390 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6391 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6392 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6393 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6394 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6395 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6396 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6397 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6398 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6399 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6400 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6401 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6402 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6403 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6404 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6405
e2fa4bc2
RH
6406 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6407 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6408 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6409 before exiting on error.
6410 (__libc_vfork): New strong alias.
6411 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6412 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6413
279b24e2
RH
6414 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6415 that was previously under [RESET_PID].
6416 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6417
132c7f5f
RH
6418 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6419
b72592e7
JM
64202014-05-23 Joseph Myers <joseph@codesourcery.com>
6421
6422 [BZ #16977]
6423 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6424 value when x - 1 is zero.
6425 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6426 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6427 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6428 0.0L for an argument of 1.0L.
6429 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6430 Likewise.
6431 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6432 value when x - 1 is zero.
6433 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6434 * sysdeps/i386/fpu/libm-test-ulps: Update.
6435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6436
2302d679
RV
64372014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6438
6439 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6440 alphasort and versionsort.
6441
32999d63
AZ
64422014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6443
6444 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6445 macro.
6446 [copysignf]: Likewise.
6447
019324d0
SP
64482014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6449
6450 * crypt/md5-crypt.c: Fix formatting.
6451
34fff5c2
KS
64522014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6453
6454 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6455 (b64_from_24bit): New function.
6456
3d2badac
AZ
64572014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6458
6459 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6460 libc_hidden_builtin_def to ifunc.
6461 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6462 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6463
f7bb179f 64642014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
6465
6466 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6467 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6468
4134b50d
JM
64692014-05-21 Joseph Myers <joseph@codesourcery.com>
6470
bb7d0337
JM
6471 * nscd/Depend (linuxthreads): Remove.
6472 (nptl): Add.
6473 * resolv/Depend (linuxthreads): Remove.
6474 * rt/Depend (linuxthreads): Remove.
6475
4134b50d
JM
6476 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6477 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6478 $(common-objpfx)elf/.
6479 (link-libc-before-gnulib): Likewise.
6480 (elfobjdir): Remove variable.
6481 * Makefile (install): Use $(elf-objpfx) instead of
6482 $(common-objpfx)elf/.
6483 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6484 $(elfobjdir)/.
6485 (link-libc-deps): Likewise.
6486 ($(common-objpfx)libc.so): Likewise.
6487 ($(common-objpfx)linkobj/libc.so): Likewise.
6488 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6489 instead of $(common-objpfx)elf/.
6490 (symbolic-link-list): Likewise.
6491 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6492 [$(cross-compiling) = no]: Likewise.
6493 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6494 $(elfobjdir)/.
6495 (static-gnulib-arch): Likewise.
6496 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6497 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6498 $(common-objpfx)elf/.
6499
3612eb8f
RH
65002014-05-21 Richard Henderson <rth@redhat.com>
6501
a6b3657b
RH
6502 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6503 (SINGLE_THREAD_P): Use the correct width load. Fold
6504 into the ldr offset.
6505
3612eb8f
RH
6506 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6507 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6508
175cef41
JM
65092014-05-20 Joseph Myers <joseph@codesourcery.com>
6510
6511 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6512 (libgcc_s_resume): Use __attribute_used__.
6513 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6514 Likewise.
6515
e13bccd3
AZ
65162014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6517
6518 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6519 optimization when used with float constants.
6520
7c112a38
AZ
6521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6522
ae75a883
AJ
65232014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6524
6525 [BZ #16915]
6526 * locale/nl_langinfo_l.c: Make direct reference to every
6527 _nl_current_CATEGORY symbol.
6528 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6529 (tests-static): Add tst-langinfo-static.
6530 (tests-special): Add tst-langinfo-static.out.
6531 ($(objpfx)tst-langinfo.out): Redirect output.
6532 ($(objpfx)tst-langinfo-static.out): New.
6533 * localedata/tst-langinfo.sh: Send output to stdout.
6534 * localedata/tst-langinfo-static.c: New file.
6535
4406c41c
AJ
6536 [BZ #16965]
6537 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6538 when the shift amount is modulo the limb size.
6539
4c0a1e63
RH
65402014-05-20 Richard Henderson <rth@redhat.com>
6541
de9d8f20
RH
6542 [BZ #16967]
6543 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6544 Change type of sa_flags from unsigned int to int.
6545
4c0a1e63
RH
6546 [BZ #16966]
6547 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
6548
6549 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6550
a60339aa
WN
65512014-05-20 Will Newton <will.newton@linaro.org>
6552
6553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6554 Test the return value of the system call in the nocancel case.
6555
7d05a816
YR
65562014-05-20 Will Newton <will.newton@linaro.org>
6557 Yvan Roux <yvan.roux@linaro.org>
6558
6559 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6560 #include of asm/ptrace.h.
6561 (PTRACE_GET_THREAD_AREA): Remove #undef.
6562 (PTRACE_GETHBPREGS): Likewise.
6563 (PTRACE_SETHBPREGS): Likewise.
6564 (struct user_regs_struct): New structure.
6565 (struct user_fpsimd_struct): New structure.
6566 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6567 #include of asm/ptrace.h and second #include of sys/user.h.
6568 (PTRACE_GET_THREAD_AREA): Remove #undef.
6569 (PTRACE_GETHBPREGS): Likewise.
6570 (PTRACE_SETHBPREGS): Likewise.
6571 (ELF_NGREG): Use new struct user_regs_struct.
6572 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6573
af121e37
AZ
65742014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6575
6576 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6577 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6578
834caf06
JM
65792014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6580
6581 [BZ #16958]
6582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6583 membar to avoid block loads/stores to overlap previous stores.
6584
e184a918
RH
65852014-05-17 Richard Henderson <rth@redhat.com>
6586
6587 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6588 Create the __##syscall_name##_nocancel entry point.
6589 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6590 Remove; let the sysdep-cancel.h code create it.
6591
f56c7a6a
DM
65922014-05-17 David S. Miller <davem@davemloft.net>
6593
6594 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6595 Protect with __USE_GNU.
6596 (TIOCSET_TEMPT): Likewise.
6597 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6598 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6599 these are already provided in bits/ioctl-types.h
6600
f75616b2
RM
66012014-05-16 Roland McGrath <roland@hack.frob.com>
6602
3edeca86
RM
6603 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6604 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6605
f75616b2
RM
6606 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6607 Use wait4 regardless of [__NR_waitpid].
6608
deb0f7f6
MR
66092014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6610
6611 PR libgcc/60166
6612 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6613 (_FP_NANSIGN_Q): Set the quiet bit.
6614
79520f4b
JM
66152014-05-16 Joseph Myers <joseph@codesourcery.com>
6616
6617 * benchtests/Makefile
6618 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6619 not $(common-objpfx)math/libm.so.
6620 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6621 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6622 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6623 $(common-objpfx)dlfcn/libdl.so.
6624 ($(objpfx)tst-audit8): Depend on $(libm), not
6625 $(common-objpfx)math/libm.so.
6626 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6627 not $(common-objpfx)dlfcn/libdl.so.
6628 * math/Makefile
6629 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6630 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6631 [$(build-shared) = yes].
6632 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6633 $(common-objpfx)nptl/libpthread.so.
6634 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6635 $(common-objpfx)math/libm.so$(libm.so-version) or
6636 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6637 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6638 $(common-objpfx)dlfcn/libdl.so.
6639 * setjmp/Makefile (link-libm): Remove variable.
6640 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6641 * stdio-common/Makefile (link-libm): Remove variable.
6642 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6643 * stdlib/Makefile (link-libm): Remove variable.
6644 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6645 ($(objpfx)tst-strtod-round): Likewise.
6646 ($(objpfx)tst-tininess): Likewise.
6647 ($(objpfx)tst-strtod-underflow): Likewise.
6648 ($(objpfx)tst-strtod6): Likewise.
6649 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6650 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6651 $(common-objpfx)dlfcn/libdl.so.
6652
026b0fe4
AZ
66532014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6654
6655 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6656 BSD terminal modes definitions.
6657
def4bcb2
RM
66582014-05-16 Roland McGrath <roland@hack.frob.com>
6659
fe39b021
RM
6660 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6661 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6662
1d1fc46e 6663 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
6664 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6665 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6666 Don't do #include_next.
6667 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6668 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6669 Don't do #include_next.
6670 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6671 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6672 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6673 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6674
c72399fb
AM
66752014-05-16 Allan McRae <allan@archlinux.org>
6676
d51d659d
AM
6677 * po/sv.po: Update Swedish translation from translation project.
6678
c72399fb
AM
6679 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6680 in sed expression.
6681
d0583c40
AJ
66822014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6683
6684 [BZ #16917]
6685 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6686 errno if the TIOCGPTN ioctl fails with an error different than
6687 EINVAL.
6688 * login/tst-ptsname.c: New file.
6689 * login/Makefile (tests): Add tst-ptsname.
6690
d16e6ec7
AJ
6691 [BZ #16943]
6692 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6693 and prlimit64.
6694
cf26a0cb
SP
66952014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6696
6697 [BZ #16849]
6698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6699 herrno to return EAI_AGAIN.
6700
5675da1e
RM
67012014-05-14 Roland McGrath <roland@hack.frob.com>
6702
a5d87b3d
RM
6703 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6704 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6705 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6706 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6707 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6708 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6709 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6710 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6712 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6713 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6714 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6715 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6716 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6717 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6718 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6720 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6721 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6722 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6723 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6724 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6725 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6726 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6727 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6728 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6729 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6730 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6731 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6732 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6734 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6736 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6738 Moved ...
6739 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6741 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6743 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6745 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6747 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6749 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6751 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6753 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6755 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6757 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6759 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6761 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6763 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6765 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6767 Moved ...
6768 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6770 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6772 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6774 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6776 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6778 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6780 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6782 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6784 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6786 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6788 Moved ...
6789 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6791 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6792
039890a6
RM
6793 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6794 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6795 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6796 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6797 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6798 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6799 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6800 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6801 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6802 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6803 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6804 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6805 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6806 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6807 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6808 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6809 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6810 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6811 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6812 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6813 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6814 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6815 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6816 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6817 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6818 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6819 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6820 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6821 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6822 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6823 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6824
65c89320
RM
6825 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6826 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6827
348f8e8c
RM
6828 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6829 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6830 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6831 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6832 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6833 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6834 Moved ...
6835 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6836 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6837 Moved ...
6838 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6839 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6840 Moved ...
6841 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6842 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6843 Moved ...
6844 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6845 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6846 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6847 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6848 Moved ...
6849 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6850 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6851 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6852 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6853 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6854 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6855 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6856 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6857 Moved ...
6858 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6859 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6860 Moved ...
6861 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6862 ... here.
6863 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6864 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6865 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6866 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6867 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6868 Moved ...
6869 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6870 ... here.
6871 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6872 Moved ...
6873 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6874 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6875 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6876 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6877 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6878 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6879 Moved ...
6880 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6881 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6882 Moved ...
6883 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6884 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6885 Moved ...
6886 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6887 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6888 Moved ...
6889 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6890 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6891 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6892 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6893 Moved ...
6894 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6895 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6896 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6897 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6898 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6899 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6900 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6901 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6902 Moved ...
6903 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6904 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6905 Moved ...
6906 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6907 ... here.
6908 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6909 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6910 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6911 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6912 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6913 Moved ...
6914 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6915 ... here.
6916 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6917 Moved ...
6918 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6919 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6920 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6921 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6922 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6923 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6924 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6925 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6926 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6927 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6928 Moved ...
6929 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6930 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6931 Moved ...
6932 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6933 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6934 Moved ...
6935 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6936 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6937 Moved ...
6938 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6939 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6940 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6941 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6942 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6943 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6944 Moved ...
6945 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6946 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6947 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6948 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6949 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6950 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6951 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6952 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6953 Moved ...
6954 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6955 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6956 Moved ...
6957 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6958 ... here.
6959 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6960 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6961 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6962 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6963 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6964 Moved ...
6965 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6966 ... here.
6967 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6968 Moved ...
6969 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6970 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6971 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6972 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6973 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6974 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6975 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6976 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6977 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6978 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6979 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6980
5085af05
RM
6981 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6982 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6983
708f0813
RM
6984 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6985 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6986
c96067bc
RM
6987 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6988 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6989 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6990 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6991 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6992 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6993 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6994 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6995 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6996 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6997 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6998 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6999 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7000 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7001 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7002 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7003 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7004 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7005 Moved ...
7006 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7007 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7008 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7010 Moved ...
7011 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7012 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7013 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7015 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7016 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7017 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7018 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7019 Moved ...
7020 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7022 Moved ...
7023 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7024 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7026 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7027 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7028 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7029 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7030 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7031 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7032 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7033 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7034 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7035 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7036 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7037 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7038 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7039 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7040
ec136444
RM
7041 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7042 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7043 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7044 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7045 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7046
2fbdf533
RM
7047 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7048 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7049 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7050 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7051 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7052 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7053 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7054 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7055 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7056 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7057
4c68138b
RM
7058 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7059 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7060
4eaae765
RM
7061 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7062 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7063 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7064 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7065 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7066 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7067 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7068 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7069 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7070 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7071 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7072 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7073 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7074 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7075 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7076 Update #include.
7077 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7078 Likewise.
7079 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7080 Likewise.
7081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7082 Likewise.
7083 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7084 Likewise.
7085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7086 Likewise.
7087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7088 Likewise.
7089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7090 Likewise.
7091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7092 Likewise.
7093 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7094 Likewise.
4ef6befa
RM
7095 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7096 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7097 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7098 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7099 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7100 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7101 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7102 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7103 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7104 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7105 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7106 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7107 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7108 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7109 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7110
941d7dfd
RM
7111 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7112 that was previously under [RESET_PID].
7113 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7114 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7115 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7116
1b731c35
RM
7117 * sysdeps/i386/nptl/Implies: New file.
7118 * sysdeps/x86_64/nptl/Implies: New file.
7119 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7120 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7121 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7122 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7123
e2787137
RM
7124 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7125 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7126 (__libc_vfork): New strong alias.
7127 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7128 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7129
7130 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7131 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7132 (__libc_vfork): New strong alias.
7133 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7134 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7135
5675da1e
RM
7136 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7137 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7138 (__libc_vfork): New strong alias.
7139 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7140 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7141 * nptl/pt-vfork.c: New file.
7142 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7143 (libpthread: GLIBC_2.20): New version set (empty).
7144
4f02e2b8
WN
71452014-05-14 Will Newton <will.newton@linaro.org>
7146
7147 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7148 rather than #if.
7149
0bf061d3
JM
71502014-05-14 Joseph Myers <joseph@codesourcery.com>
7151
1a84c3d6
JM
7152 [BZ #16564]
7153 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7154 arguments with exponent 65 or above.
7155 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7156 arguments 0x1p113L or above.
7157 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7158 to arguments 0x1p107L or above.
7159 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7160 positive arguments with exponent 65 or above.
7161 * math/auto-libm-test-in: Add more tests of log1p.
7162 * math/auto-libm-test-out: Regenerated.
7163
01dbacd2
JM
7164 [BZ #16928]
7165 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7166 non-finite arguments is +0.
7167 * math/s_cacosf.c (__cacosf): Likewise.
7168 * math/s_cacosl.c (__cacosl): Likewise.
7169 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7170 * sysdeps/i386/fpu/libm-test-ulps: Update.
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7172
913d03c8
JM
7173 [BZ #16927]
7174 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7175 value.
7176 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7177 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7178 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7179 for explicit high bit of mantissa when testing for argument equal
7180 to 1.
7181 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7182 * sysdeps/i386/fpu/libm-test-ulps: Update.
7183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7184
0bf061d3
JM
7185 [BZ #16516]
7186 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7187 (__erf): Scale by 16 instead of 8 in potentially underflowing
7188 case. Ensure exception if result actually underflows.
7189 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7190 (__erff): Scale by 16 instead of 8 in potentially underflowing
7191 case. Ensure exception if result actually underflows.
7192 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7193 (efx8): Remove variable.
7194 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7195 case. Ensure exception if result actually underflows.
7196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7197 (efx8): Remove variable.
7198 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7199 case. Ensure exception if result actually underflows.
7200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7201 (efx8): Remove variable.
7202 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7203 case. Ensure exception if result actually underflows.
7204 * math/auto-libm-test-in: Add more tests of erf.
7205 * math/auto-libm-test-out: Regenerated.
7206
73ba67cb
AS
72072014-05-14 Andreas Schwab <schwab@suse.de>
7208
3d8c8bff
AS
7209 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7210 Remove code conditionalized on USE___THREAD.
7211
73ba67cb
AS
7212 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7213 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7214 not definedness.
7215
5c521ecd
JM
72162014-05-14 Joseph Myers <joseph@codesourcery.com>
7217
5e7698c6
JM
7218 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7219 Define unconditionally.
7220 (__ASSUME_O_CLOEXEC): Likewise.
7221 (__ASSUME_SOCK_CLOEXEC): Likewise.
7222 (__ASSUME_IN_NONBLOCK): Likewise.
7223 (__ASSUME_PIPE2): Likewise.
7224 (__ASSUME_EVENTFD2): Likewise.
7225 (__ASSUME_SIGNALFD4): Likewise.
7226 (__ASSUME_DUP3): Likewise.
7227 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7228 (__ASSUME_DUP3): Do not define.
7229 (__ASSUME_EVENTFD2): Likewise.
7230 (__ASSUME_IN_NONBLOCK): Likewise.
7231 (__ASSUME_O_CLOEXEC): Likewise.
7232 (__ASSUME_PIPE2): Likewise.
7233 (__ASSUME_SIGNALFD4): Likewise.
7234 (__ASSUME_SOCK_CLOEXEC): Likewise.
7235 (__ASSUME_UTIMES): Undefine.
7236 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7237 (__ASSUME_UTIMES): Do not define.
7238 (__ASSUME_O_CLOEXEC): Likewise.
7239 (__ASSUME_SOCK_CLOEXEC): Likewise.
7240 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7241 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7242 0x020621].
7243 (__ASSUME_PIPE2): Likewise.
7244 (__ASSUME_EVENTFD2): Likewise.
7245 (__ASSUME_SIGNALFD4): Likewise.
7246 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7247 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7248 Do not define.
7249 (__ASSUME_EVENTFD2): Likewise.
7250 (__ASSUME_SIGNALFD4): Likewise.
7251 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7252 (__ASSUME_32BITUIDS): Likewise.
7253 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7254 (__ASSUME_IPC64): Likewise.
7255 (__ASSUME_ST_INO_64_BIT): Likewise.
7256 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7257 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7258 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7259 (__ASSUME_UTIMES): Do not define.
7260 (__ASSUME_PSELECT): Likewise.
7261 (__ASSUME_PPOLL): Likewise.
7262 (__ASSUME_O_CLOEXEC): Likewise.
7263 (__ASSUME_SOCK_CLOEXEC): Likewise.
7264 (__ASSUME_IN_NONBLOCK): Likewise.
7265 (__ASSUME_PIPE2): Likewise.
7266 (__ASSUME_EVENTFD2): Likewise.
7267 (__ASSUME_SIGNALFD4): Likewise.
7268 (__ASSUME_DUP3): Likewise.
7269 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7270 (__ASSUME_UTIMES): Likewise.
7271 (__ASSUME_O_CLOEXEC): Likewise.
7272 (__ASSUME_SOCK_CLOEXEC): Likewise.
7273 (__ASSUME_IN_NONBLOCK): Likewise.
7274 (__ASSUME_PIPE2): Likewise.
7275 (__ASSUME_EVENTFD2): Likewise.
7276 (__ASSUME_SIGNALFD4): Likewise.
7277 (__ASSUME_DUP3): Likewise.
7278 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7279 (__ASSUME_UTIMES): Likewise.
7280 (__ASSUME_O_CLOEXEC): Likewise.
7281 (__ASSUME_SOCK_CLOEXEC): Likewise.
7282 (__ASSUME_IN_NONBLOCK): Likewise.
7283 (__ASSUME_PIPE2): Likewise.
7284 (__ASSUME_EVENTFD2): Likewise.
7285 (__ASSUME_SIGNALFD4): Likewise.
7286 (__ASSUME_DUP3): Likewise.
7287 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7288 Likewise.
7289 (__ASSUME_UTIMES): Likewise.
7290 (__ASSUME_EVENTFD2): Likewise.
7291 (__ASSUME_SIGNALFD4): Likewise.
7292 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7293 (__ASSUME_O_CLOEXEC): Likewise.
7294 (__ASSUME_SOCK_CLOEXEC): Likewise.
7295 (__ASSUME_IN_NONBLOCK): Likewise.
7296 (__ASSUME_PIPE2): Likewise.
7297 (__ASSUME_EVENTFD2): Likewise.
7298 (__ASSUME_SIGNALFD4): Likewise.
7299 (__ASSUME_DUP3): Likewise.
7300 (__ASSUME_UTIMES): Undefine.
7301
5c521ecd
JM
7302 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7303 feclearexcept. Remove symbol versioning code.
7304 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7305 symbol versioning code.
7306 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7307 symbol versioning code.
7308 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7309 feupdateenv. Remove symbol versioning code.
7310 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7311 fegetexceptflag. Remove symbol versioning code.
7312 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7313 fesetexceptflag. Remove symbol versioning code.
7314 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7315 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7316 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7317 (__posix_fadvise64_l32): Remove prototype.
7318 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7319 code.
7320
5da9dfad
RM
73212014-05-13 Roland McGrath <roland@hack.frob.com>
7322
7323 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7324 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7325 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7326 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7327
893b4f37
SK
73282014-05-13 Sami Kerola <kerolasa@iki.fi>
7329
7330 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7331 current working directory
7332
e0db6517
RM
73332014-05-13 Roland McGrath <roland@hack.frob.com>
7334
58aa195d
RM
7335 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7336 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7337 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7338 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7339 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7340 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7341 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7342 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7343 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7344 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7345 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7346 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7347 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7348 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7349 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7350 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7351 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7352 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7353 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7354 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7355 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7356 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7357 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7358 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7359 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7360 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7361 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7362 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7363 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7364 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7365 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7366 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7367 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7368 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7369 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7370 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7371 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7372 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7373 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7374 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7375 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7376 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7377
8c6d01f0
RM
7378 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7379 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7380
7381 * sysdeps/unix/sysv/linux/arm/Makefile
7382 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7383 Add rt-aeabi_unwind_cpp_pr1.
7384 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7385 Add nptl-aeabi_unwind_cpp_pr1.
7386 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7387 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7388 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7389 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7390 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7391 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7392
7393 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7394 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7395 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7396 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7397
bba6da4e
RM
7398 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7399 Deconditionalize the code that was previously under [RESET_PID].
7400 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7401
e0db6517
RM
7402 * sysdeps/generic/exit-thread.h: New file.
7403 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7404 * include/unistd.h (__exit_thread): Remove declaration.
7405 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7406 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7407 * csu/libc-start.c: Include <exit-thread.h>.
7408 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7409 * nptl/pthread_create.c: Include <exit-thread.h>.
7410 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7411 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7412 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7413 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7414 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7415 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7416 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7417 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7418 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7419 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7420 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7421 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7422 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7423 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7424 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7425 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7426 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7427
01eb16fd
AS
74282014-05-13 Andreas Schwab <schwab@suse.de>
7429
7430 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7431
637461d9
JM
74322014-05-12 Joseph Myers <joseph@codesourcery.com>
7433
7434 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7435 (__ASSUME_UTIMES): Do not condition on kernel version.
7436 (__ASSUME_PSELECT): Define unconditionally.
7437 (__ASSUME_PPOLL): Likewise.
7438 (__ASSUME_ATFCTS): Likewise.
7439 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7440 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7441 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7442 (__ASSUME_UTIMENSAT): Define unconditionally.
7443 (__ASSUME_PRIVATE_FUTEX): Likewise.
7444 (__ASSUME_FALLOCATE): Likewise.
7445 (__ASSUME_O_CLOEXEC): Likewise.
7446 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7447 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7448 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7449 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7450 (__ASSUME_IN_NONBLOCK): Likewise.
7451 (__ASSUME_PIPE2): Likewise.
7452 (__ASSUME_EVENTFD2): Likewise.
7453 (__ASSUME_SIGNALFD4): Likewise.
7454 (__ASSUME_DUP3): Likewise.
7455 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7456 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7457 (__ASSUME_AT_RANDOM): Likewise.
7458 (__ASSUME_PREADV): Likewise.
7459 (__ASSUME_PWRITEV): Likewise.
7460 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7461 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7462 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7463 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7464 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7465 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7466 (__ASSUME_O_CLOEXEC): Define unconditionally.
7467 (__ASSUME_PSELECT): Do not undefine conditionally.
7468 (__ASSUME_PPOLL): Likewise.
7469 (__ASSUME_ATFCTS): Likewise.
7470 (__ASSUME_SET_ROBUST_LIST): Likewise.
7471 (__ASSUME_UTIMENSAT): Likewise.
7472 (__ASSUME_FDATASYNC): Define unconditionally.
7473 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7474 (__ASSUME_SIGFRAME_V2): Likewise.
7475 )__ASSUME_EVENTFD2): Likewise.
7476 (__ASSUME_SIGNALFD4): Likewise.
7477 (__ASSUME_PSELECT): Do not undefine conditionally.
7478 (__ASSUME_PPOLL): Likewise.
7479 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7480 (__ASSUME_PSELECT): Define unconditionally.
7481 (__ASSUME_PPOLL): Likewise.
7482 (__ASSUME_O_CLOEXEC): Likewise.
7483 (__ASSUME_SOCK_CLOEXEC): Likewise.
7484 (__ASSUME_IN_NONBLOCK): Likewise.
7485 (__ASSUME_PIPE2): Likewise.
7486 (__ASSUME_EVENTFD2): Likewise.
7487 (__ASSUME_SIGNALFD4): Likewise.
7488 (__ASSUME_DUP3): Likewise.
7489 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7490 (__ASSUME_O_CLOEXEC): Likewise.
7491 (__ASSUME_SOCK_CLOEXEC): Likewise.
7492 (__ASSUME_IN_NONBLOCK): Likewise.
7493 (__ASSUME_PIPE2): Likewise.
7494 (__ASSUME_EVENTFD2): Likewise.
7495 (__ASSUME_SIGNALFD4): Likewise.
7496 (__ASSUME_DUP3): Likewise.
7497 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7498 (__ASSUME_EVENTFD2): Likewise.
7499 (__ASSUME_SIGNALFD4): Likewise.
7500 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7501
315eb1d8
AS
75022014-05-12 Andreas Schwab <schwab@suse.de>
7503
7504 [BZ #16932]
7505 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7506 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7507 than maximum RPC packet size.
7508 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7509 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7510 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7511 (_nss_nis_getservbyport_r): Likewise.
7512
91df99f7
WN
75132014-05-12 Will Newton <will.newton@linaro.org>
7514
7515 * malloc/Makefile (tests): Add tst-mallopt.
7516 * malloc/tst-mallopt.c: New file.
7517
0a982a29
RM
75182014-05-09 Roland McGrath <roland@hack.frob.com>
7519
7520 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7521 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7522
0ded08a5
AZ
75232014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7524
7525 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7526 (tst-tlsmod6.so): Likewise.
7527
55d4d550
RM
75282014-05-09 Roland McGrath <roland@hack.frob.com>
7529
7530 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7531
77d08aca
JM
75322014-05-09 Joseph Myers <joseph@codesourcery.com>
7533
7534 [BZ #16064]
7535 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7536 and <dl-procinfo.h>.
7537 (__fegetenv): Save SSE state in envp->__eip if supported.
7538 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7539 envp->__eip if supported.
7540 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7541 and <dl-procinfo.h>.
7542 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7543 __data_offset and __data_selector in environment to 0. Set SSE
7544 state if supported.
7545 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7546 test-fenv-sse.
7547 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7548 -mfpmath=sse.
7549 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7550
28162f4d
WN
75512014-05-09 Will Newton <will.newton@linaro.org>
7552
7553 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7554 and libc_relro_required for ARM.
7555 * sysdeps/arm/preconfigure: Regenerate.
7556
5a414ff7
DV
75572014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7558 Stefan Liebler <stli@linux.vnet.ibm.com>
7559
7560 * config.make.in (enable-lock-elision): New Makefile variable.
7561 * configure.ac: Likewise.
7562 * configure: Regenerate.
7563 * sysdeps/s390/configure.ac:
7564 Add check for gcc transactions support.
7565 * sysdeps/s390/configure: Regenerate.
7566 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7567 Build elision files if enabled.
7568 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7569 Add lock elision support for s390.
7570 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7571 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7572 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7573 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7574 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7575 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7576 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7577 Likewise.
7578 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7579 Likewise.
7580 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7581 Likewise.
7582 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7583 Likewise.
7584 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7585 (__lll_timedlock_elision, __lll_lock_elision)
7586 (__lll_unlock_elision, __lll_trylock_elision)
7587 (lll_timedlock_elision, lll_lock_elision)
7588 (lll_unlock_elision, lll_trylock_elision): Add.
7589 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7590 (pthread_mutex_t): Add lock elision support for s390.
7591
1a2f40e5
W
75922014-05-14 Wilco <wdijkstr@arm.com>
7593
7594 * sysdeps/arm/fclrexcpt.c: Cleanup.
7595 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7596 * sysdeps/arm/feenablxcpt.c: Cleanup.
7597 * sysdeps/arm/fegetenv.c: Cleanup.
7598 * sysdeps/arm/fegetexcept.c: Cleanup.
7599 * sysdeps/arm/fegetround.c: Cleanup.
7600 * sysdeps/arm/feholdexcpt.c: Cleanup.
7601 * sysdeps/arm/fesetenv.c: Cleanup.
7602 * sysdeps/arm/fesetround.c: Cleanup.
7603 * sysdeps/arm/feupdateenv.c: Cleanup.
7604 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7605 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7606 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7607 * sysdeps/arm/ftestexcept.c: Cleanup.
7608 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7609 * sysdeps/arm/setfpucw.c: Cleanup.
7610
f63c86fe
WN
76112014-05-09 Will Newton <will.newton@linaro.org>
7612
7613 * sysdeps/arm/armv7/strcmp.S: New file.
7614 * NEWS: Mention addition of ARMv7 optimized strcmp.
7615
7a1a51b5
RM
76162014-05-08 Roland McGrath <roland@hack.frob.com>
7617
95afbbe5
RM
7618 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7619 look for %.ac rather than %.in.
7620
7621 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7622 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7623 * sysdeps/mach/hurd/configure: Regenerated.
7624 * sysdeps/unix/sysv/linux/configure: Regenerated.
7625
7a1a51b5
RM
7626 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7627
5057ad3b
SE
76282014-05-07 Steve Ellcey <sellcey@mips.com>
7629
7630 [BZ# 16922]
7631 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7632 (LONG_SUB): Ditto.
7633 (PTR_SUB): Ditto.
7634
8dc97517
AS
76352014-05-07 Andreas Schwab <schwab@suse.de>
7636
7637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7638 when skipping over non-matching result from nscd.
7639
ce0c5b8f
OB
76402014-05-07 Ondřej Bílka <neleai@seznam.cz>
7641
7642 [BZ #16876]
7643 * nptl/sockperf.c (client): Check socket return value.
8dc97517 7644
a1189263
OB
7645 [BZ #16877]
7646 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7647 nscd security class.
ce0c5b8f 7648
0f58d252
RM
76492014-05-06 Roland McGrath <roland@hack.frob.com>
7650
7651 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7652 * sysdeps/arm/unwind.h: ... here.
7653
83df9ad0
AJ
76542014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7655
ce0c5b8f
OB
7656 [BZ# 16916]
7657 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7658 Define.
83df9ad0 7659
f360f94a
VR
76602014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7661
7662 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7663 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7664 multiarch strncpy for PPC64.
7665 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7666 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7668 multiarch optimizations.
7669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7670 (__libc_ifunc_impl_list): Likewise.
7671 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7672 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7673 multiarch stpncpy for PPC64.
7674 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7675 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7676
978a41c3
AS
76772014-05-06 Andreas Schwab <schwab@suse.de>
7678
7679 [BZ #16912]
7680 * gmon/mcount.c (_MCOUNT_DECL): Use
7681 atomic_compare_and_exchange_bool_acq instead of
7682 catomic_compare_and_exchange_bool_acq.
7683
eb1ed03d
RM
76842014-05-05 Roland McGrath <roland@hack.frob.com>
7685
fe658845
RM
7686 * elf/Makefile (others, install-bin): Remove pldd.
7687 (pldd-modules): Variable removed.
7688 ($(objpfx)pldd): Target removed.
7689 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7690 (others, install-bin): Append pldd here.
7691 ($(objpfx)pldd): New target.
7692
eb1ed03d
RM
7693 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7694 to 0, so the first #if test emitted later doesn't see it undefined.
7695 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7696 * sysdeps/gnu/errlist.c: Regenerated.
7697
19c4bec0
AZ
76982014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7699
7700 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7701 [libc_hidden_builtin_def]: Define to empty value.
7702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7703 [libc_hidden_builtin_def]: Likewise.
7704 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7705 [libc_hidden_builtin_def]: Likewise.
7706 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7707 [libc_hidden_builtin_def]: Likewise.
7708 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7709 __redirect_memcpy and define ifunc as default hidden symbol.
7710 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7711 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7712
7776e669
AC
77132014-05-04 Adam Conrad <adconrad@0c3.net>
7714
7715 * locale/iso-4217.def: Reintroduce XDR currency.
7716
d69aeb12
AM
77172014-05-04 Allan McRae <allan@archlinux.org>
7718
7719 * po/eo.po: Update Esperanto translation from translation project.
7720
8f1df5cf
CD
77212014-05-02 Carlos O'Donell <carlos@redhat.com>
7722
7723 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7724 and FEATURE_INDEX_MAX to 1.
7725 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7726
13e402e7
SE
77272014-05-01 Steve Ellcey <sellcey@mips.com>
7728
7729 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7730 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7731 * iconvdata/big5.c (ONE_DIRECTION): Define.
7732 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7733 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7734 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7735 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7736 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7737 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7738 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7739 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7740 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7741 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7742 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7743 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7744 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7745 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7746 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7747 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7748 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7749 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7750 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7751 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7752 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7753 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7754 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7755 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7756 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7757 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7758 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7759 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7760 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7761 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7762 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7763 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7764 * iconvdata/johab.c (ONE_DIRECTION): Define.
7765 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7766 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7767 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7768 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7769 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7770 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7771 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7772 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7773 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7774 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7775
c727f032
RM
77762014-05-01 Roland McGrath <roland@hack.frob.com>
7777
8f2f08d0
RM
7778 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7779 (_IO_JUMPS_OFFSET): Define to 0.
7780
c727f032
RM
7781 * nptl/sysdeps/pthread/bits/libc-lock.h
7782 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7783 (__libc_lock_define_initialized_recursive): Always define using
7784 initializer. Modern compilers treat uninitialized (implicit zero) and
7785 explicit zero initializers the same (i.e. put the datum in bss).
7786
a849e800
AS
77872014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7788
7789 * nscd/nscd-client.h: Include <string.h>.
7790
5331255b
DM
77912014-05-01 David S. Miller <davem@davemloft.net>
7792
7793 [BZ #16885]
7794 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7795 multiple zero bytes exist at the end of a string.
7796 Reported by Aurelien Jarno <aurelien@aurel32.net>
7797
7798 * string/test-strcmp.c (check): Add explicit test for situations where
7799 there are multiple zero bytes after the first.
7800
4fdfe821
AS
78012014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7802
7803 [BZ #16890]
7804 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7805 when compiling wprintf.
7806 * stdio-common/tstdiomisc.c (t3): New function.
7807 (main): Call it.
7808
0cdddc25
SE
78092014-05-01 Steve Ellcey <sellcey@mips.com>
7810
7811 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7812 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7813 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7814 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7815
6426d77e
SE
78162014-05-01 Steve Ellcey <sellcey@mips.com>
7817
7818 * stdlib/longlong.h: Updated from GCC.
7819
6d96f5e4
WN
78202014-05-01 Will Newton <will.newton@linaro.org>
7821 Bernard Ogden <bernie.ogden@linaro.org>
7822
7470db0c
WN
7823 * NEWS: Update fixed bug list.
7824
6d96f5e4
WN
7825 [BZ #15119]
7826 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7827
211d653c
DM
78282014-04-30 David S. Miller <davem@davemloft.net>
7829
4fa262fa
DM
7830 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7831 (libc_feholdexcept_setround_sparc_ctx): New function.
7832 (libc_fesetenv_sparc_ctx): Likewise.
7833 (libc_feupdateenv_sparc_ctx): Likewise.
7834 (libc_feholdsetround_sparc_ctx): Likewise.
7835 (libc_feholdexcept_setround_ctx): Define.
7836 (libc_feholdexcept_setroundf_ctx): Likewise.
7837 (libc_feholdexcept_setroundl_ctx): Likewise.
7838 (libc_fesetenv_ctx): Likewise.
7839 (libc_fesetenvf_ctx): Likewise.
7840 (libc_fesetenvl_ctx): Likewise.
7841 (libc_feupdateenv_ctx): Likewise.
7842 (libc_feupdateenvf_ctx): Likewise.
7843 (libc_feupdateenvl_ctx): Likewise.
7844 (libc_feresetround_ctx): Likewise.
7845 (libc_feresetroundf_ctx): Likewise.
7846 (libc_feresetroundl_ctx): Likewise.
7847 (libc_feholdsetround_ctx): Likewise.
7848 (libc_feholdsetroundf_ctx): Likewise.
7849 (libc_feholdsetroundl_ctx): Likewise.
7850
1d3d93ef
DM
7851 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7852 with __USE_GNU instead of XOPEN cpp guards.
7853
8aa583c3
DM
7854 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7855 0.
7856
211d653c
DM
7857 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7858 with XOPEN cpp guards.
7859
60c8f1f6
JB
78602014-04-30 Julian Brown <julian@codesourcery.com>
7861
7862 [BZ #16888]
7863 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7864 handling.
7865
9a461d46
JM
78662014-04-30 Joseph Myers <joseph@codesourcery.com>
7867
d0f5b3f8
JM
7868 [BZ #9894]
7869 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7870 Change to 2.6.32.
7871 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7872 * sysdeps/unix/sysv/linux/configure: Regenerated.
7873 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7874 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7875 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7876 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7877 * README: Update reference to required Linux kernel version.
7878 * manual/install.texi (Linux): Update reference to required Linux
7879 kernel headers version.
7880 * INSTALL: Regenerated.
7881
9a461d46
JM
7882 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7883 header inclusion.
7884 [POSIX] (limits.h): Likewise.
7885 [POSIX] (math.h): Likewise.
7886 [POSIX] (sys/wait.h): Likewise.
7887 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7888 function.
7889 [POSIX] (stddef.h): Do not allow header inclusion.
7890
1775babf
AZ
78912014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7892
57f41c40 7893 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 7894
8f630cca
YY
78952014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7896
7897 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7898 Return immediately after lll_futex_wake.
7899
1cdeb237
SP
79002014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7901
bc8f194c
SP
7902 [BZ #16791]
7903 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7904 structure.
7905 (datahead_init_pos): Call datahead_init_common early.
7906 (datahead_init_neg): Likewise.
7907
1cdeb237
SP
7908 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7909 datahead_init_neg): New functions.
7910 * nscd/aicache.c (addhstaiX): Use them.
7911 * nscd/grpcache.c (cache_addgr): Likewise.
7912 * nscd/hstcache.c (cache_addhst): Likewise.
7913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7914 * nscd/netgroupcache.c (do_notfound): Likewise.
7915 (addgetnetgrentX): Likewise.
7916 (addinnetgrX): Likewise.
7917 * nscd/pwdcache.c (cache_addpw): Likewise.
7918 * nscd/servicescache.c (cache_addserv): Likewise.
7919
16b293a7
SP
79202014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7921 Atsushi Onoe <atsushi@onoe.org>
7922
7923 [BZ #14308]
7924 [BZ #12994]
7925 [BZ #13651]
7926 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7927 one response is valid.
7928 * resolv/res_send.c (send_dg): Check for validity of other
7929 response if the current response is a referral.
7930
a28a9b94
SE
79312014-04-29 Steve Ellcey <sellcey@mips.com>
7932
7933 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7934
2ca180e9
SL
79352014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7936
7937 [BZ #16823]
7938 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7939 Always divide by positive zero when computing -Inf result.
7940 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7941 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7942
18f2945a
AZ
79432014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7944
7945 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7946 FPSCR if value do not change.
7947 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7948 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7949 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7950 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7951 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7952 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7953 function.
7954
5abebba4
CD
79552014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7956
7957 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7958 * sysdeps/unix/sysv/linux/hppa: Move directory from
7959 ports/systeps/unix/sysv/linux/hppa.
7960 * README: Update listing for hppa-*-linux-gnu.
7961
f7ed60c2
OB
79622014-04-28 Ondřej Bílka <neleai@seznam.cz>
7963
fff763a5
OB
7964 [BZ #16754]
7965 * manual/stdio.texi (Hook functions): Fix types of stream hook
7966 functions.
f7ed60c2
OB
7967 [BZ #16854]
7968 * socket/sys/socket.h: Fix typo in comment.
7969
df639d73
WD
79702014-04-28 Wilco <wdijkstr@arm.com>
7971
f7ed60c2 7972 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
7973 * sysdeps/arm/math_private.h: New file.
7974 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7975
48332d82
L
79762014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7977
7978 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7979 with __int128_t.
7980 (La_x86_64_retval): Likewise.
7981
e5e0d9a4
IB
79822014-04-24 Ian Bolton <ian.bolton@arm.com>
7983
7984 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7985 fpsr if value didn't change.
7986 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7987 to fpcr if value didn't change.
7988 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7989 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7990 fpsr or fpcr if value didn't change.
7991 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7992 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7993 fpcr if value didn't change.
7994 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7995 to fpsr if value didn't change.
7996
bacc75f7
SP
79972014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7998
7999 * nptl/tst-sem3.c: Use test-skeleton.c
8000 (main): Rename to do_test. Use return instead of
8001 exit.
8002 * nptl/tst-sem4.c: Use test-skeleton.c
8003 (main): Rename to do_test.
8004
a059d359
DM
80052014-04-22 David S. Miller <davem@davemloft.net>
8006
8007 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8008 (struct sigaction): New struct member __glibc_reserved0, change
8009 type of sa_flags to int.
8010
ea6c92f3
YZ
80112014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8012
8013 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8014 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8015
766c4a36
SP
80162014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8017
8018 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8019 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8020
140cc7ab
VK
80212014-04-22 Will Newton <will.newton@linaro.org>
8022 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8023
8024 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8025 (__longjmp): Add longjmp and longjmp_target SystemTap
8026 probes.
8027 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8028 (__sigsetjmp): Add setjmp SystemTap probe.
8029
c54e5cf7
CD
80302014-04-17 Carlos O'Donell <carlos@redhat.com>
8031
8032 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8033 match manual order.
8034
75ffb047
AZ
80352014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8036
8037 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8038
2cd925f7
AZ
8039 * sysdeps/powerpc/fpu/fenv_private.h
8040 (libc_feholdexcept_setroundl_ctx): Define to
8041 libc_feholdexcept_setround_ppc_ctx.
8042 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8043 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8044 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8045 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8046
39e6cd8d
IB
80472014-04-17 Ian Bolton <ian.bolton@arm.com>
8048
8049 * sysdeps/aarch64/math-tests.h: New file.
8050
f9281df9
SY
80512014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8052
8053 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8054 New.
8055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8056 Check and set bit_AVX2_Usable.
8057 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8058 macro.
8059 (bit_AVX2): Likewise.
8060 (index_AVX2_Usable): Likewise.
8061 (CPUID_AVX2): Likewise.
8062 (HAS_AVX2): Likewise.
8063
37d35007
WN
80642014-04-17 Will Newton <will.newton@linaro.org>
8065
7c677662
WN
8066 * manual/setjmp.texi (System V contexts): Add note that
8067 calling setcontext on a context created by a call to a
8068 signal handler is undefined. Update text to note that
8069 setcontext from a signal handler is possible but not
8070 recommended.
8071
37d35007 8072 [BZ #16629]
e04a4e9d
WN
8073 * stdlib/tst-setcontext.c: Include signal.h.
8074 (main): Check that the signal stack before and
8075 after swapcontext is the same.
8076
37d35007
WN
8077 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8078 Re-implement to restore registers in user code and avoid
8079 rt_sigreturn system call.
8080
423a7160
W
80812014-04-17 Wilco <wdijkstr@arm.com>
8082
8083 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8084 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8085 * math/test-fenv.c: Skip exception trap tests on targets which only
8086 support non-stop mode.
8087
bc93ab29
IB
80882014-04-17 Ian Bolton <ian.bolton@arm.com>
8089 Wilco Dijkstra <wilco.dijkstra@arm.com>
8090
8091 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8092 (libc_feholdsetround_aarch64_ctx)
8093 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8094 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8095 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8096 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8097 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8098 (libc_feresetround_noexl_ctx): Define.
8099
95fc5fa3
RH
81002014-04-16 Richard Henderson <rth@redhat.com>
8101
ddb04724
RH
8102 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8103
d77c0899
RH
8104 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8105 unwind tables.
8106
a3df56fc
RH
8107 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8108 const from the non-libc, non-ldso copy.
8109
95fc5fa3
RH
8110 * sysdeps/alpha/libm-test-ulps: Regenerate.
8111
7e0b6763
IB
81122014-04-16 Ian Bolton <ian.bolton@arm.com>
8113 Wilco Dijkstra <wilco.dijkstra@arm.com>
8114
8115 * sysdeps/aarch64/fpu/math_private.h: New file.
8116
a9ea2e0c
MS
81172014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8118
8119 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8120
ea8ba7cd
IZ
81212014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8122
7e54fd04 8123 [BZ #16275]
ea8ba7cd
IZ
8124 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8125 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8126 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8127 Intel MPX bound registers before _dl_profile_fixup.
8128 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8129 registers after _dl_profile_fixup. Save and restore bound
8130 registers bnd0/bnd1 when calling _dl_call_pltexit.
8131 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8132 (LR_BND_OFFSET): Likewise.
8133 (LRV_BND0_OFFSET): Likewise.
8134 (LRV_BND1_OFFSET): Likewise.
8135
9f2a4fbc
ST
81362014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8137
8138 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8139 to...
8140 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8141 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8142 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8143 fields.
9f2a4fbc 8144
fd15a59b
ST
81452014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8146
8147 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8148
f19dfa0a
SL
81492014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8150
8151 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8152
4fa8bc3b
SL
81532014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8154
8155 [BZ #14770]
8156 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8157 * sysdeps/s390/configure: Regenerate.
8158
8ea587db
SL
8159 [BZ #16824]
8160 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8161 Set round-to-nearest internally to reduce error accumulation.
8162
aa5f0ff1
AM
81632014-04-16 Alan Modra <amodra@gmail.com>
8164
8165 [BZ #16740]
8166 [BZ #16619]
8167 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8168 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8169 * NEWS: Update fixed bug list.
aa5f0ff1 8170
bb9c256f
SP
81712014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8172
8173 * benchtests/Makefile: Depend on libraries in build directory.
8174 (bench-math): Separate out math tests.
8175 (bench-pthread): Separate out pthread tests.
8176 (bench): Include math and pthread tests.
8177
f737dfd0
CD
81782014-04-14 Carlos O'Donell <carlos@redhat.com>
8179
8180 [BZ #16831]
8181 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8182 _dl_debug_initialize.
8183
0699f766
CD
8184 * configure.ac: Remove SELinux header check.
8185 * configure: Regenerate.
8186 * nscd/selinux.c (perms): Array of const char* to permission names.
8187 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8188 default policy. Call string_to_security_class and string_to_av_perm to
8189 translate strings. Enforce default policy and call avs_has_perm with
8190 results of translated strings.
8191
809bd45f
DM
81922014-04-13 David S. Miller <davem@davemloft.net>
8193
8194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8195
89e691f2
AM
81962014-04-12 Allan McRae <allan@archlinux.org>
8197
8198 [BZ #16838]
8199 * manual/string.texi (Collation Functions): Fix qsort argument
8200 order in example.
8201 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8202
9c9daaeb
CM
82032014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8204
8205 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8206 Make the test a no-op if there are no exceptions defined.
8207
95561fb9
PP
82082014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8209
fe8d072c 8210 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
8211 enable-hardcoded-path-in-tests
8212
970c602a
WN
82132014-04-11 Will Newton <will.newton@linaro.org>
8214
8215 * benchtests/Makefile (extra-objs): Add json-lib.o.
8216 (bench-func): Tidy up JSON output.
8217 * benchtests/bench-skeleton.c: Include json-lib.h.
8218 (main): Use JSON library functions to do output of
8219 benchmark results.
8220 * benchtests/bench-timing-type.c (main): Output the
8221 timing type simply, leaving formatting to the user.
8222 * benchtests/json-lib.c: New file.
8223 * benchtests/json-lib.h: Likewise.
8224
36875b06
TR
82252014-04-11 Torvald Riegel <triegel@redhat.com>
8226
8227 [BZ #15215]
8228 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8229 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8230 memory barriers. Add comments.
8231 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8232 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8233 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8234 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8235 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8236 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8237
579db35a
SL
82382014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8239
8240 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8241 * sysdeps/s390/s390-64/configure.ac: ... this ...
8242 * sysdeps/s390/configure.ac: ... to here.
8243 * sysdeps/s390/s390-32/configure: Delete file.
8244 * sysdeps/s390/s390-64/configure: Delete file.
8245 * sysdeps/s390/configure: Regenerate.
8246
c12e9f37
JAPH
82472014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8248
8249 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8250
439bda32
WN
82512014-04-11 Will Newton <will.newton@linaro.org>
8252
8253 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8254 to zero if it is not defined elsewhere. (mtrim): Test
8255 the value of MALLOC_DEBUG with #if rather than #ifdef.
8256
6a5d6ea1
TR
82572014-04-10 Torvald Riegel <triegel@redhat.com>
8258
8259 * benchtests/pthread_once-inputs: New file.
8260 * benchtests/pthread_once-source.c: New file.
8261 * benchtests/README: Update documentation.
8262
a4c75cfd
IZ
82632014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8264 H.J. Lu <hongjiu.lu@intel.com>
8265
7e54fd04 8266 [BZ #16275]
a4c75cfd
IZ
8267 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8268 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8269 * sysdeps/x86_64/configure: Regenerated.
8270 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8271 macro.
8272 (REGISTER_SAVE_RAX): Likewise.
8273 (REGISTER_SAVE_RCX): Likewise.
8274 (REGISTER_SAVE_RDX): Likewise.
8275 (REGISTER_SAVE_RSI): Likewise.
8276 (REGISTER_SAVE_RDI): Likewise.
8277 (REGISTER_SAVE_R8): Likewise.
8278 (REGISTER_SAVE_R9): Likewise.
8279 (REGISTER_SAVE_BND0): Likewise.
8280 (REGISTER_SAVE_BND1): Likewise.
8281 (REGISTER_SAVE_BND2): Likewise.
8282 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8283 bound registers when calling _dl_fixup.
8284
27822ce6
AZ
82852014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8286
8287 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8288 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8289 of its definition.
27822ce6
AZ
8290 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8291 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8292 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8293 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8294 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8295 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8296 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8297
a88ddc90
PTB
82982014-04-09 Peter Brett <peter@peter-b.co.uk>
8299
8300 [BZ #15514]
8301 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8302 pathconf(_PC_NAME_MAX).
8303
01f8eac2
AZ
83042014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8305
8306 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8307 Remove macro usage.
8308 (__PTHREAD_SPINS): Move definition to ...
8309 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8310 (__PTHREAD_SPINS): ... here.
8311 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8312 (__PTHREAD_SPIN): Likewise.
8313 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8314 (__PTHREAD_SPIN): Likewise.
8315 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8316 (__PTHREAD_SPIN): Likewise.
8317 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8318 (__PTHREAD_SPIN): Likewise.
8319 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8320 (__PTHREAD_SPIN): Likewise.
8321 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8322 (__PTHREAD_SPIN): Likewise.
8323 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8324 (__PTHREAD_SPIN): Likewise.
8325 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8326 (__PTHREAD_SPIN): Likewise.
8327 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8328 (__PTHREAD_SPIN): Likewise.
8329 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8330 (__PTHREAD_SPIN): Likewise.
8331 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8332 (__PTHREAD_SPIN): Likewise.
8333 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8334 (__PTHREAD_SPIN): Likewise.
8335
de21c33c
AZ
8336 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8337 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8338 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8339 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8340 imply folder.
8341 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8342 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8343 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8344 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8345 correct imply path.
8346 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8347 strlen symbol for non multi-arch builds.
8348 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8349 missing hidden_def and weak_alias.
8350
862c472e
CD
83512014-04-08 Carlos O'Donell <carlos@redhat.com>
8352
8353 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8354
8667f90e
WN
83552014-04-07 Will Newton <will.newton@linaro.org>
8356
8357 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8358 and contents. [!_LIBC] Remove #ifndef and contents.
8359 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8360 * string/memccpy.c (__memccpy): Use ANSI prototype.
8361 * string/memfrob.c (memfrob): Likewise.
8362 * string/strcoll.c (STRCOLL): Likewise.
8363 * string/strlen.c (strlen): Likewise.
8364 * string/strtok.c (STRTOK): Likewise.
8365 * string/strcat.c: Remove unused #include of memcopy.h.
8366 (strcat): Use ANSI prototype.
8367 * string/strchr.c: Remove unused #include of memcopy.h.
8368 (strchr): Use ANSI prototype.
8369 * string/strcmp.c: Remove unused #include of memcopy.h.
8370 (strcmp): Use ANSI prototype.
8371 * string/strcpy.c: Remove unused #include of memcopy.h.
8372 (strcpy): Use ANSI prototype.
8373
7ffa9423
AZ
83742014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8375
8376 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8377 * config.make.in (config-extra-cppflags): Set it from
8378 libc_extra_cppflags.
8379 * configure.ac (libc_extra_cflags): Make it accumulate over
8380 configure fragments.
8381 (libc_extra_cppflags): New flag.
8382 * configure. Regenerate.
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
8384 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8385 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8387
8bd70862
AZ
8388 [BZ #16815]
8389 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8390 result for FE_DOWNWARD rounding mode.
8391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8392 Likewise.
8393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8394
d42f3448
CM
83952014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8396
8397 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8398 in function argument name.
8399
1c21d115
DS
84002014-04-03 David Svoboda <svoboda@cert.org>
8401
8402 [BZ #5666]
8403 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8404 explicitly.
8405
fcccd512
RM
84062014-04-03 Roland McGrath <roland@hack.frob.com>
8407
8408 * elf/dl-unmap-segments.h: New file.
8409 * sysdeps/generic/ldsodefs.h
8410 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8411 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8412 * elf/dl-fptr.c: Likewise.
8413 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8414 * sysdeps/aarch64/tlsdesc.c: Likewise.
8415 * sysdeps/arm/tlsdesc.c: Likewise.
8416 * sysdeps/i386/tlsdesc.c: Likewise.
8417 * sysdeps/tile/dl-runtime.c: Likewise.
8418 * sysdeps/x86_64/tlsdesc.c: Likewise.
8419 * elf/dl-load.h: New file.
8420 * elf/dl-load.c: Include it.
8421 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8422 Macros moved to dl-load.h.
8423 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8424 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8425 Use _dl_unmap_segments in place of __munmap.
8426 Break out segment-mapping loop into ...
8427 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8428
f6488e2b
WN
84292014-04-03 Will Newton <will.newton@linaro.org>
8430
8431 * elf/dl-lookup.c (do_lookup_x): Remove comment
8432 referring to nested function and move variable
8433 declarations down to before first use.
8434
6f05bafe
JM
84352014-04-02 Joseph Myers <joseph@codesourcery.com>
8436
a84e78c8
JM
8437 [BZ #16799]
8438 [BZ #16800]
8439 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8440 with 0 numerator.
8441 * math/s_catanf.c (__catanf): Likewise.
8442 * math/s_catanh.c (__catanh): Likewise.
8443 * math/s_catanhf.c (__catanhf): Likewise.
8444 * math/s_catanhl.c (__catanhl): Likewise.
8445 * math/s_catanl.c (__catanl): Likewise.
8446 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8447 by positive zero when computing -Inf result.
8448 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8449 (catanh_test): Likewise.
8450 * sysdeps/i386/fpu/libm-test-ulps: Update.
8451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8452
6f05bafe
JM
8453 [BZ #16789]
8454 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8455 instead of using underflowing value in computing result.
8456 * math/s_clog10.c (__clog10): Likewise.
8457 * math/s_clog10f.c (__clog10f): Likewise.
8458 * math/s_clog10l.c (__clog10l): Likewise.
8459 * math/s_clogf.c (__clogf): Likewise.
8460 * math/s_clogl.c (__clogl): Likewise.
8461 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8462 (clog10_test): Likewise.
8463 * sysdeps/i386/fpu/libm-test-ulps: Update.
8464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8465
b0abbc21
AM
84662014-04-02 Alan Modra <amodra@gmail.com>
8467
8468 [BZ #16739]
8469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8470 output when value is near a power of two. Use int64_t for lx and
8471 remove casts. Use decimal rather than hex exponent constants.
8472 Don't use long double multiplication when double will suffice.
8473 * math/libm-test.inc (nextafter_test_data): Add tests.
8474 * NEWS: Add 16739 and 16786 to bug list.
8475
af6b1797
AM
8476 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8477
483818d7
AM
8478 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8479
f6c55796
WN
84802014-04-01 Will Newton <will.newton@linaro.org>
8481
8482 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8483 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8484
13f7fe35
FW
84852014-04-01 Florian Weimer <fweimer@redhat.com>
8486
8487 [BZ #13347]
8488 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8489 * nptl/tst-setuid2.c: New file.
8490 * nptl/Makefile (xtests): Add tst-setuid2.
8491
c859b32e
AM
84922014-04-01 Alan Modra <amodra@gmail.com>
8493
8494 [BZ #16786]
8495 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8496
54fa2475
JM
84972014-03-31 Joseph Myers <joseph@codesourcery.com>
8498
8795b4a4
JM
8499 [BZ #6803]
8500 [BZ #6804]
8501 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8502 set errno as appropriate.
8503 * math/w_scalbf.c (__scalbf): Likewise.
8504 * math/w_scalbl.c (__scalbl): Likewise.
8505 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8506 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8507 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8508 Add more NaN tests.
8509
54fa2475
JM
8510 [BZ #16349]
8511 * math/w_atan2.c: Include <errno.h>.
8512 (__atan2): Set errno for result underflowing to zero.
8513 * math/w_atan2f.c: Include <errno.h>.
8514 (__atan2f): Set errno for result underflowing to zero.
8515 * math/w_atan2l.c: Include <errno.h>.
8516 (__atan2l): Set errno for result underflowing to zero.
8517 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8518 tests.
8519 * math/auto-libm-test-out: Regenerated.
8520
757d9dd5
AZ
85212014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8522
8523 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8524 Encode instruction correctly in little endian.
8525 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8526 Likewise.
8527 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8528 Likewise.
8529 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8530 Likewise.
8531 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8532 Likewise.
8533
d7a68734
JM
85342014-03-31 Joseph Myers <joseph@codesourcery.com>
8535
47c5adeb
JM
8536 [BZ #9894]
8537 * sysdeps/unix/sysv/linux/kernel-features.h
8538 [__sparc__ && !__arch64__ && !__sparc_v9__]
8539 (__ASSUME_SET_ROBUST_LIST): Do not define.
8540 [__sparc__ && !__arch64__ && !__sparc_v9__]
8541 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8542 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8543 Likewise.
8544 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8545 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8546 (__ASSUME_REQUEUE_PI): Likewise.
8547 (__ASSUME_SET_ROBUST_LIST): Likewise.
8548 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8549 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8550 Undefine.
8551 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8552 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8553 Likewise.
8554 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8555 Likewise.
8556 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8557 Likewise.
8558 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8559 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8560 Undefine.
8561 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8562 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8563 Likewise.
8564
d7a68734
JM
8565 [BZ #16648]
8566 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8567 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8568 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8569
c760f5c2
WN
85702014-03-31 Will Newton <will.newton@linaro.org>
8571
8572 * benchtests/Makefile (bench): Add ffs and ffsll to list
8573 of tests.
8574 * benchtests/ffs-inputs: New file.
8575 * benchtests/ffsll-inputs: Likewise.
8576
ea6029b1
JM
85772014-03-29 Joseph Myers <joseph@codesourcery.com>
8578
8579 [BZ #16770]
8580 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8581 too large before casting to int.
8582 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8583 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8584 * math/libm-test.inc (scalb_test_data): Add more tests.
8585
cf806aff
SP
85862014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8587
56737508
SP
8588 * benchtests/Makefile (DETAILED_OPT): New make option.
8589 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8590 set.
8591 * benchtests/bench-skeleton.c: Include stdbool.h.
8592 (main): Store and print timings per input.
8593 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8594 member to each argument value.
8595 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8596 (_print_arg_data): Initialize per-input timing to 0.
8597
cb5e4aad
SP
8598 * benchtests/Makefile (timing-type): New binary.
8599 (bench-clean): Also remove bench-timing-type.
8600 (bench): New target for timing-type.
8601 (bench-func): Print output in JSON format.
8602 * benchtests/bench-skeleton.c (main): Print output in JSON
8603 format.
8604 * benchtests/bench-timing-type.c: New file.
8605 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8606 (TIMING_PRINT_STATS): Remove.
8607 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8608 name separately.
8609
cf806aff
SP
8610 * benchtests/bench-modf.c: Remove.
8611 * benchtests/modf-inputs: New inputs file.
8612
289e0779
JM
86132014-03-28 Joseph Myers <joseph@codesourcery.com>
8614
8615 [BZ #16362]
8616 * math/s_clog10.c (M_PI_LOG10E): New macro.
8617 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8618 imaginary parts are 0.
8619 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8620 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8621 imaginary parts are 0.
8622 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8623 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8624 imaginary parts are 0.
8625 * math/libm-test.inc (clog10_test_data): Update expected results
8626 for when real and imaginary parts are 0.
8627
277ae3f1
PP
86282014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8629
8630 * elf/dl-load.c: Finish conversion of __builtin_expect into
8631 __glibc_{un}likely.
8632
03a7091f
JM
86332014-03-27 Joseph Myers <joseph@codesourcery.com>
8634
8635 [BZ #16348]
8636 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8637 1+x for argument with exponent below -67.
8638 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8639 Likewise.
8640 * math/auto-libm-test-in: Add more tests of exp.
8641 * math/auto-libm-test-out: Regenerated.
8642
ea7d8b95
SP
86432014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8644
dd3022d7
SP
8645 [BZ #16759]
8646 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8647 (nscd_getnetgrent): Use it.
8648
ea7d8b95
SP
8649 [BZ #16760]
8650 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8651 of stpcpy.
8652
df5b85da
AK
86532014-03-27 Andi Kleen <ak@linux.intel.com>
8654
57f41c40
AS
8655 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8656 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8657 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8658 (lll_robust_unlock): Remove out of line section. Use cfi
8659 intrinsics.
df5b85da 8660 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
8661 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8662 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8663 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8664 (lll_robust_unlock): Remove out of line section. Use cfi
8665 intrinsics.
df5b85da
AK
8666 (LLL_STUB_UNWIND_INFO*): Remove.
8667
fbd6b5a4
SP
86682014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8669
8670 [BZ #16758]
8671 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8672 blank values.
8673
1b26b855
PP
86742014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8675
8676 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8677
9be36fb8
JM
86782014-03-26 Joseph Myers <joseph@codesourcery.com>
8679
8680 [BZ #16198]
8681 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8682 fnstenv.
8683 * math/test-fenv-preserve.c: New file.
8684 * math/Makefile (tests): Add test-fenv-preserve.
8685
60a2f3c1
WN
86862014-03-26 Will Newton <will.newton@linaro.org>
8687
8688 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8689
a5e5f1e2
RM
86902014-03-25 Roland McGrath <roland@hack.frob.com>
8691
8692 * scripts/versionlist.awk: Partition the version sets and emit all
8693 GLIBC_* (sorted) before all others (sorted).
8694
00f4012a
JM
86952014-03-25 Joseph Myers <joseph@codesourcery.com>
8696
8697 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8698 GLIBC_2.2.5 version.
8699
7bc5a741
AZ
87002014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8701
8702 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8703 calls.
8704
7578473b
AZ
8705 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8706 previous change.
8707
f3f1dab3
AZ
8708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8709
6da36183
AS
87102014-03-25 Andreas Schwab <schwab@suse.de>
8711
8712 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8713 label to be used after in6ailist is initialized.
8714
f3f1dab3 87152014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 8716
7578473b 8717 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
8718 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8719
046651c1
JM
87202014-03-25 Joseph Myers <joseph@codesourcery.com>
8721
8722 [BZ #16357]
8723 [BZ #16599]
8724 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8725 min_plus_half.
8726 (fp_formats): Update initializers.
8727 (init_fp_formats): Initialize new field.
8728 (output_for_one_input_case): Allow underflow for results up to
8729 min_plus_half.
8730 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8731 * math/auto-libm-test-in: Don't mark some underflows from asin and
8732 atanh as spurious.
8733 * math/auto-libm-test-out: Regenerated.
8734 * sysdeps/i386/fpu/libm-test-ulps: Update.
8735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8736
003e49ed
AS
87372014-03-25 Andreas Schwab <schwab@suse.de>
8738
8739 * libio/Makefile (tst-ftell-partial-wide-ENV)
8740 (tst-ftell-active-handler-ENV): Define.
8741
de031874
SL
87422014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8743
8744 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8745
55a81e3b
PP
87462014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8747
8748 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8749
f3426898
JM
87502014-03-24 Joseph Myers <joseph@codesourcery.com>
8751
8752 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8753 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8754 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8755
a42faf59
PP
87562014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8757
8758 [BZ #16634]
a42faf59 8759 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
8760 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8761 (open_path): Change from boolean 'secure' to complete flag 'mode'
8762 (_dl_map_object): Adjust.
a42faf59
PP
8763 * elf/Makefile (tests): Add tst-dlopen-aout.
8764 * elf/tst-dlopen-aout.c: New test.
8765
50936127
SL
87662014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8767
8768 [BZ #16714]
8769 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8770 (struct stat): Rename member pad0 to __glibc_reserved0.
8771
26011b5c
SL
8772 [BZ #16712]
8773 * sysdeps/s390/s390-32/bits/wordsize.h
8774 (__WORDSIZE32_SIZE_ULONG): New define.
8775 * sysdeps/s390/s390-64/bits/wordsize.h
8776 (__WORDSIZE32_SIZE_ULONG): Likewise.
8777 * sysdeps/generic/stdint.h (SIZE_MAX):
8778 Define as UL if __WORDSIZE32_SIZE_ULONG.
8779
a2d86bf1
SL
8780 [BZ #16713]
8781 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8782 (__glibc_reserved0): New variable.
8783 (sa_flags): Change type to int.
8784
78b6eebc
SL
8785 * posix/Makefile (before-compile): Use += before-compile instead
8786 of a :=.
8787
f1399b5a
SL
8788 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8789 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8790
a071766e
AS
87912014-03-20 Andreas Schwab <schwab@suse.de>
8792
8793 [BZ #16743]
8794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8795 non-matching result from nscd.
8796
27c673b8
SP
87972014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8798
8799 * scripts/bench.py: Moved to ...
8800 * benchtests/scripts/bench.py: ... here.
8801 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8802
44152e4b
AS
88032014-03-24 Andreas Schwab <schwab@suse.de>
8804
8805 [BZ #16002]
8806 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8807 alloca_account and account alloca use for struct in6ailist.
8808
b376a11a
JM
88092014-03-24 Joseph Myers <joseph@codesourcery.com>
8810
8811 [BZ #16284]
8812 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8813 rounding mode to recompute results that overflow to infinity or
8814 underflow to zero.
8815 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8816 bug 16284.
8817 * math/auto-libm-test-out: Regenerated.
8818 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8819 (ccosh_test): Likewise.
8820 (csin_test_data): Use plus_oflow.
8821 (csin_test): Use ALL_RM_TEST.
8822 (csinh_test_data): Use plus_oflow.
8823 (csinh_test): Use ALL_RM_TEST.
8824 * sysdeps/i386/fpu/libm-test-ulps: Update.
8825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8826
f7be7376
JM
88272014-03-21 Joseph Myers <joseph@codesourcery.com>
8828
1ca2d03e
JM
8829 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8830 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8831 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8832
f7be7376
JM
8833 [BZ #16731]
8834 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8835 when x - 1 is zero.
8836 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8837 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8838 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8839 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8840 argument is 1.
8841 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8842 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8843 zero.
8844 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8845 * sysdeps/i386/fpu/libm-test-ulps: Update.
8846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8847
fdf4534d
SP
88482014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8849
df26ea53
SP
8850 * scripts/bench.pl: Remove file.
8851 * scripts/bench.py: New benchmark script.
8852 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8853 * benchtests/README: Mention python dependency.
8854 * scripts/pylintrc: New file.
8855 * scripts/pylint: New file.
8856
fdf4534d
SP
8857 * bits/mathdef.h: Use #ifdef instead of #if.
8858 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8859 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8860 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8861 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8862 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8863 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8864
6f23d093
AZ
88652014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8866 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8867
8868 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8870 and strpbrk-ppc64 objects.
8871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8872 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8873 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8874 multiarch strpbrk for POWER7.
8875 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8876 multiarch strpbrk for PPC64.
8877 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8878 ifunc selector.
8879 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8880 strpbrk for POWER7.
8881
8c92dfff
JM
88822014-03-20 Joseph Myers <joseph@codesourcery.com>
8883
8884 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8885 (atan_test): Likewise.
8886 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8887 (atanh_test): Use ALL_RM_TEST.
8888 (atan2_test_data): Likewise.
8889 (cabs_test): Likewise.
8890 (cacosh_test): Likewise.
8891 (carg_test): Likewise.
8892 (casin_test): Likewise.
8893 (casinh_test): Likewise.
8894 (cbrt_test): Likewise.
8895 (csqrt_test): Likewise.
8896 (erf_test): Likewise.
8897 (erfc_test): Likewise.
8898 (pow10_test): Likewise.
8899 (exp2_test): Likewise.
8900 (hypot_test): Likewise.
8901 (j0_test): Likewise.
8902 (j1_test): Likewise.
8903 (lgamma_test): Likewise.
8904 (gamma_test): Likewise.
8905 (sincos_test): Likewise.
8906 (tanh_test): Likewise.
8907 (y0_test): Likewise.
8908 (y1_test): Likewise.
8909 * sysdeps/i386/fpu/libm-test-ulps: Update.
8910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8911
6eaf95cb
AZ
89122014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8913
a387428c
SP
8914 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
8916 and strcspn-ppc64 objects.
8917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8918 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8919 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8920 multiarch strcspn for POWER7.
8921 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8922 multiarch strcspn for PPC64.
8923 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8924 ifunc selector.
8925 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8926 strcspn for POWER7.
8927
ae3a5dff
JM
89282014-03-20 Joseph Myers <joseph@codesourcery.com>
8929
8930 * math/gen-libm-test.pl (generate_testfile): Expect only function
8931 name as argument to AUTO_TESTS_* and pass results for all rounding
8932 modes to parse_args.
8933 (parse_auto_input): Separate inputs of automatic tests from
8934 outputs before storing in %auto_tests.
8935 * math/libm-test.inc (acos_test_data): Update call to
8936 AUTO_TESTS_f_f.
8937 (acos_test): Use ALL_RM_TEST.
8938 (acos_tonearest_test_data): Remove.
8939 (acos_test_tonearest): Likewise.
8940 (acos_towardzero_test_data): Likewise.
8941 (acos_test_towardzero): Likewise.
8942 (acos_downward_test_data): Likewise.
8943 (acos_test_downward): Likewise.
8944 (acos_upward_test_data): Likewise.
8945 (acos_test_upward): Likewise.
8946 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8947 (asin_test_data): Likewise.
8948 (asin_test): Use ALL_RM_TEST.
8949 (asin_tonearest_test_data): Remove.
8950 (asin_test_tonearest): Likewise.
8951 (asin_towardzero_test_data): Likewise.
8952 (asin_test_towardzero): Likewise.
8953 (asin_downward_test_data): Likewise.
8954 (asin_test_downward): Likewise.
8955 (asin_upward_test_data): Likewise.
8956 (asin_test_upward): Likewise.
8957 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8958 (atan_test_data): Likewise.
8959 (atanh_test_data): Likewise.
8960 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8961 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8962 (carg_test_data): Likewise.
8963 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8964 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8965 (ccosh_test_data): Likewise.
8966 (cexp_test_data): Likewise.
8967 (clog_test_data): Likewise.
8968 (clog10_test_data): Likewise.
8969 (cos_test_data): Update call to AUTO_TESTS_f_f.
8970 (cos_test): Use ALL_RM_TEST.
8971 (cos_tonearest_test_data): Remove.
8972 (cos_test_tonearest): Likewise.
8973 (cos_towardzero_test_data): Likewise.
8974 (cos_test_towardzero): Likewise.
8975 (cos_downward_test_data): Likewise.
8976 (cos_test_downward): Likewise.
8977 (cos_upward_test_data): Likewise.
8978 (cos_test_upward): Likewise.
8979 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8980 (cosh_test): Use ALL_RM_TEST.
8981 (cosh_tonearest_test_data): Remove.
8982 (cosh_test_tonearest): Likewise.
8983 (cosh_towardzero_test_data): Likewise.
8984 (cosh_test_towardzero): Likewise.
8985 (cosh_downward_test_data): Likewise.
8986 (cosh_test_downward): Likewise.
8987 (cosh_upward_test_data): Likewise.
8988 (cosh_test_upward): Likewise.
8989 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8990 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8991 (ctan_test_data): Likewise.
8992 (ctan_test): Use ALL_RM_TEST.
8993 (ctan_tonearest_test_data): Remove.
8994 (ctan_test_tonearest): Likewise.
8995 (ctan_towardzero_test_data): Likewise.
8996 (ctan_test_towardzero): Likewise.
8997 (ctan_downward_test_data): Likewise.
8998 (ctan_test_downward): Likewise.
8999 (ctan_upward_test_data): Likewise.
9000 (ctan_test_upward): Likewise.
9001 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9002 (ctanh_test): Use ALL_RM_TEST.
9003 (ctanh_tonearest_test_data): Remove.
9004 (ctanh_test_tonearest): Likewise.
9005 (ctanh_towardzero_test_data): Likewise.
9006 (ctanh_test_towardzero): Likewise.
9007 (ctanh_downward_test_data): Likewise.
9008 (ctanh_test_downward): Likewise.
9009 (ctanh_upward_test_data): Likewise.
9010 (ctanh_test_upward): Likewise.
9011 (erf_test_data): Update call to AUTO_TESTS_f_f.
9012 (erfc_test_data): Likewise.
9013 (exp_test_data): Likewise.
9014 (exp_test): Use ALL_RM_TEST.
9015 (exp_tonearest_test_data): Remove.
9016 (exp_test_tonearest): Likewise.
9017 (exp_towardzero_test_data): Likewise.
9018 (exp_test_towardzero): Likewise.
9019 (exp_downward_test_data): Likewise.
9020 (exp_test_downward): Likewise.
9021 (exp_upward_test_data): Likewise.
9022 (exp_test_upward): Likewise.
9023 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9024 (exp10_test): Use ALL_RM_TEST.
9025 (exp10_tonearest_test_data): Remove.
9026 (exp10_test_tonearest): Likewise.
9027 (exp10_towardzero_test_data): Likewise.
9028 (exp10_test_towardzero): Likewise.
9029 (exp10_downward_test_data): Likewise.
9030 (exp10_test_downward): Likewise.
9031 (exp10_upward_test_data): Likewise.
9032 (exp10_test_upward): Likewise.
9033 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9034 (expm1_test_data): Likewise.
9035 (expm1_test): Use ALL_RM_TEST.
9036 (expm1_tonearest_test_data): Remove.
9037 (expm1_test_tonearest): Likewise.
9038 (expm1_towardzero_test_data): Likewise.
9039 (expm1_test_towardzero): Likewise.
9040 (expm1_downward_test_data): Likewise.
9041 (expm1_test_downward): Likewise.
9042 (expm1_upward_test_data): Likewise.
9043 (expm1_test_upward): Likewise.
9044 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9045 (fma_test): Use ALL_RM_TEST.
9046 (fma_towardzero_test_data): Remove.
9047 (fma_test_towardzero): Likewise.
9048 (fma_downward_test_data): Likewise.
9049 (fma_test_downward): Likewise.
9050 (fma_upward_test_data): Likewise.
9051 (fma_test_upward): Likewise.
9052 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9053 (j0_test_data): Update call to AUTO_TESTS_f_f.
9054 (j1_test_data): Likewise.
9055 (jn_test_data): Update call to AUTO_TESTS_if_f.
9056 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9057 (log_test_data): Update call to AUTO_TESTS_f_f.
9058 (log10_test_data): Likewise.
9059 (log1p_test_data): Likewise.
9060 (log2_test_data): Likewise.
9061 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9062 (pow_tonearest_test_data): Likewise.
9063 (sin_test_data): Update call to AUTO_TESTS_f_f.
9064 (sin_test): Use ALL_RM_TEST.
9065 (sin_tonearest_test_data): Remove.
9066 (sin_test_tonearest): Likewise.
9067 (sin_towardzero_test_data): Likewise.
9068 (sin_test_towardzero): Likewise.
9069 (sin_downward_test_data): Likewise.
9070 (sin_test_downward): Likewise.
9071 (sin_upward_test_data): Likewise.
9072 (sin_test_upward): Likewise.
9073 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9074 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9075 (sinh_test): Use ALL_RM_TEST.
9076 (sinh_tonearest_test_data): Remove.
9077 (sinh_test_tonearest): Likewise.
9078 (sinh_towardzero_test_data): Likewise.
9079 (sinh_test_towardzero): Likewise.
9080 (sinh_downward_test_data): Likewise.
9081 (sinh_test_downward): Likewise.
9082 (sinh_upward_test_data): Likewise.
9083 (sinh_test_upward): Likewise.
9084 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9085 (sqrt_test): Use ALL_RM_TEST.
9086 (sqrt_tonearest_test_data): Remove.
9087 (sqrt_test_tonearest): Likewise.
9088 (sqrt_towardzero_test_data): Likewise.
9089 (sqrt_test_towardzero): Likewise.
9090 (sqrt_downward_test_data): Likewise.
9091 (sqrt_test_downward): Likewise.
9092 (sqrt_upward_test_data): Likewise.
9093 (sqrt_test_upward): Likewise.
9094 (tan_test_data): Update call to AUTO_TESTS_f_f.
9095 (tan_test): Use ALL_RM_TEST.
9096 (tan_tonearest_test_data): Remove.
9097 (tan_test_tonearest): Likewise.
9098 (tan_towardzero_test_data): Likewise.
9099 (tan_test_towardzero): Likewise.
9100 (tan_downward_test_data): Likewise.
9101 (tan_test_downward): Likewise.
9102 (tan_upward_test_data): Likewise.
9103 (tan_test_upward): Likewise.
9104 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9105 (tgamma_test_data): Likewise.
9106 (y0_test_data): Likewise.
9107 (y1_test_data): Likewise.
9108 (yn_test_data): Update call to AUTO_TESTS_if_f.
9109 (main): Do not call removed functions.
9110
d71aeee8
JM
91112014-03-19 Joseph Myers <joseph@codesourcery.com>
9112
9113 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9114 (ldexp_test_data): Remove.
9115 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9116 scalbn_test_data.
9117 (scalb_test): Use ALL_RM_TEST.
9118
baaf1ded
AS
91192014-03-19 Andreas Schwab <schwab@suse.de>
9120
9121 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9122
b1115e91
JM
91232014-03-19 Joseph Myers <joseph@codesourcery.com>
9124
9125 [BZ #16649]
9126 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9127 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9128 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9129 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9130 (__ASSUME_PREADV): Undefine.
9131 (__ASSUME_PWRITEV): Likewise.
9132
0283ecca
RM
91332014-03-18 Roland McGrath <roland@hack.frob.com>
9134
7d375303
RM
9135 * bits/mman-linux.h: Add comment about non-Linux use.
9136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9137 bits/mman-linux.h resting place.
9138
0283ecca
RM
9139 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9140 * bits/mman-linux.h: ... here.
9141
aebe1003
AZ
91422014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9143
9144 * conform/conformtest.pl: Add standard definition when calling C
9145 preprocessor on data files.
9146 (checknamespace): Remove unused variable.
9147
b29b6bb8
JM
91482014-03-18 Joseph Myers <joseph@codesourcery.com>
9149
9150 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9151 minus_oflow, plus_uflow and minus_uflow in expected results.
9152 * math/libm-test.inc (scalbn_test_data): Add more tests of
9153 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9154 minus_uflow.
9155 (scalbn_test): Use ALL_RM_TEST.
9156 (scalbln_test_data): Add more tests of negative arguments. Use
9157 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9158 (scalbln_test): Use ALL_RM_TEST.
9159
c8f8fa15
RM
91602014-03-18 Roland McGrath <roland@hack.frob.com>
9161
9162 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9163
fede7a5f
WN
91642014-03-18 Will Newton <will.newton@linaro.org>
9165
9166 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9167 inaccurate comment.
9168
80cf0a58
JM
91692014-03-18 Joseph Myers <joseph@codesourcery.com>
9170
9171 * Makerules [!subdir] (check-abi): Exit with error status if a
9172 test failed.
9173
b3620862
JM
91742014-03-17 Joseph Myers <joseph@codesourcery.com>
9175
9176 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9177 for rint. Include results for all rounding modes.
9178 (nearbyint_test): Use ALL_RM_TEST.
9179 (rint_test_data): Include all tests used for nearbyint.
9180
788bba36
WN
91812014-03-17 Will Newton <will.newton@linaro.org>
9182
04ec140a
WN
9183 * nptl/sysdeps/pthread/pthread.h: Revert previous
9184 change.
9185
7579d8d5
WN
9186 * sysdeps/generic/ldsodefs.h: Revert previous
9187 change.
9188
c15cf13a
WN
9189 * libio/genops.c: Revert previous change.
9190 * libio/libioP.h: Likewise.
9191 * stdio-common/vfprintf.c: Likewise.
9192
d0ac1324
WN
9193 * sysdeps/generic/math_private.h: Revert previous
9194 change.
9195
9290130a
WN
9196 * sysdeps/generic/math_private.h: Check whether
9197 HAVE_RM_CTX is defined with #ifdef rather
9198 than #if.
9199
afb466fc
WN
9200 * argp/argp-fmtstream.h: Check whether
9201 __STRICT_ANSI__ is defined with #ifdef rather
9202 than #if.
9203 * argp/argp.h: Likewise.
9204
f7efd7c3
WN
9205 * libio/genops.c: Check whether
9206 _IO_JUMPS_OFFSET is defined with #ifdef rather
9207 than #if.
9208 * libio/libioP.h: Likewise.
9209 * stdio-common/vfprintf.c: Likewise.
9210
53f1bed3
WN
9211 * sysdeps/generic/ldsodefs.h: Check whether
9212 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9213 than #if.
9214
788bba36
WN
9215 * nptl/sysdeps/pthread/pthread.h: Check
9216 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9217 its value.
9218
fcd89ebe
SP
92192014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9220
ae42bbc5
SP
9221 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9222 setting O_APPEND.
9223 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9224 test case.
9225
ea33158c
SP
9226 [BZ #16680]
9227 * libio/fileops.c (_IO_file_open): Seek to end of file but
9228 don't cache the offset.
9229 (get_file_offset): Remove function.
9230 (do_ftell): Use cached offset when available.
9231 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9232 don't cache the offset.
9233 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9234 case.
9235 (do_one_test): Call it.
9236 (do_ftell_test): Fix up expected old offset for a+ mode.
9237 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9238 available.
9239
b1dbb426
SP
9240 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9241 up test status with function return status.
9242 (do_write_test): Likewise.
9243 (do_append_test): Likewise.
9244
fcd89ebe
SP
9245 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9246 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9247 Remove.
9248
9962a2d3
JM
92492014-03-17 Joseph Myers <joseph@codesourcery.com>
9250
9251 * math/gen-libm-test.pl (parse_args): Handle results specified for
9252 each rounding mode separately.
9253 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9254 tests and results from lrint_tonearest_test_data,
9255 lrint_towardzero_test_data, lrint_downward_test_data and
9256 lrint_upward_test_data.
9257 (lrint_test): Use ALL_RM_TEST.
9258 (lrint_tonearest_test_data): Remove.
9259 (lrint_test_tonearest): Likewise.
9260 (lrint_towardzero_test_data): Likewise.
9261 (lrint_test_towardzero): Likewise.
9262 (lrint_downward_test_data): Likewise.
9263 (lrint_test_downward): Likewise.
9264 (lrint_upward_test_data): Likewise.
9265 (lrint_test_upward): Likewise.
9266 (llrint_test_data): Merge in per-rounding-mode tests and results
9267 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9268 llrint_downward_test_data and llrint_upward_test_data.
9269 (llrint_test): Use ALL_RM_TEST.
9270 (llrint_tonearest_test_data): Remove.
9271 (llrint_test_tonearest): Likewise.
9272 (llrint_towardzero_test_data): Likewise.
9273 (llrint_test_towardzero): Likewise.
9274 (llrint_downward_test_data): Likewise.
9275 (llrint_test_downward): Likewise.
9276 (llrint_upward_test_data): Likewise.
9277 (llrint_test_upward): Likewise.
9278 (rint_test_data): Merge in per-rounding-mode tests and results
9279 from rint_tonearest_test_data, rint_towardzero_test_data,
9280 rint_downward_test_data and rint_upward_test_data. Add
9281 per-rounding-mode results for tests not in those arrays.
9282 (rint_test): Use ALL_RM_TEST.
9283 (rint_tonearest_test_data): Remove.
9284 (rint_test_tonearest): Likewise.
9285 (rint_towardzero_test_data): Likewise.
9286 (rint_test_towardzero): Likewise.
9287 (rint_downward_test_data): Likewise.
9288 (rint_test_downward): Likewise.
9289 (rint_upward_test_data): Likewise.
9290 (rint_test_upward): Likewise.
9291 (main): Don't call removed functions.
9292
5006148e
RM
92932014-03-14 Roland McGrath <roland@hack.frob.com>
9294
9295 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9296 "Compiled on ..." crapola. It is anti-useful.
9297
d6fe5e58
JM
92982014-03-14 Joseph Myers <joseph@codesourcery.com>
9299
9300 * scripts/evaluate-test.sh: Handle fourth argument to determine
9301 whether test run should stop on failure.
9302 * Makeconfig (stop-on-test-failure): New variable.
9303 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9304 $(stop-on-test-failure).
9305 * Makefile (tests): Give a summary of results from testing and
9306 exit with failure status if they include an ERROR or FAIL.
9307 (xtests): Likewise.
9308 * manual/install.texi (Configuring and compiling): Mention
9309 stop-on-test-failure=y.
9310 * INSTALL: Regenerated.
9311
498a2233
RM
93122014-03-14 Roland McGrath <roland@hack.frob.com>
9313
22dbc19d
RM
9314 * scripts/versionlist.awk: New file.
9315 * Makerules [$(build-shared) = yes]
9316 (postclean-generated): Add Versions.def, not Versions.def.v and
9317 Versions.def.v.i.
9318 ($(common-objpfx)Versions.def.v.i): Target removed.
9319 ($(common-objpfx)Versions.def): New target.
9320 ($(common-objpfx)Versions.all): Depend on that rather that
9321 $(common-objpfx)Versions.def.v.
9322 * Versions.def: File removed.
9323
498a2233
RM
9324 * Makeconfig (+gccwarn): Add -Wundef.
9325 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9326 a dl-sysdep.h breaking its contract.
9327 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9328 * include/stackinfo.h: New file.
9329 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9330 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9331 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9332 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9333 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9334 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9335 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9336 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9337 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9338 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9339 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9340 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9341 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9342 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9343 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9344
c7de5025
AZ
93452014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9346
9347 [BZ #16707]
9348 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9349 implementation.
9350 * math/libm-test.inc (round_test_data): Add more tests.
9351
98fb27a3
AZ
9352 [BZ #16706]
9353 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9354 implementation.
9355 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9356
374f7f61
AZ
9357 [BZ #16701]
9358 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9359 implementation.
9360 * math/libm-test.inc (ceil_test_data): Add more tests.
9361
4655c291
AZ
9362 * math/libm-test.inc (trunc_test_data): Add more tests related to
9363 BZ#16414.
9364
d7329d4b
RM
93652014-03-14 Roland McGrath <roland@hack.frob.com>
9366
9367 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9368 with #if rather than #ifdef.
9369 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9370
aa4de9ce
L
93712014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9372
9373 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9374 first. Disable AVX-512 GCC support if assembler doesn't support
9375 it.
9376 * sysdeps/x86_64/configure: Regenerated.
9377
2e03fae7
CD
93782014-03-13 Carlos O'Donell <carlos@redhat.com>
9379
9380 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9381 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9382 (__old_pthread_attr_setstack): Likewise.
9383 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9384 [!_STACK_GROWS_DOWN]: Likewise.
9385
43ca83ec
MF
93862014-03-13 Mike Frysinger <vapier@gentoo.org>
9387
9388 * config.make.in (have-bash2): Delete.
9389 * configure.ac (libc_cv_have_bash2): Delete.
9390 * configure: Regenerate.
9391 * elf/Makefile (common-ldd-rewrite): Rename to ...
9392 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9393 (sh-ldd-rewrite): Delete.
9394 (bash-ldd-rewrite): Delete.
9395 (have-bash2): Delete checks.
57f41c40
AS
9396 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9397 ldd-rewrite.
c66e48b4
MF
9398
9399 * config.make.in (have-ksh): Delete.
9400 (KSH): Delete.
9401 * configure.ac (libc_cv_have_ksh): Delete.
9402 * configure: Regenerate.
9403
b93834ef
MF
9404 * elf/Makefile: Delete $(have-ksh) check.
9405 ($(objpfx)sotruss): Change KSH to BASH.
9406 * elf/sotruss.ksh: Rename to ...
9407 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9408 function style to match POSIX. Drop ksh vim mode setting.
9409
f3a4632a
MF
9410 * manual/time.texi (Specifying the Time Zone with TZ): Change
9411 Tuesday to Thursday.
9412
5896c8bd
MF
9413 * debug/tst-longjmp_chk2.c: Update header comment.
9414 (stackoverflow_handler): Add comment. Call assert on pass value.
9415
2d63a517
IZ
94162014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9417
7e54fd04 9418 [BZ #16194]
2d63a517
IZ
9419 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9420 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9421 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9422 (La_x86_64_vector): Add zmm.
9423 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9424 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9425 ($(objpfx)tst-audit10): New target.
9426 ($(objpfx)tst-audit10.out): Likewise.
9427 (tst-audit10-ENV): New.
9428 (AVX512-CFLAGS): Likewise.
9429 (CFLAGS-tst-audit10.c): Likewise.
9430 (CFLAGS-tst-auditmod10a.c): Likewise.
9431 (CFLAGS-tst-auditmod10b.c): Likewise.
9432 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9433 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9434 * sysdeps/x86_64/configure: Regenerated.
9435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9436 AVX-512 zmm register support.
9437 (_dl_x86_64_save_sse): Likewise.
9438 (_dl_x86_64_restore_sse): Likewise.
9439 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9440 size vector registers.
9441 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9442 (ZMM_SIZE): Likewise.
9443 * sysdeps/x86_64/tst-audit10.c: New file.
9444 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9445 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9446
44c4e5d5
RM
94472014-03-13 Roland McGrath <roland@hack.frob.com>
9448
9449 * configure.ac (HAVE_EHDR_START): New check.
9450 * configure: Regenerated.
9451 * config.h.in (HAVE_EHDR_START): New #undef.
9452 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9453 assuming the lowest-addressed segment maps the start of the file.
9454
acd6e389
JM
94552014-03-13 Joseph Myers <joseph@codesourcery.com>
9456
9457 * INSTALL: Regenerated.
9458
6f918f36
WN
94592014-03-13 Will Newton <will.newton@linaro.org>
9460
9461 * manual/setjmp.texi (System V contexts): Improve
9462 clarity and grammar of documentation.
9463
798212a0
PP
94642014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9465
9466 [BZ #16381]
798212a0 9467 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 9468 (tests-pie): Add tst-pie2.
798212a0
PP
9469 * elf/tst-pie2.c: New file.
9470 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9471 for ET_EXEC.
9472 * elf/rtld.c (map_doit): Load executable as lt_executable.
9473 (dl_main): Likewise.
9474
abe6d90c
JM
94752014-03-12 Joseph Myers <joseph@codesourcery.com>
9476
9477 [BZ #16642]
9478 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9479 (__ASSUME_PSELECT): Undefine.
9480
dd3946c6
AZ
94812014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9482
9483 [BZ #16689]
9484 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9485 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9486 static build.
9487 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9488 selector for static builds.
9489
c44496df
SP
94902014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9491
9492 [BZ #16695]
9493 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9494 key in the buffer.
9495
27c7220a
AZ
94962014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9497
57f41c40
AS
9498 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9499 IFUNC selector for static builds.
27c7220a 9500
600fa361
JM
95012014-03-11 Joseph Myers <joseph@codesourcery.com>
9502
76c96cf7
JM
9503 * sysdeps/mips/math_private.h [__mips_hard_float]
9504 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9505 libc_feresetround_mips_ctx.
9506 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9507 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9508 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9509
600fa361
JM
9510 [BZ #16677]
9511 * math/s_nextafter.c (__nextafter): Do not return value from
9512 overflowing computation.
9513 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9514 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9515 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9516 Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9518 Likewise.
9519 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9520 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9521
d7706c32
RM
95222014-03-11 Roland McGrath <roland@hack.frob.com>
9523
9524 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9525 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9526 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9527 the new mov targetting sp.
9528
4facea47
AZ
95292014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9530
9531 [BZ #16683]
9532 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9533 Define it for static builds as well.
9534 (NO_BZERO_IMPL): Likewise.
9535
e65caf1f
VR
95362014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9537
9538 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9539 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9540 multiarch strspn for PPC64.
9541 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9542 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9544 (__libc_ifunc_impl_list): Likewise.
9545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9546 multiarch optimizations
9547 * string/strspn.c (strspn): Using macro to redefine symbol name.
9548
ba9cc071
AZ
95492014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9550 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9551
9552 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9553 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9554 multiarch strncat for PPC64.
9555 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9556 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9558 (__libc_ifunc_impl_list): Likewise.
9559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9560 multiarch optimizations
9561
8b4ff974
SP
95622014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9563
9564 [BZ #16639]
9565 * nscd/nscd.service: Make service type forking.
9566
54b46a4b
AZ
95672014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9568
9569 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9570 sign in non default rounding modes.
9571 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9572
e9996ef7
JM
95732014-03-08 Joseph Myers <joseph@codesourcery.com>
9574
9575 * math/libm-test.inc (ALL_RM_TEST): New macro.
9576 (ceil_test): Use ALL_RM_TEST.
9577 (cimag_test): Likewise.
9578 (conj_test): Likewise.
9579 (copysign_test): Likewise.
9580 (cproj_test): Likewise.
9581 (creal_test): Likewise.
9582 (fabs_test): Likewise.
9583 (floor_test): Likewise.
9584 (fmax_test): Likewise.
9585 (fmin_test): Likewise.
9586 (fmod_test): Likewise.
9587 (fpclassify_test): Likewise.
9588 (frexp_test): Likewise.
9589 (ilogb_test): Likewise.
9590 (isfinite_test): Likewise.
9591 (finite_test): Likewise.
9592 (isgreater_test): Likewise.
9593 (isgreaterequal_test): Likewise.
9594 (isinf_test): Likewise.
9595 (isless_test): Likewise.
9596 (islessequal_test): Likewise.
9597 (islessgreater_test): Likewise.
9598 (isnan_test): Likewise.
9599 (isnormal_test): Likewise.
9600 (issignaling_test): Likewise.
9601 (isunordered_test): Likewise.
9602 (logb_test): Likewise.
9603 (logb_downward_test_data): Remove.
9604 (logb_test_downward): Likewise.
9605 (lround_test): Use ALL_RM_TEST.
9606 (llround_test): Likewise.
9607 (modf_test): Likewise.
9608 (nexttoward_test): Likewise.
9609 (remainder_test): Likewise.
9610 (drem_test): Likewise.
9611 (remainder_tonearest_test_data): Likewise.
9612 (remainder_test_tonearest): Likewise.
9613 (drem_test_tonearest): Likewise.
9614 (remainder_towardzero_test_data): Likewise.
9615 (remainder_test_towardzero): Likewise.
9616 (drem_test_towardzero): Likewise.
9617 (remainder_downward_test_data): Likewise.
9618 (remainder_test_downward): Likewise.
9619 (drem_test_downward): Likewise.
9620 (remainder_upward_test_data): Likewise.
9621 (remainder_test_upward): Likewise.
9622 (drem_test_upward): Likewise.
9623 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9624 (round_test): Use ALL_RM_TEST.
9625 (signbit_test): Likewise.
9626 (trunc_test): Likewise.
9627 (significand_test): Likewise.
9628 (main): Don't call removed functions.
9629
bc61d27c
JM
96302014-03-07 Joseph Myers <joseph@codesourcery.com>
9631
5c780849
JM
9632 [BZ #16674]
9633 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9634 || __USE_XOPEN2K8].
9635 (ILL_ILLOPN): Likewise.
9636 (ILL_ILLADR): Likewise.
9637 (ILL_ILLTRP): Likewise.
9638 (ILL_PRVOPC): Likewise.
9639 (ILL_PRVREG): Likewise.
9640 (ILL_COPROC): Likewise.
9641 (ILL_BADSTK): Likewise.
9642 (FPE_INTDIV): Likewise.
9643 (FPE_INTOVF): Likewise.
9644 (FPE_FLTDIV): Likewise.
9645 (FPE_FLTOVF): Likewise.
9646 (FPE_FLTUND): Likewise.
9647 (FPE_FLTRES): Likewise.
9648 (FPE_FLTINV): Likewise.
9649 (FPE_FLTSUB): Likewise.
9650 (SEGV_MAPERR): Likewise.
9651 (SEGV_ACCERR): Likewise.
9652 (BUS_ADRALN): Likewise.
9653 (BUS_ADRERR): Likewise.
9654 (BUS_OBJERR): Likewise.
9655 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9656 (TRAP_TRACE): Likewise.
9657 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9658 __USE_XOPEN2K8].
9659 (CLD_KILLED): Likewise.
9660 (CLD_DUMPED): Likewise.
9661 (CLD_TRAPPED): Likewise.
9662 (CLD_STOPPED): Likewise.
9663 (CLD_CONTINUED): Likewise.
9664 (POLL_IN): Likewise.
9665 (POLL_OUT): Likewise.
9666 (POLL_MSG): Likewise.
9667 (POLL_ERR): Likewise.
9668 (POLL_PRI): Likewise.
9669 (POLL_HUP): Likewise.
9670 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9671 Likewise.
9672 (ILL_ILLOPN): Likewise.
9673 (ILL_ILLADR): Likewise.
9674 (ILL_ILLTRP): Likewise.
9675 (ILL_PRVOPC): Likewise.
9676 (ILL_PRVREG): Likewise.
9677 (ILL_COPROC): Likewise.
9678 (ILL_BADSTK): Likewise.
9679 (FPE_INTDIV): Likewise.
9680 (FPE_INTOVF): Likewise.
9681 (FPE_FLTDIV): Likewise.
9682 (FPE_FLTOVF): Likewise.
9683 (FPE_FLTUND): Likewise.
9684 (FPE_FLTRES): Likewise.
9685 (FPE_FLTINV): Likewise.
9686 (FPE_FLTSUB): Likewise.
9687 (SEGV_MAPERR): Likewise.
9688 (SEGV_ACCERR): Likewise.
9689 (BUS_ADRALN): Likewise.
9690 (BUS_ADRERR): Likewise.
9691 (BUS_OBJERR): Likewise.
9692 (BUS_MCEERR_AR): Likewise.
9693 (BUS_MCEERR_AO): Likewise.
9694 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9695 (TRAP_TRACE): Likewise.
9696 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9697 __USE_XOPEN2K8].
9698 (CLD_KILLED): Likewise.
9699 (CLD_DUMPED): Likewise.
9700 (CLD_TRAPPED): Likewise.
9701 (CLD_STOPPED): Likewise.
9702 (CLD_CONTINUED): Likewise.
9703 (POLL_IN): Likewise.
9704 (POLL_OUT): Likewise.
9705 (POLL_MSG): Likewise.
9706 (POLL_ERR): Likewise.
9707 (POLL_PRI): Likewise.
9708 (POLL_HUP): Likewise.
9709 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9710 (ILL_ILLOPN): Likewise.
9711 (ILL_ILLADR): Likewise.
9712 (ILL_ILLTRP): Likewise.
9713 (ILL_PRVOPC): Likewise.
9714 (ILL_PRVREG): Likewise.
9715 (ILL_COPROC): Likewise.
9716 (ILL_BADSTK): Likewise.
9717 (FPE_INTDIV): Likewise.
9718 (FPE_INTOVF): Likewise.
9719 (FPE_FLTDIV): Likewise.
9720 (FPE_FLTOVF): Likewise.
9721 (FPE_FLTUND): Likewise.
9722 (FPE_FLTRES): Likewise.
9723 (FPE_FLTINV): Likewise.
9724 (FPE_FLTSUB): Likewise.
9725 (SEGV_MAPERR): Likewise.
9726 (SEGV_ACCERR): Likewise.
9727 (BUS_ADRALN): Likewise.
9728 (BUS_ADRERR): Likewise.
9729 (BUS_OBJERR): Likewise.
9730 (BUS_MCEERR_AR): Likewise.
9731 (BUS_MCEERR_AO): Likewise.
9732 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9733 (TRAP_TRACE): Likewise.
9734 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9735 __USE_XOPEN2K8].
9736 (CLD_KILLED): Likewise.
9737 (CLD_DUMPED): Likewise.
9738 (CLD_TRAPPED): Likewise.
9739 (CLD_STOPPED): Likewise.
9740 (CLD_CONTINUED): Likewise.
9741 (POLL_IN): Likewise.
9742 (POLL_OUT): Likewise.
9743 (POLL_MSG): Likewise.
9744 (POLL_ERR): Likewise.
9745 (POLL_PRI): Likewise.
9746 (POLL_HUP): Likewise.
9747 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9748 Likewise.
9749 (ILL_ILLOPN): Likewise.
9750 (ILL_ILLADR): Likewise.
9751 (ILL_ILLTRP): Likewise.
9752 (ILL_PRVOPC): Likewise.
9753 (ILL_PRVREG): Likewise.
9754 (ILL_COPROC): Likewise.
9755 (ILL_BADSTK): Likewise.
9756 (ILL_BADIADDR): Likewise.
9757 (ILL_BREAK): Likewise.
9758 (FPE_INTDIV): Likewise.
9759 (FPE_INTOVF): Likewise.
9760 (FPE_FLTDIV): Likewise.
9761 (FPE_FLTOVF): Likewise.
9762 (FPE_FLTUND): Likewise.
9763 (FPE_FLTRES): Likewise.
9764 (FPE_FLTINV): Likewise.
9765 (FPE_FLTSUB): Likewise.
9766 (FPE_DECOVF): Likewise.
9767 (FPE_DECDIV): Likewise.
9768 (FPE_DECERR): Likewise.
9769 (FPE_INVASC): Likewise.
9770 (FPE_INVDEC): Likewise.
9771 (SEGV_MAPERR): Likewise.
9772 (SEGV_ACCERR): Likewise.
9773 (SEGV_PSTKOVF): Likewise.
9774 (BUS_ADRALN): Likewise.
9775 (BUS_ADRERR): Likewise.
9776 (BUS_OBJERR): Likewise.
9777 (BUS_MCEERR_AR): Likewise.
9778 (BUS_MCEERR_AO): Likewise.
9779 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9780 (TRAP_TRACE): Likewise.
9781 (TRAP_BRANCH): Likewise.
9782 (TRAP_HWBKPT): Likewise.
9783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9784 __USE_XOPEN2K8].
9785 (CLD_KILLED): Likewise.
9786 (CLD_DUMPED): Likewise.
9787 (CLD_TRAPPED): Likewise.
9788 (CLD_STOPPED): Likewise.
9789 (CLD_CONTINUED): Likewise.
9790 (POLL_IN): Likewise.
9791 (POLL_OUT): Likewise.
9792 (POLL_MSG): Likewise.
9793 (POLL_ERR): Likewise.
9794 (POLL_PRI): Likewise.
9795 (POLL_HUP): Likewise.
9796 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9797 (ILL_ILLOPN): Likewise.
9798 (ILL_ILLADR): Likewise.
9799 (ILL_ILLTRP): Likewise.
9800 (ILL_PRVOPC): Likewise.
9801 (ILL_PRVREG): Likewise.
9802 (ILL_COPROC): Likewise.
9803 (ILL_BADSTK): Likewise.
9804 (FPE_INTDIV): Likewise.
9805 (FPE_INTOVF): Likewise.
9806 (FPE_FLTDIV): Likewise.
9807 (FPE_FLTOVF): Likewise.
9808 (FPE_FLTUND): Likewise.
9809 (FPE_FLTRES): Likewise.
9810 (FPE_FLTINV): Likewise.
9811 (FPE_FLTSUB): Likewise.
9812 (SEGV_MAPERR): Likewise.
9813 (SEGV_ACCERR): Likewise.
9814 (BUS_ADRALN): Likewise.
9815 (BUS_ADRERR): Likewise.
9816 (BUS_OBJERR): Likewise.
9817 (BUS_MCEERR_AR): Likewise.
9818 (BUS_MCEERR_AO): Likewise.
9819 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9820 (TRAP_TRACE): Likewise.
9821 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9822 __USE_XOPEN2K8].
9823 (CLD_KILLED): Likewise.
9824 (CLD_DUMPED): Likewise.
9825 (CLD_TRAPPED): Likewise.
9826 (CLD_STOPPED): Likewise.
9827 (CLD_CONTINUED): Likewise.
9828 (POLL_IN): Likewise.
9829 (POLL_OUT): Likewise.
9830 (POLL_MSG): Likewise.
9831 (POLL_ERR): Likewise.
9832 (POLL_PRI): Likewise.
9833 (POLL_HUP): Likewise.
9834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9835 (ILL_ILLOPN): Likewise.
9836 (ILL_ILLADR): Likewise.
9837 (ILL_ILLTRP): Likewise.
9838 (ILL_PRVOPC): Likewise.
9839 (ILL_PRVREG): Likewise.
9840 (ILL_COPROC): Likewise.
9841 (ILL_BADSTK): Likewise.
9842 (FPE_INTDIV): Likewise.
9843 (FPE_INTOVF): Likewise.
9844 (FPE_FLTDIV): Likewise.
9845 (FPE_FLTOVF): Likewise.
9846 (FPE_FLTUND): Likewise.
9847 (FPE_FLTRES): Likewise.
9848 (FPE_FLTINV): Likewise.
9849 (FPE_FLTSUB): Likewise.
9850 (SEGV_MAPERR): Likewise.
9851 (SEGV_ACCERR): Likewise.
9852 (BUS_ADRALN): Likewise.
9853 (BUS_ADRERR): Likewise.
9854 (BUS_OBJERR): Likewise.
9855 (BUS_MCEERR_AR): Likewise.
9856 (BUS_MCEERR_AO): Likewise.
9857 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9858 (TRAP_TRACE): Likewise.
9859 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9860 __USE_XOPEN2K8].
9861 (CLD_KILLED): Likewise.
9862 (CLD_DUMPED): Likewise.
9863 (CLD_TRAPPED): Likewise.
9864 (CLD_STOPPED): Likewise.
9865 (CLD_CONTINUED): Likewise.
9866 (POLL_IN): Likewise.
9867 (POLL_OUT): Likewise.
9868 (POLL_MSG): Likewise.
9869 (POLL_ERR): Likewise.
9870 (POLL_PRI): Likewise.
9871 (POLL_HUP): Likewise.
9872 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9873 (ILL_ILLOPN): Likewise.
9874 (ILL_ILLADR): Likewise.
9875 (ILL_ILLTRP): Likewise.
9876 (ILL_PRVOPC): Likewise.
9877 (ILL_PRVREG): Likewise.
9878 (ILL_COPROC): Likewise.
9879 (ILL_BADSTK): Likewise.
9880 (FPE_INTDIV): Likewise.
9881 (FPE_INTOVF): Likewise.
9882 (FPE_FLTDIV): Likewise.
9883 (FPE_FLTOVF): Likewise.
9884 (FPE_FLTUND): Likewise.
9885 (FPE_FLTRES): Likewise.
9886 (FPE_FLTINV): Likewise.
9887 (FPE_FLTSUB): Likewise.
9888 (SEGV_MAPERR): Likewise.
9889 (SEGV_ACCERR): Likewise.
9890 (BUS_ADRALN): Likewise.
9891 (BUS_ADRERR): Likewise.
9892 (BUS_OBJERR): Likewise.
9893 (BUS_MCEERR_AR): Likewise.
9894 (BUS_MCEERR_AO): Likewise.
9895 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9896 (TRAP_TRACE): Likewise.
9897 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9898 __USE_XOPEN2K8].
9899 (CLD_KILLED): Likewise.
9900 (CLD_DUMPED): Likewise.
9901 (CLD_TRAPPED): Likewise.
9902 (CLD_STOPPED): Likewise.
9903 (CLD_CONTINUED): Likewise.
9904 (POLL_IN): Likewise.
9905 (POLL_OUT): Likewise.
9906 (POLL_MSG): Likewise.
9907 (POLL_ERR): Likewise.
9908 (POLL_PRI): Likewise.
9909 (POLL_HUP): Likewise.
9910 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9911 (ILL_ILLOPN): Likewise.
9912 (ILL_ILLADR): Likewise.
9913 (ILL_ILLTRP): Likewise.
9914 (ILL_PRVOPC): Likewise.
9915 (ILL_PRVREG): Likewise.
9916 (ILL_COPROC): Likewise.
9917 (ILL_BADSTK): Likewise.
9918 (ILL_DBLFLT): Likewise.
9919 (ILL_HARDWALL): Likewise.
9920 (FPE_INTDIV): Likewise.
9921 (FPE_INTOVF): Likewise.
9922 (FPE_FLTDIV): Likewise.
9923 (FPE_FLTOVF): Likewise.
9924 (FPE_FLTUND): Likewise.
9925 (FPE_FLTRES): Likewise.
9926 (FPE_FLTINV): Likewise.
9927 (FPE_FLTSUB): Likewise.
9928 (SEGV_MAPERR): Likewise.
9929 (SEGV_ACCERR): Likewise.
9930 (BUS_ADRALN): Likewise.
9931 (BUS_ADRERR): Likewise.
9932 (BUS_OBJERR): Likewise.
9933 (BUS_MCEERR_AR): Likewise.
9934 (BUS_MCEERR_AO): Likewise.
9935 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9936 (TRAP_TRACE): Likewise.
9937 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9938 __USE_XOPEN2K8].
9939 (CLD_KILLED): Likewise.
9940 (CLD_DUMPED): Likewise.
9941 (CLD_TRAPPED): Likewise.
9942 (CLD_STOPPED): Likewise.
9943 (CLD_CONTINUED): Likewise.
9944 (POLL_IN): Likewise.
9945 (POLL_OUT): Likewise.
9946 (POLL_MSG): Likewise.
9947 (POLL_ERR): Likewise.
9948 (POLL_PRI): Likewise.
9949 (POLL_HUP): Likewise.
9950 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9951 (ILL_ILLOPN): Likewise.
9952 (ILL_ILLADR): Likewise.
9953 (ILL_ILLTRP): Likewise.
9954 (ILL_PRVOPC): Likewise.
9955 (ILL_PRVREG): Likewise.
9956 (ILL_COPROC): Likewise.
9957 (ILL_BADSTK): Likewise.
9958 (FPE_INTDIV): Likewise.
9959 (FPE_INTOVF): Likewise.
9960 (FPE_FLTDIV): Likewise.
9961 (FPE_FLTOVF): Likewise.
9962 (FPE_FLTUND): Likewise.
9963 (FPE_FLTRES): Likewise.
9964 (FPE_FLTINV): Likewise.
9965 (FPE_FLTSUB): Likewise.
9966 (SEGV_MAPERR): Likewise.
9967 (SEGV_ACCERR): Likewise.
9968 (BUS_ADRALN): Likewise.
9969 (BUS_ADRERR): Likewise.
9970 (BUS_OBJERR): Likewise.
9971 (BUS_MCEERR_AR): Likewise.
9972 (BUS_MCEERR_AO): Likewise.
9973 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9974 (TRAP_TRACE): Likewise.
9975 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9976 __USE_XOPEN2K8].
9977 (CLD_KILLED): Likewise.
9978 (CLD_DUMPED): Likewise.
9979 (CLD_TRAPPED): Likewise.
9980 (CLD_STOPPED): Likewise.
9981 (CLD_CONTINUED): Likewise.
9982 (POLL_IN): Likewise.
9983 (POLL_OUT): Likewise.
9984 (POLL_MSG): Likewise.
9985 (POLL_ERR): Likewise.
9986 (POLL_PRI): Likewise.
9987 (POLL_HUP): Likewise.
9988 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9989 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9990
bc61d27c
JM
9991 [BZ #16670]
9992 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9993 before #include of <time.h>.
9994 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9995 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9996 (test-xfail-UNIX98/sched.h/conform): Likewise.
9997
302949e2
MS
99982014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9999
10000 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10001 error absence of trapping exception support.
10002 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10003
a00f522a
JM
100042014-03-07 Joseph Myers <joseph@codesourcery.com>
10005
6f99f280
JM
10006 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10007 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10008 * timezone/Makefile (testdata): Move definition above include of
10009 Rules.
10010 (test-zones): New variable.
10011 (tests-special): Add zone files.
10012 (build-testdata): Use $(evaluate-test).
10013
0b20a9e8
JM
10014 * elf/Makefile (tests-special): Rename tests to end with .out.
10015 ($(objpfx)noload-mem): Likewise.
10016 ($(objpfx)tst-leaks1-mem): Likewise.
10017 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10018 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10019 $(objpfx)test-iconvconfig.out.
10020 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10021 set -e inside subshell and redirect output to file.
10022 * iconvdata/Makefile (generated): Rename tests to end with .out.
10023 Correct type.
10024 (tests-special): Rename tests to end with .out.
10025 ($(objpfx)mtrace-tst-loading): Likewise.
10026 * intl/Makefile (generated): Likewise.
10027 (tests-special): Likewise.
10028 ($(objpfx)mtrace-tst-gettext): Likewise.
10029 * misc/Makefile (generated): Likewise.
10030 (tests-special): Likewise.
10031 ($(objpfx)tst-error1-mem): Likewise.
10032 * nptl/Makefile (tests-special): Likewise.
10033 ($(objpfx)tst-stack3-mem): Likewise.
10034 (generated): Likewise.
10035 * posix/Makefile (generated): Likewise.
10036 (tests-special): Likewise.
10037 (xtests-special): Likewise.
10038 ($(objpfx)tst-fnmatch-mem): Likewise.
10039 ($(objpfx)bug-regex2-mem): Likewise.
10040 ($(objpfx)bug-regex14-mem): Likewise.
10041 ($(objpfx)bug-regex21-mem): Likewise.
10042 ($(objpfx)bug-regex31-mem): Likewise.
10043 ($(objpfx)tst-vfork3-mem): Likewise.
10044 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10045 ($(objpfx)tst-pcre-mem): Likewise.
10046 ($(objpfx)tst-boost-mem): Likewise.
10047 ($(objpfx)bug-ga2-mem): Likewise.
10048 ($(objpfx)bug-glob2-mem): Likewise.
10049 * resolv/Makefile (generate): Likewise.
10050 (tests-special): Likewise.
10051 (xtests-special): Likewise.
10052 (generated): Likewise.
10053 ($(objpfx)mtrace-tst-leaks): Likewise.
10054 ($(objpfx)mtrace-tst-leaks2): Likewise.
10055
265d52ab
JM
10056 * scripts/merge-test-results.sh: New file.
10057 * Makefile (tests-special-notdir): New variable.
10058 (tests): Run merge-test-results.sh.
10059 (xtests): Likewise.
10060 * Rules (tests-special-notdir): New variable.
10061 (xtests-special-notdir): Likewise.
10062 (tests): Run merge-test-results.sh
10063 (xtests): Likewise.
10064
54ee292d
JM
10065 * Makeconfig (test-xfail-name): New variable.
10066 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10067 compute variable name for expected failures.
10068 * conform/Makefile (conformtest-headers-data): New variable.
10069 (conformtest-standards): Likewise.
10070 (conformtest-headers-ISO): Likewise.
10071 (conformtest-headers-ISO99): Likewise.
10072 (conformtest-headers-ISO11): Likewise.
10073 (conformtest-headers-POSIX): Likewise.
10074 (conformtest-headers-XPG3): Likewise.
10075 (conformtest-headers-XPG4): Likewise.
10076 (conformtest-headers-UNIX98): Likewise.
10077 (conformtest-headers-XOPEN2K): Likewise.
10078 (conformtest-headers-POSIX2008): Likewise.
10079 (conformtest-headers-XOPEN2K8): Likewise.
10080 (conformtest-header-list-base): Likewise.
10081 (conformtest-header-list-tests): Likewise.
10082 (conformtest-header-base): Likewise.
10083 (conformtest-header-tests): Likewise.
10084 (tests-special): Add $(conformtest-header-list-tests). If
10085 [$(fast-check) && !$(cross-compiling)], add
10086 $(conformtest-header-tests) instead of
10087 $(objpfx)run-conformtest.out.
10088 (generated): Add $(conformtest-header-list-base). If
10089 [$(fast-check) && !$(cross-compiling)], add
10090 $(conformtest-header-base). Remove previous setting.
10091 ($(conformtest-header-list-tests)): New target.
10092 (test-xfail-run-conformtest): Remove variable.
10093 ($(objpfx)run-conformtest.out): Remove target.
10094 (test-xfail-ISO11/complex.h/conform): New variable.
10095 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10096 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10097 (test-xfail-XPG3/varargs.h/conform): Likewise.
10098 (test-xfail-XPG4/varargs.h/conform): Likewise.
10099 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10100 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10101 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10102 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10103 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10104 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10105 (test-xfail-XPG3/ftw.h/conform): Likewise.
10106 (test-xfail-XPG3/grp.h/conform): Likewise.
10107 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10108 (test-xfail-XPG3/limits.h/conform): Likewise.
10109 (test-xfail-XPG3/pwd.h/conform): Likewise.
10110 (test-xfail-XPG3/search.h/conform): Likewise.
10111 (test-xfail-XPG3/signal.h/conform): Likewise.
10112 (test-xfail-XPG3/stdio.h/conform): Likewise.
10113 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10114 (test-xfail-XPG3/string.h/conform): Likewise.
10115 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10116 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10117 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10118 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10119 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10120 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10121 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10122 (test-xfail-XPG3/termios.h/conform): Likewise.
10123 (test-xfail-XPG3/time.h/conform): Likewise.
10124 (test-xfail-XPG3/unistd.h/conform): Likewise.
10125 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10126 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10127 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10128 (test-xfail-XPG4/netdb.h/conform): Likewise.
10129 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10130 (test-xfail-XPG4/signal.h/conform): Likewise.
10131 (test-xfail-XPG4/stdio.h/conform): Likewise.
10132 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10133 (test-xfail-XPG4/stropts.h/conform): Likewise.
10134 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10135 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10136 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10137 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10138 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10139 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10140 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10141 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10142 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10143 (test-xfail-XPG4/termios.h/conform): Likewise.
10144 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10145 (test-xfail-XPG4/unistd.h/conform): Likewise.
10146 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10147 (test-xfail-POSIX/sched.h/conform): Likewise.
10148 (test-xfail-POSIX/signal.h/conform): Likewise.
10149 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10150 (test-xfail-POSIX/tar.h/conform): Likewise.
10151 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10152 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10153 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10154 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10155 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10156 (test-xfail-UNIX98/sched.h/conform): Likewise.
10157 (test-xfail-UNIX98/signal.h/conform): Likewise.
10158 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10159 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10160 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10161 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10162 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10163 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10164 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10165 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10166 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10167 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10168 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10169 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10170 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10171 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10172 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10173 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10174 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10175 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10176 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10177 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10178 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10179 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10180 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10181 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10182 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10183 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10184 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10185 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10186 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10187 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10188 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10189 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10190 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10191 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10192 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10193 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10194 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10195 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10196 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10197 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10198 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10199 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10200 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10201 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10202 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10203 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10204 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10205 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10206 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10207 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10208 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10209 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10210 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10211 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10212 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10213 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10214 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10215 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10216 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10217 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10218 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10219 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10220 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10221 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10222 (conformtest-cc-flags): Likewise.
10223 ($(conformtest-header-tests): New target.
10224 * conform/check-header-lists.sh: New file.
10225 * conform/run-conformtest.sh: Remove.
10226
a00f522a
JM
10227 * conform/conformtest.pl: Allow ' and \ in values given for
10228 constants.
10229 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10230 inclusion.
10231 [POSIX] (sys/types.h): Likewise.
10232 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10233 inclusion.
10234 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10235 inclusion.
10236 * conform/data/signal.h-data (SIGIO): Remove expectation.
10237 [XPG3] (SIGBUS): Do not expect.
10238 [POSIX || XPG3] (SIGPOLL): Likewise.
10239 [POSIX || XPG3] (SIGPROF): Likewise.
10240 [POSIX || XPG3] (SIGSYS): Likewise.
10241 [XPG3] (SIGTRAP): Likewise.
10242 [POSIX || XPG3] (SIGURG): Likewise.
10243 [POSIX || XPG3] (SIGVTALRM): Likewise.
10244 [POSIX || XPG3] (SIGXCPU): Likewise.
10245 [POSIX || XPG3] (SIGXFSZ): Likewise.
10246 [POSIX] (SA_SIGINFO): Expect.
10247 [XPG3] (siginfo_t): Do not expect type or contents.
10248 [POSIX] (si_pid): Do not expect element.
10249 [POSIX] (si_uid): Likewise.
10250 [POSIX] (si_addr): Likewise.
10251 [POSIX] (si_status): Likewise.
10252 [POSIX] (si_band): Likewise.
10253 [XPG4] (si_value): Likewise.
10254 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10255 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10256 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10257 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10258 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10259 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10260 [POSIX || XPG3] (ILL_COPROC): Likewise.
10261 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10262 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10263 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10264 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10265 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10266 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10267 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10268 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10269 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10270 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10271 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10272 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10273 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10274 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10275 [POSIX || XPG3] (CLD_EXITED): Likewise.
10276 [POSIX || XPG3] (CLD_KILLED): Likewise.
10277 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10278 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10279 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10280 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10281 [POSIX || XPG3] (POLL_IN): Likewise.
10282 [POSIX || XPG3] (POLL_OUT): Likewise.
10283 [POSIX || XPG3] (POLL_MSG): Likewise.
10284 [POSIX || XPG3] (POLL_ERR): Likewise.
10285 [POSIX || XPG3] (POLL_PRI): Likewise.
10286 [POSIX || XPG3] (POLL_HUP): Likewise.
10287 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10288 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10289 (SIG*): Do not allow.
10290 [XPG3] (si_*): Likewise.
10291 [XPG3] (SI_*): Likewise.
10292 [XPG3 || XPG4] (sigev_*): Likewise.
10293 [XPG3 || XPG4] (SIGEV_*): Likewise.
10294 [XPG3 || XPG4] (sival_*): Likewise.
10295 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10296 [POSIX || XPG3] (BUS_*): Likewise.
10297 [POSIX || XPG3] (CLD_*): Likewise.
10298 [POSIX || XPG3] (FPE_*): Likewise.
10299 [POSIX || XPG3] (ILL_*): Likewise.
10300 [POSIX || XPG3] (POLL_*): Likewise.
10301 [POSIX || XPG3] (SEGV_*): Likewise.
10302 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10303 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10304 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10305 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10306 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10307 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10308 Specify type and value.
10309 (TVERSLEN): Likewise.
10310 (REGTYPE): Likewise.
10311 (AREGTYPE): Likewise.
10312 (LNKTYPE): Likewise.
10313 (SYMTYPE): Likewise.
10314 (CHRTYPE): Likewise.
10315 (BLKTYPE): Likewise.
10316 (DIRTYPE): Likewise.
10317 (FIFOTYPE): Likewise.
10318 (CONTTYPE): Likewise.
10319 (TSUID): Likewise.
10320 (TSGID): Likewise.
10321 (TSVTX): Likewise.
10322 (TUREAD): Likewise.
10323 (TUWRITE): Likewise.
10324 (TUEXEC): Likewise.
10325 (TGREAD): Likewise.
10326 (TGWRITE): Likewise.
10327 (TGEXEC): Likewise.
10328 (TOREAD): Likewise.
10329 (TOWRITE): Likewise.
10330 (TOEXEC): Likewise.
10331 [POSIX] (TSVTX): Expect constant.
10332
aa97dee1
JM
103332014-03-06 Joseph Myers <joseph@codesourcery.com>
10334
f214606a
JM
10335 * Makefile (tests): Change dependencies to ....
10336 (tests-special): ... additions to this variable.
10337 (tests): Depend on $(tests-special).
10338 * Makerules (check-abi-list): New variable.
10339 (check-abi): Depend on $(check-abi-list).
10340 [$(subdir) = elf] (tests-special): Add
10341 $(objpfx)check-abi-libc.out.
10342 [$(build-shared) = yes && subdir] (tests-special): Add
10343 $(check-abi-list).
10344 [$(build-shared) = yes && subdir] (tests): Do not depend on
10345 check-abi.
10346 * Rules (tests): Depend on $(tests-special).
10347 (xtests): Depend on $(xtests-special).
10348 * catgets/Makefile (tests): Change dependencies to ....
10349 (tests-special): ... additions to this variable.
10350 * conform/Makefile (tests): Change dependencies to ....
10351 (tests-special): ... additions to this variable.
10352 * elf/Makefile (tests): Change dependencies to ....
10353 (tests-special): ... additions to this variable.
10354 * grp/Makefile (tests): Change dependencies to ....
10355 (tests-special): ... additions to this variable.
10356 * iconv/Makefile (xtests): Change dependencies to ....
10357 (xtests-special): ... additions to this variable.
10358 * iconvdata/Makefile (tests): Change dependencies to ....
10359 (tests-special): ... additions to this variable.
10360 * intl/Makefile (tests): Change dependencies to ....
10361 (tests-special): ... additions to this variable. Also add
10362 $(objpfx)tst-gettext.out.
10363 * io/Makefile (tests): Change dependencies to ....
10364 (tests-special): ... additions to this variable.
10365 * libio/Makefile (tests): Change dependencies to ....
10366 (tests-special): ... additions to this variable.
10367 * malloc/Makefile (tests): Change dependencies to ....
10368 (tests-special): ... additions to this variable.
10369 * misc/Makefile (tests): Change dependencies to ....
10370 (tests-special): ... additions to this variable.
10371 * nptl/Makefile (tests): Change dependencies to ....
10372 (tests-special): ... additions to this variable.
10373 * nptl_db/Makefile (tests): Change dependencies to ....
10374 (tests-special): ... additions to this variable.
10375 * posix/Makefile (tests): Change dependencies to ....
10376 (tests-special): ... additions to this variable.
10377 (xtests): Change dependencies to ....
10378 (xtests-special): ... additions to this variable.
10379 * resolv/Makefile (tests): Change dependencies to ....
10380 (tests-special): ... additions to this variable.
10381 (xtests): Change dependencies to ....
10382 (xtests-special): ... additions to this variable.
10383 * stdio-common/Makefile (tests): Change dependencies to ....
10384 (tests-special): ... additions to this variable.
10385 (do-tst-unbputc): Remove target.
10386 (do-tst-printf): Likewise.
10387 * stdlib/Makefile (tests): Change dependencies to ....
10388 (tests-special): ... additions to this variable.
10389 * string/Makefile (tests): Change dependencies to ....
10390 (tests-special): ... additions to this variable.
10391 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10392 (tests-special): ... additions to this variable.
10393
81700b53
JM
10394 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10395 whole file.
10396 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10397 whole file.
10398 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10399 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10400
2ea18461
JM
10401 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10402 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10403 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10404 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10405 * conform/data/libgen.h-data [XPG3]: Likewise.
10406 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10407 * conform/data/ndbm.h-data [XPG3]: Likewise.
10408 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10409 * conform/data/netdb.h-data [XPG3]: Likewise.
10410 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10411 * conform/data/poll.h-data [XPG3]: Likewise.
10412 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10413 * conform/data/strings.h-data [XPG3]: Likewise.
10414 * conform/data/stropts.h-data [XPG3]: Likewise.
10415 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10416 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10417 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10418 Likewise.
10419 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10420 * conform/data/sys/time.h-data [XPG3]: Likewise.
10421 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10422 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10423 * conform/data/sys/un.h-data [XPG3]: Likewise.
10424 * conform/data/syslog.h-data [XPG3]: Likewise.
10425 * conform/data/ucontext.h-data [XPG3]: Likewise.
10426 * conform/data/utmpx.h-data [XPG3]: Likewise.
10427 * conform/data/varargs.h-data [UNIX98]: Enable file.
10428
355bc986
JM
10429 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10430
215db402
JM
10431 * math/libm-test.inc (struct test_f_f_data): Move expected results
10432 into structure for each rounding mode.
10433 (struct test_ff_f_data): Likewise.
10434 (struct test_ff_f_data_nexttoward): Likewise.
10435 (struct test_fi_f_data): Likewise.
10436 (struct test_fl_f_data): Likewise.
10437 (struct test_if_f_data): Likewise.
10438 (struct test_fff_f_data): Likewise.
10439 (struct test_c_f_data): Likewise.
10440 (struct test_f_f1_data): Likewise.
10441 (struct test_fF_f1_data): Likewise.
10442 (struct test_ffI_f1_data): Likewise.
10443 (struct test_c_c_data): Likewise.
10444 (struct test_cc_c_data): Likewise.
10445 (struct test_f_i_data): Likewise.
10446 (struct test_ff_i_data): Likewise.
10447 (struct test_f_l_data): Likewise.
10448 (struct test_f_L_data): Likewise.
10449 (struct test_fFF_11_data): Likewise.
10450 (RM_): New macro.
10451 (RM_FE_DOWNWARD): Likewise.
10452 (RM_FE_TONEAREST): Likewise.
10453 (RM_FE_TOWARDZERO): Likewise.
10454 (RM_FE_UPWARD): Likewise.
10455 (RUN_TEST_LOOP_f_f): Update references to expected results.
10456 (RUN_TEST_LOOP_2_f): Likewise.
10457 (RUN_TEST_LOOP_fff_f): Likewise.
10458 (RUN_TEST_LOOP_c_f): Likewise.
10459 (RUN_TEST_LOOP_f_f1): Likewise.
10460 (RUN_TEST_LOOP_fF_f1): Likewise.
10461 (RUN_TEST_LOOP_fI_f1): Likewise.
10462 (RUN_TEST_LOOP_ffI_f1): Likewise.
10463 (RUN_TEST_LOOP_c_c): Likewise.
10464 (RUN_TEST_LOOP_cc_c): Likewise.
10465 (RUN_TEST_LOOP_f_i): Likewise.
10466 (RUN_TEST_LOOP_f_i_tg): Likewise.
10467 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10468 (RUN_TEST_LOOP_f_b): Likewise.
10469 (RUN_TEST_LOOP_f_b_tg): Likewise.
10470 (RUN_TEST_LOOP_f_l): Likewise.
10471 (RUN_TEST_LOOP_f_L): Likewise.
10472 (RUN_TEST_LOOP_fFF_11): Likewise.
10473 * math/gen-libm-test.pl (parse_args): Output four copies of
10474 expected results for each test.
10475
67737b8f
JM
10476 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10477 (__ASSUME_UTIMES): Remove.
10478 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10479 (__ASSUME_UTIMES): Likewise.
10480
aa97dee1
JM
10481 * math/gen-auto-libm-tests.c: Update comment on output format.
10482 (output_for_one_input_case): Generate before-rounding and
10483 after-rounding information as conditions on output flags not
10484 floating-point format.
10485 * math/auto-libm-test-out: Regenerated.
10486 * math/gen-libm-test.pl (cond_value): New function.
10487 (or_cond_value): Use cond_value.
10488 (generate_testfile): Handle conditional exceptions.
10489
e6b6a857
JM
104902014-03-05 Joseph Myers <joseph@codesourcery.com>
10491
2f0a0f44
JM
10492 * math/libm-test.inc (max_valid_error): New variable.
10493 (init_max_error): Take new argument specifying whether function
10494 results are exactly determined. Set max_valid_error and bound
10495 other variables for errors based on this argument.
10496 (set_max_error): Do not record results above max_valid_error.
10497 (check_float_internal): Only accept errors of up to 0.5ulps if
10498 also at most max_valid_error.
10499 (START): Take new argument EXACT and pass it to init_max_error.
10500 (acos_test): Update call to START.
10501 (acos_test_tonearest): Likewise.
10502 (acos_test_towardzero): Likewise.
10503 (acos_test_downward): Likewise.
10504 (acos_test_upward): Likewise.
10505 (acosh_test): Likewise.
10506 (asin_test): Likewise.
10507 (asin_test_tonearest): Likewise.
10508 (asin_test_towardzero): Likewise.
10509 (asin_test_downward): Likewise.
10510 (asin_test_upward): Likewise.
10511 (asinh_test): Likewise.
10512 (atan_test): Likewise.
10513 (atanh_test): Likewise.
10514 (atan2_test): Likewise.
10515 (cabs_test): Likewise.
10516 (cacos_test): Likewise.
10517 (cacosh_test): Likewise.
10518 (carg_test): Likewise.
10519 (casin_test): Likewise.
10520 (casinh_test): Likewise.
10521 (catan_test): Likewise.
10522 (catanh_test): Likewise.
10523 (cbrt_test): Likewise.
10524 (ccos_test): Likewise.
10525 (ccosh_test): Likewise.
10526 (ceil_test): Likewise.
10527 (cexp_test): Likewise.
10528 (cimag_test): Likewise.
10529 (clog_test): Likewise.
10530 (clog10_test): Likewise.
10531 (conj_test): Likewise.
10532 (copysign_test): Likewise.
10533 (cos_test): Likewise.
10534 (cos_test_tonearest): Likewise.
10535 (cos_test_towardzero): Likewise.
10536 (cos_test_downward): Likewise.
10537 (cos_test_upward): Likewise.
10538 (cosh_test): Likewise.
10539 (cosh_test_tonearest): Likewise.
10540 (cosh_test_towardzero): Likewise.
10541 (cosh_test_downward): Likewise.
10542 (cosh_test_upward): Likewise.
10543 (cpow_test): Likewise.
10544 (cproj_test): Likewise.
10545 (creal_test): Likewise.
10546 (csin_test): Likewise.
10547 (csinh_test): Likewise.
10548 (csqrt_test): Likewise.
10549 (ctan_test): Likewise.
10550 (ctan_test_tonearest): Likewise.
10551 (ctan_test_towardzero): Likewise.
10552 (ctan_test_downward): Likewise.
10553 (ctan_test_upward): Likewise.
10554 (ctanh_test): Likewise.
10555 (ctanh_test_tonearest): Likewise.
10556 (ctanh_test_towardzero): Likewise.
10557 (ctanh_test_downward): Likewise.
10558 (ctanh_test_upward): Likewise.
10559 (erf_test): Likewise.
10560 (erfc_test): Likewise.
10561 (exp_test): Likewise.
10562 (exp_test_tonearest): Likewise.
10563 (exp_test_towardzero): Likewise.
10564 (exp_test_downward): Likewise.
10565 (exp_test_upward): Likewise.
10566 (exp10_test): Likewise.
10567 (exp10_test_tonearest): Likewise.
10568 (exp10_test_towardzero): Likewise.
10569 (exp10_test_downward): Likewise.
10570 (exp10_test_upward): Likewise.
10571 (pow10_test): Likewise.
10572 (exp2_test): Likewise.
10573 (expm1_test): Likewise.
10574 (expm1_test_tonearest): Likewise.
10575 (expm1_test_towardzero): Likewise.
10576 (expm1_test_downward): Likewise.
10577 (expm1_test_upward): Likewise.
10578 (fabs_test): Likewise.
10579 (fdim_test): Likewise.
10580 (floor_test): Likewise.
10581 (fma_test): Likewise.
10582 (fma_test_towardzero): Likewise.
10583 (fma_test_downward): Likewise.
10584 (fma_test_upward): Likewise.
10585 (fmax_test): Likewise.
10586 (fmin_test): Likewise.
10587 (fmod_test): Likewise.
10588 (fpclassify_test): Likewise.
10589 (frexp_test): Likewise.
10590 (hypot_test): Likewise.
10591 (ilogb_test): Likewise.
10592 (isfinite_test): Likewise.
10593 (finite_test): Likewise.
10594 (isgreater_test): Likewise.
10595 (isgreaterequal_test): Likewise.
10596 (isinf_test): Likewise.
10597 (isless_test): Likewise.
10598 (islessequal_test): Likewise.
10599 (islessgreater_test): Likewise.
10600 (isnan_test): Likewise.
10601 (isnormal_test): Likewise.
10602 (issignaling_test): Likewise.
10603 (isunordered_test): Likewise.
10604 (j0_test): Likewise.
10605 (j1_test): Likewise.
10606 (jn_test): Likewise.
10607 (ldexp_test): Likewise.
10608 (lgamma_test): Likewise.
10609 (gamma_test): Likewise.
10610 (lrint_test): Likewise.
10611 (lrint_test_tonearest): Likewise.
10612 (lrint_test_towardzero): Likewise.
10613 (lrint_test_downward): Likewise.
10614 (lrint_test_upward): Likewise.
10615 (llrint_test): Likewise.
10616 (llrint_test_tonearest): Likewise.
10617 (llrint_test_towardzero): Likewise.
10618 (llrint_test_downward): Likewise.
10619 (llrint_test_upward): Likewise.
10620 (log_test): Likewise.
10621 (log10_test): Likewise.
10622 (log1p_test): Likewise.
10623 (log2_test): Likewise.
10624 (logb_test): Likewise.
10625 (logb_test_downward): Likewise.
10626 (lround_test): Likewise.
10627 (llround_test): Likewise.
10628 (modf_test): Likewise.
10629 (nearbyint_test): Likewise.
10630 (nextafter_test): Likewise.
10631 (nexttoward_test): Likewise.
10632 (pow_test): Likewise.
10633 (pow_test_tonearest): Likewise.
10634 (pow_test_towardzero): Likewise.
10635 (pow_test_downward): Likewise.
10636 (pow_test_upward): Likewise.
10637 (remainder_test): Likewise.
10638 (drem_test): Likewise.
10639 (remainder_test_tonearest): Likewise.
10640 (drem_test_tonearest): Likewise.
10641 (remainder_test_towardzero): Likewise.
10642 (drem_test_towardzero): Likewise.
10643 (remainder_test_downward): Likewise.
10644 (drem_test_downward): Likewise.
10645 (remainder_test_upward): Likewise.
10646 (drem_test_upward): Likewise.
10647 (remquo_test): Likewise.
10648 (rint_test): Likewise.
10649 (rint_test_tonearest): Likewise.
10650 (rint_test_towardzero): Likewise.
10651 (rint_test_downward): Likewise.
10652 (rint_test_upward): Likewise.
10653 (round_test): Likewise.
10654 (scalb_test): Likewise.
10655 (scalbn_test): Likewise.
10656 (scalbln_test): Likewise.
10657 (signbit_test): Likewise.
10658 (sin_test): Likewise.
10659 (sin_test_tonearest): Likewise.
10660 (sin_test_towardzero): Likewise.
10661 (sin_test_downward): Likewise.
10662 (sin_test_upward): Likewise.
10663 (sincos_test): Likewise.
10664 (sinh_test): Likewise.
10665 (sinh_test_tonearest): Likewise.
10666 (sinh_test_towardzero): Likewise.
10667 (sinh_test_downward): Likewise.
10668 (sinh_test_upward): Likewise.
10669 (sqrt_test): Likewise.
10670 (sqrt_test_tonearest): Likewise.
10671 (sqrt_test_towardzero): Likewise.
10672 (sqrt_test_downward): Likewise.
10673 (sqrt_test_upward): Likewise.
10674 (tan_test): Likewise.
10675 (tan_test_tonearest): Likewise.
10676 (tan_test_towardzero): Likewise.
10677 (tan_test_downward): Likewise.
10678 (tan_test_upward): Likewise.
10679 (tanh_test): Likewise.
10680 (tgamma_test): Likewise.
10681 (trunc_test): Likewise.
10682 (y0_test): Likewise.
10683 (y1_test): Likewise.
10684 (yn_test): Likewise.
10685 (significand_test): Likewise.
10686
e6b6a857
JM
10687 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10688 individual tests in comment.
10689 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10690 (prev_max_error): New variable.
10691 (prev_real_max_error): Likewise.
10692 (prev_imag_max_error): Likewise.
10693 (compare_ulp_data): Don't refer to test names in comment.
10694 (find_test_ulps): Remove function.
10695 (find_function_ulps): Likewise.
10696 (find_complex_function_ulps): Likewise.
10697 (init_max_error): Take function name as argument. Look up ulps
10698 for that function.
10699 (print_ulps): Remove function.
10700 (print_max_error): Use prev_max_error instead of calling
10701 find_function_ulps.
10702 (print_complex_max_error): Use prev_real_max_error and
10703 prev_imag_max_error instead of calling find_complex_function_ulps.
10704 (check_float_internal): Take max_ulp parameter instead of calling
10705 find_test_ulps. Don't call print_ulps.
10706 (check_float): Update call to check_float_internal.
10707 (check_complex): Update calls to check_float_internal.
10708 (START): Pass argument to init_max_error.
10709 * math/gen-libm-test.pl (%results): Don't include "kind"
10710 information.
10711 (parse_ulps): Don't handle ulps of individual tests.
10712 (print_ulps_file): Likewise.
10713 (output_ulps): Likewise.
10714 * math/README.libm-test: Update.
10715 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10716 individual tests.
10717 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10718 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10719 * sysdeps/arm/libm-test-ulps: Likewise.
10720 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10721 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10722 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10723 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10724 * sysdeps/microblaze/libm-test-ulps: Likewise.
10725 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10726 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10727 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10728 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10729 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10730 * sysdeps/sh/libm-test-ulps: Likewise.
10731 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10732 * sysdeps/tile/libm-test-ulps: Likewise.
10733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10734
45adef3c
JM
107352014-03-04 Joseph Myers <joseph@codesourcery.com>
10736
10737 * math/libm-test.inc (print_complex_max_error): Check separately
10738 whether real and imaginary errors are within allowed range and
10739 pass 0 to print_complex_function_ulps instead of value within
10740 allowed range.
10741
000232b9
SP
107422014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10743
d4b17258
SP
10744 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10745 formatting.
10746 (get_handles_fopen): Likewise.
10747 (do_write_test): Likewise.
10748
091eff71
SP
10749 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10750
fa3cd248
SP
10751 * libio/fileops.c (do_ftell): Use cached offset when
10752 available.
10753 * libio/iofwide.c (do_ftell_wide): Likewise.
10754 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10755 _IO_file_attach.
10756 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10757
000232b9
SP
10758 [BZ #16532]
10759 * libio/libioP.h (get_file_offset): New function.
10760 * libio/fileops.c (get_file_offset): Likewise.
10761 (do_ftell): Likewise.
10762 (_IO_new_file_seekoff): Split out ftell logic.
10763 * libio/wfileops.c (do_ftell_wide): Likewise.
10764 (_IO_wfile_seekoff): Split out ftell logic.
10765 * libio/tst-ftell-active-handler.c: New test case.
10766 * libio/Makefile (tests): Add it.
10767
116f4d1a
RM
107682014-03-03 Roland McGrath <roland@hack.frob.com>
10769
10770 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10771 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10772
532a6035
SP
107732014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10774
10775 [BZ #16639]
10776 * nscd/connections.c (nscd_init): Call do_exit.
10777 (start_threads): Call do_exit and notify_parent.
10778 (begin_drop_privileges): Call do_exit.
10779 (finish_drop_privileges): Likewise.
10780 * nscd/selinux.c (preserve_capabilities): Likewise.
10781 (install_real_capabilities): Likewise.
10782 (nscd_selinux_enabled): Likewise.
10783 (avc_create_thread): Likewise.
10784 (avc_alloc_lock): Likewise.
10785 (nscd_avc_init): Likewise.
10786 * nscd/nscd.c (parent_fd): New static variable.
10787 (main): Create a pipe between parent and child processes.
10788 Skip closing parent_fd.
10789 (monitor_child): New function.
10790 (do_exit): Likewise.
10791 (notify_parent): Likewise.
10792 * nscd/nscd.h (notify_parent): Likewise.
10793 (do_exit): Likewise.
10794
d6285c9f
CD
107952014-03-03 Carlos O'Donell <carlos@redhat.com>
10796
10797 * malloc/malloc.c (__libc_calloc): Revert last change.
10798
2b85d2a0
AZ
107992014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10800
10801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10802
c7debbdf
RS
108032014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10804
10805 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10807 implementation.
10808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10809 (__libc_ifunc_impl_list): Likewise.
10810 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10811 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10812 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10813 * string/strrchr.c: Define STRRCHR.
10814
235eed86
OB
108152014-02-28 Ondřej Bílka <neleai@seznam.cz>
10816
10817 * benchtest/bench-strtok.c (simple_strtok): Delete.
10818 (strtok_string): Use as benchmark.
10819 * string/strtok (STRTOK): New macro.
10820
8e25d1e7
CD
108212014-02-28 Carlos O'Donell <carlos@redhat.com>
10822
ef563f92
CD
10823 * manual/threads.texi: Add header and standard comments to all
10824 functions.
10825
8e25d1e7
CD
10826 * elf/dl-lookup.c (check_match): New function.
10827 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10828 (do_lookup_x): Remove nested function check_match. Use non-nested
10829 function check_match.
10830
ff71cc37
RM
108312014-02-28 Roland McGrath <roland@hack.frob.com>
10832
f08e9a26
RM
10833 * csu/Makefile (generated, before-compile): Use += rather than =.
10834 * catgets/Makefile (generated, generated-dirs): Likewise.
10835 * debug/Makefile (generated): Likewise.
10836 * dlfcn/Makefile (generated): Likewise.
10837 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10838 * iconvdata/Makefile (before-compile, generated): Likewise.
10839 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10840 * libio/Makefile (generated): Likewise.
10841 * malloc/Makefile (generated): Likewise.
10842 * manual/Makefile (generated, generated-dirs): Likewise.
10843 * misc/Makefile (generated): Likewise.
10844 * posix/Makefile (generated): Likewise.
10845 * resolv/Makefile (generated): Likewise.
10846 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10847 * timezone/Makefile (generated, generated-dirs): Likewise.
10848
ff71cc37
RM
10849 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10850
fe13a20c
AZ
108512014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10852
57f41c40
AS
10853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10854 power8 implementation.
10855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10856 file: POWER8 llround ifunc implementation.
10857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10858 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
10859 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10860 POWER8 llround implementation.
10861
57f41c40
AS
10862 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10863 power8 implementation.
10864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10865 file: POWER8 llrint ifunc implementation.
10866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10867 Add POWER8 implementation.
1ad8950a
AZ
10868 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10869 POWER8 llrint implementation.
10870
57f41c40
AS
10871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10872 power8 implementation.
10873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10874 file: POWER8 finite ifunc implementation.
10875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10876 Add POWER8 implementation.
cac626d6
AZ
10877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10878 Likewise.
10879 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10880 POWER8 finite implementation.
10881 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10882
57f41c40
AS
10883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10884 power8 implementation.
10885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10886 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
10887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10888 POWER8 implementation.
10889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10890 Likewise.
57f41c40
AS
10891 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10892 isinf implementation.
4393fc11
AZ
10893 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10894
57f41c40
AS
10895 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10896 (INIT_ARCH): Add hwcap2 initialization.
10897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10898 power8 implementation.
10899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10900 file: POWER8 isnan ifunc implementation.
487972ae
AZ
10901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10902 POWER8 implementation.
10903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10904 Likewise.
57f41c40
AS
10905 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10906 isnan implementation.
487972ae
AZ
10907 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10908
7d92b787
JY
109092014-02-27 Joey Ye <joey.ye@arm.com>
10910
10911 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10912 (_FP_NANFRAC_Q): Set to zero.
10913
1cadc858
SP
109142014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10915
10916 [BZ #16623]
10917 * math/auto-libm-test-in: New test inputs.
10918 * math/auto-libm-test-out: Regenerate.
10919 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10920 and DA.
10921 (__cos): Likewise.
10922 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10923
f8c17e79
JM
109242014-02-27 Joseph Myers <joseph@codesourcery.com>
10925
10926 * scripts/evaluate-test.sh: Take new argument indicating whether
10927 failure is expected.
10928 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10929 indicating whether failure is expected.
10930 * conform/Makefile (test-xfail-run-conformtest): New variable.
10931 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10932 level.
10933 * posix/Makefile (test-xfail-annexc): New variable.
10934 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10935
a5f891ac
JM
109362014-02-26 Joseph Myers <joseph@codesourcery.com>
10937
10938 * argp/Makefile: Include Makeconfig immediately after defining
10939 subdir.
10940 * assert/Makefile: Likewise.
10941 * benchtests/Makefile: Likewise.
10942 * catgets/Makefile: Likewise.
10943 * conform/Makefile: Likewise.
10944 * crypt/Makefile: Likewise.
10945 * csu/Makefile: Likewise.
10946 (all): Remove target.
10947 * ctype/Makefile: Include Makeconfig immediately after defining
10948 subdir.
10949 * debug/Makefile: Likewise.
10950 * dirent/Makefile: Likewise.
10951 * dlfcn/Makefile: Likewise.
10952 * gmon/Makefile: Likewise.
10953 * gnulib/Makefile: Likewise.
10954 * grp/Makefile: Likewise.
10955 * gshadow/Makefile: Likewise.
10956 * hesiod/Makefile: Likewise.
10957 * hurd/Makefile: Likewise.
10958 (all): Remove target.
10959 * iconvdata/Makefile: Include Makeconfig immediately after
10960 defining subdir.
10961 * inet/Makefile: Likewise.
10962 * intl/Makefile: Likewise.
10963 * io/Makefile: Likewise.
10964 * libio/Makefile: Likewise.
10965 (all): Remove target.
10966 * locale/Makefile: Include Makeconfig immediately after defining
10967 subdir.
10968 * login/Makefile: Likewise.
10969 * mach/Makefile: Likewise.
10970 (all): Remove target.
10971 * malloc/Makefile: Include Makeconfig immediately after defining
10972 subdir.
10973 (all): Remove target.
10974 * manual/Makefile: Include Makeconfig immediately after defining
10975 subdir.
10976 * math/Makefile: Likewise.
10977 * misc/Makefile: Likewise.
10978 * nis/Makefile: Likewise.
10979 * nss/Makefile: Likewise.
10980 * po/Makefile: Likewise.
10981 (all): Remove target.
10982 * posix/Makefile: Include Makeconfig immediately after defining
10983 subdir.
10984 * pwd/Makefile: Likewise.
10985 * resolv/Makefile: Likewise.
10986 * resource/Makefile: Likewise.
10987 * rt/Makefile: Likewise.
10988 * setjmp/Makefile: Likewise.
10989 * shadow/Makefile: Likewise.
10990 * signal/Makefile: Likewise.
10991 * socket/Makefile: Likewise.
10992 * soft-fp/Makefile: Likewise.
10993 * stdio-common/Makefile: Likewise.
10994 * stdlib/Makefile: Likewise.
10995 * streams/Makefile: Likewise.
10996 * string/Makefile: Likewise.
10997 * sunrpc/Makefile: Likewise.
10998 (all): Remove target.
10999 * sysvipc/Makefile: Include Makeconfig immediately after defining
11000 subdir.
11001 * termios/Makefile: Likewise.
11002 * time/Makefile: Likewise.
11003 * timezone/Makefile: Likewise.
11004 (all): Remove target.
11005 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11006 subdir.
11007 * wctype/Makefile: Likewise.
11008
5b456e9d
SE
110092014-02-26 Steve Ellcey <sellcey@mips.com>
11010
11011 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11012 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11013 (libc_feholdexcept_setround_mips): Ditto.
11014 (libc_feholdsetround): New.
11015 (libc_feholdsetroundf): New.
11016 (libc_feholdsetroundl): New.
11017 (libc_feupdateenv_test_mips): New.
11018 (libc_feupdateenv_test): New.
11019 (libc_feupdateenv_testf): New.
11020 (libc_feupdateenv_testl): New.
11021 (libc_feresetround): New.
11022 (libc_feresetroundf): New.
11023 (libc_feresetroundl): New.
11024 (libc_fetestexcept_mips): New.
11025 (libc_fetestexcept): New.
11026 (libc_fetestexceptf): New.
11027 (libc_fetestexceptl): New.
11028 (HAVE_RM_CTX): New.
11029 (libc_feholdexcept_setround_mips_ctx): New.
11030 (libc_feholdexcept_setround_ctx): New.
11031 (libc_feholdexcept_setroundf_ctx): New.
11032 (libc_feholdexcept_setroundl_ctx): New.
11033 (libc_fesetenv_mips_ctx): New.
11034 (libc_fesetenv_ctx): New.
11035 (libc_fesetenv_ctxf): New.
11036 (libc_fesetenv_ctxl): New.
11037 (libc_feupdateenv_mips_ctx): New.
11038 (libc_feupdateenv_ctx): New.
11039 (libc_feupdateenvf_ctx): New.
11040 (libc_feupdateenvl_ctx): New.
11041 (libc_feholdsetround_mips_ctx): New.
11042 (libc_feholdsetround_ctx): New.
11043 (libc_feholdsetroundf_ctx): New.
11044 (libc_feholdsetroundl_ctx): New.
11045 (libc_feresetround_mips_ctx): New.
11046 (libc_feresetround_ctx): New.
11047 (libc_feresetroundf_ctx): New.
11048 (libc_feresetroundl_ctx): New.
11049
085d0e35
CD
110502014-02-26 Carlos O'Donell <carlos@redhat.com>
11051
f067bf1f
CD
11052 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11053
085d0e35
CD
11054 * manual/ipc.texi: New file.
11055 * manual/Makefile (chapters): Add ipc.
11056 * manual/job.texi: Add "Inter-Process Communication" to next.
11057 * manual/process.texi: Add "Inter-Process Communication" to prev.
11058
86e58c08
AZ
110592014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11060
11061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11062
4248f0da
OB
110632014-02-26 Ondřej Bílka <neleai@seznam.cz>
11064
11065 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11066
cf822e3c
OB
11067 * manual/arith.texi: Fix spaces after sentences.
11068 * manual/charset.texi: Likewise.
11069 * manual/errno.texi: Likewise.
11070 * manual/install.texi: Likewise.
11071 * manual/llio.texi: Likewise.
11072 * manual/locale.texi: Likewise.
11073 * manual/maint.texi: Likewise.
11074 * manual/math.texi: Likewise.
11075 * manual/memory.texi: Likewise.
11076 * manual/message.texi: Likewise.
11077 * manual/probes.texi: Likewise.
11078 * manual/resource.texi: Likewise.
11079 * manual/signal.texi: Likewise.
11080 * manual/socket.texi: Likewise.
11081 * manual/stdio.texi: Likewise.
11082 * manual/string.texi: Likewise.
11083 * manual/time.texi: Likewise.
11084 * manual/users.texi: Likewise.
11085
ade40b10
CD
110862014-02-25 Carlos O'Donell <carlos@redhat.com>
11087
11088 [BZ #16632]
11089 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11090 _DEFAULT_SOURCE is defined.
11091
d0503676
CD
110922014-02-25 Ulrich Drepper <drepper@gmail.com>
11093 Carlos O'Donell <carlos@redhat.com>
11094
11095 [BZ #16613]
11096 * elf/dl-tls.c (_dl_count_modids): New function.
11097 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11098 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11099 audit library and increment generation counter.
11100 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11101 * elf/tst-audit9.c: New file.
11102 * elf/tst-auditmod9a.c: New file.
11103 * elf/tst-auditmod9b.c: New file.
11104 * elf/Makefile: Add rules to build and run tst-audit9.
11105
4cbf380c
FW
111062014-02-25 Florian Weimer <fweimer@redhat.com>
11107
11108 [BZ #15347]
11109 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11110
80a56cc3
WN
111112014-02-25 Will Newton <will.newton@linaro.org>
11112
11113 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11114 (__longjmp): Restore sp and lr before restoring callee
11115 saved registers. Add longjmp and longjmp_target
11116 SystemTap probe point.
11117 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11118 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11119 Define to zero to match jmpbuf layout.
11120 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11121 (__sigsetjmp): Save sp and lr before saving callee
11122 saved registers. Add setjmp SystemTap probe point.
11123
3ea0f74e
SL
111242014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11125
11126 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11127
b04acb26
AS
111282014-02-24 Andreas Schwab <schwab@suse.de>
11129
11130 [BZ #15804]
11131 * elf/pldd.c (wait_for_ptrace_stop): New function.
11132 (main): Call it after attaching.
11133
098ad55c
RM
111342014-02-22 Roland McGrath <roland@hack.frob.com>
11135
d4ec6ae1
RM
11136 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11137 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11138 Versions files is now verboten.
11139 * hurd/Versions (libc: GLIBC_2.0):
11140 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11141 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11142 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11143 * mach/Versions: Likewise.
11144
098ad55c
RM
11145 * csu/Versions: Remove unused %include.
11146 * resolv/Versions: Likewise.
11147
acd7f096
JM
111482014-02-21 Joseph Myers <joseph@codesourcery.com>
11149
f0881698
JM
11150 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11151 ($(objpfx)check-local-headers.out): Likewise.
11152 ($(objpfx)begin-end-check.out): Likewise.
11153 * Makerules (check-abi-%.out): Likewise.
11154 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11155 ($(objpfx)test2.cat): Likewise.
11156 ($(objpfx)de/libc.cat): Likewise.
11157 ($(objpfx)test-gencat.out): Likewise.
11158 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11159 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11160 ($(objpfx)noload-mem): Likewise.
11161 ($(objpfx)tst-pathopt.out): Likewise.
11162 ($(objpfx)tst-rtld-load-self.out): Likewise.
11163 ($(objpfx)tst-array1-cmp.out): Likewise.
11164 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11165 ($(objpfx)tst-array2-cmp.out): Likewise.
11166 ($(objpfx)tst-array3-cmp.out): Likewise.
11167 ($(objpfx)tst-array4-cmp.out): Likewise.
11168 ($(objpfx)tst-array5-cmp.out): Likewise.
11169 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11170 ($(objpfx)check-textrel.out): Likewise.
11171 ($(objpfx)check-execstack.out): Likewise.
11172 ($(objpfx)check-localplt.out): Likewise.
11173 ($(objpfx)order2-cmp.out): Likewise.
11174 ($(objpfx)tst-leaks1-mem): Likewise.
11175 ($(objpfx)tst-leaks1-static-mem): Likewise.
11176 ($(objpfx)tst-initorder-cmp.out): Likewise.
11177 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11178 ($(objpfx)tst-unused-dep.out): Likewise.
11179 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11180 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11181 * iconv/Makefile (test-iconvconfig): Likewise.
11182 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11183 ($(objpfx)iconv-test.out): Likewise.
11184 ($(objpfx)tst-tables.out): Likewise.
11185 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11186 ($(objpfx)tst-gettext.out): Likewise.
11187 ($(objpfx)tst-translit.out): Likewise.
11188 ($(objpfx)tst-gettext2.out): Likewise.
11189 ($(objpfx)tst-gettext4.out): Likewise.
11190 ($(objpfx)tst-gettext6.out): Likewise.
11191 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11192 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11193 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11194 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11195 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11196 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11197 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11198 ($(objpfx)wordexp-tst.out): Likewise.
11199 ($(objpfx)annexc.out): Likewise.
11200 ($(objpfx)tst-fnmatch-mem): Likewise.
11201 ($(objpfx)bug-regex2-mem): Likewise.
11202 ($(objpfx)bug-regex14-mem): Likewise.
11203 ($(objpfx)bug-regex21-mem): Likewise.
11204 ($(objpfx)bug-regex31-mem): Likewise.
11205 ($(objpfx)tst-vfork3-mem): Likewise.
11206 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11207 ($(objpfx)tst-pcre-mem): Likewise.
11208 ($(objpfx)tst-boost-mem): Likewise.
11209 ($(objpfx)tst-getconf.out): Likewise.
11210 ($(objpfx)bug-ga2-mem): Likewise.
11211 ($(objpfx)bug-glob2-mem): Likewise.
11212 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11213 ($(objpfx)mtrace-tst-leaks2): Likewise.
11214 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11215 ($(objpfx)tst-printf.out): Likewise.
11216 ($(objpfx)tst-setvbuf1.out): Likewise.
11217 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11218 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11219 ($(objpfx)tst-fmtmsg.out): Likewise.
11220 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11221 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11222
acd7f096
JM
11223 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11224 * bits/sigaction.h [__USE_MISC]: Likewise.
11225 * bits/waitstatus.h: Update #endif comments.
11226 * ctype/ctype.h: Likewise.
11227 * dirent/dirent.h: Likewise.
11228 [__USE_MISC]: Remove redundant conditionals.
11229 * grp/grp.h: Update #endif comments.
11230 [__USE_GNU]: Remove redundant conditionals.
11231 [__USE_MISC]: Likewise.
11232 * inet/netinet/in.h [__USE_GNU]: Likewise.
11233 * io/sys/stat.h [__USE_MISC]: Likewise.
11234 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11235 * libio/bits/stdio.h: Update #endif comments.
11236 [__USE_MISC]: Remove redundant conditionals.
11237 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11238 * libio/stdio.h: Update #endif comments.
11239 [__USE_MISC]: Remove redundant conditionals.
11240 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11241 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11242 * math/math.h: Update #else and #endif comments.
11243 [__USE_MISC]: Remove redundant conditionals.
11244 * misc/sys/uio.h: Update #endif comments.
11245 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11246 * posix/glob.h [__USE_MISC]: Likewise.
11247 * posix/sys/types.h: Update #endif comments.
11248 [__USE_MISC]: Remove redundant conditionals.
11249 * posix/sys/wait.h: Update #endif comments.
11250 [__USE_MISC]: Remove redundant conditionals.
11251 * posix/unistd.h: Update #endif comments.
11252 [__USE_MISC]: Remove redundant conditionals.
11253 * pwd/pwd.h [__USE_GNU]: Likewise.
11254 [__USE_MISC]: Likewise.
11255 * resolv/netdb.h [__USE_GNU]: Likewise.
11256 * signal/signal.h: Update #endif comments.
11257 [__USE_MISC]: Remove redundant conditionals.
11258 * stdlib/stdlib.h: Update #else and #endif comments.
11259 [__USE_MISC]: Remove redundant conditionals.
11260 [__USE_GNU]: Likewise.
11261 * string/bits/string2.h [__USE_MISC]: Likewise.
11262 * string/string.h: Update #endif comments.
11263 [__USE_MISC]: Remove redundant conditionals.
11264 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11265 Likewise.
11266 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11267 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11268 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11269 Likewise.
11270 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11271 Likewise.
11272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11273 comments.
11274 [__USE_MISC]: Remove redundant conditionals.
11275 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11276 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11277 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11278 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11279 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11280 Likewise.
11281 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11282 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11283 Likewise.
11284 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11285 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11286 Likewise.
11287 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11288 Likewise.
11289 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11290 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11291 Likewise.
11292 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11293 Likewise.
11294 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11295 * sysdeps/x86/bits/string.h: Update #endif comments.
11296 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11297 conditionals.
11298 * time/sys/time.h: Update #endif comments.
11299 * time/time.h: Likewise.
11300 [__USE_MISC]: Remove redundant conditionals.
11301
a5d82e4e
YG
113022014-02-21 Yury Gribov <y.gribov@samsung.com>
11303
11304 [BZ #16600]
11305 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11306
9a80491d
AS
113072014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11308
11309 * Versions.def (librt): Add GLIBC_2.17.
11310
105fa381
AC
113112014-02-21 Adam Conrad <adconrad@0c3.net>
11312
11313 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11314 synonym for _SYS_AUXV_H to allow direct inclusion.
11315 * sysdeps/sparc/bits/hwcap.h: Likewise.
11316 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11317 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11318 * sysdeps/sparc/sysdep.h: Likewise.
11319
b8cd1c4e
SP
113202014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11321
11322 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11323
bd939d23
RS
113242014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11325
11326 * benchtests/bench-strrchr.c: Print length instead of position.
11327
5d7b57ca
JM
113282014-02-20 Joseph Myers <joseph@codesourcery.com>
11329
bc688c10
JM
11330 [BZ #16611]
11331 * sysdeps/unix/sysv/linux/kernel-features.h
11332 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11333 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11334 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11335 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11336 Likewise.
11337 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11338 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11339 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11340 (__ASSUME_SENDMMSG): Define instead of using previous
11341 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11342 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11343 (__ASSUME_SENDMMSG_SYSCALL): Define.
11344 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11345 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11346 Likewise.
11347 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11348 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11349 Likewise.
11350 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11351 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11352 Likewise.
11353 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11354 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11355 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11356 [__ASSUME_SENDMMSG]: Change conditionals to
11357 [__ASSUME_SENDMMSG_SOCKETCALL].
11358 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11359 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11360 Define.
11361 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11362 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11363 Likewise.
11364 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11365 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11366 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11367 [!__ASSUME_SENDMMSG]: Change conditional to
11368 [!__ASSUME_SENDMMSG_SOCKETCALL].
11369 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11370 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11371 Define.
11372
0e31b18c
JM
11373 [BZ #16610]
11374 * sysdeps/unix/sysv/linux/kernel-features.h
11375 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11376 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11377 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11378 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11379 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11380 [__i386__ || __sparc__]
11381 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11382 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11383 (__ASSUME_RECVMMSG): Define instead of using previous
11384 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11385 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11386 (__ASSUME_RECVMMSG_SYSCALL): Define.
11387 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11388 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11389 Likewise.
11390 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11391 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11392 Likewise.
11393 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11394 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11395 Likewise.
11396 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11397 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11398 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11399 [__ASSUME_RECVMMSG]: Change condition to
11400 [__ASSUME_RECVMMSG_SOCKETCALL].
11401 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11402 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11403 Define.
11404 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11405 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11406 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11407 Likewise.
11408 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11409 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11410 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11411 [!__ASSUME_RECVMMSG]: Change condition to
11412 [!__ASSUME_RECVMMSG_SOCKETCALL].
11413 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11414 (__ASSUME_RECVMMSG_SYSCALL): Define.
11415
dd481ccf
JM
11416 [BZ #16609]
11417 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11418 __powerpc__ || __s390__ || __sh__ || __sparc__]
11419 (__ASSUME_SOCKETCALL): Define.
11420 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11421 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11422 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11423 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11424 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11425 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11426 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11427 (__ASSUME_ACCEPT4): Define instead of using previous
11428 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11429 __powerpc__ || __sparc__ || __s390__)] condition.
11430 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11431 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11432 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11433 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11434 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11435 [!__ASSUME_ACCEPT4]: Change condition to
11436 [!__ASSUME_ACCEPT4_SOCKETCALL].
11437 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11438 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11439 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11440 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11441 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11442 __ASSUME_ACCEPT4_SYSCALL.
11443 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11444 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11445 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11446 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11447 __ASSUME_ACCEPT4_SYSCALL.
11448 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11449 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11450 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11451 [__ASSUME_ACCEPT4]: Change condition to
11452 [__ASSUME_ACCEPT4_SOCKETCALL].
11453 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11454 (__ASSUME_SOCKETCALL): Define.
11455 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11456 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11457 (__ASSUME_SOCKETCALL): Define.
11458 (__ASSUME_ACCEPT4): Remove.
11459 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11460 Define.
11461 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11462 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11463 Likewise.
11464 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11465 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11466
5d7b57ca
JM
11467 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11468 macro.
11469 (HWCAP_ARM_LPAE): Likewise.
11470 (HWCAP_ARM_EVTSTRM): Likewise.
11471 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11472 Add vpfd32, lpae and evtstrm.
11473 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11474 Increase to 22.
11475
63689d61
JM
114762014-02-19 Joseph Myers <joseph@codesourcery.com>
11477
11478 * math/auto-libm-test-in: Add tests of clog10.
11479 * math/auto-libm-test-out: Regenerated.
11480 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11481 * sysdeps/i386/fpu/libm-test-ulps: Update.
11482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11483
ab09bf61
AS
114842014-02-18 Andreas Schwab <schwab@suse.de>
11485
11486 [BZ #16574]
11487 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11488 Store non-zero if the second buffer was newly allocated.
11489 (send_dg): Likewise.
11490 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11491 to send_vc and send_dg.
11492 (res_nsend): Pass NULL for ansp2_malloced.
11493 * resolv/res_query.c (__libc_res_nquery): Add parameter
11494 answerp2_malloced and pass it down to __libc_res_nsend.
11495 (res_nquery): Pass additional NULL to __libc_res_nquery.
11496 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11497 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11498 second answer buffer if answerp2_malloced was set.
11499 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11500 (__libc_res_nquerydomain): Add parameter
11501 answerp2_malloced and pass it down to __libc_res_nquery.
11502 (res_nquerydomain): Pass additional NULL to
11503 __libc_res_nquerydomain.
11504 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11505 additional NULL to __libc_res_nsend and __libc_res_nquery.
11506 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11507 additional NULL to __libc_res_nsearch.
11508 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11509 parameter of __libc_res_nsearch to check for separately allocated
11510 second buffer.
11511 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11512 __libc_res_nquery.
11513 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11514 additional NULL to __libc_res_nquery.
11515 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11516 __libc_res_nsearch.
11517 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11518 * include/resolv.h: Update prototypes of __libc_res_nquery,
11519 __libc_res_nsearch, __libc_res_nsend.
11520
a4fb7861
JM
115212014-02-18 Joseph Myers <joseph@codesourcery.com>
11522
c6af2d89
JM
11523 * math/auto-libm-test-in: Add tests of fma.
11524 * math/auto-libm-test-out: Regenerated.
11525 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11526 (fma_towardzero_test_data): Likewise.
11527 (fma_downward_test_data): Likewise.
11528 (fma_upward_test_data): Likewise.
11529 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11530 mpc_mode.
11531 (rounding_modes): Add values for new field.
11532 (func_calc_method): Add value mpfr_fff_f.
11533 (func_calc_desc): Add mpfr_fff_f union field.
11534 (test_function): Add field exact_args.
11535 (FUNC): Add macro argument EXACT_ARGS.
11536 (FUNC_mpfr_f_f): Update call to FUNC.
11537 (FUNC_mpfr_f_f): Likewise.
11538 (FUNC_mpfr_ff_f): Likewise.
11539 (FUNC_mpfr_if_f): Likewise.
11540 (FUNC_mpc_c_f): Likewise.
11541 (FUNC_mpc_c_c): Likewise.
11542 (test_functions): Add fma. Update calls to FUNC.
11543 (handle_input_arg): Add argument exact_args.
11544 (add_test): Update call to handle_input_arg.
11545 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11546 (output_for_one_input_case): Update call to calc_generic_results.
11547 Recalculate exact zero results in each rounding mode.
11548
a4fb7861
JM
11549 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11550 non-negative before setting low bit.
11551 * math/auto-libm-test-in: Mark one asin test possibly having
11552 spurious underflow.
11553 * math/auto-libm-test-out: Regenerated.
11554 * sysdeps/i386/fpu/libm-test-ulps: Update.
11555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11556
ef114eaf
DH
115572014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11558
2b7f4f2c
SP
11559 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11560 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11561 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
11562 * README: Add missing listing for microblaze*-*-linux-gnu.
11563
8125aedc
AM
115642014-02-16 Ondřej Bílka <neleai@seznam.cz>
11565
11566 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11567 duplicate code
11568
c70a4b1d
MF
115692014-02-16 Mike Frysinger <vapier@gentoo.org>
11570
11571 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11572 * sysdeps/unix/sysv/linux/ia64: Move directory from
11573 ports/sysdeps/unix/sysv/linux/ia64.
11574 * README: Update listing for ia64-*-linux-gnu.
11575
591aeaf7
TD
115762014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11577 Joseph Myers <joseph@codesourcery.com>
11578
11579 * Makeconfig (test-name): New variable.
11580 (evaluate-test): Likewise.
11581 * Makerules (do-test-clean): Remove .test-result files.
11582 (common-mostlyclean): Likewise.
11583 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11584 * scripts/evaluate-test.sh: New file.
11585
6e89caf1
JM
115862014-02-14 Joseph Myers <joseph@codesourcery.com>
11587
7f98f180
JM
11588 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11589 separate $(objpfx)tst-fopenloc-cmp.out and
11590 $(objpfx)tst-fopenloc-mem.out targets.
11591 (tests): Update dependencies.
11592 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11593 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11594 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11595 (tst-rxspencer-no-utf8-ARGS): New variable.
11596 (tst-rxspencer-no-utf8-ENV): Likewise.
11597 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11598 instead of $(objpfx)tst-rxspencer-mem.
11599 ($(objpfx)tst-rxspencer-mem): Change target to
11600 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11601 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11602 * posix/tst-rxspencer-no-utf8.c: New file.
11603
6e89caf1
JM
11604 * elf/Makefile ($(objpfx)order.out): Remove rule.
11605 [$(run-built-tests) = yes] (tests): Depend on
11606 $(objpfx)order-cmp.out.
11607 ($(objpfx)order-cmp.out): New rule.
11608 [$(run-built-tests) = yes] (tests): Depend on
11609 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11610 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11611 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11612 $(objpfx)tst-array5-static-cmp.out.
11613 ($(objpfx)tst-array1.out): Remove rule.
11614 ($(objpfx)tst-array1-cmp.out): New rule.
11615 ($(objpfx)tst-array1-static.out): Remove rule.
11616 ($(objpfx)tst-array1-static-cmp.out): New rule.
11617 ($(objpfx)tst-array2.out): Remove rule.
11618 ($(objpfx)tst-array2-cmp.out): New rule.
11619 ($(objpfx)tst-array3.out): Remove rule.
11620 ($(objpfx)tst-array3-cmp.out): New rule.
11621 ($(objpfx)tst-array4.out): Remove rule.
11622 ($(objpfx)tst-array4-cmp.out): New rule.
11623 ($(objpfx)tst-array5.out): Remove rule.
11624 ($(objpfx)tst-array5-cmp.out): New rule.
11625 ($(objpfx)tst-array5-static.out): Remove rule.
11626 ($(objpfx)tst-array5-static-cmp.out): New rule.
11627 [$(run-built-tests) = yes] (tests): Depend on
11628 $(objpfx)order2-cmp.out.
11629 ($(objpfx)order2.out): Remove rule.
11630 ($(objpfx)order2-cmp.out): New rule.
11631 ($(objpfx)tst-initorder.out): Remove rule.
11632 [$(run-built-tests) = yes] (tests): Depend on
11633 $(objpfx)tst-initorder-cmp.out.
11634 ($(objpfx)tst-initorder-cmp.out): New rule.
11635 ($(objpfx)tst-initorder2.out): Remove rule.
11636 [$(run-built-tests) = yes] (tests): Depend on
11637 $(objpfx)tst-initorder2-cmp.out.
11638 ($(objpfx)tst-initorder2-cmp.out): New rule.
11639 [$(run-built-tests) = yes] (tests): Depend on
11640 $(objpfx)tst-unused-dep-cmp.out.
11641 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11642 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11643 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11644 on $(objpfx)tst-setvbuf1-cmp.out.
11645 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11646 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11647 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11648 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11649 ($(objpfx)tst-svc.out): Remove rule.
11650 ($(objpfx)tst-svc-cmp.out): New rule.
11651
ed9a38e2
JM
116522014-02-13 Joseph Myers <joseph@codesourcery.com>
11653
11654 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11655 * ctype/ctype.h [__USE_MISC]: Likewise.
11656 * dirent/dirent.h [__USE_MISC]: Likewise.
11657 * grp/grp.h [__USE_MISC]: Likewise.
11658 * io/fcntl.h [__USE_MISC]: Likewise.
11659 * io/sys/stat.h [__USE_MISC]: Likewise.
11660 * libio/stdio.h [__USE_MISC]: Likewise.
11661 * posix/unistd.h [__USE_MISC]: Likewise.
11662 * pwd/pwd.h [__USE_MISC]: Likewise.
11663 * stdlib.h [__USE_MISC]: Likewise.
11664 * string/bits/string2.h [__USE_MISC]: Likewise.
11665 * string/string.h [__USE_MISC]: Likewise.
11666 * time/time.h [__USE_MISC]: Likewise.
11667
d6680619
AS
116682014-02-13 Andreas Schwab <schwab@suse.de>
11669
11670 [BZ #16574]
11671 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11672 second answer buffer if it was separately allocated.
11673
ace614b8
JM
116742014-02-12 Joseph Myers <joseph@codesourcery.com>
11675
743151ae
JM
11676 * sysdeps/mips/math-tests.h: Include <features.h>.
11677 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11678 (ROUNDING_TESTS_long_double): Do not define.
11679 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11680 (EXCEPTION_TESTS_long_double): Likewise.
11681 * sysdeps/mips/mips64/libm-test-ulps: Update.
11682
498afc54
JM
11683 * include/features.h (__USE_BSD): Remove macro definitions.
11684 (__USE_SVID): Likewise.
11685 (_BSD_SOURCE): Likewise.
11686 (_SVID_SOURCE): Likewise.
11687 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11688 from definition of _DEFAULT_SOURCE.
11689 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11690 [_DEFAULT_SOURCE].
11691 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11692 * bits/mman.h [__USE_BSD]: Likewise.
11693 * bits/termios.h [__USE_BSD]: Likewise.
11694 * bits/waitstatus.h [__USE_BSD]: Likewise.
11695 * ctype/ctype.h [__USE_SVID]: Likewise.
11696 * dirent/dirent.h [__USE_BSD]: Likewise.
11697 * grp/grp.h [__USE_SVID]: Likewise.
11698 [__USE_BSD]: Likewise.
11699 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11700 * io/fcntl.h [__USE_BSD]: Likewise.
11701 * io/ftw.h [__USE_BSD]: Likewise.
11702 * io/sys/stat.h [__USE_BSD]: Likewise.
11703 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11704 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11705 * libio/stdio.h [__USE_SVID]: Likewise.
11706 [__USE_BSD]: Likewise.
11707 * math/math.h [__USE_SVID]: Likewise.
11708 [__USE_BSD]: Likewise.
11709 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11710 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11711 * misc/search.h [__USE_SVID]: Likewise.
11712 * misc/sys/mman.h [__USE_BSD]: Likewise.
11713 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11714 * misc/sys/uio.h [__USE_BSD]: Likewise.
11715 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11716 * posix/glob.h [__USE_BSD]: Likewise.
11717 * posix/regex.h [__USE_BSD]: Likewise.
11718 * posix/sys/types.h [__USE_BSD]: Likewise.
11719 [__USE_SVID]: Likewise.
11720 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11721 * posix/sys/wait.h [__USE_BSD]: Likewise.
11722 [__USE_SVID]: Likewise.
11723 * posix/unistd.h [__USE_BSD]: Likewise.
11724 [__USE_SVID]: Likewise.
11725 * pwd/pwd.h [__USE_SVID]: Likewise.
11726 * resolv/netdb.h [__USE_BSD]: Likewise.
11727 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11728 * signal/signal.h [__USE_BSD]: Likewise.
11729 [__USE_SVID]: Likewise.
11730 * socket/sys/socket.h [__USE_BSD]: Likewise.
11731 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11732 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11733 [__USE_SVID]: Likewise.
11734 * string/bits/string2.h [__USE_BSD]: Likewise.
11735 [__USE_SVID]: Likewise.
11736 * string/bits/string3.h [__USE_BSD]: Likewise.
11737 * string/endian.h [__USE_BSD]: Likewise.
11738 * string/string.h [__USE_SVID]: Likewise.
11739 [__USE_BSD]: Likewise.
11740 * string/strings.h [__USE_BSD]: Likewise.
11741 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11742 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11743 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11744 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11745 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11746 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11747 Likewise.
11748 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11749 Likewise.
11750 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11751 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11752 Likewise.
11753 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11754 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11755 Likewise.
11756 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11757 Likewise.
11758 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11759 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11760 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11761 Likewise.
11762 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11763 Likewise.
11764 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11765 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11766 * termios/termios.h [__USE_BSD]: Likewise.
11767 * time/sys/time.h [__USE_BSD]: Likewise.
11768 * time/time.h [__USE_BSD]: Likewise.
11769 [__USE_SVID]: Likewise.
11770
dd7b064c
JM
11771 * Makefile (subdir_targets): Remove subdir_lint.out.
11772
a2c4c199
JM
11773 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11774 (do-tst-printf): Likewise.
11775 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11776 $(objpfx)tst-printf.out.
11777
8756f740
JM
11778 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11779
1b6dd3f1
JM
11780 * Makerules (check-abi-%): Change target to
11781 $(objpfx)check-abi-%.out.
11782 (check-abi target): Update dependencies.
11783 (check-abi-pattern variable): Redirect output of diff to $@.
11784 (check-abi variable): Likewise.
11785 * elf/Makefile (check-abi): Update dependencies.
11786
ace614b8
JM
11787 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11788 unused.
11789 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11790 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11791 subnormal range.
11792 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11793 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11794 value has largest subnormal exponent.
11795 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11796 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11797 * sysdeps/aarch64/soft-fp/sfp-machine.h
11798 (_FP_TININESS_AFTER_ROUNDING): New macro.
11799 * sysdeps/alpha/soft-fp/sfp-machine.h
11800 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11801 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11802 Likewise.
11803 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11804 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11805 * sysdeps/mips/soft-fp/sfp-machine.h
11806 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11807 * sysdeps/powerpc/soft-fp/sfp-machine.h
11808 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11809 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11810 Likewise.
11811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11812 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11814 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11815 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11816 Likewise.
11817
fbfdf9cb
DAS
118182014-02-12 Dylan Alex Simon <dylan@dylex.net>
11819
11820 [BZ #16545]
11821 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11822 model 1.
11823
68b7efaa
RH
118242014-02-12 Richard Henderson <rth@redhat.com>
11825
c70a4b1d 11826 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
11827 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11828 * sysdeps/unix/sysv/linux/alpha: Move directory from
11829 ports/sysdeps/unix/sysv/linux/alpha.
11830 * README: Update listing for alpha-*-linux-gnu.
11831
cb4a2928
JM
118322014-02-11 Joseph Myers <joseph@codesourcery.com>
11833
c941736c
JM
11834 * include/features.h: Update comment documenting feature test
11835 macros.
11836 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11837 _DEFAULT_SOURCE.
11838 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11839 (_SVID_SOURCE): Likewise.
11840 (_DEFAULT_SOURCE): Update description of default features.
11841 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11842 with _GNU_SOURCE.
11843 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11844 (S_ISVTX): Likewise.
11845 * manual/math.texi (Mathematical Constants): Likewise.
11846 * manual/signal.texi (Interrupted Primitives): Likewise.
11847 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11848 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11849 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11850 Don't refer to _SVID_SOURCE in warning text.
11851
e8d8d7ec
JM
11852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11853
cb4a2928
JM
11854 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11855 already defined.
11856 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11857 * sysdeps/mips/dl-lookup.c: Remove.
11858 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11859
7e6424e3
AK
118602014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11861
11862 [BZ #16447]
11863 * math/auto-libm-test-in: Add testcase for expl.
11864 * math/auto-libm-test-out: Regenerate.
11865 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11866 calculation of unsafe.
11867 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11868
75eff3fe
MS
118692014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11870
11871 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11872 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11873 ports/sysdeps/unix/sysv/linux/aarch64.
11874 * README: Update listing for aarch64*-*-linux-gnu.
11875
d35f1e80
WN
118762014-02-11 Will Newton <will.newton@linaro.org>
11877
11878 * manual/probes.texi (Mathematical Function Probes): Use
11879 "triggered" instead of "hit".
11880
7b3436d4
WN
11881 * manual/probes.texi (Internal Probes): Add documentation
11882 of setjmp, longjmp and longjmp_target probes.
11883
b4f12ca3
WN
11884 * include/stap-probe.h: Add comment about probe argument
11885 format.
11886
c13a72b7
WN
11887 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11888 definition. (tr_where, tr_freehook, tr_mallochook,
11889 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11890
195b8165
DM
118912014-02-11 David S. Miller <davem@davemloft.net>
11892
11893 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11894 processing int_tests.
11895
2ad7600b
JM
118962014-02-10 Joseph Myers <joseph@codesourcery.com>
11897
11898 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11899 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11900 * sysdeps/unix/sysv/linux/mips: Move directory from
11901 ports/sysdeps/unix/sysv/linux/mips.
11902 * README: Update listing for mips-*-linux-gnu and
11903 mips64-*-linux-gnu.
11904
73588a72
AS
119052014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11906
11907 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11908 * sysdeps/unix/sysv/linux/m68k: Move directory from
11909 ports/sysdeps/unix/sysv/linux/m68k.
11910 * README: Update listing for m68k-*-linux-gnu.
11911
4372980f
CM
119122014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11913
11914 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11915 * sysdeps/unix/sysv/linux/generic: Move directory from
11916 ports/sysdeps/unix/sysv/linux/generic.
11917 * sysdeps/unix/sysv/linux/tile: Move directory from
11918 ports/sysdeps/unix/sysv/linux/tile.
11919 * README: Update listing for tile*-*-linux-gnu.
11920
a1ffb40e
OB
119212014-02-10 Ondřej Bílka <neleai@seznam.cz>
11922
57f41c40
AS
11923 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11924 __builtin_expect.
a1ffb40e
OB
11925 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11926 * catgets/open_catalog.c (__open_catalog): Likewise.
11927 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11928 * debug/confstr_chk.c: Likewise.
11929 * debug/fread_chk.c (__fread_chk): Likewise.
11930 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11931 * debug/getgroups_chk.c: Likewise.
11932 * debug/mbsnrtowcs_chk.c: Likewise.
11933 * debug/mbsrtowcs_chk.c: Likewise.
11934 * debug/mbstowcs_chk.c: Likewise.
11935 * debug/memcpy_chk.c: Likewise.
11936 * debug/memmove_chk.c: Likewise.
11937 * debug/mempcpy_chk.c: Likewise.
11938 * debug/memset_chk.c: Likewise.
11939 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11940 * debug/strcat_chk.c (__strcat_chk): Likewise.
11941 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11942 * debug/strncat_chk.c (__strncat_chk): Likewise.
11943 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11944 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11945 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11946 * debug/wcpncpy_chk.c: Likewise.
11947 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11948 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11949 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11950 * debug/wcsncpy_chk.c: Likewise.
11951 * debug/wcsnrtombs_chk.c: Likewise.
11952 * debug/wcsrtombs_chk.c: Likewise.
11953 * debug/wcstombs_chk.c: Likewise.
11954 * debug/wmemcpy_chk.c: Likewise.
11955 * debug/wmemmove_chk.c: Likewise.
11956 * debug/wmempcpy_chk.c: Likewise.
11957 * debug/wmemset_chk.c: Likewise.
11958 * dirent/scandirat.c (SCANDIRAT): Likewise.
11959 * dlfcn/dladdr1.c (dladdr1): Likewise.
11960 * dlfcn/dladdr.c (dladdr): Likewise.
11961 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11962 * dlfcn/dlerror.c (__dlerror): Likewise.
11963 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11964 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11965 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11966 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11967 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11968 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11969 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11970 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11971 Likewise.
11972 * elf/dl-conflict.c: Likewise.
11973 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11974 * elf/dl-dst.h: Likewise.
11975 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11976 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11977 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11978 * elf/dl-init.c (call_init, _dl_init): Likewise.
11979 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
11980 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11981 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11982 Likewise.
a1ffb40e
OB
11983 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11984 Likewise.
11985 * elf/dl-minimal.c (__libc_memalign): Likewise.
11986 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11987 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11988 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11989 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
11990 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11991 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
11992 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11993 * elf/dl-writev.h (_dl_writev): Likewise.
11994 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
11995 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11996 (dl_main): Likewise.
a1ffb40e
OB
11997 * elf/setup-vdso.h (setup_vdso): Likewise.
11998 * grp/compat-initgroups.c (compat_call): Likewise.
11999 * grp/fgetgrent.c (fgetgrent): Likewise.
12000 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12001 * grp/putgrent.c (putgrent): Likewise.
12002 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12003 Likewise.
12004 * hurd/hurdinit.c: Likewise.
12005 * iconvdata/8bit-gap.c (struct): Likewise.
12006 * iconvdata/ansi_x3.110.c : Likewise.
12007 * iconvdata/big5.c : Likewise.
12008 * iconvdata/big5hkscs.c : Likewise.
12009 * iconvdata/cp1255.c: Likewise.
12010 * iconvdata/cp1258.c : Likewise.
12011 * iconvdata/cp932.c : Likewise.
12012 * iconvdata/euc-cn.c: Likewise.
12013 * iconvdata/euc-jisx0213.c : Likewise.
12014 * iconvdata/euc-jp.c: Likewise.
12015 * iconvdata/euc-jp-ms.c : Likewise.
12016 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12017 * iconvdata/gb18030.c : Likewise.
12018 * iconvdata/gbbig5.c (const): Likewise.
12019 * iconvdata/gbgbk.c: Likewise.
12020 * iconvdata/gbk.c : Likewise.
12021 * iconvdata/ibm1364.c : Likewise.
12022 * iconvdata/ibm930.c : Likewise.
12023 * iconvdata/ibm932.c: Likewise.
12024 * iconvdata/ibm933.c : Likewise.
12025 * iconvdata/ibm935.c : Likewise.
12026 * iconvdata/ibm937.c : Likewise.
12027 * iconvdata/ibm939.c : Likewise.
12028 * iconvdata/ibm943.c: Likewise.
12029 * iconvdata/iso_11548-1.c: Likewise.
12030 * iconvdata/iso-2022-cn.c : Likewise.
12031 * iconvdata/iso-2022-cn-ext.c : Likewise.
12032 * iconvdata/iso-2022-jp-3.c: Likewise.
12033 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12034 * iconvdata/iso-2022-kr.c : Likewise.
12035 * iconvdata/iso646.c (gconv_end): Likewise.
12036 * iconvdata/iso_6937-2.c : Likewise.
12037 * iconvdata/iso_6937.c : Likewise.
12038 * iconvdata/iso8859-1.c: Likewise.
12039 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12040 * iconvdata/shift_jisx0213.c : Likewise.
12041 * iconvdata/sjis.c : Likewise.
12042 * iconvdata/t.61.c : Likewise.
12043 * iconvdata/tcvn5712-1.c : Likewise.
12044 * iconvdata/tscii.c: Likewise.
12045 * iconvdata/uhc.c : Likewise.
12046 * iconvdata/unicode.c (gconv_end): Likewise.
12047 * iconvdata/utf-16.c (gconv_end): Likewise.
12048 * iconvdata/utf-32.c (gconv_end): Likewise.
12049 * iconvdata/utf-7.c (base64): Likewise.
12050 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12051 * iconv/gconv_close.c (__gconv_close): Likewise.
12052 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12053 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12054 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12055 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12056 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12057 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12058 * iconv/iconv.c (iconv): Likewise.
12059 * iconv/iconv_close.c: Likewise.
12060 * iconv/loop.c (SINGLE): Likewise.
12061 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12062 * include/atomic.h: Likewise.
12063 * inet/inet6_option.c (option_alloc): Likewise.
12064 * intl/bindtextdom.c (set_binding_values): Likewise.
12065 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12066 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12067 * intl/localealias.c (read_alias_file): Likewise.
12068 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12069 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12070 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12071 * libio/fmemopen.c (fmemopen): Likewise.
12072 * libio/iofgets.c (_IO_fgets): Likewise.
12073 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12074 * libio/iofgetws.c (fgetws): Likewise.
12075 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12076 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12077 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12078 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12079 * locale/findlocale.c (_nl_find_locale): Likewise.
12080 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12081 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12082 Likewise.
12083 * locale/setlocale.c (setlocale): Likewise.
12084 * login/programs/pt_chown.c (main): Likewise.
12085 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12086 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12087 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12088 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12089 * math/e_exp2l.c: Likewise.
12090 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12091 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12092 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12093 * math/s_catan.c (__catan): Likewise.
12094 * math/s_catanf.c (__catanf): Likewise.
12095 * math/s_catanh.c (__catanh): Likewise.
12096 * math/s_catanhf.c (__catanhf): Likewise.
12097 * math/s_catanhl.c (__catanhl): Likewise.
12098 * math/s_catanl.c (__catanl): Likewise.
12099 * math/s_ccosh.c (__ccosh): Likewise.
12100 * math/s_ccoshf.c (__ccoshf): Likewise.
12101 * math/s_ccoshl.c (__ccoshl): Likewise.
12102 * math/s_cexp.c (__cexp): Likewise.
12103 * math/s_cexpf.c (__cexpf): Likewise.
12104 * math/s_cexpl.c (__cexpl): Likewise.
12105 * math/s_clog10.c (__clog10): Likewise.
12106 * math/s_clog10f.c (__clog10f): Likewise.
12107 * math/s_clog10l.c (__clog10l): Likewise.
12108 * math/s_clog.c (__clog): Likewise.
12109 * math/s_clogf.c (__clogf): Likewise.
12110 * math/s_clogl.c (__clogl): Likewise.
12111 * math/s_csin.c (__csin): Likewise.
12112 * math/s_csinf.c (__csinf): Likewise.
12113 * math/s_csinh.c (__csinh): Likewise.
12114 * math/s_csinhf.c (__csinhf): Likewise.
12115 * math/s_csinhl.c (__csinhl): Likewise.
12116 * math/s_csinl.c (__csinl): Likewise.
12117 * math/s_csqrt.c (__csqrt): Likewise.
12118 * math/s_csqrtf.c (__csqrtf): Likewise.
12119 * math/s_csqrtl.c (__csqrtl): Likewise.
12120 * math/s_ctan.c (__ctan): Likewise.
12121 * math/s_ctanf.c (__ctanf): Likewise.
12122 * math/s_ctanh.c (__ctanh): Likewise.
12123 * math/s_ctanhf.c (__ctanhf): Likewise.
12124 * math/s_ctanhl.c (__ctanhl): Likewise.
12125 * math/s_ctanl.c (__ctanl): Likewise.
12126 * math/w_pow.c: Likewise.
12127 * math/w_powf.c: Likewise.
12128 * math/w_powl.c: Likewise.
12129 * math/w_scalb.c (sysv_scalb): Likewise.
12130 * math/w_scalbf.c (sysv_scalbf): Likewise.
12131 * math/w_scalbl.c (sysv_scalbl): Likewise.
12132 * misc/error.c (error_tail): Likewise.
12133 * misc/pselect.c (__pselect): Likewise.
12134 * nis/nis_callback.c (__nis_create_callback): Likewise.
12135 * nis/nis_call.c (__nisfind_server): Likewise.
12136 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12137 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12138 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12139 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12140 * nis/nis_lookup.c (nis_lookup): Likewise.
12141 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12142 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12143 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12144 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12145 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12146 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12147 * nis/nss_compat/compat-initgroups.c (add_group)
12148 (internal_getgrent_r): Likewise.
12149 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12150 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12151 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12152 (internal_getspnam_r): Likewise.
12153 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12154 (_nss_nis_getaliasbyname_r): Likewise.
12155 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12156 (_nss_nis_getntohost_r): Likewise.
12157 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12158 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12159 (_nss_nis_getgrgid_r): Likewise.
12160 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12161 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12162 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12163 (_nss_nis_gethostbyname4_r): Likewise.
12164 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12165 (initgroups_netid): Likewise.
a1ffb40e 12166 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12167 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12168 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12169 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12170 (_nss_nis_getprotobynumber_r): Likewise.
12171 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12172 (_nss_nis_getsecretkey): Likewise.
12173 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12174 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12175 (_nss_nis_getpwuid_r): Likewise.
12176 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12177 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12178 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12179 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12180 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12181 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12182 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12183 Likewise.
57f41c40
AS
12184 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12185 (_nss_nisplus_getntohost_r): Likewise.
12186 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12187 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12188 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12189 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12190 Likewise.
57f41c40
AS
12191 * nis/nss_nisplus/nisplus-initgroups.c
12192 (_nss_nisplus_initgroups_dyn): Likewise.
12193 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12194 (_nss_nisplus_getnetbyaddr_r): Likewise.
12195 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12196 (_nss_nisplus_getprotobynumber_r): Likewise.
12197 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12198 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12199 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12200 Likewise.
57f41c40
AS
12201 * nis/nss_nisplus/nisplus-service.c
12202 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12203 (_nss_nisplus_getservbyport_r): Likewise.
12204 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12205 (_nss_nisplus_getspnam_r): Likewise.
12206 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12207 Likewise.
a1ffb40e
OB
12208 * nscd/aicache.c (addhstaiX): Likewise.
12209 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
12210 * nscd/connections.c (register_traced_file, send_ro_fd)
12211 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12212 (main_loop_epoll): Likewise.
a1ffb40e
OB
12213 * nscd/grpcache.c (addgrbyX): Likewise.
12214 * nscd/hstcache.c (addhstbyX): Likewise.
12215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12216 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
12217 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12218 (addinnetgrX): Likewise.
12219 * nscd/nscd-client.h (__nscd_acquire_maplock)
12220 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
12221 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12222 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12223 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12224 Likewise.
12225 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12226 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
12227 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12228 (__nscd_get_map_ref): Likewise.
a1ffb40e 12229 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
12230 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12231 Likewise.
a1ffb40e
OB
12232 * nscd/pwdcache.c (addpwbyX): Likewise.
12233 * nscd/selinux.c (preserve_capabilities): Likewise.
12234 * nscd/servicescache.c (addservbyX): Likewise.
12235 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12236 * posix/fnmatch.c (fnmatch): Likewise.
12237 * posix/getopt.c (_getopt_internal_r): Likewise.
12238 * posix/glob.c (glob, glob_in_dir): Likewise.
12239 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12240 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12241 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12242 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12243 * resolv/res_init.c: Likewise.
12244 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12245 * resolv/res_query.c (__libc_res_nquery): Likewise.
12246 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12247 Likewise.
12248 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12249 * stdio-common/perror.c (perror): Likewise.
12250 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12251 * stdio-common/tmpnam.c (tmpnam): Likewise.
12252 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12253 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12254 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12255 Likewise.
a1ffb40e
OB
12256 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12257 * stdlib/putenv.c (putenv): Likewise.
12258 * stdlib/setenv.c (__add_to_environ): Likewise.
12259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12260 * stdlib/strtol_l.c (INTERNAL): Likewise.
12261 * string/memmem.c (memmem): Likewise.
12262 * string/strerror.c (strerror): Likewise.
12263 * string/strnlen.c (__strnlen): Likewise.
12264 * string/test-memmem.c (simple_memmem): Likewise.
12265 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12266 * sunrpc/pm_getport.c (__get_socket): Likewise.
12267 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12268 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12269 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12270 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12271 Likewise.
12272 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12273 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12274 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12275 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12276 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12277 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12278 Likewise.
12279 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12280 Likewise.
a1ffb40e
OB
12281 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12282 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12283 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12284 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12285 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12287 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12288 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12289 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12290 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12291 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12292 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12293 Likewise.
12294 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12295 Likewise.
12296 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12297 Likewise.
12298 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12300 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12301 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12302 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12303 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12304 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12312 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
12313 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12314 Likewise.
a1ffb40e
OB
12315 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12316 Likewise.
12317 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12318 Likewise.
12319 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12320 Likewise.
12321 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12323 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12324 Likewise.
12325 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12326 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12327 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12328 * sysdeps/posix/sleep.c: Likewise.
12329 * sysdeps/posix/tempname.c: Likewise.
12330 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12331 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12332 Likewise.
57f41c40
AS
12333 * sysdeps/powerpc/powerpc32/dl-machine.h
12334 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
12335 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12336 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12337 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12338 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12339 Likewise.
12340 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12342 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12343 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12344 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12345 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12346 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12347 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12348 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12349 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12351 (elf_machine_lazy_rel): Likewise.
a1ffb40e 12352 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12354 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12355 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12356 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12357 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12358 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12359 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12360 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12361 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12362 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12363 Likewise.
12364 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12365 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12366 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12367 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12368 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12369 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12370 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12371 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12372 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12373 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12374 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12375 Likewise.
12376 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12377 (__posix_fallocate64_l64): Likewise.
12378 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12379 (posix_fallocate): Likewise.
57f41c40
AS
12380 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12381 Likewise.
a1ffb40e 12382 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
12383 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12384 (getifaddrs_internal): Likewise.
a1ffb40e
OB
12385 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12386 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12387 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12388 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12389 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12390 (__posix_fallocate64_l64): Likewise.
12391 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12392 Likewise.
12393 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
12394 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12395 (__get_clockfreq): Likewise.
a1ffb40e
OB
12396 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12397 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12398 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12399 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12400 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12401 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12402 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12403 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12404 Likewise.
12405 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12406 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12407 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12408 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12409 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12410 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12411 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12412 Likewise.
12413 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12414 (posix_fallocate): Likewise.
12415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12416 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12417 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12418 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12419 (elf_machine_rela, elf_machine_rela_relative)
12420 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12421 * time/asctime.c (asctime_internal): Likewise.
12422 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12423 * time/tzset.c (__tzset_parse_tz): Likewise.
12424 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12425 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12426 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12427 * wcsmbs/wcsmbsload.h: Likewise.
12428
f3d338c9
OB
12429 [BZ #15894]
12430 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12431
57f41c40
AS
12432 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12433 (arena_get2): Remove THREAD_STATS conditionals.
12434 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12435 (__malloc_stats, int): Likewise.
bdfe308a 12436
d674667c
MF
124372014-02-08 Mike Frysinger <vapier@gentoo.org>
12438
12439 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12440 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12441
6349768c
MF
12442 * manual/setjmp.texi: Fix typos/grammar errors.
12443
0b7c7473
MF
12444 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12445 Only return early when n is <= 0. Delete unused return statement.
12446
ac8cc9e3
MF
12447 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12448 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12449 * debug/tst-longjmp_chk3.c: New file.
12450
c5bb8e23
MF
12451 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12452 (test_main): Replace code with set_fortify_handler call.
12453 * debug/test-strcpy_chk.c: Likewise.
12454 * debug/tst-chk1.c: Likewise.
12455 * debug/tst-longjmp_chk.c: Likewise.
12456 * test-skeleton.c: Include fcntl.h & paths.h
12457 (set_fortify_handler): Define.
12458
10444e42
MF
12459 * debug/tst-longjmp_chk.c: Add header comment and include
12460 ../test-skeleton.c.
12461 (do_test): Mark static.
12462 (TEST_FUNCTION): Define.
12463
1e805e8d
MF
12464 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12465 (IP_PMTUDISC_INTERFACE): Likewise.
12466 (IP_MULTICAST_IF): Likewise.
12467 (IP_MULTICAST_TTL): Likewise.
12468 (IP_MULTICAST_LOOP): Likewise.
12469 (IP_ADD_MEMBERSHIP): Likewise.
12470 (IP_DROP_MEMBERSHIP): Likewise.
12471 (IP_UNBLOCK_SOURCE): Likewise.
12472 (IP_BLOCK_SOURCE): Likewise.
12473 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12474 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12475 (IP_MSFILTER): Likewise.
12476 (MCAST_JOIN_GROUP): Likewise.
12477 (MCAST_BLOCK_SOURCE): Likewise.
12478 (MCAST_UNBLOCK_SOURCE): Likewise.
12479 (MCAST_LEAVE_GROUP): Likewise.
12480 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12481 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12482 (MCAST_MSFILTER): Likewise.
12483 (IP_MULTICAST_ALL): Likewise.
12484 (IP_UNICAST_IF): Likewise.
12485
73f79bb7
MF
12486 * timezone/Makefile: Delete $(have-ksh) check.
12487 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12488 * timezone/tzselect.ksh: Add +x mode bits.
12489
8da79b60
MF
12490 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12491 (ANON_INODE_FS_MAGIC): Likewise.
12492 (BDEVFS_MAGIC): Likewise.
12493 (BINFMTFS_MAGIC): Likewise.
12494 (BTRFS_TEST_MAGIC): Likewise.
12495 (CRAMFS_MAGIC_WEND): Likewise.
12496 (DEBUGFS_MAGIC): Likewise.
12497 (ECRYPTFS_SUPER_MAGIC): Likewise.
12498 (EXT3_SUPER_MAGIC): Likewise.
12499 (EXT4_SUPER_MAGIC): Likewise.
12500 (FUTEXFS_SUPER_MAGIC): Likewise.
12501 (HOSTFS_SUPER_MAGIC): Likewise.
12502 (HUGETLBFS_MAGIC): Likewise.
12503 (MINIX3_SUPER_MAGIC): Likewise.
12504 (MTD_INODE_FS_MAGIC): Likewise.
12505 (NILFS_SUPER_MAGIC): Likewise.
12506 (OPENPROM_SUPER_MAGIC): Likewise.
12507 (PIPEFS_MAGIC): Likewise.
12508 (PSTOREFS_MAGIC): Likewise.
12509 (QNX6_SUPER_MAGIC): Likewise.
12510 (RAMFS_MAGIC): Likewise.
12511 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12512 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12513 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12514 (SECURITYFS_MAGIC): Likewise.
12515 (SELINUX_MAGIC): Likewise.
12516 (SMACK_MAGIC): Likewise.
12517 (SOCKFS_MAGIC): Likewise.
12518 (SQUASHFS_MAGIC): Likewise.
12519 (STACK_END_MAGIC): Likewise.
12520 (TMPFS_MAGIC): Likewise.
12521 (USBDEVICE_SUPER_MAGIC): Likewise.
12522 (V9FS_MAGIC): Likewise.
12523 (XENFS_SUPER_MAGIC): Likewise.
12524 (CRAMFS_MAGIC): Fix typo in comment.
12525 (EXT2_SUPER_MAGIC): Update comment.
12526 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12527
464263cc
JM
125282014-02-08 Joseph Myers <joseph@codesourcery.com>
12529
c6bfe5c4
JM
12530 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12531 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12532 * sysdeps/unix/sysv/linux/arm: Move directory from
12533 ports/sysdeps/unix/sysv/linux/arm.
12534 * README: Update listing for arm-*-linux-gnueabi.
12535
464263cc
JM
12536 * README: Remove mention of am33.
12537
32749f6c
RM
125382014-02-07 Roland McGrath <roland@hack.frob.com>
12539
12540 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12541 than the comma operator, to avoid "rhs of comma has no effect"
12542 compiler warnings.
12543 (__sigfillset, __sigandset, __sigorset): Likewise.
12544 * include/signal.h (__sigemptyset): Likewise.
12545 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12546
d5b396c1
AM
125472014-02-07 Allan McRae <allan@archlinux.org>
12548
12549 * version.h (RELEASE): Set to "development".
12550 (VERSION): Set to "2.19.90"
12551 * NEWS: Add 2.20 section.
12552
3bfff2ed
CD
125532014-02-06 Carlos O'Donell <carlos@redhat.com>
12554
12555 [BZ #16529]
12556 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12557
ee7cc385
SP
125582014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12559
12560 * manual/contrib.texi: Update entry for Carlos O'Donell,
12561 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12562
f877c4f2
CD
125632014-02-05 Carlos O'Donell <carlos@rehdat.com>
12564
27e839f6
CD
12565 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12566
f877c4f2
CD
12567 * sysdeps/unix/sysv/linux/kernel-features.h
12568 [__LINUX_KERNEL_VERSION >= 0x020621]
12569 (__ASSUME_PROC_PID_TASK_COMM): Define.
12570
68159946
SP
125712014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12572
ba17cdbd
SP
12573 [BZ #16398]
12574 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12575 conversion when destination buffer does not have enough space.
12576 * libio/tst-ftell-partial-wide.c: New test case.
12577 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12578
68159946
SP
12579 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12580 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12581 Leonard and Allan McRae.
12582
2b528732
DM
125832014-02-04 David S. Miller <davem@davemloft.net>
12584
12585 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12586 32-bit.
12587
0ff82463
AZ
125882014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12589
57f41c40
AS
12590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12591 New file
c01603f7
AZ
12592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12593 New file
57f41c40
AS
12594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12595 New file.
12596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12597 New file.
c01603f7
AZ
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12599 New file.
57f41c40
AS
12600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12601 New file.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12603 New file.
c01603f7
AZ
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12605 New file.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12607 New file.
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12609 New file.
12610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12611 New file.
12612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12613 New file.
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12615 New file.
12616
126172014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12618
0ff82463
AZ
12619 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12620 * shlib-versions: Likewise.
12621
1695c773
AZ
126222014-02-04 Roland McGrath <roland@hack.frob.com>
12623 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12624
12625 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12626 (abilist-pattern): New variable, set to %-le.abilist.
12627
12628 * Makerules (abilist-pattern): New variable.
12629 (vpath): Use $(abilist-pattern) in place of %.abilist.
12630 (check-abi-% pattern rule): Likewise.
12631 (check-abi, update-abi): Likewise.
12632
6c0ce4b4
EW
126332014-02-04 Eric Wong <normalperson@yhbt.net>
12634
12635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12636
481e3524
CD
126372014-02-03 Carlos O'Donell <carlos@redhat.com>
12638
12639 * manual/startup.texi: Add next, previous, and top entries for
12640 the `Program Arguments' and `Environment Variables' nodes.
12641
375592d3
AO
126422014-02-03 Alexandre Oliva <aoliva@redhat.com>
12643
12644 * manual/macros.texi: Add comments before MTASC-safety macros.
12645
f54838ba
AO
12646 * manual/users.texi: Document MTASC-safety properties.
12647
57f41c40
AS
12648 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12649 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
12650 @deftypefun, and add @safety note.
12651 * manual/signal.texi: Move comments that analyze the above
12652 functions to their home place.
12653
fd3daba4
AM
126542014-02-03 Allan McRae <allan@archlinux.org>
12655
12656 * po/sl.po: Update Slovenian translation from translation project.
12657
597636d7
AO
126582014-02-02 Alexandre Oliva <aoliva@redhat.com>
12659
12660 * manual/time.texi (timegm): Add missing blank after @c.
12661 Reported by Joseph Myers <joseph@codesourcery.com>.
12662
ee196e3c
AO
126632014-02-01 Alexandre Oliva <aoliva@redhat.com>
12664
12665 * manual/check-safety.sh: New.
12666 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12667
f8d529d5
AO
12668 * manual/terminal.texi: Document MTASC-safety properties.
12669
de55fdf4
AO
12670 * manual/filesys.texi: Document MTASC-safety properties.
12671
c3299c08
AO
12672 * manual/errno.texi: Document MTASC-safety properties.
12673
06e90b14
AO
12674 * manual/intro.texi: Document safety identifiers and
12675 conditionals.
12676
1acd4371
AO
12677 * manual/string.texi (wcstok): Fix prototype.
12678 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12679
23e5b8cb
AO
12680 * manual/time.texi: Document MTASC-safety properties.
12681
11087373
AO
12682 * manual/string.texi: Document MTASC-safety properties.
12683
5da2c93d
AO
12684 * manual/threads.texi: Document MTASC-safety properties.
12685
171e9210
AO
12686 * manual/stdio.texi: Document MTASC-safety properties.
12687
d9e02532
AO
12688 * manual/syslog.texi: Document MTASC-safety properties.
12689
6af8bab7
AO
12690 * manual/sysinfo.texi: Document MTASC-safety properties.
12691
663b02d7
AO
12692 * manual/startup.texi: Document MTASC-safety properties.
12693
973f180b
AO
12694 * manual/socket.texi: Document MTASC-safety properties.
12695
8f3c25c8
AO
12696 * manual/signal.texi: Document MTASC-safety properties.
12697
542210fb
AO
126982014-01-31 Alexandre Oliva <aoliva@redhat.com>
12699
12700 * manual/setjmp.texi: Document MTASC-safety properties.
12701
433c45a2
AO
12702 * manual/search.texi: Document MTASC-safety properties.
12703
c8ce789c
AO
12704 * manual/resource.texi: Document MTASC-safety properties.
12705
19f5d29c
AO
12706 * manual/process.texi: Document MTASC-safety properties.
12707
e2dfb7f4
AO
12708 * manual/platform.texi: Document MTASC-safety properties.
12709
8c1413f5
AO
12710 * manual/pipe.texi: Document MTASC-safety properties.
12711
03483ada
AO
12712 * manual/pattern.texi: Document MTASC-safety properties.
12713
29e7e2df
AO
12714 * manual/message.texi: Document MTASC-safety properties.
12715
9f529d7c
AO
12716 [BZ #12751]
12717 * manual/memory.texi: Document MTASC-safety properties.
12718
27aaa791
AO
12719 * manual/math.texi: Document MTASC-safety properties.
12720
f2d58726
AO
12721 * manual/locale.texi: Document MTASC-safety properties.
12722
2cc3615c
AO
12723 * manual/llio.texi: Document MTASC-safety properties.
12724
d9f0ec97
AO
12725 * manual/libdl.texi: New.
12726
e7c4409a
AO
12727 * manual/lang.texi: Document MTASC-safety properties.
12728
27bdc63c
AO
12729 * manual/job.texi: Document MTASC-safety properties.
12730
a7b90ea9
AO
12731 * manual/getopt.texi: Document MTASC-safety properties.
12732
c49130e3
AO
12733 * manual/ctype.texi: Document MTASC-safety properties.
12734
0d23a5c1
MR
127352014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12736
12737 [BZ #16046]
12738 * csu/libc-tls.c (static_map): Remove variable.
12739 (__libc_setup_tls): Use main executable's link map for TLS data.
12740 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12741 casing for LM_ID_BASE and GL(dl_nns).
12742 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12743 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12744 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12745 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12746 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12747 member.
12748 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12749 l_phnum members.
12750
0037bb60
AO
127512014-01-30 Alexandre Oliva <aoliva@redhat.com>
12752
12753 * manual/debug.texi: Document MTASC-safety properties.
12754
409e00bd
L
127552014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12756
12757 [BZ #16510]
12758 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12759 of __x86_64__ when disabling x87 inline functions.
12760
86e60666
AO
127612014-01-29 Alexandre Oliva <aoliva@redhat.com>
12762
12763 * manual/charset.texi: Document MTASC-safety properties.
12764
76167637
AO
12765 * manual/crypt.texi: Document MTASC-safety properties.
12766
e567f2a0
AO
12767 * manual/conf.texi: Document MTASC-safety properties.
12768
b719dafd
AO
12769 * manual/arith.texi: Document MTASC-safety properties.
12770
4a16c662
AO
12771 * manual/argp.texi: Document MTASC-safety properties.
12772
0a57b83e
AO
12773 * manual/macros.texi: Introduce macros to document multi
12774 thread, asynchronous signal and asynchronous cancellation
12775 safety properties.
12776 * manual/intro.texi: Introduce the properties themselves.
12777
feab2397
KK
127782014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12779
12780 * sysdeps/sh/sh4/Makefile: New file.
12781
1c0d11bc
AS
127822014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12783
12784 * math/gen-libm-test.pl ($srcdir): New variable.
12785 ($auto_input): Use it.
12786
af37a8a3
SP
127872014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12788
d7b00f98
SP
12789 [BZ #16506]
12790 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12791 access beyond array bounds when parsing netgroups file.
12792
af37a8a3
SP
12793 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12794 the old buffer before realloc.
12795
0c00f062
AM
127962014-01-27 Allan McRae <allan@archlinux.org>
12797
12798 * po/fr.po: Update French translation from translation project.
12799
7d69a1b0
KK
128002014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12801
12802 * sysdeps/sh/libm-test-ulps: Regenerate.
12803
6e697ff7
DM
128042014-01-24 David S. Miller <davem@davemloft.net>
12805
12806 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12807
9cadb35c
KK
128082014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12809
12810 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12811 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12812
5d41dadf
SP
128132013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12814
12815 [BZ #16474]
12816 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12817 string pointers after reallocation.
12818
0bad441c
KK
128192014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12820
12821 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12822 __SH4A__ instead of __SH_FPU_ANY__.
12823
7007c661
KK
128242014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12825
12826 * sysdeps/sh/fpu_control.h: New file.
12827 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12828 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12829 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12830 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12831 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12832 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12833 * sysdeps/sh/sys/ucontext.h: Remove.
12834 * sysdeps/sh/sys: Remove directory.
12835
0f0c35e4
AK
128362014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12837
12838 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12839 s390/sys/ucontext.h.
12840 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12841 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12842
4959e284
L
128432014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12844
12845 [BZ #15605]
12846 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12847
d98720e0
AZ
128482014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12849
12850 [BZ#16431]
12851 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12852 Adjust the vDSO correctly for internal calls.
12853 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12854
91cbd0bc
AM
128552014-01-20 Allan McRae <allan@archlinux.org>
12856
12857 * po/ca.po: Update Catalan translation from translation project.
12858
7a02cfad
MF
128592014-01-16 Mike Frysinger <vapier@gentoo.org>
12860
12861 * sysdeps/s390/sotruss-lib.c: New file.
12862
736c304a
AZ
128632014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12864
12865 [BZ#16430]
6e077ee5 12866 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
12867 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12868 local calls issues by not having a PLT stub required for IFUNC calls.
12869 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12870
94d0cea0
JM
128712014-01-16 Joseph Myers <joseph@codesourcery.com>
12872
12873 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12874 * math/test-fpucw-static.c: Likewise.
12875
980cb518
SP
128762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12877
12878 [BZ #16453]
12879 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12880
2393fc01
AZ
128812014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12882
12883 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12884 implementation for powerpc.
12885
d359bcc2
OB
128862014-01-15 Ondřej Bílka <neleai@seznam.cz>
12887
12888 [BZ #14782]
12889 * sysdeps/posix/system.c (__libc_system): Do not enable
12890 asynchronous cancellation.
12891
7beb48cb
AK
128922014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12893
12894 [BZ #16427]
12895 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12896 handling only for numbers special also in the IEEE case.
12897
c20d5bf5
AK
128982014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12899
12900 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12901
e83bd4ee
AM
129022014-01-11 Allan McRae <allan@archlinux.org>
12903
76d0ea69
AM
12904 * po/bg.po: Update Bulgarian translation from translation project.
12905
e83bd4ee
AM
12906 * po/de.po: Update German translation from translation project.
12907
bc2ba20a
RM
129082014-01-10 Roland McGrath <roland@hack.frob.com>
12909
12910 * sysdeps/generic/gcc-compat.h: New file.
12911
649ecea2
SP
129122014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12913
12914 * benchtests/asin-inputs: Correct slow inputs.
12915 * benchtests/acos-inputs: Likewise.
12916
1b19c006
AM
129172014-01-10 Allan McRae <allan@archlinux.org>
12918
a46dab08
AM
12919 * po:sv.po: Update Swedish translation from translation project.
12920
421df74a
AM
12921 * po/vi.po: Update Vietnamese translation from translation project.
12922
d61c51a7
AM
12923 * po/eo.po: Update Esperanto translation from translation project.
12924
0339a319
AM
12925 * po/cs.po: Update Czech translation from translation project.
12926
94ad3e99
AM
12927 * po/nl.po: Update Dutch translation from translation project.
12928
e349ca71
AM
12929 * po/pl.po: Update Polish translation from translation project.
12930
ddf930c1
AM
12931 * po/ru.po: Update Russian translation from translation project.
12932
1b19c006
AM
12933 * po/uk.po: Update Ukrainian translation from translation project.
12934
9f236c49
BM
129352014-01-08 Brooks Moses <bmoses@google.com>
12936
12937 * elf/dl-load.c: Fix comment typo.
12938
cd6701cf
CD
129392014-01-08 Carlos O'Donell <carlos@redhat.com>
12940
12941 * po/header.pot: Rename to...
12942 * po/pot.header: ... this.
12943 * po/Makefile: Use pot.header.
12944
66671c84
YK
129452014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12946 Maxim Kuvyrkov <maxim@kugelworks.com>
12947
12948 [BZ #16394]
cd6701cf
CD
12949 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12950 SRC and DEST against LEN.
66671c84 12951
38f34581
AZ
129522014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12953
12954 [BZ #16414]
12955 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12956 implementation.
12957 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12958
129592014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
12960
12961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12962
4c327f2a
JM
129632014-01-08 Joseph Myers <joseph@codesourcery.com>
12964
12965 [BZ #16408]
12966 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12967 for large positive arguments.
12968
b821f414
JM
129692014-01-07 Joseph Myers <joseph@codesourcery.com>
12970
1f0f2067
JM
12971 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12972
a5a326f6
JM
12973 * math/auto-libm-test-in: Mark various tests with
12974 xfail-rounding:ldbl-128ibm.
12975 * math/auto-libm-test-out: Regenerated.
12976
b821f414
JM
12977 [BZ #16407]
12978 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12979 Increase overflow threshold.
12980
94c8a4bc
OB
129812014-01-07 Ondřej Bílka <neleai@seznam.cz>
12982
12983 [BZ #14286]
12984 * stdio-common/vfprintf.c: Check for integer overflow.
12985
87ded0c3
AK
129862014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12987
12988 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12989 the first argument and return value of __tls_get_addr_internal.
12990
c5eebdd0
AK
129912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12992
12993 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12994 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12995
05d138ef
AK
129962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12997
12998 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12999 * sysdeps/s390/rtld-global-offsets.sym: New file.
13000 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13001 GLIBC_2.19 symbol.
13002 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13003 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13004 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13005 ... this.
13006 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13007 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13008 ... this.
13009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13010 Regenerate.
13011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13012 Regenerate.
13013 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13014 halfs of GPRs for high_gprs contexts.
13015 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13016 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13017 field.
13018 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13019 uc_flags field.
13020 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13021 64 bit versions:
13022 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13023 for high GPRs (uc_high_gprs) and for future extensions
13024 (__reserved).
13025 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13026 for future extensions (__reserved).
13027 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13028 64 bit versions:
13029 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13030 SC_HIGHGPRS offset definition.
13031 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13032 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13033
93a45ff1
AK
13034 * Versions.def: Add GLIBC_2.19 for libpthread.
13035 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13036 siglongjmp for libpthread with GLIBC_2.19 symver.
13037 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13038 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13039 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13040 * sysdeps/s390/__longjmp.c: New file.
13041 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13042 * sysdeps/s390/longjmp.c: New file.
13043 * sysdeps/s390/setjmp.S: New file.
13044 * sysdeps/s390/sigjmp.S: New file.
13045 * sysdeps/s390/v1-longjmp.c: New file.
13046 * sysdeps/s390/v1-setjmp.h: New file.
13047 * sysdeps/s390/v1-sigjmp.c: New file.
13048 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13049 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13050 GLIBC_2.19 version.
13051 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13052 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13053 versioned symbols for ____longjmp_chk.
13054 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13055 Likewise.
13056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13057 Regenerate.
13058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13059 Regenerate.
13060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13061 Regenerate.
13062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13063 Regenerate.
13064 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13065 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13066 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13067 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13068 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13069 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13070 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13071 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13072 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13073 * sysdeps/s390/rtld-__longjmp.c: New file.
13074 * sysdeps/s390/rtld-setjmp.S: New file.
13075
eb3fc44b
JM
130762014-01-06 Joseph Myers <joseph@codesourcery.com>
13077
13078 [BZ #16400]
13079 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13080 Return -__logl (x) for small positive arguments without evaluating
13081 a polynomial.
13082
9341dde4
MF
130832014-01-06 Mike Frysinger <vapier@gentoo.org>
13084
13085 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13086 Rename to ...
13087 (__ptrace_peeksiginfo_args): ... this.
13088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13090 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13091
4cff0293
AM
130922014-01-06 Allan McRae <allan@archlinux.org>
13093
13094 * inet/netinet/in.h: Fix typo in comment.
13095
75595dcf
AJ
130962014-01-05 Andreas Jaeger <aj@suse.de>
13097
13098 * sysdeps/i386/fpu/libm-test-ulps: Update.
13099
79c1e109
AM
131002014-01-05 Allan McRae <allan@archlinux.org>
13101
dd804818
AM
13102 * po/libc.pot: Regenerated.
13103
79c1e109
AM
13104 * malloc/memusagestat.c: Fix gettext call formatting.
13105
0c813d1f
SK
131062014-01-04 Sami Kerola <kerolasa@iki.fi>
13107
13108 * nscd/nscd.c: Improve usage() output.
13109
20f4a8d9
MF
131102014-01-04 Mike Frysinger <vapier@gentoo.org>
13111
13112 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13113 * sysdeps/unix/sysv/linux/configure: Regenerated.
13114 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13115 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13116
22562bb2
JM
131172014-01-03 Joseph Myers <joseph@codesourcery.com>
13118
13119 [BZ #16390]
13120 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13121 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13122
d7ad2d9b
AZ
131232014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13124
13125 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13126 extra tokens at end of #undef directive.
13127 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13128 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13129 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13130
7dd009d8
JM
131312014-01-03 Joseph Myers <joseph@codesourcery.com>
13132
24db925a
JM
13133 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13134
7dd009d8
JM
13135 * math/auto-libm-test-in: Mark various tests with
13136 xfail-rounding:ldbl-128ibm.
13137 * math/auto-libm-test-out: Regenerated.
13138
396e3ecf
JM
131392014-01-02 Joseph Myers <joseph@codesourcery.com>
13140
819e5d50
JM
13141 [BZ #16386]
13142 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13143 numbers with subnormal high part when calculating exponent.
13144
90b6a1e5
JM
13145 [BZ #16385]
13146 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13147 fabs.
13148
396e3ecf
JM
13149 [BZ #16384]
13150 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13151 M_LN2l.
13152 (__ieee754_acoshl): Use __log1pl not __log1p.
13153
6c8dbf00
OB
131542013-01-02 Ondřej Bílka <neleai@seznam.cz>
13155
57f41c40
AS
13156 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13157 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13158 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13159 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13160 (reused_arena, arena_get2): Convert to GNU style.
13161 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13162 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13163 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13164 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13165 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13166 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13167 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13168 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13169 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13170 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13171 * malloc/malloc.h: Likewise.
57f41c40
AS
13172 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13173 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13174 * malloc/mcheck.h: Likewise.
57f41c40
AS
13175 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13176 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13177 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13178 * malloc/morecore.c (__default_morecore): Likewise.
13179 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13180 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13181 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13182 (print_and_abort): Likewise.
6c8dbf00
OB
13183 * malloc/obstack.h: Likewise.
13184 * malloc/set-freeres.c (__libc_freeres): Likewise.
13185 * malloc/tst-mallocstate.c (main): Likewise.
13186 * malloc/tst-mtrace.c (main): Likewise.
13187 * malloc/tst-realloc.c (do_test): Likewise.
13188
d4124212
SP
131892013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13190
9a3c6a6f
SP
13191 [BZ #16366]
13192 * nscd/netgroupcache.c (do_notfound): New function.
13193 (addgetnetgrentX): Use it.
13194
d4124212
SP
13195 [BZ # 16365]
13196 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13197 NSS_STATUS_NOTFOUND.
13198
97b9a009
JM
131992014-01-01 Joseph Myers <joseph@codesourcery.com>
13200
13201 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13203
d4697bc9
AM
132042014-01-01 Allan McRae <allan@archlinux.org>
13205
ddb3687f
AM
13206 * scripts/update-copyrights: Update configure input file suffix.
13207
88726d48
AM
13208 * NEWS: Update copyright year.
13209 * catgets/gencat.c: Likewise.
13210 * csu/version.c: Likewise.
13211 * debug/catchsegv.sh: Likewise.
13212 * debug/pcprofiledump.c: Likewise.
13213 * debug/xtrace.sh: Likewise.
13214 * elf/ldconfig.c: Likewise.
13215 * elf/ldd.bash.in: Likewise.
13216 * elf/pldd.c: Likewise.
13217 * elf/sotruss.ksh: Likewise.
13218 * elf/sprof.c: Likewise.
13219 * iconv/iconv_prog.c: Likewise.
13220 * iconv/iconvconfig.c: Likewise.
13221 * locale/programs/locale.c: Likewise.
13222 * locale/programs/localedef.c: Likewise.
13223 * login/programs/pt_chown.c: Likewise.
13224 * malloc/memusage.sh: Likewise.
13225 * malloc/memusagestat.c: Likewise.
13226 * malloc/mtrace.pl: Likewise.
13227 * manual/libc.texinfo: Likewise.
13228 * nscd/nscd.c: Likewise.
13229 * nss/getent.c: Likewise.
13230 * nss/makedb.c: Likewise.
13231 * posix/getconf.c: Likewise.
13232 * scripts/test-installation.pl: Likewise.
13233
d4697bc9
AM
13234 * All files with FSF copyright notices: Update copyright dates
13235 using scripts/update-copyrights.
13236 * intl/plural.c: Regenerated.
13237 * locale/programs/charmap-kw.h: Likewise.
13238 * locale/programs/locfile-kw.h: Likewise.
13239
c8590f9d
MF
132402013-12-31 Mike Frysinger <vapier@gentoo.org>
13241
13242 * sysdeps/unix/sysv/linux/configure: Regenerated.
13243 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13244 the linux/fanotify.h header.
13245 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13246 HAVE_LINUX_FANOTIFY_H is defined.
13247
b19221b9
SP
132482013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13249
dd1d85e5
SP
13250 * benchtests/cos-inputs: New inputs.
13251 * benchtests/sin-inputs: Likewise.
13252
1acbb90f
SP
13253 * benchtests/atan-inputs: New inputs. Fix name of multiple
13254 precision fallback inputs.
13255
4c012ed3
SP
13256 * benchtests/atanh-inputs: New inputs.
13257 * benchtests/tanh-inputs: Likewise.
13258
eff98324
SP
13259 * benchtests/acosh-inputs: New inputs.
13260 * benchtests/asinh-inputs: Likewise.
13261
ce641152
SP
13262 * benchtests/cosh-inputs: New inputs.
13263 * benchtests/sinh-inputs: Likewise.
13264
b19221b9
SP
13265 * benchtests/acos-inputs: Add more inputs.
13266 * benchtests/asin-inputs: Likewise.
13267
030a4976 132682013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13269
030a4976 13270 [BZ #16375]
9dcc8f11
VS
13271 * manual/arith.texi: Fix spelling.
13272 * manual/charset.texi: Likewise.
13273 * manual/errno.texi: Likewise.
13274 * manual/filesys.texi: Likewise.
13275 * manual/lang.texi: Likewise.
13276 * manual/llio.texi: Likewise.
13277 * manual/locale.texi: Likewise.
13278 * manual/message.texi: Likewise.
13279 * manual/resource.texi: Likewise.
13280 * manual/search.texi: Likewise.
13281 * manual/setjmp.texi: Likewise.
13282 * manual/stdio.texi: Likewise.
13283 * manual/string.texi: Likewise.
13284 * manual/sysinfo.texi: Likewise.
13285 * manual/time.texi: Likewise.
13286
11520a57
CD
132872013-12-27 Carlos O'Donell <carlos@redhat.com>
13288
13289 * po/sl.po: New file.
13290
471103ae
MF
132912013-12-27 Mike Frysinger <vapier@gentoo.org>
13292
13293 * .gitignore: Add core/.gdbinit/.gdb_history.
13294
6c9642ed
AM
132952013-12-27 Allan McRae <allan@archlinux.org>
13296
13297 [BZ #16369]
13298 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13299 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13300
3f637079
BM
133012013-12-24 Brooks Moses <bmoses@google.com>
13302
13303 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13304 all compilers that claim C++98 compliance, not just GCC.
13305 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13306 Likewise.
13307
abc26e99
MK
133082013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13309
13310 * NEWS: Restore accidentally deleted bug-fix entries.
13311
362b47fe
MK
133122013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13313 Ondřej Bílka <neleai@seznam.cz>
13314
13315 [BZ #15073]
13316 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 13317 have_lock.
362b47fe 13318
b9bcbbcb
OB
133192013-12-23 Ondřej Bílka <neleai@seznam.cz>
13320
13321 [BZ #12986]
13322 * manual/stdio.texi (String Input Conversions): Clarify that character
13323 classes are not supported.
13324
fb55fcd2
AZ
133252013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13326
13327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13328
ef7344f0
JM
133292013-12-22 Joseph Myers <joseph@codesourcery.com>
13330
4f40e4b3
JM
13331 [BZ #16337]
13332 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13333 Calculate results for small negative arguments directly rather
13334 than using reflection formula with special underflow handling.
13335
ef7344f0
JM
13336 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13337 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13338 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13339 (fchflags): Likewise.
13340 (revoke): Likewise.
13341 (setlogin): Likewise.
13342 (sigaltstack): Likewise.
13343 (wait4): Likewise.
13344 (sigblock): Remove.
13345 (sigsetmask): Likewise.
13346 (wait3): Likewise.
13347 (waitpid): Likewise.
13348 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13349 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13350 file.
13351 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13352 * sysdeps/unix/bsd/Makefile: ... here.
13353 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13354 * sysdeps/unix/bsd/Versions: ... here.
13355 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13356 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13357 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13358 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13359 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13360 * sysdeps/unix/bsd/sigblock.c: ... here.
13361 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13362 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13363 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13364 * sysdeps/unix/bsd/sigvec.c: ... here.
13365 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13366 * sysdeps/unix/bsd/tcdrain.c: ... here.
13367 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13368 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13369 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13370 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13371 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13372 * sysdeps/unix/bsd/wait.c: ... here.
13373 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13374 * sysdeps/unix/bsd/wait3.c: ... here.
13375 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13376 * sysdeps/unix/bsd/waitpid.c: ... here.
13377
5b0626b9
JM
133782013-12-21 Joseph Myers <joseph@codesourcery.com>
13379
13380 [BZ #16356]
13381 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13382 round-to-nearest for [!USE_AS_EXPM1L].
13383 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13384 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13385 more tests of exp and exp10. Expect some exp10 tests to miss
13386 exceptions or fail in directed rounding modes.
13387 * math/auto-libm-test-out: Regenerated.
13388 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13389 (exp10_test_tonearest): New function.
13390 (exp10_towardzero_test_data): New array.
13391 (exp10_test_towardzero): New function.
13392 (exp10_downward_test_data): New array.
13393 (exp10_test_downward): New function.
13394 (exp10_upward_test_data): New array.
13395 (exp10_test_upward): New function.
13396 (main): Call the new functions.
13397 * sysdeps/i386/fpu/libm-test-ulps: Update.
13398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13399
7fda5682
JM
134002013-12-20 Joseph Myers <joseph@codesourcery.com>
13401
31e3a405
JM
13402 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13403 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13404 * math/auto-libm-test-out: Regenerated.
13405 * math/libm-test.inc (acosh_test_data): Add more tests.
13406 (atanh_test_data): Likewise.
13407 (ceil_test_data): Likewise.
13408 (copysign_test_data): Likewise.
13409 * sysdeps/i386/fpu/libm-test-ulps: Update.
13410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13411
85bff96a
JM
13412 * timezone/checktab.awk: Update from tzcode 2013i.
13413 * timezone/private.h: Likewise.
13414 * timezone/scheck.c: Likewise.
13415 * timezone/tzfile.h: Likewise.
13416 * timezone/tzselect.ksh: Likewise.
13417 * timezone/zdump.c: Likewise.
13418 * timezone/zic.c: Likewise.
13419
b7867a3b
JM
13420 * math/auto-libm-test-in: Add tests of cpow.
13421 * math/auto-libm-test-out: Regenerated.
13422 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 13423 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
13424 mpc_cc_c.
13425 (func_calc_desc): Add mpc_cc_c union field.
13426 (test_functions): Add cpow.
13427 (special_fill_2pi): New function.
13428 (special_real_inputs): Add 2pi.
13429 (calc_generic_results): Handle mpc_cc_c.
13430 * sysdeps/i386/fpu/libm-test-ulps: Update.
13431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13432
7fda5682
JM
13433 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13434 csqrt, ctan and ctanh.
13435 * math/auto-libm-test-out: Regenerated.
13436 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13437 (TEST_COND_x86): Likewise.
13438 (ccos_test_data): Use AUTO_TESTS_c_c.
13439 (ccosh_test_data): Likewise.
13440 (cexp_test_data): Likewise.
13441 (clog_test_data): Likewise.
13442 (csqrt_test_data): Likewise.
13443 (ctan_test_data): Likewise.
13444 (ctan_tonearest_test_data): Likewise.
13445 (ctan_towardzero_test_data): Likewise.
13446 (ctan_downward_test_data): Likewise.
13447 (ctan_upward_test_data): Likewise.
13448 (ctanh_test_data): Likewise.
13449 (ctanh_tonearest_test_data): Likewise.
13450 (ctanh_towardzero_test_data): Likewise.
13451 (ctanh_downward_test_data): Likewise.
13452 (ctanh_upward_test_data): Likewise.
13453 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13454 mpc_c_c.
13455 (func_calc_desc): Add mpc_c_c union field.
13456 (FUNC_mpc_c_c): New macro.
13457 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13458 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13459 ctanh.
13460 (special_fill_min_subnorm_p120): New function.
13461 (special_real_inputs): Add min_subnorm_p120.
13462 (calc_generic_results): Handle mpc_c_c.
13463 * sysdeps/i386/fpu/libm-test-ulps: Update.
13464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13465
5ff8d60e
SP
134662013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13467
57f41c40
AS
13468 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13469 (do_sin_slow): New functions.
13470 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13471 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 13472
84ba214c
SP
13473 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13474 Use M to change sign of result instead of X. Assume X is
13475 positive.
13476 (csloww1): Likewise.
13477 (__sin): Adjust.
13478 (__cos): Adjust.
13479
975195e4
SP
13480 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13481 arguments A and DA.
13482 (__sin): Adjust.
13483 (__cos): Likewise.
13484
5ff8d60e
SP
13485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13486 (__cos): Likewise.
13487 (sloww1): Don't adjust sign of DX.
13488 (csloww1): Likewise.
13489 (sloww2): Use X directly and don't adjust sign of DX.
13490 (csloww2): Likewise.
13491
eb983568
JM
134922013-12-19 Joseph Myers <joseph@codesourcery.com>
13493
64a17f1a
JM
13494 * math/auto-libm-test-in: Add tests of cabs and carg.
13495 * math/auto-libm-test-out: Regenerated.
13496 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13497 (carg_test_data): Likewise.
13498 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13499 mpc_c_f.
13500 (func_calc_desc): Add mpc_c_f union field.
13501 (test_functions): Add cabs and carg.
13502 (calc_generic_results): Handle mpc_c_f.
13503
eb983568
JM
13504 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13505 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13506 as a macro and a compat symbol.
13507 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13508 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13509 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13510 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13511 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13512 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13513 not use .hidden.
13514 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13515 Likewise.
13516 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13517 Likewise.
13518 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13519 Likewise.
13520 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13521 Likewise.
13522 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13523 Likewise.
13524 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13525 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13526 from GLIBC_2.3.2.
13527
6eeb678a
AZ
135282013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13529
13530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13531
6f6fc482
JM
135322013-12-19 Joseph Myers <joseph@codesourcery.com>
13533
21fea2e2
JM
13534 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13535 trailing whitespace removed.
13536 * scripts/config.guess: Update to version 2013-11-29.
13537 * scripts/config.sub: Update to version 2013-10-01.
13538
6f6fc482
JM
13539 * math/auto-libm-test-in: Add tests of sincos.
13540 * math/auto-libm-test-out: Regenerated.
13541 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13542 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13543 mpfr_f_11.
13544 (func_calc_desc): Add mpfr_f_11 union field.
13545 (test_functions): Add sincos.
13546 (calc_generic_results): Handle mpfr_f_11.
13547 * sysdeps/i386/fpu/libm-test-ulps: Update.
13548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13549
83f5c32d
AS
135502013-12-19 Andreas Schwab <schwab@suse.de>
13551
13552 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13553 CALL_MCOUNT.
13554 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13555 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13556 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13557
c688b419
JM
135582013-12-19 Joseph Myers <joseph@codesourcery.com>
13559
335ee092
JM
13560 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13561 * sysdeps/i386/fpu/libm-test-ulps: Update.
13562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13563
f88acd39
JM
13564 [BZ #16293]
13565 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13566 round-to-nearest mode when using frndint.
13567 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13568 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13569 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13570 Likewise.
13571 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13572 sinh test to fail.
13573 * math/auto-libm-test-out: Regenerated.
13574 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13575 (TEST_COND_x86): Likewise.
13576 (expm1_tonearest_test_data): New array.
13577 (expm1_test_tonearest): New function.
13578 (expm1_towardzero_test_data): New array.
13579 (expm1_test_towardzero): New function.
13580 (expm1_downward_test_data): New array.
13581 (expm1_test_downward): New function.
13582 (expm1_upward_test_data): New array.
13583 (expm1_test_upward): New function.
13584 (main): Run the new test functions.
13585 * sysdeps/i386/fpu/libm-test-ulps: Update.
13586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13587
c688b419
JM
13588 * include/features.h: Update comment documenting feature test
13589 macros. Mention _DEFAULT_SOURCE in comment.
13590 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13591 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13592 _BSD_SOURCE and _SVID_SOURCE.
13593 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13594 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13595 !_SVID_SOURCE]: Likewise.
13596 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13597 (__USE_POSIX_IMPLICITLY): Define.
13598 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13599 (_POSIX_SOURCE): Undefine and redefine.
13600 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13601 (_POSIX_C_SOURCE): Likewise.
13602 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13603 (Feature Test Macros): Update documentation of default features.
13604
9f6e964c
RS
136052013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13606
13607 * benchtests/Makefile: Add bench-strtok.
13608 * benchtests/bench-strtok.c: New file: strtok benchtest.
13609
ee0a148a
AM
136102013-12-19 Allan McRae <allan@archlinux.org>
13611
13612 * manual/install.texi: Suppress menu for plain text output.
13613 * INSTALL: Regenerated.
13614
b9ab448f
BM
136152013-12-18 Brooks Moses <bmoses@google.com>
13616
13617 [BZ #15846]
13618 * misc/getauxval.c: Include errno.h.
13619 (__getauxval): Set errno to ENOENT if the requested type is not
13620 found.
13621 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13622 don't declare with __attribute_const__.
13623 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13624 * manual/startup.texi: Document that getauxval sets errno.
13625
23776487
JM
136262013-12-18 Joseph Myers <joseph@codesourcery.com>
13627
f889953b
JM
13628 * math/auto-libm-test-in: Add tests of jn and yn.
13629 * math/auto-libm-test-out: Regenerated.
13630 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13631 (yn_test_data): Likewise.
13632 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13633 mpfr_if_f.
13634 (func_calc_desc): Add mpfr_if_f union field.
13635 (FUNC_mpfr_if_f): New macro.
13636 (test_functions): Add jn and yn.
13637 (calc_generic_results): Assert type of second input for
13638 mpfr_ff_f. Handle mpfr_if_f.
13639 (output_for_one_input_case): Disable all checking for arguments
13640 fitting floating-point types in case of an integer argument.
13641 * sysdeps/i386/fpu/libm-test-ulps: Update.
13642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13643
23776487
JM
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13645 Don't expect fegetround reference in libm.so.
13646
cb756c6d
MS
136472013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13648
13649 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13650 $(config-cflags-nofma).
13651
2dec468f
JM
136522013-12-18 Joseph Myers <joseph@codesourcery.com>
13653
5953eb3a
JM
13654 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13655 * math/auto-libm-test-out: Regenerated.
13656
2dec468f
JM
13657 [BZ #16338]
13658 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13659 to determine exponent and adjust argument to have exponent of -1.
13660 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13661 log2.
13662 * math/auto-libm-test-out: Regenerated.
13663 * sysdeps/i386/fpu/libm-test-ulps: Update.
13664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13665
4d84e6ad
OB
136662013-12-18 Ondřej Bílka <neleai@seznam.cz>
13667
13668 * manual/probes.texi: Remove cases when per-thread arenas are
13669 disabled.
13670
1818483b
AS
136712013-12-18 Andreas Schwab <schwab@suse.de>
13672
13673 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13674 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13675 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13676 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13677 * sysdeps/i386/i686/multiarch/Makefile: Update.
13678 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13679
25de95bf
JM
136802013-12-17 Joseph Myers <joseph@codesourcery.com>
13681
13682 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13683 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13684
674762d9
PE
136852013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13686
ed27ed83 13687 [BZ #15968]
0748546f
PE
13688 Support TZ transition times < 00:00:00.
13689 This is needed for version-3 tz-format files; it supports time
13690 stamps past 2037 for America/Godthab (the only entry in the tz
13691 database for which this change is relevant).
13692 * manual/time.texi (TZ Variable): Document transition times
13693 from -167:59:59 through -00:00:01.
13694 * time/tzset.c (tz_rule): Time of day is now signed.
13695 (__tzset_parse_tz): Parse negative time of day.
13696
4480e934
PE
13697 Document TZ transition times >= 25:00:00.
13698 * manual/time.texi (TZ Variable): Document transition times from
13699 25:00:00 through 167:59:59. These are already supported, and this
13700 support will help with version-3 tz-format files.
13701
69947401
PE
13702 * manual/time.texi (TZ Variable): Modernize North America example
13703 to reflect current (i.e., 2007-and-later) daylight saving rules.
13704
674762d9
PE
13705 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13706
7011c262
JM
137072013-12-17 Joseph Myers <joseph@codesourcery.com>
13708
2fc6557e
JM
13709 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13710 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13713 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13714 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13715 * sysdeps/unix/bsd/clock.c: Likewise.
13716 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13717 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13718 * sysdeps/unix/bsd/init-posix.c: Likewise.
13719 * sysdeps/unix/bsd/poll.c: Likewise.
13720 * sysdeps/unix/bsd/ptsname.c: Likewise.
13721 * sysdeps/unix/bsd/seekdir.c: Likewise.
13722 * sysdeps/unix/bsd/setegid.c: Likewise.
13723 * sysdeps/unix/bsd/seteuid.c: Likewise.
13724 * sysdeps/unix/bsd/setgid.c: Likewise.
13725 * sysdeps/unix/bsd/setrgid.c: Likewise.
13726 * sysdeps/unix/bsd/setruid.c: Likewise.
13727 * sysdeps/unix/bsd/setsid.c: Likewise.
13728 * sysdeps/unix/bsd/setuid.c: Likewise.
13729 * sysdeps/unix/bsd/sigaction.c: Likewise.
13730 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13731 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13732 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13733 * sysdeps/unix/bsd/telldir.c: Likewise.
13734 * sysdeps/unix/bsd/times.c: Likewise.
13735 * sysdeps/unix/bsd/usleep.c: Likewise.
13736
029c7b25
JM
13737 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13738 ($(objpfx)libbsd-compat.a): Remove rule.
13739
7011c262
JM
13740 * include/features.h (__FAVOR_BSD): Do not define.
13741 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13742 features conflicting with POSIX.
13743 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13744 (_BSD_SOURCE): Remove description of not being a subset of other
13745 feature test macros.
13746 * manual/job.texi (getpgrp): Do not document BSD version.
13747 (getpgid): Do not document by reference to BSD getpgrp.
13748 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13749 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13750 * signal/signal.h [__FAVOR_BSD]: Likewise.
13751 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13752 instead of making contents conditional on [__FAVOR_BSD].
13753 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13754
affb6f78
AZ
137552013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13756
13757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13758
c88769dd
JM
137592013-12-17 Joseph Myers <joseph@codesourcery.com>
13760
6432a540
JM
13761 [BZ #16314]
13762 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13763 values below 2**-450, not 2**-500.
13764 * math/auto-libm-test-in: Don't allow spurious underflow from
13765 hypot.
13766 * math/auto-libm-test-out: Regenerated.
13767
c88769dd
JM
13768 [BZ #16316]
13769 [BZ #16330]
13770 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13771 values of ha and hb and sort them after adjusting subnormal
13772 arguments.
13773 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13774 Likewise.
13775 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13776 values of ea and eb and sort them after adjusting subnormal
13777 arguments.
13778 * math/auto-libm-test-in: Do not expect some hypot tests of
13779 subnormals to fail. Add more hypot tests.
13780 * math/auto-libm-test-out: Regenerated.
13781
29618f6b
KK
137822013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13783
13784 [BZ #13304]
13785 * sysdeps/sh/s_fma.c: New file.
13786 * sysdeps/sh/s_fmaf.c: New file.
13787 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13788 version.
13789 * sysdeps/sh/Implies: Add sh/soft-fp.
13790
eacfdfbf
RM
137912013-12-16 Roland McGrath <roland@hack.frob.com>
13792
13793 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13794 level of indirection to members `objname', `errstring', `malloced'.
13795 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13796 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13797 it as the __longjmp argument (just pass 1 instead).
13798 (_dl_catch_error): Initialize C with argument pointers and address of
13799 volatile local ERRCODE rather than copying values out of C at return.
13800
ff362e5b
JM
138012013-12-16 Joseph Myers <joseph@codesourcery.com>
13802
13803 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13804 * math/auto-libm-test-out: Regenerated.
13805 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13806 (hypot_test_data): Likewise.
13807 (pow_test_data): Likewise.
13808 (pow_tonearest_test_data): Likewise.
13809 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13810 mpfr_ff_f.
13811 (func_calc_desc): Add mpfr_ff_f union field.
13812 (FUNC_mpfr_ff_f): New macro.
13813 (test_functions): Add atan2, hypot and pow.
13814 (special_fill_min): New function.
13815 (special_fill_minus_min): Likewise.
13816 (special_fill_min_subnorm): Likewise.
13817 (special_fill_minus_min_subnorm): Likewise.
13818 (special_real_inputs): Add min, -min, min_subnorm and
13819 -min_subnorm.
13820 (calc_generic_results): Handle mpfr_ff_f.
13821 * sysdeps/i386/fpu/libm-test-ulps: Update.
13822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13823
5764c27f
WN
138242013-12-16 Will Newton <will.newton@linaro.org>
13825
13826 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13827 (Aligned Memory Blocks): Add documentation for aligned_alloc
13828 and suggest it as an alternative to posix_memalign.
13829 (Hooks for Malloc): Document __memalign_hook is also called
13830 for aligned_alloc. (Summary of Malloc): Add summary for
13831 aligned alloc. Document __memalign_hook is also called
13832 for aligned_alloc.
13833
0a096e44
WN
138342013-12-16 Will Newton <will.newton@linaro.org>
13835
13836 * manual/memory.texi (Malloc Examples): Clarify default
13837 alignment documentation. Suggest posix_memalign rather
13838 than memalign or valloc.
13839 (Aligned Memory Blocks): Remove suggestion to use memalign
13840 or valloc. Remove obsolete comment about BSD.
13841 Document memalign errno values and mark the function obsolete.
13842 Document posix_memalign returned error codes. Mark valloc
13843 as obsolete. (Hooks for Malloc): __memalign_hook is also
13844 called for posix_memalign and valloc.
13845 (Summary of Malloc): Add posix_memalign to function summary.
13846 __memalign_hook is also called for posix_memalign and valloc.
13847
8d561986
SP
138482013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13849
13850 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13851 TAYLOR_SIN.
13852 (__sin): Adjust.
13853 (__cos): Likewise.
13854 (sloww): Use mynumber union. Expand ternary operator into
13855 if-else statements.
13856 (cslow): use mynumber union.
13857
73616a74
AM
138582013-12-16 Allan McRae <allan@archlinux.org>
13859
9e8ac24b
AM
13860 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13861 * configure: Regenerated.
13862
6f8e37eb
AM
13863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13864
8894bad3
AM
13865 [BZ #14120]
13866 * configure.ac: Added --enable-maintainer-mode. Check for
13867 autoconf when enabled.
13868 * configure: Regenerated.
13869
73616a74
AM
13870 * nscd/nscd.service: New file.
13871 * nscd/nscd.tmpfiles: New file.
13872
584b18eb
OB
138732013-12-14 Ondřej Bílka <neleai@seznam.cz>
13874
13875 [BZ #12100]
13876 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13877 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13878 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13879 (strstr): Add __strstr_sse2_unaligned ifunc.
13880 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13881 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13882 (strcasestr): Remove __strcasestr_sse42 ifunc.
13883 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13886
8a5c7897
KK
138872013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13888
13889 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13890 * sysdeps/sh/bits/fenv.h: ... here.
13891 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13892
fd712ef3
AZ
138932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13894
13895 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13896
42fcb46c
AZ
13897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13898 hypotf multiarch implementations.
13899 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13900 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13901 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13902 multiarch hypot for PPC64.
13903 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13904 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13905 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13906 multiarch hypotf for PPC64.
13907
83efded4
AZ
13908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13909 modff multiarch implementations.
13910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13913 multiarch modf for PPC64.
13914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13917 multiarch modff for PPC64.
13918
43e246d2
AZ
13919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13920 and logl multiarch implementations.
13921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13924 multiarch logb for PPC64.
13925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13928 multiarch logb for PPC64.
13929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13932 multiarch logb for PPC64.
13933
8fdad123
AZ
13934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13935 isinff multiarch implementation.
13936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13937 file.
13938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13940 multiarch isinf for PPC64.
13941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13942 file.
13943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13944 multiarch isinff for PPC64.
13945
1481d706
AZ
13946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13947 finitef multiarch implementation.
13948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13949 file.
13950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13952 multiarch finite for PPC64.
13953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13954 file.
13955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13956 multiarch finitef for PPC64.
13957
5ccd5fc8
AZ
13958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13959 lrint multiarch implementation.
13960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13961 file.
13962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13964 multiarch llrint for PPC64.
13965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13966 multiarch lrint for PPC64.
13967
2568f3fa
AZ
13968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13969 copysignf multiarch implementation.
13970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13971 file.
13972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13973 file.
13974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13975 multiarch copysign for PPC64.
13976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13977 multiarch copysignf for PPC64.
13978
1cb341fd
AZ
13979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13980 multiarch implementation.
13981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13982 file.
13983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13984 file.
13985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13986 file.
13987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13988 file.
13989 multiarch llround for PPC64.
13990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13991 multiarch trunc for PPC64.
13992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13993 multiarch truncf for PPC64.
13994
59a3e194
AZ
13995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13996 multiarch implementation.
13997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13998 file.
13999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14000 file.
14001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14002 file.
14003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14004 file.
14005 multiarch llround for PPC64.
14006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14007 multiarch round for PPC64.
14008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14009 multiarch roundf for PPC64.
14010
357fd3b4
AZ
14011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14012 multiarch implementation.
14013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14014 file.
14015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14016 file.
14017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14018 file.
14019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14020 file.
14021 multiarch llround for PPC64.
14022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14023 multiarch floor for PPC64.
14024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14025 multiarch floorf for PPC64.
14026
96770f12
AZ
14027 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14028 multiarch implementation.
14029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14030 file.
14031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14032 file.
14033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14034 file.
14035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14036 file.
14037 multiarch llround for PPC64.
14038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14039 multiarch ceil for PPC64.
14040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14041 multiarch ceilf for PPC64.
14042
c3627f6e
AZ
14043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14044 multiarch implementation.
14045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14046 file.
14047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14048 file.
14049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14050 file.
14051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14052 multiarch llround for PPC64.
14053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14054 multiarch lround for PPC64.
14055
b2284ad7
AZ
14056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14057 multiarch implementation.
14058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14061 file.
14062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14065 multiarch isnan for PPC64.
14066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14067 multiarch isnanf for PPC64.
14068
69bbc63d
AZ
14069 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14070 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14071 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14072 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14073 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14075
c24517c9
AZ
14076 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14077 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14079 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14080
a52374e8
AZ
14081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14082 multiarch implementations.
14083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14084 (__libc_ifunc_impl_list): Likewise.
14085 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14086 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14087 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14088 multiarch stpcpy for PPC64.
14089
7f5ec113
AZ
14090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14091 multiarch implementations.
14092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14093 (__libc_ifunc_impl_list): Likewise.
14094 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14095 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14096 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14097 multiarch strcpy for PPC64.
14098
e28bcd42
AZ
14099 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14100 redefine function name.
14101 (_wordcopy_fwd_dest_aligned): Likewise.
14102 (_wordcopy_bwd_aligned): Likewise.
14103 (_wordcopy_bwd_dest_aligned): Likewise.
14104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14105 multiarch implementations.
14106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14107 (__libc_ifunc_impl_list): Likewise.
14108 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14109 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14110 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14111 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14112 multiarch wcscpy for PPC64.
14113
92cacfce
AZ
14114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14115 multiarch implementations.
14116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14117 (__libc_ifunc_impl_list): Likewise.
14118 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14119 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14120 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14121 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14122 multiarch wcscpy for PPC64.
14123
7b714620
AZ
14124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14125 multiarch implementations.
14126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14127 (__libc_ifunc_impl_list): Likewise.
14128 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14129 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14130 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14131 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14132 multiarch wcsrchr for PPC64.
14133
16fd2ae3
AZ
14134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14135 multiarch implementations.
14136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14137 (__libc_ifunc_impl_list): Likewise.
14138 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14139 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14140 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14141 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14142 multiarch wcschr for PPC64.
14143
9ee2969b
AZ
14144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14145 multiarch implementations.
14146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14147 (__libc_ifunc_impl_list): Likewise.
14148 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14149 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14150 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14151 multiarch strchrnul for PPC64.
14152
372dc060
AZ
14153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14154 implementations.
14155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14156 (__libc_ifunc_impl_list): Likewise.
14157 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14158 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14159 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14160 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14161 strchr for PPC64.
14162
24c2c3b9
AZ
14163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14164 implementations.
14165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14166 (__libc_ifunc_impl_list): Likewise.
14167 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14168 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14169 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14170 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14171 strncmp for PPC64.
14172
1c92d9a0
AZ
14173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14174 multiarch implementations.
14175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14176 (__libc_ifunc_impl_list): Likewise.
14177 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14178 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14179 strncasecmp for PPC64.
14180 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14181 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14182 multiarch strncasecmp_l for PPC64.
14183
17de3ee3
AZ
14184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14185 multiarch implementations.
14186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14187 (__libc_ifunc_impl_list): Likewise.
14188 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14189 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14190 multiarch strcasecmp for PPC64.
14191 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14192 file.
14193 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14194 multiarch strcasecmp_l for PPC64.
14195
62982bf9
AZ
14196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14197 implementations.
14198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14199 (__libc_ifunc_impl_list): Likewise.
14200 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14201 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14202 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14203 strnlen for PPC64.
14204
a65f4904
AZ
14205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14206 implementations.
14207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14208 (__libc_ifunc_impl_list): Likewise.
14209 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14210 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14211 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14212 strlen for PPC64.
14213
1fd005ad
AZ
14214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14215 implementations.
14216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14217 (__libc_ifunc_impl_list): Likewise.
14218 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14219 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14220 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14221 rawmemrchr for PPC64.
14222
cd05ba91
AZ
14223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14224 implementation.
14225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14226 (__libc_ifunc_impl_list): Likewise.
14227 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14228 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14229 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14230 memrchr for PPC64.
14231
870f8676
AZ
14232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14233 implementation.
14234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14235 (__libc_ifunc_impl_list): Likewise.
14236 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14237 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14238 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14239 memchr for PPC64.
14240
f00be62b
AZ
14241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14242 implementation.
14243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14244 (__libc_ifunc_impl_list): Likewise.
14245 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14246 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14247 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14248 mempcpy for PPC64.
14249
8a29a3d0
AZ
14250 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14251 avoid cretion of __bzero symbol.
14252 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14253 Likewise.
14254 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14255 Likewise.
14256 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14257 Likewise.
14258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14259 multiarch implementations.
14260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14261 (__libc_ifunc_impl_list): Likewise.
14262 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14263 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14264 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14265 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14266 bzero for PPC32.
14267 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14268 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14269 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14270 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14271 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14272 memset for PPC64.
14273 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14274
07253fcf
AZ
14275 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14277 implementations.
14278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14279 (__libc_ifunc_impl_list): Likewise.
14280 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14281 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14282 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14283 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14284 memcmp for PPC64.
14285
b5beafbc
AZ
14286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14287 multiarch for POWER/PPC64.
14288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14289 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14290 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14291 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14292 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14293 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14294 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14295 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14296 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14297 memcpy for PPC64.
14298
5e6a4d4b
AZ
14299 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14300 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14301 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14302 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14303 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14304 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14305 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14306 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14307 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14308 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14309 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14310 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14311 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14312 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14313 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14321
ddfab6dc
KK
143222013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14323
14324 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14325
19b5525e
SP
143262013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14327
14328 * benchtests/Makefile (bench): Add exp2 and log2.
14329 (LDLIBS-bench-exp2): Add -lm.
14330 (LDLIBS-bench-log2): Likewise.
14331 * benchtests/exp2-inputs: New inputs file.
14332 * benchtests/log2-inputs: New inputs file.
14333 * benchtests/log-inputs: Add new inputs.
14334 * benchtests/tan-inputs: Likewise.
14335
196f7f5d
SP
143362013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14337
7a74607f
SP
14338 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14339 definition...
57f41c40
AS
14340 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14341 (csloww2): ... from here.
7a74607f 14342
196f7f5d
SP
14343 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14344 instead of structures.
14345 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14346 (POLYNOMIAL): Likewise.
14347 (TAYLOR_SLOW): Likewise.
14348 (__sin): Likewise.
14349 (__cos): Likewise.
14350 (slow1): Likewise.
14351 (slow2): Likewise.
14352 (sloww): Likewise.
14353 (sloww1); Likewise.
14354 (sloww2): Likewise.
14355 (bsloww1): Likewise.
14356 (bsloww2): Likewise.
14357 (cslow2): Likewise.
14358 (csloww): Likewise.
14359 (csloww1): Likewise.
14360 (csloww2): Likewise.
14361
0dfa665c
OB
143622013-12-10 Ondřej Bílka <neleai@seznam.cz>
14363
14364 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
14365 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14366 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
14367 * malloc/hooks.c (realloc_check): Likewise.
14368
5782a80f
OB
14369 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14370 * malloc/arena.c: Remove PER_THREAD conditional.
14371 [!PER_THREAD]: Remove code.
14372 (ptmalloc_unlock_all2): Likewise.
14373 (ptmalloc_init): Likewise.
14374 (_int_new_arena): Likewise.
14375 (arena_get2): Likewise.
14376 * malloc/hooks.c (__malloc_get_state): Likewise.
14377 (__malloc_set_state): Likewise.
14378 * malloc/malloc.c: Likewise.
14379 (struct malloc_state): Likewise.
14380 (struct malloc_par): Likewise.
14381 (__libc_realloc): Likewise.
14382 (__libc_mallopt): Likewise.
14383
aeb95445
AZ
143842013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14385
14386 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14387
e8349efd
OB
143882013-12-09 Ondřej Bílka <neleai@seznam.cz>
14389
14390 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14391 macro to a function. Check for zero perturb_byte.
14392 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14393
f3eeb3fc 14394 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
14395 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14396 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
14397 force_reg by atomic_forced_read.
14398 * malloc/arena.c (ptmalloc_init): Likewise.
14399 * malloc/hooks.c (top_check): Likewise.
14400
be2f9009
AZ
144012013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14402
14403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14404
e7b914bd
MT
144052013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14406
14407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14408
9f0be4f8
JM
144092013-12-08 Joseph Myers <joseph@codesourcery.com>
14410
14411 * math/auto-libm-test-in: Add tests of lgamma.
14412 * math/auto-libm-test-out: Regenerated.
14413 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14414 (M_LOG_2_SQRT_PIl): Likewise.
14415 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14416 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14417 mpfr_f_f1.
14418 (func_calc_desc): Add mpfr_f_f1 union field.
14419 (ARGS1): New macro.
14420 (ARGS2): Likewise.
14421 (ARGS3): Likewise.
14422 (ARGS4): Likewise.
14423 (RET1): Likewise.
14424 (RET2): Likewise.
14425 (CALC): Likewise.
14426 (FUNC): Likewise.
14427 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14428 (test_functions): Add lgamma.
14429 (calc_generic_results): Handle mpfr_f_f1.
14430 * sysdeps/i386/fpu/libm-test-ulps: Update.
14431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14432
24eeafdb
AZ
144332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14434
14435 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14436 __mpn_add_n for PowerPC64/POWER7.
14437 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14438 __mpn_sub_n for PowerPC64/POWER7.
14439
4a2c0fd4
AZ
14440 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14441 __mpn_addmul_1 for PowerPC64.
14442 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14443 __mpn_submul_1 for PowerPC64.
14444 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14445 for PowerPC64.
14446 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14447 for PowerPC64.
14448
4b5b548c
FS
144492013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14450
14451 [BZ #15089]
14452 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14453
0a3ac0aa
AZ
144542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14455
14456 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14457
ccdc8438
AZ
14458 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14459 add multiarch folders.
14460 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14461 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14462 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14463 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14464 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14465 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14466 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14467 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14468 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14469 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14470 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14477
2e973d99
AZ
14478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14479 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14481 New file.
14482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14483 New file.
14484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14485 multiarch __ieee754_hypot for PowerPC32.
14486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14487 New file.
14488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14489 New file.
14490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14491 multiarch __ieee754_hypotf for PowerPC32.
14492
2d9470b2
AZ
14493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14494 long_double_symbol only if __logbl is defined.
14495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14496 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14498 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14500 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14502 path for implementation.
14503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14504 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14506 logb, and logbl multiarch implementations for PowerPC32.
14507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14508 file.
14509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14510 file.
14511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14512 multiarch logb for PowerPC32.
14513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14514 file.
14515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14516 file.
14517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14518 multiarch logbf for PowerPC32.
14519 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14521 file.
14522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14523 multiarch logbl implementation for PowerPC32.
14524
5212ffce
AZ
14525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14526 and modff multiarch implementations.
14527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14528 New file.
14529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14530 New file.
14531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14532 multiarch modf for PowerPC32.
14533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14534 New file.
14535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14536 New file.
14537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14538 multiarch modff for PowerPC32.
14539
79dccf31
AZ
14540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14541 and lrintf multiarch implementations.
14542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14543 New file.
14544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14545 New file.
14546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14547 multiarch lrint for PowerPC32.
14548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14549 file: multiarch lrintf for PowerPC32.
14550
deb66480
AZ
14551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14552 and lroundf multiarch implementations.
14553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14554 New file.
14555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14556 New file.
14557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14558 New file.
14559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14560 multiarch lround for PowerPC32.
14561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14562 file: multiarch lroundf for PowerPC32.
14563
264b036b
AZ
14564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14565 copysign and copysignf multiarch implementations.
14566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14567 New file.
14568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14569 New file.
14570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14571 file: multiarch copysign for PowerPC32.
14572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14573 file: multiarch copysignf for PowerPC32.
14574
d47db6c9
AZ
14575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14576 and truncf multiarch implementations.
14577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14578 New file.
14579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14580 file.
14581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14582 multiarch trunc for PowerPC32.
14583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14584 New file.
14585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14586 New file.
14587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14588 multiarch truncf for PowerPC32.
14589
ddb60b5a
AZ
14590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14591 and roundf multiarch implementations.
14592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14593 New file.
14594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14595 file.
14596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14597 multiarch round for PowerPC32.
14598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14599 New file.
14600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14601 New file.
14602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14603 multiarch roundf for PowerPC32.
14604
bedcf49b
AZ
14605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14606 and floorf multiarch implementations.
14607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14608 New file.
14609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14610 file.
14611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14612 multiarch floor for PowerPC32.
14613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14614 New file.
14615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14616 New file.
14617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14618 multiarch floorf for PowerPC32.
14619
35ae5b40
AZ
14620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14621 and ceilf multiarch implementations.
14622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14623 New file.
14624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14625 file.
14626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14627 multiarch ceil for PowerPC32.
14628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14629 New file.
14630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14631 file.
14632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14633 multiarch ceilf for PowerPC32.
14634
ae1a4cd9
AZ
14635 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14636 is defined.
14637 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14638 FINITEF is defined.
14639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14640 and finitef multiarch implementations.
14641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14642 New file.
14643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14644 file.
14645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14646 multiarch finite for PowerPC32.
14647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14648 New file.
14649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14650 file: multiarch finitef for PowerPC32.
14651
64fffd65
AZ
14652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14653 and isinff multiarch implementations.
14654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14655 file.
14656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14657 file.
14658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14659 multiarch isinf for PowerPC32.
14660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14661 New file.
14662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14663 multiarch isinff for PowerPC32.
14664
8e4e7ba2
AZ
14665 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14666 alias when __isnan is defined.
14667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14668 and isnanf multiarch implementations.
14669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14670 file.
14671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14672 file.
14673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14674 file.
14675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14676 file.
14677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14678 multiarch isnan for PowerPC32.
14679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14680 New file.
14681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14682 New file.
14683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14684 multiarch isnanf for PowerPC32.
14685
ddba588e
AZ
14686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14687 and sqrtf multiarch implementations.
14688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14689 file.
14690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14691 file.
14692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14693 multiarch sqrt for PowerPC32.
14694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14695 file.
14696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14697 file.
14698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14699 multiarch sqrtf for PowerPC32.
14700
0f96a2f0
AZ
14701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14702 and llroundf multiarch implementations.
14703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14704 New file.
14705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14706 New file.
14707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14708 New file.
14709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14710 file: multiarch llround for PowerPC32.
14711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14712 file: multiarch llroundf for PowerPC32.
14713
c9b5d79e
AZ
14714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14715 multiarch PowerPC32 fpu implementations.
14716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14717 New file.
14718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14719 New file.
14720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14721 multiarch llrint for PowerPC32.
14722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14723 New file.
14724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14725 New file.
14726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14727 file.
14728
9cbb3aab
AZ
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14730
ea5a72f8
AZ
14731 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14732 file.
14733 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14734 file.
14735 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14736 file.
14737 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14738 multiarch wordcopy for PPC32.
14739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14740 wordcopy objects.
14741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14742 (__libc_ifunc_impl_list): Likewise.
14743 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14744 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14745 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14746 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14747 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14748 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14749
93be09e7
AZ
14750 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14752 file.
14753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14754 file.
14755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14756 file.
14757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14758 multiarch wcscpy for PPC32.
14759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14760 multiarch objects.
14761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14762 (__libc_ifunc_impl_list): Likewise.
14763 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14764 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14765 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14766 sysdeps/powerpc/power6/wcscpy.c.
14767
bb04e529
AZ
14768 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14770 file.
14771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14772 file.
14773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14774 file.
14775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14776 multiarch wcsrchr for PPC32.
14777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14778 multiarch objects.
14779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14780 (__libc_ifunc_impl_list): Likewise.
14781 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14782 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14783 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14784 sysdeps/powerpc/power6/wcsrchr.c.
14785
05b5cd1c
AZ
14786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14787 file.
14788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14789 file.
14790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14792 multiarch wcschr for PPc32.
14793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14794 multiarch objects.
14795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14796 (__libc_ifunc_impl_list): Likewise.
14797 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14798 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14799 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14800 sysdeps/powerpc/power6/wcschr.c.
14801
ba964147
AZ
14802 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14803 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14804 file.
14805 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14806 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14807 file: multiarch strchr for PPC32.
14808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14809 multiarch objects.
14810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14811 (__libc_ifunc_impl_list): Likewise.
14812
31c81aaa
AZ
14813 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14814 name.
14815 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14816 file.
14817 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14818 file.
14819 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14820 multiarch strchrnul for PPC32.
14821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14822 multiarch objects.
14823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14824 (__libc_ifunc_impl_list): Likewise.
14825
0d0607d9
AZ
14826 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14827 file.
14828 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14829 multiarch strncasecmp for PPC32.
14830 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14831 file.
14832 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14833 multiarch strncasecmp_l for PPC32.
14834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14835 strncasecmp multiarch objects.
14836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14837 (__libc_ifunc_impl_list): Likewise.
14838
4dfd5c86
AZ
14839 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14840 file.
14841 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14842 multiarch strncasecmp for PPC32.
14843 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14844 New file.
14845 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14846 multiarch strcasecmp_l for PPC32.
14847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14848 multiarch objects.
14849 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14850 (__libc_ifunc_impl_list): Likewise.
14851
a19e01a3
AZ
14852 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14853 file.
14854 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14855 file.
14856 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14857 multiarch strncmp for PPC32.
14858 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14859 multiarch objects.
14860 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14861 (__libc_ifunc_impl_list): Likewise.
14862
ae9cf7a2
AZ
14863 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14864 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14865 file.
14866 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14867 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14869 multiarch objects.
14870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14871 (__libc_ifunc_impl_list): Likewise.
14872
3148bb7d
AZ
14873 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14874 file.
14875 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14876 file.
14877 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14879 multiarch objects.
14880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14881 (__libc_ifunc_impl_list): Likewise.
14882
7af8b946
AZ
14883 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14884 file.
14885 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14886 file.
14887 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14888 multiarch rawmemchr for PPC32.
14889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14890 multiarch objects.
14891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14892 (__libc_ifunc_impl_list): Likewise.
14893
03a6aa6a
AZ
14894 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14895 file.
14896 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14897 file.
14898 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14899 file: memrchr multiarch for PPC32.
14900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14901 multiarch objects.
14902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14903 (__libc_ifunc_impl_list): Likewise.
14904
1c62e6d9
AZ
14905 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14906 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14907 file.
14908 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14909 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14910 multiarch memchr for PPC32.
14911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14912 multiarch objects.
14913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14914 (__libc_ifunc_impl_list): Likewise.
14915
87da8bdb
AZ
14916 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14917 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14918 file.
14919 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14920 file.
14921 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14922 file: multiarch mempcpy for PPC32.
14923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14924 multiarch objects.
14925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14926 (__libc_ifunc_impl_list): Likewise.
14927
20ed4714
AZ
14928 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14929 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14930 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14931 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14932 multiarch bzero for PPC32.
14933 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14934 file.
14935 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14936 file.
14937 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14938 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14939 file: multiarch memset for PPC32.
14940 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14942 memset multiarch objects.
14943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14944 (__libc_ifunc_impl_list): Likewise.
14945
ab3e3a46
AZ
14946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14947 file.
14948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14950 memcmp for PPC32.
14951 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14953 multiarch objects.
14954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14955 (__libc_ifunc_impl_list): Likewise.
14956
930de6f0
AZ
14957 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14959 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14960 file.
14961 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14962 file.
14963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14964 file.
14965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14966 multiarch memcpy for PPC32.
14967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14968 multiarch objects.
14969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14970 (__libc_ifunc_impl_list): Likewise.
14971
4c628e00
AZ
14972 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14973 support multiarch for POWER/PPC32.
14974 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14975 Likewise.
14976 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14978 Implies file to make multiarch folder appers before the fpu and
14979 default folder for power4 configuration.
14980
f4479220
SP
149812013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14982
14983 * scripts/bench.pl: Append volatile keyword to type.
14984
8517800f
KK
149852013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14986
14987 * sysdeps/sh/sotruss-lib.c: New file.
14988 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14989
180138f1
AZ
149902013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14991
14992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14993
bbf37bdc
JM
149942013-12-05 Joseph Myers <joseph@codesourcery.com>
14995
e47cc4e0
JM
14996 [BZ #6810]
14997 * math/w_tgamma.c: Include <errno.h>.
14998 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14999 * math/w_tgammaf.c: Include <errno.h>.
15000 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15001 * math/w_tgammal.c: Include <errno.h>.
15002 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15003 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15004 underflow. Add more tgamma tests.
15005 * math/auto-libm-test-out: Regenerated.
15006 * sysdeps/i386/fpu/libm-test-ulps: Update.
15007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15008
bbf37bdc
JM
15009 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15010 sin, sinh, tan, tanh, tgamma, y0 and y1.
15011 * math/auto-libm-test-out: Regenerated.
15012 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15013 (TEST_COND_x86): Likewise.
15014 (M_E2l): Remove macro.
15015 (M_E3l): Likewise.
15016 (M_2_SQRT_PIl): Likewise.
15017 (M_SQRT_PIl): Likewise.
15018 (M_1_DIV_El): Likewise.
15019 (log_test_data): Use AUTO_TESTS_f_f.
15020 (log10_test_data): Likewise.
15021 (log1p_test_data): Likewise.
15022 (log2_test_data): Likewise.
15023 (sin_test_data): Likewise.
15024 (sin_tonearest_test_data): Likewise.
15025 (sin_towardzero_test_data): Likewise.
15026 (sin_downward_test_data): Likewise.
15027 (sin_upward_test_data): Likewise.
15028 (sinh_test_data): Likewise.
15029 (sinh_tonearest_test_data): Likewise.
15030 (sinh_towardzero_test_data): Likewise.
15031 (sinh_downward_test_data): Likewise.
15032 (sinh_upward_test_data): Likewise.
15033 (tan_test_data): Likewise.
15034 (tan_tonearest_test_data): Likewise.
15035 (tan_towardzero_test_data): Likewise.
15036 (tan_downward_test_data): Likewise.
15037 (tan_upward_test_data): Likewise.
15038 (tanh_test_data): Likewise.
15039 (tgamma_test_data): Likewise.
15040 (y0_test_data): Likewise.
15041 (y1_test_data): Likewise.
15042 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15043 (special_real_inputs): Add pi/4.
15044 * sysdeps/i386/fpu/libm-test-ulps: Update.
15045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15046
eb5ad6b9
AZ
150472013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15048
15049 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15050 "longjmp_target" static probes.
15051 (__longjmp): Rename to __longjmp_symbol.
15052 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15053 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15054 on which longjmp to generate.
15055 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15056 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15057 probe.
15058 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15059 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15060 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15061 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15062 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15063 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15065 __longjmp_symbol based on which __longjmp to generate.
15066 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15067 probe.
15068 (setjmp): Rename to setjmp_symbol.
15069 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15070 (_setjmp): Rename to _setjmp_symbol.
15071 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15072 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15073 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15074 which setjmp to generate.
15075 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15076 "longjmp_target" static probes.
15077
d136c6dc
SP
150782013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15079
9298ecba
SP
15080 * benchtests/README: Add note about output arguments.
15081 * benchtests/bench-sincos.c: Remove file.
15082 * benchtests/sincos-inputs: New file.
15083 * scripts/bench.pl: Identify output arguments and define
15084 static variables for them.
15085
232983e9
SP
15086 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15087
d136c6dc
SP
15088 [BZ #15941]
15089 * Makefile (INSTALL): Add install-plain.texi as the primary
15090 dependency.
15091 * manual/install-plain.texi: New file.
15092 * manual/install.texi: Include node directive only for
15093 non-plaintext output.
15094
699ff837
JM
150952013-12-04 Joseph Myers <joseph@codesourcery.com>
15096
ab07cea8
JM
15097 * stdlib/longlong.h: Update from GCC.
15098
699ff837
JM
15099 [BZ #6807]
15100 [BZ #15901]
15101 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15102 * math/w_j0f.c (y0f): Likewise.
15103 * math/w_j0l.c (__y0l): Likewise.
15104 * math/w_j1.c (y1): Likewise.
15105 * math/w_j1f.c (y1f): Likewise.
15106 * math/w_j1l.c (__y1l): Likewise
15107 * math/w_jn.c (yn): Likewise.
15108 * math/w_jnf.c (ynf): Likewise.
15109 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15110 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15111 value for Bessel function domain errors outside _SVID_ mode.
15112 Adjust sign of return value for yn (negative integer, 0).
15113 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15114 by zero in return for negative x and set sign appropriately for
15115 negative n.
15116 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15117 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15118 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15119 expectations in error cases.
15120 (y1_test_data): Likewise.
15121 (yn_test_data): Likewise.
15122 * sysdeps/i386/fpu/libm-test-ulps: Update.
15123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15124
5b118558
UW
151252013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15126
15127 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15128 "64" to "64-v1". Add "64-v2".
15129 (abi-64-options): Rename to ...
15130 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15131 (abi-64-condition): Rename to ...
15132 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15133 (abi-64-ld-soname): Rename to ...
15134 (abi-64-v1-ld-soname): ... this.
15135 (abi-64-v2-options): Define.
15136 (abi-64-v2-condition): Likewise.
15137 (abi-64-v2-ld-soname): Likewise.
15138 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15139 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15143
61cd8fe4
UW
151442013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15145 Alan Modra <amodra@gmail.com>
15146
15147 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15148 New versions for use with the ELFv2 ABI.
15149 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15150 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15151 declaration.
15152 (struct La_ppc64v2_retval): Likewise.
15153 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15154 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15155 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15156 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15157 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15158 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15159 Do not save or restore CR.
15160 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15161 (_dl_profile_resolve): Do no save or restore CR. Support extended
15162 return values for ELFv2 ABI. Fix location of FPR return registers.
15163 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15164 updated values for _CALL_ELF == 2.
15165 (La_regs, La_retval, int_retval): Likewise.
15166
8b8a692c
UW
151672013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15168
15169 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15170 (FRAME_MIN_SIZE_PARM): Likewise.
15171 (FRAME_BACKCHAIN): Likewise.
15172 (FRAME_CR_SAVE): Likewise.
15173 (FRAME_LR_SAVE): Likewise.
15174 (FRAME_TOC_SAVE): Likewise.
15175 (FRAME_PARM_SAVE): Likewise.
15176 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15177 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15178 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15179 (call_mcount_parm_offset): New macro.
15180 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15181 (PROF): Use symbolic stack frame offsets.
15182 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15184 Redefine in terms of FRAME_MIN_SIZE.
15185 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15186 (_dl_profile_resolve): Likewise. Update comment.
15187 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15188 symbols stack frame offsets.
15189 (__sigsetjmp): Likewise.
15190 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15191 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15192 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15193 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15194
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15196 (FRAME_BACKCHAIN): Remove.
15197 (FRAME_CR_SAVE): Likewise.
15198 (FRAME_LR_SAVE): Likewise.
15199 (FRAME_COMPILER_DW): Likewise.
15200 (FRAME_LINKER_DW): Likewise.
15201 (FRAME_TOC_SAVE): Likewise.
15202 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
15203 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15204 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15205 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15207 (CHECK_SP): Use symbolic stack frame offsets.
15208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15209 zone" instead of caller's parameter save area for temp storage.
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15211 Likewise. Also, use symbolic stack frame offsets.
15212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15213 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15214 our own stack frame instead of the caller's.
15215 (__socket): Use symbolic stack frame offsets.
15216
122b66de
UW
152172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15218 Alan Modra <amodra@gmail.com>
15219
15220 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15221 Define.
57f41c40
AS
15222 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15223 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
15224 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15225 New function.
15226 (elf_machine_fixup_plt): Call it.
15227 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15228 reloc arguments.
15229 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
15230 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15231 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15232 r2 before calling target.
15233
696caf1d
UW
152342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15235 Alan Modra <amodra@gmail.com>
15236
15237 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15238 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15239 versions of macros to support ELFv2 ABI.
15240 (LOCALENTRY): New macro.
15241 (ENTRY, EALIGN): Use it.
15242 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15243 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15244 fall through into ENTRY entry point.
15245 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15246 Only define if _CALL_ELF != 2.
15247
15248 (elf_machine_matches_host): Verify ABI version matches.
15249 (RTLD_START): Use LOCALENTRY.
15250 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15251 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15252 (PLT_ENTRY_WORDS): New macro.
15253 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15254 (elf_machine_runtime_setup): Support ELFv2 ABI.
15255 (elf_machine_fixup_plt): Likewise.
15256 (elf_machine_plt_conflict): Likewise.
15257 (resolve_ifunc): Likewise.
15258 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15259 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15260 Likewise.
15261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15262 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15264 (makecontext): Support ELFv2 ABI.
15265 * elf/elf.h (EF_PPC64_ABI): Define.
15266
d31beafa
UW
152672013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15268
57f41c40
AS
15269 * sysdeps/powerpc/powerpc64/sysdep.h
15270 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15271 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15272 (ENTRY) [ASSEMBLER]: ... but instead here ...
15273 (EALIGN) [ASSEMBLER]: ... and here.
15274 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15275 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15276 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15277 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15278 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15279 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15280 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15281 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15283 Use PPC64_LOAD_FUNCPTR.
15284
b525166b
UW
15285 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15286
7ec07d9a
AM
152872013-12-04 Alan Modra <amodra@gmail.com>
15288
15289 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15290 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15291 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15292 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15293
15294 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15295 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15296 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15297 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15298 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15299 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15300
5162e7dd
UW
153012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15302
15303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15304 (__makecontext): Fix incorrect CFI when backtracing out of
15305 context created via makecontext.
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15307 (__setcontext): Fix incorrect CFI during switch to new context.
15308 (__novec_setcontext): Likewise.
15309
19e3372b
OB
153102013-12-04 Ondřej Bílka <neleai@seznam.cz>
15311
15312 [BZ #4772]
15313 * time/strptime_l.c (__strptime_internal): Allow modifiers
15314 in strptime.
15315 * time/tst-strptime.c (day_tests): Add testcase.
15316
ecaf142d
SP
153172013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15318
15319 * scripts/bench.pl: Skip over blank lines.
15320
fbf964ae
PE
153212013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15322
15323 [BZ #926]
15324 * manual/time.texi (Calendar Time): Clarify what timezone functions
15325 use.
15326
fa60a674
AZ
153272013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15328
15329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15330
d674f0ef
OB
153312013-12-04 Ondřej Bílka <neleai@seznam.cz>
15332
15333 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15334 implementation.
15335 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15336 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15337 * debug/memset_chk.c (__memset_chk): Likewise.
15338 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15339 * debug/strncpy_chk.c: Likewise.
15340
17dea188
JM
153412013-12-03 Joseph Myers <joseph@codesourcery.com>
15342
749008ff
JM
15343 [BZ #15268]
15344 [BZ #15425]
15345 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15346 (__ieee754_exp): For possibly underflowing results, check size of
15347 result and force underflow exception if required.
15348 * math/auto-libm-test-in: Add more tests of exp.
15349 * math/auto-libm-test-out: Regenerated.
15350 * sysdeps/i386/fpu/libm-test-ulps: Update.
15351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15352
17dea188
JM
15353 [BZ #16283]
15354 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15355 * math/w_exp2f.c (__exp2f): Likewise.
15356 * math/w_exp2l.c (__exp2l): Likewise.
15357 * math/auto-libm-test-in: Do not allow missing errno on exp2
15358 underflow.
15359 * math/auto-libm-test-out: Regenerated.
15360
b20de2c3
OB
153612013-12-03 Ondřej Bílka <neleai@seznam.cz>
15362
15363 [BZ #16274]
15364 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15365 handle filename validation.
15366 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15367 (do_open): Delete.
15368
d8e2dbe3
JM
153692013-12-03 Joseph Myers <joseph@codesourcery.com>
15370
34e16df5
JM
15371 [BZ #6786]
15372 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15373 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15374 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15375 <float.h>.
15376 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15377 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15378 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15379 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15380 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15381 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15382 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15383 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15384 Add more erfc tests.
15385 * math/auto-libm-test-out: Regenerated.
15386 * sysdeps/i386/fpu/libm-test-ulps: Update.
15387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15388
d8e2dbe3
JM
15389 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15390 exp2, expm1, j0 and j1.
15391 * math/auto-libm-test-out: Regenerated.
15392 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15393 (erfc_test_data): Likewise.
15394 (exp_test_data): Likewise.
15395 (exp_tonearest_test_data): Likewise.
15396 (exp_towardzero_test_data): Likewise.
15397 (exp_downward_test_data): Likewise.
15398 (exp_upward_test_data): Likewise.
15399 (exp10_test_data): Likewise.
15400 (exp2_test_data): Likewise.
15401 (expm1_test_data): Likewise.
15402 (j0_test_data): Likewise.
15403 (j1_test_data): Likewise.
15404 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15405 (input_flag_type): Add flag_xfail_rounding.
15406 (input_flags): Add xfail-rounding.
15407 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15408 (output_for_one_input_case): Handle flag_xfail_rounding.
15409 * sysdeps/i386/fpu/libm-test-ulps: Update.
15410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15411
18d14251
AJ
154122013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15413
3d2e6075 15414 [BZ #16289]
18d14251
AJ
15415 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15416 division by 0.
15417
520d437b
SP
154182013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15419
15420 [BZ #16195]
15421 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15422 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15423 (STAP_PROBE0): New macro.
15424 (STAP_PROBE1): Likewise.
15425 (STAP_PROBE2): Likewise.
15426 (STAP_PROBE3): Likewise.
15427 (STAP_PROBE4): Likewise.
15428
416e0145
OB
154292013-12-02 Ondřej Bílka <neleai@seznam.cz>
15430
15431 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15432
9d17796a
SE
154332013-12-02 Steve Ellcey <sellcey@mips.com>
15434
15435 * benchtests/Makefile (bench): Add sqrt.
15436 (LDLIBS-bench-sqrt): New.
15437 * benchtests/sqrt-input: New.
15438
f524d6a8
PS
154392013-12-02 Pavel Simerda <psimerda@redhat.com>
15440
639a0ef8
PS
15441 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15442 (GAIH_EAI): Likewise.
15443 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15444 (gaih_inet): Likewise.
15445 (getaddrinfo): Don't use GAIH_EAI.
15446
f524d6a8
PS
15447 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15448 (struct gaih): Remove definition.
15449
df3aedaf
SP
154502013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15451
15452 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15453 Use HERRNOP directly.
15454
1ab19dec
AZ
154552013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15456
b42ad38d 15457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 15458
176b0c79
JM
154592013-11-30 Joseph Myers <joseph@codesourcery.com>
15460
15461 * math/gen-auto-libm-tests.c (test_functions): Add more
15462 single-argument functions.
15463 (special_fill_pi_2): New function.
15464 (special_fill_minus_pi_2): Likewise.
15465 (special_fill_pi_6): Likewise.
15466 (special_fill_minus_pi_6): Likewise.
15467 (special_fill_pi_3): Likewise.
15468 (special_fill_2pi_3): Likewise.
15469 (special_fill_e): Likewise.
15470 (special_fill_1_e): Likewise.
15471 (special_fill_e_minus_1): Likewise.
15472 (special_real_inputs): Add more special inputs.
15473 (output_for_one_input_case): Do not require ERANGE on underflow to
15474 zero if round-to-nearest result does not underflow to zero, unless
15475 exact results required.
15476 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15477 atan, atanh, cbrt, cos and cosh.
15478 * math/auto-libm-test-out: Regenerated.
15479 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15480 (acos_tonearest_test_data): Likewise.
15481 (acos_towardzero_test_data): Likewise.
15482 (acos_downward_test_data): Likewise.
15483 (acos_upward_test_data): Likewise.
15484 (acosh_test_data): Likewise.
15485 (asin_test_data): Likewise.
15486 (asin_tonearest_test_data): Likewise.
15487 (asin_towardzero_test_data): Likewise.
15488 (asin_upward_test_data): Likewise.
15489 (asinh_test_data): Likewise.
15490 (atan_test_data): Likewise.
15491 (atanh_test_data): Likewise.
15492 (cbrt_test_data): Likewise.
15493 (cos_test_data): Likewise.
15494 (cos_tonearest_test_data): Likewise.
15495 (cos_towardzero_test_data): Likewise.
15496 (cos_downward_test_data): Likewise.
15497 (cos_upward_test_data): Likewise.
15498 (cosh_test_data): Likewise.
15499 (cosh_tonearest_test_data): Likewise.
15500 (cosh_towardzero_test_data): Likewise.
15501 (cosh_downward_test_data): Likewise.
15502 (cosh_upward_test_data): Likewise.
15503 * sysdeps/i386/fpu/libm-test-ulps: Update.
15504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15505
ffb536d0
JM
155062013-11-29 Joseph Myers <joseph@codesourcery.com>
15507
2a77a467
JM
15508 [BZ #6787]
15509 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15510 * math/w_exp10f.c (__exp10f): Likewise.
15511 * math/w_exp10l.c (__exp10l): Likewise.
15512 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15513 errno settings in existing tests.
15514
ea3bc4e8
JM
15515 [BZ #14032]
15516 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15517 precision control set to double precision.
15518 * sysdeps/i386/fpu/w_sqrt.c: New file.
15519 * math/auto-libm-test-in: Add more tests.
15520 * math/auto-libm-test-out: Update.
15521
0712c9d8
JM
15522 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15523 (sqrt_test_tonearest): New function.
15524 (sqrt_towardzero_test_data): New variable.
15525 (sqrt_test_towardzero): New function.
15526 (sqrt_downward_test_data): New variable.
15527 (sqrt_test_downward): New function.
15528 (sqrt_upward_test_data): New variable.
15529 (sqrt_test_upward): New function.
15530 (main): Call the new functions.
15531
ffb536d0
JM
15532 * math/gen-auto-libm-tests.c: New file.
15533 * math/auto-libm-test-in: Likewise.
15534 * math/auto-libm-test-out: New generated file.
15535 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15536 variables.
15537 (%beautify): Add generated representations of zero.
15538 (top level): Set $auto_input and call parse_auto_input.
15539 (beautify): Remove trailing "f" from hex float constants.
15540 (parse_args): Handle XFAIL_TEST.
15541 (convert_condition): New function.
15542 (or_value): Likewise.
15543 (or_cond_value): Likewise.
15544 (generate_testfile): Handle AUTO_TESTS_* lines.
15545 (parse_auto_input): New function.
15546 * math/libm-test.inc (XFAIL_TEST): New macro.
15547 (ERRNO_UNCHANGED): Update value.
15548 (ERRNO_EDOM): Likewise.
15549 (ERRNO_ERANGE): Likewise.
15550 (IGNORE_RESULT): Likewise.
15551 (TEST_COND_flt_32): New macro.
15552 (TEST_COND_dbl_64): Likewise.
15553 (TEST_COND_ldbl_96_intel): Likewise.
15554 (TEST_COND_ldbl_96_m68k): Likewise.
15555 (TEST_COND_ldbl_128): Likewise.
15556 (TEST_COND_ldbl_128ibm): Likewise.
15557 (TEST_COND_long32): Likewise.
15558 (TEST_COND_long64): Likewise.
15559 (TEST_COND_before_rounding): Likewise.
15560 (TEST_COND_after_rounding): Likewise.
15561 (enable_test): Handle XFAIL_TEST flag.
15562 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15563 with finite results.
15564 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15565 auto-libm-test-out.
15566
acd98a8e
AK
155672013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15568 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15569
15570 [BZ #16214]
15571 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15572 __tls_get_addr_internal instead of __tls_get_offset in order to
15573 avoid GOT pointer dependency. Make rtld export
15574 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15575 __tls_get_addr since we are a __tls_get_offset platform.
15576 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15577 GOT pointer being set up before.
15578 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15579
3c1c46a6
JM
155802013-11-28 Joseph Myers <joseph@codesourcery.com>
15581
7475aef5
JM
15582 * manual/math.texi (Errors in Math Functions): Document accuracy
15583 goals.
15584
8bca7cd8
JM
15585 [BZ #15004]
15586 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15587 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15590 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15592 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15601 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15602
91a1f3fe
JM
15603 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15604 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15605 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15606 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15607 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15608 Likewise.
15609 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15610 Likewise.
15611 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15612 Likewise.
15613 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15614 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15615 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15616 atomic-feupdateenv and flt-rounds.
15617 * sysdeps/powerpc/nofpu/Versions (libc): Add
15618 __atomic_feholdexcept, __atomic_feclearexcept,
15619 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15620 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15621 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15622 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15623 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15624 here.
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15626 Update.
15627
c5df7609
JM
15628 * manual/arith.texi (FP Exceptions): Document that exceptions may
15629 not be raised when matherr is used.
15630 (Math Error Reporting): Document overflow in directed rounding
15631 modes. Document that errno may not be set when finite values are
15632 returned on overflow. Document intent to set errno on underflow
15633 only for underflow to zero.
15634
3c1c46a6
JM
15635 [BZ #16271]
15636 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15637 round-to-nearest then adjust result for other rounding modes.
15638 * include/fenv.h (fegetround): Use libm_hidden_proto.
15639 * math/fegetround.c (fegetround): Use libm_hidden_def.
15640 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15641 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15642 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15643 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15644 Likewise.
15645 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15646 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15647 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15648 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15649
5a4c6d53
SP
156502013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15651
15652 [BZ #16077]
15653 * nss/Versions (libnss_files): Add
15654 _nss_files_gethostbyname3_r.
15655 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15656 New function.
15657 (HOST_DB_LOOKUP): Remove macro.
15658 (_nss_files_gethostbyname_r): Implement function without the
15659 HOST_DB_LOOKUP macro.
15660 (_nss_files_gethostbyname2_r): Likewise.
15661
897b98ba
OB
156622013-11-28 Ondřej Bílka <neleai@seznam.cz>
15663
15664 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15665
6f476861
UB
156662013-11-26 Uros Bizjak <ubizjak@gmail.com>
15667
15668 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15669 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15670 warning.
15671
bd12ab55
AZ
156722013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15673
15674 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15675 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15676 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15677 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15678 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15679 __fe_nomask_env_priv and attribute_hidden.
15680 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15681 (libc_feupdateenv_test_ppc): Likewise.
15682 (libc_feresetround_ppc): Likewise.
15683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15684 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15685 compat_symbol macro.
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15687 (__fe_nomask_env): Likewise.
15688 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15689
52bb6543
OB
156902013-11-26 Ondřej Bílka <neleai@seznam.cz>
15691
15692 * string/Makefile: Remove ifunc tests.
15693 * string/test-string.h: Define TEST_IFUNC.
15694 * string/test-bcopy-ifunc.c: Remove.
15695 * string/test-bzero-ifunc.c: Likewise.
15696 * string/test-memccpy-ifunc.c: Likewise.
15697 * string/test-memchr-ifunc.c: Likewise.
15698 * string/test-memcmp-ifunc.c: Likewise.
15699 * string/test-memcpy-ifunc.c: Likewise.
15700 * string/test-memmem-ifunc.c: Likewise.
15701 * string/test-memmove-ifunc.c: Likewise.
15702 * string/test-mempcpy-ifunc.c: Likewise.
15703 * string/test-memrchr-ifunc.c: Likewise.
15704 * string/test-memset-ifunc.c: Likewise.
15705 * string/test-rawmemchr-ifunc.c: Likewise.
15706 * string/test-stpcpy-ifunc.c: Likewise.
15707 * string/test-stpncpy-ifunc.c: Likewise.
15708 * string/test-strcasecmp-ifunc.c: Likewise.
15709 * string/test-strcasestr-ifunc.c: Likewise.
15710 * string/test-strcat-ifunc.c: Likewise.
15711 * string/test-strchr-ifunc.c: Likewise.
15712 * string/test-strchrnul-ifunc.c: Likewise.
15713 * string/test-strcmp-ifunc.c: Likewise.
15714 * string/test-strcpy-ifunc.c: Likewise.
15715 * string/test-strcspn-ifunc.c: Likewise.
15716 * string/test-strlen-ifunc.c: Likewise.
15717 * string/test-strncasecmp-ifunc.c: Likewise.
15718 * string/test-strncat-ifunc.c: Likewise.
15719 * string/test-strncmp-ifunc.c: Likewise.
15720 * string/test-strncpy-ifunc.c: Likewise.
15721 * string/test-strnlen-ifunc.c: Likewise.
15722 * string/test-strpbrk-ifunc.c: Likewise.
15723 * string/test-strrchr-ifunc.c: Likewise.
15724 * string/test-strspn-ifunc.c: Likewise.
15725 * string/test-strstr-ifunc.c: Likewise.
15726
ab260039 157272013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
15728
15729 * benchtests/Makefile: Remove ifunc tests.
15730 * benchtests/bench-string.h: Define TEST_IFUNC.
15731 * benchtests/bench-bcopy-ifunc.c: Remove.
15732 * benchtests/bench-bzero-ifunc.c: Likewise.
15733 * benchtests/bench-memccpy-ifunc.c: Likewise.
15734 * benchtests/bench-memchr-ifunc.c: Likewise.
15735 * benchtests/bench-memcmp-ifunc.c: Likewise.
15736 * benchtests/bench-memcpy-ifunc.c: Likewise.
15737 * benchtests/bench-memmem-ifunc.c: Likewise.
15738 * benchtests/bench-memmove-ifunc.c: Likewise.
15739 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15740 * benchtests/bench-memrchr-ifunc.c: Likewise.
15741 * benchtests/bench-memset-ifunc.c: Likewise.
15742 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15743 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15744 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15745 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15746 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15747 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15748 * benchtests/bench-strcat-ifunc.c: Likewise.
15749 * benchtests/bench-strchr-ifunc.c: Likewise.
15750 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15751 * benchtests/bench-strcmp-ifunc.c: Likewise.
15752 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15753 * benchtests/bench-strcpy-ifunc.c: Likewise.
15754 * benchtests/bench-strcspn-ifunc.c: Likewise.
15755 * benchtests/bench-strlen-ifunc.c: Likewise.
15756 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15757 * benchtests/bench-strncat-ifunc.c: Likewise.
15758 * benchtests/bench-strncmp-ifunc.c: Likewise.
15759 * benchtests/bench-strncpy-ifunc.c: Likewise.
15760 * benchtests/bench-strnlen-ifunc.c: Likewise.
15761 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15762 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 15763 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
15764 * benchtests/bench-strspn-ifunc.c: Likewise.
15765 * benchtests/bench-strstr-ifunc.c: Likewise.
15766
157672013-11-26 Ondřej Bílka <neleai@seznam.cz>
15768
ab260039
OB
15769 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15770
d1d9eaf4 157712013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 15772
d1d9eaf4
OB
15773 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15774 * rt/aio.h: Likewise.
15775 * sysdeps/gnu/bits/utmp.h: Likewise.
15776 * sysdeps/gnu/bits/utmpx.h: Likewise.
15777 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15778 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15779 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15780 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15781 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15782 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15783 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15784 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15785 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15786 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15787 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15788 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15789 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15791 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15792 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15793 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15794 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15795 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15796 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15797 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15798 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15799 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15800 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15801 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15803 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15804 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15805 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15806 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15807 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15808 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15809 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15810 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15811 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15812 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15813 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15814 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15815 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15816 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15817 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15818 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15819
a7624ed9
CD
158202013-11-25 Carlos O'Donell <carlos@redhat.com>
15821
15822 [BZ #16245]
15823 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15824 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15825
63cfe52b
JM
158262013-11-25 Joseph Myers <joseph@codesourcery.com>
15827
15828 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15829 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15830 Likewise.
15831
41e8926a
AZ
158322013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15833
15834 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15835 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15836 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15837 (__fesetround): Remove define.
15838 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15839 rounding and exceptions handling.
15840 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15841 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15842 (__fe_nomask_env): Likewise.
15843 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15844 __fegetround instead of fegetround.
15845 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15846 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15847
6851bd4d
RM
158482013-11-21 Roland McGrath <roland@hack.frob.com>
15849
070906ff
RM
15850 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15851 it's there.
15852
6851bd4d
RM
15853 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15854
84ae135d
MI
158552013-11-21 Meador Inge <meadori@codesourcery.com>
15856
15857 [BZ #11157]
15858 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15859 (encrypt_r): Likewise.
15860 * malloc/obstack.h (obstack_free): Likewise.
15861 * posix/unistd.h (encrypt): Likewise.
15862
daf75146
GM
158632013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15864
15865 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15866 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15867 DL_CALL_DT_FINI() that call the functions directly.
15868 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15869 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15870 * elf/dl-fini.c: Likewise.
15871
10ad46bc
OB
158722013-11-20 Ondřej Bílka <neleai@seznam.cz>
15873
15874 * malloc/hooks.c (memalign_check): Add alignment rounding.
15875 * malloc/malloc.c (_mid_memalign): New function.
15876 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15877 Implement by calling _mid_memalign.
15878 * manual/probes.texi (Memory Allocation Probes): Remove
15879 memory_valloc_retry and memory_pvalloc_retry.
15880
f3fd2628
SP
158812013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15882
4712799f
SP
15883 * locale/programs/locarchive.c (open_archive): Add const
15884 qualifier to ARCHIVEFNAME and copy default fname to
15885 DEFAULT_FNAME.
15886
0417b20f
SP
15887 [BZ #15601]
15888 * libio/tst-widetext.input: Rename Oriya to Odia.
15889 * locale/iso-639.def: Likewise.
15890
f3fd2628
SP
15891 * manual/probes.texi (Mathematical Function Probes): Add
15892 documentation for sin, cos, asin and acos probes.
15893 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15894 (__sin32): Add slowasin probe.
15895 (__cos32): Add slowacos probe.
15896 (__mpsin): Add slowsin probe.
15897 (__mpcos): Add slowcos probe.
15898
73c1ce4f
JM
158992013-11-19 Joseph Myers <joseph@codesourcery.com>
15900
15901 [BZ #15483]
15902 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15903 thread-local __sim_exceptions_thread and global
15904 __sim_exceptions_global.
15905 (__sim_disabled_exceptions): Change to thread-local
15906 __sim_disabled_exceptions_thread and global
15907 __sim_disabled_exceptions_global.
15908 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15909 and global __sim_round_mode_global.
15910 (__simulate_exceptions): Use thread-local floating-point state and
15911 set global state from it as needed.
15912 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15913 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15914 __sim_round_mode_thread.
15915 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15916 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15917 and global __sim_exceptions_global.
15918 (__sim_disabled_exceptions): Change to thread-local
15919 __sim_disabled_exceptions_thread and global
15920 __sim_disabled_exceptions_global.
15921 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15922 and global __sim_round_mode_global.
15923 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15924 (SIM_SET_GLOBAL): Likewise.
15925 * sysdeps/powerpc/soft-fp/sfp-machine.h
15926 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15927 __sim_round_mode_thread.
15928 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15929 __sim_disabled_exceptions_thread.
15930 (__sim_exceptions): Change to __sim_exceptions_thread.
15931 (__sim_disabled_exceptions): Change to
15932 __sim_disabled_exceptions_thread.
15933 (__sim_round_mode): Change to __sim_round_mode_thread.
15934 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15935 thread-local floating-point state and set global state from it as
15936 needed.
15937 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15938 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15939 (__sim_disabled_exceptions): Remove extern declaration.
15940 (feenableexcept): Use thread-local floating-point state and set
15941 global state from it as needed.
15942 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15943 extern declaration.
15944 (__sim_disabled_exceptions): Likewise.
15945 (__sim_round_mode): Likewise.
15946 (__fegetenv): Use thread-local floating-point state.
15947 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15948 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15949 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15950 floating-point state and set global state from it as needed.
15951 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15952 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15953 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15954 Likewise.
15955 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15956 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15957 Likewise.
15958 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15959 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15960 Use __sim_round_mode_thread.
15961 * math/test-fenv-tls.c: New file.
15962 * math/Makefile (tests): Add test-fenv-tls.
15963 ($(objpfx)test-fenv-tls): Depend on
15964 $(common-objpfx)nptl/libpthread.so.
15965
b5449b12
AS
159662013-11-19 Andreas Schwab <schwab@suse.de>
15967
15968 * locale/programs/locale.c (show_info): Decode wordarray elements.
15969 * locale/categories.def (LC_MONETARY): Add element for
15970 _NL_MONETARY_CRNCYSTR.
15971 * locale/C-monetary.c (conversion_rate): New variable.
15972 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15973 element.
15974
e186536b
CM
159752013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15976
15977 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15978 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15979
5c349950
PP
159802013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15981
15982 * elf/Makefile (tst-auxv): New test.
15983 * elf/tst-auxv.c: New
15984 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15985
699df45b
JM
159862013-11-18 Joseph Myers <joseph@codesourcery.com>
15987
15988 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15989 (hidden_proto): Caller changed.
15990 (hidden_tls_proto): New macro.
15991 (libc_hidden_tls_proto): Likewise.
15992 (rtld_hidden_tls_proto): Likewise.
15993 (libm_hidden_tls_proto): Likewise.
15994 (libresolv_hidden_tls_proto): Likewise.
15995 (librt_hidden_tls_proto): Likewise.
15996 (libdl_hidden_tls_proto): Likewise.
15997 (libnss_files_hidden_tls_proto): Likewise.
15998 (libnsl_hidden_tls_proto): Likewise.
15999 (libnss_nisplus_hidden_tls_proto): Likewise.
16000 (libutil_hidden_tls_proto): Likewise.
16001
b7589107
OB
160022013-11-18 Ondřej Bílka <neleai@seznam.cz>
16003
16004 [BZ #10253]
16005 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16006 (decompose_rpath): Defer expansion to fillin_rpath.
16007 (_dl_init_paths): Pass linkmap to fillin_rpath.
16008
250c23bd
RS
160092013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16010
16011 * benchtests/Makefile: Add strsep.
16012 * benchtests/bench-strsep.c: New file: strsep benchtest.
16013 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16014
a7931fcf
AS
160152013-11-18 Andreas Schwab <schwab@suse.de>
16016
16017 * locale/programs/locale.c (show_info) [case byte]: Check for
16018 '\377' instead of '\177'.
16019 * locale/C-monetary.c (not_available): Always use "\377".
16020 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16021 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16022 detect unavailable sign_posn locale elements.
16023 * locale/localeconv.c (__localeconv): For grouping and
16024 mon_grouping handle "\177" and "\377" like no grouping.
16025 (INT_ELEM): New macro. Use it to set all numeric members.
16026 * locale/programs/ld-monetary.c (monetary_read)
16027 <tok_mon_grouping>: Normalize single -1 to the empty string.
16028 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16029 Likewise.
16030
728dab0e
OB
160312013-11-07 Ondřej Bílka <neleai@seznam.cz>
16032
16033 [BZ #16055]
16034 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16035 when we match (nil).
16036 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16037
66294491
JM
160382013-11-16 Joseph Myers <joseph@codesourcery.com>
16039
ce665817
JM
16040 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16041 (NO_TEST_INLINE): Update value.
16042 (ERRNO_UNCHANGED): Likewise.
16043 (ERRNO_EDOM): Likewise.
16044 (ERRNO_ERANGE): Likewise.
16045 (IGNORE_RESULT): Likewise.
16046 (check_float_internal): Check signs of NaN results if
16047 TEST_NAN_SIGN used.
16048 (check_complex): Pass TEST_NAN_SIGN flag through to second
16049 check_float_internal call.
16050 (copysign_test_data): Add tests with quiet NaNs as second
16051 argument. Use TEST_NAN_SIGN.
16052 (fabs_test_data): Add test of negative quiet NaN argument. Use
16053 TEST_NAN_SIGN.
16054 (signbit_test_data): Add tests of quiet NaN argument.
16055 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16056
ee1466a9
JM
16057 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16058 $ignore_result.
16059 (parse_args): Handle function results specified as IGNORE.
16060 * math/libm-test.inc (IGNORE_RESULT): New macro.
16061 (check_float_internal): Do not check numerical result if flag
16062 IGNORE_RESULT set.
16063 (check_complex): Pass through IGNORE_RESULT to second
16064 check_float_internal call.
16065 (check_int): Do not check numerical result if flag IGNORE_RESULT
16066 set.
16067 (check_long): Likewise.
16068 (check_bool): Likewise.
16069 (check_longlong): Likewise.
16070 (lrint_test_data): Add tests of infinite and NaN arguments.
16071 (lrint_tonearest_test_data): Likewise.
16072 (lrint_towardzero_test_data): Likewise.
16073 (lrint_downward_test_data): Likewise.
16074 (lrint_upward_test_data): Likewise.
16075 (llrint_test_data): Likewise.
16076 (llrint_tonearest_test_data): Likewise.
16077 (llrint_towardzero_test_data): Likewise.
16078 (llrint_downward_test_data): Likewise.
16079 (llrint_upward_test_data): Likewise.
16080 (lround_test_data): Likewise.
16081 (llround_test_data): Likewise.
16082
14407b7e
JM
16083 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16084 (ERRNO_UNCHANGED): Update value.
16085 (ERRNO_EDOM): Likewise.
16086 (ERRNO_ERANGE): Likewise.
16087 (NO_TEST_INLINE_FLOAT): New macro.
16088 (NO_TEST_INLINE_DOUBLE): Likewise.
16089 (enable_test): New function.
16090 (RUN_TEST_f_f): Check enable_test before running test.
16091 (RUN_TEST_2_f): Likewise.
16092 (RUN_TEST_fff_f): Likewise.
16093 (RUN_TEST_c_f): Likewise.
16094 (RUN_TEST_f_f1): Likewise.
16095 (RUN_TEST_fF_f1): Likewise.
16096 (RUN_TEST_fI_f1): Likewise.
16097 (RUN_TEST_ffI_f1): Likewise.
16098 (RUN_TEST_c_c): Likewise.
16099 (RUN_TEST_cc_c): Likewise.
16100 (RUN_TEST_f_i): Likewise.
16101 (RUN_TEST_f_i_tg): Likewise.
16102 (RUN_TEST_ff_i_tg): Likewise.
16103 (RUN_TEST_f_b): Likewise.
16104 (RUN_TEST_f_b_tg): Likewise.
16105 (RUN_TEST_f_l): Likewise.
16106 (RUN_TEST_f_L): Likewise.
16107 (RUN_TEST_fFF_11): Likewise.
16108 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16109 conditionals.
16110 (cosh_test_data): Likewise.
16111 (exp_test_data): Likewise.
16112 (expm1_test_data): Likewise.
16113 (hypot_test_data): Likewise.
16114 (pow_test_data): Likewise.
16115 (sinh_test_data): Likewise.
16116 (tanh_test_data): Likewise.
16117 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16118 flags argument.
16119
ca07f197
JM
16120 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16121 tests with quiet NaN input and output.
16122 (acosh_test_data): Likewise.
16123 (asin_test_data): Likewise.
16124 (asinh_test_data): Likewise.
16125 (atan_test_data): Likewise.
16126 (atanh_test_data): Likewise.
16127 (atan2_test_data): Likewise.
16128 (cbrt_test_data): Likewise.
16129 (cos_test_data): Likewise.
16130 (cosh_test_data): Likewise.
16131 (erf_test_data): Likewise.
16132 (erfc_test_data): Likewise.
16133 (exp_test_data): Likewise.
16134 (exp10_test_data): Likewise.
16135 (exp2_test_data): Likewise.
16136 (expm1_test_data): Likewise.
16137 (hypot_test_data): Likewise.
16138 (j0_test_data): Likewise.
16139 (j1_test_data): Likewise.
16140 (jn_test_data): Likewise.
16141 (lgamma_test_data): Likewise.
16142 (log_test_data): Likewise.
16143 (log10_test_data): Likewise.
16144 (log1p_test_data): Likewise.
16145 (log2_test_data): Likewise.
16146 (pow_test_data): Likewise.
16147 (scalb_test_data): Likewise.
16148 (sin_test_data): Likewise.
16149 (sincos_test_data): Likewise.
16150 (sinh_test_data): Likewise.
16151 (tan_test_data): Likewise.
16152 (tanh_test_data): Likewise.
16153 (tgamma_test_data): Likewise.
16154 (y0_test_data): Likewise.
16155 (y1_test_data): Likewise.
16156 (yn_test_data): Likewise.
16157
66294491
JM
16158 [BZ #16167]
16159 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16160 argument being NaN and avoid computations with second argument in
16161 that case.
16162 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16163 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16164 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16165
1820b143
CL
161662013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16167
16168 * locale/iso-639.def: Add Chitwani Tharu (the).
16169
714bd261
AS
161702013-11-14 Andreas Schwab <schwab@suse.de>
16171
16172 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16173 word instead of empty string.
16174
7ab44563
AZ
161752013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16176
16177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16178 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16180 (__fe_nomask_env): Likewise.
16181
e8470ea2
SE
161822013-11-13 Steve Ellcey <sellcey@mips.com>
16183
16184 * benchtests/bench-timing.h: Include time.h.
16185
17c1d9f0
L
161862013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16187
16188 [BZ #15997]
16189 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16190 to 3.4.0 for x32.
16191 * sysdeps/unix/sysv/linux/configure: Regenerated.
16192
9310c284
JM
161932013-11-13 Joseph Myers <joseph@codesourcery.com>
16194
16195 [BZ #16151]
16196 * stdlib/strtod_l.c (round_and_return): Do not consider
16197 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16198 exponent one less than half the least subnormal exponent.
16199 * stdlib/test-strtod-round-data: Add more tests.
16200 * stdlib/tst-strtod-round.c (tests): Regenerated.
16201
7a2ad8cf
AZ
162022013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16203
16204 [BZ #14143]
16205 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16206 (__fe_mask_env): Likewise.
16207 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16208 libm_hidden_proto and add function prototype.
16209 (__fe_mask_env): Add function prototype.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16211 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16213 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16215 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16216
50727aa7
MS
162172013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16218
b2f386c1 16219 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
16220 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16221
a615be46
MS
162222013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16223
16224 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16225 of htab_find_slot().
16226
7ddace62
DM
162272013-11-11 David S. Miller <davem@davemloft.net>
16228
16229 [BZ #16150]
16230 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16231 symbol in the non-vis3 case in static builds.
16232 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16233 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16234 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16235 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16236
9182aa67
JK
162372013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16238
16239 [BZ #387]
16240 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16241 it is empty.
16242
450a2e2d
AZ
162432013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16244
b2f386c1
SP
16245 * benchtests/Makefile: Add bench-strtod.
16246 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16247
8ec3f656
AS
162482013-11-11 Andreas Schwab <schwab@suse.de>
16249
16250 [BZ #16153]
16251 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16252 terminating NUL in key length.
16253
76a9b998
AZ
162542013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16255
16256 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16257 Add artificial ODP entry for vDSO symbol for PPC64.
16258 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16259 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16260
e4368156
OB
162612013-11-07 Ondřej Bílka <neleai@seznam.cz>
16262
16263 [BZ #15374]
16264 * nss/getent.c (services_keys): Recognize services starting with digit.
16265
8d6bb57c
DM
162662013-11-06 David S. Miller <davem@davemloft.net>
16267
16268 [BZ #15985]
16269 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16270 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16271
e256c421
WN
162722013-11-06 Will Newton <will.newton@linaro.org>
16273
16274 * manual/memory.texi (Malloc Examples): Remove register
16275 keyword from examples.
16276
f6e12daa 162772013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16278
f6e12daa 16279 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16280
9d880655
AS
162812013-11-04 Joseph Myers <joseph@codesourcery.com>
16282
fd2f9486 16283 [BZ #6981]
9d880655
AS
16284 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16285 depending on [__GCC_IEC_559 > 0].
16286 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16287 depending on [__GCC_IEC_559_COMPLEX > 0].
16288
ae129d3c
CL
162892013-11-03 Chris Leonard <cjl@sugarlabs.org>
16290
16291 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16292 to iso-639.def.
16293
4a15c2a4 162942013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
16295
16296 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16297
8b35e35d
OB
162982013-11-01 Ondřej Bílka <neleai@seznam.cz>
16299
16300 [BZ #16112]
16301 * malloc/malloc (malloc_info): Do not handle first bin as
16302 special case.
16303
1d70fd6c
CL
163042013-11-01 Chris Leonard <cjl@sugarlabs.org>
16305
16306 * locale/iso-639.def: Add Central Nahuatl (nhn).
16307
8c5c2600
BH
163082013-11-01 Bruno Haible <bruno@clisp.org>
16309
16310 [BZ #7003]
16311 * manual/math.texi (BSD Random): Specify range upper bound as
16312 in POSIX.
16313
da5579c2
CL
163142013-10-31 Chris Leonard <cjl@sugarlabs.org>
16315
16316 * locale/iso-639.def: Add Meadow Mari (mhr).
16317
5d30d853
OB
163182013-10-31 Ondřej Bílka <neleai@seznam.cz>
16319
16320 [BZ #14752], [BZ #15763]
16321 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16322 Validate name.
16323 * rt/tst_shm.c: Add test for escaping directory.
16324
a4966c61
AS
163252013-10-31 Andreas Schwab <schwab@suse.de>
16326
8a43e768 16327 [BZ #15917]
a4966c61
AS
16328 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16329 followed by 'x' as part of digit sequence.
16330 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16331
28d708c4
MAP
163322013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16333
16334 [BZ #16037]
16335 * configure.ac: allow GNU Make 4.0 and greater.
16336 * configure: Regenerated.
16337
a56ee40b
WN
163382013-10-30 Will Newton <will.newton@linaro.org>
16339
16340 [BZ #16038]
16341 * malloc/hooks.c (memalign_check): Limit alignment to the
16342 maximum representable power of two.
16343 * malloc/malloc.c (__libc_memalign): Likewise.
16344 * malloc/tst-memalign.c (do_test): Add test for very
16345 large alignment values.
16346 * malloc/tst-posix_memalign.c (do_test): Likewise.
16347
c6e4925d
OB
163482013-10-30 Ondřej Bílka <neleai@seznam.cz>
16349
16350 [BZ #11087]
16351 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16352 (munmap_chunk): Likewise.
16353 (mremap_chunk): Likewise.
16354
163552013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 16356
8a43e768 16357 [BZ #15799]
bbea82f7
OB
16358 * stdlib/div.c (div): Remove obsolete code.
16359 * stdlib/ldiv.c (ldiv): Likewise.
16360 * stdlib/lldiv.c (lldiv): Likewise.
16361
977f4b31
SP
163622013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16363
16364 [BZ #16071]
16365 * nss/nss_files/files-XXX.c (get_contents_ret): New
16366 enumerator.
16367 (get_contents): New function.
16368 (internal_getent): Use it. Expand size of LINEBUFLEN.
16369
cb8a6dbd
MF
163702013-10-30 Mike Frysinger <vapier@gentoo.org>
16371
16372 * configure.in: Moved to ...
16373 * configure.ac: ... here. Change reference to configure.in
16374 to configure.ac.
16375 * sysdeps/arm/preconfigure.ac: ... here.
16376 configure.in to configure.ac.
16377 * sysdeps/gnu/configure.in: Moved to ...
16378 * sysdeps/gnu/configure.ac: ... here.
16379 * sysdeps/i386/configure.in: Moved to ...
16380 * sysdeps/i386/configure.ac: ... here.
16381 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16382 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16383 * sysdeps/mach/configure.in: Moved to ...
16384 * sysdeps/mach/configure.ac: ... here.
16385 * sysdeps/mach/hurd/configure.in: Moved to ...
16386 * sysdeps/mach/hurd/configure.ac: ... here.
16387 * sysdeps/powerpc/configure.in: Moved to ...
16388 * sysdeps/powerpc/configure.ac: ... here.
16389 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16390 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16391 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16392 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16393 * sysdeps/s390/s390-32/configure.in: Moved to ...
16394 * sysdeps/s390/s390-32/configure.ac: ... here.
16395 * sysdeps/s390/s390-64/configure.in: Moved to ...
16396 * sysdeps/s390/s390-64/configure.ac: ... here.
16397 * sysdeps/sh/configure.in: Moved to ...
16398 * sysdeps/sh/configure.ac: ... here.
16399 * sysdeps/sparc/configure.in: Moved to ...
16400 * sysdeps/sparc/configure.ac: ... here.
16401 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16402 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16403 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16404 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16405 * sysdeps/x86_64/configure.in: Moved to ...
16406 * sysdeps/x86_64/configure.ac: ... here.
16407 * sysdeps/x86_64/preconfigure.in: Moved to ...
16408 * sysdeps/x86_64/preconfigure.ac: ... here.
16409 * aclocal.m4: Change reference to configure.in to configure.ac.
16410 * config.h.in: Likewise.
16411 * manual/install.texi: Likewise.
16412 * manual/maint.texi: Likewise.
16413 * Makefile: Likewise.
16414 * malloc/Makefile: Likewise.
16415 * nscd/Makefile: Likewise.
16416 * Makeconfig: Change reference to configure.in and
16417 preconfigure.in to configure.ac and preconfigure.ac
16418 respectively.
16419 * INSTALL: Regenerated.
16420 * configure: Likewise.
16421 * sysdeps/gnu/configure: Likewise.
16422 * sysdeps/i386/configure: Likewise.
16423 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16424 * sysdeps/mach/configure: Likewise.
16425 * sysdeps/mach/hurd/configure: Likewise.
16426 * sysdeps/powerpc/configure: Likewise.
16427 * sysdeps/powerpc/powerpc32/configure: Likewise.
16428 * sysdeps/powerpc/powerpc64/configure: Likewise.
16429 * sysdeps/s390/s390-32/configure: Likewise.
16430 * sysdeps/s390/s390-64/configure: Likewise.
16431 * sysdeps/sh/configure: Likewise.
16432 * sysdeps/sparc/configure: Likewise.
16433 * sysdeps/unix/sysv/linux/configure: Likewise.
16434 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16435 * sysdeps/x86_64/configure: Likewise.
16436 * sysdeps/x86_64/preconfigure: Likewise.
16437
36a4953a
AS
164382013-10-29 Andreas Schwab <schwab@suse.de>
16439
16440 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16441
c79a1204
SP
164422013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16443
dfa1b402
SP
16444 * benchtests/pow-inputs: Add new inputs.
16445
54f73d9c
SP
16446 * benchtests/exp-inputs: Add new inputs.
16447
c79a1204
SP
16448 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16449 conditional check for return value.
16450 (__cos32): Likewise.
16451
67beb545 164522013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
16453
16454 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16455 to provide a boost for large inputs with word alignment.
16456 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16457 implementation based on optimized PPC64 strcpy.
16458 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16459 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16460 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16461 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16462
151659f6
OB
164632013-10-25 Ondřej Bílka <neleai@seznam.cz>
16464
482a077e 16465 [BZ #2801]
151659f6
OB
16466 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16467
10b0f26b
OB
164682013-10-25 Ondřej Bílka <neleai@seznam.cz>
16469
16470 [BZ #14876]
16471 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16472 * time/tst-strptime.c (day_tests): Add testcase.
16473
ca42d35e
OB
164742013-10-25 Ondřej Bílka <neleai@seznam.cz>
16475
482a077e 16476 [BZ #14029]
ca42d35e
OB
16477 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16478
52e6d801
FB
164792013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16480
16481 [BZ #16074]
16482 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16483 MAP_FAILED on error.
16484
7cbcdb36
SP
164852013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16486
16487 [BZ #16072]
16488 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16489 heap for large requests.
16490
894f3f10
AM
164912013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16492
16493 [BZ #9954]
16494 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16495 result if the result has no associated interface.
16496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16497 interface for all 127.X.Y.Z addresses.
16498
b85545a6
CL
164992013-10-24 Chris Leonard <cjl@sugarlabs.org>
16500
16501 * locale/iso-639.def: Add Ligurian (lij)
16502
d1f23d46
OB
165032013-10-21 Ondřej Bílka <neleai@seznam.cz>
16504
16505 [BZ #15825]
16506 * sunrpc/rpc_main.c: Document rpcgen -5.
16507
4db5b08f
MS
165082013-10-19 Michael Stahl <mstahl@redhat.com>
16509
16510 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16511
a471e96a
OB
165122013-10-19 Ondřej Bílka <neleai@seznam.cz>
16513
d1f23d46 16514 [BZ #10278]
a471e96a
OB
16515 * posix/glob.c: Match only directories when trailing slash is present.
16516 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16517 (main): Add testcase.
16518
45c30c61
OB
165192013-10-19 Ondřej Bílka <neleai@seznam.cz>
16520
16521 [BZ #15670]
16522 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16523
484c12fb
CD
165242013-10-18 Carlos O'Donell <carlos@redhat.com>
16525
3d7dc513
CD
16526 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16527 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16528 AUTH_DES and cindex for FIPS 140-2.
16529 (DES Encryption): Add cindex FIPS 46-3.
16530
484c12fb
CD
16531 * locale/locarchive.h (struct locarhandle): Add fname.
16532 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16533 if an optional argument was specified to --list-archive,
16534 otherwise NULL.
16535 * locale/programs/locarchive.c (show_archive_content): Take new
16536 argument fname and pass it via ah.fname to open_archive.
16537 * locale/programs/localedef.h: Update decl.
16538 (open_archive): If AH->fname is non-null, open that file
16539 rather than the default file name, and don't ignore ENOENT.
16540 (create_archive): Set AH.fname to NULL.
16541 (delete_locales_from_archive): Likewise.
16542 (add_locales_to_archive): Likewise.
16543 * locale/programs/locfile.c (write_all_categories): Likewise.
16544
3c8325fb
JM
165452013-10-18 Joseph Myers <joseph@codesourcery.com>
16546 Aldy Hernandez <aldyh@redhat.com>
16547
16548 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16549 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16550 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16551 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16552 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16553 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16554 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16555 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16556 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16557 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16558 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16559 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16560 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16561 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16562 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16563 Likewise.
16564 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16565 Likewise.
16566 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16567 Likewise.
16568 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16569 Likewise.
16570 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16571 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16572 Likewise.
16573 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16574 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16575 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16576 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16577 Likewise.
16578 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16579 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16580 * sysdeps/powerpc/preconfigure: Likewise.
16581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16582 Likewise.
16583 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16584 Replace contents of file by #include of <fenv_libc.h>.
16585 * sysdeps/powerpc/soft-fp/sfp-machine.h
16586 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16587 and <sys/prctl.h>.
16588 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16592 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16593 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16595 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16596 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16598 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16599 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16601 Allow copysignl PLT reference to be missing.
16602
5abe0682
RS
166032013-10-18 Richard Sandiford <richard@codesourcery.com>
16604 Joseph Myers <joseph@codesourcery.com
16605
16606 [BZ #15948]
16607 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16608 single character.
16609 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16610
c7738d08
SP
166112013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16612
16613 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16614 * elf/tst-tls1.c: Likewise.
16615 * elf/tst-tls10.h: Likewise.
16616 * elf/tst-tls14.c: Likewise.
16617 * elf/tst-tls2.c: Likewise.
16618 * elf/tst-tls3.c: Likewise.
16619 * elf/tst-tls4.c: Likewise.
16620 * elf/tst-tls5.c: Likewise.
16621 * elf/tst-tls6.c: Likewise.
16622 * elf/tst-tls7.c: Likewise.
16623 * elf/tst-tls8.c: Likewise.
16624 * elf/tst-tls9.c: Likewise.
16625 * elf/tst-tlsmod1.c: Likewise.
16626 * elf/tst-tlsmod13.c: Likewise.
16627 * elf/tst-tlsmod13a.c: Likewise.
16628 * elf/tst-tlsmod14a.c: Likewise.
16629 * elf/tst-tlsmod16a.c: Likewise.
16630 * elf/tst-tlsmod16b.c: Likewise.
16631 * elf/tst-tlsmod2.c: Likewise.
16632 * elf/tst-tlsmod3.c: Likewise.
16633 * elf/tst-tlsmod4.c: Likewise.
16634 * elf/tst-tlsmod5.c: Likewise.
16635 * elf/tst-tlsmod6.c: Likewise.
16636
0bfcf2c7
OB
166372013-10-18 Ondřej Bílka <neleai@seznam.cz>
16638
16639 [BZ #12486]
16640 * malloc/malloc.c: remove checks for statistics.
16641
264aad1e
OB
166422013-10-17 Ondřej Bílka <neleai@seznam.cz>
16643
16644 [BZ #15277]
16645 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16646 * inet/tst-network.c: Add testcase.
16647
b957ced8
AS
166482013-10-17 Andreas Schwab <schwab@suse.de>
16649
16650 [BZ #15218]
16651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16652 to determine canonical name.
16653
c5d5d574
OB
166542013-10-17 Ondřej Bílka <neleai@seznam.cz>
16655
16656 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16657 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16664 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16665 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16666 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16667 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16671 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16673 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16674 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16675 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16676 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16677 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16678 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16679 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16680 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16681 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16682 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16683 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16684 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16685 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16686 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16688 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16689 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16690 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16691 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16692 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16693 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16694 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16695 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16696 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16697 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16698 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16699 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16700 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16701 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16702 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16703 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16704 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16705 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16706 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16707 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16708 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16709 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16710 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16711 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16712 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16713 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16714
e5c2c2d0
JM
167152013-10-17 Joseph Myers <joseph@codesourcery.com>
16716
16717 [BZ #16041]
16718 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16719 make result into a quiet NaN.
16720
51ca9e29
JM
167212013-10-16 Joseph Myers <joseph@codesourcery.com>
16722
16723 * soft-fp/adddf3.c: Fix horizontal whitespace.
16724 * soft-fp/addsf3.c: Likewise.
16725 * soft-fp/addtf3.c: Likewise.
16726 * soft-fp/divdf3.c: Likewise.
16727 * soft-fp/divsf3.c: Likewise.
16728 * soft-fp/divtf3.c: Likewise.
16729 * soft-fp/double.h: Likewise.
16730 * soft-fp/eqdf2.c: Likewise.
16731 * soft-fp/eqsf2.c: Likewise.
16732 * soft-fp/eqtf2.c: Likewise.
16733 * soft-fp/extenddftf2.c: Likewise.
16734 * soft-fp/extended.h: Likewise.
16735 * soft-fp/extendsfdf2.c: Likewise.
16736 * soft-fp/extendsftf2.c: Likewise.
16737 * soft-fp/extendxftf2.c: Likewise.
16738 * soft-fp/fixdfdi.c: Likewise.
16739 * soft-fp/fixdfsi.c: Likewise.
16740 * soft-fp/fixdfti.c: Likewise.
16741 * soft-fp/fixsfdi.c: Likewise.
16742 * soft-fp/fixsfsi.c: Likewise.
16743 * soft-fp/fixsfti.c: Likewise.
16744 * soft-fp/fixtfdi.c: Likewise.
16745 * soft-fp/fixtfsi.c: Likewise.
16746 * soft-fp/fixtfti.c: Likewise.
16747 * soft-fp/fixunsdfdi.c: Likewise.
16748 * soft-fp/fixunsdfsi.c: Likewise.
16749 * soft-fp/fixunsdfti.c: Likewise.
16750 * soft-fp/fixunssfdi.c: Likewise.
16751 * soft-fp/fixunssfsi.c: Likewise.
16752 * soft-fp/fixunssfti.c: Likewise.
16753 * soft-fp/fixunstfdi.c: Likewise.
16754 * soft-fp/fixunstfsi.c: Likewise.
16755 * soft-fp/fixunstfti.c: Likewise.
16756 * soft-fp/floatdidf.c: Likewise.
16757 * soft-fp/floatdisf.c: Likewise.
16758 * soft-fp/floatditf.c: Likewise.
16759 * soft-fp/floatsidf.c: Likewise.
16760 * soft-fp/floatsisf.c: Likewise.
16761 * soft-fp/floatsitf.c: Likewise.
16762 * soft-fp/floattidf.c: Likewise.
16763 * soft-fp/floattisf.c: Likewise.
16764 * soft-fp/floattitf.c: Likewise.
16765 * soft-fp/floatundidf.c: Likewise.
16766 * soft-fp/floatundisf.c: Likewise.
16767 * soft-fp/floatunditf.c: Likewise.
16768 * soft-fp/floatunsidf.c: Likewise.
16769 * soft-fp/floatunsisf.c: Likewise.
16770 * soft-fp/floatunsitf.c: Likewise.
16771 * soft-fp/floatuntidf.c: Likewise.
16772 * soft-fp/floatuntisf.c: Likewise.
16773 * soft-fp/floatuntitf.c: Likewise.
16774 * soft-fp/fmadf4.c: Likewise.
16775 * soft-fp/fmasf4.c: Likewise.
16776 * soft-fp/fmatf4.c: Likewise.
16777 * soft-fp/gedf2.c: Likewise.
16778 * soft-fp/gesf2.c: Likewise.
16779 * soft-fp/getf2.c: Likewise.
16780 * soft-fp/ledf2.c: Likewise.
16781 * soft-fp/lesf2.c: Likewise.
16782 * soft-fp/letf2.c: Likewise.
16783 * soft-fp/muldf3.c: Likewise.
16784 * soft-fp/mulsf3.c: Likewise.
16785 * soft-fp/multf3.c: Likewise.
16786 * soft-fp/negdf2.c: Likewise.
16787 * soft-fp/negsf2.c: Likewise.
16788 * soft-fp/negtf2.c: Likewise.
16789 * soft-fp/op-1.h: Likewise.
16790 * soft-fp/op-2.h: Likewise.
16791 * soft-fp/op-4.h: Likewise.
16792 * soft-fp/op-8.h: Likewise.
16793 * soft-fp/op-common.h: Likewise.
16794 * soft-fp/quad.h: Likewise.
16795 * soft-fp/single.h: Likewise.
16796 * soft-fp/soft-fp.h: Likewise.
16797 * soft-fp/sqrtdf2.c: Likewise.
16798 * soft-fp/sqrtsf2.c: Likewise.
16799 * soft-fp/sqrttf2.c: Likewise.
16800 * soft-fp/subdf3.c: Likewise.
16801 * soft-fp/subsf3.c: Likewise.
16802 * soft-fp/subtf3.c: Likewise.
16803 * soft-fp/truncdfsf2.c: Likewise.
16804 * soft-fp/trunctfdf2.c: Likewise.
16805 * soft-fp/trunctfsf2.c: Likewise.
16806 * soft-fp/trunctfxf2.c: Likewise.
16807 * soft-fp/unorddf2.c: Likewise.
16808 * soft-fp/unordsf2.c: Likewise.
16809 * soft-fp/unordtf2.c: Likewise.
16810
9ebb0332
JM
168112013-10-15 Joseph Myers <joseph@codesourcery.com>
16812
16813 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16814 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16815
4b1a6d8b
OB
168162013-10-15 Ondřej Bílka <neleai@seznam.cz>
16817
16818 * elf/dl-libc.c: Clear initfini list after freeing.
16819
1e145589
JM
168202013-10-14 Joseph Myers <joseph@codesourcery.com>
16821
16822 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16823 * soft-fp/addsf3.c: Likewise.
16824 * soft-fp/addtf3.c: Likewise.
16825 * soft-fp/divdf3.c: Likewise.
16826 * soft-fp/divsf3.c: Likewise.
16827 * soft-fp/divtf3.c: Likewise.
16828 * soft-fp/double.h: Likewise.
16829 * soft-fp/eqdf2.c: Likewise.
16830 * soft-fp/eqsf2.c: Likewise.
16831 * soft-fp/eqtf2.c: Likewise.
16832 * soft-fp/extenddftf2.c: Likewise.
16833 * soft-fp/extended.h: Likewise.
16834 * soft-fp/extendsfdf2.c: Likewise.
16835 * soft-fp/extendsftf2.c: Likewise.
16836 * soft-fp/extendxftf2.c: Likewise.
16837 * soft-fp/fixdfdi.c: Likewise.
16838 * soft-fp/fixdfsi.c: Likewise.
16839 * soft-fp/fixdfti.c: Likewise.
16840 * soft-fp/fixsfdi.c: Likewise.
16841 * soft-fp/fixsfsi.c: Likewise.
16842 * soft-fp/fixsfti.c: Likewise.
16843 * soft-fp/fixtfdi.c: Likewise.
16844 * soft-fp/fixtfsi.c: Likewise.
16845 * soft-fp/fixtfti.c: Likewise.
16846 * soft-fp/fixunsdfdi.c: Likewise.
16847 * soft-fp/fixunsdfsi.c: Likewise.
16848 * soft-fp/fixunsdfti.c: Likewise.
16849 * soft-fp/fixunssfdi.c: Likewise.
16850 * soft-fp/fixunssfsi.c: Likewise.
16851 * soft-fp/fixunssfti.c: Likewise.
16852 * soft-fp/fixunstfdi.c: Likewise.
16853 * soft-fp/fixunstfsi.c: Likewise.
16854 * soft-fp/fixunstfti.c: Likewise.
16855 * soft-fp/floatdidf.c: Likewise.
16856 * soft-fp/floatdisf.c: Likewise.
16857 * soft-fp/floatditf.c: Likewise.
16858 * soft-fp/floatsidf.c: Likewise.
16859 * soft-fp/floatsisf.c: Likewise.
16860 * soft-fp/floatsitf.c: Likewise.
16861 * soft-fp/floattidf.c: Likewise.
16862 * soft-fp/floattisf.c: Likewise.
16863 * soft-fp/floattitf.c: Likewise.
16864 * soft-fp/floatundidf.c: Likewise.
16865 * soft-fp/floatundisf.c: Likewise.
16866 * soft-fp/floatunsidf.c: Likewise.
16867 * soft-fp/floatunsisf.c: Likewise.
16868 * soft-fp/floatuntidf.c: Likewise.
16869 * soft-fp/floatuntisf.c: Likewise.
16870 * soft-fp/floatuntitf.c: Likewise.
16871 * soft-fp/fmadf4.c: Likewise.
16872 * soft-fp/fmasf4.c: Likewise.
16873 * soft-fp/fmatf4.c: Likewise.
16874 * soft-fp/gedf2.c: Likewise.
16875 * soft-fp/gesf2.c: Likewise.
16876 * soft-fp/getf2.c: Likewise.
16877 * soft-fp/ledf2.c: Likewise.
16878 * soft-fp/lesf2.c: Likewise.
16879 * soft-fp/letf2.c: Likewise.
16880 * soft-fp/muldf3.c: Likewise.
16881 * soft-fp/mulsf3.c: Likewise.
16882 * soft-fp/multf3.c: Likewise.
16883 * soft-fp/negdf2.c: Likewise.
16884 * soft-fp/negsf2.c: Likewise.
16885 * soft-fp/negtf2.c: Likewise.
16886 * soft-fp/op-1.h: Likewise.
16887 * soft-fp/op-2.h: Likewise.
16888 * soft-fp/op-4.h: Likewise.
16889 * soft-fp/op-8.h: Likewise.
16890 * soft-fp/op-common.h: Likewise.
16891 * soft-fp/quad.h: Likewise.
16892 * soft-fp/single.h: Likewise.
16893 * soft-fp/soft-fp.h: Likewise.
16894 * soft-fp/sqrtdf2.c: Likewise.
16895 * soft-fp/sqrtsf2.c: Likewise.
16896 * soft-fp/sqrttf2.c: Likewise.
16897 * soft-fp/subdf3.c: Likewise.
16898 * soft-fp/subsf3.c: Likewise.
16899 * soft-fp/subtf3.c: Likewise.
16900 * soft-fp/truncdfsf2.c: Likewise.
16901 * soft-fp/trunctfdf2.c: Likewise.
16902 * soft-fp/trunctfsf2.c: Likewise.
16903 * soft-fp/trunctfxf2.c: Likewise.
16904 * soft-fp/unorddf2.c: Likewise.
16905 * soft-fp/unordsf2.c: Likewise.
16906 * soft-fp/unordtf2.c: Likewise.
16907
17c48a60
OB
169082013-10-14 Ondřej Bílka <neleai@seznam.cz>
16909
16910 [BZ #15672]
16911 * misc/error.c (error_tail): Fix possible buffer overflow.
16912
cabba934
OB
169132013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16914
16915 [BZ #13028]
16916 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16917 address.
16918
94bf958a
PM
169192013-10-14 P. J. McDermott <pj@pehjota.net>
16920
16921 [BZ #832]
16922 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16923 testing pipefail option.
16924
71b4dea7
JM
169252013-10-12 Joseph Myers <joseph@codesourcery.com>
16926
16927 * soft-fp/double.h: Indent preprocessor directives inside #if.
16928 * soft-fp/extended.h: Likewise.
16929 * soft-fp/op-2.h: Likewise.
16930 * soft-fp/op-4.h: Likewise.
16931 * soft-fp/op-common.h: Likewise.
16932 * soft-fp/quad.h: Likewise.
16933 * soft-fp/single.h: Likewise.
16934 * soft-fp/soft-fp.h: Likewise.
16935
55602758
YC
169362013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16937
16938 * iconv/iconv_prog.c: Fix typos.
16939 * stdio-common/psiginfo-data.h: Likewise.
16940
9cd83302
RT
169412013-10-12 Reuben Thomas <rrt@sc3d.org>
16942
16943 [BZ #15764]
16944 * locale/setlocale.c: Fix typo.
16945
99fd9f47
JM
169462013-10-12 Joseph Myers <joseph@codesourcery.com>
16947
b7ea74f0
JM
16948 [BZ #16036]
16949 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16950 signaling NaN arguments.
16951 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16952 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16953
8a509447
JM
16954 [BZ #14910]
16955 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16956 unordered operands.
16957 * soft-fp/gesf2.c (__gesf2): Likewise.
16958 * soft-fp/getf2.c (__getf2): Likewise.
16959 * soft-fp/ledf2.c (__ledf2): Likewise.
16960 * soft-fp/lesf2.c (__lesf2): Likewise.
16961 * soft-fp/letf2.c (__letf2): Likewise.
16962
98998e9f
JM
16963 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16964 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16965 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16966 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16967 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16968 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16969 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16970 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16971 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16972 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16973 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16974 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16975 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16976 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16977 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16978 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16979 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16980 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16981 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16982 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16983 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16984 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16985 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16986 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16987 * soft-fp/floattidf.c (__floattidf): Likewise.
16988 * soft-fp/floattisf.c (__floattisf): Likewise.
16989 * soft-fp/floattitf.c (__floattitf): Likewise.
16990 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16991 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16992 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16993 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16994 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16995 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16996 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16997 * soft-fp/gesf2.c (__gesf2): Likewise.
16998 * soft-fp/getf2.c (__getf2): Likewise.
16999 * soft-fp/ledf2.c (__ledf2): Likewise.
17000 * soft-fp/lesf2.c (__lesf2): Likewise.
17001 * soft-fp/letf2.c (__letf2): Likewise.
17002
8edc4a11
JM
17003 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17004 Undefine and redefine.
17005 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17006 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17007 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17008 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17009 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17010 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17011 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17012 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17013 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17014 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17015 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17016 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17017 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17018 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17019 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17020
8399acaf
JM
17021 [BZ #16032]
17022 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17023 without decrementing exponent if mantissa >= that for the
17024 denominator, not >.
17025 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17026 denominator, not >. Decrement exponent in < case instead of
17027 incrementing in >= case.
17028 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17029 without decrementing exponent if mantissa >= that for the
17030 denominator, not >.
17031
99fd9f47
JM
17032 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17033 computing saturated result for unsigned overflow.
17034
10e1cf6b
SP
170352013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17036 Jeff Law <law@redhat.com>
17037
17038 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17039 (atan2Mp): Add systemtap probe marker.
17040 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17041 (__ieee754_log): Add systemtap probe marker.
17042 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17043 (atanMp): Add systemtap probe marker.
17044 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17045 (tanMp): Add systemtap probe marker.
17046 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17047 (__slowexp): Add systemtap probe marker.
17048 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17049 (__slowpow): Add systemtap probe marker.
17050 * manual/probes.texi: Document probes.
17051
3d110c7c
EB
170522013-10-11 Eric Biggers <ebiggers3@gmail.com>
17053
17054 [BZ #15362]
17055 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17056 written.
17057 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17058 written.
17059 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17060 written to buffer but not flushed.
17061 * libio/iofwrite_u.c: Likewise.
17062 * libio/iopadn.c: Return bytes returned even if EOF was
17063 encountered.
17064 * libio/iowpadn.c: Likewise.
17065 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17066 if _IO_padn does not write the whole buffer.
17067 [!COMPILE_WPRINTF] (PAD): Likewise.
17068
75b4202a
DM
170692013-10-10 David S. Miller <davem@davemloft.net>
17070
17071 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17072 directory block.
17073
6c6352e6
JM
170742013-10-10 Joseph Myers <joseph@codesourcery.com>
17075
33b853c3
JM
17076 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17077 instead of FSF address.
17078 * soft-fp/fixdfti.c: Likewise.
17079 * soft-fp/fixsfti.c: Likewise.
17080 * soft-fp/fixtfti.c: Likewise.
17081 * soft-fp/fixunsdfti.c: Likewise.
17082 * soft-fp/fixunssfti.c: Likewise.
17083 * soft-fp/fixunstfti.c: Likewise.
17084 * soft-fp/floattidf.c: Likewise.
17085 * soft-fp/floattisf.c: Likewise.
17086 * soft-fp/floattitf.c: Likewise.
17087 * soft-fp/floatuntidf.c: Likewise.
17088 * soft-fp/floatuntisf.c: Likewise.
17089 * soft-fp/floatuntitf.c: Likewise.
17090 * soft-fp/trunctfxf2.c: Likewise.
17091
6c6352e6
JM
17092 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17093 * soft-fp/fixdfti.c: Likewise.
17094 * soft-fp/fixsfti.c: Likewise.
17095 * soft-fp/fixtfti.c: Likewise.
17096 * soft-fp/fixunsdfti.c: Likewise.
17097 * soft-fp/fixunssfti.c: Likewise.
17098 * soft-fp/fixunstfti.c: Likewise.
17099 * soft-fp/floattidf.c: Likewise.
17100 * soft-fp/floattisf.c: Likewise.
17101 * soft-fp/floattitf.c: Likewise.
17102 * soft-fp/floatuntidf.c: Likewise.
17103 * soft-fp/floatuntisf.c: Likewise.
17104 * soft-fp/floatuntitf.c: Likewise.
17105 * soft-fp/trunctfxf2.c: Likewise.
17106
3bf78b71
DM
171072013-10-10 David S. Miller <davem@davemloft.net>
17108
17109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17110
6f10289e
JM
171112013-10-10 Joseph Myers <joseph@codsourcery.com>
17112
bd878fc0
JM
17113 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17114 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17115 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17116 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17117 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17118 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17119 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17120
6f10289e
JM
17121 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17122 for NaNs before doing comparisons on argument.
17123 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17124 Likewise.
17125
321e2684
WN
171262013-10-10 Will Newton <will.newton@linaro.org>
17127
17128 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17129 passed to _int_memalign does not overflow.
17130
40fefba1
TR
171312013-10-10 Torvald Riegel <triegel@redhat.com>
17132
17133 * scripts/bench.pl: Add include-sources directive.
17134 * benchtests/README: Update documentation.
17135
2ae21ed2
JM
171362013-10-10 Joseph Myers <joseph@codesourcery.com>
17137
dcc2dd3f
JM
17138 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17139 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17140 instead of FP_INIT_ROUNDMODE.
17141 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17142 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17143
2ae21ed2
JM
17144 [BZ #16034]
17145 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17146 copy class of input value.
17147 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17148 not handle exceptions.
17149 * soft-fp/negsf2.c (__negsf2): Likewise.
17150 * soft-fp/negtf2.c (__negtf2): Likewise.
17151 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17152
cb8f9562
JM
171532013-10-09 Joseph Myers <joseph@codesourcery.com>
17154
17155 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17156 semicolon. From Linux kernel.
17157
5b60c59d
AB
171582013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17159
17160 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17161
b86835ca
YC
171622013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17163
17164 [BZ #156]
17165 * manual/socket.texi: Added statement about buffer
17166 for gethostbyname2_r.
17167
e7044ea7
OB
171682013-10-08 Ondřej Bílka <neleai@seznam.cz>
17169
17170 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17171 Use .p2align directive instead, throughout.
17172 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17173 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17174 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17175 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17177 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17178 * sysdeps/x86_64/strchr.S: Likewise.
17179 * sysdeps/x86_64/strrchr.S: Likewise.
17180
09544cbc
SP
171812013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17182
88576635
SP
17183 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17184
e7b2d1dd
SP
17185 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17186
09544cbc
SP
17187 * sysdeps/generic/math_private.h (__mpsin1): Remove
17188 declaration.
17189 (__mpcos1): Likewise.
17190 (__mpsin): New argument __range_reduce.
17191 (__mpcos): Likewise.
17192 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17193 (slow): Use __mpsin and __mpcos.
17194 (slow1): Likewise.
17195 (slow2): Likewise.
17196 (sloww): Likewise.
17197 (sloww1): Likewise.
17198 (sloww2): Likewise.
17199 (bsloww): Likewise.
17200 (bsloww1): Likewise.
17201 (bsloww2): Likewise.
17202 (cslow2): Likewise.
17203 (csloww): Likewise.
17204 (csloww1): Likewise.
17205 (csloww2): Likewise.
17206 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17207 range_reduce. Merge in __mpsin1.
17208 (__mpcos): Likewise.
17209 (__mpsin1): Remove.
17210 (__mpcos1): Likewise.
17211
7602d070
JM
172122013-10-07 Joseph Myers <joseph@codesourcery.com>
17213
17214 * locale/loadlocale.c (_nl_intern_locale_data): Use
17215 LOCFILE_ALIGNED_P.
17216 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17217 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17218 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17219 obstack data is appropriately aligned.
17220 (obstack_int32_grow_fast): Likewise.
17221 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17222 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17223 (add_locale_uint32_array): Likewise.
17224
a357259b
SP
172252013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17226
17227 * benchtests/Makefile: Remove ARGLIST and RET variables.
17228 ($(objpfx)bench-%.c): Pass only function name to the script.
17229 * benchtests/README: Update documentation.
17230 * benchtests/acos-inputs: Add new directives.
17231 * benchtests/acosh-inputs: Likewise.
17232 * benchtests/asin-inputs: Likewise.
17233 * benchtests/asinh-inputs: Likewise.
17234 * benchtests/atan-inputs: Likewise.
17235 * benchtests/atanh-inputs: Likewise.
17236 * benchtests/cos-inputs: Likewise.
17237 * benchtests/cosh-inputs: Likewise.
17238 * benchtests/exp-inputs: Likewise.
17239 * benchtests/log-inputs: Likewise.
17240 * benchtests/pow-inputs: Likewise.
17241 * benchtests/rint-inputs: Likewise.
17242 * benchtests/sin-inputs: Likewise.
17243 * benchtests/sinh-inputs: Likewise.
17244 * benchtests/tan-inputs: Likewise.
17245 * benchtests/tanh-inputs: Likewise.
17246 * scripts/bench.pl: Add support for new directives.
17247
9ec1b13d
AM
172482013-10-07 Alan Modra <amodra@gmail.com>
17249
17250 * README: Fix careless merge.
17251
8b7d57cd
AM
172522013-10-05 Alan Modra <amodra@gmail.com>
17253
17254 * NEWS: Mention powerpc64le support and bugs fixed.
17255 * README: Both big-endian and little-endian powerpc64 supported.
17256
7b7bab13
ST
172572013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17258
57f41c40
AS
17259 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17260 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17261 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17262 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17263
d39baad1
RA
172642013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17265
17266 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17267 match prototype.
17268
cd78f7e7
JM
172692013-10-04 Joseph Myers <joseph@codesourcery.com>
17270
29d73d86
JM
17271 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17272 Move -mhard-float appending from
17273 ports/sysdeps/powerpc/powerpc32/Makefile.
17274 [$(with-fp) = yes] (ASFLAGS): Likewise.
17275 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17276 * sysdeps/powerpc/nofpu: Move directory from
17277 ports/sysdeps/powerpc/nofpu.
17278 * sysdeps/powerpc/soft-fp: Move directory from
17279 ports/sysdeps/powerpc/soft-fp.
17280 * sysdeps/powerpc/powerpc32/405: Move directory from
17281 ports/sysdeps/powerpc/powerpc32/405.
17282 * sysdeps/powerpc/powerpc32/440: Move directory from
17283 ports/sysdeps/powerpc/powerpc32/440.
17284 * sysdeps/powerpc/powerpc32/464: Move directory from
17285 ports/sysdeps/powerpc/powerpc32/464.
17286 * sysdeps/powerpc/powerpc32/476: Move directory from
17287 ports/sysdeps/powerpc/powerpc32/476.
17288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17289 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17291 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17293 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17295 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17297 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17298 * README: Update for powerpc-*-linux-gnu software floating point
17299 support in libc.
17300
e246b347
JM
17301 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17302 case to powerpc/powerpc32*.
17303 * sysdeps/unix/sysv/linux/configure: Regenerated.
17304
89c2003e
JM
17305 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17306 (_FPU_MASK_OM): Define as 0x04.
17307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17309 0x00c10080.
17310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17311 0x0000003c.
17312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17313
cd78f7e7
JM
17314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17315 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17316 getcontext_e500.
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17318 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17319 setcontext_e500.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17321 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17322 and setcontext_e500.
17323
c755294d
CL
173242013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17325
17326 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17327
e16d221c
SP
173282013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17329
17330 * manual/threads.texi (Default Thread Attributes): Fix typo.
17331
215c7d43
WN
173322013-10-04 Will Newton <will.newton@linaro.org>
17333
17334 * malloc/Makefile: Add tst-memalign.
17335 * malloc/tst-memalign.c: New file.
17336
27d0461b
WN
17337 * malloc/tst-posix_memalign.c: Add comments.
17338 (do_test): Add comments and call free on all potentially
17339 allocated pointers. Add space after cast.
17340
1bc92709
WN
17341 * malloc/tst-pvalloc.c: Add comments.
17342 (do_test): Add comments and call free on all potentially
17343 allocated pointers. Remove duplicate check for NULL pointer.
17344 Add space after cast.
17345
66a9be9d
WN
17346 * malloc/tst-valloc.c: Add comments.
17347 (do_test): Add comments and call free on all potentially
17348 allocated pointers. Remove duplicate check for NULL pointer.
17349 Add space after cast.
17350
4cb81307
AM
173512013-10-04 Alan Modra <amodra@gmail.com>
17352
17353 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17354 Use stdint types in rather than __attribute__((mode())).
17355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17356
f8e3e9f3
AM
173572013-10-04 Alan Modra <amodra@gmail.com>
17358
17359 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17360 Correct handling of unaligned relocs for little-endian.
17361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17362
8f9ebb08
AM
173632013-10-04 Alan Modra <amodra@gmail.com>
17364
17365 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17366 * configure: Regenerate.
17367 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17368 * shlib-versions: Likewise.
17369
0edf96c2
AM
173702013-10-04 Alan Modra <amodra@gmail.com>
17371
17372 * string/tester.c (test_memrchr): Increment reported test cycle.
17373
e0f7a380
AM
173742013-10-04 Alan Modra <amodra@gmail.com>
17375
17376 * string/test-memcpy.c (do_one_test): When reporting errors, print
17377 string address and don't overrun end of string.
17378
466b0393
AM
173792013-10-04 Alan Modra <amodra@gmail.com>
17380
17381 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17382 insrdi. Make better use of reg selection to speed exit slightly.
17383 Schedule entry path a little better. Remove useless "are we done"
17384 checks on entry to main loop. Handle wrapping around zero address.
17385 Correct main loop count. Handle single left-over word from main
17386 loop inline rather than by using loop_small. Remove extra word
17387 case in loop_small caused by wrong loop count. Add little-endian
17388 support.
17389 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17390 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17391 cache hint.
17392 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17393 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17394 support. Avoid rlwimi.
17395 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17396
3be87c77
AM
173972013-10-04 Alan Modra <amodra@gmail.com>
17398
17399 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 17400 insrdi. Formatting.
3be87c77
AM
17401 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17402 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17403 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17404 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17405 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17406 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17407
759cfef3
AM
174082013-10-04 Alan Modra <amodra@gmail.com>
17409
17410 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17411 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17412 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17413 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17414 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17415 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17416 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17417 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17418 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17419 use of regs. Use power7 mtocrf. Tidy function tails.
17420
fe6e95d7
AM
174212013-10-04 Alan Modra <amodra@gmail.com>
17422
17423 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17424 Formatting. Consistently use rXXX register defines or rN defines.
17425 Use early exit labels that avoid restoring unused non-volatile regs.
17426 Make cr field use more consistent with rWORDn compares. Rename
17427 regs used as shift registers for unaligned loop, using rN defines
17428 for short lifetime/multiple use regs.
17429 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17430 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17431 addi 1,1,64 to pop stack frame. Simplify return value code.
17432 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17433
664318c3
AM
174342013-10-04 Alan Modra <amodra@gmail.com>
17435
17436 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17437 support. Correct typos, formatting. Optimize tail. Use insrdi
17438 rather than rlwimi.
17439 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17440 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17441 little-endian support. Correct typos.
17442 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17443 rather than rlwimi.
17444 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17445 in loop and entry code to keep "and." results.
17446 (strchr): Add little-endian support. Comment. Move cntlzd
17447 earlier in tail.
17448 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17449
43b84013
AM
174502013-10-04 Alan Modra <amodra@gmail.com>
17451
17452 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17453 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17454 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17455 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17456
8a7413f9
AM
174572013-10-04 Alan Modra <amodra@gmail.com>
17458
17459 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17460 (rTMP): Define as r11.
17461 (strcmp): Add little-endian support. Optimise tail.
17462 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17463 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17464 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17465 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17466 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17467 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17469
33ee81de
AM
174702013-10-04 Alan Modra <amodra@gmail.com>
17471
17472 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17473 little-endian support. Remove unnecessary "are we done" tests.
17474 Handle "s" wrapping around zero and extremely large "size".
17475 Correct main loop count. Handle single left-over word from main
17476 loop inline rather than by using small_loop. Correct comments.
17477 Delete "zero" tail, use "end_max" instead.
17478 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17479
db9b4570
AM
174802013-10-04 Alan Modra <amodra@gmail.com>
17481
17482 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17483 support. Don't branch over align.
17484 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17485 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17486 support. Rearrange tmp reg use to suit. Comment.
17487 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17488
f7c399cf
AM
174892013-10-04 Alan Modra <amodra@gmail.com>
17490
17491 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17492
0b2c2ace
AM
174932013-10-04 Alan Modra <amodra@gmail.com>
17494
17495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17496 conditional form of branch and link when obtaining pc.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17498
02f04a6c
AM
174992013-10-04 Alan Modra <amodra@gmail.com>
17500
17501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17502 HIWORD/LOWORD.
17503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17505
9b874b2f
AM
175062013-10-04 Alan Modra <amodra@gmail.com>
17507
17508 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17509 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17510 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17511 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17512 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17513 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17514 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17515 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17516 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17517 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17518
be1e5d31
AB
175192013-10-04 Anton Blanchard <anton@au1.ibm.com>
17520 Alistair Popple <alistair@ozlabs.au.ibm.com>
17521 Alan Modra <amodra@gmail.com>
17522
17523 [BZ #15723]
17524 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17525 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17526 _dl_hwcap access for little-endian.
17527 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17528 destroy vmx regs when saving unaligned.
17529 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17530 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17531 destroy vmx regs when saving unaligned.
17532
fef13a78
AM
175332013-10-04 Alan Modra <amodra@gmail.com>
17534
17535 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17536 Don't use a union to pack hi/low value.
17537
76a66d51
AB
175382013-10-04 Anton Blanchard <anton@au1.ibm.com>
17539
17540 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17541 for little-endian.
17542 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17543 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17544 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17545 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17546 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17547
6a31fe7f
AM
175482013-10-04 Alan Modra <amodra@gmail.com>
17549
17550 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17551 constants to usual value for .cst8 section, and remove redundant
17552 high address load.
17553 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17554 constant for 0x1p52. Load little-endian words of double from
17555 correct stack offsets.
17556
7b88401f
AM
175572013-10-04 Alan Modra <amodra@gmail.com>
17558
17559 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17560 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17561 words of double from correct stack offsets.
17562 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17563 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17564 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17565 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17566 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17567 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17568 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17569 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17570 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17571 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17572 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17573 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17574 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17575 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17576 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17577 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17578 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17579
9c008155
AM
175802013-10-04 Alan Modra <amodra@gmail.com>
17581
17582 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17583 64-bit int/double union.
17584 (_FPU_SETCW): Likewise.
17585 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17586 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17587
da13146d
AM
175882013-10-04 Alan Modra <amodra@gmail.com>
17589
17590 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17591 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17592
603e8410
AM
175932013-10-04 Alan Modra <amodra@gmail.com>
17594
17595 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17596 use vector int constants.
17597 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17598
4a28b3ca
AB
175992013-10-04 Anton Blanchard <anton@au1.ibm.com>
17600
17601 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17602 array with long long.
17603 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17604 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17605 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17606 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17607 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17608 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17609 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17610 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17611 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17612 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17613 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17614 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17615 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17616
2ca85d2b
AB
176172013-10-04 Anton Blanchard <anton@au1.ibm.com>
17618
17619 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17620 (__signbit): Likewise. Correct for little-endian.
17621 (__signbitl): Call __signbit.
17622 (lrint): Correct for little-endian.
17623 (lrintf): Call lrint.
17624
62a728ae
AM
176252013-10-04 Alan Modra <amodra@gmail.com>
17626
17627 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17628 union 32-bit int array member with 64-bit int array.
17629 (t515, tm256): Double rather than long double.
17630 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17631
32c301df
AM
176322013-10-04 Alan Modra <amodra@gmail.com>
17633
17634 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17635 Delete.
17636 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17638 version of math_ldbl.h.
17639
650ef4bd
AM
176402013-10-04 Alan Modra <amodra@gmail.com>
17641
17642 [BZ #15734], [BZ #15735]
17643 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17644 all uses of ieee875 long double macros and unions. Simplify test
17645 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17646 ldbl_extract_mantissa value for ix,iy exponents. Properly
17647 normalize after ldbl_extract_mantissa, and don't add hidden bit
17648 already handled. Don't treat low word of ieee854 mantissa like
17649 low word of IBM long double and mask off bit when testing for
17650 zero.
17651 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17652 all uses of ieee875 long double macros and unions. Simplify tests
17653 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17654 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17655 two1022, instead use their values. Recognise that tests for large
17656 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17657 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17658 Rewrite all uses of ieee875 long double macros and unions. Simplify
17659 test for 0.0L and nan. Correct negation.
17660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17661 ieee875 long double macros and unions. Correct output for large
17662 magnitude x. Correct absolute value calculation.
17663 (__erfcl): Likewise.
17664 * math/libm-test.inc: Add tests for errors discovered in IBM long
17665 double versions of fmodl, remainderl, erfl and erfcl.
17666
765714ca
AM
176672013-10-04 Alan Modra <amodra@gmail.com>
17668
17669 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17670 all uses of ieee854 long double macros and unions. Simplify tests
17671 for long doubles that are fully specified by the high double.
17672 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17673 Likewise.
17674 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17675 Remove dead code too.
17676 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17677 (__ieee754_ynl): Likewise.
17678 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17679 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17681 Remove dead code too.
17682 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17683 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17684 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17685 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17686 Simplify.
17687 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17688 Simplify.
17689 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17690 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17691 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17692 Comment on variable precision.
17693 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17694 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17695 Likewise.
17696 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17697 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17698 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17699 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17700 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17701
4ebd120c
AM
177022013-10-04 Alan Modra <amodra@gmail.com>
17703
17704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17705 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17706 all uses of ieee854 long double macros and unions.
17707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17708 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17709 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17710 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17711 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17712 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17713 Likewise.
17714 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17715 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17716 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17717 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17718 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17719 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17720 Simplify sign and nan test too.
17721 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17722 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17725 Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17727 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17728 Likewise.
17729 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17730 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17731 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17732 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17734 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17735
1b6adf88
AM
177362013-10-04 Alan Modra <amodra@gmail.com>
17737
17738 * stdio-common/printf_size.c (__printf_size): Don't use
17739 union ieee854_long_double in fpnum union.
17740 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17741 signbit macro to retrieve sign from long double.
17742 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17743 retrieve sign from long double.
17744 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17745 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17746 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17747 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17748 * math/test-misc.c (main): Don't use union ieee854_long_double.
17749
4cf69995
AM
177502013-10-04 Alan Modra <amodra@gmail.com>
17751
17752 [BZ #15680]
17753 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17754 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17755 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17756 calculation. Remove unnecessary test for denormal exponent.
17757 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17758 Correct handling of denormals. Avoid undefined shift behaviour.
17759 Correct normalisation of low mantissa when low double is denormal.
17760 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17761 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17762 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17763 Correct normalisation of low mantissa. Test for overflow of high
17764 mantissa and normalise.
17765 (ldbl_nearbyint): Use more readable constant for two52.
17766 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17767 (__mpn_construct_long_double): Fix test for overflow of high
17768 mantissa and correct normalisation. Avoid undefined shift.
17769
9605ca6c
AM
177702013-10-04 Alan Modra <amodra@gmail.com>
17771
17772 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17773 (union ibm_extended_long_double): Define as an array of ieee754_double.
17774 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17775 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17776 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17777 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17781 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17785
975569d0
JM
177862013-10-03 Joseph Myers <joseph@codesourcery.com>
17787
d3d23756
JM
17788 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17789 page size instead of calling getpagesize.
17790
975569d0
JM
17791 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17792 (LOCFILE_ALIGN_MASK): Likewise.
17793 (LOCFILE_ALIGN_UP): Likewise.
17794 (LOCFILE_ALIGNED_P): Likewise.
17795 * locale/programs/ld-collate.c (collate_output): Use the new
17796 macros instead of __alignof__ (int32_t).
17797 * locale/weight.h (findidx): Likewise.
17798
b1fe1f2b
OB
177992013-10-03 Ondřej Bílka <neleai@seznam.cz>
17800
17801 [BZ #431]
17802 * manual/string.texi: Fix strncat and wcsncat.
17803
5f855e35
BM
178042013-10-03 Brooks Moses <bmoses@google.com>
17805
17806 [BZ #15915]
17807 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17808 * Makerules: ...here, and adjust associated comments.
17809
3cef6009
WN
178102013-10-02 Will Newton <will.newton@linaro.org>
17811
17812 * malloc/Makefile: Add tst-pvalloc.
17813 * malloc/tst-pvalloc.c: New file.
17814
7815420b
WN
178152013-10-02 Will Newton <will.newton@linaro.org>
17816
17817 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17818 improve test coverage.
17819
4868b204
WN
178202013-10-02 Will Newton <will.newton@linaro.org>
17821
17822 * malloc/Makefile: Add tst-posix_memalign.
17823 * malloc/tst-posix_memalign.c: New file.
17824
29c793b3
EB
178252013-10-01 Eric Blake <eblake@redhat.com>
17826
17827 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17828 Use __THROWNL rather than __THROW on static functions.
17829
fd967522
PM
178302013-09-30 Petr Machata <pmachata@redhat.com>
17831
17832 * elf/elf.h (R_AARCH64_ABS16): New macro.
17833 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17834 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17835 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17836 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17837 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17838 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17839 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17840 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17841 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17842 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17843 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17844 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17845 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17846 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17847 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17848 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17849 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17850 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17851 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17852 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17853 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17854 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17855 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17856 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17857 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17858 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17859 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17860 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17861 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17862 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17863 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17864 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17865 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17866 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17867 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17868 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17869 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17870 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17871 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17872 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17873 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17874 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17875 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17876 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17877 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17878 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17879 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17880 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17881 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17882 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17883 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17884 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17885 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17886 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17887 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17888 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17889 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17890 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17891 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17892 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17893 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17894 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17895 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17896 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17897 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17898 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17899 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17900 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17901 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17902 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17903 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17904 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17905 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17906 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17907 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17908 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17909 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17910 (R_AARCH64_TLSDESC_LDR): Likewise.
17911 (R_AARCH64_TLSDESC_ADD): Likewise.
17912 (R_AARCH64_TLSDESC_CALL): Likewise.
17913
b2179107
AS
179142013-09-30 Andreas Schwab <schwab@suse.de>
17915
17916 [BZ #15048]
17917 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17918 the nss database lookup.
17919 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17921
47f28d0a
MF
179222013-09-28 Mike Frysinger <vapier@gentoo.org>
17923
17924 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17925
179262013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
17927
17928 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17929 ${Bash-specific parameter/pattern/string} parameter expansion.
17930 * sysdeps/unix/make-syscalls.sh: Likewise.
17931
f4518a17
KK
179322013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17933
17934 * sysdeps/sh/stackguard-macros.h: New file.
17935
dc1a95c7
OB
179362013-09-26 Ondřej Bílka <neleai@seznam.cz>
17937
17938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17939 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17940 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17941 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17942 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17943 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17944
5ebbff8f
AZ
179452013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17946
17947 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17948 Fix thread ID register.
17949
4fd2cf9f
JM
179502013-09-25 Joseph Myers <joseph@codesourcery.com>
17951
17952 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17953 [POSIX || UNIX98]: Require rather than permitting all symbols from
17954 <time.h>.
17955 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17956 element of struct sched_param.
17957 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17958 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17959 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17960 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17961 constant.
17962
12c22bc4
OL
179632013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17964
17965 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17966 argument calculation.
17967
a03d8ea7
JM
179682013-09-24 Joseph Myers <joseph@codesourcery.com>
17969
17970 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17971 Expect macro.
17972 [POSIX] (pthread_attr_t): Do not require type.
17973 [POSIX] (pthread_cond_t): Likewise.
17974 [POSIX] (pthread_condattr_t): Likewise.
17975 [POSIX] (pthread_key_t): Likewise.
17976 [POSIX] (pthread_mutex_t): Likewise.
17977 [POSIX] (pthread_mutexattr_t): Likewise.
17978 [POSIX] (pthread_once_t): Likewise.
17979 [POSIX] (pthread_t): Likewise.
17980 [POSIX-based standards] (pthread_atfork): Expect function.
17981
6055173a
JM
179822013-09-24 Joseph Myers <joseph@codesourcery.com>
17983 Richard Sandiford <richard@codesourcery.com>
17984
17985 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17986 (swap_endianness_p): New extern variable.
17987 (set_big_endian): New inline function.
17988 (maybe_swap_uint32): Likewise.
17989 (maybe_swap_uint32_array): Likewise.
17990 (maybe_swap_uint32_obstack): Likewise.
17991 * locale/programs/locfile.c: Include <stdbool.h>.
17992 (swap_endianness_p): New variable.
17993 (add_locale_uint32): Call maybe_swap_uint32.
17994 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17995 (write_locale_data): Call maybe_swap_uint32_array.
17996 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17997 maybe_swap_uint32.
17998 (obstack_int32_grow_fast): Likewise.
17999 (output_weightwc): Call maybe_swap_uint32_obstack.
18000 (collate_output): Likewise.
18001 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18002 (OPT_LITTLE_ENDIAN): Likewise.
18003 (options): Add --little-endian and --big-endian options.
18004 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18005 * locale/programs/locarchive.c: Include "locfile.h".
18006 (GET): New macro.
18007 (SET): Likewise.
18008 (INC): Likewise.
18009 (create_archive): Use the new macros to access fields of
18010 structures directly mapped from or written to locale archives.
18011 (oldlocrecentcmp): Likewise.
18012 (enlarge_archive): Likewise.
18013 (insert_name): Likewise.
18014 (add_alias): Likewise.
18015 (add_locale): Likewise.
18016 (delete_locales_from_archive): Likewise.
18017 (show_archive_content): Likewise.
18018 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18019 locale data.
18020
39bf0bb4
RM
180212013-09-24 Roland McGrath <roland@hack.frob.com>
18022
18023 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18024 http://www.gnu.org/doc/freemanuals.texi.
18025 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18026
f02eed10
WN
180272013-09-24 Will Newton <will.newton@linaro.org>
18028
18029 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18030 macro.
18031
a3a6c312
JM
180322013-09-23 Joseph Myers <joseph@codesourcery.com>
18033
18034 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18035 unsigned char.
18036
107375ac
MR
180372013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18038
18039 * manual/threads.texi (POSIX Threads): Fix a typo.
18040
141f3a77
SP
180412013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18042
303e567a
SP
18043 [BZ #14547]
18044 * string/tst-strcoll-overflow.c: New test case.
18045 * string/Makefile (xtests): Add tst-strcoll-overflow.
18046 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18047 cache if string sizes may cause integer overflow.
18048
141f3a77
SP
18049 [BZ #14547]
18050 * string/strcoll_l.c (coll_seq): New members rule, idx,
18051 save_idx and back_us.
18052 (get_next_seq_nocache): New function.
18053 (do_compare_nocache): New function.
18054 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18055 when malloc fails.
18056
c61b4d41
CD
180572013-09-23 Carlos O'Donell <carlos@redhat.com>
18058
0b1f8e35
CD
18059 [BZ #15754]
18060 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18061 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18062 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18063
c61b4d41
CD
18064 [BZ #15754]
18065 * elf/Makefile (tests): Add tst-ptrguard1.
18066 (tests-static): Add tst-ptrguard1-static.
18067 (tst-ptrguard1-ARGS): Define.
18068 (tst-ptrguard1-static-ARGS): Define.
18069 * elf/tst-ptrguard1.c: New file.
18070 * elf/tst-ptrguard1-static.c: New file.
18071 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18072 * sysdeps/i386/stackguard-macros.h: Likewise.
18073 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18074 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18075 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18076 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18077 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18078 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18079
180802013-09-23 Hector Marco <hecmargi@upv.es>
18081 Ismael Ripoll <iripoll@disca.upv.es>
18082 Carlos O'Donell <carlos@redhat.com>
18083
18084 [BZ #15754]
18085 * sysdeps/generic/stackguard-macros.h: Define
18086 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18087 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18088 Define __pointer_chk_guard_local.
18089 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18090 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18091
f5f4e7b4
VV
180922013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18093
18094 [BZ #15859]
18095 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18096
5bb43a43
AS
180972013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18098
18099 * include/string.h (__ffs): Declare as hidden.
18100 * string/ffs.c (__ffs): Define as hidden.
18101 * sysdeps/i386/ffs.c (__ffs): Likewise.
18102 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18103 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18104 * sysdeps/s390/ffs.c (__ffs): Likewise.
18105 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18106
3ea5be54
AO
181072013-09-20 Alexandre Oliva <aoliva@redhat.com>
18108
ffb89e53
AO
18109 * NEWS: Mention malloc probes.
18110
322dea08
AO
18111 * malloc/arena.c (new_heap): New memory_heap_new probe.
18112 (grow_heap): New memory_heap_more probe.
18113 (shrink_heap): New memory_heap_less probe.
18114 (heap_trim): New memory_heap_free probe.
18115 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18116 (systrim): New memory_sbrk_less probe.
18117 * manual/probes.texi: Document them.
18118
655673f3
AO
18119 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18120 * manual/probes.texi: Document it.
18121
35fed6f1
AO
18122 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18123 (__libc_realloc): Add memory_realloc_retry probe.
18124 (__libc_memalign): Add memory_memalign_retry probe.
18125 (__libc_valloc): Add memory_valloc_retry probe.
18126 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18127 (__libc_calloc): Add memory_calloc_retry probe.
18128 * manual/probes.texi: Document them.
18129
6999d38c
AO
18130 * malloc/arena.c (get_free_list): Add probe
18131 memory_arena_reuse_free_list.
18132 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18133 and memory_arena_reuse.
18134 (arena_get2) [!PER_THREAD]: Likewise.
18135 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18136 memory_arena_reuse_realloc.
18137 * manual/probes.texi: Document them.
18138
0653427f
AO
18139 * malloc/malloc.c (__libc_free): Add
18140 memory_mallopt_free_dyn_thresholds probe.
18141 (__libc_mallopt): Add multiple memory_mallopt probes.
18142 * manual/probes.texi: Document them.
18143
3ea5be54
AO
18144 * malloc/malloc.c: Include stap-probe.h.
18145 (__libc_mallopt): Add memory_mallopt probe.
18146 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18147 * manual/probes.texi: New.
18148 * manual/Makefile (chapters): Add probes.
18149 * manual/threads.texi: Set next node.
18150
e35696c3 181512013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18152
e35696c3
CL
18153 [BZ #15963, #13985]
18154 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18155 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18156 Add `Chinese' to `nan' entry name.
18157
4aafb73c
SP
181582013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18159
18160 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18161 (POLYNOMIAL): Likewise.
18162 (TAYLOR_SINCOS): Likewise.
18163 (TAYLOR_SLOW): Likewise.
18164 (__sin): Use TAYLOR_SINCOS.
18165 (__cos): Likewise.
18166 (slow): Use TAYLOR_SLOW.
18167 (sloww): Likewise.
18168 (bsloww): Likewise.
18169 (csloww): Likewise.
18170
d84f25c7
LD
181712013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18172
18173 * stdlib/strtod_l.c: Fix buffer overrun.
18174
5eea0404
SP
181752013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18176
7849ff93
SP
18177 * benchtests/Makefile (bench): Add sincos.
18178 * benchtests/bench-sincos.c: New file.
18179
cfa3c886
SP
18180 * math/libm-test.inc (cos_test_data): New test inputs.
18181 (sin_test_data): Likewise.
18182
b348e1e3
SP
18183 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18184 macro.
18185 (__sin): Use it.
18186 (__cos): Likewise.
18187 (slow1): Likewise.
18188 (slow2): Likewise.
18189 (sloww1): Likewise.
18190 (sloww2): Likewise.
18191 (bsloww1): Likewise.
18192 (bsloww2): Likewise.
18193 (cslow2): Likewise.
18194 (csloww1): Likewise.
18195 (csloww2): Likewise.
18196
6cce25f8
SP
18197 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18198 function.
18199 (__sin): Use it.
18200 (__cos): Likewise.
18201
5eea0404
SP
18202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18203 gotos.
18204 (__cos): Likewise.
18205
9c21573c
MR
182062013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18207
18208 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18209 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18210 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18211 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18212 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18213 * elf/cache.c (print_entry): Handle the new cache flags.
18214
24d22e65
JM
182152013-09-18 Joseph Myers <joseph@codesourcery.com>
18216 Aldy Hernandez <aldyh@redhat.com>
18217
18218 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18219 Change condition to [_SOFT_FLOAT].
18220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18232 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18235 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18236 declaration.
18237
d13ef066
JM
182382013-09-18 Joseph Myers <joseph@codesourcery.com>
18239
2e071de0
JM
18240 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18241 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18242 (__longjmp): Use LOAD_GP to load saved GPRs.
18243 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18244 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18245 (__sigsetjmp): Use SAVE_GP to save GPRs.
18246
d13ef066
JM
18247 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18248 Do not append -msoft-float.
18249 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18250
97a0650b
SP
182512013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18252
18253 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18254
11ca09e9
JM
182552013-09-17 Joseph Myers <joseph@codesourcery.com>
18256
18257 [BZ #15966]
18258 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18259 (_FPU_GETCW): Use initial "__" on variable and field names but not
18260 on macro parameter name.
18261 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18262 parentheses around reference to macro parameter.
18263
08ffcf34
RS
182642013-09-13 Richard Sandiford <richard@codesourcery.com>
18265
18266 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18267 prototype.
18268 (ctype_startup): Use uint32_t in cast and sizeof for
18269 ctype->charnames.
18270
ae7080d3
JL
182712013-09-11 Jia Liu <proljc@gmail.com>
18272
18273 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18274 __daddr_t_defined.
18275 [__FreeBSD__]: Likewise.
18276
5905e7b3
OB
182772013-09-11 Ondřej Bílka <neleai@seznam.cz>
18278
18279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18280 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18281 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18282 (strchr): Remove __strchr_sse42 ifunc selection.
18283 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18284 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18285
b987c776
WN
182862013-09-11 Will Newton <will.newton@linaro.org>
18287
18288 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18289 parameter to RES. Remove hardcoded 1000 value.
18290 * benchtests/bench-skeleton.c (main): Pass RES parameter
18291 to TIMING_INIT and multiply result by 1000.
18292
ddf985af
AZ
182932013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18294
18295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18296
ffdd3181
AS
182972013-09-11 Andreas Schwab <schwab@suse.de>
18298
18299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18300 if not defined.
18301 (O_TMPFILE) [__USE_GNU]: Define.
18302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18303 Define.
18304
b73ed247
WN
183052013-09-11 Will Newton <will.newton@linaro.org>
18306
18307 [BZ #15857]
18308 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18309 does not overflow.
18310
55e17aad
WN
183112013-09-11 Will Newton <will.newton@linaro.org>
18312
18313 [BZ #15856]
18314 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18315 does not overflow.
18316
1159a193
WN
183172013-09-11 Will Newton <will.newton@linaro.org>
18318
18319 [BZ #15855]
18320 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18321 does not overflow.
18322
5905e7b3 183232013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
18324
18325 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18326 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18327 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18328 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18329 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18330
cdfc721b
AM
183312013-09-10 Allan McRae <allan@archlinux.org>
18332
aa04af00
AM
18333 [BZ #15748]
18334 * manual/arith.texi (Parsing of Floats): Clarify
18335 cross-reference.
18336
cdfc721b
AM
18337 [BZ #15849]
18338 * manual/install.texi (Running make install): Mention
18339 --enable-pt-chown.
18340 * INSTALL: Regenerated.
18341
95e7cf29
MR
183422013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18343
18344 * csu/init-first.c (_init): Remove the !SHARED condition around
18345 FPU control word initialization.
18346 * elf/dl-support.c (_dl_fpu_control): New variable.
18347 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18348 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18349 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18350 * math/test-fpucw-static.c: New file.
18351 * math/test-fpucw-ieee.c: New file.
18352 * math/test-fpucw-ieee-static.c: New file.
18353 * math/Makefile (tests): Add `test-fpucw-ieee' and
18354 `$(tests-static)'.
18355 (tests-static): New variable.
18356 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18357 dependency to...
18358 [($(build-shared),yes)]
18359 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18360 ... this.
18361 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18362 New dependency.
18363
83e43bf0
AM
183642013-09-09 Allan McRae <allan@archlinux.org>
18365
a9f5ce09
AM
18366 [BZ #15939]
18367 * manual/string.texi (Collation Functions): Fix typo in
18368 strcoll example.
18369 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18370
34829bc2
AM
18371 [BZ #15893]
18372 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18373
3932737d
AM
18374 [BZ #15892]
18375 * libio/memstream.c (open_memstream): Fix memory leak.
18376 * libio/wmemstream.c (open_wmemstream): Likewise.
18377
83e43bf0
AM
18378 [BZ #15895]
18379 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18380
0c66b8e9
WN
183812013-09-09 Will Newton <will.newton@linaro.org>
18382
18383 * malloc/Makefile: Add tst-realloc to tests.
18384 * malloc/tst-realloc.c: New file.
18385
f6b00fd1
AM
183862013-09-09 Allan McRae <allan@archlinux.org>
18387
18388 [BZ #15844]
18389 * COPYING: Update from GNU website to fix FSF address.
18390 * COPYING.LIB: Likewise.
18391
eec55e16
DM
183922013-09-06 David S. Miller <davem@davemloft.net>
18393
18394 * po/zh_TW.po: Update Chinese (traditional) translation from
18395 translation project.
18396
1ecbb381
RS
183972013-09-06 Richard Sandiford <richard@codesourcery.com>
18398 Joseph Myers <joseph@codesourcery.com>
18399
18400 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18401 "localeinfo.h".
18402 (obstack_chunk_alloc): New macro.
18403 (obstack_chunk_free): Likewise.
18404 (record_offset): New function.
18405 (init_locale_data): Likewise.
18406 (align_locale_data): Likewise.
18407 (add_locale_empty): Likewise.
18408 (add_locale_raw_data): Likewise.
18409 (add_locale_raw_obstack): Likewise.
18410 (add_locale_string): Likewise.
18411 (add_locale_wstring): Likewise.
18412 (add_locale_uint32): Likewise.
18413 (add_locale_uint32_array): Likewise.
18414 (add_locale_char): Likewise.
18415 (start_locale_structure): Likewise.
18416 (end_locale_structure): Likewise.
18417 (start_locale_prelude): Likewise.
18418 (end_locale_prelude): Likewise.
18419 (write_locale_data): Take locale_file structure rather than an
18420 iovec.
18421 * locale/programs/locfile.h: Include "obstack.h".
18422 (struct locale_file): Change to store locale file contents instead
18423 of header.
18424 (init_locale_data): New prototype.
18425 (align_locale_data): Likewise.
18426 (add_locale_empty): Likewise.
18427 (add_locale_raw_data): Likewise.
18428 (add_locale_raw_obstack): Likewise.
18429 (add_locale_string): Likewise.
18430 (add_locale_wstring): Likewise.
18431 (add_locale_uint32): Likewise.
18432 (add_locale_uint32_array): Likewise.
18433 (add_locale_char): Likewise.
18434 (start_locale_structure): Likewise.
18435 (end_locale_structure): Likewise.
18436 (start_locale_prelude): Likewise.
18437 (end_locale_prelude): Likewise.
18438 (write_locale_data): Update prototype.
18439 * locale/programs/3level.h (struct TABLE): Remove result field.
18440 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18441 Use new locale_file interface.
18442 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18443 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18444 * locale/programs/ld-address.c (address_output): Use new
18445 locale_file interface.
18446 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18447 NO_ADD_LOCALE.
18448 (collate_finish): Don't call collseq_table_finalize.
18449 (collate_output): Use new locale_file interface.
18450 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18451 in file.
18452 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18453 (TABLE): Move defines earlier in file.
18454 (ELEMENT): Likewise.
18455 (DEFAULT): Likewise.
18456 (wctrans_table_add): Move macro and inline function earlier in
18457 file.
18458 (struct wctype_table): Move type earlier in file.
18459 (add_locale_wctype_table): New static prototype.
18460 (struct locale_ctype_t): Use logical types instead of struct iovec
18461 pointers for members.
18462 (ctype_output): Use new locale_file interface.
18463 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18464 new locale_file interface.
18465 (allocate_arrays): Update for use of new locale_file interface.
18466 * locale/programs/ld-identification.c (identification_output): Use
18467 new locale_file interface.
18468 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18469 * locale/programs/ld-messages.c (messages_output): Likewise.
18470 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18471 * locale/programs/ld-name.c (name_output): Likewise.
18472 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18473 * locale/programs/ld-paper.c (paper_output): Likewise.
18474 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18475 * locale/programs/ld-time.c (time_output): Likewise.
18476
e029e2e5
AZ
184772013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18478
18479 * benchtests/Makefile: Add memrchr benchmark.
18480 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18481 benchmark as memrchr.
18482 * benchtests/bench-memrchr-ifunc.c: New file.
18483 * benchtests/bench-memrchr.c: New file.
18484
bbf6e8e4
WN
184852013-09-06 Will Newton <will.newton@linaro.org>
18486
18487 * benchtests/Makefile (string-bench): Add memcpy.
18488
6c82a2f8
CD
184892013-09-05 Carlos O'Donell <carlos@redhat.com>
18490 Cong Wang <amwang@redhat.com>
18491
e732c5f0 18492 [BZ #15850]
6c82a2f8
CD
18493 * sysdeps/unix/sysv/linux/bits/in.h
18494 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18495 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18496 before __USE_KERNEL_IPV6_DEFS uses.
18497 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18498 IPPROTO_BEETPH.
18499 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18500 sockaddr_in6, or ipv6_mreq.
18501
5430fc65
AZ
185022013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18503
18504 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18505 memory access for final bytes in some large inputs.
18506 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18507
4660856c
AZ
185082013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18509
18510 * string/test-memrchr.c: New file.
18511 * string/test-memrchr-ifunc.c: New file.
18512 * string/Makefile: Add new memrchr testcase.
18513
bb8ea713
MF
185142013-09-05 Mike Frysinger <vapier@gentoo.org>
18515
18516 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18517 fanotify_init returns EPERM.
18518
b92a20b5
JM
185192013-09-04 Joseph Myers <joseph@codesourcery.com>
18520
18521 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18522 errors.
18523 (top level): Treat second token from macro or constant entries for
18524 allowed headers as allowed.
18525 * include/complex.h: Condition internal declarations on
18526 [!_ISOMAC].
18527 * include/fenv.h: Condition include of <stdbool.h> and internal
18528 declarations on [!_ISOMAC].
7447ccd9
CL
18529
185302013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18531
3e181dda 18532 [BZ #15923]
7447ccd9
CL
18533 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18534
3f2e46a4
JM
185352013-09-04 Joseph Myers <joseph@codesourcery.com>
18536
18537 * configure.in (--enable-versioning): Remove configure option.
18538 (libc_cv_asm_symver_directive): Remove configure test.
18539 (libc_cv_ld_version_script_option): Likewise.
18540 (VERSIONING): Remove variable and AC_SUBST.
18541 (DO_VERSIONING): Remove AC_DEFINE.
18542 * configure: Regenerated.
18543 * config.h.in (DO_VERSIONING): Remove macro.
18544 * Makerules [$(versioning) = yes]: Change conditionals to
18545 [$(build-shared) = yes].
18546 * config.make.in (versioning): Remove variable.
18547 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18548 [$(build-shared) = yes].
18549 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18550 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18551 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18552 [$(build-shared) = yes].
18553 * extra-lib.mk [$(versioning) = yes]: Likewise.
18554 * hurd/Makefile [$(versioning) = yes]: Likewise.
18555 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18556 [SHARED].
18557 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18558 [SHARED].
18559 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18560 [SHARED && !NO_HIDDEN].
18561 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18562 [SHARED].
18563 [SHARED && DO_VERSIONING]: Likewise..
18564 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18565 [$(build-shared) = yes].
18566 * manual/install.texi (--disable-versioning): Remove
18567 documentation.
18568 * INSTALL: Regenerated.
18569 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18570 to [SHARED].
18571 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18572 [$(build-shared) = yes].
18573 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18574 * sysdeps/i386/i686/multiarch/strstr-c.c
18575 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18576 [SHARED && !NO_HIDDEN].
18577 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18578 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18579 * sysdeps/powerpc/powerpc32/dl-machine.c
18580 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18581 * sysdeps/powerpc/powerpc32/sysdep.h
18582 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18583 to [SHARED && PIC && !NO_HIDDEN].
18584 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18585 conditional to [SHARED].
18586
44558701
WN
185872013-09-04 Will Newton <will.newton@linaro.org>
18588
18589 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18590 * benchtests/bench-string.h: Include bench-timing.h instead
18591 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18592 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18593 call to HP_TIMING_DIFF_INIT.
18594 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18595 instead of hp-timing.h macros.
18596 * benchtests/bench-memchr.c: Likewise.
18597 * benchtests/bench-memcmp.c: Likewise.
18598 * benchtests/bench-memcpy.c: Likewise.
18599 * benchtests/bench-memmem.c: Likewise.
18600 * benchtests/bench-memmove.c: Likewise.
18601 * benchtests/bench-memset.c: Likewise.
18602 * benchtests/bench-rawmemchr.c: Likewise.
18603 * benchtests/bench-strcasecmp.c: Likewise.
18604 * benchtests/bench-strcasestr.c: Likewise.
18605 * benchtests/bench-strcat.c: Likewise.
18606 * benchtests/bench-strchr.c: Likewise.
18607 * benchtests/bench-strcmp.c: Likewise.
18608 * benchtests/bench-strcpy.c: Likewise.
18609 * benchtests/bench-strcpy_chk.c: Likewise.
18610 * benchtests/bench-strlen.c: Likewise.
18611 * benchtests/bench-strncasecmp.c: Likewise.
18612 * benchtests/bench-strncat.c: Likewise.
18613 * benchtests/bench-strncmp.c: Likewise.
18614 * benchtests/bench-strncpy.c: Likewise.
18615 * benchtests/bench-strnlen.c: Likewise.
18616 * benchtests/bench-strpbrk.c: Likewise.
18617 * benchtests/bench-strrchr.c: Likewise.
18618 * benchtests/bench-strspn.c: Likewise.
18619 * benchtests/bench-strstr.c: Likewise.
18620
cae16d66
WN
186212013-09-04 Will Newton <will.newton@linaro.org>
18622
18623 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18624
ffa3cd7f
JM
186252013-09-03 Joseph Myers <joseph@codesourcery.com>
18626
18627 [BZ #15427]
18628 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18629 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18630 * math/libm-test.inc (lgamma_test_data): Add more tests.
18631 * sysdeps/i386/fpu/libm-test-ulps: Update.
18632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18633
8f02859f
OB
186342013-09-03 Ondřej Bílka <neleai@seznam.cz>
18635
18636 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18637 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18638 Add ifunc.
18639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18640 Add strcmp-sse2-unaligned
18641 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18642
18d43716
MF
186432013-09-02 Mike Frysinger <vapier@gentoo.org>
18644
18645 * Versions.def (libc): Add GLIBC_2.19.
18646
ac444012
MF
186472013-09-02 Mike Frysinger <vapier@gentoo.org>
18648
18649 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18650 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18651
b7835e32
JM
186522013-09-02 Joseph Myers <joseph@codesourcery.com>
18653
18654 [BZ #14155]
18655 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18656 intermediate calculations in recurrence.
18657 (__ieee754_ynf): Likewise.
18658 * math/libm-test.inc (jn_test_data): Do not allow spurious
18659 underflow exception. Add more tests.
18660 (yn_test_data): Add more tests.
18661 * sysdeps/i386/fpu/libm-test-ulps: Update.
18662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18663
8220f4f0
OB
186642013-09-02 Ondřej Bílka <neleai@seznam.cz>
18665
18666 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18667
f24a6d08
OB
186682013-08-30 Ondřej Bílka <neleai@seznam.cz>
18669
18670 * csu/init-first.c: Fix then/than typos.
18671 * locale/programs/ld-collate.c: Likewise.
18672 * locale/programs/linereader.h: Likewise.
18673 * manual/charset.texi: Likewise.
18674 * manual/filesys.texi: Likewise.
18675 * manual/stdio.texi: Likewise.
18676 * manual/string.texi: Likewise.
18677 * stdlib/fmtmsg.c: Likewise.
18678 * sysdeps/i386/stpncpy.S: Likewise.
18679 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18680 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18681 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18682 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18683
382466e0
OB
186842013-08-30 Ondřej Bílka <neleai@seznam.cz>
18685
18686 * elf/dl-open.c: Fix typos.
18687 * iconvdata/gbbig5.c: Likewise.
18688 * iconvdata/iso-2022-jp.c: Likewise.
18689 * iconv/gconv_int.h: Likewise.
18690 * iconv/loop.c: Likewise.
18691 * nis/rpcsvc/nis.h: Likewise.
18692 * resolv/ns_name.c: Likewise.
18693 * stdio-common/vfscanf.c: Likewise.
18694 * streams/stropts.h: Likewise.
18695 * sunrpc/rpc_thread.c: Likewise.
18696 * sysdeps/i386/strpbrk.S: Likewise.
18697 * sysdeps/ieee754/k_standard.c: Likewise.
18698 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18699 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18700 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18701 * sysdeps/mach/hurd/profil.c: Likewise.
18702 * sysdeps/s390/dl-procinfo.h: Likewise.
18703 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18704 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18705 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18706 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18707 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18708
0186c6e9
OB
187092013-08-30 Ondřej Bílka <neleai@seznam.cz>
18710
18711 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18713
d4e16af1
OB
187142013-08-29 Ondřej Bílka <neleai@seznam.cz>
18715
18716 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18717 aix specific files.
18718 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18719 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18720 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18721 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18722 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18723 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18724 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18725 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18726
88335980
TS
187272013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18728 Roland McGrath <roland@hack.frob.com>
18729
18730 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18731 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18732
ed479b02
ST
187332013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18734
18735 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18736 __executable_start symbol instead of _start.
18737
f1cc4c86
TS
187382013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18739
d821f07c
TS
18740 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18741 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18742 Move macros to...
18743 * sysdeps/gnu/ldsodefs.h: ... this new file.
18744
c54290cf
TS
18745 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18746 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18747 instead of ELFOSABI_LINUX.
18748
0007fc9b 18749 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
18750 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18751 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18752 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18753 Likewise.
18754 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18755 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18756 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18757 Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18759 (ibm_extended_long_double): Add ieee_nan member.
18760 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18761 (do_test): New function.
18762
f1cc4c86
TS
18763 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18764 TEST_TRUNC.
18765 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18766 functions, renamed from truncdfsf_test, trunctfsf_test,
18767 trunctfdf_test.
18768 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18769 functions.
18770 (do_test): Run all these.
18771
6f65e668
OB
187722013-08-29 Ondřej Bílka <neleai@seznam.cz>
18773
18774 * argp/argp-help.c: Fix typos.
18775 * argp/argp-parse.c: Likewise.
18776 * debug/backtracesyms.c: Likewise.
18777 * elf/elf.h: Likewise.
18778 * malloc/malloc.c: Likewise.
18779 * nis/nis_print.c: Likewise.
18780 * resolv/res_comp.c: Likewise.
18781 * stdlib/stdlib.h: Likewise.
18782 * sunrpc/clnt_tcp.c: Likewise.
18783 * sunrpc/clnt_udp.c: Likewise.
18784 * sunrpc/clnt_unix.c: Likewise.
18785 * sysdeps/unix/bsd/ptsname.c: Likewise.
18786 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18787 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18789 Likewise.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18791 Likewise.
18792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18793 Likewise.
6f65e668
OB
18794 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18795
3a309239
SP
187962013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18797
18798 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18800
3b813b29
MF
188012013-08-27 Mike Frysinger <vapier@gentoo.org>
18802
18803 [BZ #15897]
18804 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18805 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18806 ($(objpfx)bug-dl-leaf): New rule.
18807 ($(objpfx)bug-dl-leaf.so): Likewise.
18808 ($(objpfx)bug-dl-leaf.out): Likewise.
18809 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18810 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18811 * dlfcn/bug-dl-leaf.c: New test.
18812 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18813 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18814 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18815 (dlclose): Likewise.
18816 (dlmopen): Likewise.
18817
8cc3269f
RM
188182013-08-27 Roland McGrath <roland@hack.frob.com>
18819
7f9d0034
RM
18820 * include/netdb.h [!_ISOMAC]:
18821 Don't include <tls.h>.
18822 (h_errno, __libc_h_errno): Move declaration and macros out of
18823 [_LIBC_REENTRANT].
18824
fb431262
RM
18825 * include/resolv.h [_RESOLV_H_]:
18826 Don't include <tls.h>.
18827 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18828 * resolv/res_libc.c: Don't include <tls.h>.
18829 (_res): Use __attribute__ ((nocommon)) in place of
18830 __attribute__ ((section (".bss"))).
18831
bd81123a
RM
18832 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18833 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18834
c4e42566
RM
18835 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18836
f890a59b
RM
18837 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18838 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18839
18840 * resolv/res_mkquery.c: Include <sys/time.h>.
18841
5d1f0a09
RM
18842 * inet/ifreq.c: Moved to ...
18843 * sysdeps/unix/ifreq.c: ... here.
18844 * inet/ifreq.c: New file, true stub version.
18845
6fcf28b3
RM
18846 * socket/sa_len.c: New file.
18847 * socket/Makefile (aux): Add it.
18848 * sysdeps/unix/sysv/linux/Makefile
18849 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18850 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18851 and #include <socket/sa_len.c>.
18852 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18853 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18854
e041fb8b
RM
18855 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18856 * bits/socket.h: ... here.
18857
8cc3269f
RM
18858 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18859 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18860 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18861
5d228a43
AS
188622013-08-27 Andreas Schwab <schwab@suse.de>
18863
45b8accc
AS
18864 [BZ #15736]
18865 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18866 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18867 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18868 * string/test-strcasecmp.c (test_main): Run tests in several
18869 locales.
18870 * string/test-strncasecmp.c (test_main): Likewise.
18871
5d228a43
AS
18872 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18873 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18874 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18876 (__strncasecmp_ssse3) [PIC]: Likewise.
18877
59d112a4
RM
188782013-08-26 Roland McGrath <roland@hack.frob.com>
18879
53234cc3
RM
18880 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18881
59d112a4
RM
18882 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18883 instead of explicitly declaring xdecrypt.
18884 * nis/nss_nis/nis-publickey.c: Likewise.
18885
595aba70
SP
188862013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18887
18888 [BZ #15890]
18889 * nscd/aicache.c: Include res_hconf.h.
18890 (addhstaiX): Initialize res_hconf.
18891
ffabd393
AS
188922013-08-26 Andreas Schwab <schwab@suse.de>
18893
18894 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18895 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18896
e0a69f5c
SP
188972013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18898
18899 * nscd/aicache.c (addhstaiX): Fix indentation.
18900
8c12f01d
MF
189012013-08-25 Mike Frysinger <vapier@gentoo.org>
18902
18903 * configure.ac: Quote $build_pt_chown test.
18904 * configure: Regenerated.
18905
8fe89494
JM
189062013-08-23 Joseph Myers <joseph@codesourcery.com>
18907
18908 [BZ #15532]
18909 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18910 * math/s_cexpf.c (__cexpf): Likewise.
18911 * math/s_cexpl.c (__cexpl): Likewise.
18912 * math/libm-test.inc (cexp_test_data): Correct expected return
18913 value for NaN + i0. Add another test.
18914
75b181d6
DM
189152013-08-22 David S. Miller <davem@davemloft.net>
18916
18917 * po/ca.po: Update Catalan translation from translation project.
936241e4 18918 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 18919
acd06bb1
JM
189202013-08-21 Joseph Myers <joseph@codesourcery.com>
18921
18922 [BZ #15797]
18923 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18924 is infinite, not alongside NaN test.
18925 * math/s_fdimf.c (__fdimf): Likewise.
18926 * math/s_fdiml.c (__fdiml): Likewise.
18927 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18928 errno is unchanged.
18929
c0c3f78a
OB
189302013-08-21 Ondřej Bílka <neleai@seznam.cz>
18931
18932 * argp/argp-help.c: Fix typos.
18933 * crypt/speeds.c: Likewise.
18934 * csu/check_fds.c: Likewise.
18935 * elf/dl-load.c: Likewise.
18936 * elf/dl-open.c: Likewise.
18937 * elf/reldep3.c: Likewise.
18938 * elf/reldep.c: Likewise.
18939 * elf/sprof.c: Likewise.
18940 * iconv/iconv_charmap.c: Likewise.
18941 * iconv/skeleton.c: Likewise.
18942 * iconv/strtab.c: Likewise.
18943 * io/lockf64.c: Likewise.
18944 * libio/libioP.h: Likewise.
18945 * resolv/gai_notify.c: Likewise.
18946 * resolv/ns_name.c: Likewise.
18947 * resolv/ns_samedomain.c: Likewise.
18948 * resolv/res_send.c: Likewise.
18949 * stdlib/random.c: Likewise.
18950 * sunrpc/rpc/xdr.h: Likewise.
18951 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18952 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18953 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18954 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18955 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18956 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18958 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18959 * sysdeps/mach/hurd/check_fds.c: Likewise.
18960 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18961 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18962 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18963 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18964 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18965 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18966 * sysdeps/pthread/aio_notify.c: Likewise.
18967 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18968 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18969 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18970 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18971 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18972
46ed1038
LD
189732013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18974
18975 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18976 version if bit_Slow_SSE4_2 is set.
18977 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18978 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18979
d400dcac
AZ
189802013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18981
18982 [BZ #15867]
18983 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18984 trampoline stack frame information.
18985 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18986 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18987 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18988 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18989 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18990 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18991 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18992 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18993 sa_flags value.
18994 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18995 interrupting a syscall and set with option SA_SIGINFO.
18996
42c8fdd8
JM
189972013-08-20 Joseph Myers <joseph@codesourcery.com>
18998
c980f2f4
JM
18999 [BZ #15531]
19000 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19001 argument is infinite.
19002 * math/s_cprojf.c (__cprojf): Likewise.
19003 * math/s_cprojl.c (__cprojl): Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19005 * math/libm-test.inc (cproj_test_data): Add more tests.
19006
0716c4fc
JM
19007 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19008
42c8fdd8
JM
19009 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19010 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19011 size. Use __ffs to determine corresponding shift.
19012
b31469d0
JM
190132013-08-20 Joseph Myers <joseph@codesourcery.com>
19014 Roland McGrath <roland@hack.frob.com>
19015
19016 * Makefile (INSTALL): Remove trailing blank lines from output of
19017 makeinfo.
19018
4e39af6e
AK
190192013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19020
19021 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19022 Align 32 bit compat elf_greg to 8 bytes.
19023
f315524e
AA
190242013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19025
19026 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19027
1326ba1a
SP
190282013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19029
19030 * string/strcoll_l.c (coll_seq): New structure.
19031 (get_next_seq_cached): New function.
19032 (get_next_seq): New function.
19033 (do_compare): New function.
19034 (STRCOLL): Use GNU style definition. Simplify implementation
19035 by using get_next_seq, get_next_seq_cached and do_compare.
19036
91ce4085
FW
190372013-08-16 Florian Weimer <fweimer@redhat.com>
19038
19039 [BZ #14699]
19040 CVE-2013-4237
19041 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19042 member.
19043 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19044 member.
19045 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19046 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19047 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19048 conditional.
19049 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19050 GETDENTS_64BIT_ALIGNED.
19051 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19052 * manual/filesys.texi (Reading/Closing Directory): Document
19053 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19054 strongly.
19055 * manual/conf.texi (Limits for Files): Add portability note to
19056 NAME_MAX, PATH_MAX.
19057 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19058
ca0a6bc4
AS
190592013-08-13 Andreas Schwab <schwab@suse.de>
19060
19061 [BZ #15749]
19062 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19063 of fabs.
19064 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19065 LDBL_MAX_EXP >= 16384]: Add tests for it.
19066
6c1fd795
DM
190672013-08-12 David S. Miller <davem@davemloft.net>
19068
19069 * version.h (RELEASE): Set to "development".
19070 (VERSION): Set to "2.18.90".
19071 * NEWS: Add 2.19 section.
19072
31ad488d
DM
190732013-08-03 David S. Miller <davem@davemloft.net>
19074
19075 * po/ko.po: Update Korean translation from translation project.
19076
db24e684
DM
190772013-08-01 David S. Miller <davem@davemloft.net>
19078
19079 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19080 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19081 Bilka.
19082
f723285b
DM
190832013-07-30 David S. Miller <davem@davemloft.net>
19084
19085 * po/fr.po: Update French translation from translation project.
19086
3cbc52db
DM
190872013-07-28 David S. Miller <davem@davemloft.net>
19088
30bbc0cc
DM
19089 * po/cs.po: Update Czech translation from translation project.
19090
3cbc52db
DM
19091 * po/sv.po: Update Swedish translation from translation project.
19092
d492e6d0
DM
190932013-07-27 David S. Miller <davem@davemloft.net>
19094
f1a7f492
DM
19095 * po/eo.po: Update Esperanto translation from translation project.
19096
90e62a4a
DM
19097 * po/vi.po: Update Vietnamese translation from translation project.
19098
d492e6d0
DM
19099 * po/de.po: Update German translation from translation project.
19100
d4baa62d
DM
191012013-07-26 David S. Miller <davem@davemloft.net>
19102
641aa7b4
DM
19103 * po/bg.po: Update Bulgarian translation from translation project.
19104
d4baa62d
DM
19105 * po/nl.po: Update Dutch translation from translation project.
19106 * po/pl.po: Update Polish translation from translation project.
19107 * po/ru.po: Update Russian translation from translation project.
19108
61a9dcb9
DM
191092013-07-24 David S. Miller <davem@davemloft.net>
19110
19111 * po/libc.pot: Update.
19112
7b1f8b58
AZ
191132013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19114
19115 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19116 variable page size.
19117 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19118 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19119 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19120
a8fc7a03
AK
191212013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19122
19123 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19124
e4608715
CD
191252013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19126 Andreas Schwab <schwab@suse.de>
19127 Roland McGrath <roland@hack.frob.com>
19128 Joseph Myers <joseph@codesourcery.com>
19129 Carlos O'Donell <carlos@redhat.com>
19130
19131 [BZ #15755]
19132 * config.h.in: Define HAVE_PT_CHOWN.
19133 * config.make.in (build-pt-chown): New variable.
19134 * configure.in (--enable-pt_chown): New configure option.
19135 * configure: Regenerate.
19136 * login/Makefile: Include Makeconfig. Build pt_chown only if
19137 build-pt-chown is enabled.
19138 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19139 pt_chown to fix pty ownership.
19140 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19141 CLOSE_ALL_FDS.
19142 * manual/install.texi (Configuring and compiling): Mention
19143 --enable-pt_chown. Add @findex for grantpt.
19144 * INSTALL: Regenerate.
19145
da2d62df
DM
191462013-07-20 David S. Miller <davem@davemloft.net>
19147
19148 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19149 difference between 32-bit and 64-bit.
19150
d7e06450
CD
191512013-07-15 Carlos O'Donell <carlos@redhat.com>
19152
19153 [BZ #15711]
19154 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19155 Avoid system header dependency with -ffreestanding.
19156 ($(objpfx)bits/syscall%d): Likewise.
19157
f959cfd7
DM
191582013-07-13 David S. Miller <davem@davemloft.net>
19159
19160 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19161 underflows from atanl/atan2l due to bug 15319.
19162 (casinh_test_data): Likewise.
19163
c61f8513
DM
191642013-07-07 David S. Miller <davem@davemloft.net>
19165
19166 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19167
72c90ed0
JA
191682013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19169
19170 * sysdeps/i386/fpu/libm-test-ulps: Update.
19171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19172
52dfbe13
SP
191732013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19174
19175 * configure.in (--enable-lock-elision): Fix message text.
19176 * INSTALL: Regenerate.
19177 * configure: Regenerate.
19178
3f169543
AZ
191792013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19180
19181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19182
521c6785
AJ
191832013-07-03 Andreas Jaeger <aj@suse.de>
19184
19185 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19186 define.
19187 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19188 (ptrace_peeksiginfo_args): Add.
19189 (__ptrace_peeksiginfo_flags): Add.
19190 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19191 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19192 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19193
d2cc15cb
AM
191942013-07-03 Allan McRae <allan@archlinux.org>
19195
19196 * sysdeps/i386/fpu/libm-test-ulps: Update.
19197
3aaeeca7
DM
191982013-07-02 David S. Miller <davem@davemloft.net>
19199
19200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19201
5314ed1a
MT
192022013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19203
19204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19205
67338156
JM
192062013-07-02 Joseph Myers <joseph@codesourcery.com>
19207
19208 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19210
1717da59
AK
192112013-07-02 Andi Kleen <ak@linux.intel.com>
19212
19213 * config.h.in (ENABLE_LOCK_ELISION): Add.
19214 * configure.in (--enable-lock-elision): Add option.
19215 * manual/install.texi: Document --enable lock elision.
19216 * configure: Regenerate
19217 * INSTALL: Regenerate.
19218
1c81621c
L
192192013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19220
19221 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19222 SSE4.2 strcasecmp for libc.a.
19223 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19224
77f01ab5
JM
192252013-07-02 Joseph Myers <joseph@codesourcery.com>
19226
19227 [BZ #13304]
19228 * soft-fp/op-common.h (_FP_FMA): New macro.
19229 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19230 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19231 (_FP_MUL_MEAT_1_imm): ... here.
19232 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19233 (_FP_MUL_MEAT_1_wide): ... here.
19234 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19235 (_FP_MUL_MEAT_1_hard): ... here.
19236 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19237 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19238 (_FP_MUL_MEAT_2_wide): ... here.
19239 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19240 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19241 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19242 (_FP_MUL_MEAT_2_gmp): ... here.
19243 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19244 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19245 (_FP_MUL_MEAT_4_wide): ... here.
19246 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19247 (_FP_MUL_MEAT_4_gmp): ... here.
19248 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19249 (_FP_WFRACBITS_DW_S): Likewise.
19250 (_FP_WFRACXBITS_DW_S): Likewise.
19251 (_FP_HIGHBIT_DW_S): Likewise.
19252 (FP_FMA_S): Likewise.
19253 (_FP_FRAC_HIGH_DW_S): Likewise.
19254 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19255 (_FP_WFRACBITS_DW_D): Likewise.
19256 (_FP_WFRACXBITS_DW_D): Likewise.
19257 (_FP_HIGHBIT_DW_D): Likewise.
19258 (FP_FMA_D): Likewise.
19259 (_FP_FRAC_HIGH_DW_D): Likewise.
19260 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19261 (_FP_WFRACBITS_DW_E): Likewise.
19262 (_FP_WFRACXBITS_DW_E): Likewise.
19263 (_FP_HIGHBIT_DW_E): Likewise.
19264 (FP_FMA_E): Likewise.
19265 (_FP_FRAC_HIGH_DW_E): Likewise.
19266 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19267 (_FP_WFRACBITS_DW_Q): Likewise.
19268 (_FP_WFRACXBITS_DW_Q): Likewise.
19269 (_FP_HIGHBIT_DW_Q): Likewise.
19270 (FP_FMA_Q): Likewise.
19271 (_FP_FRAC_HIGH_DW_Q): Likewise.
19272 * soft-fp/fmasf4.c: New file.
19273 * soft-fp/fmadf4.c: Likewise.
19274 * soft-fp/fmatf4.c: Likewise.
19275
6308fd9a
LD
192762013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19277
19278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19279 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19280 Silvermont.
19281 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19282 macro.
19283 (index_Slow_SSE4_2): Likewise.
19284 (index_Prefer_PMINUB_for_stringop): Likewise.
19285 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19286 bit_Slow_SSE4_2 is set.
19287 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19288 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19289
89cd9569
RA
192902013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19291
19292 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19293 rtld_global._dl_hwcap2.
19294 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19295 POWER8.
19296 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19297 POWER8 feature descriptions defined in _dl_hwcap2.
19298 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19299 string handling for POWER8 feature bits.
19300 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19301 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19302 _dl_powerpc_cap_flags.
19303 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19304 * sysdeps/powerpc/rtld-global-offsets.sym
19305 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19306 _dl_hwcap2 in the rtld_global_ro structure.
19307
1ae8bfe0
RA
193082013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19309
19310 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19311 hardware capabilities in support of AT_HWCAP2.
19312 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19313 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19314 GLRO(dl_hwcap2).
19315 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19316 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19317 explicitly the unknown a_type display mechanism is used.
19318 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19319 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19320 struct member.
19321 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19322 to macro prototype for AT_HWCAP2 support.
19323 * sysdeps/i386/dl-procinfo.h: Likewise.
19324 * sysdeps/s390/dl-procinfo.h: Likewise.
19325 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19326 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19327 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19328 return -1 for unknown a_type display fallback.
19329 * sysdeps/sparc/dl-procinfo.h: Likewise.
19330 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19331 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19332
8fbec010
JM
193332013-06-28 Joseph Myers <joseph@codesourcery.com>
19334
19335 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19336 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19337
0432680e
PY
193382013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19339
19340 [BZ #12492]
19341 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19342 mprotect making __stack_prot writable.
19343
ce61a2ad
NF
193442013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19345 Joseph Myers <joseph@codesourcery.com>
19346
19347 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19348 as being properly aligned.
19349
f91f1c0f
MR
193502013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19351
3d0f5d0c
MR
19352 * dlfcn/modstatic5.c: New file.
19353 * dlfcn/tststatic5.c: New file.
19354 * dlfcn/Makefile (tests): Add tststatic5.
19355 (tests-static): Likewise.
19356 (modules-names): Add modstatic5.
19357 (tststatic5-ENV): New variable.
19358 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19359
f91f1c0f
MR
19360 [BZ #15022]
19361 * elf/dl-support.c (_dl_main_map): New variable.
19362 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19363 (_dl_nns, _dl_load_adds): Set to 1.
19364 (_dl_initial_searchlist): Refer to _dl_main_map.
19365 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19366 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19367 call to _dl_get_origin.
19368 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19369 around call_map.
19370 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19371 * dlfcn/modstatic3.c: New file.
19372 * dlfcn/tststatic3.c: New file.
19373 * dlfcn/tststatic4.c: New file.
19374 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19375 (tests-static): Likewise.
19376 (modules-names): Add modstatic3.
19377 (tststatic3-ENV, tststatic4-ENV): New variables.
19378 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19379 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19380
cbe7d24b
JM
193812013-06-26 Joseph Myers <joseph@codesourcery.com>
19382
19383 * configure.in (CC): Require GCC version 4.4 or later.
19384 * configure: Regenerated.
19385 * manual/install.texi (Tools for Compilation): Update GCC version
19386 requirement.
19387 * INSTALL: Regenerated.
19388
11b8a0e1
LD
193892013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19390
19391 [BZ #15674]
bb5bb87c
L
19392 * string/test-memcmp.c (check2): New.
19393 (main): Call check2.
19394
11b8a0e1
LD
19395 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19396
b0037103
MR
193972013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19398
19399 [BZ #15022]
19400 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19401 over to...
19402 (dl_open_worker) [!SHARED]: ... here.
19403
c18c701d
RA
194042013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19405
19406 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19407
1d17fa5f
RH
194082013-06-25 Richard Henderson <rth@redhat.com>
19409
19410 * locale/programs/locarchive.c: Include <libc-internal.h>
19411
8fcb833a
JM
194122013-06-25 Joseph Myers <joseph@codesourcery.com>
19413
19414 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19415 trailing whitespace removed.
19416
17db6e8d
MF
194172013-06-24 Mike Frysinger <vapier@gentoo.org>
19418
19419 [BZ #10283]
17db6e8d
MF
19420 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19421 * locale/programs/locarchive.c: Include libc-mmap.h.
19422 (prepare_address_space): Take two new outputs (the mmap base and len).
19423 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19424 values.
19425 (create_archive): Declare new mmap base and len values for
19426 prepare_address_space, and store the result in ah.
19427 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19428 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19429 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19430 Declare new mmap base and len values for
19431 prepare_address_space, and store the result in new_ah.
19432 (open_archive): Declare new mmap base and len values for
19433 prepare_address_space, and store the result in ah.
19434 (close_archive): If ah->mmap_base is not NULL, use that and
19435 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19436 * sysdeps/generic/libc-mmap.h: New file.
19437
d605071e
MF
194382013-06-24 Mike Frysinger <vapier@gentoo.org>
19439
19440 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19441 (ALIGN_UP): Likewise.
19442 (PTR_ALIGN_DOWN): Likewise.
19443 (PTR_ALIGN_UP): Likewise.
19444
2f063a6e
RA
194452013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19446
19447 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19448 entry mapped to PPC_PLATFORM_POWER8.
19449 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19450 POWER8.
19451 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19452 (_dl_string_platform): Add case for exporting platform position for
19453 POWER8.
19454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19455 search path to sysdeps/powerpc/powerpc32/power8 directory.
19456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19457 search path to sysdeps/powerpc/powerpc64/power8 directory.
19458 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19459 power7 directories.
19460 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19461 power7 directories.
19462
a31ee4b3
SP
194632013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19464
a74ca98f
SP
19465 * INSTALL: Regenerate.
19466
a31ee4b3
SP
19467 * nscd/connections.c (nscd_init): Fix comment.
19468
695c378f
JM
194692013-06-22 Joseph Myers <joseph@codesourcery.com>
19470
d8412221
JM
19471 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19472
695c378f
JM
19473 [BZ #15667]
19474 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19475 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19476
d1d54715
MR
194772013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19478
19479 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19480 DL_DST_REQ_STATIC.
19481 (DL_DST_REQ_STATIC): Remove macro.
19482
8fdda7af
JM
194832013-06-21 Joseph Myers <joseph@codesourcery.com>
19484
19485 [BZ #7006]
19486 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19487 with a shift of 0 bits.
19488
f3bc5e5a
MR
194892013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19490
19491 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19492 $(tststatic-ENV).
19493
be09e8c9
KK
194942013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19495
19496 [BZ #15655]
19497 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19498
85c2e611
AZ
194992013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19500
19501 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19502 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19503 accepts -fno-tree-loop-distribute-patterns.
19504 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19505 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19506 recursive call.
19507 * string/memset.c (memset): Likewise.
19508 * string/test-memmove.c (simple_memmove): Disable loop transformation
19509 to library calls.
19510 * string/test-memset.c (simple_memset): Likewise.
19511 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19512 * benchtests/bench-memset.c (simple_memset): Likewise.
19513 * configure: Regenerated.
19514
c91e0825
JM
195152013-06-20 Joseph Myers <joseph@codesourcery.com>
19516
b8c792af
JM
19517 * math/test-misc.c (main): Ignore fesetround failure when failures
19518 of subsequent rounding tests would be ignored.
19519
c91e0825
JM
19520 [BZ #15654]
19521 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19522 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19523 * math/fegetenv.c (__fegetenv): Return 0.
19524 * math/fegetexcept.c (fegetexcept): Return 0.
19525 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19526 FE_TONEAREST.
19527 * math/feholdexcpt.c (feholdexcept): Return 0.
19528 * math/fesetenv.c (__fesetenv): Return 0.
19529 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19530 argument FE_TONEAREST.
19531 * math/feupdateenv.c (__feupdateenv): Return 0.
19532 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19533
bfcacbde
RM
195342013-06-18 Roland McGrath <roland@hack.frob.com>
19535
19536 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19537 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19538 ($(objpfx)rtld-%.os rules): Use them.
19539
e55a9b25
AZ
195402013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19541
19542 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19543 fields.
19544
346d65b3
RM
195452013-06-17 Roland McGrath <roland@hack.frob.com>
19546
12086fb4
RM
19547 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19548 length of target pattern, then descending length of dependency pattern.
19549 * configure.in (AWK): Require gawk 3.1.2 or newer.
19550 * manual/install.texi (Tools for Compilation): Say that we do.
19551 * configure: Regenerated.
19552
346d65b3
RM
19553 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19554 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19555 * scripts/sysd-rules.awk: ... this new script.
19556 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19557 than a glob-style pattern.
19558
1a846317
JM
195592013-06-17 Joseph Myers <joseph@codesourcery.com>
19560
19561 * math/test-misc.c (main): Do not treat incorrectly rounded
19562 conversions as failure unless ROUNDING_TESTS passes.
19563
8fc75e6f
JM
195642013-06-15 Joseph Myers <joseph@codesourcery.com>
19565
3711a167
JM
19566 [BZ #15631]
19567 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19568 restore exception state around main square root computation, then
19569 check for inexactness explicitly.
19570
8fc75e6f
JM
19571 * math/libm-test.inc (fma_test_data): Add another test.
19572
61dd6208
SP
195732013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19574
adf23d2c
SP
19575 * manual/threads.texi (Non-POSIX Extensions): New document
19576 node. Document pthread_getattr_default_np and
19577 pthread_setattr_default_np.
19578
61dd6208
SP
19579 * Versions.def (libpthread): Add GLIBC_2.18.
19580 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19582 Likewise.
19583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19584 Likewise.
19585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19586 Likewise.
19587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19588 Likewise.
19589 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19590 Likewise.
19591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19592 Likewise.
19593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19594 Likewise.
19595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19596 Likewise.
19597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19598 Likewise.
19599
d086fc7b
LD
196002013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19601
19602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19603 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19604
747ef469
SP
196052013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19606 H.J. Lu <hjl.tools@gmail.com>
19607
19608 [BZ #15627]
19609 * sysdeps/x86_64/rtld-memset.c: Remove file.
19610 * sysdeps/x86_64/rtld-memset.S: New file.
19611
1b2feed2
JM
196122013-06-14 Joseph Myers <joseph@codesourcery.com>
19613
19614 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19615 (test_in_one_mode): Take arguments for whether the rounding mode
19616 is supported for each floating-point type.
19617 (do_test): Pass new arguments to test_in_one_mode using
19618 ROUNDING_TESTS.
19619
a58ad3f8
RM
196202013-06-13 Roland McGrath <roland@hack.frob.com>
19621
19622 * posix/tst-waitid.c (do_test): Distinguish different instances of
19623 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19624 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19625 before entering the kernel for waitpid.
19626
c204ab28
SP
196272013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19628
19629 * NEWS: Fix note on clock function precision. Text by Roland
19630 McGrath.
19631
f4a29fba
RM
196322013-06-13 Roland McGrath <roland@hack.frob.com>
19633
19634 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19635 it into place only when and if the sanity check passes.
19636
1f24b9ad
JM
196372013-06-13 Joseph Myers <joseph@codesourcery.com>
19638
19639 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19640 output for whether conversion result is exact. Take argument
19641 indicating whether type is IBM long double.
19642 (round_for_all): Change need_exact field to ibm_ld.
19643 * stdlib/tst-strtod-round.c (struct exactness): New type.
19644 (struct test): Change bool ld_ok field to struct exactness exact.
19645 (TEST): Update all definitions for change to field.
19646 (tests): Regenerate array contents.
19647 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19648 field value. Check for IBM long double here.
19649 (do_test): Update calls to test_in_one_mode.
19650
58206c68
SP
196512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19652
19653 [BZ #12515]
19654 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19655 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19656
2d6f4c5b 196572013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
19658
19659 [BZ #15605]
19660 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19661 generated by the compiler on loop optimizations.
19662 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19663 general definitions.
19664
94f2c076
JM
196652013-06-12 Joseph Myers <joseph@codesourcery.com>
19666
19667 * math/bug-nextafter.c: Include <math-tests.h>.
19668 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19669 the relevant type.
19670 * math/bug-nexttoward.c: Include <math-tests.h>.
19671 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19672 the relevant type.
19673 * math/test-misc.c: Include <math-tests.h>.
19674 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19675 the relevant type.
19676
e0e50a0a
AJ
196772013-06-12 Andreas Jaeger <aj@suse.de>
19678
19679 * po/ia.po: Update Interlingua translation from translation
19680 project.
19681
25061094
SP
196822013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19683
19684 * include/fenv.h: Include stdbool.h.
19685 (struct rm_ctx): New structure.
19686 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19687 Define macro.
19688 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19689 (SET_RESTORE_ROUNDF): Likewise.
19690 (SET_RESTORE_ROUNDL): Likewise.
19691 (SET_RESTORE_ROUND_NOEX): Likewise.
19692 (SET_RESTORE_ROUND_NOEXF): Likewise.
19693 (SET_RESTORE_ROUND_NOEXL): Likewise.
19694 (SET_RESTORE_ROUND_53BIT): Likewise.
19695 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19696 (libc_feresetround_noexf_ctx): Likewise.
19697 (libc_feresetround_noexl_ctx): Likewise.
19698 (libc_feholdsetround_53bit_ctx): Likewise.
19699 (libc_feresetround_53bit_ctx): Likewise.
19700 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19701 (libc_feholdexcept_setround_sse_ctx): New function.
19702 (libc_fesetenv_sse_ctx): Likewise.
19703 (libc_feupdateenv_sse_ctx): Likewise.
19704 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19705 (libc_feholdexcept_setround_387_ctx): Likewise.
19706 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19707 (libc_feholdsetround_387_prec_ctx): Likewise.
19708 (libc_feholdsetround_387_ctx): Likewise.
19709 (libc_feholdsetround_387_53bit_ctx): Likewise.
19710 (libc_feholdsetround_sse_ctx): Likewise.
19711 (libc_feresetround_sse_ctx): Likewise.
19712 (libc_feresetround_387_ctx): Likewise.
19713 (libc_feupdateenv_387_ctx): Likewise.
19714 (libc_feholdexcept_setroundf_ctx): Define macro.
19715 (libc_fesetenvf_ctx): Likewise.
19716 (libc_feupdateenvf_ctx): Likewise.
19717 (libc_feholdsetroundf_ctx): Likewise.
19718 (libc_feresetroundf_ctx): Likewise.
19719 (libc_feholdexcept_setround_ctx): Likewise.
19720 (libc_fesetenv_ctx): Likewise.
19721 (libc_feupdateenv_ctx): Likewise.
19722 (libc_feholdsetround_ctx): Likewise.
19723 (libc_feresetround_ctx): Likewise.
19724 (libc_feholdexcept_setroundl_ctx): Likewise.
19725 (libc_feupdateenvl_ctx): Likewise.
19726 (libc_feholdsetroundl_ctx): Likewise.
19727 (libc_feresetroundl_ctx): Likewise.
19728 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19729 (libc_feresetround_53bit_ctx): Likewise.
19730
59b30555
SP
197312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19732
19733 * locale/iso-639.def: Convert to UTF-8.
19734
f1d73d30
JM
197352013-06-11 Joseph Myers <joseph@codesourcery.com>
19736
19737 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19738 (EXCEPTION_TESTS_double): Likewise.
19739 (EXCEPTION_TESTS_long_double): Likewise.
19740 (EXCEPTION_TESTS): Likewise.
19741 * math/libm-test.inc (test_exceptions): Only test exceptions if
19742 EXCEPTION_TESTS (FLOAT).
19743
94aca5e7
SP
197442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19745
19746 * benchtests/Makefile (string-bench): Add strcpy_chk and
19747 stpcpy_chk.
19748 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19749 * benchtests/bench-stpcpy_chk.c: New file.
19750 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19751 * benchtests/bench-strcpy_chk.c: New file.
19752 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19753 code.
19754 (do_test): Likewise.
19755
fac0c5f2
RA
197562013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19757
19758 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19759 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19760 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19761 with tabs where appropriate.
19762 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19763 dl-procinfo.h.
19764 [PPC_PLATFORM_PPC440]: Likewise.
19765 [PPC_PLATFORM_PPC464]: Likewise.
19766 [PPC_PLATFORM_PPC476]: Likewise.
19767 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19768 ppc464, and ppc476 platform strings merging from ports/
19769 dl-procinfo.h.
19770
f22bc486
AS
197712013-06-11 Andreas Schwab <schwab@suse.de>
19772
19773 [BZ #14991]
19774 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19775 (from_ucs4_idx): Regenerate.
19776 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19777 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19778 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19779 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19780 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19781 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19782 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19783 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19784 from FROM_LOOP and TO_LOOP specific macros.
19785 (BODY): Handle combining characters.
19786 * iconvdata/BIG5HKSCS.irreversible: Update.
19787 * iconvdata/BIG5HKSCS.precomposed: New file.
19788 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19789 characters.
19790 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19791
c1f75dc3
SP
197922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19793
4eacded2
SP
19794 * include/sys/time.h: Fix indentation and add copyright header.
19795
fec799f8
SP
19796 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19797 (do_test): Likewise.
19798 * string/test-memchr.c (do_one_test): Likewise.
19799 (do_test): Likewise.
19800 * string/test-memcmp.c (do_one_test): Likewise.
19801 (do_test): Likewise.
19802 * string/test-memcpy.c (do_one_test): Likewise.
19803 (do_test): Likewise.
19804 * string/test-memmem.c (do_one_test): Likewise.
19805 (do_test): Likewise.
19806 (do_random_tests): Likewise.
19807 * string/test-memmove.c (do_one_test): Likewise.
19808 (do_test): Likewise.
19809 * string/test-memset.c (do_one_test): Likewise.
19810 (do_test): Likewise.
19811 * string/test-rawmemchr.c (do_one_test): Likewise.
19812 (do_test): Likewise.
19813 * string/test-strcasecmp.c (do_one_test): Likewise.
19814 (do_test): Likewise.
19815 * string/test-strcasestr.c (do_one_test): Likewise.
19816 (do_test): Likewise.
19817 * string/test-strcat.c (do_one_test): Likewise.
19818 (do_test): Likewise.
19819 * string/test-strchr.c (do_one_test): Likewise.
19820 (do_test): Likewise.
19821 * string/test-strcmp.c (do_one_test): Likewise.
19822 (do_test): Likewise.
19823 * string/test-strcpy.c (do_one_test): Likewise.
19824 (do_test): Likewise.
19825 * string/test-string.h: Likewise.
19826 (test_init): Likewise.
19827 * string/test-strlen.c (do_one_test): Likewise.
19828 (do_test): Likewise.
19829 * string/test-strncasecmp.c (do_one_test): Likewise.
19830 (do_test): Likewise.
19831 * string/test-strncat.c (do_one_test): Likewise.
19832 (do_test): Likewise.
19833 * string/test-strncmp.c (do_one_test): Likewise.
19834 (do_test_limit): Likewise.
19835 (do_test): Likewise.
19836 * string/test-strncpy.c (do_one_test): Likewise.
19837 (do_test): Likewise.
19838 * string/test-strnlen.c (do_one_test): Likewise.
19839 (do_test): Likewise.
19840 * string/test-strpbrk.c (do_one_test): Likewise.
19841 (do_test): Likewise.
19842 * string/test-strrchr.c (do_one_test): Likewise.
19843 (do_test): Likewise.
19844 * string/test-strspn.c (do_one_test): Likewise.
19845 (do_test): Likewise.
19846 * string/test-strstr.c (do_one_test): Likewise.
19847 (do_test): Likewise.
19848
97020474
SP
19849 * benchtests/Makefile (string-bench): Add string benchmarks.
19850 * benchtests/bench-bcopy-ifunc.c: New file.
19851 * benchtests/bench-bcopy.c: New file.
19852 * benchtests/bench-bzero-ifunc.c: New file.
19853 * benchtests/bench-bzero.c: New file.
19854 * benchtests/bench-memccpy-ifunc.c: New file.
19855 * benchtests/bench-memccpy.c: New file.
19856 * benchtests/bench-memchr-ifunc.c: New file.
19857 * benchtests/bench-memchr.c: New file.
19858 * benchtests/bench-memcmp-ifunc.c: New file.
19859 * benchtests/bench-memcmp.c: New file.
19860 * benchtests/bench-memmem-ifunc.c: New file.
19861 * benchtests/bench-memmem.c: New file.
19862 * benchtests/bench-memmove-ifunc.c: New file.
19863 * benchtests/bench-memmove.c: New file.
19864 * benchtests/bench-mempcpy-ifunc.c: New file.
19865 * benchtests/bench-mempcpy.c: New file.
19866 * benchtests/bench-memset-ifunc.c: New file.
19867 * benchtests/bench-memset.c: New file.
19868 * benchtests/bench-rawmemchr-ifunc.c: New file.
19869 * benchtests/bench-rawmemchr.c: New file.
19870 * benchtests/bench-stpcpy-ifunc.c: New file.
19871 * benchtests/bench-stpcpy.c: New file.
19872 * benchtests/bench-stpncpy-ifunc.c: New file.
19873 * benchtests/bench-stpncpy.c: New file.
19874 * benchtests/bench-strcasecmp-ifunc.c: New file.
19875 * benchtests/bench-strcasecmp.c: New file.
19876 * benchtests/bench-strcasestr-ifunc.c: New file.
19877 * benchtests/bench-strcasestr.c: New file.
19878 * benchtests/bench-strcat-ifunc.c: New file.
19879 * benchtests/bench-strcat.c: New file.
19880 * benchtests/bench-strchr-ifunc.c: New file.
19881 * benchtests/bench-strchr.c: New file.
19882 * benchtests/bench-strchrnul-ifunc.c: New file.
19883 * benchtests/bench-strchrnul.c: New file.
19884 * benchtests/bench-strcmp-ifunc.c: New file.
19885 * benchtests/bench-strcmp.c: New file.
19886 * benchtests/bench-strcpy-ifunc.c: New file.
19887 * benchtests/bench-strcpy.c: New file.
19888 * benchtests/bench-strcspn-ifunc.c: New file.
19889 * benchtests/bench-strcspn.c: New file.
19890 * benchtests/bench-strlen-ifunc.c: New file.
19891 * benchtests/bench-strlen.c: New file.
19892 * benchtests/bench-strncasecmp-ifunc.c: New file.
19893 * benchtests/bench-strncasecmp.c: New file.
19894 * benchtests/bench-strncat-ifunc.c: New file.
19895 * benchtests/bench-strncat.c: New file.
19896 * benchtests/bench-strncmp-ifunc.c: New file.
19897 * benchtests/bench-strncmp.c: New file.
19898 * benchtests/bench-strncpy-ifunc.c: New file.
19899 * benchtests/bench-strncpy.c: New file.
19900 * benchtests/bench-strnlen-ifunc.c: New file.
19901 * benchtests/bench-strnlen.c: New file.
19902 * benchtests/bench-strpbrk-ifunc.c: New file.
19903 * benchtests/bench-strpbrk.c: New file.
19904 * benchtests/bench-strrchr-ifunc.c: New file.
19905 * benchtests/bench-strrchr.c: New file.
19906 * benchtests/bench-strspn-ifunc.c: New file.
19907 * benchtests/bench-strspn.c: New file.
19908 * benchtests/bench-strstr-ifunc.c: New file.
19909 * benchtests/bench-strstr.c: New file.
19910
c1f75dc3
SP
19911 * benchtests/Makefile: Disable parallel execution of targets.
19912 (string-bench): Add memcpy.
19913 (benchset): New variable to store a list of benchmark sets.
19914 (bench-func): Renamed from bench.
19915 (bench-set): New target.
19916 (bench): Depend on bench-func and bench-set.
19917 * benchtests/README: Add section on benchmark sets.
19918 * benchtests/bench-memcpy-ifunc.c: New file.
19919 * benchtests/bench-memcpy.c: New file.
19920 * benchtests/bench-string.h: New file.
19921
50fd745b
AS
199222013-06-11 Andreas Schwab <schwab@suse.de>
19923
19924 [BZ #15577]
19925 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19926 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19927 values in the triple.
19928 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19929 terminator in the group key.
19930
3ee7e9fe
AJ
199312013-06-11 Andreas Jaeger <aj@suse.de>
19932
19933 * po/zh_TW.po: Update Chinese (traditional) translation from
19934 translation project.
19935
89fb6835
SP
199362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19937
19938 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19939 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19940 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19941 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19942 (clock_getcpuclockid): Likewise.
19943 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19944 Add weak_alias and libc_hidden_def.
19945 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19946 * rt/clock_gettime.c (clock_gettime): Rename to
19947 __clock_gettime. Add weak_alias and libc_hidden_def.
19948 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19949 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19950 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19951 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19952 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19953 Likewise.
19954 * rt/clock_settime.c (clock_settime): Rename to
19955 __clock_settime. Add weak_alias and libc_hidden_def.
19956 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19957
0efa6f8b
JM
199582013-06-10 Joseph Myers <joseph@codesourcery.com>
19959
b8c61b4b
JM
19960 * mach/err_boot.sub: Remove trailing whitespace.
19961 * mach/err_ipc.sub: Likewise.
19962 * mach/err_mach.sub: Likewise.
19963
0efa6f8b
JM
19964 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19965 (ROUNDING_TESTS_double): Likewise.
19966 (ROUNDING_TESTS_long_double): Likewise.
19967 (ROUNDING_TESTS): Likewise.
19968 * math/libm-test.inc: Include <math-tests.h>.
19969 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19970 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19971 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19972 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19973
50b818bf
SP
199742013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19975
19976 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19977 of assigning.
19978
60d2f8f3
JM
199792013-06-08 Joseph Myers <joseph@codesourcery.com>
19980
4902d2c3
JM
19981 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19982 otherwise empty TRANS lines.
19983 * sysdeps/gnu/errlist.c: Regenerated.
19984
60d2f8f3
JM
19985 * catgets/gencat.c (error_print): Use (void) in function
19986 definition.
19987 * crypt/crypt_util.c (__init_des): Likewise.
19988 * crypt/speeds.c (Stop): Likewise.
19989 (main): Likewise.
19990 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19991 * inet/ruserpass.c (token): Likewise.
19992 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19993 * intl/localealias.c (extend_alias_table): Likewise.
19994 * intl/plural-exp.c (init_germanic_plural): Likewise.
19995 * libio/fcloseall.c (__fcloseall): Likewise.
19996 * libio/genops.c (_IO_flush_all): Likewise.
19997 (_IO_flush_all_linebuffered): Likewise.
19998 (_IO_cleanup): Likewise.
19999 (_IO_iter_begin): Likewise.
20000 (_IO_iter_end): Likewise.
20001 (_IO_list_lock): Likewise.
20002 (_IO_list_unlock): Likewise.
20003 (_IO_list_resetlock): Likewise.
20004 * libio/getchar.c (getchar): Likewise.
20005 * libio/getchar_u.c (getchar_unlocked): Likewise.
20006 * libio/getwchar.c (getwchar): Likewise.
20007 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20008 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20009 * login/getpt.c (__getpt): Likewise.
20010 * login/tst-utmp.c (main): Likewise.
20011 * malloc/hooks.c (__malloc_check_init): Likewise.
20012 * malloc/malloc.c (__malloc_stats): Likewise.
20013 * malloc/mtrace.c (tr_break): Likewise.
20014 (mtrace): Likewise.
20015 (muntrace): Likewise.
20016 * misc/fstab.c (endfsent): Likewise.
20017 * misc/getclktck.c (__getclktck): Likewise.
20018 * misc/getdtsz.c (__getdtablesize): Likewise.
20019 * misc/gethostid.c (gethostid): Likewise.
20020 * misc/getpagesize.c (__getpagesize): Likewise.
20021 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20022 (__get_nprocs): Likewise.
20023 (__get_phys_pages): Likewise.
20024 (__get_avphys_pages): Likewise.
20025 * misc/getttyent.c (getttyent): Likewise.
20026 (setttyent): Likewise.
20027 (endttyent): Likewise.
20028 * misc/getusershell.c (getusershell): Likewise.
20029 (endusershell): Likewise.
20030 (setusershell): Likewise.
20031 (initshells): Likewise.
20032 * misc/hsearch.c (__hdestroy): Likewise.
20033 * misc/sync.c (sync): Likewise.
20034 * misc/syslog.c (closelog_internal): Likewise.
20035 (closelog): Likewise.
20036 * misc/ttyslot.c (ttyslot): Likewise.
20037 * misc/vhangup.c (vhangup): Likewise.
20038 * posix/fork.c (__fork): Likewise.
20039 * posix/getegid.c (__getegid): Likewise.
20040 * posix/geteuid.c (__geteuid): Likewise.
20041 * posix/getgid.c (__getgid): Likewise.
20042 * posix/getpid.c (__getpid): Likewise.
20043 * posix/getppid.c (__getppid): Likewise.
20044 * posix/getuid.c (__getuid): Likewise.
20045 * posix/pause.c (pause): Likewise.
20046 * posix/setpgrp.c (setpgrp): Likewise.
20047 * posix/setsid.c (__setsid): Likewise.
20048 * posix/test-vfork.c (noop): Likewise.
20049 * resolv/gethnamaddr.c (_endhtent): Likewise.
20050 (_gethtent): Likewise.
20051 (ht_endhostent): Likewise.
20052 (gethostent): Likewise.
20053 (dns_service): Likewise.
20054 * stdlib/drand48.c (drand48): Likewise.
20055 * stdlib/lrand48.c (lrand48): Likewise.
20056 * stdlib/mrand48.c (mrand48): Likewise.
20057 * stdlib/rand.c (rand): Likewise.
20058 * stdlib/random.c (__random): Likewise.
20059 * stdlib/setenv.c (clearenv): Likewise.
20060 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20061 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20062 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20063 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20064 (__get_nprocs): Likewise.
20065 (__get_phys_pages): Likewise.
20066 (__get_avphys_pages): Likewise.
20067 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20068 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20069 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20070 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20071 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20072 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20073 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20074 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20075 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20076 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20077 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20078 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20079 * sysdeps/posix/clock.c (clock): Likewise.
20080 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20081 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20082 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20083 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20084 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20086 (__get_nprocs_conf): Likewise.
20087 (__get_phys_pages): Likewise.
20088 (__get_avphys_pages): Likewise.
20089 * time/clock.c (clock): Likewise.
20090 * time/tzset.c (__tzname_max): Likewise.
20091
2e09a79a
JM
200922013-06-07 Joseph Myers <joseph@codesourcery.com>
20093
20094 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20095 (__bswap_32): Do not use "register".
20096 * crypt/crypt.c (_ufc_doit_r): Likewise.
20097 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20098 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20099 * gmon/gmon.c (__monstartup): Likewise.
20100 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20101 * hurd/hurdmalloc.c (more_memory): Likewise.
20102 (malloc): Likewise.
20103 (free): Likewise.
20104 (realloc): Likewise.
20105 (malloc_fork_prepare): Likewise.
20106 (malloc_fork_parent): Likewise.
20107 (malloc_fork_child): Likewise.
20108 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20109 (_svcauth_des): Likewise.
20110 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20111 * inet/inet_net.c (inet_network): Likewise.
20112 * inet/inet_netof.c (inet_netof): Likewise.
20113 * inet/rcmd.c (__validuser2_sa): Likewise.
20114 * io/fts.c (fts_open): Likewise.
20115 (fts_load): Likewise.
20116 (fts_close): Likewise.
20117 (fts_read): Likewise.
20118 (fts_children): Likewise.
20119 (fts_build): Likewise.
20120 (fts_stat): Likewise.
20121 (fts_sort): Likewise.
20122 (fts_alloc): Likewise.
20123 (fts_lfree): Likewise.
20124 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20125 (_IO_file_xsgetn): Likewise.
20126 (_IO_file_xsgetn_mmap): Likewise.
20127 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20128 (_IO_cookie_write): Likewise.
20129 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20130 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20131 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20132 * malloc/obstack.c (_obstack_begin): Likewise.
20133 (_obstack_begin_1): Likewise.
20134 (_obstack_newchunk): Likewise.
20135 (_obstack_allocated_p): Likewise.
20136 (obstack_free): Likewise.
20137 (_obstack_memory_used): Likewise.
20138 * misc/getttyent.c (getttynam): Likewise.
20139 (getttyent): Likewise.
20140 (skip): Likewise.
20141 (value): Likewise.
20142 * misc/getusershell.c (initshells): Likewise.
20143 * misc/syslog.c (__vsyslog_chk): Likewise.
20144 * misc/ttyslot.c (ttyslot): Likewise.
20145 * nis/nis_hash.c (__nis_hash): Likewise.
20146 * posix/fnmatch_loop.c (FCT): Likewise.
20147 * posix/getconf.c (print_all): Likewise.
20148 (main): Likewise.
20149 * posix/getopt.c (exchange): Likewise.
20150 * posix/glob.c (globfree): Likewise.
20151 (prefix_array): Likewise.
20152 (__glob_pattern_type): Likewise.
20153 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20154 (NS_GET32): Likewise.
20155 (NS_PUT16): Likewise.
20156 (NS_PUT32): Likewise.
20157 * resolv/gethnamaddr.c (getanswer): Likewise.
20158 (gethostbyname2): Likewise.
20159 (gethostbyaddr): Likewise.
20160 (_gethtent): Likewise.
20161 (_gethtbyname2): Likewise.
20162 (_gethtbyaddr): Likewise.
20163 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20164 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20165 * resolv/res_init.c (__res_vinit): Likewise.
20166 (net_mask): Likewise.
20167 * resolv/res_mkquery.c (outchar): Likewise.
20168 (PRINT): Likewise.
20169 * stdio-common/printf_fp.c (outchar): Likewise.
20170 (PRINT): Likewise.
20171 * stdio-common/printf_fphex.c (outchar): Likewise.
20172 (PRINT): Likewise.
20173 * stdio-common/printf_size.c (outchar): Likewise.
20174 (PRINT): Likewise.
20175 * stdio-common/test_rdwr.c (main): Likewise.
20176 * stdio-common/tfformat.c (matches): Likewise.
20177 * stdio-common/vfprintf.c (outchar): Likewise.
20178 (printf_unknown): Likewise.
20179 (buffered_vfprintf): Likewise.
20180 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20181 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20182 (ReadFile): Likewise.
20183 * stdlib/qsort.c (SWAP): Likewise.
20184 (_quicksort): Likewise.
20185 * stdlib/setenv.c (__add_to_environ): Likewise.
20186 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20187 * stdlib/strtol_l.c (__strtol_l): Likewise.
20188 * stdlib/tst-strtod.c (main): Likewise.
20189 * stdlib/tst-strtol.c (main): Likewise.
20190 * stdlib/tst-strtoll.c (main): Likewise.
20191 * string/bits/string2.h (__strcmp_cc): Likewise.
20192 (__strcmp_cg): Likewise.
20193 (__strcspn_c1): Likewise.
20194 (__strcspn_c2): Likewise.
20195 (__strcspn_c3): Likewise.
20196 (__strspn_c1): Likewise.
20197 (__strspn_c2): Likewise.
20198 (__strspn_c3): Likewise.
20199 (__strsep_1c): Likewise.
20200 (__strsep_2c): Likewise.
20201 (__strsep_3c): Likewise.
20202 * string/memccpy.c (__memccpy): Likewise.
20203 * string/stpcpy.c (__stpcpy): Likewise.
20204 * string/strcmp.c (strcmp): Likewise.
20205 * string/strrchr.c (strrchr): Likewise.
20206 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20207 Likewise.
20208 * sysdeps/mach/hurd/getcwd.c
20209 (_hurd_canonicalize_directory_name_internal): Likewise.
20210 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20211 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20212 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20213 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20214 Likewise, in both definitions.
20215 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20216 definitions.
20217 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20218 64] (__bswap_64): Likewise.
20219 * time/test_time.c (main): Likewise.
20220 * time/tzfile.c (__tzfile_read): Likewise.
20221 (__tzfile_compute): Likewise.
20222 * time/tzset.c (__tzset_parse_tz): Likewise.
20223 (tzset_internal): Likewise.
20224 (compute_change): Likewise.
20225 * wcsmbs/wcscat.c (__wcscat): Likewise.
20226 * wcsmbs/wcschr.c (wcschr): Likewise.
20227 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20228 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20229 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20230 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20231 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20232 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20233 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20234 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20235 * wcsmbs/wmemset.c (wmemset): Likewise.
20236
9e54314b
JM
202372013-06-06 Joseph Myers <joseph@codesourcery.com>
20238
20239 * scripts/config.guess: Update to version 2013-05-16.
20240 * scripts/config.sub: Update to version 2013-04-24.
20241 * scripts/install-sh: Update to version 2011-11-20.07.
20242 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20243 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20244
350635a5
OB
202452013-06-06 Ondřej Bílka <neleai@seznam.cz>
20246
20247 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20248 * elf/sln.c: Likewise.
20249 * hurd/hurd/ioctl.h: Likewise.
20250 * hurd/hurdmalloc.c: Likewise.
20251 * hurd/xattr.c: Likewise.
20252 * include/shlib-compat.h: Likewise.
20253 * inet/ruserpass.c: Likewise.
20254 * libio/iofgets_u.c: Likewise.
20255 * libio/iofgetws_u.c: Likewise.
20256 * locale/programs/ld-identification.c: Likewise.
20257 * locale/programs/ld-time.c: Likewise.
20258 * mach/msg-destroy.c: Likewise.
20259 * nss/nss_files/files-netgrp.c: Likewise.
20260 * resolv/res_data.c: Likewise.
20261 * soft-fp/op-1.h: Likewise.
20262 * soft-fp/op-2.h: Likewise.
20263 * soft-fp/op-4.h: Likewise.
20264 * soft-fp/op-common.h: Likewise.
20265 * stdio-common/printf_fphex.c: Likewise.
20266 * stdlib/strtod_l.c: Likewise.
20267 * sunrpc/rpc/clnt.h: Likewise.
20268 * sysdeps/generic/framestate.c: Likewise.
20269 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20270 * sysdeps/i386/bsd-setjmp.S: Likewise.
20271 * sysdeps/i386/__longjmp.S: Likewise.
20272 * sysdeps/i386/setjmp.S: Likewise.
20273 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20274 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20275 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20276 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20278 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20280 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20281 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20282 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20283 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20284 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20285 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20286 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20287 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20288 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20289 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20290 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20291 * sysdeps/ieee754/support.c: Likewise.
20292 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20293 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20294 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20295 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20296 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20297 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20298 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20299 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20300 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20301 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20302 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20303 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20304 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20305 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20306 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20307 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20308 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20310
44a988af
OB
203112013-06-05 Ondřej Bílka <neleai@seznam.cz>
20312
25506f09 20313 * posix/transbug.c: Remove executable mode.
44a988af 20314
9c84384c
JM
203152013-06-05 Joseph Myers <joseph@codesourcery.com>
20316
20317 * crypt/speeds.c: Remove trailing whitespace.
20318 * dlfcn/default.c: Likewise.
20319 * elf/ifuncdep2.c: Likewise.
20320 * elf/ifuncmain1.c: Likewise.
20321 * elf/ifuncmain1vis.c: Likewise.
20322 * elf/testobj.h: Likewise.
20323 * elf/tst-stackguard1.c: Likewise.
20324 * gmon/sys/gmon.h: Likewise.
20325 * hurd/hurdmsg.c: Likewise.
20326 * hurd/new-fd.c: Likewise.
20327 * hurd/ports-get.c: Likewise.
20328 * iconvdata/ibm1008_420.c: Likewise.
20329 * inet/tst-getni1.c: Likewise.
20330 * inet/tst-getni2.c: Likewise.
20331 * libio/ioungetc.c: Likewise.
20332 * libio/wfiledoalloc.c: Likewise.
20333 * manual/libm-err-tab.pl: Likewise.
20334 * math/w_dremf.c: Likewise.
20335 * misc/ftruncate.c: Likewise.
20336 * posix/bug-glob2.c: Likewise.
20337 * posix/tst-pcre.c: Likewise.
20338 * posix/wait4.c: Likewise.
20339 * resolv/README: Likewise.
20340 * resolv/res_debug.h: Likewise.
20341 * resolv/tst-inet_ntop.c: Likewise.
20342 * setjmp/bug269-setjmp.c: Likewise.
20343 * soft-fp/extended.h: Likewise.
20344 * soft-fp/op-1.h: Likewise.
20345 * soft-fp/op-2.h: Likewise.
20346 * soft-fp/op-4.h: Likewise.
20347 * soft-fp/op-8.h: Likewise.
20348 * soft-fp/testit.c: Likewise.
20349 * stdio-common/bug16.c: Likewise.
20350 * stdlib/random.c: Likewise.
20351 * sunrpc/rpcsvc/rquota.x: Likewise.
20352 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20353 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20355 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20356 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20357 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20358 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20359 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20360 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20361 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20362 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20379 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20381 * sysdeps/ieee754/s_lib_version.c: Likewise.
20382 * sysdeps/mach/hurd/check_fds.c: Likewise.
20383 * sysdeps/mach/hurd/getsockname.c: Likewise.
20384 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20385 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20386 * sysdeps/powerpc/bits/link.h: Likewise.
20387 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20388 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20389 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20390 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20391 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20392 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20393 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20394 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20395 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20396 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20397 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20398 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20399 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20400 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20401 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20402 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20403 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20404 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20406 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20407 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20408 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20410 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20411 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20412 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20413 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20414 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20415 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20416 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20417 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20418 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20419 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20420 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20421 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20422 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20423 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20424 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20425 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20426 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20427 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20428 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20429 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20430 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20431 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20432 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20433 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20434 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20435 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20436 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20438 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20439 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20440 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20441 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20442 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20443 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20444 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20445 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20446 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20447 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20448 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20449 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20450 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20451 * sysdeps/powerpc/sysdep.h: Likewise.
20452 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20453 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20454 * sysdeps/sh/dl-trampoline.S: Likewise.
20455 * sysdeps/sh/memset.S: Likewise.
20456 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20457 * sysdeps/sh/strlen.S: Likewise.
20458 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20459 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20460 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20461 * sysdeps/sparc/sparc32/rem.S: Likewise.
20462 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20463 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20464 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20465 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20466 * sysdeps/sparc/sparc32/urem.S: Likewise.
20467 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20468 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20469 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20470 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20471 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20472 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20473 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20474 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20475 * sysdeps/unix/bsd/times.c: Likewise.
20476 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20477 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20481 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20482 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20483 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20484 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20485 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20486 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20487 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20488 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20489 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20490 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20491 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20492 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20493 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20494 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20495 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20496 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20497 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20498 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20499 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20500 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20501 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20502 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20503 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20504 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20505 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20506 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20507 * sysdeps/x86_64/strcspn.S: Likewise.
20508
869378a5
RA
205092013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20510
20511 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20512 generated file. Regenerate properly from gen-translit.pl.
20513 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20514 locale/C-translit.h.
20515
840e2943
AS
205162013-06-05 Andreas Schwab <schwab@suse.de>
20517
20518 [BZ #15100]
20519 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20520 week as 6 instead of -1.
20521 * time/tst-strptime.c (day_tests): Add test case.
20522
4c60cb0c
SP
205232013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20524
20525 * sysdeps/generic/math_private.h
20526 (libc_feholdexcept_setround_53bit): Replace with
20527 libc_feholdsetround_53bit.
20528 (libc_feupdateenv_53bit): Replace with
20529 libc_feresetround_53bit.
20530 (SET_RESTORE_ROUND_53BIT): Adjust.
20531
d180203e
SP
205322013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20533
96df079a
SP
20534 * string/test-strchrnul.c: Add copyright header.
20535
d180203e
SP
20536 * posix/tst-getaddrinfo4.c: Increase test timeout.
20537
8b0ccb2d
CD
205382013-06-03 Carlos O'Donell <carlos@redhat.com>
20539
20540 [BZ #15536]
20541 * math/libm-test.inc (MAX_EXP): Remove
20542 (MIN_EXP): Define.
20543 (ulp): Use MIN_EXP - MANT_DIG.
20544 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20545
3b3c4d40
CD
205462013-05-31 Carlos O'Donell <carlos@redhat.com>
20547
20548 * po/be.po: Revert last change.
20549 * po/zh_CN.po: Likewise.
20550 * po/header.pot: Likewise.
20551
fab7ce3f
JM
205522013-05-31 Joseph Myers <joseph@codesourcery.com>
20553
20554 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20555 link-libc-deps to empty as target-specific variable.
20556 * Makerules (link-libc-args): New variable.
20557 (libc-for-link): Likewise.
20558 (link-libc-deps): Likewise.
20559 (lib%.so): Depend on $(link-libc-deps). Link with
20560 $(link-libc-args).
20561 (build-module): Link with $(link-libc-args).
20562 (build-module-asneeded): Likewise.
20563 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20564 list of objects.
20565 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20566 target-specific variable.
20567 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20568 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20569 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20570 libc.
20571 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20572 libc and ld.so.
20573 ($(objpfx)libpcprofile.so): Likewise.
20574 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20575 libc_nonshared.a.
20576 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20577 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20578 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20579 $(link-libc-deps).
20580 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20581 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20582 * login/Makefile ($(objpfx)libutil.so): Likewise.
20583 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20584 * math/Makefile ($(objpfx)libm.so): Likewise.
20585 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20586 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20587 variable instead of depending directly on libc.
20588 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20589 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20590 $(link-libc-deps).
20591 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20592 libc.
20593 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20594 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20595 ($(objpfx)libanl.so): Likewise.
20596 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20597 ld.so.
20598 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20599 $(link-libc-deps).
20600 * sysdeps/i386/fpu/Makefile: Remove file.
20601 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20602 ($(objpfx)libm.so): Remove dependency on ld.so.
20603
eca5920c
PF
206042013-05-30 Patsy Franklin <pfrankli@redhat.com>
20605
20606 [BZ # 15553]
20607 * nis/yp_xdr.c (XDRMAXNAME): Define.
20608 (XDRMAXRECORD): Define.
20609 (xdr_domainname): Use XDRMAXNAME.
20610 (xdr_mapname): Likewise.
20611 (xdr_peername): Likewise.
20612 (xdr_keydat): Use XDRMAXRECORD.
20613 (xdr_valdat): Likewise.
20614
206152013-05-30 Jeff Law <law@redhat.com>
96945714
JL
20616
20617 [BZ #14256]
20618 * manual/errno.texi (ESTALE): Update to account for more than
20619 just NFS file systems.
20620 * sysdeps/gnu/errlist.c: Regenerated.
20621
b9375348
SP
206222013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20623
20624 [BZ #15465]
20625 * elf/Makefile (tests): Add tst-null-argv.
20626 (modules-names): Add tst-null-argv-lib.
20627 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20628 (tst-null-argv-ENV): Set environment for tst-null-argv.
20629 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20630 (RTLD_PROGNAME): New macro.
20631 * elf/tst-null-argv.c: New test case.
20632 * elf/tst-null-argv-lib.c: Library for test case.
20633 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20634 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20635 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20636 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20637 * elf/dl-init.c (call_init): Likewise.
20638 (_dl_init): Likewise.
20639 * elf/dl-load.c (print_search_path): Likewise.
20640 (_dl_map_object): Likewise.
20641 * elf/dl-lookup.c (do_lookup_x): Likewise.
20642 (add_dependency): Likewise.
20643 (_dl_lookup_symbol_x): Likewise.
20644 (_dl_debug_bindings): Likewise.
20645 * elf/dl-open.c (_dl_show_scope): Likewise.
20646 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20647 * elf/dl-version.c (match_symbol): Likewise.
20648 (_dl_check_map_versions): Likewise.
20649 * elf/rtld.c (dl_main): Likewise.
20650 (print_unresolved): Use RTLD_PROGNAME.
20651 (print_missing_version): Likewise.
20652 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20653 (elf_machine_rela): Likewise.
20654 * sysdeps/powerpc/powerpc32/dl-machine.c
20655 (__process_machine_rela): Likewise.
20656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20657 Likewise.
20658 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20659 Likewise.
20660 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20661 Likewise.
20662 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20663 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20664 Likewise.
20665 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20666 Likewise.
20667 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20668
8a9f20c8
CD
206692013-05-28 Carlos O'Donell <carlos@redhat.com>
20670
20671 * po/be.po: Add descriptive title.
20672 * po/zh_CN.po: Likewise.
20673 * po/header.pot: Likewise.
20674
0e60d68e
MF
206752013-05-28 Mike Frysinger <vapier@gentoo.org>
20676
20677 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20678 error message.
20679 (enlarge_archive): Likewise.
20680
56b672e9
BN
206812013-05-28 Ben North <ben@redfrontdoor.org>
20682
20683 * manual/arith.texi (frexp): It is the magnitude of the return
20684 value which lies in [0.5, 1), not the return value itself.
20685
5e056687
AZ
206862013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20687
20688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20689
2b66ef5d
TS
206902013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20691
528c2405
TS
20692 * stdio-common/bug26.c (main): Correct fscanf template.
20693
07b4c13d
TS
20694 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20695 declare _dl_skip_args.
20696
ec9dd97c
TS
20697 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20698 Don't declare.
20699
2b66ef5d
TS
20700 * manual/platform.texi: Add missing @end deftypefun.
20701
4f8dfe27
JM
207022013-05-24 Joseph Myers <joseph@codesourcery.com>
20703
0323d086
JM
20704 [BZ #15529]
20705 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20706 bit of mantissa of 2^16382.
20707 * math/libm-test.inc (hypot_test_data): Add more tests.
20708
dd4259b9
JM
20709 * math/libm-test.inc: Add drem and pow10 to list of tested
20710 functions.
20711 (pow10_test): New function.
20712 (drem_test): Likewise.
20713 (drem_test_tonearest): Likewise.
20714 (drem_test_towardzero): Likewise.
20715 (drem_test_downward): Likewise.
20716 (drem_test_upward): Likewise.
20717 (main): Call the new functions.
20718
4f8dfe27
JM
20719 * math/libm-test.inc (finite_test_data): Remove.
20720 (finite_test): Run tests from isfinite_test_data.
20721 (gamma_test_data): Remove.
20722 (gamma_test): Run tests from lgamma_test_data.
20723 * sysdeps/i386/fpu/libm-test-ulps: Update.
20724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20725
d116b7c4
AZ
207262013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20727
20728 * manual/platform.texi: Add PowerPC PPR function set documentation.
20729 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20730 implementation.
20731
e96e3767
CD
207322013-05-24 Carlos O'Donell <carlos@redhat.com>
20733
20734 * math/libm-test.inc (MAX_EXP): Define.
20735 (ULPDIFF): Define.
20736 (ulp): New function.
20737 (check_float_internal): Use ULPDIFF.
20738 (cpow_test): Disable failing test.
20739 (check_ulp): Test ulp() implemetnation.
20740 (main): Call check_ulp before starting tests.
20741
b679a606
JM
207422013-05-24 Joseph Myers <joseph@codesourcery.com>
20743
e8bdba36
JM
20744 * math/gen-libm-test.pl (generate_testfile): Do not handle
20745 START_DATA and END_DATA.
20746 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20747 END_DATA.
20748 (acos_tonearest_test_data): Likewise.
20749 (acos_towardzero_test_data): Likewise.
20750 (acos_downward_test_data): Likewise.
20751 (acos_upward_test_data): Likewise.
20752 (acosh_test_data): Likewise.
20753 (asin_test_data): Likewise.
20754 (asin_tonearest_test_data): Likewise.
20755 (asin_towardzero_test_data): Likewise.
20756 (asin_downward_test_data): Likewise.
20757 (asin_upward_test_data): Likewise.
20758 (asinh_test_data): Likewise.
20759 (atan_test_data): Likewise.
20760 (atanh_test_data): Likewise.
20761 (atan2_test_data): Likewise.
20762 (cabs_test_data): Likewise.
20763 (cacos_test_data): Likewise.
20764 (cacosh_test_data): Likewise.
20765 (carg_test_data): Likewise.
20766 (casin_test_data): Likewise.
20767 (casinh_test_data): Likewise.
20768 (catan_test_data): Likewise.
20769 (catanh_test_data): Likewise.
20770 (cbrt_test_data): Likewise.
20771 (ccos_test_data): Likewise.
20772 (ccosh_test_data): Likewise.
20773 (ceil_test_data): Likewise.
20774 (cexp_test_data): Likewise.
20775 (cimag_test_data): Likewise.
20776 (clog_test_data): Likewise.
20777 (clog10_test_data): Likewise.
20778 (conj_test_data): Likewise.
20779 (copysign_test_data): Likewise.
20780 (cos_test_data): Likewise.
20781 (cos_tonearest_test_data): Likewise.
20782 (cos_towardzero_test_data): Likewise.
20783 (cos_downward_test_data): Likewise.
20784 (cos_upward_test_data): Likewise.
20785 (cosh_test_data): Likewise.
20786 (cosh_tonearest_test_data): Likewise.
20787 (cosh_towardzero_test_data): Likewise.
20788 (cosh_downward_test_data): Likewise.
20789 (cosh_upward_test_data): Likewise.
20790 (cpow_test_data): Likewise.
20791 (cproj_test_data): Likewise.
20792 (creal_test_data): Likewise.
20793 (csin_test_data): Likewise.
20794 (csinh_test_data): Likewise.
20795 (csqrt_test_data): Likewise.
20796 (ctan_test_data): Likewise.
20797 (ctan_tonearest_test_data): Likewise.
20798 (ctan_towardzero_test_data): Likewise.
20799 (ctan_downward_test_data): Likewise.
20800 (ctan_upward_test_data): Likewise.
20801 (ctanh_test_data): Likewise.
20802 (ctanh_tonearest_test_data): Likewise.
20803 (ctanh_towardzero_test_data): Likewise.
20804 (ctanh_downward_test_data): Likewise.
20805 (ctanh_upward_test_data): Likewise.
20806 (erf_test_data): Likewise.
20807 (erfc_test_data): Likewise.
20808 (exp_test_data): Likewise.
20809 (exp_tonearest_test_data): Likewise.
20810 (exp_towardzero_test_data): Likewise.
20811 (exp_downward_test_data): Likewise.
20812 (exp_upward_test_data): Likewise.
20813 (exp10_test_data): Likewise.
20814 (exp2_test_data): Likewise.
20815 (expm1_test_data): Likewise.
20816 (fabs_test_data): Likewise.
20817 (fdim_test_data): Likewise.
20818 (finite_test_data): Likewise.
20819 (floor_test_data): Likewise.
20820 (fma_test_data): Likewise.
20821 (fma_towardzero_test_data): Likewise.
20822 (fma_downward_test_data): Likewise.
20823 (fma_upward_test_data): Likewise.
20824 (fmax_test_data): Likewise.
20825 (fmin_test_data): Likewise.
20826 (fmod_test_data): Likewise.
20827 (fpclassify_test_data): Likewise.
20828 (frexp_test_data): Likewise.
20829 (gamma_test_data): Likewise.
20830 (hypot_test_data): Likewise.
20831 (ilogb_test_data): Likewise.
20832 (isfinite_test_data): Likewise.
20833 (isgreater_test_data): Likewise.
20834 (isgreaterequal_test_data): Likewise.
20835 (isinf_test_data): Likewise.
20836 (isless_test_data): Likewise.
20837 (islessequal_test_data): Likewise.
20838 (islessgreater_test_data): Likewise.
20839 (isnan_test_data): Likewise.
20840 (isnormal_test_data): Likewise.
20841 (issignaling_test_data): Likewise.
20842 (isunordered_test_data): Likewise.
20843 (j0_test_data): Likewise.
20844 (j1_test_data): Likewise.
20845 (jn_test_data): Likewise.
20846 (ldexp_test_data): Likewise.
20847 (lgamma_test_data): Likewise.
20848 (lrint_test_data): Likewise.
20849 (lrint_tonearest_test_data): Likewise.
20850 (lrint_towardzero_test_data): Likewise.
20851 (lrint_downward_test_data): Likewise.
20852 (lrint_upward_test_data): Likewise.
20853 (llrint_test_data): Likewise.
20854 (llrint_tonearest_test_data): Likewise.
20855 (llrint_towardzero_test_data): Likewise.
20856 (llrint_downward_test_data): Likewise.
20857 (llrint_upward_test_data): Likewise.
20858 (log_test_data): Likewise.
20859 (log10_test_data): Likewise.
20860 (log1p_test_data): Likewise.
20861 (log2_test_data): Likewise.
20862 (logb_test_data): Likewise.
20863 (logb_downward_test_data): Likewise.
20864 (lround_test_data): Likewise.
20865 (llround_test_data): Likewise.
20866 (modf_test_data): Likewise.
20867 (nearbyint_test_data): Likewise.
20868 (nextafter_test_data): Likewise.
20869 (nexttoward_test_data): Likewise.
20870 (pow_test_data): Likewise.
20871 (pow_tonearest_test_data): Likewise.
20872 (pow_towardzero_test_data): Likewise.
20873 (pow_downward_test_data): Likewise.
20874 (pow_upward_test_data): Likewise.
20875 (remainder_test_data): Likewise.
20876 (remainder_tonearest_test_data): Likewise.
20877 (remainder_towardzero_test_data): Likewise.
20878 (remainder_downward_test_data): Likewise.
20879 (remainder_upward_test_data): Likewise.
20880 (remquo_test_data): Likewise.
20881 (rint_test_data): Likewise.
20882 (rint_tonearest_test_data): Likewise.
20883 (rint_towardzero_test_data): Likewise.
20884 (rint_downward_test_data): Likewise.
20885 (rint_upward_test_data): Likewise.
20886 (round_test_data): Likewise.
20887 (scalb_test_data): Likewise.
20888 (scalbn_test_data): Likewise.
20889 (scalbln_test_data): Likewise.
20890 (signbit_test_data): Likewise.
20891 (sin_test_data): Likewise.
20892 (sin_tonearest_test_data): Likewise.
20893 (sin_towardzero_test_data): Likewise.
20894 (sin_downward_test_data): Likewise.
20895 (sin_upward_test_data): Likewise.
20896 (sincos_test_data): Likewise.
20897 (sinh_test_data): Likewise.
20898 (sinh_tonearest_test_data): Likewise.
20899 (sinh_towardzero_test_data): Likewise.
20900 (sinh_downward_test_data): Likewise.
20901 (sinh_upward_test_data): Likewise.
20902 (sqrt_test_data): Likewise.
20903 (tan_test_data): Likewise.
20904 (tan_tonearest_test_data): Likewise.
20905 (tan_towardzero_test_data): Likewise.
20906 (tan_downward_test_data): Likewise.
20907 (tan_upward_test_data): Likewise.
20908 (tanh_test_data): Likewise.
20909 (tgamma_test_data): Likewise.
20910 (trunc_test_data): Likewise.
20911 (y0_test_data): Likewise.
20912 (y1_test_data): Likewise.
20913 (yn_test_data): Likewise.
20914 (significand_test_data): Likewise.
20915
b679a606
JM
20916 * math/gen-libm-test.pl (@functions): Remove variable.
20917 (generate_testfile): Don't handle START and END lines.
20918 * math/libm-test.inc (START): New macro.
20919 (END): Likewise.
20920 (END_COMPLEX): Likewise.
20921 (acos_test): Use END macro without arguments.
20922 (acos_test_tonearest): Likewise.
20923 (acos_test_towardzero): Likewise.
20924 (acos_test_downward): Likewise.
20925 (acos_test_upward): Likewise.
20926 (acosh_test): Likewise.
20927 (asin_test): Likewise.
20928 (asin_test_tonearest): Likewise.
20929 (asin_test_towardzero): Likewise.
20930 (asin_test_downward): Likewise.
20931 (asin_test_upward): Likewise.
20932 (asinh_test): Likewise.
20933 (atan_test): Likewise.
20934 (atanh_test): Likewise.
20935 (atan2_test): Likewise.
20936 (cabs_test): Likewise.
20937 (cacos_test): Use END_COMPLEX macro without arguments.
20938 (cacosh_test): Likewise.
20939 (carg_test): Use END macro without arguments.
20940 (casin_test): Use END_COMPLEX macro without arguments.
20941 (casinh_test): Likewise.
20942 (catan_test): Likewise.
20943 (catanh_test): Likewise.
20944 (cbrt_test): Use END macro without arguments.
20945 (ccos_test): Use END_COMPLEX macro without arguments.
20946 (ccosh_test): Likewise.
20947 (ceil_test): Use END macro without arguments.
20948 (cexp_test): Use END_COMPLEX macro without arguments.
20949 (cimag_test): Use END macro without arguments.
20950 (clog_test): Use END_COMPLEX macro without arguments.
20951 (clog10_test): Likewise.
20952 (conj_test): Likewise.
20953 (copysign_test): Use END macro without arguments.
20954 (cos_test): Likewise.
20955 (cos_test_tonearest): Likewise.
20956 (cos_test_towardzero): Likewise.
20957 (cos_test_downward): Likewise.
20958 (cos_test_upward): Likewise.
20959 (cosh_test): Likewise.
20960 (cosh_test_tonearest): Likewise.
20961 (cosh_test_towardzero): Likewise.
20962 (cosh_test_downward): Likewise.
20963 (cosh_test_upward): Likewise.
20964 (cpow_test): Use END_COMPLEX macro without arguments.
20965 (cproj_test): Likewise.
20966 (creal_test): Use END macro without arguments.
20967 (csin_test): Use END_COMPLEX macro without arguments.
20968 (csinh_test): Likewise.
20969 (csqrt_test): Likewise.
20970 (ctan_test): Likewise.
20971 (ctan_test_tonearest): Likewise.
20972 (ctan_test_towardzero): Likewise.
20973 (ctan_test_downward): Likewise.
20974 (ctan_test_upward): Likewise.
20975 (ctanh_test): Likewise.
20976 (ctanh_test_tonearest): Likewise.
20977 (ctanh_test_towardzero): Likewise.
20978 (ctanh_test_downward): Likewise.
20979 (ctanh_test_upward): Likewise.
20980 (erf_test): Use END macro without arguments.
20981 (erfc_test): Likewise.
20982 (exp_test): Likewise.
20983 (exp_test_tonearest): Likewise.
20984 (exp_test_towardzero): Likewise.
20985 (exp_test_downward): Likewise.
20986 (exp_test_upward): Likewise.
20987 (exp10_test): Likewise.
20988 (exp2_test): Likewise.
20989 (expm1_test): Likewise.
20990 (fabs_test): Likewise.
20991 (fdim_test): Likewise.
20992 (finite_test): Likewise.
20993 (floor_test): Likewise.
20994 (fma_test): Likewise.
20995 (fma_test_towardzero): Likewise.
20996 (fma_test_downward): Likewise.
20997 (fma_test_upward): Likewise.
20998 (fmax_test): Likewise.
20999 (fmin_test): Likewise.
21000 (fmod_test): Likewise.
21001 (fpclassify_test): Likewise.
21002 (frexp_test): Likewise.
21003 (gamma_test): Likewise.
21004 (hypot_test): Likewise.
21005 (ilogb_test): Likewise.
21006 (isfinite_test): Likewise.
21007 (isgreater_test): Likewise.
21008 (isgreaterequal_test): Likewise.
21009 (isinf_test): Likewise.
21010 (isless_test): Likewise.
21011 (islessequal_test): Likewise.
21012 (islessgreater_test): Likewise.
21013 (isnan_test): Likewise.
21014 (isnormal_test): Likewise.
21015 (issignaling_test): Likewise.
21016 (isunordered_test): Likewise.
21017 (j0_test): Likewise.
21018 (j1_test): Likewise.
21019 (jn_test): Likewise.
21020 (ldexp_test): Likewise.
21021 (lgamma_test): Likewise.
21022 (lrint_test): Likewise.
21023 (lrint_test_tonearest): Likewise.
21024 (lrint_test_towardzero): Likewise.
21025 (lrint_test_downward): Likewise.
21026 (lrint_test_upward): Likewise.
21027 (llrint_test): Likewise.
21028 (llrint_test_tonearest): Likewise.
21029 (llrint_test_towardzero): Likewise.
21030 (llrint_test_downward): Likewise.
21031 (llrint_test_upward): Likewise.
21032 (log_test): Likewise.
21033 (log10_test): Likewise.
21034 (log1p_test): Likewise.
21035 (log2_test): Likewise.
21036 (logb_test): Likewise.
21037 (logb_test_downward): Likewise.
21038 (lround_test): Likewise.
21039 (llround_test): Likewise.
21040 (modf_test): Likewise.
21041 (nearbyint_test): Likewise.
21042 (nextafter_test): Likewise.
21043 (nexttoward_test): Likewise.
21044 (pow_test): Likewise.
21045 (pow_test_tonearest): Likewise.
21046 (pow_test_towardzero): Likewise.
21047 (pow_test_downward): Likewise.
21048 (pow_test_upward): Likewise.
21049 (remainder_test): Likewise.
21050 (remainder_test_tonearest): Likewise.
21051 (remainder_test_towardzero): Likewise.
21052 (remainder_test_downward): Likewise.
21053 (remainder_test_upward): Likewise.
21054 (remquo_test): Likewise.
21055 (rint_test): Likewise.
21056 (rint_test_tonearest): Likewise.
21057 (rint_test_towardzero): Likewise.
21058 (rint_test_downward): Likewise.
21059 (rint_test_upward): Likewise.
21060 (round_test): Likewise.
21061 (scalb_test): Likewise.
21062 (scalbn_test): Likewise.
21063 (scalbln_test): Likewise.
21064 (signbit_test): Likewise.
21065 (sin_test): Likewise.
21066 (sin_test_tonearest): Likewise.
21067 (sin_test_towardzero): Likewise.
21068 (sin_test_downward): Likewise.
21069 (sin_test_upward): Likewise.
21070 (sincos_test): Likewise.
21071 (sinh_test): Likewise.
21072 (sinh_test_tonearest): Likewise.
21073 (sinh_test_towardzero): Likewise.
21074 (sinh_test_downward): Likewise.
21075 (sinh_test_upward): Likewise.
21076 (sqrt_test): Likewise.
21077 (tan_test): Likewise.
21078 (tan_test_tonearest): Likewise.
21079 (tan_test_towardzero): Likewise.
21080 (tan_test_downward): Likewise.
21081 (tan_test_upward): Likewise.
21082 (tanh_test): Likewise.
21083 (tgamma_test): Likewise.
21084 (trunc_test): Likewise.
21085 (y0_test): Likewise.
21086 (y1_test): Likewise.
21087 (yn_test): Likewise.
21088 (significand_test): Likewise.
21089
bae143d2
OB
210902013-05-24 Ondřej Bílka <neleai@seznam.cz>
21091
21092 [BZ #15381]
21093 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21094
9323d39b
EM
210952013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21096
d4ea44a0 21097 [BZ #14894]
9323d39b
EM
21098 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21099 __ppc_mdoio and __ppc_mdoom.
21100 * manual/platform.texi: Document new functions __ppc_yield,
21101 __ppc_mdoio and __ppc_mdoom.
21102
13e23af7
CD
211032013-05-22 Carlos O'Donell <carlos@redhat.com>
21104
21105 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21106 (main): Mention "tls" pseudo-hwcap is legacy.
21107 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21108
351fe550
JM
211092013-05-22 Joseph Myers <joseph@codesourcery.com>
21110
21111 * math/gen-libm-test.pl (parse_args): Output only string of
21112 arguments as text for test name, not full call or descriptions of
21113 tests for extra outputs.
21114 (generate_testfile): Do not pass function name to parse_args.
21115 Generate this_func variable from START.
21116 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21117 field to arg_str.
21118 (struct test_ff_f_data): Likewise.
21119 (test_ff_f_data_nexttoward): Likewise.
21120 (struct test_fi_f_data): Likewise.
21121 (struct test_fl_f_data): Likewise.
21122 (struct test_if_f_data): Likewise.
21123 (struct test_fff_f_data): Likewise.
21124 (struct test_c_f_data): Likewise.
21125 (struct test_f_f1_data): Likewise. Remove field extra_name.
21126 (struct test_fF_f1_data): Likewise.
21127 (struct test_ffI_f1_data): Likewise.
21128 (struct test_c_c_data): Rename test_name field to arg_str.
21129 (struct test_cc_c_data): Likewise.
21130 (struct test_f_i_data): Likewise.
21131 (struct test_ff_i_data): Likewise.
21132 (struct test_f_l_data): Likewise.
21133 (struct test_f_L_data): Likewise.
21134 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21135 and extra2_name.
21136 (COMMON_TEST_SETUP): New macro.
21137 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21138 (COMMON_TEST_CLEANUP): Likewise.
21139 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21140 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21141 macros.
21142 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21143 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21144 macros.
21145 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21146 (RUN_TEST_fff_f): Take argument string. Call new setup and
21147 cleanup macros.
21148 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21149 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21150 macros.
21151 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21152 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21153 macros.
21154 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21155 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21156 cleanup macros.
21157 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21158 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21159 cleanup macros.
21160 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21161 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21162 cleanup macros.
21163 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21164 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21165 macros.
21166 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21167 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21168 macros.
21169 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21170 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21171 macros.
21172 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21173 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21174 cleanup macros.
21175 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21176 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21177 cleanup macros.
21178 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21179 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21180 macros.
21181 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21182 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21183 cleanup macros.
21184 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21185 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21186 macros.
21187 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21188 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21189 macros.
21190 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21191 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21192 cleanup macros.
21193 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21194
85118d4d
EBM
211952013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21196
21197 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21198 to _sifields.sigfault.
21199 (si_addr_lsb): Define new macro.
21200 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21201 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21202 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21203
7a44c18f
CD
212042013-05-03 Carlos O'Donell <carlos at redhat.com>
21205
21206 [BZ #15441]
21207 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21208 returns -1.
21209 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21210 null return -1.
21211 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21212 loading the domain.
21213
b50a7181
JM
212142013-05-22 Joseph Myers <joseph@codesourcery.com>
21215
21216 * math/gen-libm-test.pl (parse_args): Do not include expected
21217 result in test name.
21218 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21219 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21220 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21221 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21222 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21224
051063c8
SP
212252013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21226
3ce9e010
SP
21227 * benchtests/Makefile: Sort function entries.
21228
051063c8
SP
21229 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21230 tanh, asinh, acosh, atanh.
21231 * benchtests/acos-inputs: New file.
21232 * benchtests/acosh-inputs: New file.
21233 * benchtests/asin-inputs: New file.
21234 * benchtests/asinh-inputs: New file.
21235 * benchtests/atanh-inputs: New file.
21236 * benchtests/cosh-inputs: New file.
21237 * benchtests/log-inputs: New file.
21238 * benchtests/sinh-inputs: New file.
21239 * benchtests/tanh-inputs: New file.
21240
47c22455
DL
212412013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21242
21243 [BZ #15339]
21244 * posix/tst-getaddrinfo4.c: New test.
21245 * posix/Makefile (tests): Add it.
21246
3d04f5db
SP
212472013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21248
21249 [BZ #15339]
21250 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21251 when no services were used.
21252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21253 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21254
d5dd6189
AS
212552013-05-21 Andreas Schwab <schwab@suse.de>
21256
21257 [BZ #15014]
21258 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21259 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21260 successful.
21261 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21262 redundant variable declarations and reallocation of buffer when
21263 parsing as IPv6 address. Always set NSS status when called from
21264 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21265 buffer too small. Correct computation of needed size.
21266 * nss/Makefile (tests): Add test-digits-dots.
21267 * nss/test-digits-dots.c: New test.
21268
fef94eab
SP
212692013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21270
21271 * benchtests/Makefile: Remove instructions for adding
21272 benchmark tests.
21273 * benchtests/README: New file to explain how to execute and
21274 enhance the benchmark tests.
21275
e39adf43
AS
212762013-05-21 Andreas Schwab <schwab@suse.de>
21277
21278 [BZ #15493]
21279 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21280 * setjmp/tst-sigsetjmp.c: New test.
21281
b2b671b6
OB
212822013-05-20 Ondřej Bílka <neleai@seznam.cz>
21283
21284 * sysdeps/x86_64/memset.S (memset): New implementation.
21285 (__bzero): Likewise.
21286 (__memset_tail): New function.
21287
2d48b41c
OB
212882013-05-20 Ondřej Bílka <neleai@seznam.cz>
21289
21290 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21291 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21292 __memcpy_sse2_unaligned ifunc selection.
21293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21294 Add memcpy-sse2-unaligned.S.
21295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21296 Add: __memcpy_sse2_unaligned.
21297
f16cc3eb
JM
212982013-05-19 Joseph Myers <joseph@codesourcery.com>
21299
3e694268
JM
21300 [BZ #15490]
21301 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21302 math_force_eval before restoring floating-point envrionment.
21303 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21305 Likewise.
21306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21307 <math_private.h>.
21308 (__nearbyintl): Use math_force_eval before restoring
21309 floating-point environment.
21310 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21311
db62a907
JM
21312 * math/gen-libm-test.pl (special_functions): Remove.
21313 (parse_args): Don't handle TEST_extra. Handle functions with no
21314 return value.
21315 * math/libm-test.inc (struct test_sincos_data): Replace with
21316 struct test_fFF_11_data.
21317 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21318 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21319 (sincos_test_data): Change element type to struct
21320 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21321 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21322 RUN_TEST_LOOP_sincos.
21323 * math/README.libm-test: Don't mention special handling of
21324 individual functions.
21325 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21326 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21327 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21328 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21329 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21331
f16cc3eb
JM
21332 * math/gen-libm-test.pl (get_variable): Remove function.
21333 (parse_args): Don't show pointer parameters to call in test
21334 names. Use "extra output N" in test names for extra outputs
21335 rather than naming variables.
21336
3779b5b6
JM
213372013-05-18 Joseph Myers <joseph@codesourcery.com>
21338
2ee094ff
JM
21339 [BZ #15488]
21340 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21341 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21342 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21343 double tests.
21344 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21345 disable.
21346 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21347 check_long_double.
21348
3779b5b6
JM
21349 * math/gen-libm-test.pl (@tests): Remove variable.
21350 ($count): Likewise.
21351 (new_test): Remove function.
21352 (show_exceptions): New function.
21353 (special_functions): Use show_exceptions instead of new_test.
21354 (parse_args): Likewise.
21355 (generate_testfile): Pass only function name in generated call to
21356 print_max_error or print_complex_max_error.
21357 (get_ulps): Do not handle complex tests specially.
21358 (output_test): Rename to ...
21359 (get_all_ulps_for_test): ... this. Return a string rather than
21360 printing to a file. Require ulps to be present.
21361 (output_ulps): Generate arrays rather than #defines.
21362 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21363 (struct ulp_data): New type.
21364 (BUILD_COMPLEX_ULP): Remove macro.
21365 (compare_ulp_data): New function.
21366 (find_ulps): Likewise.
21367 (find_test_ulps): Likewise.
21368 (find_function_ulps): Likewise.
21369 (find_complex_function_ulps): Likewise.
21370 (print_max_error): Determine allowed ulps using
21371 find_function_ulps.
21372 (print_complex_max_error): Determine allowed ulps using
21373 find_complex_function_ulps.
21374 (check_float_internal): Determine max ulps using find_test_ulps.
21375 (check_float): Do not take max_ulp parameter. Update call to
21376 check_float_internal.
21377 (check_complex): Likewise.
21378 (check_int): Do not take max_ulp parameter.
21379 (check_long): Likewise.
21380 (check_bool): Likewise.
21381 (check_longlong): Likewise.
21382 (struct test_f_f_data): Remove max_ulp field.
21383 (struct test_ff_f_data): Likewise.
21384 (struct test_ff_f_data_nexttoward): Likewise.
21385 (struct test_fi_f_data): Likewise.
21386 (struct test_fl_f_data): Likewise.
21387 (struct test_if_f_data): Likewise.
21388 (struct test_fff_f_data): Likewise.
21389 (struct test_c_f_data): Likewise.
21390 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21391 (struct test_fF_f1_data): Likewise.
21392 (struct test_ffI_f1_data): Likewise.
21393 (struct test_c_c_data): Remove max_ulp field.
21394 (struct test_cc_c_data): Likewise.
21395 (struct test_f_i_data): Likewise.
21396 (struct test_ff_i_data): Likewise.
21397 (struct test_f_l_data): Likewise.
21398 (struct test_f_L_data): Likewise.
21399 (struct test_sincos_data): Likewise.
21400 (RUN_TEST_f_f): Do not handle ulps.
21401 (RUN_TEST_LOOP_f_f): Likewise.
21402 (RUN_TEST_2_f): Likewise.
21403 (RUN_TEST_LOOP_2_f): Likewise.
21404 (RUN_TEST_fff_f): Likewise.
21405 (RUN_TEST_LOOP_fff_f): Likewise.
21406 (RUN_TEST_c_f): Likewise.
21407 (RUN_TEST_LOOP_c_f): Likewise.
21408 (RUN_TEST_f_f1): Likewise.
21409 (RUN_TEST_LOOP_f_f1): Likewise.
21410 (RUN_TEST_fF_f1): Likewise.
21411 (RUN_TEST_LOOP_fF_f1): Likewise.
21412 (RUN_TEST_fI_f1): Likewise.
21413 (RUN_TEST_LOOP_fI_f1): Likewise.
21414 (RUN_TEST_ffI_f1): Likewise.
21415 (RUN_TEST_LOOP_ffI_f1): Likewise.
21416 (RUN_TEST_c_c): Likewise.
21417 (RUN_TEST_LOOP_c_c): Likewise.
21418 (RUN_TEST_cc_c): Likewise.
21419 (RUN_TEST_LOOP_cc_c): Likewise.
21420 (RUN_TEST_f_i): Likewise.
21421 (RUN_TEST_LOOP_f_i): Likewise.
21422 (RUN_TEST_f_i_tg): Likewise.
21423 (RUN_TEST_LOOP_f_i_tg): Likewise.
21424 (RUN_TEST_ff_i_tg): Likewise.
21425 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21426 (RUN_TEST_f_b): Likewise.
21427 (RUN_TEST_LOOP_f_b): Likewise.
21428 (RUN_TEST_f_b_tg): Likewise.
21429 (RUN_TEST_LOOP_f_b_tg): Likewise.
21430 (RUN_TEST_f_l): Likewise.
21431 (RUN_TEST_LOOP_f_l): Likewise.
21432 (RUN_TEST_f_L): Likewise.
21433 (RUN_TEST_LOOP_f_L): Likewise.
21434 (RUN_TEST_sincos): Likewise.
21435 (RUN_TEST_LOOP_sincos): Likewise.
21436
8269107f
JM
214372013-05-17 Joseph Myers <joseph@codesourcery.com>
21438
bb38759d
JM
21439 [BZ #15480]
21440 [BZ #15485]
21441 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21442 main case of finite arguments, set rounding mode to FE_TONEAREST
21443 and discard exceptions.
21444 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21445 exceptions.
21446 (remainder_tonearest_test_data): New variable.
21447 (remainder_test_tonearest): New function.
21448 (remainder_towardzero_test_data): New variable.
21449 (remainder_test_towardzero): New function.
21450 (remainder_downward_test_data): New variable.
21451 (remainder_test_downward): New function.
21452 (remainder_upward_test_data): New variable.
21453 (remainder_test_upward): New function.
21454 (main): Call the new test functions.
21455
a00bdcf0
JM
21456 * math/libm-test.inc (struct test_f_f1_data): Remove field
21457 extra_init.
21458 (struct test_fF_f1_data): Likewise.
21459 (struct test_ffI_f1_data): Likewise.
21460 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21461 based on value of EXTRA_EXPECTED.
21462 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21463 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21464 EXTRA_VAR based on value of EXTRA_EXPECTED.
21465 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21466 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21467 EXTRA_VAR based on value of EXTRA_EXPECTED.
21468 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21469 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21470 EXTRA_VAR based on value of EXTRA_EXPECTED.
21471 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21472 * math/gen-libm-test.pl (parse_args): Don't output initializers
21473 for extra output values.
21474
de407f79
JM
21475 * math/libm-test.inc (check_int): Expect result to be exactly
21476 equal to expected value and do not handle ulps.
21477 (check_long): Likewise.
21478 (check_longlong): Likewise.
21479
8269107f
JM
21480 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21481 exceptions.
21482 (cimag_test_data): Likewise.
21483 (conj_test_data): Likewise.
21484 (copysign_test_data): Likewise.
21485 (cproj_test_data): Likewise.
21486 (creal_test_data): Likewise.
21487 (fabs_test_data): Likewise.
21488 (fdim_test_data): Likewise.
21489 (finite_test_data): Likewise.
21490 (floor_test_data): Likewise.
21491 (fmax_test_data): Likewise.
21492 (fmin_test_data): Likewise.
21493 (fmod_test_data): Likewise.
21494 (fpclassify_test_data): Likewise.
21495 (frexp_test_data): Likewise.
21496 (ilogb_test_data): Likewise.
21497 (isfinite_test_data): Likewise.
21498 (isgreater_test_data): Likewise.
21499 (isgreaterequal_test_data): Likewise.
21500 (isinf_test_data): Likewise.
21501 (isless_test_data): Likewise.
21502 (islessequal_test_data): Likewise.
21503 (islessgreater_test_data): Likewise.
21504 (isnan_test_data): Likewise.
21505 (isnormal_test_data): Likewise.
21506 (issignaling_test_data): Likewise.
21507 (isunordered_test_data): Likewise.
21508 (ldexp_test_data): Likewise.
21509 (lrint_test_data): Likewise.
21510 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21511 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21512 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21513 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21514 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21515 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21516 test input.
21517 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21518 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21519 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21520 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21521 that test input.
21522 (lrint_downward_test_data): Test for "inexact" exceptions.
21523 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21524 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21525 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21526 test input.
21527 (lrint_upward_test_data): Test for "inexact" exceptions.
21528 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21529 test input.
21530 (llrint_test_data): Test for "inexact" exceptions.
21531 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21532 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21533 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21534 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21535 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21536 (llrint_downward_test_data): Test for "inexact" exceptions.
21537 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21538 (llrint_upward_test_data): Test for "inexact" exceptions.
21539 (logb_test_data): Likewise.
21540 (logb_downward_test_data): Likewise.
21541 (nextafter_test_data): Likewise.
21542 (nexttoward_test_data): Likewise.
21543 (remainder_test_data): Likewise.
21544 (remquo_test_data): Likewise.
21545 (scalbn_test_data): Likewise.
21546 (scalbln_test_data): Likewise.
21547 (signbit_test_data): Likewise.
21548 (sqrt_test_data): Likewise.
21549 (significand_test_data): Likewise.
21550
48a18de1
SP
215512013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21552
21553 [BZ #15424]
21554 * benchtests/bench-modf.c (struct args): Mark arg0 as
21555 volatile.
21556 * scripts/bench.pl: Mark members of struct args as volatile.
21557
13d3b41a
AZ
215582013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21559
68191c1d 21560 [BZ # 15497]
13d3b41a
AZ
21561 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21562 negative infinity on POWER6 or lower.
21563 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21564
2848b105
MR
215652013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21566
21567 [BZ #15442]
21568 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21569 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21570 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21571 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21572 (_FP_SETQNAN): New macro.
21573 (_FP_SETQNAN_SEMIRAW): Likewise.
21574 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21575 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21576 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21577 (FP_EXTEND): Use _FP_FRAC_SNANP.
21578 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21579 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21580 into account.
21581 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21582 New macro.
21583 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21584 Likewise.
21585
323e5cb7
JM
215862013-05-16 Joseph Myers <joseph@codesourcery.com>
21587
c58b274f
JM
21588 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21589 with DIVIDE_BY_ZERO_EXCEPTION.
21590 (gamma_test_data): Likewise.
21591 (lgamma_test_data): Likewise.
21592 (log_test_data): Likewise.
21593 (log10_test_data): Likewise.
21594 (log2_test_data): Likewise.
21595 (tgamma_test_data): Likewise.
21596
0ab34904
JM
21597 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21598 (acos_test_tonearest): Likewise.
21599 (acos_test_towardzero): Likewise.
21600 (acos_test_downward): Likewise.
21601 (acos_test_upward): Likewise.
21602 (acosh_test): Likewise.
21603 (asin_test): Likewise.
21604 (asin_test_tonearest): Likewise.
21605 (asin_test_towardzero): Likewise.
21606 (asin_test_downward): Likewise.
21607 (asin_test_upward): Likewise.
21608 (asinh_test): Likewise.
21609 (atan_test): Likewise.
21610 (atanh_test): Likewise.
21611 (atan2_test): Likewise.
21612 (cabs_test): Likewise.
21613 (cacos_test): Likewise.
21614 (cacosh_test): Likewise.
21615 (casin_test): Likewise.
21616 (casinh_test): Likewise.
21617 (catan_test): Likewise.
21618 (catanh_test): Likewise.
21619 (cbrt_test): Likewise.
21620 (ccos_test): Likewise.
21621 (ccosh_test): Likewise.
21622 (cexp_test): Likewise.
21623 (clog_test): Likewise.
21624 (clog10_test): Likewise.
21625 (cos_test): Likewise.
21626 (cos_test_tonearest): Likewise.
21627 (cos_test_towardzero): Likewise.
21628 (cos_test_downward): Likewise.
21629 (cos_test_upward): Likewise.
21630 (cosh_test): Likewise.
21631 (cosh_test_tonearest): Likewise.
21632 (cosh_test_towardzero): Likewise.
21633 (cosh_test_downward): Likewise.
21634 (cosh_test_upward): Likewise.
21635 (cpow_test): Likewise.
21636 (csin_test): Likewise.
21637 (csinh_test): Likewise.
21638 (csqrt_test): Likewise.
21639 (ctan_test): Likewise.
21640 (ctan_test_tonearest): Likewise.
21641 (ctan_test_towardzero): Likewise.
21642 (ctan_test_downward): Likewise.
21643 (ctan_test_upward): Likewise.
21644 (ctanh_test): Likewise.
21645 (ctanh_test_tonearest): Likewise.
21646 (ctanh_test_towardzero): Likewise.
21647 (ctanh_test_downward): Likewise.
21648 (ctanh_test_upward): Likewise.
21649 (erf_test): Likewise.
21650 (erfc_test): Likewise.
21651 (exp_test): Likewise.
21652 (exp_test_tonearest): Likewise.
21653 (exp_test_towardzero): Likewise.
21654 (exp_test_downward): Likewise.
21655 (exp_test_upward): Likewise.
21656 (exp10_test): Likewise.
21657 (exp2_test): Likewise.
21658 (expm1_test): Likewise.
21659 (fmod_test): Likewise.
21660 (gamma_test): Likewise.
21661 (hypot_test): Likewise.
21662 (j0_test): Likewise.
21663 (j1_test): Likewise.
21664 (jn_test): Likewise.
21665 (lgamma_test): Likewise.
21666 (log_test): Likewise.
21667 (log10_test): Likewise.
21668 (log1p_test): Likewise.
21669 (log2_test): Likewise.
21670 (logb_test_downward): Likewise.
21671 (pow_test): Likewise.
21672 (pow_test_tonearest): Likewise.
21673 (pow_test_towardzero): Likewise.
21674 (pow_test_downward): Likewise.
21675 (pow_test_upward): Likewise.
21676 (remainder_test): Likewise.
21677 (remquo_test): Likewise.
21678 (sin_test): Likewise.
21679 (sin_test_tonearest): Likewise.
21680 (sin_test_towardzero): Likewise.
21681 (sin_test_downward): Likewise.
21682 (sin_test_upward): Likewise.
21683 (sincos_test): Likewise.
21684 (sinh_test): Likewise.
21685 (sinh_test_tonearest): Likewise.
21686 (sinh_test_towardzero): Likewise.
21687 (sinh_test_downward): Likewise.
21688 (sinh_test_upward): Likewise.
21689 (sqrt_test): Likewise.
21690 (tan_test): Likewise.
21691 (tan_test_tonearest): Likewise.
21692 (tan_test_towardzero): Likewise.
21693 (tan_test_downward): Likewise.
21694 (tan_test_upward): Likewise.
21695 (tanh_test): Likewise.
21696 (tgamma_test): Likewise.
21697 (y0_test): Likewise.
21698 (y1_test): Likewise.
21699 (yn_test): Likewise.
21700
323e5cb7
JM
21701 * math/gen-libm-test.pl (adjust_arg): Remove function.
21702 (special_function): Remove argument $in_func. Only handle
21703 generating output for tables of tests, not inside functions.
21704 (parse_args): Likewise.
21705 (generate_testfile): Remove variable $in_func. Update call to
21706 parse_args.
21707 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21708 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21709 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21710 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21711 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21712 (MAX_VALUE_INIT): Rename macro to max_value.
21713 (MIN_VALUE_INIT): Rename macro to min_value.
21714 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21715 (plus_zero): Remove variable.
21716 (minus_zero): Likewise.
21717 (plus_infty): Likewise.
21718 (minus_infty): Likewise.
21719 (qnan_value): Likewise.
21720 (max_value): Likewise.
21721 (min_value): Likewise.
21722 (min_subnorm_value): Likewise.
21723
e054f494
RA
217242013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21725
21726 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21727 uint64_t or uint32_t usage.
21728 * crypt/sha256-block.c: Likewise.
21729 * crypt/sha256-crypt.c: Likewise.
21730 * crypt/sha256.c: Likewise.
21731 * crypt/sha512-block.c: Likewise.
21732 * crypt/sha512-crypt.c: Likewise.
21733 * crypt/sha512.c: Likewise.
21734 * debug/backtrace-tst.c: Likewise.
21735 * debug/pcprofiledump.c: Likewise.
21736 * elf/cache.c: Likewise.
21737 * elf/dl-cache.c: Likewise.
21738 * elf/dl-misc.c: Likewise.
21739 * elf/dl-profile.c: Likewise.
21740 * elf/dl-support.c: Likewise.
21741 * elf/ldconfig.c: Likewise.
21742 * elf/sprof.c: Likewise.
21743 * iconv/dummy-repertoire.c: Likewise.
21744 * iconv/iconv_charmap.c: Likewise.
21745 * iconv/skeleton.c: Likewise.
21746 * iconvdata/8bit-generic.c: Likewise.
21747 * iconvdata/cp737.h: Likewise.
21748 * iconvdata/cp775.h: Likewise.
21749 * iconvdata/ibm1008.h: Likewise.
21750 * iconvdata/ibm1025.h: Likewise.
21751 * iconvdata/ibm1046.h: Likewise.
21752 * iconvdata/ibm1097.h: Likewise.
21753 * iconvdata/ibm1112.h: Likewise.
21754 * iconvdata/ibm1122.h: Likewise.
21755 * iconvdata/ibm1123.h: Likewise.
21756 * iconvdata/ibm1124.h: Likewise.
21757 * iconvdata/ibm1129.h: Likewise.
21758 * iconvdata/ibm1130.h: Likewise.
21759 * iconvdata/ibm1132.h: Likewise.
21760 * iconvdata/ibm1133.h: Likewise.
21761 * iconvdata/ibm1137.h: Likewise.
21762 * iconvdata/ibm1140.h: Likewise.
21763 * iconvdata/ibm1141.h: Likewise.
21764 * iconvdata/ibm1142.h: Likewise.
21765 * iconvdata/ibm1143.h: Likewise.
21766 * iconvdata/ibm1144.h: Likewise.
21767 * iconvdata/ibm1145.h: Likewise.
21768 * iconvdata/ibm1146.h: Likewise.
21769 * iconvdata/ibm1147.h: Likewise.
21770 * iconvdata/ibm1148.h: Likewise.
21771 * iconvdata/ibm1149.h: Likewise.
21772 * iconvdata/ibm1153.h: Likewise.
21773 * iconvdata/ibm1154.h: Likewise.
21774 * iconvdata/ibm1155.h: Likewise.
21775 * iconvdata/ibm1156.h: Likewise.
21776 * iconvdata/ibm1157.h: Likewise.
21777 * iconvdata/ibm1158.h: Likewise.
21778 * iconvdata/ibm1160.h: Likewise.
21779 * iconvdata/ibm1161.h: Likewise.
21780 * iconvdata/ibm1162.h: Likewise.
21781 * iconvdata/ibm1163.h: Likewise.
21782 * iconvdata/ibm1164.h: Likewise.
21783 * iconvdata/ibm1166.h: Likewise.
21784 * iconvdata/ibm1167.h: Likewise.
21785 * iconvdata/ibm12712.h: Likewise.
21786 * iconvdata/ibm1390.h: Likewise.
21787 * iconvdata/ibm1399.h: Likewise.
21788 * iconvdata/ibm16804.h: Likewise.
21789 * iconvdata/ibm4517.h: Likewise.
21790 * iconvdata/ibm4899.h: Likewise.
21791 * iconvdata/ibm4909.h: Likewise.
21792 * iconvdata/ibm4971.h: Likewise.
21793 * iconvdata/ibm5347.h: Likewise.
21794 * iconvdata/ibm803.h: Likewise.
21795 * iconvdata/ibm856.h: Likewise.
21796 * iconvdata/ibm901.h: Likewise.
21797 * iconvdata/ibm902.h: Likewise.
21798 * iconvdata/ibm9030.h: Likewise.
21799 * iconvdata/ibm9066.h: Likewise.
21800 * iconvdata/ibm921.h: Likewise.
21801 * iconvdata/ibm922.h: Likewise.
21802 * iconvdata/ibm9448.h: Likewise.
21803 * iconvdata/isiri-3342.h: Likewise.
21804 * iconvdata/jis0201.h: Likewise.
21805 * include/link.h: Likewise.
21806 * include/netdb.h: Likewise.
21807 * inet/check_native.c: Likewise.
21808 * inet/check_pf.c: Likewise.
21809 * inet/getipv4sourcefilter.c: Likewise.
21810 * inet/getnameinfo.c: Likewise.
21811 * inet/getsourcefilter.c: Likewise.
21812 * inet/htonl.c: Likewise.
21813 * inet/setipv4sourcefilter.c: Likewise.
21814 * inet/setsourcefilter.c: Likewise.
21815 * inet/test-inet6_opt.c: Likewise.
21816 * inet/tst-network.c: Likewise.
21817 * locale/C-collate.c: Likewise.
21818 * locale/C-ctype.c: Likewise.
21819 * locale/C-time.c: Likewise.
21820 * locale/C-translit.h: Likewise.
21821 * locale/loadarchive.c: Likewise.
21822 * locale/programs/3level.h: Likewise.
21823 * locale/programs/charmap.c: Likewise.
21824 * locale/programs/charmap.h: Likewise.
21825 * locale/programs/ld-address.c: Likewise.
21826 * locale/programs/ld-collate.c: Likewise.
21827 * locale/programs/ld-ctype.c: Likewise.
21828 * locale/programs/ld-identification.c: Likewise.
21829 * locale/programs/ld-measurement.c: Likewise.
21830 * locale/programs/ld-messages.c: Likewise.
21831 * locale/programs/ld-monetary.c: Likewise.
21832 * locale/programs/ld-name.c: Likewise.
21833 * locale/programs/ld-numeric.c: Likewise.
21834 * locale/programs/ld-paper.c: Likewise.
21835 * locale/programs/ld-telephone.c: Likewise.
21836 * locale/programs/ld-time.c: Likewise.
21837 * locale/programs/linereader.c: Likewise.
21838 * locale/programs/locale.c: Likewise.
21839 * locale/programs/locarchive.c: Likewise.
21840 * locale/programs/locfile.h: Likewise.
21841 * locale/programs/repertoire.c: Likewise.
21842 * locale/programs/simple-hash.c: Likewise.
21843 * locale/programs/simple-hash.h: Likewise.
21844 * malloc/memusage.c: Likewise.
21845 * malloc/memusagestat.c: Likewise.
21846 * nis/nis_defaults.c: Likewise.
21847 * nis/nis_hash.c: Likewise.
21848 * nis/nis_print.c: Likewise.
21849 * nis/nis_xdr.c: Likewise.
21850 * nscd/connections.c: Likewise.
21851 * nscd/hstcache.c: Likewise.
21852 * nscd/nscd_gethst_r.c: Likewise.
21853 * nscd/nscd_getserv_r.c: Likewise.
21854 * nscd/nscd_helper.c: Likewise.
21855 * nscd/servicescache.c: Likewise.
21856 * nss/makedb.c: Likewise.
21857 * nss/nss_db/db-XXX.c: Likewise.
21858 * nss/nss_db/db-initgroups.c: Likewise.
21859 * nss/nss_db/db-netgrp.c: Likewise.
21860 * nss/nss_files/files-network.c: Likewise.
21861 * nss/nss_files/files-parse.c: Likewise.
21862 * posix/bug-regex5.c: Likewise.
21863 * posix/fnmatch_loop.c: Likewise.
21864 * posix/regcomp.c: Likewise.
21865 * posix/regexec.c: Likewise.
21866 * posix/tst-rfc3484-2.c: Likewise.
21867 * posix/tst-rfc3484-3.c: Likewise.
21868 * posix/tst-rfc3484.c: Likewise.
21869 * resolv/nss_dns/dns-canon.c: Likewise.
21870 * resolv/nss_dns/dns-network.c: Likewise.
21871 * resolv/res_init.c: Likewise.
21872 * resolv/res_mkquery.c: Likewise.
21873 * resolv/tst-aton.c: Likewise.
21874 * stdlib/cxa_atexit.c: Likewise.
21875 * stdlib/cxa_finalize.c: Likewise.
21876 * stdlib/gen-fpioconst.c: Likewise.
21877 * stdlib/strtol_l.c: Likewise.
21878 * string/tst-endian.c: Likewise.
21879 * sunrpc/auth_des.c: Likewise.
21880 * sunrpc/clnt_udp.c: Likewise.
21881 * sunrpc/rtime.c: Likewise.
21882 * sunrpc/svcauth_des.c: Likewise.
21883 * sunrpc/xdr.c: Likewise.
21884 * sunrpc/xdr_intXX_t.c: Likewise.
21885 * sunrpc/xdr_rec.c: Likewise.
21886 * sysdeps/generic/ldconfig.h: Likewise.
21887 * sysdeps/generic/ldsodefs.h: Likewise.
21888 * sysdeps/generic/memusage.h: Likewise.
21889 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21890 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21891 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21892 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21893 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21895 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21896 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21897 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21898 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21899 * sysdeps/posix/getaddrinfo.c: Likewise.
21900 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21901 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21902 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21903 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21904 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21905 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21906 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21907 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21908 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21909 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21910 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21911 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21912 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21913 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21914 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21915 * sysdeps/x86_64/dl-tls.h: Likewise.
21916 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21917 * time/alt_digit.c: Likewise.
21918 * time/era.c: Likewise.
21919 * wcsmbs/tst-c16c32-1.c: Likewise.
21920
8c75f674
JM
219212013-05-16 Joseph Myers <joseph@codesourcery.com>
21922
21923 * math/libm-test.inc (struct test_sincos_data): New type.
21924 (RUN_TEST_LOOP_sincos): New macro.
21925 (sincos_test_data): New variable.
21926 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21927
e6e49e59
RH
219282013-05-16 Richard Henderson <rth@redhat.com>
21929
21930 * math/atest-exp2.c (LIMB64): New macro.
21931 (CONSTSZ): New macro.
21932 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21933 (hexdig): Move ...
21934 (print_mpn_fp): ... to function scope.
21935 (read_mpn_hex): Remove.
21936 (get_log2): Remove.
21937 (exp2_mpn): Use mp_log2.
21938 (main): Use mp_exp1.
21939
15c7c18d
JM
219402013-05-16 Joseph Myers <joseph@codesourcery.com>
21941
105a07df
JM
21942 * math/libm-test.inc: Remove comment about not testing "inexact"
21943 exceptions.
21944 (INEXACT_EXCEPTION): New macro.
21945 (NO_INEXACT_EXCEPTION): Likewise.
21946 (INVALID_EXCEPTION_OK): Update value.
21947 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21948 (OVERFLOW_EXCEPTION_OK): Likewise.
21949 (UNDERFLOW_EXCEPTION_OK): Likewise.
21950 (IGNORE_ZERO_INF_SIGN): Likewise.
21951 (ERRNO_UNCHANGED): Likewise.
21952 (ERRNO_EDOM): Likewise.
21953 (ERRNO_ERANGE): Likewise.
21954 (test_exceptions): Handle testing "inexact" exceptions.
21955 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21956 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21957 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21958 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21959 INEXACT_EXCEPTION.
21960 (rint_towardzero_test_data): Likewise.
21961 (rint_downward_test_data): Likewise.
21962 (rint_upward_test_data): Likewise.
21963
e9eee333
JM
21964 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21965 with OVERFLOW_EXCEPTION.
21966 (exp10_test_data): Likewise.
21967 (exp2_test_data): Likewise.
21968 (expm1_test_data): Likewise.
21969 (lgamma_test_data): Likewise.
21970 (pow_test_data): Likewise.
21971 (tgamma_test_data): Likewise.
21972 (yn_test_data): Remove duplicate test of overflow.
21973
1c38ff73
JM
21974 * math/libm-test.inc (struct test_cc_c_data): New type.
21975 (RUN_TEST_LOOP_cc_c): New macro.
21976 (cpow_test_data): New variable.
21977 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21978
15c7c18d
JM
21979 * math/libm-test.inc (struct test_f_L_data): New type.
21980 (RUN_TEST_LOOP_f_L): New macro.
21981 (llrint_test_data): New variable.
21982 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21983 (llrint_tonearest_test_data): New variable.
21984 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21985 (llrint_towardzero_test_data): New variable.
21986 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21987 (llrint_downward_test_data): New variable.
21988 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21989 (llrint_upward_test_data): New variable.
21990 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21991 (llround_test_data): New variable.
21992 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21993
f137ff13
PC
219942013-05-13 Peter Collingbourne <pcc@google.com>
21995
21996 * math/atest-exp2.c (get_log2): Remove const attribute.
21997
3608cb24
JM
219982013-05-15 Joseph Myers <joseph@codesourcery.com>
21999
22000 * math/libm-test.inc (struct test_f_l_data): New type.
22001 (RUN_TEST_LOOP_f_l): New macro.
22002 (lrint_test_data): New variable.
22003 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22004 (lrint_tonearest_test_data): New variable.
22005 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22006 (lrint_towardzero_test_data): New variable.
22007 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22008 (lrint_downward_test_data): New variable.
22009 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22010 (lrint_upward_test_data): New variable.
22011 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22012 (lround_test_data): New variable.
22013 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22014
39b1f617
PC
220152013-05-15 Peter Collingbourne <pcc@google.com>
22016
1deff3dc
PC
22017 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22018 (EXTRACT_WORDS64) Use where appropriate.
22019 (INSERT_WORDS64) Likewise.
22020
791f3ba0
PC
22021 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22022 constraints with x constraints.
22023 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22024
39b1f617
PC
22025 * malloc/obstack.c (_obstack_compat): Add initializer.
22026
12fba011
EM
220272013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22028
22029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22030 si_trapno and add si_addr_lsb to _sifields.sigfault.
22031 (si_trapno): Remove macro.
22032 (si_addr_lsb): Define new macro.
22033 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22034
d369f531
JM
220352013-05-15 Joseph Myers <joseph@codesourcery.com>
22036
b861c6c4
JM
22037 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22038 instead of TEST_f_l.
22039 (llrint_test_tonearest): Likewise.
22040 (llrint_test_towardzero): Likewise.
22041 (llrint_test_downward): Likewise.
22042 (llrint_test_upward): Likewise.
22043 (llround_test): Likewise.
22044
7abeee12
JM
22045 * math/libm-test.inc (struct test_f_i_data): Add comment.
22046 (RUN_TEST_LOOP_f_b): New macro.
22047 (RUN_TEST_LOOP_f_b_tg): Likewise.
22048 (finite_test_data): New variable.
22049 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22050 (isfinite_test_data): New variable.
22051 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22052 (isinf_test_data): New variable.
22053 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22054 (isnan_test_data): New variable.
22055 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22056 (isnormal_test_data): New variable.
22057 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22058 (issignaling_test_data): New variable.
22059 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22060 (signbit_test_data): New variable.
22061 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22062
cbe8c4d3
JM
22063 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22064 with INVALID_EXCEPTION.
22065 (acosh_test_data): Likewise.
22066 (asin_test_data): Likewise.
22067 (atanh_test_data): Likewise.
22068 (fmod_test_data): Likewise.
22069 (log_test_data): Likewise.
22070 (log10_test_data): Likewise.
22071 (log2_test_data): Likewise.
22072 (pow_test_data): Likewise.
22073 (sqrt_test_data): Likewise.
22074 (y0_test_data): Likewise.
22075 (y1_test_data): Likewise.
22076 (yn_test_data): Likewise.
22077
5575c0e5
JM
22078 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22079 function contents.
22080
d369f531
JM
22081 * math/libm-test.inc (struct test_ff_i_data): New type.
22082 (RUN_TEST_LOOP_ff_i_tg): New macro.
22083 (isgreater_test_data): New variable.
22084 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22085 (isgreaterequal_test_data): New variable.
22086 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22087 (isless_test_data): New variable.
22088 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22089 (islessequal_test_data): New variable.
22090 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22091 (islessgreater_test_data): New variable.
22092 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22093 (isunordered_test_data): New variable.
22094 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22095
781fd748
DM
220962013-05-14 David S. Miller <davem@davemloft.net>
22097
22098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22099
87aa21df
JM
221002013-05-14 Joseph Myers <joseph@codesourcery.com>
22101
5e908270
JM
22102 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22103
f71172e5
JM
22104 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22105 extra_test to int.
22106 (struct test_f_i_data): Change type of max_ulp to int.
22107
8cfa635a
JM
22108 * math/libm-test.inc (test_ffI_f1_data): New type.
22109 (RUN_TEST_LOOP_ffI_f1): New macro.
22110 (remquo_test_data): New variable.
22111 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22112
2bcb36b2
JM
22113 * setjmp/tst-setjmp-fp.c: New file.
22114 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22115 (link-libm): New variable.
22116 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22117
acbd839a
JM
22118 * math/libm-test.inc (struct test_f_i_data): New type.
22119 (RUN_TEST_LOOP_f_i): New macro.
22120 (RUN_TEST_LOOP_f_i_tg): Likewise.
22121 (fpclassify_test_data): New variable.
22122 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22123 (ilogb_test_data): New variable.
22124 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22125
e414d745
JM
22126 * math/libm-test.inc (scalbln_test): Correct function name in END
22127 call.
22128
d9c2a0fd
JM
22129 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22130 (RUN_TEST_LOOP_fI_f1): New macro.
22131 (frexp_test_data): New variable.
22132 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22133
9dc9095d
JM
22134 * math/libm-test.inc (struct test_fF_f1_data): New type.
22135 (RUN_TEST_LOOP_fF_f1): New macro.
22136 (modf_test_data): New variable.
22137 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22138
87aa21df
JM
22139 * math/libm-test.inc (struct test_f_f1_data): New type.
22140 (RUN_TEST_LOOP_f_f1): New macro.
22141 (gamma_test_data): New variable.
22142 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22143 (lgamma_test_data): New variable.
22144 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22145
141af660
CD
221462013-05-13 Carlos O'Donell <carlos@redhat.com>
22147
22148 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22149 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22150 (main): Comment "tls" pseudo-hwcap.
22151
6d33265c
JM
221522013-05-13 Joseph Myers <joseph@codesourcery.com>
22153
68fc074c
JM
22154 * math/libm-test.inc (struct test_fl_f_data): New type.
22155 (RUN_TEST_LOOP_fl_f): New variable.
22156 (scalbln_test_data): New variable.
22157 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22158
243216e1
JM
22159 * math/libm-test.inc (struct test_fi_f_data): New type.
22160 (RUN_TEST_LOOP_fi_f): New macro.
22161 (ldexp_test_data): New variable.
22162 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22163 (scalbn_test_data): New variable.
22164 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22165
6a1992e2
JM
22166 * math/libm-test.inc (struct test_c_f_data): New type.
22167 (RUN_TEST_LOOP_c_f): New macro.
22168 (cabs_test_data): New variable.
22169 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22170 (carg_test_data): New variable.
22171 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22172 (cimag_test_data): New variable.
22173 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22174 (creal_test_data): New variable.
22175 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22176
0e400df5
JM
22177 * math/libm-test.inc (struct test_if_f_data): New type.
22178 (RUN_TEST_LOOP_if_f): New macro.
22179 (jn_test_data): New variable.
22180 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22181 (yn_test_data): New variable.
22182 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22183
6d33265c
JM
22184 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22185
f98ece5f
AZ
221862013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22187
22188 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22189 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22190
0f7d347b
SP
221912013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22192
43fe811b
SP
22193 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22194 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22195 (bench-deps): Add bench-timing.h.
22196 * benchtests-bench-skeleton.c: Include bench-timing.h.
22197 (main): Use TIMING_* macros instead of clock_gettime.
22198 * benchtests/bench-timing.h: New file.
22199
0f7d347b
SP
22200 [BZ #14582]
22201 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22202 Renamed from _LIB_VERSION.
22203 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22204
601a3a5f
JM
222052013-05-12 Joseph Myers <joseph@codesourcery.com>
22206
4f184d30
JM
22207 * math/libm-test.inc (struct test_fff_f_data): New type.
22208 (RUN_TEST_LOOP_fff_f): New macro.
22209 (fma_test_data): New variable.
22210 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22211 (fma_towardzero_test_data): New variable.
22212 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22213 (fma_downward_test_data): New variable.
22214 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22215 (fma_upward_test_data): New variable.
22216 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22217
08198877
JM
22218 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22219 (struct test_c_c_data): New type.
22220 (RUN_TEST_LOOP_c_c): New macro.
22221 (cacos_test_data): New variable.
22222 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22223 (cacosh_test_data): New variable.
22224 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22225 (casin_test_data): New variable.
22226 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22227 (casinh_test_data): New variable.
22228 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22229 (catan_test_data): New variable.
22230 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22231 (catanh_test_data): New variable.
22232 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22233 (ccos_test_data): New variable.
22234 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22235 (ccosh_test_data): New variable.
22236 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22237 (cexp_test_data): New variable.
22238 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22239 (clog_test_data): New variable.
22240 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22241 (clog10_test_data): New variable.
22242 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22243 (conj_test_data): New variable.
22244 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22245 (cproj_test_data): New variable.
22246 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22247 (csin_test_data): New variable.
22248 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22249 (csinh_test_data): New variable.
22250 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22251 (csqrt_test_data): New variable.
22252 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22253 (ctan_test_data): New variable.
22254 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22255 (ctan_tonearest_test_data): New variable.
22256 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22257 (ctan_towardzero_test_data): New variable.
22258 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22259 (ctan_downward_test_data): New variable.
22260 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22261 (ctan_upward_test_data): New variable.
22262 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22263 (ctanh_test_data): New variable.
22264 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22265 (ctanh_tonearest_test_data): New variable.
22266 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22267 (ctanh_towardzero_test_data): New variable.
22268 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22269 (ctanh_downward_test_data): New variable.
22270 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22271 (ctanh_upward_test_data): New variable.
22272 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22273 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22274 of BUILD_COMPLEX.
22275
601a3a5f
JM
22276 * math/libm-test.inc (struct test_ff_f_data): New type.
22277 (struct test_ff_f_data_nexttoward): Likewise.
22278 (RUN_TEST_LOOP_2_f): New macro.
22279 (RUN_TEST_LOOP_ff_f): Likewise.
22280 (atan2_test_data): New variable.
22281 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22282 (copysign_test_data): New variable.
22283 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22284 (fdim_test_data): New variable.
22285 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22286 (fmax_test_data): New variable.
22287 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22288 (fmin_test_data): New variable.
22289 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22290 (fmod_test_data): New variable.
22291 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22292 (hypot_test_data): New variable.
22293 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22294 (nextafter_test_data): New variable.
22295 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22296 (nexttoward_test_data): New variable.
22297 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22298 (pow_test_data): New variable.
22299 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22300 (pow_tonearest_test_data): New variable.
22301 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22302 (pow_towardzero_test_data): New variable.
22303 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22304 (pow_downward_test_data): New variable.
22305 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22306 (pow_upward_test_data): New variable.
22307 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22308 (remainder_test_data): New variable.
22309 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22310 (scalb_test_data): New variable.
22311 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22312 * sysdeps/i386/fpu/libm-test-ulps: Update.
22313
74c57478
JM
223142013-05-11 Joseph Myers <joseph@codesourcery.com>
22315
8329e4da
JM
22316 * math/libm-test.inc (fma_test): Use max_value instead of local
22317 variable fltmax.
22318 (nextafter_test): Likewise.
22319
74c57478
JM
22320 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22321 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22322 (acos_downward_test_data): New variable.
22323 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22324 (acos_upward_test_data): New variable.
22325 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22326 (acosh_test_data): New variable.
22327 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22328 (asin_test_data): New variable.
22329 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22330 (asin_tonearest_test_data): New variable.
22331 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22332 (asin_towardzero_test_data): New variable.
22333 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22334 (asin_downward_test_data): New variable.
22335 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22336 (asin_upward_test_data): New variable.
22337 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22338 (asinh_test_data): New variable.
22339 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22340 (atan_test_data): New variable.
22341 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22342 (atanh_test_data): New variable.
22343 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22344 (cbrt_test_data): New variable.
22345 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22346 (ceil_test_data): New variable.
22347 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22348 (cos_test_data): New variable.
22349 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22350 (cos_tonearest_test_data): New variable.
22351 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22352 (cos_towardzero_test_data): New variable.
22353 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22354 (cos_downward_test_data): New variable.
22355 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22356 (cos_upward_test_data): New variable.
22357 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22358 (cosh_test_data): New variable.
22359 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22360 (cosh_tonearest_test_data): New variable.
22361 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22362 (cosh_towardzero_test_data): New variable.
22363 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22364 (cosh_downward_test_data): New variable.
22365 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22366 (cosh_upward_test_data): New variable.
22367 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22368 (erf_test_data): New variable.
22369 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22370 (erfc_test_data): New variable.
22371 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22372 (exp_test_data): New variable.
22373 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22374 (exp_tonearest_test_data): New variable.
22375 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22376 (exp_towardzero_test_data): New variable.
22377 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22378 (exp_downward_test_data): New variable.
22379 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22380 (exp_upward_test_data): New variable.
22381 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22382 (exp10_test_data): New variable.
22383 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22384 (exp2_test_data): New variable.
22385 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22386 (expm1_test_data): New variable.
22387 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22388 (fabs_test_data): New variable.
22389 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22390 (floor_test_data): New variable.
22391 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22392 (j0_test_data): New variable.
22393 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22394 (j1_test_data): New variable.
22395 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22396 (log_test_data): New variable.
22397 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22398 (log10_test_data): New variable.
22399 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22400 (log1p_test_data): New variable.
22401 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22402 (log2_test_data): New variable.
22403 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22404 (logb_test_data): New variable.
22405 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22406 (logb_downward_test_data): New variable.
22407 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22408 (nearbyint_test_data): New variable.
22409 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22410 (rint_test_data): New variable.
22411 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22412 (rint_tonearest_test_data): New variable.
22413 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22414 (rint_towardzero_test_data): New variable.
22415 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22416 (rint_downward_test_data): New variable.
22417 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22418 (rint_upward_test_data): New variable.
22419 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22420 (round_test_data): New variable.
22421 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22422 (sin_test_data): New variable.
22423 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22424 (sin_tonearest_test_data): New variable.
22425 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22426 (sin_towardzero_test_data): New variable.
22427 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22428 (sin_downward_test_data): New variable.
22429 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22430 (sin_upward_test_data): New variable.
22431 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22432 (sinh_test_data): New variable.
22433 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22434 (sinh_tonearest_test_data): New variable.
22435 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22436 (sinh_towardzero_test_data): New variable.
22437 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22438 (sinh_downward_test_data): New variable.
22439 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22440 (sinh_upward_test_data): New variable.
22441 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22442 (sqrt_test_data): New variable.
22443 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22444 (tan_test_data): New variable.
22445 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22446 (tan_tonearest_test_data): New variable.
22447 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22448 (tan_towardzero_test_data): New variable.
22449 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22450 (tan_downward_test_data): New variable.
22451 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22452 (tan_upward_test_data): New variable.
22453 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22454 (tanh_test_data): New variable.
22455 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22456 (tgamma_test_data): New variable.
22457 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22458 (trunc_test_data): New variable.
22459 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22460 (y0_test_data): New variable.
22461 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22462 (y1_test_data): New variable.
22463 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22464 (significand_test_data): New variable.
22465 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22466
7187d844
CG
224672013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22468
22469 [BZ #12387]
22470 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22471
f63fae73
PT
224722013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22473
22474 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22475
8a67a4b3
AJ
224762013-05-10 Andreas Jaeger <aj@suse.de>
22477
22478 [BZ #15448]
22479 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22480 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22481
51df539d
JM
224822013-05-10 Joseph Myers <joseph@codesourcery.com>
22483
22484 * math/gen-libm-test.pl (adjust_arg): New function.
22485 (special_functions): Handle generating output in both functions
22486 and arrays.
22487 (parse_args): Likewise.
22488 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22489 $in_func argument to parse_args.
22490 * math/libm-test.inc (struct test_f_f_data): New type.
22491 (IF_ROUND_INIT_): New macro.
22492 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22493 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22494 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22495 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22496 (ROUND_RESTORE_): Likewise.
22497 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22498 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22499 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22500 (ROUND_RESTORE_FE_UPWARD): Likewise.
22501 (RUN_TEST_LOOP_f_f): New macro.
22502 (acos_test_data): New variable.
22503 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22504 (acos_tonearest_test_data): New variable.
22505 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22506
5c637fe5
SP
225072013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22508
22509 * benchtests/bench-skeleton.c (startup): Fix coding style.
22510
ab2b9461
JM
225112013-05-10 Joseph Myers <joseph@codesourcery.com>
22512
22513 [BZ #6809]
22514 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22515 negative infinity argument.
22516 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22517 negative infinity argument.
22518 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22519 negative infinity argument.
22520 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22521 domain errors.
22522
4c0fe6fe
FW
225232013-05-10 Florian Weimer <fweimer@redhat.com>
22524
22525 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22526 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22527 * iconv/iconv_prog.c (main): Likewise.
22528 * locale/programs/charmap-dir.c (charmap_readdir)
22529 (fopen_uncompressed): Likewise.
22530 * locale/programs/locfile.c (siblings_uncached)
22531 (write_locale_data): Use lstat64 instead of lstat.
22532 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22533 stat.
22534
a3375d29
AJ
225352013-05-10 Andreas Jaeger <aj@suse.de>
22536
22537 [BZ #15395]
22538 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22539 localization.
22540 Include <locale.h>.
22541
36129722
CD
225422013-05-09 Carlos O'Donell <carlos@redhat.com>
22543
22544 * elf/dl-close.c (_dl_close_worker): Add comments.
22545
faa7f811
JM
225462013-05-09 Joseph Myers <joseph@codesourcery.com>
22547
ed41ffef
JM
22548 [BZ #15359]
22549 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22550 high part of pi/2.
22551 (__ieee754_rem_pio2l): Update comments.
22552
d0213cd0
JM
22553 [BZ #15429]
22554 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22555 high part of pi/2.
22556 (__ieee754_rem_pio2l): Update comments.
22557
0d3e777a
JM
22558 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22559 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22560
24f56066
JM
22561 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22562 M_PI_4l.
22563
faa7f811
JM
22564 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22565 (M_PI_34_LOG10El): Likewise.
22566 (M_PI2_LOG10El): Likewise.
22567 (M_PI4_LOG10El): Likewise.
22568 (M_PI_LOG10El): Likewise.
22569
e9a5e0fd
AZ
225702013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22571
22572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22573
d8cd06db
JM
225742013-05-08 Joseph Myers <joseph@codesourcery.com>
22575
a0d9f9d7
JM
22576 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22577 (MINUS_ZERO_INIT): Likewise.
22578 (PLUS_INFTY_INIT): Likewise.
22579 (MINUS_INFTY_INIT): Likewise.
22580 (QNAN_VALUE_INIT): Likewise.
22581 (MAX_VALUE_INIT): Likewise.
22582 (MIN_VALUE_INIT): Likewise.
22583 (MIN_SUBNORM_VALUE_INIT): Likewise.
22584 (plus_zero): Initialize with PLUS_ZERO_INIT.
22585 (minus_zero): Initialize with MINUS_ZERO_INIT.
22586 (plus_infty): Initialize with PLUS_INFTY_INIT.
22587 (minus_infty): Initialize with MINUS_INFTY_INIT.
22588 (qnan_value): Initialize with QNAN_VALUE_INIT.
22589 (max_value): Initialize with MAX_VALUE_INIT.
22590 (min_value): Initialize with MIN_VALUE_INIT.
22591 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22592
ae08db3b
JM
22593 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22594 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22595 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22596 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22597
f44bf14a
JM
22598 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22599 (RUN_TEST_2_f): Likewise.
22600 (RUN_TEST_ff_f): Likewise.
22601 (RUN_TEST_fi_f): Likewise.
22602 (RUN_TEST_fl_f): Likewise.
22603 (RUN_TEST_fff_f): Likewise.
22604 (RUN_TEST_c_f): Likewise.
22605 (RUN_TEST_f_f1): Likewise.
22606 (RUN_TEST_fF_f1): Likewise.
22607 (RUN_TEST_fI_f1): Likewise.
22608 (RUN_TEST_ffI_f1): Likewise.
22609 (RUN_TEST_c_c): Likewise.
22610 (RUN_TEST_cc_c): Likewise.
22611 (RUN_TEST_f_i): Likewise.
22612 (RUN_TEST_f_i_tg): Likewise.
22613 (RUN_TEST_ff_i_tg): Likewise.
22614 (RUN_TEST_f_b): Likewise.
22615 (RUN_TEST_f_b_tg): Likewise.
22616 (RUN_TEST_f_l): Likewise.
22617 (RUN_TEST_f_L): Likewise.
22618 (RUN_TEST_sincos): Likewise.
22619 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22620 whether to show exceptions. Do not include ");\n" in return
22621 value.
22622 (special_functions): Output call to RUN_TEST_sincos instead of
22623 check_float calls. Update calls to new_test.
22624 (parse_args): Output call to single RUN_TEST_* macro instead of
22625 check_* calls and other assignments. Update calls to new_test.
22626
d8cd06db
JM
22627 [BZ #2546]
22628 [BZ #2560]
22629 [BZ #5159]
22630 [BZ #15426]
22631 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22632 input to result for tgamma overflow.
22633 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22634 (gamma_coeff): New variable.
22635 (NCOEFF): New macro.
22636 (gamma_positive): New function.
22637 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22638 underflow here. Use gamma_positive instead of exp (lgamma) for
22639 other arguments.
22640 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22641 (gamma_coeff): New variable.
22642 (NCOEFF): New macro.
22643 (gammaf_positive): New function.
22644 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22645 underflow here. Use gamma_positive instead of exp (lgamma) for
22646 other arguments.
22647 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22648 (gamma_coeff): New variable.
22649 (NCOEFF): New macro.
22650 (gammal_positive): New function.
22651 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22652 underflow here. Use gamma_positive instead of exp (lgamma) for
22653 other arguments.
22654 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22655 (gamma_coeff): New variable.
22656 (NCOEFF): New macro.
22657 (gammal_positive): New function.
22658 (__ieee754_gammal_r): Handle positive infinity, overflow and
22659 underflow here. Handle NaN the same as positive infinity. Remove
22660 check x < 0xffffffff for negative integers. Use gamma_positive
22661 instead of exp (lgamma) for other arguments.
22662 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22663 (gamma_coeff): New variable.
22664 (NCOEFF): New macro.
22665 (gammal_positive): New function.
22666 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22667 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22671 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22672 * sysdeps/generic/math_private.h (__gamma_productf): New
22673 prototype.
22674 (__gamma_product): Likewise.
22675 (__gamma_productl): Likewise.
22676 * math/Makefile (libm-calls): Add gamma_product.
22677 * math/libm-test.inc (tgamma_test): Add more tests.
22678 * sysdeps/i386/fpu/libm-test-ulps: Update.
22679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22680
bb7cf681
OB
226812013-05-08 Ondřej Bílka <neleai@seznam.cz>
22682
22683 * benchtests/bench-skeleton.c (main): Preheat CPU.
22684
ba853947
AJ
226852013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22686
22687 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22688
8347c74c
RM
226892013-05-07 Roland McGrath <roland@hack.frob.com>
22690
22691 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22692 and _dl_skip_args_internal.
22693
e8dd4791
CD
226942013-05-07 Carlos O'Donell <carlos@redhat.com>
22695
22696 * manual/message.texi (Message Translation): Talk about users.
22697 Message to key mapping impacts design.
22698
c7405830
RM
226992013-05-06 Roland McGrath <roland@hack.frob.com>
22700
a9173057
RM
22701 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22702
976e2f03
RM
22703 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22704
9723ffc5
RM
22705 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22706 * sysdeps/wordsize-64/glob64.c: ... here.
22707
962e6658
RM
22708 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22709 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22710 New macros.
22711
ee586a6d
RM
22712 * debug/getlogin_r_chk.c: Moved to ...
22713 * login/getlogin_r_chk.c: ... here.
22714 * debug/Makefile (routines): Move getlogin_r_chk to ...
22715 * login/Makefile (routines): ... here.
22716 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22717 * login/Versions (libc: GLIBC_2.4): ... here.
22718
355f9165
RM
22719 * io/poll.c (__poll): Renamed from poll.
22720 Add libc_hidden_def.
22721 (poll): Define as weak alias.
22722
bd9ffde6
RM
22723 * debug/ptsname_r_chk.c: Moved to ...
22724 * login/ptsname_r_chk.c: ... here.
22725 * debug/Makefile (routines): Move ptsname_r_chk to ...
22726 * login/Makefile (routines): ... here.
22727 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22728 * login/Versions (libc: GLIBC_2.4): ... here.
22729
8fb16a04
RM
22730 * posix/getlogin.c: Moved to ...
22731 * login/getlogin.c: ... here.
22732 * posix/getlogin_r.c: Moved to ...
22733 * login/getlogin_r.c: ... here.
22734 * posix/getlogin_r.c: Moved to ...
22735 * login/getlogin_r.c: ... here.
22736 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22737 * login/Makefile (routines): ... here.
22738 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22739 * login/Versions (libc: GLIBC_2.0): ... here.
22740
b99b892f
RM
22741 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22742 (setrlimit): Define as weak alias.
22743
c7405830
RM
22744 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22745 Call __ names for open, ftruncate, and close.
22746 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22747 (truncate): Define as weak alias.
22748
5bf96de5
JM
227492013-05-06 Joseph Myers <joseph@codesourcery.com>
22750
9ea3513c
JM
22751 * math/gen-libm-test.pl (parse_args): Initialize x before each
22752 test of frexp, modf and remquo.
22753
5bf96de5
JM
22754 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22755 test signgam value.
22756
16e616a7
AZ
227572013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22758
22759 [BZ #15418]
22760 [BZ #15419]
22761 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22762 internal tests.
22763 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22764
d5e82754
RM
227652013-05-06 Roland McGrath <roland@hack.frob.com>
22766
22767 * elf/dl-writev.h: New file.
22768 * elf/dl-misc.c: Include it.
22769 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22770 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22771
a7548d41
JM
227722013-05-04 Joseph Myers <joseph@codesourcery.com>
22773
b7dab1e4
JM
22774 * math/libm-test.inc (noXFails): Remove variable.
22775 (noXPasses): Likewise.
22776 (BUILD_COMPLEX_INT): Remove macro.
22777 (print_screen): Remove xfail argument.
22778 (print_screen_max_error): Likewise.
22779 (update_stats): Likewise.
22780 (print_max_error): Likewise. Update calls to other affected
22781 functions.
22782 (print_complex_max_error): Likewise.
22783 (test_single_exception): Update calls to print_screen.
22784 (test_single_errno): Likewise.
22785 (check_float_internal): Remove xfail argument. Update calls to
22786 other affected functions.
22787 (check_float): Likewise.
22788 (check_complex): Likewise.
22789 (check_int): Likewise.
22790 (check_long): Likewise.
22791 (check_bool): Likewise.
22792 (check_longlong): Likewise.
22793 (main): Don't print noXFails and noXPasses.
22794 * math/gen-libm-test.pl (top level): Don't mention expected
22795 failure handling in comment.
22796 (new_test): Don't handle expected failures.
22797 (parse_args): Don't mention expected failure handling in comment.
22798 (generate_testfile): Don't handle expected failures.
22799 (parse_ulps): Likewise.
22800 (print_ulps_file): Likewise.
22801 (get_failure): Remove function.
22802 (output_test): Don't handle expected failures.
22803 * make/README.libm-test: Don't mention expected failure handling.
22804
a7548d41
JM
22805 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22806 (minus_zero): Likewise.
22807 (plus_infty): Likewise.
22808 (minus_infty): Likewise.
22809 (qnan_value): Likewise.
22810 (max_value): Likewise.
22811 (min_value): Likewise.
22812 (min_subnorm_value): Likewise.
22813 (initialize): Do not initialize those variables dynamically.
22814
60bfd54c
RM
228152013-05-03 Roland McGrath <roland@hack.frob.com>
22816
cc0e6ed8
RM
22817 * io/open.c (__open_2): Moved to ...
22818 * io/open_2.c: ... this new file.
22819 * io/open64.c (__open64_2): Moved to ...
22820 * io/open64_2.c: ... this new file.
22821 * io/openat.c (__openat_2): Moved to ...
22822 * io/openat_2.c: ... this new file.
22823 * io/openat64.c (__openat64_2): Moved to ...
22824 * io/openat64_2.c: ... this new file.
22825 * io/Makefile (routines): Add them.
22826 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22827 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22828 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22829 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22830 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22831 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22832 (__openat64): Add hidden_ver.
22833 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22834 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22835
60bfd54c
RM
22836 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22837 Separately conditionalize setting of GLRO(dl_sysinfo) so
22838 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22839 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22840
83e7640f
AZ
228412013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22842
22843 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22844 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22845 definition.
22846 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22847 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22848 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22849 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22850 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22851
d5dc2af3
JM
228522013-05-03 Joseph Myers <joseph@codesourcery.com>
22853
c31a5b1e
JM
22854 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22855 test signgam value.
22856
d5dc2af3
JM
22857 * math/libm-test.inc (hypot_test): Do not use
22858 IGNORE_ZERO_INF_SIGN.
22859
164fd39d
AJ
228602013-05-03 Andreas Jaeger <aj@suse.de>
22861
22862 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22863 Linux 3.9.
22864 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22865 (PF_MAX): Adjust for VSOCK change.
22866
8237f48c
AZ
228672013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22868
22869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22870
9df02941
CD
228712013-05-02 Carlos O'Donell <carlos@redhat.com>
22872
22873 [BZ #15264]
22874 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22875 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22876 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22877
d422395e
DM
228782013-05-02 David S. Miller <davem@davemloft.net>
22879
22880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22881
a07c5731
OB
228822013-05-01 Ondřej Bílka <neleai@seznam.cz>
22883
22884 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22885
1324e37f
RM
228862013-05-01 Roland McGrath <roland@hack.frob.com>
22887
22888 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22889
0695940b
RS
228902013-05-01 Richard Smith <richard@metafoo.co.uk>
22891
bb5f27ad 22892 [BZ #14952]
0695940b
RS
22893 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22894 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22895 Use __attribute__ ((__gnu_inline__)).
22896 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22897 Don't use __attribute__ ((__gnu_inline__)).
22898
10de07f5
JM
228992013-05-01 Joseph Myers <joseph@codesourcery.com>
22900
22901 [BZ #15423]
22902 * math/s_catan.c (__catan): Handle small real or imaginary part of
22903 input specially to avoid spurious underflow.
22904 * math/s_catanf.c (__catanf): Likewise.
22905 * math/s_catanh.c (__catanh): Likewise.
22906 * math/s_catanhf.c (__catanhf): Likewise.
22907 * math/s_catanhl.c (__catanhl): Likewise.
22908 * math/s_catanl.c (__catanl): Likewise.
22909 * math/libm-test.inc (catan_test): Add more tests.
22910 (catanh_test): Likewise.
22911 * sysdeps/i386/fpu/libm-test-ulps: Update.
22912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22913
cb4d5414
AZ
229142013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22915
22916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22917
caf84319
JM
229182013-04-30 Joseph Myers <joseph@codesourcery.com>
22919
22920 [BZ #15416]
22921 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22922 accurately for denominator in atan2.
22923 * math/s_catanf.c (__catanf): Likewise.
22924 * math/s_catanh.c (__catanh): Likewise.
22925 * math/s_catanhf.c (__catanhf): Likewise.
22926 * math/s_catanhl.c (__catanhl): Likewise.
22927 * math/s_catanl.c (__catanl): Likewise.
22928 * math/libm-test.inc (catan_test): Add more tests.
22929 (catanh_test): Likewise.
22930 * sysdeps/i386/fpu/libm-test-ulps: Update.
22931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22932
d569c6ee
SP
229332013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22934
6dbe713d
SP
22935 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22936
f0ee064b
SP
22937 * benchtests/Makefile (bench): Remove slow benchmarks.
22938 * benchtests/atan-inputs: Add slow benchmark inputs.
22939 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22940 (BENCH_FUNC): Accept variant offset.
22941 (VARIANT): Define.
22942 * benchtests/bench-skeleton.c (main): Run benchmark for each
22943 variant.
22944 * benchtests/cos-inputs: Add slow benchmark inputs.
22945 * benchtests/exp-inputs: Likewise.
22946 * benchtests/pow-inputs: Likewise.
22947 * benchtests/sin-inputs: Likewise.
22948 * benchtests/slowatan-inputs: Remove.
22949 * benchtests/slowatan.c: Remove.
22950 * benchtests/slowcos-inputs: Remove.
22951 * benchtests/slowcos.c: Remove.
22952 * benchtests/slowexp-inputs: Remove.
22953 * benchtests/slowexp.c: Remove.
22954 * benchtests/slowpow-inputs: Remove.
22955 * benchtests/slowpow.c: Remove.
22956 * benchtests/slowsin-inputs: Remove.
22957 * benchtests/slowsin.c: Remove.
22958 * benchtests/slowtan-inputs: Remove.
22959 * benchtests/slowtan.c: Remove.
22960 * benchtests/tan-inputs: Add slow benchmark inputs.
22961 * scripts/bench.pl: Parse comments and directives.
22962
d569c6ee
SP
22963 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22964 in CPPFLAGS.
22965 ($(objpfx)bench-%.c): Remove *-ITER.
22966 * benchtests/bench-modf.c: Remove definition of ITER.
22967 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22968 (main): Loop for DURATION seconds instead of fixed number of
22969 iterations.
22970 * scripts/bench.pl: Don't expect iterations in parameters.
22971
a6a242fe
RM
229722013-04-29 Roland McGrath <roland@hack.frob.com>
22973
22974 * io/fchdir.c (__fchdir): Renamed from fchdir.
22975 (fchdir): Define as weak alias.
22976
f2da7793
JM
229772013-04-29 Joseph Myers <joseph@codesourcery.com>
22978
22979 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22980 (ERRNO_EDOM): Likewise.
22981 (ERRNO_ERANGE): Likewise.
22982 (noErrnoTests): New variable.
22983 (init_max_error): Set errno to 0.
22984 (test_single_errno): New function.
22985 (test_errno): Likewise.
22986 (check_float_internal): Call test_errno. Set errno to 0.
22987 (check_complex): Refer to errno tests in comment.
22988 (check_int): Call test_errno. Set errno to 0.
22989 (check_long): Likewise.
22990 (check_bool): Likewise.
22991 (check_longlong): Likewise.
22992 (cos_test): Use ERRNO_* flags for errno tests instead of
22993 check_int.
22994 (expm1_test): Likewise.
22995 (fmod_test): Likewise.
22996 (ilogb_test): Likewise.
22997 (lgamma_test): Likewise.
22998 (pow_test): Likewise.
22999 (remainder_test): Likewise.
23000 (sin_test): Likewise.
23001 (tan_test): Likewise.
23002 (yn_test): Likewise.
23003 (initialize): Set errno to 0.
23004 (main): Print number of errno tests.
23005 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23006
b1a36ceb
AJ
230072013-04-29 Andreas Jaeger <aj@suse.de>
23008
c3ed8088
AJ
23009 [BZ #15084]
23010 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23011 and RES_USEVC.
23012
f1a24198
AJ
23013 [BZ #15085]
23014 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23015 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23016 unimplemented.
23017
9ce3b2cb
AJ
23018 [BZ #15380]
23019 * stdlib/random.c (__initstate): Return NULL if
23020 __initstate fails.
23021
f1a24198 23022 [BZ #15086]
b1a36ceb
AJ
23023 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23024 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23025 RES_SNGLKUPREOP.
23026
7e7b6f36
AZ
230272013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23028
23029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23030
4d14f449
JM
230312013-04-29 Joseph Myers <joseph@codesourcery.com>
23032
23033 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23034 of individual tests.
23035 (casin_test): Likewise.
23036 (casinh_test): Likewise.
23037
5b4217d7
JM
230382013-04-27 Joseph Myers <joseph@codesourcery.com>
23039
23040 [BZ #15409]
23041 * math/s_catan.c (__catan): Handle arguments with large real or
23042 imaginary part separately without squaring.
23043 * math/s_catanf.c (__catanf): Likewise.
23044 * math/s_catanh.c (__catanh): Likewise.
23045 * math/s_catanhf.c (__catanhf): Likewise.
23046 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23047 and redefine.
23048 (__catanhl): Handle arguments with large real or imaginary part
23049 separately without squaring.
23050 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23051 and redefine.
23052 (__catanl): Handle arguments with large real or imaginary part
23053 separately without squaring.
23054 * math/libm-test.inc (catan_test): Add more tests.
23055 (catanh_test): Likewise.
23056 * sysdeps/i386/fpu/libm-test-ulps: Update.
23057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23058
4220c3ef
AJ
230592013-04-27 Andreas Jaeger <aj@suse.de>
23060
23061 [BZ #15007]
23062 * stdlib/stdlib.h: Update guards for qecvt.
23063 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23064 <stdlib.h>.
23065
4721b2d1
AM
230662013-04-27 Allan McRae <allan@archlinux.org>
23067
23068 * sysdeps/i386/fpu/libm-test-ulps: Update.
23069
f0302940
JM
230702013-04-26 Joseph Myers <joseph@codesourcery.com>
23071
9457fd95
JM
23072 [BZ #15406]
23073 * math/s_catan.c: Include <float.h>.
23074 (__catan): Ensure underflow exception occurs for underflowed
23075 result.
23076 * math/s_catanf.c: Include <float.h>.
23077 (__catanf): Ensure underflow exception occurs for underflowed
23078 result.
23079 * math/s_catanh.c: Include <float.h>.
23080 (__catanh): Ensure underflow exception occurs for underflowed
23081 result.
23082 * math/s_catanhf.c: Include <float.h>.
23083 (__catanhf): Ensure underflow exception occurs for underflowed
23084 result.
23085 * math/s_catanhl.c: Include <float.h>.
23086 (__catanhl): Ensure underflow exception occurs for underflowed
23087 result.
23088 * math/s_catanl.c: Include <float.h>.
23089 (__catanl): Ensure underflow exception occurs for underflowed
23090 result.
23091 * math/libm-test.inc (catan_test): Add more tests.
23092 (catanh_test): Likewise.
23093
f0302940
JM
23094 [BZ #15405]
23095 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23096 underflowed result.
23097 * math/s_ccoshf.c (__ccoshf): Likewise.
23098 * math/s_ccoshl.c (__ccoshl): Likewise.
23099 * math/s_csin.c (__csin): Likewise.
23100 * math/s_csinf.c (__csinf): Likewise.
23101 * math/s_csinh.c (__csinh): Likewise.
23102 * math/s_csinhf.c (__csinhf): Likewise.
23103 * math/s_csinhl.c (__csinhl): Likewise.
23104 * math/s_csinl.c (__csinl): Likewise.
23105 * math/libm-test.inc (ccos_test): Add more tests.
23106 (ccosh_test): Likewise.
23107 (csin_test): Likewise.
23108 (csinh_test): Likewise.
23109
aa630f59
AZ
231102013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23111
23112 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23113 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23114 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23115 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23116 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23117 powerpc/power5+/fpu folders.
23118 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23119
23120
1b835983
MT
231212013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23122
23123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23124
73709b26
JM
231252013-04-25 Joseph Myers <joseph@codesourcery.com>
23126
23127 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23128 additions to variable.
23129 [$(config-machine) = x86_64] (modules-names): Likewise.
23130 ($(objpfx)tst-audit3): Remove dependency.
23131 ($(objpfx)tst-audit3.out): Likewise.
23132 ($(objpfx)tst-audit4): Likewise.
23133 ($(objpfx)tst-audit4.out): Likewise.
23134 ($(objpfx)tst-audit5): Likewise.
23135 ($(objpfx)tst-audit5.out): Likewise.
23136 ($(objpfx)tst-audit6): Likewise.
23137 ($(objpfx)tst-audit6.out): Likewise.
23138 ($(objpfx)tst-audit7): Likewise.
23139 ($(objpfx)tst-audit7.out): Likewise.
23140 (tst-audit3-ENV): Remove variable.
23141 (tst-audit4-ENV): Likewise.
23142 (tst-audit5-ENV): Likewise.
23143 (tst-audit6-ENV): Likewise.
23144 (tst-audit7-ENV): Likewise.
23145 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23146 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23147 addition to variable.
23148 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23149 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23150 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23151 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23152 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23153 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23154 tst-audit3, tst-audit4 and tst-audit5.
23155 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23156 tst-audit6 and tst-audit7.
23157 [$(subdir) = elf] (modules-names): Add audit modules for those
23158 tests.
23159 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23160 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23161 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23162 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23163 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23164 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23165 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23166 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23167 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23168 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23169 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23170 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23171 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23172 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23173 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23174 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23175 Likewise.
23176 [$(subdir) = elf && $(config-cflags-avx) = yes]
23177 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23178 [$(subdir) = elf && $(config-cflags-avx) = yes]
23179 (CFLAGS-tst-auditmod4a.c): Likewise.
23180 [$(subdir) = elf && $(config-cflags-avx) = yes]
23181 (CFLAGS-tst-auditmod4b.c): Likewise.
23182 [$(subdir) = elf && $(config-cflags-avx) = yes]
23183 (CFLAGS-tst-auditmod6b.c): Likewise.
23184 [$(subdir) = elf && $(config-cflags-avx) = yes]
23185 (CFLAGS-tst-auditmod6c.c): Likewise.
23186 [$(subdir) = elf && $(config-cflags-avx) = yes]
23187 (CFLAGS-tst-auditmod7b.c): Likewise.
23188 * elf/tst-audit3.c: Move to ...
23189 * sysdeps/x86_64/tst-audit3.c: ... here.
23190 * elf/tst-audit4.c: Move to ...
23191 * sysdeps/x86_64/tst-audit4.c: ... here.
23192 * elf/tst-audit5.c: Move to ...
23193 * sysdeps/x86_64/tst-audit5.c: ... here.
23194 * elf/tst-audit6.c: Move to ...
23195 * sysdeps/x86_64/tst-audit6.c: ... here.
23196 * elf/tst-audit7.c: Move to ...
23197 * sysdeps/x86_64/tst-audit7.c: ... here.
23198 * elf/tst-auditmod3a.c: Move to ...
23199 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23200 * elf/tst-auditmod3b.c: Move to ...
23201 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23202 * elf/tst-auditmod4a.c: Move to ...
23203 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23204 * elf/tst-auditmod4b.c: Move to ...
23205 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23206 * elf/tst-auditmod5a.c: Move to ...
23207 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23208 * elf/tst-auditmod5b.c: Move to ...
23209 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23210 * elf/tst-auditmod6a.c: Move to ...
23211 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23212 * elf/tst-auditmod6b.c: Move to ...
23213 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23214 * elf/tst-auditmod6c.c: Move to ...
23215 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23216 * elf/tst-auditmod7a.c: Move to ...
23217 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23218 * elf/tst-auditmod7b.c: Move to ...
23219 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23220
1ef74943
PP
232212013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23222
23223 [BZ #15366]
23224 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23225 define unconditionally.
23226 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23227 define unconditionally.
23228 (INT8_C, INT16_C, etc.): Likewise.
23229
93fd48c5
MR
232302013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23231
ae9552cf
MR
23232 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23233 __ehdr_start with hidden visibility.
23234
93fd48c5
MR
23235 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23236
418601aa
CD
232372013-04-24 Carlos O'Donell <carlos@redhat.com>
23238
23239 * math/libm-test.inc (cos_test): Use accurate hex constants.
23240 (sincost_test): Likewise.
23241
2f38fbfe
JM
232422013-04-24 Joseph Myers <joseph@codesourcery.com>
23243
5e221800
JM
23244 * math/libm-test.inc (catan_test): Add more tests.
23245 (catanh_test): Likewise.
23246
77f143fd
JM
23247 * math/s_catanf.c (__catanf): Use suffixed floating-point
23248 constants.
23249 * math/s_catanhf.c (__catanhf): Likewise.
23250 * math/s_catanhl.c (__catanhl): Likewise.
23251 * math/s_catanl.c (__catanl): Likewise.
23252
2f38fbfe
JM
23253 [BZ #15394]
23254 * math/s_catan.c (__catan): Calculate imaginary part of result
23255 with log1p not log unless computing log of number close to 0.
23256 * math/s_catanf.c (__catanf): Likewise.
23257 * math/s_catanl.c (__catanl): Likewise.
23258 * math/s_catanh.c (__catanh): Calculate real part of result with
23259 log1p not log unless computing log of number close to 0.
23260 * math/s_catanhf.c (__catanhf): Likewise.
23261 * math/s_catanhl.c (__catanhl): Likewise.
23262 * math/libm-test.inc (catan_test): Add more tests.
23263 (catanh_test): Likewise.
23264 * sysdeps/i386/fpu/libm-test-ulps: Update.
23265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23266
45d69176
SP
232672013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23268
23269 * benchtests/Makefile: Mention files in which fast and slow
23270 paths of math functions are implemented.
23271
87f51853
RM
232722013-04-23 Roland McGrath <roland@hack.frob.com>
23273
23274 * sysdeps/posix/timespec_get.c: New file.
23275
3c026539
AZ
232762013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23277
23278 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23279 POWER.
23280 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23281 for POWER.
23282 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23283 powerpc/power5/fpu folders.
23284 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23285 * benchtests/Makefile: Add modf testcase.
23286 * benchtests/bench-modf.c: New file: Benchmark test for mo
23287
ff491d14
SP
232882013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23289
23290 [BZ #14888]
23291 * time/Makefile (tests): Add tst-strptime-whitespace.
23292 * time/strptime_l.c (get_number): Use ISSPACE.
23293 (__strptime_internal): Likewise.
23294 * time/tst-strptime-whitespace.c: New test case.
23295
7ed3f4e8
AS
232962013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23297
23298 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23299 member.
23300 (_nss_files_init): Set it here.
23301
5c95f7b6
HC
233022013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23303
23304 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23305 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23306 unsigned.
23307
d34c9158
JBG
233082013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23309
23310 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23311
2169712d
SP
233122013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23313
23314 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23315 size just once.
23316
29c5de99
DM
233172013-04-21 David S. Miller <davem@davemloft.net>
23318
23319 * po/ru.po: Update Russion translation from translation project.
23320
ccdad15d
AC
233212013-04-17 Adam Conrad <adconrad@0c3.net>
23322
23323 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23324 and setfsgid.
23325
0f122b8d
CD
233262013-04-17 Carlos O'Donell <carlos@redhat.com>
23327
5c5b07da 23328 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 23329 * configure: Regenerate.
5c5b07da 23330 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
23331 Add example to error message.
23332 * sysdeps/i386/configure: Regenerate.
23333
037714dd
SP
233342013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23335
23336 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23337 slowtan.
23338 * benchtests/cos-inputs: New file.
23339 * benchtests/slowcos-inputs: New file.
23340 * benchtests/slowcos.c: New file.
23341 * benchtests/slowtan-inputs: New file.
23342 * benchtests/slowtan.c: New file.
23343 * benchtests/tan-inputs: New file.
23344
e913141d
RM
233452013-04-16 Roland McGrath <roland@hack.frob.com>
23346
23347 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23348 considered kosher.
23349
a2964074
SP
233502013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23351
4856bcd2
SP
23352 * benchtests/Makefile: Include cppflags-iterator.mk to add
23353 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23354
a2964074
SP
23355 * Makefile.in (bench-clean): New target.
23356 * benchtests/Makefile (bench-clean): Likewise.
23357
9fbf9aca
DH
233582013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23359
23360 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23361
207d1e2a
TS
233622013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23363
23364 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23365
306dfba9
AS
233662013-04-15 Andreas Schwab <schwab@suse.de>
23367
23368 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23369 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23370 * nscd/pwdcache.c (cache_addpw): Likewise.
23371 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23372 more than recsize.
23373
206a6699
SP
233742013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23375
23376 * benchtests/Makefile (bench): Write all output to
23377 bench-out.tmp together.
23378
0582f6b3
AS
233792013-04-15 Andreas Schwab <schwab@suse.de>
23380
23381 * nscd/nscd.c (main): Don't fork again after closing files.
23382
acb4325f
SP
233832013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23384
5cb26d0a
SP
23385 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23386
acb4325f
SP
23387 * benchtests/Rules (bench-deps): Collect dependencies into a
23388 single variable. Add Makefile to dependencies.
23389 ($(objpfx)bench-%.c): Depend on bench-deps.
23390
47792506
RM
233912013-04-12 Roland McGrath <roland@hack.frob.com>
23392 Xavier Roche <roche+kml2@exalead.com>
23393
23394 [BZ #15361]
23395 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23396 just that it's a file descriptor.
23397 * manual/llio.texi (Synchronizing AIO Operations): Update description
23398 for EBADF error from aio_fsync.
23399
8fc1bee5
SP
234002013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23401
23402 * Rules (bench): Move target definition...
23403 * benchtests/Makefile: ... here.
23404
aba5e333
CD
234052013-04-11 Carlos O'Donell <carlos@redhat.com>
23406
23407 * math/libm-test.inc (cos_test): Fix PI/2 test.
23408 (sincos_test): Likewise.
23409 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23410 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23411
273cdee8
AS
234122013-04-11 Andreas Schwab <schwab@suse.de>
23413
6ecec3b6
AS
23414 [BZ #13988]
23415 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23416 accept exponent character only when digits were seen.
23417 * stdio-common/Makefile (tests): Add bug26.
23418 * stdio-common/bug26.c: New file.
23419
273cdee8
AS
23420 [BZ #14293]
23421 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23422 non-freeable.
23423
8da491f5
SP
234242013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23425
01dc6df9
SP
23426 * Makeconfig (rtld-prefix): Define built linker prefix.
23427 * Rules (run-bench): Use it.
23428 * math/Makefile (run-regen-ulps): Likewise.
23429
8da491f5
SP
23430 * Rules (bench): Remove eval.
23431
abe7f530
SP
234322013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23433 Roland McGrath <roland@hack.frob.com>
23434 Ondrej Bilka <neleai@seznam.cz>
23435
23436 [BZ #15346]
23437 * time/getdate.c: Include ctype.h and alloca.h.
23438 (__getdate_r): Trim leading and trailing spaces of input.
23439 * time/tst-getdate.c (tests): Add tests with leading and
23440 trailing spaces.
23441
61c23e62
RM
234422013-04-08 Roland McGrath <roland@hack.frob.com>
23443
23444 [BZ #14280]
23445 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23446 when computing value.
23447
7208a313
CD
234482013-04-06 Carlos O'Donell <carlos@redhat.com>
23449
085b2d41
CD
23450 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23451 Use testrun.sh to run libm tests.
23452
7208a313
CD
23453 [BZ #15309]
23454 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23455
872c0acd
MM
234562013-04-06 Marko Myllynen <myllynen@redhat.com>
23457
23458 [BZ #15264]
23459 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23460
26510bdd
CD
234612013-04-06 Carlos O'Donell <carlos@redhat.com>
23462
23463 * Makefile.in (regen-ulps): New target.
23464 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23465 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23466 [ifneq (no,$(PERL)] (regen-ulps): New target.
23467 [ifeq (no,$(PERL)] (regen-ulps): New target.
23468 * math/libm-test.inc (ulps_file_name): Define.
23469 (output_dir): New variable.
23470 (options): Add "output-dir" option.
23471 (parse_opt): Handle 'o' case.
23472 (main): If output_dir is non-NULL use it as a prefix
23473 otherwise use "".
23474 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23475
a01f19c8
CD
234762013-04-06 Carlos O'Donell <carlos@redhat.com>
23477
23478 [BZ #10060, #10062]
23479 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23480 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23481 fail configure if __sync_val_compare_and_swap is not inlined.
23482 * sysdeps/i386/configure: Regenerate.
23483 * configure.in: Build for i686 when configured for i386.
23484 * configure: Regenerate.
23485 * README: Remove i386 reference.
23486
b7a329a5
CD
234872013-04-06 Carlos O'Donell <carlos@redhat.com>
23488
23489 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23490 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23491
bf0f50df
TS
234922013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23493
ee091edf
TS
23494 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23495 (lmsnanval): New variables.
23496 (F): Add conversion tests.
23497 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23498 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23499
a8b792d6
TS
23500 * stdio-common/tstdiomisc.c (F): Properly collect individual
23501 tests' results.
23502
a1cbf437
TS
23503 [BZ #14686, #15336]
23504 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23505 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23506 Instead, use input NaN values or generate a qNaN by arithmetic
23507 operation. Also fix bugs to comply with the standard.
23508 * math/libm-test.inc (remainder_test): Add more tests.
23509
8b43a0c9
TS
23510 [BZ #15335, #15342]
23511 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23512 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23513 input NaN values or generate a qNaN by arithmetic operation.
23514
d91da4ce
TS
23515 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23516 unreachable code.
23517
bf0f50df
TS
23518 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23519 definitions.
23520
05e166c8
JM
235212013-04-03 Joseph Myers <joseph@codesourcery.com>
23522
23523 [BZ #14478]
23524 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23525 underflowed result.
23526 * math/s_cexpf.c (__cexpf): Likewise.
23527 * math/s_cexpl.c (__cexpl): Likewise.
23528 * math/libm-test.inc (cexp_test): Add more tests.
23529
1cef1b19
AS
235302013-04-03 Andreas Schwab <schwab@suse.de>
23531
23532 [BZ #15330]
23533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23534 order arrays from heap if bigger than alloca cutoff.
23535
74d87055
TS
235362013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23537
23538 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23539 (SNAN_TESTS_double): Refer to GCC PR56831.
23540 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23541 GCC PR56828.
23542
d755bba4
SP
235432013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23544
90d5d5bb
SP
23545 * Rules (bench): Move bench.out after the run is complete.
23546
73e0cd5d
SP
23547 * Rules (bench): Echo currently running benchmark.
23548
64aabd4b
SP
23549 * benchtests/Makefile (bench): Add atan and slowatan.
23550 * benchtests/atan-inputs: New file.
23551 * benchtests/slowatan-inputs: New file.
23552 * benchtests/slowatan.c: New file.
23553
c871eccd
SP
23554 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23555 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23556 its value.
23557
d755bba4
SP
23558 [BZ #15305]
23559 * sysdeps/unix/sysv/linux/kernel-features.h
23560 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23561 __ASSUME_XFS_RESTRICTED_CHOWN.
23562 * sysdeps/unix/sysv/linux/pathconf.c
23563 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23564 Save and restore errno.
23565
52ce4860
JM
235662013-04-02 Joseph Myers <joseph@codesourcery.com>
23567
23568 [BZ #15327]
23569 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23570 arguments using __kernel_casinh.
23571 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23572 arguments using __kernel_casinhf.
23573 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23574 arguments using __kernel_casinhl.
23575 * math/libm-test.inc (cacosh_test): Add more tests.
23576 * sysdeps/i386/fpu/libm-test-ulps: Update.
23577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23578
81f311c2
SP
235792013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23580
e7906a47
SP
23581 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23583
92e3664b
SP
23584 * bench/Makefile (bench): Add sin and slowsin.
23585 * benchtests/sin-inputs: New file.
23586 * benchtests/slowsin-inputs: New file.
23587 * benchtests/slowsin.c: New file.
23588
81f311c2
SP
23589 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23590 (bench): Add slowexp and slowpow.
23591 (exp-ITER): Increase iterations.
23592 (pow-ITER): Likewise.
23593 * benchtests/exp-inputs: Change input.
23594 * benchtests/pow-inputs: Likewise.
23595 * benchtests/slowexp-inputs: New file.
23596 * benchtests/slowexp.c: New file.
23597 * benchtests/slowpow-inputs: New file.
23598 * benchtests/slowpow.c: New file.
23599
ab0f1aa9
AZ
236002013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23601
23602 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23603 instructions.
23604 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23605 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23606 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23607 * benchtests/Makefile: Add rint benchtest.
23608 * benchtests/rint-inputs: Input for rint benchtest.
23609
57267616
TS
236102013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23611
23612 * Versions.def (libm): Add GLIBC_2.18.
23613 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23614 hidden libm prototypes.
23615 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23616 * math/Makefile (libm-calls): Add s_issignaling.
23617 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23618 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23619 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23620 declaration.
23621 * math/math.h [__USE_GNU] (issignaling): New macro.
23622 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23623 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23624 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23625 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23628 * manual/arith.texi (issignaling): New section.
23629 * manual/libm-err-tab.pl (@all_functions): Update comment.
23630 * math/gen-libm-test.pl (parse_args): Apply special handling for
23631 issignaling.
23632 * math/libm-test.inc (print_float, issignaling_test): New
23633 functions.
23634 (check_float_internal): Add issignaling checks.
23635 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23636 default definition.
23637 * sysdeps/powerpc/math-tests.h: New file.
23638 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23639 tests.
23640 * math/test-snan.c (TEST_FUNC): Likewise.
23641
6142896d
DM
236422013-03-30 David S. Miller <davem@davemloft.net>
23643
23644 * po/de.po: Update from translation team.
23645
ccc8cadf
JM
236462013-03-30 Joseph Myers <joseph@codesourcery.com>
23647
23648 [BZ #10357]
23649 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23650 imaginary part less than 1.0 and real part less than 0.5
23651 specially.
23652 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23653 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23654 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23655 (cacos_test): Add more tests.
23656 (casin_test): Likewise.
23657 (casinh_test): Likewise.
23658 * sysdeps/i386/fpu/libm-test-ulps: Update.
23659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23660
0f6a8d4b
SP
236612013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23662
0d1029de
SP
23663 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23664 ONE with its value.
23665
c2d94018
SP
23666 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23667 (__pow_mp): Replace ONE and MONE with their values.
23668 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23669 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23670 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23671 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23672 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23673 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23674
27ec37f1
SP
23675 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23676
a64d7e0e
SP
23677 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23678 (__pow_mp): Replace ZERO and MZERO with their values.
23679 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23680 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23681 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23683 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23684 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23685 (__sqr): Likewise.
23686
d26dd3eb
SP
23687 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23688
0f6a8d4b
SP
23689 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23690
e57b0c61
RM
236912013-03-28 Roland McGrath <roland@hack.frob.com>
23692
23693 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23694 Declare with __attribute__ ((weak)).
23695 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23696 Call __call_tls_dtors only if it's not NULL.
23697
356b3480
RM
236982013-03-28 Roland McGrath <roland@hack.frob.com>
23699
288f7d79
RM
23700 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23701 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23702 magic __ehdr_start linker symbol if it's defined.
23703 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23704 them up here if it was already done.
23705
dc0a0263
RM
23706 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23707 (_dl_aux_init): Use const in cast when setting it.
23708 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23709 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23710 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23711
3d3436ae
RM
23712 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23713 Declare them here.
23714 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23715 * csu/libc-tls.c: Nor here.
23716 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23717
356b3480
RM
23718 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23719 (__libc_message): Never call vsyslog.
23720
b0f1246a
AM
237212013-03-28 Alan Modra <amodra@gmail.com>
23722
23723 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23724 Define as empty.
23725 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23726 Likewise.
23727
fbbe2b9a
AZ
237282013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23729
23730 [BZ #15214]
23731 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23732 underflow.
23733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23734
1728ab37
SP
237352013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23736
7a86be6e
SP
23737 [BZ #15304]
23738 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23739 Don't add gid passed as argument.
23740
1728ab37
SP
23741 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23742
3a7182a1
JM
237432013-03-27 Joseph Myers <joseph@codesourcery.com>
23744
23745 [BZ #15307]
23746 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23747 imaginary part between 1.0 and 1.5 and real part less than 0.5
23748 specially.
23749 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23750 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23751 * math/libm-test.inc (cacos_test): Add more tests.
23752 (casin_test): Likewise.
23753 (casinh_test): Likewise.
23754 * sysdeps/i386/fpu/libm-test-ulps: Update.
23755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23756
6f2e90e7
SP
237572013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23758
5739f705
SP
23759 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23760 constants.
23761 (norm): Likewise.
23762 (denorm): Likewise.
23763 (__dbl_mp): Likewise.
23764 (add_magnitudes): Likewise.
23765 (sub_magnitudes): Likewise.
23766 (__add): Likewise.
23767 (__sub): Likewise.
23768 (__mul): Likewise.
23769 (__sqr): Likewise.
23770 (__inv): Likewise.
23771 (__dvd): Likewise.
23772
e375e83d
SP
23773 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23774 commented code.
23775 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23776 (__dubcos): Likewise.
23777 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23778 (__ieee754_acos): Likewise.
23779 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23780 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23781 (__exp1): Likewise.
23782 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23784 (log1): Likewise.
23785 (my_log2): Likewise.
23786 (checkint): Likewise.
23787 * sysdeps/ieee754/dbl-64/e_remainder.c
23788 (__ieee754_remainder): Likewise.
23789 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23791 (bsloww): Likewise.
23792 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23793
6f2e90e7
SP
23794 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23795 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23796 MANTISSA_STORE_T to store computations on mantissa. Use
23797 macros for rounding and division.
23798 (denorm): Likewise.
23799 (__dbl_mp): Likewise.
23800 (add_magnitudes): Likewise.
23801 (sub_magnitudes): Likewise.
23802 (__mul): Likewise.
23803 (__sqr): Likewise.
23804 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23805 powers of two in terms of TWOPOW macro.
23806 (mp_no): Make type of mantissa as MANTISSA_T.
23807 [!RADIXI]: Define RADIXI.
23808 [!TWO52]: Define TWO52.
23809 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23810
fce14d4e
AZ
238112013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23812
23813 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23814 llroundl symbol when building for PPC32.
23815
9ad027fb
MW
238162013-03-24 Mark H Weaver <mhw@netris.org>
23817
23818 * manual/arith.texi (Normalization Functions): Fix prototypes for
23819 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23820
e42a38dd
AZ
238212013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23822
23823 [BZ #13889]
23824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23825 high value to check if expl overflow.
23826 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23827 to check for underflow and overflow.
23828 * math/libm-test.inc: Add exp test.
23829
2e0fb521
DL
238302013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23831
23832 [BZ #11120]
23833 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23834 with NOT_IN_libc.
23835
b5784d95
AZ
238362013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23837
23838 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23839 symbol.
23840
5aa4a1a1
TS
238412013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23842
bdef0be7
TS
23843 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23844 wrap blocks consisting of several statements.
23845
5aa4a1a1
TS
23846 * sysdeps/generic/math-tests.h: New file.
23847 * sysdeps/i386/fpu/math-tests.h: Likewise.
23848 * math/test-snan.c: Include it.
23849 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23850
98c48fe5
JM
238512013-03-21 Joseph Myers <joseph@codesourcery.com>
23852
23853 [BZ #15285]
23854 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23855 (__ieee754_j0l): Do not improve calculations using cos of twice
23856 input for inputs above LDBL_MAX / 2.0L.
23857 (__ieee754_y0l): Likewise.
23858 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23859 (__ieee754_j1l): Do not improve calculations using cos of twice
23860 input for inputs above LDBL_MAX / 2.0L.
23861 (__ieee754_y1l): Likewise.
23862 * math/libm-test.inc (j0_test): Add another test.
23863 (j1_test): Likewise.
23864 (y0_test): Likewise.
23865 (y1_test): Likewise.
23866 * sysdeps/i386/fpu/libm-test-ulps: Update.
23867
3775a8bc
SP
238682013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23869
23870 * Rules ($(objpfx)bench-%.c): Include code from a C source
23871 file.
23872
0a1b2ae6
JM
238732013-03-21 Joseph Myers <joseph@codesourcery.com>
23874
23875 [BZ #15287]
23876 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23877 imaginary part 1.0 and real part less than 0.5 specially.
23878 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23879 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23880 * math/libm-test.inc (cacos_test): Add more tests.
23881 (casin_test): Likewise.
23882 (casinh_test): Likewise.
23883 * sysdeps/i386/fpu/libm-test-ulps: Update.
23884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23885
b33d4ce4
SP
238862013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23887
23888 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23889 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23890
bef0b507
JM
238912013-03-20 Joseph Myers <joseph@codesourcery.com>
23892
23893 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23894 * config.make.in (config-cflags-sse4): Remove variable.
23895 (config-cflags-avx): Likewise.
23896 (config-cflags-sse2avx): Likewise.
23897 (config-cflags-novzeroupper): Likewise.
23898 (config-asflags-i686): Likewise.
23899 (have-mfma4): Likewise.
23900 (have-as-vis3): Likewise.
23901 (MIG): Likewise.
23902 * configure.in (MIG): Do not AC_SUBST.
23903 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23904 (libc_cv_cc_sse4): Do not AC_SUBST.
23905 (libc_cv_cc_avx): Likewise.
23906 (libc_cv_cc_sse2avx): Likewise.
23907 (libc_cv_cc_novzeroupper): Likewise.
23908 (libc_cv_cc_fma4): Likewise.
23909 (libc_cv_as_i686): Likewise.
23910 (libc_cv_sparc_as_vis3): Likewise.
23911 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23912 LIBC_CONFIG_VAR.
23913 (config-asflags-i686): Likewise.
23914 (config-cflags-avx): Likewise.
23915 (config-cflags-sse2avx): Likewise.
23916 (have-mfma4): Likewise.
23917 (config-cflags-novzeroupper): Likewise.
23918 * sysdeps/mach/configure.in (MIG): Likewise.
23919 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23920 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23921 LIBC_CONFIG_VAR.
23922 (config-cflags-avx): Likewise.
23923 (config-cflags-sse2avx): Likewise.
23924 (have-mfma4): Likewise.
23925 (config-cflags-novzeroupper): Likewise.
23926 * configure: Regenerated.
23927 * sysdeps/i386/configure: Likewise.
23928 * sysdeps/mach/configure: Likewise.
23929 * sysdeps/sparc/configure: Likewise.
23930 * sysdeps/x86_64/configure: Likewise.
23931
912cc4b3
RM
239322013-03-20 Roland McGrath <roland@hack.frob.com>
23933
23934 [BZ #14812]
23935 * locale/programs/localedef.c (options): Put N_ translation marker
23936 on argument names, not just descriptions.
23937
04eed2b0
MS
239382013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23939
23940 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23941
a065ceff
OB
239422013-03-20 Ondřej Bílka <neleai@seznam.cz>
23943
9bb2a810 23944 [BZ #14176]
a065ceff
OB
23945 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23946
a600e5ce
RM
239472013-03-19 Roland McGrath <roland@hack.frob.com>
23948
23949 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23950 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23951 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23952 [!BEFORE_ABORT] (before_abort): New function.
23953 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23954 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23955 (writev_for_fatal): New function.
23956 (WRITEV_FOR_FATAL): New macro; call that.
23957 (backtrace_and_maps): New function.
23958 (BEFORE_ABORT): New macro; call that.
23959 (struct str_list): Type removed.
23960 (__libc_message, __libc_fatal): Functions removed.
23961 Include <sysdeps/posix/libc_fatal.c> instead.
23962
6b18bea6
JM
239632013-03-19 Joseph Myers <joseph@codesourcery.com>
23964
23965 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23966 constants.
23967 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23968 double constants.
23969
aaa8cb4b
AS
239702013-03-19 Andreas Schwab <schwab@suse.de>
23971
44673770
AS
23972 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23973 * sysdeps/gnu/configure: Regenerate.
23974
aaa8cb4b
AS
23975 * configure.in: Substitute libc_cv_rtlddir.
23976 * configure: Regenerate.
23977 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23978 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23979 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23980 * elf/Makefile (install-others, CFLAGS-interp.c)
23981 (ldso_install, common-ldd-rewrite): Likewise.
23982 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23983 $(inst_slibdir)/$(rtld-installed-name).
23984 * scripts/rellns-sh: Add -p option.
23985 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23986 for source.
23987
d3cfc668
SP
239882013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23989
23990 * manual/nptl.texi: Renamed to ...
23991 * manual/threads.texi: ... this.
23992 * manual/Makefile (chapters): Update.
23993
0e2b9cdd
RM
239942013-03-18 Roland McGrath <roland@hack.frob.com>
23995
23996 [BZ #14812]
23997 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23998 on argument names, not just descriptions.
0e2b9cdd
RM
23999 * malloc/memusagestat.c (options): Likewise.
24000 * nss/getent.c (options): Likewise.
63270c24
RM
24001
240022013-03-18 Benno Schulenberg <bensberg@justemail.net>
24003
24004 [BZ #14812]
24005 * iconv/iconv_prog.c (options): Put N_ translation marker
24006 on argument names, not just descriptions.
24007 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24008
b2e1393c
OB
240092013-03-18 Ondrej Bilka <neleai@seznam.cz>
24010
24011 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24012 implementation which is faster on all x86_64 architectures.
24013 Tested on AMD, Intel Nehalem, SNB, IVB.
24014 * sysdeps/x86_64/strnlen.S: Likewise.
24015
24016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24017 Remove all multiarch strlen and strnlen versions.
24018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24019 Remove strlen and strnlen related parts.
24020
24021 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24022 Inline strlen part.
24023 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24024
24025 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24026 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24027 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24028 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24029 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24030 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24031
ec4ff04d
CD
240322013-03-17 Carlos O'Donell <carlos@redhat.com>
24033
24034 * manual/memory.texi (Malloc Tunable Parameters):
24035 Sort parameters alphabetically. Add comments for missing entries.
24036
cd18e90a
DM
240372013-03-17 David S. Miller <davem@davemloft.net>
24038
24039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24040
2a185d32
JM
240412013-03-16 Joseph Myers <joseph@codesourcery.com>
24042
d2f9799e
JM
24043 [BZ #15283]
24044 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24045 for arguments at most half maximum finite value.
24046 * math/libm-test.inc (j0_test): Add more tests.
24047 (j1_test): Likewise.
24048 (y0_test): Likewise.
24049 (y1_test): Likewise.
24050 * sysdeps/i386/fpu/libm-test-ulps: Update.
24051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24052
2a185d32
JM
24053 [BZ #14155]
24054 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24055 1 / x and functions P and Q for arguments above 0x1p256L.
24056 (__ieee754_y0l): Likewise.
24057 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24058 (__ieee754_y1l): Likewise.
24059 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24060 (j1_test): Likewise.
24061 (y0_test): Likewise.
24062 (y1_test): Likewise.
24063
6cbec759
TS
240642013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24065
24066 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24067 variable.
24068
bc16e260
RM
240692013-03-15 Roland McGrath <roland@hack.frob.com>
24070
aefc9b8c
RM
24071 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24072 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24073 zero since it's initialized to EXEC_PAGESIZE.
24074
bc16e260
RM
24075 * sysdeps/unix/sysv/linux/ldsodefs.h
24076 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24077 * sysdeps/generic/ldsodefs.h: ... here.
24078
a57da955
TS
240792013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24080
af00a34d
TS
24081 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24082
495ded2c
TS
24083 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24084 math/test-snan.c.
24085 * math/test-snan.c: Renamed from
24086 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24087 * math/Makefile (tests): Add test-snan.
24088 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24089 test-powerpc-snan.
24090
777b0332
TS
24091 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24092 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24093 functions.
24094 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24095 __builtin_nan family of functions.
24096 * math/libm-test.inc (initialize): Initialize qnan_value with
24097 __builtin_nan family of functions.
24098 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24099 Remove variables.
24100 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24101 Remove functions.
24102 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24103 storage class. Initialize qNaN_var and sNaN_var with
24104 __builtin_nan and __builtin_nans families of functions,
24105 respectively.
24106
64d063b8
TS
24107 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24108 (sqrt_test): Remove duplicate test with qNaN input.
24109 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24110 (round_test, signbit_test, significand_test): Note missing +/-Inf
24111 as well as qNaN tests.
24112
67e971f1
TS
24113 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24114 qNaN_var. Fix a few strings, too.
24115 * math/libm-test.inc (nan_value): Rename to qnan_value.
24116 * math/gen-libm-test.pl (%beautify): Adjust to that.
24117 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24118 * math/test-misc.c (main): Likewise.
24119 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24120 to __qnan_bytes, and __qnan_union, respectively.
24121 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24122 Likewise.
24123 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24124 and lqnanval, respectively.
24125 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24126 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24127 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24128 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24129
64487e12
TS
24130 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24131 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24132 doubles.
24133
e015e27b
TS
24134 * math/test-misc.c (main): Fix copy'n'pastos.
24135 * misc/tst-efgcvt.c (special): Likewise.
24136
a57da955
TS
24137 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24138 Remove declarations.
24139
1e380345
SP
241402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24141
24142 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24143 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24144 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24145 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24146
ef26eece
AZ
241472013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24148
24149 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24150 macro to return vdso values correctly in IFUNC implementations.
24151 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24152 Optimization by using IFUNC.
24153
8cfdb7e0
SP
241542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24155 Richard Henderson <rth@redhat.com>
24156 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24157
24158 * Makefile.in (bench): New target.
24159 * NEWS: Mention the benchmark framework.
24160 * Rules (bench): Likewise.
24161 (binaries-bench): Generate binaries for functions to
24162 benchmark.
24163 * benchtests/Makefile: New makefile for benchmark tests.
24164 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24165 programs.
24166 * benchtests/exp-inputs: New input file for EXP function.
24167 * benchtests/pow-inputs: New input file for POW function.
24168 * scripts/bench.pl: New script to generate source files for
24169 benchmark programs.
24170
bcda9880
SP
241712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24172
d22ca8cd
SP
24173 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24174 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24175 computations on mantissa. Use macros for rounding and
24176 division.
24177 (denorm): Likewise.
24178 (__dbl_mp): Likewise.
24179 (add_magnitudes): Likewise.
24180 (sub_magnitudes): Likewise.
24181 (__mul): Likewise.
24182 (__sqr): Likewise.
24183 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24184 powers of two in terms of TWOPOW macro.
24185 (mp_no): Make type of mantissa as MANTISSA_T.
24186 [!RADIXI]: Define RADIXI.
24187 [!TWO52]: Define TWO52.
24188 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24189
bcda9880
SP
24190 * manual/nptl.texi (cindex): Modify threads to pthreads.
24191
06d5adfb
JM
241922013-03-15 Joseph Myers <joseph@codesourcery.com>
24193
24194 * sysdeps/x86_64/preconfigure: Regenerated.
24195
41c7328e
JM
241962013-03-14 Joseph Myers <joseph@codesourcery.com>
24197
24198 [BZ #14155]
24199 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24200 0x1p28 and above.
24201 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24202 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24203 0x1p28 and above.
24204 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24205 * math/libm-test.inc (j0_test): Do not allow one spurious
24206 underflow exception.
24207 (y1_test): Likewise.
24208
e25cfa60
SP
242092013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24210
0409959c
SP
24211 * manual/Makefile (chapters): Add nptl.
24212 * manual/debug.texi (Debugging Support): Add link to Threads
24213 chapter.
24214 * manual/nptl.texi: New file.
24215
e25cfa60
SP
24216 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24217
58a1335e
PB
242182013-03-14 Petr Baudis <pasky@ucw.cz>
24219
24220 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24221 for non-NULL pointer before the memory validity test. Pointed
24222 out by Holger Brunck <holger.brunck@keymile.com>.
24223
9dc7c64f
AS
242242013-03-13 Andreas Schwab <schwab@suse.de>
24225
24226 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24227 instead of .os.
24228
54206aa6
JM
242292013-03-13 Joseph Myers <joseph@codesourcery.com>
24230
24231 * timezone/zic.c: Update from tzcode 2013b.
24232
e98cdb38
CD
242332013-03-12 Carlos O'Donell <carlos@redhat.com>
24234
24235 * manual/install.texi (Configuring and compiling):
24236 Mention i686 and i586.
24237 * INSTALL: Regenerate.
24238
9967e003
RM
242392013-03-12 Roland McGrath <roland@hack.frob.com>
24240
24241 * sysdeps/init_array/elf-init.c: New file.
24242 * csu/elf-init.c
24243 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24244 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24245
24246 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24247 __gmon_start__ as global, but as static with a .preinit_array pointer.
24248 * sysdeps/init_array/gmon-start.c: New file. Use that.
24249 * sysdeps/init_array/crti.S: New file, empty except for comments.
24250 * sysdeps/init_array/crtn.S: Likewise.
24251
e6b5a293 242522013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24253
24254 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24255 definining bcopy.
80f844c9
OB
24256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24257 Remove Prefer_SSE_for_memop.
24258 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24259 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24260 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24262 memset-x86-64.
80f844c9 24263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24264 Remove bzero, memset ifunc support.
80f844c9
OB
24265 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24266 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24267 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24268 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24269
fb6b0fcb
AS
242702013-03-11 Andreas Schwab <schwab@suse.de>
24271
24272 [BZ #15234]
24273 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24274 by SHLIB_COMPAT.
24275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24276 (GLIBC_2.16): Remove pthread_atfork.
24277
3e6bd4b1
PP
242782013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24279
24280 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24281 (ptestcases.h): Likewise.
24282
222d7f00
RM
242832013-03-08 Roland McGrath <roland@hack.frob.com>
24284
24285 * Makeconfig ($(common-objpfx)config.status): Depend on
24286 sysdeps/*/preconfigure{,.in} too.
24287
1ba4f030
JM
242882013-03-08 Joseph Myers <joseph@codesourcery.com>
24289
a222d91a
JM
24290 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24291 (__free_hook): Use void * instead of __malloc_ptr_t.
24292 (__malloc_hook): Likewise.
24293 (__realloc_hook): Likewise.
24294 (__memalign_hook): Likewise.
24295 (__after_morecore_hook): Likewise.
24296 * malloc/arena.c (save_malloc_hook): Likewise.
24297 (save_free_hook): Likewise.
24298 * malloc/hooks.c (malloc_hook_ini): Likewise.
24299 (realloc_hook_ini): Likewise.
24300 (memalign_hook_ini): Likewise.
24301 * malloc/malloc.c (malloc_hook_ini): Likewise.
24302 (realloc_hook_ini): Likewise.
24303 (memalign_hook_ini): Likewise.
24304 (__free_hook): Likewise.
24305 (__malloc_hook): Likewise.
24306 (__realloc_hook): Likewise.
24307 (__memalign_hook): Likewise.
24308 (__libc_malloc): Likewise.
24309 (__libc_free): Likewise.
24310 (__libc_realloc): Likewise.
24311 (__libc_memalign): Likewise.
24312 (__libc_valloc): Likewise.
24313 (__libc_pvalloc): Likewise.
24314 (__libc_calloc): Likewise.
24315 (__posix_memalign): Likewise.
24316 * malloc/morecore.c (__sbrk): Likewise.
24317 (__default_morecore): Likewise.
24318
5cc45e10
JM
24319 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24320
dd54b864
JM
24321 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24322 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24323 __malloc_ptrdiff_t.
24324
1ba4f030
JM
24325 * malloc/malloc.h (__malloc_size_t): Remove macro.
24326 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24327 __malloc_size_t.
24328 (old_memalign_hook): Likewise.
24329 (old_realloc_hook): Likewise.
24330 (struct hdr): Likewise.
24331 (flood): Likewise.
24332 (mallochook): Likewise.
24333 (memalignhook): Likewise.
24334 (reallochook): Likewise.
24335 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24336 (tr_old_realloc_hook): Likewise.
24337 (tr_old_memalign_hook): Likewise.
24338 (tr_mallochook): Likewise.
24339 (tr_reallochook): Likewise.
24340 (tr_memalignhook): Likewise.
24341
edf66e57
AZ
243422013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24343
24344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24345 default_ldbl_pack and using as default implementation.
24346 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24347 implementation.
24348 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24349 redundant definition.
24350 (ldbl_insert_mantissa): Likewise.
24351 (ldbl_canonicalize): Likewise.
24352 (ldbl_nearbyint): Likewise.
24353 (ldbl_pack): Rename to ldbl_pack_ppc.
24354 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24355 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24356 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24357
6d9145d8
SP
243582013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24359
24360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24361 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24362 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24363 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24365 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24366 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24367 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24368
4dd4e157
AJ
243692013-03-07 Andreas Jaeger <aj@suse.de>
24370
24371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24372 bits/mman-linux.h.
24373
adbb8027
SP
243742013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24375
ce544b5b
SP
24376 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24377 Include mpa.h and declare __MPEXP.
24378 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24379 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24380 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24381 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24382 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24383 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24384 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24385
4cc149fd
SP
24386 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24387 (__slowpow): Use long double EXPL and LOGL functions to
24388 compute POW.
24389 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24390 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24391 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24392 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24393 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24394 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24395
e6ebd4a7
SP
24396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24397 intermediate variable to calculate exponent.
24398 (__sqr): Likewise.
24399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24400 Likewise.
24401 (__sqr): Likewise.
24402
82a9811d
SP
24403 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24404 [!NO__SQR]: Define __sqr.
24405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24406 and NO__SQR. Remove all code except __mul and __sqr. Include
24407 sysdeps/ieee754/dbl-64/mpa.c.
24408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24409
adbb8027
SP
24410 [BZ #12723]
24411 * posix/Makefile (tests): Add tst-pathconf.
24412 * posix/tst-pathconf.c: New test case.
24413 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24414 _PC_PIPE_BUF.
24415 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24416
39120df9
PF
244172013-03-06 Patsy Franklin <pfrankli@redhat.com>
24418
24419 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24420
67525cb8
AJ
244212013-03-06 Andreas Jaeger <aj@suse.de>
24422
664a9ce4
AJ
24423 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24424 definition via __MAP_ANONYMOUS.
24425
8e39047d
AJ
24426 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24427 it's not part of Linux headers.
24428
67525cb8
AJ
24429 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24430 (MAP_HUGE_MASK): Define.
24431
24432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24433 Define.
24434 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24435 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24436 Define.
24437 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24438 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24439 Define.
24440 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24442 Define.
24443 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24444
24445 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24446 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24447 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24448 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24449 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24450 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24451
24452 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24453 Handle f2fs.
24454
24455 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24456 Handle f2fs and efivarfs.
24457
24458 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24459 f2fs.
24460
24461 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24462 (EFIVARFS_MAGIC): Add.
24463 (F2FS_LINK_MAX): Add.
24464
e1b42695
PP
244652013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24466
24467 * stdio-common/vfprintf.c: Replace __builtin_expect with
24468 __glibc_unlikely.
24469
2d67d91a
JM
244702013-03-06 Joseph Myers <joseph@codesourcery.com>
24471
24472 [BZ #13550]
24473 * sysdeps/generic/bp-sym.h: Remove file.
24474 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24475 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24476 <bp-sym.h> and <bp-asm.h>.
24477 (__longjmp): Don't use BP_SYM.
24478 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24479 and <bp-asm.h>.
24480 (memcpy): Don't use BP_SYM.
24481 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24482 <bp-sym.h> and <bp-asm.h>.
24483 (memcpy): Don't use BP_SYM.
24484 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24485 <bp-asm.h>.
24486 (memcpy): Don't use BP_SYM.
24487 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24488 <bp-asm.h>.
24489 (memset): Don't use BP_SYM.
24490 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24491 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24492 (__bzero): Don't use BP_SYM.
24493 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24494 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24495 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24496 <bp-sym.h> and <bp-asm.h>.
24497 (memcmp): Don't use BP_SYM. Remove comment about bounded
24498 pointers.
24499 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24500 <bp-sym.h> and <bp-asm.h>.
24501 (memcpy): Don't use BP_SYM.
24502 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24503 <bp-sym.h> and <bp-asm.h>.
24504 (memset): Don't use BP_SYM.
24505 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24506 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24507 (__bzero): Don't use BP_SYM.
24508 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24509 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24510 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24511 <bp-sym.h> and <bp-asm.h>.
24512 (strncmp): Don't use BP_SYM. Remove comment about bounded
24513 pointers.
24514 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24515 <bp-sym.h> and <bp-asm.h>.
24516 (memcpy): Don't use BP_SYM.
24517 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24518 <bp-sym.h> and <bp-asm.h>.
24519 (memset): Don't use BP_SYM.
24520 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24521 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24522 (__bzero): Don't use BP_SYM.
24523 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24524 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24525 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24526 <bp-sym.h> and <bp-asm.h>.
24527 (__memchr): Don't use BP_SYM.
24528 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24529 <bp-sym.h> and <bp-asm.h>.
24530 (memcmp): Don't use BP_SYM. Remove comment about bounded
24531 pointers.
24532 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24533 <bp-sym.h> and <bp-asm.h>.
24534 (memcpy): Don't use BP_SYM.
24535 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24536 <bp-sym.h> and <bp-asm.h>.
24537 (__mempcpy): Don't use BP_SYM.
24538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24539 <bp-sym.h> and <bp-asm.h>.
24540 (__memrchr): Don't use BP_SYM.
24541 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24542 <bp-sym.h> and <bp-asm.h>.
24543 (memset): Don't use BP_SYM.
24544 (__bzero): Likewise.
24545 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24546 <bp-sym.h> and <bp-asm.h>.
24547 (__rawmemchr): Don't use BP_SYM.
24548 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24549 <bp-sym.h> and <bp-asm.h>.
24550 (__STRCMP): Don't use BP_SYM.
24551 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24552 <bp-sym.h> and <bp-asm.h>.
24553 (strchr): Don't use BP_SYM.
24554 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24555 <bp-sym.h> and <bp-asm.h>.
24556 (__strchrnul): Don't use BP_SYM.
24557 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24558 <bp-sym.h> and <bp-asm.h>.
24559 (strlen): Don't use BP_SYM.
24560 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24561 <bp-sym.h> and <bp-asm.h>.
24562 (strncmp): Don't use BP_SYM. Remove comment about bounded
24563 pointers.
24564 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24565 <bp-sym.h> and <bp-asm.h>.
24566 (__strnlen): Don't use BP_SYM.
24567 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24568 <bp-sym.h> and <bp-asm.h>.
24569 (__GI__setjmp): Don't use BP_SYM.
24570 (_setjmp): Likewise.
24571 (__sigsetjmp): Likewise.
24572 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24573 (L(start_addresses)): Don't use BP_SYM.
24574 (_start): Likewise.
24575 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24576 <bp-asm.h>.
24577 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24578 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24579 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24580 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24581 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24582 <bp-asm.h>.
24583 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24584 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24585 about bounded pointers.
24586 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24587 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24588 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24589 <bp-asm.h>.
24590 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24591 about bounded pointers. Remove GKM FIXME comments.
24592 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24593 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24594 <bp-asm.h>.
24595 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24596 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24597 Remove GKM FIXME comments.
24598 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24599 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24600 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24601 <bp-asm.h>.
24602 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24603 about bounded pointers. Remove GKM FIXME comment.
24604 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24605 and <bp-asm.h>.
24606 (strncmp): Don't use BP_SYM. Remove comment about bounded
24607 pointers.
24608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24609 <bp-sym.h> and <bp-asm.h>.
24610 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24612 <bp-sym.h> and <bp-asm.h>.
24613 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24614 comment.
24615
cdcf361f
PP
246162013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24617
24618 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24619 call free(NULL).
24620
3c4a2b15
DM
246212013-03-05 David S. Miller <davem@davemloft.net>
24622
24623 * po/es.po: Update from translation team.
24624
cdcf361f 246252013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
24626
24627 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24628 <bits/mman-linux.h>.
24629 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24630 is fine.
24631 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24632 <bits/mman-linux.h> to end of file.
24633 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24634 is fine.
24635 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24636 <bits/mman-linux.h> to end of file.
24637 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24638 is fine.
24639 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24640 <bits/mman-linux.h> to end of file.
24641
24642 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24643 (MCL_CURRENT, MCL_FUTURE): Define here.
24644
5f67c04f
AK
246452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24646
8a4473cc 24647 [BZ #15232]
5f67c04f
AK
24648 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24649 attribute_hidden.
24650 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24651
c3e94a95
AK
246522013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24653
24654 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24655 fourth parameter needed for rt_sigprocmask syscall.
24656 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24657 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24658 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24659 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24660 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24661 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24662
cfb6382a
JM
246632013-03-04 Joseph Myers <joseph@codesourcery.com>
24664
24665 [BZ #13550]
24666 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24667 comment about bounded pointers.
24668 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24669 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24670
539d8e01
AJ
246712013-03-04 Andreas Jaeger <aj@suse.de>
24672
24673 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24674 common definitions.
24675
24676 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24677 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24678 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24679 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24680 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
24681 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24682
2e167a70 246832013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
24684
24685 [BZ #15055]
24686 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24687 __ieee754_sqrl instead of __sqrl.
24688
68508633
JM
246892013-03-01 Joseph Myers <joseph@codesourcery.com>
24690
24691 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24692 * sysdeps/powerpc/fpu_control.h: ... here.
24693 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24694 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24695 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24696 * sysdeps/powerpc/bits/mathinline.h: ... here.
24697
7775448e
RM
246982013-03-01 Roland McGrath <roland@hack.frob.com>
24699
24700 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24701 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24702 to just [NEED_DL_SYSINFO_DSO].
24703 * elf/dl-support.c: Likewise.
24704 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24705 * elf/rtld.c (dl_main): Likewise.
24706 * elf/setup-vdso.h (setup_vdso): Likewise.
24707 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24708 * sysdeps/unix/sysv/linux/dl-sysdep.c
24709 (_dl_discover_osversion): Likewise.
24710
4e9b5995
CD
247112013-03-01 Carlos O'Donell <carlos@redhat.com>
24712
24713 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24714 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24715
e23872c8
SP
247162013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24717
e5c74c63
SP
24718 * NEWS: Mention libm performance improvements and non-x86 PI
24719 futex support.
24720
e23872c8
SP
24721 * csu/libc-start.c (__pthread_initialize_minimal): Change
24722 function arguments.
24723 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24724
b5510883
JM
247252013-02-28 Joseph Myers <joseph@codesourcery.com>
24726
24727 [BZ #13550]
24728 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24729 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24730 <bp-sym.h> and <bp-asm.h>.
24731 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24732 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24733 and <bp-asm.h>.
24734 (memcpy): Don't use BP_SYM.
24735 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24736 <bp-asm.h>.
24737 (__mpn_add_n): Don't use BP_SYM.
24738 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24739 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24740 and <bp-asm.h>.
24741 (__mpn_addmul_1): Don't use BP_SYM.
24742 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24743 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24744 <bp-sym.h>.
24745 (_setjmp): Don't use BP_SYM.
24746 (__novmx_setjmp): Likewise.
24747 (__GI__setjmp): Likewise.
24748 (__vmx_setjmp): Likewise.
24749 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24750 <bp-sym.h>.
24751 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24752 (__bzero): Don't use BP_SYM.
24753 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24754 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24755 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24756 <bp-sym.h> and <bp-asm.h>.
24757 (memcpy): Don't use BP_SYM.
24758 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24759 <bp-sym.h> and <bp-asm.h>.
24760 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24761 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24762 <bp-sym.h> and <bp-asm.h>.
24763 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24764 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24765 <bp-asm.h>.
24766 (__mpn_lshift): Don't use BP_SYM.
24767 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24768 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24769 <bp-asm.h>.
24770 (memset): Don't use BP_SYM.
24771 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24772 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24773 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24774 <bp-asm.h>.
24775 (__mpn_mul_1): Don't use BP_SYM.
24776 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24777 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24778 <bp-sym.h> and <bp-asm.h>.
24779 (memcmp): Don't use BP_SYM.
24780 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24781 <bp-sym.h> and <bp-asm.h>.
24782 (memcpy): Don't use BP_SYM.
24783 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24784 <bp-sym.h> and <bp-asm.h>.
24785 (memset): Don't use BP_SYM.
24786 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24787 <bp-sym.h> and <bp-asm.h>.
24788 (strncmp): Don't use BP_SYM.
24789 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24790 <bp-sym.h> and <bp-asm.h>.
24791 (memcpy): Don't use BP_SYM.
24792 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24793 <bp-sym.h> and <bp-asm.h>.
24794 (memset): Don't use BP_SYM.
24795 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24796 <bp-sym.h> and <bp-asm.h>.
24797 (__memchr): Don't use BP_SYM.
24798 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24799 <bp-sym.h> and <bp-asm.h>.
24800 (memcmp): Don't use BP_SYM.
24801 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24802 <bp-sym.h> and <bp-asm.h>.
24803 (memcpy): Don't use BP_SYM.
24804 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24805 <bp-sym.h> and <bp-asm.h>.
24806 (__mempcpy): Don't use BP_SYM.
24807 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24808 <bp-sym.h> and <bp-asm.h>.
24809 (__memrchr): Don't use BP_SYM.
24810 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24811 <bp-sym.h> and <bp-asm.h>.
24812 (memset): Don't use BP_SYM.
24813 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24814 <bp-sym.h> and <bp-asm.h>.
24815 (__rawmemchr): Don't use BP_SYM.
24816 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24817 <bp-sym.h> and <bp-asm.h>.
24818 (__STRCMP): Don't use BP_SYM.
24819 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24820 <bp-sym.h> and <bp-asm.h>.
24821 (strchr): Don't use BP_SYM.
24822 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24823 <bp-sym.h> and <bp-asm.h>.
24824 (__strchrnul): Don't use BP_SYM.
24825 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24826 <bp-sym.h> and <bp-asm.h>.
24827 (strlen): Don't use BP_SYM.
24828 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24829 <bp-sym.h> and <bp-asm.h>.
24830 (strncmp): Don't use BP_SYM.
24831 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24832 <bp-sym.h> and <bp-asm.h>.
24833 (__strnlen): Don't use BP_SYM.
24834 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24835 <bp-asm.h>.
24836 (__mpn_rshift): Don't use BP_SYM.
24837 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24838 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24839 <bp-sym.h> and <bp-asm.h>.
24840 (__sigsetjmp): Don't use BP_SYM.
24841 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24842 (L(start_addresses)): Don't use BP_SYM.
24843 (_start): Likewise.
24844 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24845 <bp-asm.h>.
24846 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24847 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24848 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24849 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24850 <bp-asm.h>.
24851 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24852 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24853 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24854 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24855 <bp-asm.h>.
24856 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24857 comments.
24858 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24859 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24860 <bp-asm.h>.
24861 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24862 FIXME comments.
24863 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24864 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24865 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24866 <bp-asm.h>.
24867 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24868 comment.
24869 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24870 and <bp-asm.h>.
24871 (strncmp): Don't use BP_SYM,
24872 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24873 <bp-asm.h>.
24874 (__mpn_sub_n): Don't use BP_SYM.
24875 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24876 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24877 and <bp-asm.h>.
24878 (__mpn_submul_1): Don't use BP_SYM.
24879 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24881 <bp-sym.h> and <bp-asm.h>.
24882 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24884 <bp-sym.h> and <bp-asm.h>.
24885 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24886 comment.
24887
8d19fe64
SP
248882013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24889
24890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24891 Use ZK to minimize writes to Z.
24892 (sub_magnitudes): Simplify code a bit.
24893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24894 Use ZK to minimize writes to Z.
24895 (sub_magnitudes): Simplify code a bit.
24896
85bd816a
RM
248972013-02-27 Roland McGrath <roland@hack.frob.com>
24898
24899 * csu/gmon-start.c: Add special exception to license text.
24900
b5977bf2
RH
249012013-02-27 Richard Henderson <rth@redhat.com>
24902
24903 * scripts/config.guess: Update from config.git.
24904 * scripts/config.sub: Likewise.
24905
11d6e2f2
SP
249062013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24907
09c14ed2
SP
24908 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24909
a688864e
SP
24910 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24911
6295157a
SP
24912 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24913
b8de2202
SP
24914 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24915
11d6e2f2
SP
24916 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24917
7e80ddb8
RM
249182013-02-26 Roland McGrath <roland@hack.frob.com>
24919
24920 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24921 [$(build-shared = yes].
7e80ddb8 24922
7da6d9ed
SP
249232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24924
45f05884
SP
24925 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24926 (__mul): Reduce iterations for calculating mantissa.
24927
2236d359
SP
24928 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24929 MPTWO.
24930 (__mpranred): Likewise.
24931
7da6d9ed
SP
24932 [BZ #15160]
24933 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24934 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24935
b7688c42
PE
249362013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24937
24938 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24939 Define __attribute__.
24940
53a5c423
SP
249412013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24942
24943 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24944 unused.
24945 * posix/regex_internal.h (__attribute): Remove.
24946 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24947 (re_string_context_at): Likewise.
24948 (bitset_not): Use __attribute__ and mark function as possibly
24949 unused.
24950 (bitset_merge): Likewise.
24951 (bitset_mask): Likewise.
24952 (re_string_char_size_at): Likewise.
24953 (re_string_wchar_at): Likewise.
24954 (re_string_elem_size_at): Likewise.
24955
60f5a8b5
SP
249562013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24957
2a983a2e
SP
24958 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24959 code.
24960 (cc32): Likewise.
24961
e69804d1
SP
24962 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24963 (__acr): Likewise.
24964 (__cpy): Likewise.
24965 (norm): Likewise.
24966 (denorm): Likewise.
24967 (__dbl_mp): Likewise.
24968 (add_magnitudes): Likewise.
24969 (sub_magnitudes): Likewise.
24970 (__mul): Likewise.
24971 (__inv): Likewise.
24972
2f22a1e8
SP
24973 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24974 style.
24975
8930ddc7
SP
24976 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24977 style.
24978
dc60cb11
SP
24979 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24980 code.
24981
60f5a8b5
SP
24982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24983 up changes with default code.
24984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24985 Likewise.
24986
b4d1fd33
AM
249872013-02-24 Allan McRae <allan@archlinux.org>
24988
faf6f8bc
AM
24989 * manual/socket.texi (The Internet Namespace): Order menu items
24990 to match that in the file.
24991
b4d1fd33
AM
24992 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24993 node listing of the info page menu.
24994
2366713d
JM
249952013-02-21 Joseph Myers <joseph@codesourcery.com>
24996
24997 [BZ #13550]
24998 * sysdeps/i386/bp-asm.h: Remove file.
24999 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25000 (PARMS): Do not use macros from bp-asm.h.
25001 (S1): Likewise.
25002 (S2): Likewise.
25003 (SIZE): Likewise.
25004 (__mpn_add_n): Do not use BP_SYM
25005 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25006 "bp-asm.h".
25007 (PARMS): Do not use macros from bp-asm.h.
25008 (S1): Likewise.
25009 (SIZE): Likewise.
25010 (__mpn_addmul_1): Do not use BP_SYM
25011 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25012 "bp-asm.h".
25013 (PARMS): Do not use macros from bp-asm.h.
25014 (SIGMSK): Likewise.
25015 (_setjmp): Likewise. Do not use BP_SYM.
25016 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25017 "bp-asm.h".
25018 (PARMS): Do not use macros from bp-asm.h.
25019 (SIGMSK): Likewise.
25020 (setjmp): Likewise. Do not use BP_SYM.
25021 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25022 "bp-asm.h".
25023 (PARMS): Do not use macros from bp-asm.h.
25024 (__frexp): Do not use BP_SYM.
25025 (frexp): Likewise.
25026 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25027 "bp-asm.h".
25028 (PARMS): Do not use macros from bp-asm.h.
25029 (__frexpf): Do not use BP_SYM.
25030 (frexpf): Likewise.
25031 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25032 "bp-asm.h".
25033 (PARMS): Do not use macros from bp-asm.h.
25034 (__frexpl): Do not use BP_SYM.
25035 (frexpl): Likewise.
25036 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25037 "bp-asm.h".
25038 (PARMS): Do not use macros from bp-asm.h.
25039 (__remquo): Do not use BP_SYM.
25040 (remquo): Likewise.
25041 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25042 "bp-asm.h".
25043 (PARMS): Do not use macros from bp-asm.h.
25044 (__remquof): Do not use BP_SYM.
25045 (remquof): Likewise.
25046 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25047 "bp-asm.h".
25048 (PARMS): Do not use macros from bp-asm.h.
25049 (__remquol): Do not use BP_SYM.
25050 (remquol): Likewise.
25051 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25052 "bp-asm.h".
25053 (PARMS): Do not use macros from bp-asm.h.
25054 (DEST): Likewise.
25055 (SRC): Likewise.
25056 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25057 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25058 "bp-asm.h".
25059 (PARMS): Do not use macros from bp-asm.h.
25060 (strlen): Do not use BP_SYM.
25061 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25062 "bp-asm.h".
25063 (PARMS): Do not use macros from bp-asm.h.
25064 (S1): Likewise.
25065 (S2): Likewise.
25066 (SIZE): Likewise.
25067 (__mpn_add_n): Do not use BP_SYM.
25068 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25069 "bp-asm.h".
25070 (PARMS): Do not use macros from bp-asm.h.
25071 (S1): Likewise.
25072 (SIZE): Likewise.
25073 (__mpn_addmul_1): Do not use BP_SYM.
25074 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25075 weak_alias.
25076 (bzero): Likewise.
25077 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25078 "bp-asm.h".
25079 (PARMS): Do not use macros from bp-asm.h.
25080 (S): Likewise.
25081 (SIZE): Likewise.
25082 (__mpn_lshift): Do not use BP_SYM.
25083 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25084 "bp-asm.h".
25085 (PARMS): Do not use macros from bp-asm.h.
25086 (DEST): Likewise.
25087 (SRC): Likewise.
25088 (LEN): Likewise.
25089 (memcpy): Likewise. Do not use BP_SYM.
25090 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25091 libc_hidden_def and weak_alias.
25092 (mempcpy): Do not use BP_SYM in weak_alias.
25093 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25094 "bp-asm.h".
25095 (PARMS): Do not use macros from bp-asm.h.
25096 (DEST): Likewise.
25097 (LEN): Likewise.
25098 [!BZERO_P] (CHR): Likewise.
25099 (memset): Likewise. Do not use BP_SYM.
25100 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25101 "bp-asm.h".
25102 (PARMS): Do not use macros from bp-asm.h.
25103 (S1): Likewise.
25104 (SIZE): Likewise.
25105 (__mpn_mul_1): Do not use BP_SYM.
25106 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25107 "bp-asm.h".
25108 (PARMS): Do not use macros from bp-asm.h.
25109 (S): Likewise.
25110 (SIZE): Likewise.
25111 (__mpn_rshift): Do not use BP_SYM.
25112 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25113 "bp-asm.h".
25114 (PARMS): Do not use macros from bp-asm.h.
25115 (STR): Likewise.
25116 (CHR): Likewise.
25117 (strchr): Likewise. Do not use BP_SYM.
25118 (index): Do not use BP_SYM in weak_alias.
25119 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25120 "bp-asm.h".
25121 (PARMS): Do not use macros from bp-asm.h.
25122 (DEST): Likewise.
25123 (SRC): Likewise.
25124 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25125 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25126 "bp-asm.h".
25127 (PARMS): Do not use macros from bp-asm.h.
25128 (strlen): Do not use BP_SYM.
25129 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25130 "bp-asm.h".
25131 (PARMS): Do not use macros from bp-asm.h.
25132 (S1): Likewise.
25133 (S2): Likewise.
25134 (SIZE): Likewise.
25135 (__mpn_sub_n): Do not use BP_SYM.
25136 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25137 "bp-asm.h".
25138 (PARMS): Do not use macros from bp-asm.h.
25139 (S1): Likewise.
25140 (SIZE): Likewise.
25141 (__mpn_submul_1): Do not use BP_SYM.
25142 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25143 "bp-asm.h".
25144 (PARMS): Do not use macros from bp-asm.h.
25145 (S1): Likewise.
25146 (S2): Likewise.
25147 (SIZE): Likewise.
25148 (__mpn_add_n): Do not use BP_SYM.
25149 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25150 weak_alias.
25151 (bzero): Likewise.
25152 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25153 "bp-asm.h".
25154 (PARMS): Do not use macros from bp-asm.h.
25155 (BLK2): Likewise.
25156 (LEN): Likewise.
25157 (memcmp): Do not use BP_SYM.
25158 (bcmp): Do not use BP_SYM in weak_alias.
25159 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25160 "bp-asm.h".
25161 (PARMS): Do not use macros from bp-asm.h.
25162 (DEST): Likewise.
25163 (SRC): Likewise.
25164 (LEN): Likewise.
25165 (memcpy): Likewise. Do not use BP_SYM.
25166 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25167 "bp-asm.h".
25168 (PARMS): Do not use macros from bp-asm.h.
25169 (DEST): Likewise.
25170 (SRC): Likewise.
25171 (LEN): Likewise.
25172 (memmove): Likewise. Do not use BP_SYM.
25173 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25174 "bp-asm.h".
25175 (PARMS): Do not use macros from bp-asm.h.
25176 (DEST): Likewise.
25177 (SRC): Likewise.
25178 (LEN): Likewise.
25179 (__mempcpy): Likewise. Do not use BP_SYM.
25180 (mempcpy): Do not use BP_SYM in weak_alias.
25181 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25182 "bp-asm.h".
25183 (PARMS): Do not use macros from bp-asm.h.
25184 (DEST): Likewise.
25185 (LEN): Likewise.
25186 [!BZERO_P] (CHR): Likewise.
25187 (memset): Likewise. Do not use BP_SYM.
25188 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25189 "bp-asm.h".
25190 (PARMS): Do not use macros from bp-asm.h.
25191 (STR2): Likewise.
25192 (strcmp): Do not use BP_SYM.
25193 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25194 "bp-asm.h".
25195 (PARMS): Do not use macros from bp-asm.h.
25196 (STR): Likewise.
25197 (DELIM): Likewise.
25198 [USE_AS_STRTOK_R] (SAVE): Likewise.
25199 (FUNCTION): Likewise. Do not use BP_SYM.
25200 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25201 aliases.
25202 (strtok_r): Likewise.
25203 (__GI___strtok_r): Likewise.
25204 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25205 (PARMS): Do not use macros from bp-asm.h.
25206 (S): Likewise.
25207 (SIZE): Likewise.
25208 (__mpn_lshift): Do not use BP_SYM.
25209 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25210 (PARMS): Do not use macros from bp-asm.h.
25211 (STR): Likewise.
25212 (CHR): Likewise.
25213 (__memchr): Do not use BP_SYM.
25214 (memchr): Do not use BP_SYM in weak_alias.
25215 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25216 (PARMS): Do not use macros from bp-asm.h.
25217 (BLK2): Likewise.
25218 (LEN): Likewise.
25219 (memcmp): Do not use BP_SYM.
25220 (bcmp): Do not use BP_SYM in weak_alias.
25221 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25222 (PARMS): Do not use macros from bp-asm.h.
25223 (S1): Likewise.
25224 (SIZE): Likewise.
25225 (__mpn_mul_1): Do not use BP_SYM.
25226 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25227 "bp-asm.h".
25228 (PARMS): Do not use macros from bp-asm.h.
25229 (STR): Likewise.
25230 (CHR): Likewise.
25231 (__rawmemchr): Do not use BP_SYM.
25232 (rawmemchr): Do not use BP_SYM in weak_alias.
25233 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25234 (PARMS): Do not use macros from bp-asm.h.
25235 (S): Likewise.
25236 (SIZE): Likewise.
25237 (__mpn_rshift): Do not use BP_SYM.
25238 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25239 (PARMS): Do not use macros from bp-asm.h.
25240 (SIGMSK): Likewise.
25241 (__sigsetjmp): Likewise. Do not use BP_SYM.
25242 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25243 (_start): Do not use BP_SYM.
25244 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25245 (PARMS): Do not use macros from bp-asm.h.
25246 (DEST): Likewise.
25247 (SRC): Likewise.
25248 (__stpcpy): Likewise. Do not use BP_SYM.
25249 (stpcpy): Do not use BP_SYM in weak_alias.
25250 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25251 "bp-asm.h".
25252 (PARMS): Do not use macros from bp-asm.h.
25253 (DEST): Likewise.
25254 (SRC): Likewise.
25255 (LEN): Likewise.
25256 (__stpncpy): Likewise. Do not use BP_SYM.
25257 (stpncpy): Do not use BP_SYM in weak_alias.
25258 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25259 (PARMS): Do not use macros from bp-asm.h.
25260 (STR): Likewise.
25261 (CHR): Likewise.
25262 (strchr): Likewise. Do not use BP_SYM.
25263 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25264 "bp-asm.h".
25265 (PARMS): Do not use macros from bp-asm.h.
25266 (STR): Likewise.
25267 (CHR): Likewise.
25268 (__strchrnul): Likewise. Do not use BP_SYM.
25269 (strchrnul): Do not use BP_SYM in weak_alias.
25270 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25271 "bp-asm.h".
25272 (PARMS): Do not use macros from bp-asm.h.
25273 (STOP): Likewise.
25274 (strcspn): Do not use BP_SYM.
25275 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25276 "bp-asm.h".
25277 (PARMS): Do not use macros from bp-asm.h.
25278 (STR): Likewise.
25279 (STOP): Likewise.
25280 (strpbrk): Likewise. Do not use BP_SYM.
25281 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25282 "bp-asm.h".
25283 (PARMS): Do not use macros from bp-asm.h.
25284 (STR): Likewise.
25285 (CHR): Likewise.
25286 (strrchr): Likewise. Do not use BP_SYM.
25287 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25288 (PARMS): Do not use macros from bp-asm.h.
25289 (SKIP): Likewise.
25290 (strspn): Do not use BP_SYM.
25291 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25292 (PARMS): Do not use macros from bp-asm.h.
25293 (STR): Likewise.
25294 (DELIM): Likewise.
25295 (SAVE): Likewise.
25296 (FUNCTION): Likewise. Do not use BP_SYM.
25297 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25298 aliases.
25299 (strtok_r): Likewise.
25300 (__GI___strtok_r): Likewise.
25301 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25302 (PARMS): Do not use macros from bp-asm.h.
25303 (S1): Likewise.
25304 (S2): Likewise.
25305 (SIZE): Likewise.
25306 (__mpn_sub_n): Do not use BP_SYM.
25307 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25308 "bp-asm.h".
25309 (PARMS): Do not use macros from bp-asm.h.
25310 (S1): Likewise.
25311 (SIZE): Likewise.
25312 (__mpn_submul_1): Do not use BP_SYM.
25313 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25314 <bp-sym.h>.
25315 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25316 and <bp-asm.h>.
25317 (PARMS): Do not use macros from bp-asm.h.
25318 (FLAGS): Likewise.
25319 (PTID): Likewise.
25320 (TLS): Likewise.
25321 (CTID): Likewise.
25322 (__clone): Do not use BP_SYM.
25323 (clone): Do not use BP_SYM in weak_alias.
25324 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25325 and <bp-asm.h>.
25326 (PARMS): Do not use macros from bp-asm.h.
25327 (LEN): Likewise.
25328 (__mmap64): Do not use BP_SYM.
25329 (mmap64): Do not use BP_SYM in weak_alias.
25330 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25331 <bp-sym.h> and <bp-asm.h>.
25332 (PARMS): Do not use macros from bp-asm.h.
25333 (__posix_fadvise64_l64): Do not use BP_SYM.
25334 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25335 (PARMS): Do not use macros from bp-asm.h.
25336 (NSOPS): Likewise.
25337 (semtimedop): Do not use BP_SYM.
25338 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25339 and <bp-asm.h>.
25340
582a3cff
AM
253412013-02-21 Allan McRae <allan@archlinux.org>
25342
25343 * manual/message.texi (Charset conversion in gettext):
25344 Move @end statement to beginning of line.
25345
bab8a695
SP
253462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25347
80945231
SP
25348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25349 static.
25350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25351 Likewise.
25352
bab8a695
SP
25353 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25354 (denorm): Likewise.
25355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25357
e21d7aa7
AK
253582013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25359
25360 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25361 tail-call to the resolved function if pltexit isn't needed.
25362
4c7a4263
SP
253632013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25364
25365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25366 or Y being zero as being unlikely.
25367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25368 Likewise.
25369
41f49342
CD
253702013-02-20 Carlos O'Donell <carlos@redhat.com>
25371
25372 * manual/nss.texi (System Databases and Name Service Switch):
25373 Remove frobnicate @pxref.
25374
50022a93
TS
253752013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25376
25377 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25378 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25379
08cbd996
PM
253802013-02-20 Petr Machata <pmachata@redhat.com>
25381
25382 * elf/elf.h (R_ARM_TARGET1): New macro.
25383 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25384 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25385 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25386 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25387 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25388 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25389 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25390 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25391 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25392 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25393 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25394 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25395 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25396 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25397 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25398 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25399 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25400 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25401 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25402 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25403 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25404 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25405 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25406 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25407 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25408 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25409 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25410 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25411 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25412 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25413 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25414 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25415 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25416 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25417 (R_ARM_THM_GOT_BREL12): Likewise.
25418 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25419 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25420 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25421 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25422 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25423 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25424 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25425 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25426 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25427
c7b275d6
TS
254282013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25429
25430 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25431 __attribute_used__ to __attribute__ ((unused)).
25432
20cd7fb3
SP
254332013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25434
25435 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25436 powerpc mpa.c.
25437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25438 comment formatting.
25439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25440
92945b52
JM
254412013-02-19 Joseph Myers <joseph@codesourcery.com>
25442
25443 [BZ #13550]
25444 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25445 Remove macro.
25446 (ENTER): Remove both macro definitions.
25447 (LEAVE): Likewise.
25448 (CHECK_BOUNDS_LOW): Likewise.
25449 (CHECK_BOUNDS_HIGH): Likewise.
25450 (CHECK_BOUNDS_BOTH): Likewise.
25451 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25452 (RETURN_BOUNDED_POINTER): Likewise.
25453 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25454 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25455 (POP_ERRNO_LOCATION_RETURN): Likewise.
25456 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25457 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25458 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25459 macros.
25460 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25461 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25462 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25463 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25464 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25465 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25466 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25467 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25468 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25469 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25470 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25471 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25472 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25473 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25474 removed macros.
25475 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25476 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25477 macros.
25478 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25479 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25480 * sysdeps/i386/i586/memset.S (memset): Likewise.
25481 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25482 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25483 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25484 macros.
25485 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25486 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25487 Change uses of L(2) to L(out).
25488 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25489 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25490 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25491 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25492 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25493 removed macros.
25494 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25495 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25496 macros.
25497 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25498 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25499 (RETURN): Do not use macro LEAVE.
25500 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25501 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25502 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25503 * sysdeps/i386/i686/memset.S (memset): Likewise.
25504 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25505 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25506 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25507 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25508 Likewise.
25509 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25510 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25511 L(1_2) and L(1_3) into L(1).
25512 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25513 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25514 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25515 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25516 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25517 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25518 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25519 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25520 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25521 macros.
25522 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25523 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25524 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25525 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25526 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25527 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25528 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25529 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25530 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25531 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25532 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25533 * sysdeps/i386/strspn.S (strspn): Likewise.
25534 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25535 conditional code.
25536 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25537 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25538 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25539 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25540 L(1_3) into L(1_1).
25541 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25542 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25543 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25544 macros.
25545 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25546
2389741a
JJ
255472013-02-19 Jakub Jelinek <jakub@redhat.com>
25548
25549 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25550 macro.
25551
2016b3cd
SP
255522013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25553
e4f22324
SP
25554 * math/atest-exp.c (exp_mpn): Remove ROUND.
25555 * math/atest-exp2.c (exp_mpn): Likewise.
25556 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25557
2016b3cd
SP
25558 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25559 * stdlib/tst-tls-atexit-lib.c: Likewise.
25560 * stdlib/tst-tls-atexit.c: Likewise.
25561
4be9b544
MF
255622013-02-18 Mike Frysinger <vapier@gentoo.org>
25563
25564 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25565 and __attribute_alloc_size__.
25566
2f62b9ee
MF
255672013-02-18 Mike Frysinger <vapier@gentoo.org>
25568
25569 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25570 __attribute_alloc_size__.
25571 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25572 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25573
6ff444c4
MF
255742013-02-18 Mike Frysinger <vapier@gentoo.org>
25575
25576 * include/programs/xmalloc.h: New file.
25577 * catgets/gencat.c: Include it.
25578 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25579 * elf/pldd.c: Likewise.
25580 * iconv/iconv_charmap.c: Likewise.
25581 * iconv/iconvconfig.c: Likewise.
25582 * iconv/strtab.c: Likewise.
25583 * locale/programs/locale.c: Likewise.
25584 * locale/programs/localedef.h: Likewise.
25585 * locale/programs/simple-hash.c: Likewise.
25586 * nscd/nscd.h: Likewise.
25587 * nss/makedb.c: Likewise.
25588 * sysdeps/generic/ldconfig.h: Likewise.
25589
be179c8a
SP
255902013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25591
ba384f6e
SP
25592 * Versions.def: Add GLIBC_2.18.
25593 * include/link.h (struct link_map): New member l_tls_dtor_count.
25594 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25595 (__call_tls_dtors): Likewise.
25596 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25597 __cxa_thread_atexit_impl.
25598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25599 Likewise.
25600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25601 Likewise.
25602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25603 Likewise.
25604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25605 Likewise.
25606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25608 Likewise.
25609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25610 Likewise.
25611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25613 Likewise.
25614 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25615 (tests): Add test case tst-tls-atexit.
25616 (modules-names): Add shared library for tst-tls-atexit.
85891aca 25617 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
25618 (GLIBC_PRIVATE): Add __call_tls_dtors.
25619 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25620 for libstdc++.
25621 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25622 * stdlib/tst-tls-atexit.c: New test case.
25623 * stdlib/tst-tls-atexit-lib.c: New test case.
25624
ffaa74cf 25625 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 25626
be179c8a
SP
25627 * elf/Versions (ld): Add _dl_find_dso_for_object.
25628 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25629 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25630 (dl_open_worker): Use _dl_find_dso_for_object.
25631 * elf/dl-sym.c (do_sym): Likewise.
25632 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25633
f78b5caa
AK
256342013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25635
25636 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25637 Syntactic changes only.
25638 (_dl_runtime_profile): Do a tail-call to the resolved function.
25639
29691210
JM
256402013-02-17 Joseph Myers <joseph@codesourcery.com>
25641
25642 [BZ #13550]
25643 * sysdeps/x86_64/bp-asm.h: Remove file.
25644 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25645 <bp-sym.h> and <bp-asm.h>.
25646 (__clone): Do not use BP_SYM.
25647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25648 <bp-sym.h> and <bp-asm.h>.
25649 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25650 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25651 "bp-asm.h".
25652 (_setjmp): Do not use BP_SYM.
25653 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25654 "bp-asm.h".
25655 (setjmp): Do not use BP_SYM.
25656 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25657 libc_hidden_def.
25658 (mempcpy): Do not use BP_SYM in weak_alias.
25659 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25660 "bp-asm.h".
25661 (strchr): Do not use BP_SYM.
25662 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25663 "bp-asm.h".
25664 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25665 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25666 (_start): Do not use BP_SYM.
25667 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25668 "bp-asm.h".
25669 (strcat): Do not use BP_SYM.
25670 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25671 "bp-asm.h".
25672 (STRCMP): Do not use BP_SYM.
25673 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25674 "bp-asm.h".
25675 (STRCPY): Do not use BP_SYM.
25676 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25677 "bp-asm.h".
25678 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25679 "bp-asm.h".
25680 (FUNCTION): Do not use BP_SYM.
25681 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25682 weak_alias.
25683 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25684
f238fd19
AJ
256852013-02-17 Andreas Jaeger <aj@suse.de>
25686
25687 * time/Versions: Sort entries.
25688 * string/Versions: Likewise.
25689 * resolv/Versions: Likewise.
25690 * posix/Versions: Likewise.
25691 * iconv/Versions: Likewise.
25692 * elf/Versions: Likewise.
25693 * wcsmbs/Versions: Likewise.
25694
bd07f23c 256952013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 25696
22af19f9
SP
25697 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25698 loop termination condition.
25699
4709fe76
SP
25700 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25701 variable to calculate EZ.
25702 (__sqr): Likewise.
2d0e0f29
SP
25703
25704 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25705 the lower precision input.
25706
daaa7713
JM
257072013-02-15 Joseph Myers <joseph@codesourcery.com>
25708
25709 [BZ #13550]
25710 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25711 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25712 (run-via-rtld-prefix): Do not handle %-bp tests.
25713 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25714 (all-object-suffixes): Remove .ob.
25715 (bppfx): Remove variable.
25716 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25717 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25718 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25719 [$(build-bounded) = yes] (libtype.ob): Likewise.
25720 * Makerules (elide-routines.ob): Remove variable.
25721 (do-tests-clean): Do not handle *-bp.out.
25722 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25723 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25724 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25725 (tests): Do not include $(tests-bp.out).
25726 (xtests): Do not include $(xtests-bp.out).
25727 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25728 [$(build-bounded) = yes] ($(addprefix
25729 $(objpfx),$(binaries-bounded))): Remove rule.
25730 ($(objpfx)%-bp.out): Remove rule.
25731 * config.make.in (build-bounded): Remove variable.
25732 * crypt/Makefile [$(build-bounded) = yes]
25733 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25734 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25735 append to variable.
25736 [$(build-bounded) = yes] (install-lib): Likewise.
25737 [$(build-bounded) = yes] (generated): Likewise.
25738 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25739 Remove rule.
25740 * intl/Makefile [$(build-bounded) = yes]
25741 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25742 * math/Makefile [$(build-bounded) = yes]
25743 ($(tests:%=$(objpfx)%-bp): Likewise.
25744 * misc/Makefile [$(build-bounded) = yes]
25745 ($(objpfx)tst-tsearch-bp): Likewise.
25746 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25747 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25748 Remove dependency.
25749 * string/Makefile (o-objects.ob): Remove variable.
25750 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25751 (CFLAGS-.ob): Remove variable.
25752 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25753 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25754 both definitions of variable.
25755 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25756 (ASFLAGS-.ob): Remove variable.
25757
e97ed6dd
JM
257582013-02-14 Joseph Myers <joseph@codesourcery.com>
25759
2bdd4ca6
JM
25760 [BZ #13550]
25761 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25762 Remove __BOUNDED_POINTERS__ from condition.
25763 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25764 * string/bits/string2.h [!__NO_STRING_INLINES &&
25765 !__BOUNDED_POINTERS__]: Likewise.
25766 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25767 Likewise.
25768 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25769 Remove conditional code.
25770 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25771 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25772 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25773 condition.
25774
e97ed6dd
JM
25775 [BZ #13550]
25776 * csu/libc-start.c: Do not include <bp-sym.h>.
25777 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25778 * elf/dl-open.c: Do not include <bp-sym.h>.
25779 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25780 * math/fegetenv.c: Do not include <bp-sym.h>.
25781 (fegetenv): Do not use BP_SYM in versioned symbols.
25782 * nptl/sysdeps/pthread/bits/libc-lockP.h
25783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25784 <bp-sym.h>.
25785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25786 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25788 (__pthread_mutex_destroy): Likewise.
25789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25790 (__pthread_mutex_lock): Likewise.
25791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25792 (__pthread_mutex_trylock): Likewise.
25793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25794 (__pthread_mutex_unlock): Likewise.
25795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25796 (__pthread_mutexattr_init): Likewise.
25797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25798 (__pthread_mutexattr_destroy): Likewise.
25799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25800 (__pthread_mutexattr_settype): Likewise.
25801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25802 (__pthread_rwlock_init): Likewise.
25803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25804 (__pthread_rwlock_destroy): Likewise.
25805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25806 (__pthread_rwlock_rdlock): Likewise.
25807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25808 (__pthread_rwlock_tryrdlock): Likewise.
25809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25810 (__pthread_rwlock_wrlock): Likewise.
25811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25812 (__pthread_rwlock_trywrlock): Likewise.
25813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25814 (__pthread_rwlock_unlock): Likewise.
25815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25816 (__pthread_key_create): Likewise.
25817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25818 (__pthread_setspecific): Likewise.
25819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25820 (__pthread_getspecific): Likewise.
25821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25822 Likewise.
25823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25824 (_pthread_cleanup_push_defer): Likewise.
25825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25826 (_pthread_cleanup_pop_restore): Likewise.
25827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25828 (pthread_setcancelstate): Likewise.
25829 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25830 <bp-sym.h>.
25831 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25832 (memchr): Do not use BP_SYM in weak_alias.
25833 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25834 (fegetenv): Do not use BP_SYM in versioned symbols.
25835 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25836 (fesetenv): Do not use BP_SYM in versioned symbols.
25837 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25838 (feupdateenv): Do not use BP_SYM in versioned symbols.
25839 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25840 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25841 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25842 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25843 (open64): Do not use BP_SYM in weak_alias.
25844 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25845 (fegetenv): Do not use BP_SYM in versioned symbols.
25846 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25847 (fesetenv): Do not use BP_SYM in versioned symbols.
25848 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25849 (feupdateenv): Do not use BP_SYM in versioned symbols.
25850 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25851 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25852 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25853 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25854 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25855 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25856 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25857 <bp-sym.h>.
25858 (__libc_start_main): Do not use BP_SYM.
25859
d6752ccd
SP
258602013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25861
cb57ce60
SP
25862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25863 redundant return line.
25864 (norm): Likewise.
25865 (denorm): Likewise.
25866 (dbl_mp): Likewise.
25867 (sub_magnitudes): Likewise.
25868 (__add): Likewise.
25869 (__sub): Likewise.
25870 (__mul): Likewise.
25871 (__inv): Likewise.
25872 (__dvd): Likewise.
25873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25874 (norm): Likewise.
25875 (denorm): Likewise.
25876 (dbl_mp): Likewise.
25877 (sub_magnitudes): Likewise.
25878 (__add): Likewise.
25879 (__sub): Likewise.
25880 (__mul): Likewise.
25881 (__inv): Likewise.
25882 (__dvd): Likewise.
25883
f414520d
SP
25884 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25885 instead of __mul.
25886 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25887 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25888 (cc32): Likewise.
25889
d6752ccd
SP
25890 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25891 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25893 of __mul for squares.
25894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25895 function
25896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25897 Likewise.
25898 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25899 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25900
70d9946a
JM
259012013-02-13 Joseph Myers <joseph@codesourcery.com>
25902
25903 [BZ #13550]
25904 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25905 code.
25906 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25907 prototype or function definition. Rename ubp_* variables and
25908 parameters. Remove argv definitions conditional on
25909 [__BOUNDED_POINTERS__].
25910 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25911 * elf/dl-runtime.c (_dl_fixup): Likewise.
25912 * include/set-hooks.h (RUN_HOOK): Likewise.
25913 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25914 definition.
25915 * string/strcpy.c (strcpy): Do not use __unbounded.
25916 * sysdeps/generic/frame.h (struct layout): Likewise.
25917 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25918 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25919 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25920 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25921 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25922 (__backtrace): Likewise.
25923 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25924 use __ptrvalue.
25925 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25926 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25927 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25928 Likewise.
25929 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25930 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25931 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25932 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25933 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25934 Do not use __unbounded.
25935 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25936 Rename __unboundedrlimits parameter to rlimits in prototype.
25937 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25938 Do not use __unbounded.
25939 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25940 not use __ptrvalue.
25941 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25942 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25943 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25944 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25945 __ptrvalue or __unbounded.
25946 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25947 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25948 use __unbounded.
25949 (__new_msgctl): Do not use __ptrvalue.
25950 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25951 __unbounded.
25952 (__libc_msgrcv): Do not use __ptrvalue.
25953 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25954 startup_info): Do not use __unbounded.
25955 (__libc_start_main): Likewise. Rename ubp_* variables and
25956 parameters. Remove argv definitions conditional on
25957 [__BOUNDED_POINTERS__].
25958 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25959 __ptrvalue.
25960 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25961 use __unbounded.
25962 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25963 or __ptrvalue.
25964 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25965 use __unbounded.
25966 (__new_shmctl): Do not use __ptrvalue.
25967 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25968 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25969 Likewise.
25970 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25971 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25972 (__libc_sigaction): Likewise.
25973 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25974 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25975 Likewise.
25976 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25977
cc7834d6
OB
259782013-02-13 Ondřej Bílka <neleai@seznam.cz>
25979
ffb1ec7b 25980 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
25981
25982 * string/mempcpy.c: Implement by calling memcpy.
25983
bdf02814
SP
259842013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25985
c2af38aa
SP
25986 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25987
4e92d59e
SP
25988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25989 evaluation.
25990
909279a5
SP
25991 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25992 values in the mantissa.
25993
bdf02814
SP
25994 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25995 minimize writes to Z.
25996 (sub_magnitudes): Simplify code a bit.
25997
cd525923
RM
259982013-02-12 Roland McGrath <roland@hack.frob.com>
25999
26000 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26001 from the message. The linker prefixes all warnings with that already.
26002
7e2f0d2d
AS
260032013-02-12 Andreas Schwab <schwab@suse.de>
26004
a445af0b
AS
26005 [BZ #15078]
26006 * posix/regexec.c (extend_buffers): Add parameter min_len.
26007 (check_matching): Pass minimum needed length.
26008 (clean_state_log_if_needed): Likewise.
26009 (get_subexp): Likewise.
26010 * posix/Makefile (tests): Add bug-regex34.
26011 (bug-regex34-ENV): Define.
26012 * posix/bug-regex34.c: New file.
26013
7e2f0d2d
AS
26014 [BZ #11561]
26015 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26016 elements compare against the byte sequence of it, not its name.
26017 * posix/Makefile (tests): Add bug-regex35.
26018 (bug-regex35-ENV): Define.
26019 * posix/bug-regex35.c: New file.
26020
a175b684
TV
260212013-02-11 Tom de Vries <tom@codesourcery.com>
26022
26023 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26024 comment.
26025 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26026 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26027 (CHECK_EOL): Add undef.
26028
310998fe 260292013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26030
26031 * bits/stdlib-bsearch.h: New file.
26032 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26033 * stdlib/stdlib.h: Likewise.
41eda41d 26034
8ded91fb
RM
260352013-02-11 Roland McGrath <roland@hack.frob.com>
26036
26037 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26038 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26039 declaration.
26040 * manual/search.texi (Array Search Function): Add missing const in
26041 lfind prototype.
26042 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26043 declaration to use rlim_t.
26044 (Basic Scheduling Functions): Remove erroneous const from
26045 sched_getparam prototype. Remove erroneous * from
26046 sched_get_priority_max and sched_get_priority_min prototypes.
26047 (Resource Usage): Fix summary @comment on vtimes to refer to
26048 sys/vtimes.h rather than vtimes.h.
26049 Add missing *s in vtimes prototype.
26050 (Limits on Resources): Fix ulimit prototype to return long int.
26051 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26052 prototypes to use long int rather than double.
26053 (BSD Random): Fix initstate and setstate to use char *, not void *.
26054 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26055 prototype to make second argument 'struct aiocb64 *const[]'.
26056 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26057 (Status of AIO Operations): Remove erroneous const in aio_return and
26058 aio_return64 prototypes.
26059 (Synchronizing I/O): Fix sync prototype to return void.
26060 * manual/startup.texi (Suboptions): Remove an erroneous const in
26061 getsubopt prototype.
26062 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26063 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26064 use size_t rather than int.
26065 (Scanning All Users): Likewise for getpwent_r.
26066 (Setting Groups): Add missing const to setgroups prototype.
26067 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26068 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26069 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26070 'const void *' rather than 'const char *'.
26071 (Host Address Functions): Likewise for inet_ntop.
26072 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26073 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26074 ssize_t for return value.
26075 (Sending Data): Likewise for send, sendto, sendmsg.
26076 (Socket Option Functions): Add a missing const in setsockopt prototype.
26077 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26078 use wchar_t for the argument.
26079 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26080 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26081 take no arguments.
26082 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26083 double/float/long double for second argument.
26084 Fix return types of significand, significandf, significandl.
26085 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26086 argument in fchmod prototype.
26087 (File Owner): Use uid_t and gid_t in fchown prototype.
26088 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26089 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26090 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26091 use 'const struct dirent **' as argument types to CMP function pointer
26092 argument.
26093 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26094 (File Times): Fix summary magic @comment for struct utimbuf and utime
26095 to refer to utime.h, not time.h.
26096 * manual/string.texi (Argz Functions): Add missing const in
26097 argz_extract and argz_next prototypes.
26098 (Finding Tokens in a String): Likewise for basename.
26099 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26100 (Copying and Concatenation): Fix typo in wmemmove prototype.
26101 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26102 (Signal Stack): Remove erroneous const in sigstack prototype.
26103 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26104 prototype.
26105 (Simple Calendar Time): Likewise for stime.
26106 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26107 prototype.
26108 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26109 say sys/sysctl.h instead.
26110 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26111 and vsyslog prototypes.
26112
fe77fe6d
TV
261132013-02-11 Tom de Vries <tom@codesourcery.com>
26114
26115 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26116 Remove.
26117
3a09b620
RM
261182013-02-11 Roland McGrath <roland@hack.frob.com>
26119
26120 * misc/sys/mman.h: Fix typo in mremap comment.
26121
550a0b89
RM
261222013-02-08 Roland McGrath <roland@hack.frob.com>
26123
26124 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26125 the '\0' terminator.
26126
a2da1673
JM
261272013-02-08 Joseph Myers <joseph@codesourcery.com>
26128
26129 [BZ #13550]
26130 * debug/segfault.c: Don't include <bp-checks.h>.
26131 * sysdeps/generic/bp-checks.h: Remove file.
26132 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26133 (__GETDENTS): Don't use CHECK_N.
26134 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26135 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26136 (__getgroups): Don't use CHECK_N.
26137 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26138 (setgroups): Don't use CHECK_N.
26139 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26140 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26141 (__libc_msgrcv): Don't use CHECK_N.
26142 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26143 (__libc_msgsnd): Don't use CHECK_N.
26144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26145 <bp-checks.h>.
26146 (__libc_pread): Don't use CHECK_N.
26147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26148 include <bp-checks.h>.
26149 (__libc_pread64): Don't use CHECK_N.
26150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26151 include <bp-checks.h>.
26152 (__libc_pwrite): Don't use CHECK_N.
26153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26154 include <bp-checks.h>.
26155 (__libc_pwrite64): Don't use CHECK_N.
26156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26157 <bp-checks.h>.
26158 (__libc_pread): Don't use CHECK_N.
26159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26160 include <bp-checks.h>.
26161 (__libc_pread64): Don't use CHECK_N.
26162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26163 include <bp-checks.h>.
26164 (__libc_pwrite): Don't use CHECK_N.
26165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26166 include <bp-checks.h>.
26167 (__libc_pwrite64): Don't use CHECK_N.
26168 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26169 (do_pread): Don't use CHECK_N.
26170 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26171 (do_pread64): Don't use CHECK_N.
26172 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26173 (do_pwrite): Don't use CHECK_N.
26174 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26175 (do_pwrite64): Don't use CHECK_N.
26176 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26177 (__libc_readv): Don't use CHECK_N.
26178 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26179 (semop): Don't use CHECK_N.
26180 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26181 <bp-checks.h>.
26182 (semtimedop): Don't use CHECK_N.
26183 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26184 (__libc_pread): Don't use CHECK_N.
26185 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26186 <bp-checks.h>.
26187 (__libc_pread64): Don't use CHECK_N.
26188 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26189 <bp-checks.h>.
26190 (__libc_pwrite): Don't use CHECK_N.
26191 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26192 <bp-checks.h>.
26193 (__libc_pwrite64): Don't use CHECK_N.
26194 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26195 <bp-checks.h>.
26196 (__libc_msgrcv): Don't use CHECK_N.
26197 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26198 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26199 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26200 (__libc_writev): Don't use CHECK_N.
26201
b84660a8
RM
262022013-02-08 Roland McGrath <roland@hack.frob.com>
26203
7f3e75f8
RM
26204 * string/strcpy.c: Removed unused variable.
26205
b84660a8
RM
26206 * Makeconfig (+sysdep-includes): Define with := rather than =.
26207 Use an existing include/ subdir of each sysdeps dir before it.
26208
471514d3
CD
262092013-02-08 Carlos O'Donell <carlos@redhat.com>
26210
26211 * nscd/connection.c (register_traced_file): Comment function.
26212 [HAVE_INOTIFY] (union __inev): Define.
26213 [HAVE_INOTIFY] (inotify_check_files): New function.
26214 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26215 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26216 clear_db_cache.
26217 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26218
b2d3c3be
CD
262192013-02-08 Carlos O'Donell <carlos@redhat.com>
26220
26221 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26222 loaded if not already and that a failure is permanent.
26223
b39949d2
CD
262242013-02-08 Carlos O'Donell <carlos@redhat.com>
26225
ddacd1db 26226 [BZ #15006]
b39949d2
CD
26227 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26228 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26229
b2c9eff4
JM
262302013-02-08 Joseph Myers <joseph@codesourcery.com>
26231
f3aae3f3
JM
26232 [BZ #13550]
26233 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26234 (CHECK_1_NULL_OK): Likewise.
26235 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26236 (__fxstat): Do not use CHECK_1.
26237 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26238 <bp-checks.h>.
26239 (___fxstat64): Do not use CHECK_1.
26240 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26241 <bp-checks.h>.
26242 (__fxstatat): Do not use CHECK_1.
26243 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26244 <bp-checks.h>.
26245 (__fxstatat64): Do not use CHECK_1.
26246 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26247 <bp-checks.h>.
26248 (__fxstat): Do not use CHECK_1.
26249 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26250 <bp-checks.h>.
26251 (__fxstatat): Do not use CHECK_1.
26252 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26253 <bp-checks.h>.
26254 (__getresgid): Do not use CHECK_1.
26255 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26256 <bp-checks.h>.
26257 (__getresuid): Do not use CHECK_1.
26258 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26259 <bp-checks.h>.
26260 (__lxstat): Do not use CHECK_1.
26261 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26262 <bp-checks.h>.
26263 (__old_msgctl): Do not use CHECK_1.
26264 (__new_msgctl): Likewise.
26265 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26266 <bp-checks.h>.
26267 (__new_setrlimit): Do not use CHECK_1.
26268 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26269 <bp-checks.h>.
26270 (__old_shmctl): Do not use CHECK_1.
26271 (__new_shmctl): Likewise.
26272 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26273 <bp-checks.h>.
26274 (__xstat): Do not use CHECK_1.
26275 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26276 (__lxstat): Do not use CHECK_1.
26277 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26278 <bp-checks.h>.
26279 (___lxstat64): Do not use CHECK_1.
26280 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26281 (__old_msgctl): Do not use CHECK_1.
26282 (__new_msgctl): Likewise.
26283 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26284 <bp-checks.h>.
26285 (__gettimeofday): Do not use CHECK_1.
26286 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26287 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26288 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26289 <bp-checks.h>.
26290 (__gettimeofday): Do not use CHECK_1.
26291 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26292 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26293 (__new_shmctl): Do not use CHECK_1.
26294 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26295 <bp-checks.h>.
26296 (do_sigtimedwait): Do not use CHECK_1.
26297 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26298 <bp-checks.h>.
26299 (do_sigwaitinfo): Do not use CHECK_1.
26300 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26301 <bp-checks.h>.
26302 (msgctl): Do not use CHECK_1.
26303 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26304 <bp-checks.h>.
26305 (shmctl): Do not use CHECK_1.
26306 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26307 (ustat): Do not use CHECK_1.
26308 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26309 <bp-checks.h>.
26310 (__fxstat): Do not use CHECK_1.
26311 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26312 <bp-checks.h>.
26313 (__fxstatat): Do not use CHECK_1.
26314 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26315 <bp-checks.h>.
26316 (__lxstat): Do not use CHECK_1.
26317 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26318 <bp-checks.h>.
26319 (__xstat): Do not use CHECK_1.
26320 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26321 (__xstat): Do not use CHECK_1.
26322 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26323 (___xstat64): Do not use CHECK_1.
26324
b2c9eff4
JM
26325 [BZ #13550]
26326 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26327 definitions.
26328 (CHECK_BOUNDS_HIGH): Likewise.
26329 * string/strcpy.c: Do not include <bp-checks.h>.
26330 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26331
f1d70dad
RM
263322013-02-07 Roland McGrath <roland@hack.frob.com>
26333
26334 * nscd/nscd-client.h (__nscd_drop_map_ref):
26335 Add __attribute__ ((unused)).
26336 * nis/nss-nisplus.h (niserr2nss): Likewise.
26337
26338 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26339 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26340
26341 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26342 Remove inline keyword.
26343 * include/rounding-mode.h (round_away): Likewise.
26344 * libio/wfileops.c (adjust_wide_data): Likewise.
26345 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26346 (__m128i_strloadu_tolower): Likewise.
26347 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26348 (__m128i_strloadu_tolower): Likewise.
26349 * time/mktime.c (ydhms_diff): Likewise.
26350 * locale/elem-hash.h (elem_hash): Likewise.
26351 * locale/setlocale.c (setdata): Likewise.
26352 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26353 (re_string_wchar_at): Likewise.
26354 (bitset_not, bitset_merge, bitset_mask): Likewise.
26355 [!(__GNUC__ > 3)] (inline): Remove macro.
26356 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26357 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26358 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26359 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26360 * string/memcmp.c (memcmp_bytes): Likewise.
26361 * locale/programs/locarchive.c (compute_hashval): Likewise.
26362 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26363 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26364 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26365 * nss/getent.c (print_rpc, print_protocols): Likewise.
26366 (print_passwd, print_group, print_aliases): Likewise.
26367 * nis/nss-nisplus.h (niserr2nss): Likewise.
26368 * nscd/connections.c (restart_p): Likewise.
26369 Change return type to bool.
26370
eab55bfb
RM
263712013-02-05 Roland McGrath <roland@hack.frob.com>
26372
7bd642f5
RM
26373 * Makeconfig (all-Depend-files): Add existing
26374 $(sorted-subdirs:=/Depend) files.
26375 (all-subdirs): Remove nss.
26376 * sysdeps/unix/inet/Subdirs: Add it here instead.
26377 * hesiod/Depend: New file.
26378
573c29b2
RM
26379 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26380 instead of calling alloca.
26381
b2e25af0
RM
26382 * io/lseek.c (__lseek): Rename to __libc_lseek.
26383 Define __lseek as an alias.
26384
eab55bfb
RM
26385 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26386
9a0d1941
CD
263872013-02-04 Carlos O'Donell <carlos@redhat.com>
26388
26389 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26390 else clause and remove check for non-standard endianness.
26391
b83bbec4
DM
263922013-02-04 David S. Miller <davem@davemloft.net>
26393
26394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26395
6277fdab
JM
263962013-02-04 Joseph Myers <joseph@codesourcery.com>
26397
26398 [BZ #13550]
26399 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26400 (__ubp_memchr): Remove prototype.
26401 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26402 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26403 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26404 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26405 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26406 Remove alias.
26407 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26408 (__ubp_memchr): Likewise.
26409 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26410 (__ubp_memchr): Likewise.
26411 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26412 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26413 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26414 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26415 CHECK_STRING.
26416 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26417 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26418 (__getcwd): Do not use CHECK_STRING.
26419 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26420 <bp-checks.h>.
26421 (__real_chown): Do not use CHECK_STRING.
26422 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26423 <bp-checks.h>.
26424 (fchownat): Do not use CHECK_STRING.
26425 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26426 CHECK_STRING.
26427 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26428 <bp-checks.h>.
26429 (__lchown): Do not use CHECK_STRING.
26430 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26431 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26432 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26433 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26435 include <bp-checks.h>.
26436 (truncate64): Do not use CHECK_STRING.
26437 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26438 <bp-checks.h>.
26439 (__real_chown): Do not use CHECK_STRING.
26440 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26441 <bp-checks.h>.
26442 (__lchown): Do not use CHECK_STRING.
26443 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26444 <bp-checks.h>.
26445 (__chown): Do not use CHECK_STRING.
26446 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26447 <bp-checks.h>.
26448 (truncate64): Do not use CHECK_STRING.
26449 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26450 Likewise.
26451 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26452 (__xmknod): Do not use CHECK_STRING.
26453 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26454 <bp-checks.h>.
26455 (__xmknodat): Do not use CHECK_STRING.
26456 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26457 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26458
903ae060
AS
264592013-02-04 Andreas Schwab <schwab@suse.de>
26460
26461 [BZ #14142]
26462 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26463 * include/netdb.h: Likewise for h_errno.
26464 * elf/tst-stackguard1.c: Include <tls.h>.
26465
542f9466
JK
264662013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26467
26468 * elf/link.h (struct link_map): Extend the l_addr comment.
26469 * include/link.h (struct link_map): Likewise.
26470
e782a927
JM
264712013-02-01 Joseph Myers <joseph@codesourcery.com>
26472
26473 [BZ #13550]
26474 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26475 (BOUNDED_1): Remove macro.
26476 * debug/backtrace.c: Don't include <bp-checks.h>.
26477 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26478 (__backtrace): Likewise.
26479 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26480 <bp-checks.h>.
26481 (__backtrace): Don't use BOUNDED_1.
26482 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26483 <bp-checks.h>.
26484 (__backtrace): Don't use BOUNDED_1.
26485 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26486 (__backtrace): Don't use BOUNDED_1.
26487 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26488 (shmat): Don't use BOUNDED_N.
26489
8cf28c5e
JM
264902013-01-31 Joseph Myers <joseph@codesourcery.com>
26491
3a7ac8a0
JM
26492 [BZ #13550]
26493 * sysdeps/generic/bp-start.h: Remove file.
26494 * csu/libc-start.c: Don't include <bp-start.h>.
26495 (LIBC_START_MAIN): Set up __environ directly instead of using
26496 INIT_ARGV_and_ENVIRON.
26497 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26498 <bp-start.h>.
26499
f3499f95
JM
26500 [BZ #13550]
26501 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26502 definitions.
26503 (CHECK_FCNTL): Likewise.
26504 (CHECK_N_PAGES): Likewise.
26505
32a45bea
JM
26506 [BZ #13550]
26507 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26508 definitions.
26509 (CHECK_SIGSET_NULL_OK): Likewise.
26510 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26511 <bp-checks.h>.
26512 (sigpending): Don't use CHECK_SIGSET.
26513 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26514 <bp-checks.h>.
26515 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26516 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26517 <bp-checks.h>.
26518 (do_sigsuspend): Don't use CHECK_SIGSET.
26519 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26520 use CHECK_SIGSET.
26521 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26522 (do_sigwait): Don't use CHECK_SIGSET.
26523 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26524 use CHECK_SIGSET.
26525 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26526 include <bp-checks.h>.
26527 (sigpending): Don't use CHECK_SIGSET.
26528 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26529 include <bp-checks.h>.
26530 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26531 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26532 <bp-checks.h>.
26533 (sigpending): Don't use CHECK_SIGSET.
26534 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26535 <bp-checks.h>.
26536 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26537
2e8a5c8c
JM
26538 [BZ #13550]
26539 * sysdeps/generic/bp-semctl.h: Remove file.
26540 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26541 <bp-checks.h> and <bp-semctl.h>.
26542 (__old_semctl): Don't use CHECK_SEMCTL.
26543 (__new_semctl): Likewise.
26544 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26545 and <bp-semctl.h>.
26546 (__old_semctl): Don't use CHECK_SEMCTL.
26547 (__new_semctl): Likewise.
26548 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26549 <bp-checks.h> and <bp-semctl.h>.
26550 (__old_semctl): Don't use CHECK_SEMCTL.
26551 (__new_semctl): Likewise.
26552 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26553 <bp-checks.h> and <bp-semctl.h>.
26554 (semctl): Don't use CHECK_SEMCTL.
26555
c2d54929
JM
26556 [BZ #13550]
26557 * Makerules (elide-bp-thunks): Remove variable.
26558 (elide-routines.oS): Don't use $(elide-bp-thunks).
26559 (elide-routines.os): Likewise.
26560 (elide-routines.o): Likewise.
26561 (elide-routines.op): Likewise.
26562 (elide-routines.og): Likewise.
26563 (objects): Don't use $(bp-thunks).
26564 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26565 include.
26566 (common-generated): Do not add s-proto-bp.d.
26567 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26568 (int): Likewise.
26569 (typ): Likewise.
26570 Do not generate makefile rules for bounded-pointer thunks.
26571 * sysdeps/generic/bp-thunks.h: Remove file.
26572 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26573 * sysdeps/unix/s-proto-bp.S: Likewise.
26574
8cf28c5e
JM
26575 [BZ #15062]
26576 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26577 parts of result separately when argument is not close to line from
26578 -i to i and one part of argument is small.
26579 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26580 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26581 * math/libm-test.inc (cacos_test): Add more tests.
26582 (casin_test): Likewise.
26583 (casinh_test): Likewise.
26584 * sysdeps/i386/fpu/libm-test-ulps: Update.
26585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26586
c4e33b8d
DM
265872013-01-31 David S. Miller <davem@davemloft.net>
26588
26589 * po/de.po: Update from translation team.
26590
3b60b421
MK
265912013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26592
26593 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26594
bb931195
TS
265952013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26596
b5a5da23
TS
26597 * configure.in (_AC_PROG_CC_C89): New definition.
26598 * configure: Regenerate.
26599
bb931195
TS
26600 * configure.in (AC_PROG_CPP): New definition.
26601 * configure: Regenerate.
26602
8c53a12c
JM
266032013-01-23 Joseph Myers <joseph@codesourcery.com>
26604
26605 * debug/tst-backtrace.h: New file.
26606 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26607 (ret): Remove variable.
26608 (x): Likewise.
26609 (FAIL): Remove macro.
26610 (NO_INLINE): Likewise.
26611 (fn1): Use match function instead of strstr.
26612 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26613 (ret): Remove variable.
26614 (x): Likewise.
26615 (FAIL): Remove macro.
26616 (NO_INLINE): Likewise.
26617 (fn): Use match function instead of strstr.
26618 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26619 (ret): Remove variable.
26620 (x): Likewise.
26621 (FAIL): Remove macro.
26622 (NO_INLINE): Likewise.
26623 (handle_signal): Use match function instead of strstr.
26624 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26625 (ret): Remove variable.
26626 (x): Likewise.
26627 (FAIL): Remove macro.
26628 (NO_INLINE): Likewise.
26629 (handle_signal): Use match function instead of strstr.
26630
4858fa2a
RM
266312013-01-23 Roland McGrath <roland@hack.frob.com>
26632
26633 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26634
bae8e7f5
DM
266352013-01-23 David S. Miller <davem@davemloft.net>
26636
26637 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26638 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26639 argument of CAS if possible.
26640 * sysdeps/sparc/sparc64/bits/atomic.h
26641 (__arch_compare_and_exchange_val_32_acq): Likewise.
26642 (__arch_compare_and_exchange_val_64_acq): Likewise.
26643
9cbbc4ae
PT
266442013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26645
26646 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26647 * sysdeps/posix/ulimit.c: ... this.
92a601b8 26648 Include <limits.h>.
67b3f58c 26649 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 26650
5655a0b5
AC
266512013-01-23 Adam Conrad <adconrad@0c3.net>
26652
26653 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26654 (LDFLAGS-tst-array5): Likewise.
26655
052aff95
JM
266562013-01-23 Joseph Myers <joseph@codesourcery.com>
26657
26658 [BZ #15036]
26659 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26660 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26661 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26662 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26663
7c1e01aa
DM
266642013-01-21 David S. Miller <davem@davemloft.net>
26665
26666 * sysdeps/sparc/backtrace.c: New file.
26667 * sysdeps/sparc/sparc32/backtrace.h: New file.
26668 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26669 * sysdeps/sparc/sparc64/backtrace.h: New file.
26670 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26671 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26672 -funwind-tables.
26673
ab087e0a
AS
266742013-01-21 Andreas Schwab <schwab@suse.de>
26675
26676 [BZ #15020]
26677 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26678 closed its stdout.
26679
ed689c2f
AS
266802013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26681
26682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26683 "mpa2.h".
26684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26685
31d470ac
JM
266862013-01-18 Joseph Myers <joseph@codesourcery.com>
26687 Mark Mitchell <mark@codesourcery.com>
26688 Tom de Vries <tom@codesourcery.com>
26689 Paul Pluzhnikov <ppluzhnikov@google.com>
26690
26691 * debug/tst-backtrace2.c: New file.
26692 * debug/tst-backtrace3.c: Likewise.
26693 * debug/tst-backtrace4.c: Likewise.
26694 * debug/tst-backtrace5.c: Likewise.
26695 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26696 (CFLAGS-tst-backtrace3.c): Likewise.
26697 (CFLAGS-tst-backtrace4.c): Likewise.
26698 (CFLAGS-tst-backtrace5.c): Likewise.
26699 (LDFLAGS-tst-backtrace2): Likewise.
26700 (LDFLAGS-tst-backtrace3): Likewise.
26701 (LDFLAGS-tst-backtrace4): Likewise.
26702 (LDFLAGS-tst-backtrace5): Likewise.
26703 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26704 tst-backtrace4 and tst-backtrace5.
26705
90567f30 267062013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
26707 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26708
26709 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26710 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26711 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26712 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26714 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26715 "+r" and remove output regs list as redundant. Add explicit inline
26716 asm to specify register of return val to work around compiler codegen
26717 bug. Remove (int) cast on return value. Add return type parameter to
26718 use in macro so that this macro does not truncate return value for
26719 64-bit values.
26720 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26721 pass to INTERNAL_VSYSCALL_NCS.
26722 (INLINE_VSYSCALL): Add 'long int' as return type to
26723 INTERNAL_VSYSCALL_NCS macro invocation.
26724 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26725 INTERNAL_VSYSCALL_NCS macro invocation.
26726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26727
d3b9ea61
SP
267282013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26729
0b57daeb
SP
26730 [BZ #14496]
26731 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26732 Fix application of SIMD FP exception mask.
26733
caa99d06
SP
26734 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26735 mp_no from a power of two.
26736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26737 __mpexp_twomm1. Use __pow_mp.
26738
d3b9ea61
SP
26739 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26740 multiplication.
26741
1dbaee3c
DM
267422013-01-17 David S. Miller <davem@davemloft.net>
26743
26744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26745
728d7b43
JM
267462013-01-17 Joseph Myers <joseph@codesourcery.com>
26747
26748 [BZ #15023]
26749 * include/complex.h: Condition contents on [!_COMPLEX_H].
26750 (__kernel_casinhf): New prototype.
26751 (__kernel_casinh): Likewise.
26752 (__kernel_casinhl): Likewise.
26753 * math/Makefile (libm_calls): Add k_casinh.
26754 * math/k_casinh.c: New file.
26755 * math/k_casinhf.c: Likewise.
26756 * math/k_casinhl.c: Likewise.
26757 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26758 finite nonzero arguments.
26759 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26760 finite nonzero arguments.
26761 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26762 finite nonzero arguments.
26763 * math/s_casinh.c: Do not include <float.h>.
26764 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26765 * math/s_casinhf.c: Do not include <float.h>.
26766 (__casinhf): Move code for finite nonzero arguments to
26767 k_casinhf.c.
26768 * math/s_casinhl.c: Do not include <float.h>.
26769 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26770 redefine.
26771 (__casinhl): Move code for finite nonzero arguments to
26772 k_casinhl.c.
26773 * math/libm-test.inc (cacos_test): Add more tests.
26774 * sysdeps/i386/fpu/libm-test-ulps: Update.
26775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26776
2a26ef3a
PT
267772013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26778
26779 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26780 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26781 [!HAVE_MREMAP]: Remove [defined linux] case.
26782 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26783
a897655d
SP
267842013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26785
26786 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26787
881ebe89 267882013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
26789
26790 * elf/elf.h (R_386_SIZE32): New relocation.
26791 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26792 R_386_SIZE32.
26793 (elf_machine_rela): Likewise.
26794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26795 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26796
59981e9b
JM
267972013-01-17 Joseph Myers <joseph@codesourcery.com>
26798
26799 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26800 (FP_FAST_FMA): Do not define.
26801 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26802 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26803 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26804 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26805 !_SOFT_FLOAT]: Likewise.
26806 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26807 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26808 value.
26809 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26810 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26811 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26812 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26813 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26814 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26815 file.
26816
cfa8054f
AS
268172013-01-16 Andreas Schwab <schwab@suse.de>
26818
26819 [BZ #14327]
26820 * include/stdlib.h (__mktemp): Add declaration.
26821 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26822 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26823
dd930cc5
SP
268242013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26825
881ebe89
SP
26826 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26827 definitions.
26828 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26829 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26830 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26831 definitions here.
26832 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26833 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26834 definitions.
26835 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26836 and ONE.
26837 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26838 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26839 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26840 definitions.
26841 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26842 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26843 definitions.
26844 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 26845
dd930cc5
SP
26846 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26847
c19a9f89
DM
268482013-01-15 David S. Miller <davem@davemloft.net>
26849
1aa61767
DM
26850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26851 trunc{,f} to libm-sysdep_routes.
26852 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26854 file.
26855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26857 file.
26858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26859 file.
26860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26862 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26863 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26864 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26865 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26866 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26867 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26868
c42d5e98
DM
26869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26870 nearbyint{,f} to libm-sysdep_routes.
26871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26873 New file.
26874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26875 file.
26876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26877 New file.
26878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26879 file.
26880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26882 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26883 file.
26884 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26885 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26886 file.
26887 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26888 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26889 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26890
c19a9f89
DM
26891 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26892 libc_feholdexcept and libc_fesetenv.
26893
357679d2
MF
268942013-01-15 Mike Frysinger <vapier@gentoo.org>
26895
26896 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26897
65a82e3d
DM
268982013-01-14 David S. Miller <davem@davemloft.net>
26899
8b954ab9
DM
26900 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26901 (SPARC_ASM_VIS2_IFUNC): Likewise.
26902 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26904 use of 'siam' instruction.
26905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26906 Likewise.
26907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26908 Likewise.
26909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26910 Likewise.
26911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26916 file.
26917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26918 file.
26919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26920 file.
26921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26922 file.
26923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26928 new VIS2 routines.
26929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26932 Likewise.
26933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26938 routines to libm-sysdep_routines.
26939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26940
65a82e3d
DM
26941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26942 fdim/fdimf to libm-sysdep_routines.
26943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26944 file.
26945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26947 file.
26948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26951 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26952 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26953 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26954 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26955
e34ab705
SP
269562013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26957
2a91b573
SP
26958 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26959 to optimize copies.
26960
1066a534
SP
26961 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26964
e34ab705
SP
26965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26966 local variable MPTWO.
26967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26968 Likewise.
26969
aba5e596
MF
269702013-01-13 Mike Frysinger <vapier@gentoo.org>
26971
26972 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26973 GLOB_NOESCAPE.
26974
e557e9e5
MF
269752013-01-13 Mike Frysinger <vapier@gentoo.org>
26976
26977 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26978
0428cec9
MF
269792013-01-13 Mike Frysinger <vapier@gentoo.org>
26980
26981 * manual/pattern.texi (glob_t): Document gl_flags.
26982 (glob64_t): Likewise.
26983
8794a964
DM
269842013-01-11 David S. Miller <davem@davemloft.net>
26985
66438c3f
RM
26986 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26987 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26988 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
26989 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26990 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26991 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26992 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26993 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26994 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26995 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26996 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26997 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26998 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26999
4ae4244d
DM
27000 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27001 sparc V9 rather than using V8 code.
27002 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27003 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27004
8794a964
DM
27005 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27006 Move to...
27007 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27008 Here.
27009
6270516e
RM
270102013-01-11 Roland McGrath <roland@hack.frob.com>
27011
27012 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27013 not in the main loop.
27014 * configure: Regenerated.
27015
6a57d931
JM
270162013-01-11 Joseph Myers <joseph@codesourcery.com>
27017
27018 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27019 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27020 to just #else.
27021 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27022 [!__GLIBC_HAVE_LONG_LONG] case.
27023 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27024 condition to just #else.
27025 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27026 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27027 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27028 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27029 unconditional.
27030 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27031 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27032 #elif condition to just #else.
27033 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27034 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27035 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27036 #elif condition to just #else.
27037
0e8529e9
SE
270382013-01-11 Steve Ellcey <sellcey@mips.com>
27039
27040 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27041 (EF_MIPS_ARCH_64): Fix value.
27042 (EF_MIPS_ARCH_32R2): New.
27043 (EF_MIPS_ARCH_64R2): New.
27044
740b3dbe
L
270452013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27046
27047 * Makeconfig (+link-pie-before-libc): New.
27048 (+link-pie-after-libc): Likewise.
27049 (+link-pie-tests): Likewise.
27050 (+link-pie): Rewritten.
27051 (link-before-libc): Remove $(config-LDFLAGS).
27052 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27053 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27054 (config-LDFLAGS): Renamed to ...
27055 (rtld-LDFLAGS): This.
27056 (rtld-tests-LDFLAGS): New macro.
27057 (link-libc-rpath-link): Likewise.
27058 (link-libc-tests-rpath-link): Likewise.
27059 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27060 (link-libc): Prepand $(link-libc-rpath-link).
27061 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27062 (test-program-prefix): New macro.
27063 (test-via-rtld-prefix): Likewise.
27064 (test-program-cmd): Likewise.
27065 (host-test-program-cmd): Likewise.
27066 * Makefile ($(common-objpfx)testrun.sh): Replace
27067 $(run-program-prefix) with $(test-program-prefix).
27068 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27069 $(rtld-LDFLAGS).
27070 ($(common-objpfx)shlib.lds): Likewise.
27071 (build-module-helper): Likewise.
27072 ($(common-objpfx)format.lds): Likewise.
27073 * Rules (binaries-pie-tests): New.
27074 (binaries-pie-notests): Likewise.
27075 (binaries-pie): Rewritten.
27076 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27077 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27078 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27079 (make-test-out): Replace $(host-built-program-cmd) with
27080 $(host-test-program-cmd).
27081 * config.make.in (build-hardcoded-path-in-tests): New variable.
27082 * configure.in (--enable-hardcoded-path-in-tests): New configure
27083 option.
27084 (hardcoded_path_in_tests): New AC_SUBST.
27085 * configure: Regenerated.
27086 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27087 $(built-program-cmd) with $(test-program-cmd).
27088 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27089 (test_program_cmd): This.
27090 * elf/Makefile ($(objpfx)order.out): Run test with
27091 $(test-program-prefix).
27092 ($(objpfx)order2.out): Likewise.
27093 ($(objpfx)tst-initorder.out): Likewise.
27094 ($(objpfx)tst-initorder2.out): Likewise.
27095 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27096 $(test-program-cmd).
27097 ($(objpfx)tst-array1-static.out): Likewise.
27098 ($(objpfx)tst-array2.out): Likewise.
27099 ($(objpfx)tst-array3.out): Likewise.
27100 ($(objpfx)tst-array4.out): Likewise.
27101 ($(objpfx)tst-array5.out): Likewise.
27102 ($(objpfx)tst-array5-static.out): Likewise.
27103 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27104 $(test-program-cmd).
27105 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27106 $(run-program-prefix) with $(test-program-prefix).
27107 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27108 (test_program_prefix): This.
27109 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27110 $(run-program-prefix) with $(test-program-prefix).
27111 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27112 (test_program_prefix): This.
27113 * iconvdata/tst-tables.sh: Likewise.
27114 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27115 $(run-program-prefix) with $(test-program-prefix).
27116 ($(objpfx)tst-translit.out): Likewise.
27117 ($(objpfx)tst-gettext2.out): Likewise.
27118 ($(objpfx)tst-gettext4.out): Likewise.
27119 ($(objpfx)tst-gettext6.out): Likewise.
27120 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27121 (test_program_prefix): This.
27122 * intl/tst-gettext2.sh: Likewise.
27123 * intl/tst-gettext4.sh Likewise.
27124 * intl/tst-gettext6.sh: Likewise.
27125 * intl/tst-translit.sh: Likewise.
27126 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27127 with $(test-program-cmd).
27128 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27129 $(run-program-prefix) with $(test-program-prefix).
27130 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27131 (test_program_prefix): This.
27132 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27133 $(run-program-prefix) with $(test-program-prefix).
27134 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27135 (test_program_prefix): This.
27136 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27137 * posix/Makefile ($(objpfx)globtest.out): Replace
27138 $(run-via-rtld-prefix) and $(test-wrapper) with
27139 $(test-program-prefix) and $(test-via-rtld-prefix).
27140 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27141 $(test-program-prefix).
27142 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27143 $(host-test-program-cmd).
27144 (tst-spawn-ARGS): Likewise.
27145 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27146 $(test-program-prefix).
27147 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27148 (test_via_rtld_prefix): This.
27149 (test_wrapper): Renamed to ...
27150 (test_program_prefix): This.
27151 (run_program_prefix): Replaced by test_program_prefix.
27152 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27153 (test_program_prefix): This.
27154 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27155 with $(host-test-program-cmd).
27156 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27157 $(run-program-prefix) with $(test-program-prefix).
27158 ($(objpfx)tst-printf.out): Likewise.
27159 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27160 $(test-program-cmd).
27161 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27162 (test_program_prefix): This.
27163 * stdio-common/tst-unbputc.sh: Likewise.
27164 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27165 $(run-program-prefix) with $(test-program-prefix).
27166 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27167 (test_program_prefix): This.
27168 * string/Makefile ($(objpfx)tst-svc.out): Replace
27169 $(built-program-cmd) with $(test-program-cmd).
27170
c6fe55cf
AJ
271712013-01-11 Andreas Jaeger <aj@suse.de>
27172
27173 [BZ #15003]
27174 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27175 value. Sync with Linux 3.7.
27176
9e6919c8
DM
271772013-01-10 David S. Miller <davem@davemloft.net>
27178
27179 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27180 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27181 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27182
1c9f1a02
RM
271832013-01-10 Roland McGrath <roland@hack.frob.com>
27184
27185 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27186 never set.
27187 * configure: Regenerated.
27188
b9de2dde
DM
271892013-01-10 David S. Miller <davem@davemloft.net>
27190
27191 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27192 sparc V9 rather than using V8 code.
27193 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27194 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27195
e7f68ef4
RM
271962013-01-10 Roland McGrath <roland@hack.frob.com>
27197
27198 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27199 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27200 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27201 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27202 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27203 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27204 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27205 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27206 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27207 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27208 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27209 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27210 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27211 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27212 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27213 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27214 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27215 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27216 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27217 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27218 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27219 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27220 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27221 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27222 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27223 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27224 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27225
5a47cc9c
DM
272262013-01-10 David S. Miller <davem@davemloft.net>
27227
27228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27229
4cf8f209
L
272302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27231
27232 * posix/Makefile (tests-static): New variable.
27233 (tests): Add $(tests-static).
27234 (tst-exec-static-ARGS): New variable.
27235 (tst-spawn-static-ARGS): Likewise.
27236 * posix/tst-exec-static.c: New file.
27237 * posix/tst-spawn-static.c: Likewise.
27238 * posix/tst-exec.c: Support run directly.
27239 * posix/tst-spawn.c: Likewise.
27240
fed0faa1
JM
272412013-01-10 Joseph Myers <joseph@codesourcery.com>
27242
828beb13
JM
27243 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27244 long.
27245 * math/bits/mathcalls.h (llrint): Likewise.
27246 (llround): Likewise.
27247 * stdlib/stdlib.h (struct drand48_data): Likewise.
27248 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27249 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27250 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27251 Likewise.
27252 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27253 Likewise.
27254 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27255 (elf_greg_t): Likewise.
27256 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27257 (__jmp_buf): Likewise.
27258 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27259 definitions.
27260 (llrint): Likewise, for all definitions.
27261 (llrintl): Likewise.
27262
fed0faa1
JM
27263 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27264 Remove [__GNUC__] condition.
27265 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27266 condition to just [__USE_ISOC99].
27267 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27268
1a20cb20
L
272692013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27270
27271 [BZ #14200]
27272 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27273 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27274 defined.
27275 (_POSIX_V6_ILP32_OFF32): Likewise.
27276 (_XBS5_ILP32_OFF32): Likewise.
27277 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27278 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27279
751b85f7
SP
272802013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27281
7490eb81
SP
27282 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27283
751b85f7
SP
27284 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27285 doubles __mpexp_twomm1. Adjust usage.
27286 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27287 Remove.
27288
988197f0
AS
272892013-01-10 Andreas Schwab <schwab@suse.de>
27290
27291 [BZ #14964]
27292 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27293 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27294
e83d7298
DM
272952013-01-09 David S. Miller <davem@davemloft.net>
27296
034ed64b 27297 [BZ #15003]
57f41c40
AS
27298 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27299 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27300 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27301 (TCP_FASTOPEN): Define.
e83d7298
DM
27302 (tcp_repair_opt): New structure.
27303 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27304 enum values.
57f41c40
AS
27305 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27306 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27307 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
27308 (tcp_cookie_transactions): New structure.
27309
d5e0b9bd
AB
273102013-01-09 Anton Blanchard <anton@samba.org>
27311
27312 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27313 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27314 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27315 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27316
0c07e3ea
JM
273172013-01-09 Joseph Myers <joseph@codesourcery.com>
27318
27319 * include/features.h (__USE_ANSI): Remove.
27320
232f7002
RM
273212013-01-09 Roland McGrath <roland@hack.frob.com>
27322
ad98e30c
RM
27323 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27324
232f7002
RM
27325 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27326
950c99ca
SP
273272013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27328
b5792741
SP
27329 * sysdeps/s390/fpu/libm-test-ulps: Update.
27330
47cf2278
SP
27331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27332
950c99ca
SP
27333 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27334 (__acr): Likewise.
27335 (__cpy): Likewise.
27336 (norm): Likewise.
27337 (denorm): Likewise.
27338 (__mp_dbl): Likewise.
27339 (__dbl_mp): Likewise.
27340 (add_magnitudes): Likewise.
27341 (sub_magnitudes): Likewise.
27342 (__add): Likewise.
27343 (__sub): Likewise.
27344 (__mul): Likewise.
27345 (__inv): Likewise.
27346 (__dvd): Likewise.
27347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27348 (__acr): Likewise.
27349 (__cpy): Likewise.
27350 (norm): Likewise.
27351 (denorm): Likewise.
27352 (__mp_dbl): Likewise.
27353 (__dbl_mp): Likewise.
27354 (add_magnitudes): Likewise.
27355 (sub_magnitudes): Likewise.
27356 (__add): Likewise.
27357 (__sub): Likewise.
27358 (__mul): Likewise.
27359 (__inv): Likewise.
27360 (__dvd): Likewise.
27361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27362 (__acr): Likewise.
27363 (__cpy): Likewise.
27364 (norm): Likewise.
27365 (denorm): Likewise.
27366 (__mp_dbl): Likewise.
27367 (__dbl_mp): Likewise.
27368 (add_magnitudes): Likewise.
27369 (sub_magnitudes): Likewise.
27370 (__add): Likewise.
27371 (__sub): Likewise.
27372 (__mul): Likewise.
27373 (__inv): Likewise.
27374 (__dvd): Likewise.
27375
eede9df9
JM
273762013-01-08 Joseph Myers <joseph@codesourcery.com>
27377
27378 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27379 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27380 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27381 2 && __USE_EXTERN_INLINES]: Likewise.
27382
c40ea3d9
AJ
273832013-01-08 Andreas Jaeger <aj@suse.de>
27384
27385 [BZ# 14985]
27386 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27387 Remove.
27388 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27389 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27390
2ccdea26
AB
273912013-01-07 Anton Blanchard <anton@samba.org>
27392
27393 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27394 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27395 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27396 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27397 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27398 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27399 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27400 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27402 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27403 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27404 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27405 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27406 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27407 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27408 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27409 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27410 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27411 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27413 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27414 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27416 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27417 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27418 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27419 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27420 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27422 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27423 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27425 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27426 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27427 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27428 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27429 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27430 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27431 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27432 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27433 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27434 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27435 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27436
a9708fed
JM
274372013-01-07 Joseph Myers <joseph@codesourcery.com>
27438
375607b9
JM
27439 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27440 (__MALLOC_PMT): Likewise.
27441 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27442 [__GNUC__], only on [_LIBC].
27443 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27444 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27445 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27446 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27447 forward declaration.
27448 (realloc_hook_ini): Likewise.
27449 (memalign_hook_ini): Likewise.
27450 (__libc_memalign): Do not use __MALLOC_PMT in variable
27451 declaration.
27452 (__libc_valloc): Likewise.
27453 (__libc_pvalloc): Likewise.
27454 (__libc_calloc): Likewise.
27455 (__posix_memalign): Likewise.
27456
a9708fed
JM
27457 [BZ #14996]
27458 * math/s_casinh.c: Include <float.h>.
27459 (__casinh): Do not do computation with squaring and square root
27460 for large arguments.
27461 * math/s_casinhf.c: Include <float.h>.
27462 (__casinhf): Do not do computation with squaring and square root
27463 for large arguments.
27464 * math/s_casinhl.c: Include <float.h>.
27465 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27466 (__casinhl): Do not do computation with squaring and square root
27467 for large arguments.
27468 * math/libm-test.inc (casin_test): Add more tests.
27469 (casinh_test): Likewise.
27470 * sysdeps/i386/fpu/libm-test-ulps: Update.
27471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27472
afec409a
L
274732013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27474
27475 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27476 (__x86_64_raw_data_cache_size): Likewise.
27477 (__x86_64_data_cache_size_half): Likewise.
27478 (__x86_64_raw_data_cache_size_half): Likewise.
27479 (__x86_64_shared_cache_size): Likewise.
27480 (__x86_64_raw_shared_cache_size): Likewise.
27481 (__x86_64_shared_cache_size_half): Likewise.
27482 (__x86_64_raw_shared_cache_size_half): Likewise.
27483 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27484 to ...
27485 (__x86_data_cache_size): This.
27486 (__x86_64_raw_data_cache_size): Renamed to ...
27487 (__x86_raw_data_cache_size): This.
27488 (__x86_64_data_cache_size_half): Renamed to ...
27489 (__x86_data_cache_size_half): This.
27490 (__x86_64_raw_data_cache_size_half): Renamed to ...
27491 (__x86_raw_data_cache_size_half): This.
27492 (__x86_64_shared_cache_size): Renamed to ...
27493 (__x86_shared_cache_size): This.
27494 (__x86_64_raw_shared_cache_size): Renamed to ...
27495 (__x86_raw_shared_cache_size): This.
27496 (__x86_64_shared_cache_size_half): Renamed to ...
27497 (__x86_shared_cache_size_half): This.
27498 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27499 (__x86_raw_shared_cache_size_half): This.
27500 * sysdeps/x86_64/memcpy.S: Updated.
27501 * sysdeps/x86_64/memset.S: Likewise.
27502 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27503 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27504 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27505
0b3986d0
DM
275062013-01-04 David S. Miller <davem@davemloft.net>
27507
27508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27509
e47686e9
AS
275102013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27511
d643bac1
AS
27512 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27513 1 to avoid redefinition warning.
27514 (__USE_GNU): Don't define.
27515 (init_signaling_nan): Protoize.
27516
e47686e9
AS
27517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27518
b18decba
SP
275192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27520
fffb407f
SP
27521 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27523 (__cpymn): Likewise.
27524 (norm): Remove commented code.
27525 (denorm): Likewise.
27526 (__mp_dbl): Likewise.
27527 (__inv): Likewise.
27528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27529 (__cpymn): Likewise.
27530 (norm): Remove commented code.
27531 (denorm): Likewise.
27532 (__mp_dbl): Likewise.
27533 (__inv): Likewise.
27534
b18decba
SP
27535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27536 mp_no value for 1.0 and 2.0.
27537 (norm): Use RADIXI instead of radixi.d.
27538 (denorm): Likewise.
27539 (__mul): Use 0.0 instead of zero.d.
27540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27541 mp_no value for 1.0 and 2.0.
27542 (norm): Use RADIXI instead of radixi.d.
27543 (denorm): Likewise.
27544 (__mul): Use 0.0 instead of zero.d.
27545
cdc1c96f
JM
275462013-01-04 Joseph Myers <joseph@codesourcery.com>
27547
27548 [BZ #14994]
27549 * math/s_casinh.c (__casinh): Reduce finite argument to first
27550 quadrant then set signs of results at the end.
27551 * math/s_casinhf.c (__casinhf): Likewise.
27552 * math/s_casinhl.c (__casinhl): Likewise.
27553 * math/libm-test.inc (casin_test): Add more tests.
27554 (casinh_test): Likewise.
27555 * sysdeps/i386/fpu/libm-test-ulps: Update.
27556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27557
302913e1
SP
275582013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27559
6420d207
SP
27560 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27561
a9e48ab4
SP
27562 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27563
b7837264
SP
27564 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27565 declarations.
27566 (denorm): Likewise.
27567 (__mp_dbl): Likewise.
27568 (__inv): Likewise.
27569
f8af25d2
SP
27570 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27571 and adjust the header comment.
27572
302913e1
SP
27573 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27574 variable name from declaration.
27575
5d7dd1ca
L
275762013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27577
27578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27579 Initialize COMMON_CPUID_INDEX_7 element.
27580 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27581 (CPUID_RTM): Likewise.
27582 (HAS_RTM): Likewise.
27583 (COMMON_CPUID_INDEX_7): New enum.
27584
2f5f40f4
AS
275852013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27586
27587 [BZ #14981]
27588 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27589 size is zero, record memory as freed.
27590
4056f4a0
AJ
275912013-01-03 Andreas Jaeger <aj@suse.de>
27592
27593 * po/ia.po: Add new Interlingua translation.
27594
ab15736f 275952012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
27596
27597 * locale/programs/localedef.c: Fix description of '--posix' flag.
27598
568035b7
JM
275992013-01-02 Joseph Myers <joseph@codesourcery.com>
27600
e6898b8d
JM
27601 * NEWS: Update dates in second copyright notice.
27602 * README: Update copyright dates in example.
27603 * manual/libc.texinfo: Update copyright dates.
27604 * scripts/test-installation.pl: Update copyright date in --version
27605 output.
27606
0e2f9562
JM
27607 * hurd/ctty-input.c: Fix copyright notice formatting.
27608 * hurd/ctty-output.c: Likewise.
27609 * hurd/dtable.c: Likewise.
27610 * hurd/hurd-raise.c: Likewise.
27611 * hurd/hurdprio.c: Likewise.
27612 * hurd/msgportdemux.c: Likewise.
27613 * misc/sys/file.h: Likewise.
27614 * misc/sys/ioctl.h: Likewise.
27615 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27616 * sysdeps/mach/hurd/chdir.c: Likewise.
27617 * sysdeps/mach/hurd/fchdir.c: Likewise.
27618 * sysdeps/mach/hurd/rename.c: Likewise.
27619 * sysdeps/mach/hurd/rmdir.c: Likewise.
27620 * sysdeps/mach/hurd/seekdir.c: Likewise.
27621 * sysdeps/mach/hurd/setsid.c: Likewise.
27622 * sysdeps/posix/wait3.c: Likewise.
27623
568035b7
JM
27624 * All files with FSF copyright notices: Update copyright dates
27625 using scripts/update-copyrights.
27626 * intl/plural.c: Regenerated.
27627 * locale/programs/charmap-kw.h: Likewise.
27628 * locale/programs/locfile-kw.h: Likewise.
27629
da08f647
SP
276302013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27631
0f5477af
SP
27632 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27633 four values.
27634
44e0d4c2
SP
27635 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27636 calculation loop and add branch prediction.
27637
4d55b4e5
SP
27638 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27639 check access beyond bounds of m1np.
27640
da08f647
SP
27641 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27642 MPTWO.
27643 (__inv): Remove local variable MPTWO to use the global
27644 constant.
27645 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27646 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27647 variable MPTWO.
27648 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27649 MP3HALFS static const.
27650
8e051029
DM
276512013-01-01 David S. Miller <davem@davemloft.net>
27652
27653 * po/ca.po: Update from translation team.
27654
f4cf5f2d
JM
276552013-01-01 Joseph Myers <joseph@codesourcery.com>
27656
27657 * scripts/update-copyrights: New file.
27658 * Makeconfig: Reformat copyright notice.
27659 * ctype/ctype.h: Likewise.
27660 * debug/swprintf_chk.c: Likewise.
27661 * elf/dl-cache.c: Likewise.
27662 * elf/dl-debug.c: Likewise.
27663 * elf/dl-object.c: Likewise.
27664 * grp/initgroups.c: Likewise.
27665 * hurd/Makefile: Likewise.
27666 * hurd/hurd/signal.h: Likewise.
27667 * hurd/hurdfault.c: Likewise.
27668 * hurd/hurdioctl.c: Likewise.
27669 * hurd/hurdlookup.c: Likewise.
27670 * hurd/intr-msg.c: Likewise.
27671 * iconv/gconv_open.c: Likewise.
27672 * libio/swprintf.c: Likewise.
27673 * locale/lc-ctype.c: Likewise.
27674 * locale/nl_langinfo.c: Likewise.
27675 * mach/Machrules: Likewise.
27676 * mach/Makefile: Likewise.
27677 * malloc/obstack.h: Likewise.
27678 * manual/Makefile: Likewise.
27679 * manual/tsort.awk: Likewise.
27680 * misc/bits/stab.def: Likewise.
27681 * nis/nis_print_group_entry.c: Likewise.
27682 * nis/nis_table.c: Likewise.
27683 * nis/nss_compat/compat-pwd.c: Likewise.
27684 * nis/nss_compat/compat-spwd.c: Likewise.
27685 * po/Makefile: Likewise.
27686 * posix/fnmatch.c: Likewise.
27687 * posix/regex.h: Likewise.
27688 * resolv/Makefile: Likewise.
27689 * resolv/nss_dns/dns-network.c: Likewise.
27690 * resolv/res_hconf.c: Likewise.
27691 * scripts/gen-sorted.awk: Likewise.
27692 * soft-fp/soft-fp.h: Likewise.
27693 * stdio-common/printf.h: Likewise.
27694 * stdlib/monetary.h: Likewise.
27695 * stdlib/random.c: Likewise.
27696 * stdlib/random_r.c: Likewise.
27697 * sysdeps/generic/Makefile: Likewise.
27698 * sysdeps/gnu/Makefile: Likewise.
27699 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27706 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27709 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27710 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27711 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27712 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27713 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27714 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27715 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27717 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27718 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27719 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27720 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27721 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27722 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27723 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27725 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27727 * sysdeps/mach/hurd/errnos.awk: Likewise.
27728 * sysdeps/mach/hurd/fork.c: Likewise.
27729 * sysdeps/mach/hurd/getcwd.c: Likewise.
27730 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27731 * sysdeps/mach/hurd/mmap.c: Likewise.
27732 * sysdeps/mach/hurd/utimes.c: Likewise.
27733 * sysdeps/mach/hurd/xmknod.c: Likewise.
27734 * sysdeps/posix/profil.c: Likewise.
27735 * sysdeps/posix/readdir_r.c: Likewise.
27736 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27737 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27738 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27739 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27741 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27742 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27743 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27745 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27746 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27747 * sysdeps/pthread/lio_listio.c: Likewise.
27748 * sysdeps/sparc/dl-procinfo.h: Likewise.
27749 * sysdeps/unix/i386/sysdep.S: Likewise.
27750 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27751 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27752 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27753 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27755 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27756 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27757 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27758 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27759 * sysdeps/wordsize-32/divdi3.c: Likewise.
27760 * time/sys/time.h: Likewise.
27761 * wcsmbs/Makefile: Likewise.
27762
0549fbba
DM
277632013-01-01 David S. Miller <davem@davemloft.net>
27764
a141f1a7
DM
27765 * po/fr.po: Update from translation team.
27766
0549fbba
DM
27767 * catgets/gencat.c: Update copyright year.
27768 * csu/version.c: Likewise.
27769 * debug/catchsegv.sh: Likewise.
27770 * debug/pcprofiledump.c: Likewise.
27771 * debug/xtrace.sh: Likewise.
27772 * elf/ldconfig.c: Likewise.
27773 * elf/ldd.bash.in: Likewise.
27774 * elf/pldd.c: Likewise.
27775 * elf/sotruss.ksh: Likewise.
27776 * elf/sprof.c: Likewise.
27777 * iconv/iconv_prog.c: Likewise.
27778 * iconv/iconvconfig.c: Likewise.
27779 * locale/programs/locale.c: Likewise.
27780 * locale/programs/localedef.c: Likewise.
27781 * login/programs/pt_chown.c: Likewise.
27782 * malloc/memusage.sh: Likewise.
27783 * malloc/memusagestat.c: Likewise.
27784 * malloc/mtrace.pl: Likewise.
27785 * nscd/nscd.c: Likewise.
27786 * nss/getent.c: Likewise.
27787 * nss/makedb.c: Likewise.
27788 * posix/getconf.c: Likewise.
27789
18ea052c
SP
277902012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27791
27792 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27793 numbers.
27794
9c89fca6
MF
277952012-12-30 Mike Frysinger <vapier@gentoo.org>
27796
27797 * math/bits/mathcalls.h (modf): Use __nonnull.
27798
085ec079
SP
277992012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27800
27801 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27802 (split): Use macro CN instead of the bare value.
27803 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27804 could be used.
27805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27806 instead of the bare value.
27807 (power1): Likewise.
27808
6d9f97e1
SP
278092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27810
d63f73be
SP
27811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27812 __ATAN_TWOM.
27813 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27814
6d9f97e1
SP
27815 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27816 their values.
27817 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27818 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27819 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27820 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27821
4c4febf5
AJ
278222012-12-28 Andreas Jaeger <aj@suse.de>
27823
af5843ef
AJ
27824 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27825 values are from Linux 3.7.
27826
4c4febf5
AJ
27827 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27828 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27829
99136f82
SP
278302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27831
2f216c3c 27832 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
27833 TRUE case.
27834
99136f82
SP
27835 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27836 (norm): Likewise.
27837 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27838 variables with preprocessor constants.
27839 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27840 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27841 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27842
7fffbdff
BH
278432012-12-27 Bruno Haible <bruno@clisp.org>
27844
27845 [BZ #14317]
27846 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27847 only if needed.
27848
b76eb5f0
SP
278492012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27850
31a7fe5c
SP
27851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27852 and use variable directly.
27853 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27854
b76eb5f0
SP
27855 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27856 MPONE.
27857 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27859 variable MPONE.
27860 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27861 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27862 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27863 include directive. Remove local variable MPONE.
27864 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27865 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27866 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27867
2c8bfe7d
DM
278682012-12-25 David S. Miller <davem@davemloft.net>
27869
27870 * version.h (RELEASE): Set to "development".
27871 (VERSION): Set to "2.17.90".
27872 * NEWS: Add 2.18 section.
27873
147d03b0
DM
278742012-12-21 David S. Miller <davem@davemloft.net>
27875
27876 * po/hr.po: Update from translation team.
27877
a8ebb2b9
AK
278782012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27879
27880 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27881
95b4f1b6
SE
278822012-12-19 Steve Ellcey <sellcey@mips.com>
27883
b2d94007 27884 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 27885
cedb2a90
MS
278862012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27887
27888 * manual/contrib.texi (Contributors): Spelling correction.
27889
bbf527d6
DM
278902012-12-15 David S. Miller <davem@davemloft.net>
27891
27892 * po/ru.po: Update from translation team.
27893
bc38c906
DM
278942012-12-13 David S. Miller <davem@davemloft.net>
27895
85429b1a
DM
27896 * NEWS: Mention IFUNC testsuite enhancements.
27897
d283e353
DM
27898 * po/pl.po: Update from translation team.
27899 * po/bg.po: Likewise.
27900
bc38c906
DM
27901 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27902 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27903
a181b0d7
DM
279042012-12-11 David S. Miller <davem@davemloft.net>
27905
4641d57e
DM
27906 * po/sv.po: Update from translation team.
27907
f7bc6495
DM
27908 * po/vi.po: Update from translation team.
27909
6fc9048f
DM
27910 * po/cs.po: Update from translation team.
27911
a181b0d7
DM
27912 * po/de.po: Update from translation team.
27913 * po/eo.po: Likewise.
27914 * po/nl.po: Likewise.
27915
f70bfe80
SP
279162012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27917
3c8b4190
SP
27918 [BZ #14246]
27919 * manual/argp.texi (Argp Helper Functions): Move node to follow
27920 Argp Parsing State.
27921
f70bfe80
SP
27922 [BZ #14872]
27923 * manual/conf.texi (Limits on File System Capacity): Mention if
27924 terminating null is included in the max size.
27925
188f0adf
AJ
279262012-12-10 Andreas Jaeger <aj@suse.de>
27927
27928 * po/cs.po: Update from translation team.
27929
56e7d3ad
SP
279302012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27931
27932 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27933 void pointer and cast to uintptr_t.
27934 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27935 path.
27936 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27937 * sysdeps/s390/s390-64/memset.S: Likewise.
27938
76f2d2ea 279392012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
27940
27941 [BZ #14833]
27942 * menual/message.texi (Message Translation): Fix typos.
27943 (Helper programs for gettext): Likewise.
27944
67cbf9a2
AS
279452012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27946
27947 [BZ #14898]
27948 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27949 Change to -1.
27950
682d0e9a
DM
279512012-12-07 David S. Miller <davem@davemloft.net>
27952
27953 * po/libc.pot: Update.
27954
573cd484
RH
279552012-12-07 Richard Henderson <rth@redhat.com>
27956
7e9da188 27957 [BZ #10114]
573cd484
RH
27958 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27959 normal/normal case to before the switch.
27960 (_FP_DIV): Likewise.
27961
e933a943
MF
279622012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27963 Mike Frysinger <vapier@gentoo.org>
27964
27965 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27966 check for __NR_fadvise64_64.
27967
82123268
CM
279682012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27969
27970 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27971 0, not just to plain "0" as a statement.
27972 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27973 with cw.
27974
d9814526
JM
279752012-12-06 Joseph Myers <joseph@codesourcery.com>
27976
27977 * NEWS: Use sourceware.org in Bugzilla URL.
27978
7728c574
SP
279792012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27980
f16946dd
SP
27981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27982 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27983
5704bbcb
SP
27984 * stdio-common/tst-put-error.c (do_test): Add newline to the
27985 padded test to ensure flush.
27986
17aa0516
JL
279872012-12-05 Jeff Law <law@redhat.com>
27988
27989 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27990
363313b5
JM
279912012-12-05 Joseph Myers <joseph@codesourcery.com>
27992
effbd42a
JM
27993 * README: Don't refer to ports add-on as distributed separately.
27994 Mention AArch64 in list of systems supported in the ports add-on.
27995
87600365
JM
27996 * LICENSES: Add more non-FSF copyright and license notices.
27997
a0d7066a
JM
27998 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27999 ((unused)).
28000
66ca5a5b
JM
28001 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28002
363313b5
JM
28003 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28004 10000 as width of padded output.
28005
b37984ad
JM
280062012-12-04 Joseph Myers <joseph@codesourcery.com>
28007
9003570a
JM
28008 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28009
b37984ad
JM
28010 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28011 variable LX with __attribute__ ((unused)).
28012 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28013 Likewise.
28014 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28015 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28016 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28017 with __attribute__ ((unused)).
28018
c8df52ec
DM
280192012-12-04 David S. Miller <davem@abraco.davemloft.net>
28020
28021 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28022
b3b099af
JM
280232012-12-04 Joseph Myers <joseph@codesourcery.com>
28024
c33aa6e3
JM
28025 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28026 (CFLAGS-nldbl-acos.c): New variable.
28027 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28028 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28029 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28030 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28031 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28032 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28033 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28034 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28035 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28036 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28037 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28038 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28039 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28040 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28041 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28042 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28043 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28044 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28045 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28046 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28047 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28048 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28049 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28050 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28051 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28052 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28053 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28054 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28055 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28056 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28057 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28058 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28059 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28060 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28061 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28062 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28063 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28064 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28065 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28066 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28067 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28068 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28069 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28070 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28071 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28072 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28073 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28074 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28075 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28076 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28077 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28078 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28079 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28080 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28081 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28082 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28083 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28084 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28085 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28086 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28087 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28088 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28089 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28090 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28091 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28092 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28093 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28094 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28095 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28096 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28097 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28098 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28099 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28100 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28101 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28102 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28103 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28104 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28105 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28106 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28107 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28108 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28109 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28110 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28111 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28112 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28113 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28114 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28115 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28116 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28117 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28118 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28119 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28120 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28121 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28122 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28123 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28124
20f0018d
JM
28125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28126 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28127
b3b099af
JM
28128 [BZ #14914]
28129 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28130 whole low double instead of just low 47 bits when splitting values
28131 into two parts.
28132
029264d1
AM
281332012-12-03 Allan McRae <allan@archlinux.org>
28134
28135 * manual/stdio.texi (Predefined Printf Handlers): Remove
28136 @hsep and @vsep usage.
28137
c9d6789e
MF
281382012-12-03 Mike Frysinger <vapier@gentoo.org>
28139
28140 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28141 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28142
4b7634a5
JL
281432012-12-03 Jeff Law <law@redhat.com>
28144
28145 * time/sys/time.h (settimeofday): Do not mark TV argument
28146 as __nonnull.
28147
eb6cbd24
MF
281482012-12-01 Mike Frysinger <vapier@gentoo.org>
28149
28150 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28151 when currently writing and seek to current position when not.
28152 * libio/Makefile (tests): Remove bug-fclose1.
28153 * libio/bug-fclose1.c: Delete.
28154
f638872a
JM
281552012-12-01 Joseph Myers <joseph@codesourcery.com>
28156
28157 * manual/arith.texi (feenableexcept): Fix typo.
28158 (fedisableexcept): Likewise.
28159
48085d14
RM
281602012-11-30 Roland McGrath <roland@hack.frob.com>
28161
28162 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28163 second, differently-typed declaration, rather than a cast.
28164
1a538b9f
SP
281652012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28166
28167 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28168 * include/rpc/svc.h: ... here.
28169
d07f2ff1 281702012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28171
28172 [BZ #13013]
28173 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28174 depending n and resplen2 to catch cases where answer
28175 equals answerp2.
28176
c93ec1f0
CD
281772012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28178
28179 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28180 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28181
37db69de
MF
281822012-11-29 Mike Frysinger <vapier@gentoo.org>
28183
28184 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28185
e10c4e4f
RM
281862012-11-29 Roland McGrath <roland@hack.frob.com>
28187
28188 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28189
2af1b328
JL
281902012-11-28 Jeff Law <law@redhat.com>
28191
28192 [BZ #13761]
28193 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28194 dataset_temporary. Track alloca usage into alloca_used.
28195 If dataset is large allocate and release it via malloc/free.
28196
111db5b1
FW
281972012-06-04 Florian Weimer <fweimer@redhat.com>
28198
f06cc227 28199 [BZ #14197]
111db5b1
FW
28200 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28201
dd694abd
DM
282022012-11-28 David S. Miller <davem@davemloft.net>
28203
28204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28205
9984dd01
JM
282062012-11-28 Joseph Myers <joseph@codesourcery.com>
28207
28208 [BZ #14803]
28209 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28210 of pi/2 rounded to nearest to 64 bits.
28211 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28212 nearest to 64 bits.
28213 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28214 bits.
28215
14bc93a9
JL
282162012-11-28 Jeff Law <law@redhat.com>
28217 Martin Osvald <mosvald@redhat.com>
28218
28219 [BZ #14889]
28220 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28221 * sunrpc/svc.c: Include time.h.
28222 (__svc_accept_failed): New function.
28223 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28224 any reason other than EINTR, call __svc_accept_failed.
28225 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28226 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28227
e3c6aa3a
AS
282282012-11-28 Andreas Schwab <schwab@suse.de>
28229
28230 * scripts/abilist.awk: Also handle indirect functions in .opd
28231 section.
28232
1bead169
JM
282332012-11-28 Joseph Myers <joseph@codesourcery.com>
28234
28235 [BZ #13881]
28236 * sysdeps/x86/fpu/powl_helper.c: New file.
28237 * sysdeps/x86/fpu/Makefile: Likewise.
28238 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28239 (p3): New object.
28240 (__ieee754_powl): Use __powl_helper for finite arguments except
28241 integer exponents below 8.
28242 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28243 (p3): New object.
28244 (__ieee754_powl): Use __powl_helper for finite arguments except
28245 integer exponents below 8.
28246 * math/libm-test.inc (pow_test): Add more tests and enable some
28247 previously disabled tests.
28248 * sysdeps/i386/fpu/libm-test-ulps: Update.
28249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28250
0817d63d
SP
282512012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28252 Carlos O'Donell <carlos_odonell@mentor.com>
28253
28254 * nss/makedb.c (is_prime): Assert that input is odd and greater
28255 than 4. Note that fact in a comment too.
28256 (next_prime): Add 4 to input.
28257
de2fd463
SP
282582012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28259
28260 [BZ #11741]
28261 * libio/Makefile (tests): Add test case tst-fwrite-error.
28262 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28263 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28264 * libio/tst-fwrite-error.c: New test case.
28265
c515fb51
L
282662012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28267
28268 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28269 before casting to void *.
28270 * include/libc-internal.h (__pointer_type): New macro.
28271 (__integer_if_pointer_type_sub): Likewise.
28272 (__integer_if_pointer_type): Likewise.
28273 (cast_to_integer): Likewise.
28274 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28275 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28276 before casting to atomic64_t.
28277 (atomic_exchange_acq): Likewise.
28278 (__arch_exchange_and_add_body): Likewise.
28279 (__arch_add_body): Likewise.
28280 (atomic_add_negative): Likewise.
28281 (atomic_add_zero): Likewise.
28282
4cf77aa9
JM
282832012-11-26 Joseph Myers <joseph@codesourcery.com>
28284
28285 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28286 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28287 (add_fdes): Likewise.
28288 (linear_search_fdes): Likewise.
28289 (binary_search_unencoded_fdes): Likewise.
28290
d260b3b4
AS
282912012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28292
28293 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28294
67060746
AC
282952012-11-24 Adam Conrad <adconrad@0c3.net>
28296
28297 * configure.in: Autodetect C++ header directories.
28298 * configure: Regenerated.
28299
800938a1
MF
283002012-11-23 Mike Frysinger <vapier@gentoo.org>
28301
28302 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28303
4e6e34e6
AS
283042012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28305
28306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28307
7c7feb47
JM
283082012-11-22 Joseph Myers <joseph@codesourcery.com>
28309
7184dcdf
JM
28310 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28311 LDBL_MANT_DIG == 106]: Disable some tests.
28312 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28313 Likewise.
28314 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28315 Likewise.
28316
0a42601f
JM
28317 [BZ #14871]
28318 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28319 input for small inputs. Return +/- pi/2 for large inputs.
28320 * math/libm-test.inc (atan_test): Add more tests.
28321
79c9b9fe
JM
28322 * sysdeps/generic/unwind-dw2-fde-glibc.c
28323 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28324 __attribute__ ((unused)).
28325
c60d3bf2
JM
28326 [BZ #14645]
28327 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28328 x * y if x and y are nonzero and z is zero.
28329
ef1e0867
JM
28330 [BZ #14811]
28331 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28332 nonzero exponents with absolute value below 0x1p-117 to +/-
28333 0x1p-117.
28334
1468ded3
JM
28335 [BZ #14869]
28336 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28337 up arguments below 2**-450, not just those below 2**-500.
28338 * math/libm-test.inc (hypot_test): Add another test.
28339
8e27e3cc
JM
28340 [BZ #14868]
28341 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28342 Return a+b for ratio over 2**120, not 2**60.
28343 * math/libm-test.inc (hypot_test): Add another test.
28344
c9c0279b
JM
28345 * math/libm-test.inc (clog_test): Use
28346 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28347 (clog10_test): Likewise.
28348
7c7feb47
JM
28349 [BZ #6778]
28350 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28351
fff1530e
AS
283522012-11-22 Andreas Schwab <schwab@suse.de>
28353
28354 * sysdeps/i386/fpu/libm-test-ulps: Update.
28355
94558d30
PT
283562012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28357
28358 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28359 printf output with newline.
28360
7e1be741
L
283612012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28362
6bfea974
L
28363 [BZ #14865]
28364 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28365 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28366 -z nodlopen, -z initfirst and -z execstack support.
28367 * configure: Regenerated.
28368
7e1be741
L
28369 * elf/elf.h (DF_1_NODIRECT): New macro.
28370 (DF_1_IGNMULDEF): Likewise.
28371 (DF_1_NOKSYMS): Likewise.
28372 (DF_1_NOHDR): Likewise.
28373 (DF_1_EDITED): Likewise.
28374 (DF_1_NORELOC): Likewise.
28375 (DF_1_SYMINTPOSE): Likewise.
28376 (DF_1_GLOBAUDIT): Likewise.
28377 (DF_1_SINGLETON): Likewise.
28378 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28379 DT_1_SUPPORTED_MASK bits.
28380 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28381
105ce2ce
CD
283822012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28383
28384 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28385
123be9de
TS
283862012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28387
d072f3f7
TS
28388 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28389 macro.
28390
123be9de
TS
28391 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28392 (sendmmsg): Move declarations...
28393 * socket/sys/socket.h: ... here.
28394 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28395 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28396 include it from...
28397 * socket/recvmmsg.c: ... this new file.
28398 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28399 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28400 definition of __sendmmsg hidden.
28401 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28402 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28403 Move ENOSYS stub into and include it from...
28404 * socket/sendmmsg.c: ... this new file.
28405 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28406 (sysdep_routines): Move recvmmsg and sendmmsg...
28407 * socket/Makefile (routines): ... here.
28408 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28409 (GLIBC_PRIVATE): Add __sendmmsg.
28410 * include/sys/socket.h (__sendmmsg): Add declarations.
28411 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28412 sendmmsg.
28413
cf9a5d18
JM
284142012-11-20 Joseph Myers <joseph@codesourcery.com>
28415
28416 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28417 variable I1 with __attribute__ ((unused)).
28418 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28419
ecd4caf9
JM
284202012-11-19 Joseph Myers <joseph@codesourcery.com>
28421
be14d48f
JM
28422 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28423 DUMMY variables with __attribute__ ((unused)).
28424
ecd4caf9
JM
28425 * bits/byteswap.h: Include <bits/types.h>.
28426 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28427
986cab95
PT
284282012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28429
28430 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28431 string_t. Do not manually set errno.
28432 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28433 length with __strnlen. Make sure to both set errno and return it on
28434 failure.
28435
6d33cc9d
DM
284362012-11-19 David S. Miller <davem@davemloft.net>
28437
28438 With help from Joseph Myers.
28439 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28440 very large arguments properly.
28441 * math/libm-test.inc (atan_test): New tests.
28442 (atan2_test): New tests.
28443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28445
ee663277
JM
284462012-11-19 Joseph Myers <joseph@codesourcery.com>
28447
877f2d8e
JM
28448 [BZ #14856]
28449 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28450 Define to 3.
28451
116fc08a
JM
28452 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28453 [POSIX] (EADDRNOTAVAIL): Likewise.
28454 [POSIX] (EAFNOSUPPORT): Likewise.
28455 [POSIX] (EALREADY): Likewise.
28456 [POSIX] (ECONNABORTED): Likewise.
28457 [POSIX] (ECONNREFUSED): Likewise.
28458 [POSIX] (ECONNRESET): Likewise.
28459 [POSIX] (EDESTADDRREQ): Likewise.
28460 [POSIX] (EDQUOT): Likewise.
28461 [POSIX] (EHOSTUNREACH): Likewise.
28462 [POSIX] (EIDRM): Likewise.
28463 [POSIX] (EISCONN): Likewise.
28464 [POSIX] (ELOOP): Likewise.
28465 [POSIX] (EMULTIHOP): Likewise.
28466 [POSIX] (ENETDOWN): Likewise.
28467 [POSIX] (ENETUNREACH): Likewise.
28468 [POSIX] (ENOBUFS): Likewise.
28469 [POSIX] (ENODATA): Likewise.
28470 [POSIX] (ENOLINK): Likewise.
28471 [POSIX] (ENOMSG): Likewise.
28472 [POSIX] (ENOPROTOOPT): Likewise.
28473 [POSIX] (ENOSR): Likewise.
28474 [POSIX] (ENOSTR): Likewise.
28475 [POSIX] (ENOTCONN): Likewise.
28476 [POSIX] (ENOTSOCK): Likewise.
28477 [POSIX] (EOPNOTSUPP): Likewise.
28478 [POSIX] (EOVERFLOW): Likewise.
28479 [POSIX] (EPROTO): Likewise.
28480 [POSIX] (EPROTONOSUPPORT): Likewise.
28481 [POSIX] (EPROTOTYPE): Likewise.
28482 [POSIX] (ESTALE): Likewise.
28483 [POSIX] (ETIME): Likewise.
28484 [POSIX] (ETXTBSY): Likewise.
28485 [POSIX] (EWOULDBLOCK): Likewise.
28486 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28487 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28488 [POSIX] (SEEK_CUR): Likewise.
28489 [POSIX] (SEEK_END): Likewise.
28490 [POSIX || UNIX98] (mode_t): Do not require.
28491 [POSIX] (off_t): Likewise.
28492 [POSIX] (pid_t): Likewise.
28493 [POSIX] (sys/stat.h): Do not allow header.
28494 [POSIX] (unistd.h): Likewise.
28495 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28496 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28497 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28498 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28499 require.
28500 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28501 sigevent): Specify elements.
28502 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28503 entry.
28504 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28505 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28506
a483863f
JM
28507 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28508 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28509 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28510 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28511 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28512 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28513 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28514 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28515 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28516 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28517 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28518 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28519 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28520 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28521 Likewise.
28522 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28523 Likewise.
28524 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28525 Likewise.
28526 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28527 Likewise.
28528 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28529 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28530 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28531 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28532 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28533 Specify lower bound on value.
28534 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28535 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28536 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28537 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28538 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28539 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28540 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28541 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28542 value.
28543 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28544 as optional.
28545 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28546 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28547 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28548 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28549 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28550 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28551 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28552 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28553 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28554 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28555 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28556 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28557 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28558 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28559 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28560 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28561 entry.
28562 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28563 optional.
28564 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28565 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28566 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28567 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28568 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28569 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28570 Likewise.
28571 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28572 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28573 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28574 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28575 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28576 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28577 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28578 as optional.
28579 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28580 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28581 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28582 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28583 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28584 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28585 specify as optional.
28586 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28587 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28588 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28589 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28590 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28591 [XPG3] (NL_LANGMAX): Likewise.
28592 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28593 [POSIX || XPG3] (NL_NMAX): Likewise.
28594 [POSIX || XPG3] (NL_SETMAX): Likewise.
28595 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28596 [XPG3] (NZERO): Likewise.
28597 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28598 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28599 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28600 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28601 (REG_ERANGE): Expect.
28602 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28603 optional-constant.
28604 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28605 Use (void) in prototype.
28606 [POSIX] (*_t): Allow.
28607 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28608 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28609 (WRDE_BADVAL): Expect.
28610
5ba924e3
JM
28611 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28612 expect.
28613 [XPG3 || XPG4] (O_RSYNC): Likewise.
28614 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28615 Likewise.
28616 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28617 [XPG3 || XPG4] (sigqueue): Likewise.
28618 [XPG3 || XPG4] (sigtimedwait): Likewise.
28619 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28620 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28621 [XPG3 || XPG4] (vsnprintf): Likewise.
28622 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28623 Likewise.
28624 [XPG3 || XPG4] (blksize_t): Likewise.
28625 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28626 Likewise.
28627 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28628 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28629 [XPG3 || XPG4] (struct itimerspec): Likewise.
28630 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28631 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28632 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28633 [XPG3 || XPG4] (clockid_t): Likewise.
28634 [XPG3 || XPG4] (timer_t): Likewise.
28635 [XPG3 || XPG4] (clock_getres): Likewise.
28636 [XPG3 || XPG4] (clock_gettime): Likewise.
28637 [XPG3 || XPG4] (clock_settime): Likewise.
28638 [XPG3 || XPG4] (nanosleep): Likewise.
28639 [XPG3 || XPG4] (timer_create): Likewise.
28640 [XPG3 || XPG4] (timer_delete): Likewise.
28641 [XPG3 || XPG4] (timer_gettime): Likewise.
28642 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28643 [XPG3 || XPG4] (timer_settime): Likewise.
28644 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28645 [XPG3 || XPG4] (getlogin_r): Likewise.
28646 [XPG3 || XPG4] (pread): Likewise.
28647 [XPG3 || XPG4] (pthread_atfork): Likewise.
28648 [XPG3 || XPG4] (pwrite): Likewise.
28649
ee663277
JM
28650 [BZ #14835]
28651 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28652 <bits/siginfo.h>.
28653
942caa16
PT
286542012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28655
e19af380
PT
28656 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28657 finalizing MALLSTREAM.
28658
942caa16
PT
28659 * sysdeps/mach/hurd/syncfs.c: New file.
28660
cfde9b46
SP
286612012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28662
28663 [BZ #14719]
28664 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28665 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28666 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28667 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28668 (_nss_dns_gethostbyname4_r): Likewise.
28669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28670 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28671
f6da27e5
PH
286722012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28673
28674 [BZ #13763]
28675 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28676
6665d4a2
SM
286772012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28678
1f51ee92
SM
28679 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28680 * elf/cache.c (print_entry): Print ",AArch64" for
28681 FLAG_AARCH64_LIB64
28682
6665d4a2
SM
28683 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28684 * elf/cache.c (print_entry): Print ",hard-float" for
28685 FLAG_ARM_LIBHF.
28686
05b227bd
DM
286872012-11-18 David S. Miller <davem@davemloft.net>
28688
28689 With help from Joseph Myers.
28690 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28691 cutoff to 2**-13.
28692 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28693 cutoff to 2**-25.
28694 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28695 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28696 small.
28697 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28698 * math/libm-test.inc (y0_test): New tests.
28699 (y1_test): New tests.
28700 * sysdeps/i386/fpu/libm-test-ulps: Update.
28701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28703
786b0b67
AS
287042012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28705
28706 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28707 64-bit targets.
28708 * configure: Regenerated.
28709
8e18b86d
DM
287102012-11-17 David S. Miller <davem@davemloft.net>
28711
28712 [BZ #14811]
28713 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28714 nonzero exponents with absolute value below 0x1p-128 to +/-
28715 0x1p-128.
28716
531f1ae0
JM
287172012-11-17 Joseph Myers <joseph@codesourcery.com>
28718
12df29e2
JM
28719 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28720
150dc1a0
JM
28721 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28722
531f1ae0
JM
28723 * posix/getconf-speclist.c: New file.
28724 * posix/posix-envs.def: Likewise.
28725 * posix/confstr.c (START_ENV_GROUP): New macro.
28726 (END_ENV_GROUP): Likewise.
28727 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28728 (KNOWN_PRESENT_ENV_STRING): Likewise.
28729 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28730 (UNKNOWN_ENVIRONMENT): Likewise.
28731 (confstr): Include posix-envs.def instead of handling
28732 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28733 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28734 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28735 (END_ENV_GROUP): Likewise.
28736 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28737 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28738 (UNKNOWN_ENVIRONMENT): Likewise.
28739 (__sysconf): Include posix-envs.def instead of handling associated
28740 cases directly here.
28741 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28742 preprocessing getconf-speclist.c rather than running getconf or
28743 generating empty file.
28744
a93f9cbc
PT
287452012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28746
28747 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28748
d64d9f87
AL
287492012-11-16 Andrej Lajovic <natrij@gmail.com>
28750
28751 [BZ #14672]
28752 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28753
447885eb
DM
287542012-11-16 David S. Miller <davem@davemloft.net>
28755
28756 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28757 smaller than LDBL_EPSILON/2.0L, just return xm1.
28758
bcbf9830
L
287592012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28760
28761 * elf/tst-array1.c (init): Set constructor priority to 1000.
28762 (fini): Set destructor priority to 1000.
28763 * elf/tst-array2dep.c: Likewise.
28764
2b766585
SP
287652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28766
28767 [BZ #11741]
28768 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28769 (_IO_new_file_xsputn): Also return EOF if none of the input
28770 data was written when overflow failed.
28771 * libio/iopadn.c (_IO_padn): Likewise.
28772 * libio/iowpadn.c (_IO_wpadn): Likewise.
28773 * stdio-common/tst-put-error.c: Add copyright notice.
28774 (do_test): Add case for printing padded string.
28775 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28776 _IO_padn returned error.
28777 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28778 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28779 return EOF.
28780
b1848fde
SP
287812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28782
28783 * libio/libioP.h: Add comment note that the references to C++
28784 bits are now obsolete.
28785
2fd89785
MS
287862012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28787
28788 * math/libm-test.inc (check_complex): Use asprintf.
28789
e3ea5409
JM
287902012-11-14 Joseph Myers <joseph@codesourcery.com>
28791
28792 * debug/pcprofiledump.c (print_version): Update copyright year.
28793 * malloc/memusagestat.c (print_version): Likewise.
28794
2e64d265
L
287952012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28796
28797 [BZ #14831]
28798 * elf/Makefile (tests): Add tst-audit8.
28799 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28800 ($(objpfx)tst-audit8.out): New target.
28801 (tst-audit8-ENV): New variable.
28802 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28803 audit if l_reloc_result is NULL.
28804 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28805 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28806 * elf/tst-audit8.c: New file.
28807
c485e4d2
MS
288082012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28809
28810 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28811 * misc/Makefile (CFLAGS-select.c): Define.
28812 * posix/Makefile (CFLAGS-pause.c): Define.
28813
3a0d900a
DM
288142012-11-13 David S. Miller <davem@davemloft.net>
28815
28816 * crypt/Makefile: Move test targets after toplevel Rules
28817 inclusion. Grab any necessary sysdep routines when linking.
28818 * crypt/md5.c (md5_process_block): Remove define, we will always
28819 name it __md5_process_block.
28820 (md5_finish_ctx): Update md5_process_block call.
28821 (md5_stream): Likewise.
28822 (md5_process_bytes): Likewise.
28823 (md5_process_block): Rename to __md5_process_block and move to ...
28824 * crypt/md5-block.c: ... here.
28825 * crypt/sha256.c (sha256_process_block): Move to ...
28826 * crypt/sha256-block.c: ... here.
28827 * crypt/sha512.c (sha512_process_block): Move to ...
28828 * crypt/sha512-block.c: ... here.
28829 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28830 path.
28831 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28832 * sysdeps/sparc/sparc64/multiarch/Makefile
28833 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28834 crypt subdir.
28835 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28836 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28837 multiarch changes.
28838 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28839 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28840 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28841 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28842 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28843 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28844 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28845 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28846 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28847 file.
28848 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28849 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28850 file.
28851 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28852
8ca89318
JM
288532012-11-13 Joseph Myers <joseph@codesourcery.com>
28854
e27d476a
JM
28855 * timezone/tzselect.ksh: Update from tzcode git revision
28856 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28857 * timezone/zdump.c: Likewise.
28858 * timezone/zic.c: Likewise.
28859 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28860 in TZVERSION setting, not $(PKGVERSION).
28861 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28862 REPORT_BUGS_TO settings.
28863
8ca89318
JM
28864 [BZ #14838]
28865 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28866 macro.
28867
47594329
MS
288682012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28869
28870 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28871 detection to immediately after _FP_ROUND().
28872 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28873 bits are 0.
28874
640ac3f1
DM
288752012-11-11 David S. Miller <davem@davemloft.net>
28876
28877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28878 inttypes.h
28879 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28880 __close rather than their public counterparts.
28881
3d2577bb
JM
288822012-11-10 Joseph Myers <joseph@codesourcery.com>
28883
28884 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28885 file.
28886 [UNIX98] (sem_timedwait): Do not expect.
28887 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28888 [XPG4 || UNIX98] (sockatmark): Do not expect.
28889 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28890 (clock_getcpuclockid): Do not expect.
28891 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28892 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28893 Do not expect.
28894 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28895 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28896 [UNIX98] (vwscanf): Likewise.
28897 [UNIX98] (vswscanf): Likewise.
28898
fb1ae1ee
JM
288992012-11-09 Joseph Myers <joseph@codesourcery.com>
28900
9ec6f8bd
JM
28901 * timezone/version.h: Remove file.
28902 * timezone/README: Do not refer to version.h.
28903 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28904 $(objpfx)version.h.
28905 ($(objpfx)zdump.o): Likewise.
c3f81911 28906 ($(objpfx)version.h): New target.
9ec6f8bd 28907
0aa8f8a1
JM
28908 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28909 2012i.
28910 * timezone/README: Don't mention modification to tzselect.ksh.
28911 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28912 work on unmodified tzselect.ksh. Substitute version numbers in
28913 tzselect.ksh.
28914
4e87147f
JM
28915 * Makefile (format-me): Remove.
28916 (INSTALL): Adjust indentation. Use commands directly instead of
28917 using $(format-me).
28918
8b748aed
JM
28919 * aclocal.m4 (ACX_PKGVERSION): New macro.
28920 (ACX_BUGURL): Likewise.
28921 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28922 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28923 (REPORT_BUGS_TO): Likewise.
28924 * configure: Regenerated.
28925 * config.h.in (PKGVERSION): New macro.
28926 (REPORT_BUGS_TO): Likewise.
28927 * config.make.in (PKGVERSION): New variable.
28928 (PKGVERSION_TEXI): Likewise.
28929 (REPORT_BUGS_TO): Likewise.
28930 (REPORT_BUGS_TEXI): Likewise.
28931 * Makefile (format-me): Use -I$(common-objpfx)manual.
28932 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28933 ($(common-objpfx)manual/%): New target.
28934 (manual/%): Remove target.
28935 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28936 (print_version): Use PKGVERSION.
28937 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28938 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28939 and REPORT_BUGS_TO.
28940 ($(objpfx)xtrace): Likewise.
28941 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28942 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28943 (print_version): Use PKGVERSION.
28944 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28945 (do_version): Use PKGVERSION.
28946 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28947 REPORT_BUGS_TO.
28948 (common-ldd-rewrite): Likewise.
28949 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28950 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28951 (print_version): Use PKGVERSION.
28952 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28953 * elf/pldd.c (argp_program_bug_address): Remove variable.
28954 (more_help): New function.
28955 (argp): Use more_help.
28956 (print_version): Use PKGVERSION.
28957 * elf/sln.c (main): Use PKGVERSION.
28958 (usage): Use REPORT_BUGS_TO.
28959 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28960 (top level): Use PKGVERSION.
28961 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28962 (print_version): Use PKGVERSION.
28963 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28964 (print_version): Use PKGVERSION.
28965 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28966 (print_version): Use PKGVERSION.
28967 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28968 (print_version): Use PKGVERSION.
28969 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28970 (print_version): Use PKGVERSION.
28971 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28972 (print_version): Use PKGVERSION.
28973 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28974 and BUGURL.
28975 ($(objpfx)memusage): Likewise.
28976 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28977 (do_version): Use PKGVERSION.
28978 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28979 (print_version): Use PKGVERSION.
28980 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28981 ($PKGVERSION): New variable.
28982 ($REPORT_BUGS_TO): Likewise.
28983 (usage): Use $REPORT_BUGS_TO.
28984 (top level): Use $PKGVERSION.
28985 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28986 ($(objpfx)pkgvers.texi): New rule.
28987 ($(objpfx)stamp-pkgvers): Likewise.
28988 * manual/install.texi: Include pkgvers.texi.
28989 (--with-pkgversion): Document new configure option.
28990 (--with-bugurl): Likewise.
28991 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28992 than necessarily for this particular distribution. Use
28993 REPORT_BUGS_TO for where to report bugs.
28994 * INSTALL: Regenerated.
28995 * manual/libc.texinfo: Include pkgvers.texi.
28996 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28997 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28998 (print_version): Use PKGVERSION.
28999 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29000 (print_version): Use PKGVERSION.
29001 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29002 (print_version): Use PKGVERSION.
29003 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29004 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29005 macro.
29006 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29007 (print_version): Use PKGVERSION.
29008 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29009 (print_version): Use PKGVERSION.
29010 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29011 and PKGVERSION.
29012
92e4b6a9
JM
29013 * timezone/checktab.awk: Update from tzcode 2012i.
29014 * timezone/ialloc.c: Likewise.
29015 * timezone/private.h: Likewise.
29016 * timezone/scheck.c: Likewise.
29017 * timezone/tzfile.h: Likewise.
29018 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29019 (TZVERSION): Hardcode tzcode version number.
29020 * timezone/zdump.c: Update from tzcode 2012i.
29021 * timezone/zic.c: Likewise.
29022 * timezone/version.h: New file.
29023 * timezone/README: Describe version.h. Update upstream location.
29024
9bde902c
JM
29025 [BZ #14824]
29026 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29027 (mktemp): Enable declaration.
29028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29029 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29032 Likewise.
29033 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29034 Likewise.
29035 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29036 Likewise.
29037 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29038 Likewise.
29039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29040 Likewise.
29041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29042 Likewise.
29043
fb1ae1ee
JM
29044 [BZ #14821]
29045 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29046 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29047 for copies of such integer values.
29048 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29049 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29050
2c1adbcb
AJ
290512012-11-09 Andreas Jaeger <aj@suse.de>
29052
29053 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29054 definitions and declarations that are provided by
29055 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29056
d0f8457e
AK
290572012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29058
3a235abb 29059 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29060 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29061 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29062 definition.
29063
57241e26
MS
290642012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29065
29066 * elf/elf.h: Update comment before AArch64 relocations.
29067
60e8270d
DM
290682012-11-07 David S. Miller <davem@davemloft.net>
29069
29070 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29071 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29072 (__start_context): Declare.
29073 (__makecontext_ret): Delete.
29074 (__makecontext): Hook up __start_context instead of
29075 __makecontext_ret.
29076 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29077 (sysdep_routines): Add __start_context when in stdlib.
29078
0fbb0fbc
JM
290792012-11-07 Joseph Myers <joseph@codesourcery.com>
29080
29081 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29082 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29083 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29084 hardcoded "nm".
29085 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29086 (READELF): New variable. Use it instead of hardcoded "readelf".
29087
eb48db7e
L
290882012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29089
29090 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29091 * sysdeps/x86/Makefile: Here.
29092 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29093 * sysdeps/x86/tst-xmmymm.sh: This.
29094
05bcf62a
JM
290952012-11-07 Joseph Myers <joseph@codesourcery.com>
29096
c4b6cf53
JM
29097 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29098 expectations.
29099 [UNIX98] (pthread_barrier_t): Do not expect.
29100 [UNIX98] (pthread_barrierattr_t): Likewise.
29101 [UNIX98] (pthread_spinlock_t): Likewise.
29102 [UNIX98] (pthread_barrier_destroy): Likewise.
29103 [UNIX98] (pthread_barrier_init): Likewise.
29104 [UNIX98] (pthread_barrier_wait): Likewise.
29105 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29106 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29107 [UNIX98] (pthread_barrierattr_init): Likewise.
29108 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29109 [UNIX98] (pthread_getcpuclockid): Likewise.
29110 [UNIX98] (pthread_mutex_timedlock): Likewise.
29111 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29112 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29113 [UNIX98] (pthread_sigmask): Likewise.
29114 [UNIX98] (pthread_spin_destroy): Likewise.
29115 [UNIX98] (pthread_spin_init): Likewise.
29116 [UNIX98] (pthread_spin_lock): Likewise.
29117 [UNIX98] (pthread_spin_trylock): Likewise.
29118 [UNIX98] (pthread_spin_unlock): Likewise.
29119 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29120 Do not expect.
29121 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29122 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29123 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29124 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29125 [XPG3 || XPG4] (pthread_key_t): Likewise.
29126 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29127 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29128 [XPG3 || XPG4] (pthread_once_t): Likewise.
29129 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29130 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29131 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29132 [XPG3 || XPG4] (pthread_t): Likewise.
29133
cbe6e120
JM
29134 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29135 not expect.
29136 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29137
1b126443
JM
29138 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29139 Change function return type to int.
29140
b961a573
JM
29141 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29142 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29143 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29144 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29145 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29146 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29147 [!POSIX] (posix_madvise): Likewise.
29148 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29149 && !UNIX98].
29150 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29151 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29152 (mode_t): Likewise.
29153 (posix_mem_offset): Likewise.
29154 (posix_typed_mem_get_info): Likewise.
29155 (posix_typed_mem_open): Likewise.
29156
9e188909
JM
29157 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29158 Change condition to [XOPEN2K8].
29159
05bcf62a
JM
29160 * conform/conformtest.pl: Preprocess allow-header data with -x c
29161 instead of from stdin.
29162 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29163 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29164 [C99-based standards] (cerfc): Likewise.
29165 [C99-based standards] (cexp2): Likewise.
29166 [C99-based standards] (cexpm1): Likewise.
29167 [C99-based standards] (clog10): Likewise.
29168 [C99-based standards] (clog1p): Likewise.
29169 [C99-based standards] (clog2): Likewise.
29170 [C99-based standards] (clgamma): Likewise.
29171 [C99-based standards] (ctgamma): Likewise.
29172 [C99-based standards] (cerff): Likewise.
29173 [C99-based standards] (cerfcf): Likewise.
29174 [C99-based standards] (cexp2f): Likewise.
29175 [C99-based standards] (cexpm1f): Likewise.
29176 [C99-based standards] (clog10f): Likewise.
29177 [C99-based standards] (clog1pf): Likewise.
29178 [C99-based standards] (clog2f): Likewise.
29179 [C99-based standards] (clgammaf): Likewise.
29180 [C99-based standards] (ctgammaf): Likewise.
29181 [C99-based standards] (cerfl): Likewise.
29182 [C99-based standards] (cerfcl): Likewise.
29183 [C99-based standards] (cexp2l): Likewise.
29184 [C99-based standards] (cexpm1l): Likewise.
29185 [C99-based standards] (clog10l): Likewise.
29186 [C99-based standards] (clog1pl): Likewise.
29187 [C99-based standards] (clog2l): Likewise.
29188 [C99-based standards] (clgammal): Likewise.
29189 [C99-based standards] (ctgammal): Likewise.
29190 * conform/data/inttypes.h-data [C99-based standards]: Include
29191 stdint.h-data. Remove all expectations for stdint.h contents.
29192 [C99-based standards] (PRI*): Do not allow.
29193 [C99-based standards] (SCN*): Likewise.
29194 [C99-based standards] (*_t): Likewise.
29195 [C99-based-standards] (PRId8): Expect macro.
29196 [C99-based-standards] (PRIi8): Likewise.
29197 [C99-based-standards] (PRIo8): Likewise.
29198 [C99-based-standards] (PRIu8): Likewise.
29199 [C99-based-standards] (PRIx8): Likewise.
29200 [C99-based-standards] (PRIX8): Likewise.
29201 [C99-based-standards] (SCNd8): Likewise.
29202 [C99-based-standards] (SCNi8): Likewise.
29203 [C99-based-standards] (SCNo8): Likewise.
29204 [C99-based-standards] (SCNu8): Likewise.
29205 [C99-based-standards] (SCNx8): Likewise.
29206 [C99-based-standards] (PRIdLEAST8): Likewise.
29207 [C99-based-standards] (PRIiLEAST8): Likewise.
29208 [C99-based-standards] (PRIoLEAST8): Likewise.
29209 [C99-based-standards] (PRIuLEAST8): Likewise.
29210 [C99-based-standards] (PRIxLEAST8): Likewise.
29211 [C99-based-standards] (PRIXLEAST8): Likewise.
29212 [C99-based-standards] (SCNdLEAST8): Likewise.
29213 [C99-based-standards] (SCNiLEAST8): Likewise.
29214 [C99-based-standards] (SCNoLEAST8): Likewise.
29215 [C99-based-standards] (SCNuLEAST8): Likewise.
29216 [C99-based-standards] (SCNxLEAST8): Likewise.
29217 [C99-based-standards] (PRIdFAST8): Likewise.
29218 [C99-based-standards] (PRIiFAST8): Likewise.
29219 [C99-based-standards] (PRIoFAST8): Likewise.
29220 [C99-based-standards] (PRIuFAST8): Likewise.
29221 [C99-based-standards] (PRIxFAST8): Likewise.
29222 [C99-based-standards] (PRIXFAST8): Likewise.
29223 [C99-based-standards] (SCNdFAST8): Likewise.
29224 [C99-based-standards] (SCNiFAST8): Likewise.
29225 [C99-based-standards] (SCNoFAST8): Likewise.
29226 [C99-based-standards] (SCNuFAST8): Likewise.
29227 [C99-based-standards] (SCNxFAST8): Likewise.
29228 [C99-based-standards] (PRId16): Likewise.
29229 [C99-based-standards] (PRIi16): Likewise.
29230 [C99-based-standards] (PRIo16): Likewise.
29231 [C99-based-standards] (PRIu16): Likewise.
29232 [C99-based-standards] (PRIx16): Likewise.
29233 [C99-based-standards] (PRIX16): Likewise.
29234 [C99-based-standards] (SCNd16): Likewise.
29235 [C99-based-standards] (SCNi16): Likewise.
29236 [C99-based-standards] (SCNo16): Likewise.
29237 [C99-based-standards] (SCNu16): Likewise.
29238 [C99-based-standards] (SCNx16): Likewise.
29239 [C99-based-standards] (PRIdLEAST16): Likewise.
29240 [C99-based-standards] (PRIiLEAST16): Likewise.
29241 [C99-based-standards] (PRIoLEAST16): Likewise.
29242 [C99-based-standards] (PRIuLEAST16): Likewise.
29243 [C99-based-standards] (PRIxLEAST16): Likewise.
29244 [C99-based-standards] (PRIXLEAST16): Likewise.
29245 [C99-based-standards] (SCNdLEAST16): Likewise.
29246 [C99-based-standards] (SCNiLEAST16): Likewise.
29247 [C99-based-standards] (SCNoLEAST16): Likewise.
29248 [C99-based-standards] (SCNuLEAST16): Likewise.
29249 [C99-based-standards] (SCNxLEAST16): Likewise.
29250 [C99-based-standards] (PRIdFAST16): Likewise.
29251 [C99-based-standards] (PRIiFAST16): Likewise.
29252 [C99-based-standards] (PRIoFAST16): Likewise.
29253 [C99-based-standards] (PRIuFAST16): Likewise.
29254 [C99-based-standards] (PRIxFAST16): Likewise.
29255 [C99-based-standards] (PRIXFAST16): Likewise.
29256 [C99-based-standards] (SCNdFAST16): Likewise.
29257 [C99-based-standards] (SCNiFAST16): Likewise.
29258 [C99-based-standards] (SCNoFAST16): Likewise.
29259 [C99-based-standards] (SCNuFAST16): Likewise.
29260 [C99-based-standards] (SCNxFAST16): Likewise.
29261 [C99-based-standards] (PRId32): Likewise.
29262 [C99-based-standards] (PRIi32): Likewise.
29263 [C99-based-standards] (PRIo32): Likewise.
29264 [C99-based-standards] (PRIu32): Likewise.
29265 [C99-based-standards] (PRIx32): Likewise.
29266 [C99-based-standards] (PRIX32): Likewise.
29267 [C99-based-standards] (SCNd32): Likewise.
29268 [C99-based-standards] (SCNi32): Likewise.
29269 [C99-based-standards] (SCNo32): Likewise.
29270 [C99-based-standards] (SCNu32): Likewise.
29271 [C99-based-standards] (SCNx32): Likewise.
29272 [C99-based-standards] (PRIdLEAST32): Likewise.
29273 [C99-based-standards] (PRIiLEAST32): Likewise.
29274 [C99-based-standards] (PRIoLEAST32): Likewise.
29275 [C99-based-standards] (PRIuLEAST32): Likewise.
29276 [C99-based-standards] (PRIxLEAST32): Likewise.
29277 [C99-based-standards] (PRIXLEAST32): Likewise.
29278 [C99-based-standards] (SCNdLEAST32): Likewise.
29279 [C99-based-standards] (SCNiLEAST32): Likewise.
29280 [C99-based-standards] (SCNoLEAST32): Likewise.
29281 [C99-based-standards] (SCNuLEAST32): Likewise.
29282 [C99-based-standards] (SCNxLEAST32): Likewise.
29283 [C99-based-standards] (PRIdFAST32): Likewise.
29284 [C99-based-standards] (PRIiFAST32): Likewise.
29285 [C99-based-standards] (PRIoFAST32): Likewise.
29286 [C99-based-standards] (PRIuFAST32): Likewise.
29287 [C99-based-standards] (PRIxFAST32): Likewise.
29288 [C99-based-standards] (PRIXFAST32): Likewise.
29289 [C99-based-standards] (SCNdFAST32): Likewise.
29290 [C99-based-standards] (SCNiFAST32): Likewise.
29291 [C99-based-standards] (SCNoFAST32): Likewise.
29292 [C99-based-standards] (SCNuFAST32): Likewise.
29293 [C99-based-standards] (SCNxFAST32): Likewise.
29294 [C99-based-standards] (PRId64): Likewise.
29295 [C99-based-standards] (PRIi64): Likewise.
29296 [C99-based-standards] (PRIo64): Likewise.
29297 [C99-based-standards] (PRIu64): Likewise.
29298 [C99-based-standards] (PRIx64): Likewise.
29299 [C99-based-standards] (PRIX64): Likewise.
29300 [C99-based-standards] (SCNd64): Likewise.
29301 [C99-based-standards] (SCNi64): Likewise.
29302 [C99-based-standards] (SCNo64): Likewise.
29303 [C99-based-standards] (SCNu64): Likewise.
29304 [C99-based-standards] (SCNx64): Likewise.
29305 [C99-based-standards] (PRIdLEAST64): Likewise.
29306 [C99-based-standards] (PRIiLEAST64): Likewise.
29307 [C99-based-standards] (PRIoLEAST64): Likewise.
29308 [C99-based-standards] (PRIuLEAST64): Likewise.
29309 [C99-based-standards] (PRIxLEAST64): Likewise.
29310 [C99-based-standards] (PRIXLEAST64): Likewise.
29311 [C99-based-standards] (SCNdLEAST64): Likewise.
29312 [C99-based-standards] (SCNiLEAST64): Likewise.
29313 [C99-based-standards] (SCNoLEAST64): Likewise.
29314 [C99-based-standards] (SCNuLEAST64): Likewise.
29315 [C99-based-standards] (SCNxLEAST64): Likewise.
29316 [C99-based-standards] (PRIdFAST64): Likewise.
29317 [C99-based-standards] (PRIiFAST64): Likewise.
29318 [C99-based-standards] (PRIoFAST64): Likewise.
29319 [C99-based-standards] (PRIuFAST64): Likewise.
29320 [C99-based-standards] (PRIxFAST64): Likewise.
29321 [C99-based-standards] (PRIXFAST64): Likewise.
29322 [C99-based-standards] (SCNdFAST64): Likewise.
29323 [C99-based-standards] (SCNiFAST64): Likewise.
29324 [C99-based-standards] (SCNoFAST64): Likewise.
29325 [C99-based-standards] (SCNuFAST64): Likewise.
29326 [C99-based-standards] (SCNxFAST64): Likewise.
29327 [C99-based-standards] (PRIdMAX): Likewise.
29328 [C99-based-standards] (PRIiMAX): Likewise.
29329 [C99-based-standards] (PRIoMAX): Likewise.
29330 [C99-based-standards] (PRIuMAX): Likewise.
29331 [C99-based-standards] (PRIxMAX): Likewise.
29332 [C99-based-standards] (PRIXMAX): Likewise.
29333 [C99-based-standards] (SCNdMAX): Likewise.
29334 [C99-based-standards] (SCNiMAX): Likewise.
29335 [C99-based-standards] (SCNoMAX): Likewise.
29336 [C99-based-standards] (SCNuMAX): Likewise.
29337 [C99-based-standards] (SCNxMAX): Likewise.
29338 [C99-based-standards] (PRIdPTR): Likewise.
29339 [C99-based-standards] (PRIiPTR): Likewise.
29340 [C99-based-standards] (PRIoPTR): Likewise.
29341 [C99-based-standards] (PRIuPTR): Likewise.
29342 [C99-based-standards] (PRIxPTR): Likewise.
29343 [C99-based-standards] (PRIXPTR): Likewise.
29344 [C99-based-standards] (SCNdPTR): Likewise.
29345 [C99-based-standards] (SCNiPTR): Likewise.
29346 [C99-based-standards] (SCNoPTR): Likewise.
29347 [C99-based-standards] (SCNuPTR): Likewise.
29348 [C99-based-standards] (SCNxPTR): Likewise.
29349 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29350 allow.
29351 * conform/data/stdint.h-data: Update comments to clarify
29352 requirements.
29353 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29354 type.
29355 [C99-based standards] (INT8_MAX): Likewise.
29356 [C99-based standards] (INT16_MIN): Likewise.
29357 [C99-based standards] (INT16_MAX): Likewise.
29358 [C99-based standards] (INT32_MIN): Likewise.
29359 [C99-based standards] (INT32_MAX): Likewise.
29360 [C99-based standards] (INT64_MIN): Likewise.
29361 [C99-based standards] (INT64_MAX): Likewise.
29362 [C99-based standards] (UINT8_MAX): Likewise.
29363 [C99-based standards] (UINT16_MAX): Likewise.
29364 [C99-based standards] (UINT32_MAX): Likewise.
29365 [C99-based standards] (UINT64_MAX): Likewise.
29366 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29367 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29368 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29369 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29370 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29371 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29372 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29373 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29374 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29375 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29376 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29377 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29378 [C99-based standards] (INT_FAST8_MIN): Likewise.
29379 [C99-based standards] (INT_FAST8_MAX): Likewise.
29380 [C99-based standards] (INT_FAST16_MIN): Likewise.
29381 [C99-based standards] (INT_FAST16_MAX): Likewise.
29382 [C99-based standards] (INT_FAST32_MIN): Likewise.
29383 [C99-based standards] (INT_FAST32_MAX): Likewise.
29384 [C99-based standards] (INT_FAST64_MIN): Likewise.
29385 [C99-based standards] (INT_FAST64_MAX): Likewise.
29386 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29387 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29388 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29389 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29390 [C99-based standards] (INTPTR_MIN): Likewise.
29391 [C99-based standards] (INTPTR_MAX): Likewise.
29392 [C99-based standards] (UINTPTR_MAX): Likewise.
29393 [C99-based standards] (INTMAX_MIN): Likewise.
29394 [C99-based standards] (INTMAX_MAX): Likewise.
29395 [C99-based standards] (UINTMAX_MAX): Likewise.
29396 [C99-based standards] (PTRDIFF_MIN): Likewise.
29397 [C99-based standards] (PTRDIFF_MAX): Likewise.
29398 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29399 [C99-based standards] (SIZE_MAX): Likewise.
29400 [C99-based standards] (WCHAR_MAX): Likewise.
29401 [C99-based standards] (WINT_MAX): Likewise.
29402 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29403 constraint on value.
29404 [C99-based standards] (WCHAR_MIN): Likewise.
29405 [C99-based standards] (WINT_MIN): Likewise.
29406 [C99-based standards] (*_t): Allow.
29407 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29408 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29409 Include math.h-data and complex.h-data. Remove all expectations
29410 of math.h and complex.h contents.
29411 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29412 at end of line.
29413 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29414 (struct tm): Expect tag.
29415 [C99-based-standards] (wcstof): Expect function.
29416 [C99-based-standards] (wcstold): Likewise.
29417 [C99-based-standards] (wcstoll): Likewise.
29418 [C99-based-standards] (wcstoull): Likewise.
29419 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29420 macro-int-constant. Specify type.
29421 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29422 constraint on value.
29423 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29424 Specify type.
29425 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29426 Specify value.
29427 [ISO C standards]: Do not allow headers.
29428 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29429 wcs[abcdefghijklmnopqrstuvwxyz]*.
29430 [ISO C standards] (*_t): Do not allow.
29431 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29432 Expect function.
29433 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29434 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29435 Specify type.
29436 [ISO C standards]: Do not allow headers.
29437 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29438 is[abcdefghijklmnopqrstuvwxyz]*.
29439 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29440 to[abcdefghijklmnopqrstuvwxyz]*.
29441 [ISO C standards] (*_t): Do not allow.
29442 * conform/data/stdalign.h-data: New file.
29443 * conform/data/stdbool.h-data: Likewise.
29444 * conform/data/stdnoreturn.h-data: Likewise.
29445
7514feb8
RM
294462012-11-07 Roland McGrath <roland@hack.frob.com>
29447
29448 [BZ #14815]
29449 * manual/filesys.texi (Directory Entries): Typo fix.
29450 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29451
19b2ecfc
MS
294522012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29453
29454 * elf/elf.h (EM_AARCH64): New macro.
29455 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29456 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29457 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29458 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29459 (R_AARCH64_TLSDESC): Likewise.
29460 (NT_ARM_TLS): Likewise.
29461 (NT_ARM_HW_BREAK): Likewise.
29462 (NT_ARM_HW_WATCH): Likewise.
29463
60e235ee
JM
294642012-11-07 Joseph Myers <joseph@codesourcery.com>
29465
29466 [BZ #14811]
29467 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29468 (__ieee754_powl): Saturate nonzero exponents with absolute value
29469 below 0x1p-79 to +/- 0x1p-79.
29470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29471 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29472 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29473 nonzero exponents with absolute value below 0x1p-32 to +/-
29474 0x1p-32.
29475 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29476 (__ieee754_powl): Saturate nonzero exponents with absolute value
29477 below 0x1p-79 to +/- 0x1p-79.
29478 * math/libm-test.inc (pow_test): Add more tests.
29479
0ab234b7
AK
294802012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29481
29482 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29483 _dl_s390_cap_flags with kernel. Increase string length.
29484 (_dl_s390_platforms): Add z196 and zEC12.
29485
45832f74
JM
294862012-11-07 Joseph Myers <joseph@codesourcery.com>
29487
29488 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29489 Change XOPEN21K to XOPEN2K.
29490
19218757
MK
294912012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29492
29493 * string/memmove.c: Use memcpy when possible.
29494
c5f45721
AJ
294952012-11-06 Andreas Jaeger <aj@suse.de>
29496
29497 * po/eo.po: Update from translation team.
29498
82477c28
JM
294992012-11-06 Joseph Myers <joseph@codesourcery.com>
29500
29501 [BZ #14793]
29502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29503 exponent and small x and y exponents, scale x or y up. Increase
29504 by 2 the exponent used in scaling up.
29505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29506 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29507 * math/libm-test.inc (fma_test): Add more tests.
29508 (fma_test_towardzero): Likewise.
29509 (fma_test_downward): Likewise.
29510 (fma_test_upward): Likewise.
29511
99252c8c
JM
295122012-11-05 Joseph Myers <joseph@codesourcery.com>
29513
acfa885f
JM
29514 [BZ #14805]
29515 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29516 fenv_t *.
29517
99252c8c
JM
29518 [BZ #14801]
29519 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29520 namespace for names of struct fields.
29521 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29522 fenv_t fields.
29523 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29524 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29525
d6d98dea
ST
295262012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29527
29528 [BZ #3665]
29529 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29530
e10bb107
TS
295312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29532
29533 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29534 PTR_DEMANGLE.
29535
29536 [BZ #5246]
29537 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29538 PTR_DEMANGLE.
29539
a0c2940d
JM
295402012-11-04 Joseph Myers <joseph@codesourcery.com>
29541
29542 [BZ #14797]
29543 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29544 definitely overflow as x * y not x * y + z.
29545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29546 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29547 * math/libm-test.inc (fma_test): Add more tests.
29548 (fma_test_towardzero): Likewise.
29549 (fma_test_downward): Likewise.
29550 (fma_test_upward): Likewise.
29551
b830319d
TS
295522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29553
29554 [BZ #157]
29555
29556 * include/stub-tag.h: Remove file.
29557 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29558 '#include' of it.
29559 * manual/maint.texi (Porting): Don't reference it.
29560 * Makerules ($(objpfx)stubs): Likewise.
29561 * dirent/closedir.c: Don't include <stub-tag.h>.
29562 * dirent/dirfd.c: Likewise.
29563 * dirent/fdopendir.c: Likewise.
29564 * dirent/getdents.c: Likewise.
29565 * dirent/getdents64.c: Likewise.
29566 * dirent/opendir.c: Likewise.
29567 * dirent/readdir.c: Likewise.
29568 * dirent/readdir64.c: Likewise.
29569 * dirent/readdir64_r.c: Likewise.
29570 * dirent/readdir_r.c: Likewise.
29571 * dirent/rewinddir.c: Likewise.
29572 * dirent/seekdir.c: Likewise.
29573 * dirent/telldir.c: Likewise.
29574 * gmon/profil.c: Likewise.
29575 * grp/setgroups.c: Likewise.
29576 * inet/if_index.c: Likewise.
29577 * io/access.c: Likewise.
29578 * io/chdir.c: Likewise.
29579 * io/chmod.c: Likewise.
29580 * io/chown.c: Likewise.
29581 * io/close.c: Likewise.
29582 * io/dup.c: Likewise.
29583 * io/dup2.c: Likewise.
29584 * io/dup3.c: Likewise.
29585 * io/euidaccess.c: Likewise.
29586 * io/faccessat.c: Likewise.
29587 * io/fchdir.c: Likewise.
29588 * io/fchmod.c: Likewise.
29589 * io/fchmodat.c: Likewise.
29590 * io/fchown.c: Likewise.
29591 * io/fchownat.c: Likewise.
29592 * io/fcntl.c: Likewise.
29593 * io/flock.c: Likewise.
29594 * io/fstatfs.c: Likewise.
29595 * io/fstatfs64.c: Likewise.
29596 * io/fstatvfs.c: Likewise.
29597 * io/fstatvfs64.c: Likewise.
29598 * io/futimens.c: Likewise.
29599 * io/fxstat.c: Likewise.
29600 * io/fxstat64.c: Likewise.
29601 * io/fxstatat.c: Likewise.
29602 * io/fxstatat64.c: Likewise.
29603 * io/getcwd.c: Likewise.
29604 * io/isatty.c: Likewise.
29605 * io/lchmod.c: Likewise.
29606 * io/lchown.c: Likewise.
29607 * io/link.c: Likewise.
29608 * io/linkat.c: Likewise.
29609 * io/lseek.c: Likewise.
29610 * io/lseek64.c: Likewise.
29611 * io/lxstat64.c: Likewise.
29612 * io/mkdir.c: Likewise.
29613 * io/mkdirat.c: Likewise.
29614 * io/mkfifo.c: Likewise.
29615 * io/mkfifoat.c: Likewise.
29616 * io/open.c: Likewise.
29617 * io/open64.c: Likewise.
29618 * io/openat.c: Likewise.
29619 * io/openat64.c: Likewise.
29620 * io/pipe.c: Likewise.
29621 * io/pipe2.c: Likewise.
29622 * io/poll.c: Likewise.
29623 * io/posix_fadvise.c: Likewise.
29624 * io/posix_fadvise64.c: Likewise.
29625 * io/posix_fallocate.c: Likewise.
29626 * io/posix_fallocate64.c: Likewise.
29627 * io/read.c: Likewise.
29628 * io/readlink.c: Likewise.
29629 * io/readlinkat.c: Likewise.
29630 * io/rmdir.c: Likewise.
29631 * io/sendfile.c: Likewise.
29632 * io/sendfile64.c: Likewise.
29633 * io/statfs.c: Likewise.
29634 * io/statfs64.c: Likewise.
29635 * io/statvfs.c: Likewise.
29636 * io/statvfs64.c: Likewise.
29637 * io/symlink.c: Likewise.
29638 * io/symlinkat.c: Likewise.
29639 * io/ttyname.c: Likewise.
29640 * io/ttyname_r.c: Likewise.
29641 * io/umask.c: Likewise.
29642 * io/unlink.c: Likewise.
29643 * io/unlinkat.c: Likewise.
29644 * io/utime.c: Likewise.
29645 * io/utimensat.c: Likewise.
29646 * io/write.c: Likewise.
29647 * io/xmknod.c: Likewise.
29648 * io/xmknodat.c: Likewise.
29649 * io/xstat.c: Likewise.
29650 * io/xstat64.c: Likewise.
29651 * login/getpt.c: Likewise.
29652 * login/grantpt.c: Likewise.
29653 * login/unlockpt.c: Likewise.
29654 * math/e_acoshl.c: Likewise.
29655 * math/e_acosl.c: Likewise.
29656 * math/e_asinl.c: Likewise.
29657 * math/e_atan2l.c: Likewise.
29658 * math/e_atanhl.c: Likewise.
29659 * math/e_coshl.c: Likewise.
29660 * math/e_expl.c: Likewise.
29661 * math/e_fmodl.c: Likewise.
29662 * math/e_gammal_r.c: Likewise.
29663 * math/e_hypotl.c: Likewise.
29664 * math/e_j0l.c: Likewise.
29665 * math/e_j1l.c: Likewise.
29666 * math/e_jnl.c: Likewise.
29667 * math/e_lgammal_r.c: Likewise.
29668 * math/e_log10l.c: Likewise.
29669 * math/e_log2l.c: Likewise.
29670 * math/e_logl.c: Likewise.
29671 * math/e_powl.c: Likewise.
29672 * math/e_rem_pio2l.c: Likewise.
29673 * math/e_sinhl.c: Likewise.
29674 * math/e_sqrtl.c: Likewise.
29675 * math/fclrexcpt.c: Likewise.
29676 * math/fedisblxcpt.c: Likewise.
29677 * math/feenablxcpt.c: Likewise.
29678 * math/fegetenv.c: Likewise.
29679 * math/fegetexcept.c: Likewise.
29680 * math/fegetround.c: Likewise.
29681 * math/feholdexcpt.c: Likewise.
29682 * math/fesetenv.c: Likewise.
29683 * math/fesetround.c: Likewise.
29684 * math/feupdateenv.c: Likewise.
29685 * math/fgetexcptflg.c: Likewise.
29686 * math/fraiseexcpt.c: Likewise.
29687 * math/fsetexcptflg.c: Likewise.
29688 * math/ftestexcept.c: Likewise.
29689 * math/k_cosl.c: Likewise.
29690 * math/k_rem_pio2l.c: Likewise.
29691 * math/k_sinl.c: Likewise.
29692 * math/k_tanl.c: Likewise.
29693 * math/s_asinhl.c: Likewise.
29694 * math/s_atanl.c: Likewise.
29695 * math/s_cbrtl.c: Likewise.
29696 * math/s_erfl.c: Likewise.
29697 * math/s_expm1l.c: Likewise.
29698 * math/s_log1pl.c: Likewise.
29699 * math/s_tanhl.c: Likewise.
29700 * misc/acct.c: Likewise.
29701 * misc/brk.c: Likewise.
29702 * misc/chflags.c: Likewise.
29703 * misc/chroot.c: Likewise.
29704 * misc/fchflags.c: Likewise.
29705 * misc/fgetxattr.c: Likewise.
29706 * misc/flistxattr.c: Likewise.
29707 * misc/fremovexattr.c: Likewise.
29708 * misc/fsetxattr.c: Likewise.
29709 * misc/fsync.c: Likewise.
29710 * misc/ftruncate.c: Likewise.
29711 * misc/futimes.c: Likewise.
29712 * misc/futimesat.c: Likewise.
29713 * misc/getdomain.c: Likewise.
29714 * misc/getdtsz.c: Likewise.
29715 * misc/gethostid.c: Likewise.
29716 * misc/gethostname.c: Likewise.
29717 * misc/getloadavg.c: Likewise.
29718 * misc/getpagesize.c: Likewise.
29719 * misc/getsysstats.c: Likewise.
29720 * misc/getxattr.c: Likewise.
29721 * misc/gtty.c: Likewise.
29722 * misc/ioctl.c: Likewise.
29723 * misc/lgetxattr.c: Likewise.
29724 * misc/listxattr.c: Likewise.
29725 * misc/llistxattr.c: Likewise.
29726 * misc/lremovexattr.c: Likewise.
29727 * misc/lsetxattr.c: Likewise.
29728 * misc/lutimes.c: Likewise.
29729 * misc/madvise.c: Likewise.
29730 * misc/mincore.c: Likewise.
29731 * misc/mlock.c: Likewise.
29732 * misc/mlockall.c: Likewise.
29733 * misc/mmap.c: Likewise.
29734 * misc/mprotect.c: Likewise.
29735 * misc/msync.c: Likewise.
29736 * misc/munlock.c: Likewise.
29737 * misc/munlockall.c: Likewise.
29738 * misc/munmap.c: Likewise.
29739 * misc/preadv.c: Likewise.
29740 * misc/preadv64.c: Likewise.
29741 * misc/ptrace.c: Likewise.
29742 * misc/pwritev.c: Likewise.
29743 * misc/pwritev64.c: Likewise.
29744 * misc/readv.c: Likewise.
29745 * misc/reboot.c: Likewise.
29746 * misc/remap_file_pages.c: Likewise.
29747 * misc/removexattr.c: Likewise.
29748 * misc/revoke.c: Likewise.
29749 * misc/select.c: Likewise.
29750 * misc/setdomain.c: Likewise.
29751 * misc/setegid.c: Likewise.
29752 * misc/seteuid.c: Likewise.
29753 * misc/sethostid.c: Likewise.
29754 * misc/sethostname.c: Likewise.
29755 * misc/setregid.c: Likewise.
29756 * misc/setreuid.c: Likewise.
29757 * misc/setxattr.c: Likewise.
29758 * misc/sstk.c: Likewise.
29759 * misc/stty.c: Likewise.
29760 * misc/swapoff.c: Likewise.
29761 * misc/swapon.c: Likewise.
29762 * misc/sync.c: Likewise.
29763 * misc/syncfs.c: Likewise.
29764 * misc/syscall.c: Likewise.
29765 * misc/truncate.c: Likewise.
29766 * misc/ualarm.c: Likewise.
29767 * misc/usleep.c: Likewise.
29768 * misc/ustat.c: Likewise.
29769 * misc/utimes.c: Likewise.
29770 * misc/vhangup.c: Likewise.
29771 * misc/writev.c: Likewise.
29772 * posix/_exit.c: Likewise.
29773 * posix/alarm.c: Likewise.
29774 * posix/execve.c: Likewise.
29775 * posix/fexecve.c: Likewise.
29776 * posix/fork.c: Likewise.
29777 * posix/fpathconf.c: Likewise.
29778 * posix/getaddrinfo.c: Likewise.
29779 * posix/getegid.c: Likewise.
29780 * posix/geteuid.c: Likewise.
29781 * posix/getgid.c: Likewise.
29782 * posix/getgroups.c: Likewise.
29783 * posix/getlogin.c: Likewise.
29784 * posix/getlogin_r.c: Likewise.
29785 * posix/getpgid.c: Likewise.
29786 * posix/getpid.c: Likewise.
29787 * posix/getppid.c: Likewise.
29788 * posix/getresgid.c: Likewise.
29789 * posix/getresuid.c: Likewise.
29790 * posix/getsid.c: Likewise.
29791 * posix/getuid.c: Likewise.
29792 * posix/glob64.c: Likewise.
29793 * posix/nanosleep.c: Likewise.
29794 * posix/pathconf.c: Likewise.
29795 * posix/pause.c: Likewise.
29796 * posix/posix_madvise.c: Likewise.
29797 * posix/pread.c: Likewise.
29798 * posix/pread64.c: Likewise.
29799 * posix/pwrite.c: Likewise.
29800 * posix/pwrite64.c: Likewise.
29801 * posix/sched_getaffinity.c: Likewise.
29802 * posix/sched_getp.c: Likewise.
29803 * posix/sched_gets.c: Likewise.
29804 * posix/sched_primax.c: Likewise.
29805 * posix/sched_primin.c: Likewise.
29806 * posix/sched_rr_gi.c: Likewise.
29807 * posix/sched_setaffinity.c: Likewise.
29808 * posix/sched_setp.c: Likewise.
29809 * posix/sched_sets.c: Likewise.
29810 * posix/sched_yield.c: Likewise.
29811 * posix/setgid.c: Likewise.
29812 * posix/setlogin.c: Likewise.
29813 * posix/setpgid.c: Likewise.
29814 * posix/setresgid.c: Likewise.
29815 * posix/setresuid.c: Likewise.
29816 * posix/setsid.c: Likewise.
29817 * posix/setuid.c: Likewise.
29818 * posix/sleep.c: Likewise.
29819 * posix/spawni.c: Likewise.
29820 * posix/sysconf.c: Likewise.
29821 * posix/times.c: Likewise.
29822 * posix/wait.c: Likewise.
29823 * posix/wait3.c: Likewise.
29824 * posix/wait4.c: Likewise.
29825 * posix/waitpid.c: Likewise.
29826 * resolv/gai_sigqueue.c: Likewise.
29827 * resource/getpriority.c: Likewise.
29828 * resource/getrlimit.c: Likewise.
29829 * resource/getrusage.c: Likewise.
29830 * resource/nice.c: Likewise.
29831 * resource/setpriority.c: Likewise.
29832 * resource/setrlimit.c: Likewise.
29833 * resource/ulimit.c: Likewise.
29834 * rt/aio_cancel.c: Likewise.
29835 * rt/aio_fsync.c: Likewise.
29836 * rt/aio_read.c: Likewise.
29837 * rt/aio_sigqueue.c: Likewise.
29838 * rt/aio_suspend.c: Likewise.
29839 * rt/aio_write.c: Likewise.
29840 * rt/clock_getres.c: Likewise.
29841 * rt/clock_gettime.c: Likewise.
29842 * rt/clock_nanosleep.c: Likewise.
29843 * rt/clock_settime.c: Likewise.
29844 * rt/lio_listio.c: Likewise.
29845 * rt/mq_close.c: Likewise.
29846 * rt/mq_getattr.c: Likewise.
29847 * rt/mq_notify.c: Likewise.
29848 * rt/mq_open.c: Likewise.
29849 * rt/mq_receive.c: Likewise.
29850 * rt/mq_send.c: Likewise.
29851 * rt/mq_setattr.c: Likewise.
29852 * rt/mq_timedreceive.c: Likewise.
29853 * rt/mq_timedsend.c: Likewise.
29854 * rt/mq_unlink.c: Likewise.
29855 * rt/shm_open.c: Likewise.
29856 * rt/shm_unlink.c: Likewise.
29857 * rt/timer_create.c: Likewise.
29858 * rt/timer_delete.c: Likewise.
29859 * rt/timer_getoverr.c: Likewise.
29860 * rt/timer_gettime.c: Likewise.
29861 * rt/timer_settime.c: Likewise.
29862 * setjmp/__longjmp.c: Likewise.
29863 * setjmp/setjmp.c: Likewise.
29864 * signal/kill.c: Likewise.
29865 * signal/killpg.c: Likewise.
29866 * signal/raise.c: Likewise.
29867 * signal/sigaction.c: Likewise.
29868 * signal/sigaltstack.c: Likewise.
29869 * signal/sigblock.c: Likewise.
29870 * signal/sigignore.c: Likewise.
29871 * signal/sigintr.c: Likewise.
29872 * signal/signal.c: Likewise.
29873 * signal/sigpause.c: Likewise.
29874 * signal/sigpending.c: Likewise.
29875 * signal/sigqueue.c: Likewise.
29876 * signal/sigreturn.c: Likewise.
29877 * signal/sigset.c: Likewise.
29878 * signal/sigsetmask.c: Likewise.
29879 * signal/sigstack.c: Likewise.
29880 * signal/sigsuspend.c: Likewise.
29881 * signal/sigtimedwait.c: Likewise.
29882 * signal/sigvec.c: Likewise.
29883 * signal/sigwait.c: Likewise.
29884 * signal/sigwaitinfo.c: Likewise.
29885 * signal/sysv_signal.c: Likewise.
29886 * socket/accept.c: Likewise.
29887 * socket/accept4.c: Likewise.
29888 * socket/bind.c: Likewise.
29889 * socket/connect.c: Likewise.
29890 * socket/getpeername.c: Likewise.
29891 * socket/getsockname.c: Likewise.
29892 * socket/getsockopt.c: Likewise.
29893 * socket/isfdtype.c: Likewise.
29894 * socket/listen.c: Likewise.
29895 * socket/recv.c: Likewise.
29896 * socket/recvfrom.c: Likewise.
29897 * socket/recvmsg.c: Likewise.
29898 * socket/send.c: Likewise.
29899 * socket/sendmsg.c: Likewise.
29900 * socket/sendto.c: Likewise.
29901 * socket/setsockopt.c: Likewise.
29902 * socket/shutdown.c: Likewise.
29903 * socket/sockatmark.c: Likewise.
29904 * socket/socket.c: Likewise.
29905 * socket/socketpair.c: Likewise.
29906 * stdio-common/ctermid.c: Likewise.
29907 * stdio-common/cuserid.c: Likewise.
29908 * stdio-common/remove.c: Likewise.
29909 * stdio-common/rename.c: Likewise.
29910 * stdio-common/renameat.c: Likewise.
29911 * stdio-common/tempname.c: Likewise.
29912 * stdlib/getcontext.c: Likewise.
29913 * stdlib/makecontext.c: Likewise.
29914 * stdlib/setcontext.c: Likewise.
29915 * stdlib/swapcontext.c: Likewise.
29916 * stdlib/system.c: Likewise.
29917 * streams/fattach.c: Likewise.
29918 * streams/fdetach.c: Likewise.
29919 * streams/getmsg.c: Likewise.
29920 * streams/getpmsg.c: Likewise.
29921 * streams/putmsg.c: Likewise.
29922 * streams/putpmsg.c: Likewise.
29923 * sysdeps/unix/bsd/getpt.c: Likewise.
29924 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29925 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29926 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29928 Likewise.
29929 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29930 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29931 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29932 * sysvipc/msgctl.c: Likewise.
29933 * sysvipc/msgget.c: Likewise.
29934 * sysvipc/msgrcv.c: Likewise.
29935 * sysvipc/msgsnd.c: Likewise.
29936 * sysvipc/semctl.c: Likewise.
29937 * sysvipc/semget.c: Likewise.
29938 * sysvipc/semop.c: Likewise.
29939 * sysvipc/semtimedop.c: Likewise.
29940 * sysvipc/shmat.c: Likewise.
29941 * sysvipc/shmctl.c: Likewise.
29942 * sysvipc/shmdt.c: Likewise.
29943 * sysvipc/shmget.c: Likewise.
29944 * termios/tcdrain.c: Likewise.
29945 * termios/tcflow.c: Likewise.
29946 * termios/tcflush.c: Likewise.
29947 * termios/tcgetattr.c: Likewise.
29948 * termios/tcgetpgrp.c: Likewise.
29949 * termios/tcsendbrk.c: Likewise.
29950 * termios/tcsetattr.c: Likewise.
29951 * termios/tcsetpgrp.c: Likewise.
29952 * time/adjtime.c: Likewise.
29953 * time/clock.c: Likewise.
29954 * time/getitimer.c: Likewise.
29955 * time/gettimeofday.c: Likewise.
29956 * time/setitimer.c: Likewise.
29957 * time/settimeofday.c: Likewise.
29958 * time/stime.c: Likewise.
29959 * time/time.c: Likewise.
29960
299612012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 29962
a20492cf
PT
29963 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29964 /usr/old/bin.
29965
72e182e3
PT
29966 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29967 instead of spaces.
29968 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29969
fbeafede
JM
299702012-11-03 Joseph Myers <joseph@codesourcery.com>
29971
5b5b04d6
JM
29972 [BZ #14796]
29973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29974 FE_TONEAREST before applying Dekker multiplication and Knuth
29975 addition. Clear inexact exceptions and check for exact zero
29976 results afterwards.
29977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29978 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29979 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29980 * math/libm-test.inc (fma_test): Add more tests.
29981 (fma_test_towardzero): Likewise.
29982 (fma_test_downward): Likewise.
29983 (fma_test_upward): Likewise.
29984 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29985 function.
29986 (libc_fesetround): New macro.
29987 (libc_fesetroundf): Likewise.
29988 (libc_fesetroundl): Likewise.
29989 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29990 function.
29991 (libc_fesetround_387): Likewise.
29992 (libc_fesetroundf): New macro.
29993 (libc_fesetround): Likewise.
29994 (libc_fesetroundl): Likewise.
29995 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29996 function.
29997 (libc_fesetroundf): New macro.
29998 (libc_fesetround): Likewise.
29999 (libc_fesetroundl): Likewise.
30000 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30001 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30002 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30003 libm_hidden_ver.
30004 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30005 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30006 libm_hidden_def.
30007 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30008 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30009 libm_hidden_ver.
30010 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30011 libm_hidden_def.
30012
fbeafede
JM
30013 [BZ #3439]
30014 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30015 integer constant usable in #if and use that to give value to enum
30016 constant.
30017 (FE_DIVBYZERO): Likewise.
30018 (FE_UNDERFLOW): Likewise.
30019 (FE_OVERFLOW): Likewise.
30020 (FE_INVALID): Likewise.
30021 (FE_INVALID_SNAN): Likewise.
30022 (FE_INVALID_ISI): Likewise.
30023 (FE_INVALID_IDI): Likewise.
30024 (FE_INVALID_ZDZ): Likewise.
30025 (FE_INVALID_IMZ): Likewise.
30026 (FE_INVALID_COMPARE): Likewise.
30027 (FE_INVALID_SOFTWARE): Likewise.
30028 (FE_INVALID_SQRT): Likewise.
30029 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30030 (FE_TONEAREST): Likewise.
30031 (FE_TOWARDZERO): Likewise.
30032 (FE_UPWARD): Likewise.
30033 (FE_DOWNWARD): Likewise.
30034 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30035 (FE_DIVBYZERO): Likewise.
30036 (FE_OVERFLOW): Likewise.
30037 (FE_UNDERFLOW): Likewise.
30038 (FE_INEXACT): Likewise.
30039 (FE_TONEAREST): Likewise.
30040 (FE_DOWNWARD): Likewise.
30041 (FE_UPWARD): Likewise.
30042 (FE_TOWARDZERO): Likewise.
30043 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30044 (FE_UNDERFLOW): Likewise.
30045 (FE_OVERFLOW): Likewise.
30046 (FE_DIVBYZERO): Likewise.
30047 (FE_INVALID): Likewise.
30048 (FE_TONEAREST): Likewise.
30049 (FE_TOWARDZERO): Likewise.
30050 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30051 (FE_OVERFLOW): Likewise.
30052 (FE_UNDERFLOW): Likewise.
30053 (FE_DIVBYZERO): Likewise.
30054 (FE_INEXACT): Likewise.
30055 (FE_TONEAREST): Likewise.
30056 (FE_TOWARDZERO): Likewise.
30057 (FE_UPWARD): Likewise.
30058 (FE_DOWNWARD): Likewise.
30059 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30060 (FE_DIVBYZERO): Likewise.
30061 (FE_OVERFLOW): Likewise.
30062 (FE_UNDERFLOW): Likewise.
30063 (FE_INEXACT): Likewise.
30064 (FE_TONEAREST): Likewise.
30065 (FE_DOWNWARD): Likewise.
30066 (FE_UPWARD): Likewise.
30067 (FE_TOWARDZERO): Likewise.
30068
105ca950
CM
300692012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30070
30071 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30072
a542b389
AS
300732012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30074
30075 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30076 commands. Quote $PWD.
30077 (blacklist_exports): Don't use remove_newlines. Replace "declare
30078 -x" by "export".
30079 (remove_newlines): Remove.
30080
f62c8abc
L
300812012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30082
30083 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30084 * stdlib/stdlib.h (atof): Moved to ...
30085 * include/bits/stdlib-float.h: Here. New file.
30086 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30087 * stdlib/bits/stdlib-float.h: New file.
30088 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30089 -mno-sse -mno-mmx.
30090 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30091 <xmmintrin.h>.
30092
0155d5b2
JM
300932012-11-02 Joseph Myers <joseph@codesourcery.com>
30094
a68d0680
JM
30095 * conform/conformtest.pl (@headers): Add fenv.h.
30096 * conform/data/fenv.h-data: New file.
30097 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30098 include of <math/fenv.h>.
30099
caf7f573
JM
30100 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30101 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30102 && !UNIX98]. Enables tests for XOPEN2K8.
30103 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30104 POSIX2008]: Likewise.
30105
6c073ad6
JM
30106 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30107 (struct rusage): Do not expect type or its members.
30108
0155d5b2
JM
30109 [BZ #3439]
30110 * math/math.h (FP_NAN): Define macro to integer constant usable in
30111 #if and use that to give value to enum constant.
30112 (FP_INFINITE): Likewise.
30113 (FP_ZERO): Likewise.
30114 (FP_SUBNORMAL): Likewise.
30115 (FP_NORMAL): Likewise.
30116
b5dcacb4
AS
301172012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30118
30119 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30120 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30121 arguments.
30122
f7934be8
RM
301232012-11-02 Roland McGrath <roland@hack.frob.com>
30124
30125 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30126 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30127 autoconf-time if not.
30128 * configure.in: Remove AC_PREREQ.
30129
d7d08bde
TMQMF
301302012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30131
30132 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30133 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30134 of the internal implementation.
30135
dcdae19a
JM
301362012-11-02 Joseph Myers <joseph@codesourcery.com>
30137
30138 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30139 except include of <misc/sys/syslog.h>.
30140
d6cffd3e
AS
301412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30142
30143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30144 function returns with a NULL context exit with zero.
30145
b3563932
TMQMF
301462012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30147
30148 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30149
b288a93d
L
301502012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30151
30152 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30153 (run_program_cmd): This.
30154 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30155 (tst_langinfo): New variable. Use it.
30156
a2421a68
SAS
301572012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30158
30159 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30160 floating point opcodes.
30161
6f796e1b
TS
301622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30163
7402596b
TS
30164 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30165 variable.
30166
d0d4f868
TS
30167 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30168
6f796e1b
TS
30169 * sysdeps/mach/hurd/powerpc: Remove directory.
30170 * sysdeps/mach/powerpc: Likewise.
30171
4da224a2
AS
301722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30173
30174 * scripts/check-local-headers.sh: Ignore c++ headers.
30175
341dd673
TS
301762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30177
30178 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30179 __libc_cleanup_region_start argument.
30180
473611b2
JM
301812012-11-01 Joseph Myers <joseph@codesourcery.com>
30182
30183 [BZ #14784]
30184 [BZ #14785]
30185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30186 x * y using scaling, not as x * y + z.
30187 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30189 * math/libm-test.inc (fma_test): Add more tests.
30190 (fma_test_towardzero): Likewise.
30191 (fma_test_downward): Likewise.
30192 (fma_test_upward): Likewise.
30193
4078da3d
TS
301942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30195
30196 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30197
903252aa
JM
301982012-10-31 Joseph Myers <joseph@codesourcery.com>
30199
30200 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30201 New variable.
30202
cbc818d0
TS
302032012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30204
30205 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30206
5a03cb1e
AS
302072012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30208
30209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30210 Fix sort order.
30211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30212 Likewise.
30213
90aff2ff
TMQMF
302142012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30215
30216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30217 Fix the order of the list for glibc 2.17.
30218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30219 Likewise.
30220
1818fcb7
AS
302212012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30222
30223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30224
ef82f4da
JM
302252012-10-31 Joseph Myers <joseph@codesourcery.com>
30226
16a0e2ec
JM
30227 [BZ #14610]
30228 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30229 for low part of x being zero before using __atanl (y).
30230 * math/libm-test.inc (atan2_test): Add another test.
30231
0eb69512
JM
30232 * manual/install.texi (Configuring and compiling): Document
30233 general use of test-wrapper and test-wrapper-env.
30234 * INSTALL: Regenerated.
30235
ef82f4da
JM
30236 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30237 (__fma): Do not extract and scale down low bits on after-rounding
30238 systems when result rounded to normal precision would have normal
30239 exponent.
30240 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30241 (__fmal): Do not extract and scale down low bits on after-rounding
30242 systems when result rounded to normal precision would have normal
30243 exponent.
30244 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30245 (__fmal): Do not extract and scale down low bits on after-rounding
30246 systems when result rounded to normal precision would have normal
30247 exponent.
30248 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30249 macro.
30250 (fma_test): Add more tests.
30251 (fma_test_towardzero): Likewise.
30252 (fma_test_downward): Likewise.
30253 (fma_test_upward): Likewise.
30254
954ef0d9
L
302552012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30256
30257 * sysdeps/i386/tininess.h: Renamed to ...
30258 * sysdeps/x86/tininess.h: This.
30259 * sysdeps/x86_64/tininess.h: Removed.
30260
df61ffb2
JM
302612012-10-30 Joseph Myers <joseph@codesourcery.com>
30262
30263 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30264 input. Use $(build-program-cmd).
30265 ($(objpfx)tst-array1-static.out): Likewise.
30266 ($(objpfx)tst-array2.out): Likewise.
30267 ($(objpfx)tst-array3.out): Likewise.
30268 ($(objpfx)tst-array4.out): Likewise.
30269 ($(objpfx)tst-array5.out): Likewise.
30270 ($(objpfx)tst-array5-static.out): Likewise.
30271
01767843
CM
302722012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30273
47cc1490
CM
30274 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30275 if defined.
30276
01767843
CM
30277 * nss/nsswitch.h (nss_interface_function): Provide new
30278 macro for use with NSS functions.
30279 * grp/initgroups.c: Use new macro.
30280 * nss/getXXbyYY.c: Likewise.
30281 * nss/getXXbyYY_r.c: Likewise.
30282 * nss/getXXent.c: Likewise.
30283 * nss/getXXent_r.c: Likewise.
30284 * sysdeps/posix/getaddrinfo.c: Likewise.
30285
8321aa97
AJ
302862012-10-30 Andreas Jaeger <aj@suse.de>
30287
30288 * po/ru.po: Update Russion translation from translation project.
30289
2a27fd6d
JM
302902012-10-30 Joseph Myers <joseph@codesourcery.com>
30291
8627a232
JM
30292 [BZ #14152]
30293 [BZ #14783]
30294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30295 result and shift together with sticky bit instead of replicating
30296 round-to-nearest rounding.
30297 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30298 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30299 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30300 missing underflow exceptions.
30301 (fma_test_towardzero): Add more tests.
30302 (fma_test_downward): Likewise.
30303 (fma_test_upward): Likewise.
30304
2a27fd6d
JM
30305 [BZ #14047]
30306 * sysdeps/generic/tininess.h: New file.
30307 * sysdeps/i386/tininess.h: Likewise.
30308 * sysdeps/sh/tininess.h: Likewise.
30309 * sysdeps/x86_64/tininess.h: Likewise.
30310 * stdlib/tst-strtod-underflow.c: Likewise.
30311 * stdlib/tst-tininess.c: Likewise.
30312 * stdlib/strtod_l.c: Include <tininess.h>.
30313 (round_and_return): Do not set errno for exact underflow cases.
30314 Force an underflow exception when setting errno for underflow.
30315 Determine underflow based on rounding to normal precision if
30316 TININESS_AFTER_ROUNDING.
30317 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30318 ERANGE for exact underflow cases.
30319 * stdlib/Makefile (tests): Add tst-tininess and
30320 tst-strtod-underflow.
30321 ($(objpfx)tst-tininess): Use $(link-libm).
30322 ($(objpfx)tst-strtod-underflow): Likewise.
30323
e7170363
AJ
303242012-10-30 Andreas Jaeger <aj@suse.de>
30325
e5088dc6
AJ
30326 [BZ#14767]
30327 * elf/Makefile (tests): Remove conditional for have-initfini-array
30328 since this is now always required and the variable does not exist
30329 anymore.
30330 (tests-static): Likewise.
30331 (modules-names): Likewise.
30332
e7170363 30333 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
30334
30335 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30336 merged with constructor/destructor.
30337 (init_array): Likewise.
30338 * elf/tst-array2dep.c (fini_array): Likewise.
30339 (init_array): Likewise.
30340
60457d8a
MF
303412012-10-29 Mike Frysinger <vapier@gentoo.org>
30342
30343 * manual/message.texi: Delete @cartouche tags.
30344
8bece752
PT
303452012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30346
94ce799f
PT
30347 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30348 EOPNOTSUPP.
30349 * sysdeps/mach/hurd/fsync.c: Likewise.
30350
8bece752
PT
30351 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30352 [_POSIX_REALTIME_SIGNALS]: Change condition to
30353 [_POSIX_REALTIME_SIGNALS > 0].
30354
86ebe6b1
AJ
303552012-10-27 Andreas Jaeger <aj@suse.de>
30356
30357 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30358 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30359 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30360 [__WORDSIZE != 64]: Likewise.
30361
54399c08
L
303622012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30363
30364 * iconvdata/tst-table.sh: Remove ${SHELL}.
30365 * iconvdata/tst-tables.sh: Likewise.
30366
e2211bed
DM
303672012-10-25 David S. Miller <davem@davemloft.net>
30368
30369 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30370 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30371 of strtoull.
30372
f303f97c
DM
30373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30374 ifunc-impl-list.c
30375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30376 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30377 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30378 file.
30379
1e9d84cd
RM
303802012-10-25 Roland McGrath <roland@hack.frob.com>
30381
30382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30383 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30384 __getdirentries.
30385
df381762
JM
303862012-10-25 Joseph Myers <joseph@codesourcery.com>
30387 Jim Blandy <jimb@codesourcery.com>
30388
30389 * scripts/cross-test-ssh.sh: New file.
30390 * manual/install.texi (Configuring and compiling): Document use of
30391 cross-test-ssh.sh.
30392 * INSTALL: Regenerated.
30393
bff64913
PT
303942012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30395
30396 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30397 EOPNOTSUPP.
30398
25fe8932
JM
303992012-10-25 Joseph Myers <joseph@codesourcery.com>
30400
30401 * Makeconfig (run-program-prefix): Fix comment.
30402
cc1290d0
JM
304032012-10-24 Joseph Myers <joseph@codesourcery.com>
30404 Jim Blandy <jimb@codesourcery.com>
30405
30406 * Makeconfig (test-wrapper): New variable,
30407 (test-wrapper-env): Likewise.
30408 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30409 (run-built-tests): Define to yes.
30410 (run-program-prefix): Use $(test-wrapper).
30411 (built-program-cmd): Likewise.
30412 * Rules (make-test-out): Use $(test-wrapper-env) and
30413 $(host-built-program-cmd).
30414 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30415 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30416 tst-pathopt.sh.
30417 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30418 $(test-wrapper-env) to tst-rtld-load-self.sh.
30419 ($(objpfx)order2.out): Use $(test-wrapper).
30420 ($(objpfx)tst-initorder.out): Likewise.
30421 ($(objpfx)tst-initorder2.out): Likewise.
30422 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30423 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30424 (test_wrapper_env): New variable. Use it to run ld.so.
30425 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30426 Use it to run ld.so.
30427 (test_wrapper_env): Likewise.
30428 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30429 $(test-wrapper) to run-iconv-test.sh.
30430 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30431 (ICONV): Use $test_wrapper.
30432 * posix/Makefile ($(objpfx)globtest.out): Pass
30433 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30434 globtest.sh, not $(run-program-prefix).
30435 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30436 (test_wrapper): Likewise.
30437 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30438 set together with run_via_rtld_prefix.
30439 (run_program_prefix): Define in terms of test_wrapper and
30440 run_via_rtld_prefix.
30441
6e6249d0
RM
304422012-10-24 Roland McGrath <roland@hack.frob.com>
30443
30444 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30445 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30446 Targets removed.
30447
30448 [BZ #14743]
30449 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30450 Declare __clock_getres, __clock_gettime, __clock_settime,
30451 __clock_nanosleep, and __clock_getcpuclockid.
30452 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30453 Remove librt_hidden_def (clock_gettime).
30454 * sysdeps/unix/clock_gettime.c: Likewise.
30455 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30456 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30457 * rt/clock_getres.c: Define __clock_getres as an alias.
30458 * sysdeps/posix/clock_getres.c: Likewise.
30459 * rt/clock_settime.c: Define __clock_settime as an alias.
30460 * sysdeps/unix/clock_settime.c: Likewise.
30461 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30462 * sysdeps/unix/clock_nanosleep.c: Likewise.
30463 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30464 * rt/clock-compat.c: New file.
30465 * rt/Makefile (librt-routines): Add clock-compat and move
30466 $(clock-routines) to ...
30467 (routines): ... here, new variable.
30468 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30469 Don't add get_clockfreq here.
30470 * rt/Versions (libc: GLIBC_2.17): New version set.
30471 Add clock_* symbols here.
30472 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30473 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30474 (GLIBC_2.17): Add clock_* symbols.
30475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30477 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30479 Likewise.
30480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30481 Likewise.
30482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30486 * NEWS: Mention the move.
30487
30488 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30489 Use __open, __read, __close rather than their public counterparts.
30490 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30491 (__get_clockfreq_via_cpuinfo): Likewise.
30492 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30493 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30494
30495 * config.h.in (HAVE_IFUNC): New #undef.
30496 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30497 was successful.
30498 * configure: Regenerated.
30499
0cae3f4b
MF
305002012-10-24 Mike Frysinger <vapier@gentoo.org>
30501
30502 * configure.in: Move READELF check to start of file.
30503 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30504 libc_cv_asm_gnu_indirect_function in the process.
30505 * configure: Regenerated.
30506
8175a253
MF
305072012-10-24 Mike Frysinger <vapier@gentoo.org>
30508
30509 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30510 send the output to /dev/null.
30511 (libc_cv_cc_with_libunwind): Likewise.
30512 (libc_cv_as_noexecstack): Likewise.
30513 * configure: Regenerate.
30514
0708a7d1
JM
305152012-10-24 Joseph Myers <joseph@codesourcery.com>
30516
10b40d85
JM
30517 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30518
0708a7d1
JM
30519 * posix/globtest.sh (TMPDIR): Do not set.
30520 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30521 (testout): Likewise.
30522
9fddec1a
AJ
305232012-10-24 Andreas Jaeger <aj@suse.de>
30524
3a8db22f
AJ
30525 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30526 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30527 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30528 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30529 posix_fadvise64, posix_fallocate64.
30530
9fddec1a
AJ
30531 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30532 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30533 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30534 Likewise.
30535 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30536 Likewise.
30537 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30538
30539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30540 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30541 <bits/fcntl-linux.h>.
30542 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30543
30544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30545 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30546 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30547 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30548 [__WORDSIZE != 64]: Likewise.
30549
ebfd1bbd
JM
305502012-10-23 Joseph Myers <joseph@codesourcery.com>
30551
03ac099f
JM
30552 * Makeconfig (run-built-tests): New variable.
30553 * Rules [$(cross-compiling) = yes]: Change condition to
30554 [$(run-built-tests) = no].
30555 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30556 to [$(run-built-tests) = yes].
30557 * elf/Makefile [$(cross-compiling) = no]: Likewise
30558 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30559 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30560 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30561 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30562 * io/Makefile [$(cross-compiling) = no]: Likewise.
30563 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30564 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30565 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30566 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30567 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30568 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30569 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30570 * string/Makefile [$(cross-compiling) = no]: Likewise.
30571
ebfd1bbd
JM
30572 * posix/Makefile ($(objpfx)globtest.out): Pass
30573 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30574 $(rtld-installed-name).
30575 * posix/globtest.sh (elf_objpfx): Remove variable.
30576 (rtld_installed_name): Likewise.
30577 (library_path): Likewise.
30578 (run_program_prefix): New variable. Use for running globtest
30579 binary.
30580
166bca24
JB
305812012-10-23 Jim Blandy <jimb@codesourcery.com>
30582 Joseph Myers <joseph@codesourcery.com>
30583
30584 * Makeconfig (host-built-program-cmd): New variable.
30585 * elf/Makefile (tst-stackguard1-ARGS): Use
30586 $(host-built-program-cmd).
30587 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30588 (tst-spawn-ARGS): Likewise.
30589 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30590
88866099
JM
305912012-10-23 Joseph Myers <joseph@codesourcery.com>
30592 Jim Blandy <jimb@codesourcery.com>
30593
30594 * Makeconfig (run-via-rtld-prefix): New variable.
30595 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30596 (built-program-cmd): Likewise.
30597
b4b4c296
AJ
305982012-10-22 Andreas Jaeger <aj@suse.de>
30599
30600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30601 __O_RSYNC if it exists, otherwise to O_SYNC.
30602
6fb54a22
JB
306032012-10-22 Jim Blandy <jimb@codesourcery.com>
30604 Joseph Myers <joseph@codesourcery.com>
30605
30606 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30607 /dev/null.
30608 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30609 from /dev/null
30610 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30611 /dev/null.
30612
481b90b9
AJ
306132012-10-22 Andreas Jaeger <aj@suse.de>
30614
2a0e2669
AJ
30615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30616 Define always.
30617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30618
76e38f9a
AJ
30619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30620 bits/fcntl-linux.h.
30621
7cd37b43
AJ
30622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30623 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30624
481b90b9
AJ
30625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30626 to __O_LARGEFILE.
30627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30628 to __O_LARGEFILE.
30629
aba75984
JB
306302012-10-21 Jim Blandy <jimb@codesourcery.com>
30631 Joseph Myers <joseph@codesourcery.com>
30632
30633 * config.make.in (NM): New variable.
30634
88d4247f
AJ
306352012-10-21 Andreas Jaeger <aj@suse.de>
30636
30637 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30638 definitions and declarations that are provided by
30639 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30640
f2eed205
L
306412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30642
30643 [BZ #14683]
30644 * elf/Makefile (tests-static): Add tst-leaks1-static.
30645 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30646 ($(objpfx)tst-leaks1-static): New rule.
30647 ($(objpfx)tst-leaks1-static-mem): Likewise.
30648 (tst-leaks1-static-ENV): New macro.
30649 * elf/dl-open.c (dl_open_worker): Check the main application
30650 only if SHARED is defined.
30651 * elf/tst-leaks1-static.c: New file.
30652
335e6931
AJ
306532012-10-20 Andreas Jaeger <aj@suse.de>
30654
30655 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30656 generic values for Linux.
30657 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30658 and declarations that are provided by <bits/fcntl-linux.h> and
30659 include <bits/fcntl-linux.h>.
30660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30661 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30662
ac5c94d3
RM
306632012-10-20 Roland McGrath <roland@hack.frob.com>
30664
30665 * io/fcntl.h: Move include of <bits/types.h> to the top and
30666 include it unconditionally.
30667
de54b33a
L
306682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30669
228cfb01
L
30670 * wcsmbs/Makefile (tests-ifunc): New variable.
30671 (tests): Add $(tests-ifunc).
30672 * wcsmbs/test-wcschr-ifunc.c: New file.
30673 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30674 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30675 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30676 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30677 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30678
69f07e5f
L
30679 * string/Makefile (tests-ifunc): New variable.
30680 (tests): Add $(tests-ifunc).
30681 * string/test-memccpy.c (TEST_NAME): New macro.
30682 * string/test-memchr.c (TEST_NAME): Likewise.
30683 * string/test-memcmp.c (TEST_NAME): Likewise.
30684 * string/test-memcpy.c (TEST_NAME): Likewise.
30685 * string/test-memmem.c (TEST_NAME): Likewise.
30686 * string/test-memmove.c (TEST_NAME): Likewise.
30687 * string/test-memset.c (TEST_NAME): Likewise.
30688 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30689 * string/test-stpcpy.c (TEST_NAME): Likewise.
30690 * string/test-stpncpy.c (TEST_NAME): Likewise.
30691 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30692 * string/test-strcasestr.c (TEST_NAME): Likewise.
30693 * string/test-strcat.c (TEST_NAME): Likewise.
30694 * string/test-strchr.c (TEST_NAME): Likewise.
30695 * string/test-strcmp.c(TEST_NAME): Likewise.
30696 * string/test-strcpy.c (TEST_NAME): Likewise.
30697 * string/test-strcspn.c (TEST_NAME): Likewise.
30698 * string/test-strlen.c (TEST_NAME): Likewise.
30699 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30700 * string/test-strncmp.c (TEST_NAME): Likewise.
30701 * string/test-strncpy.c (TEST_NAME): Likewise.
30702 * string/test-strnlen.c (TEST_NAME): Likewise.
30703 * string/test-strpbrk.c (TEST_NAME): Likewise.
30704 * string/test-strrchr.c (TEST_NAME): Likewise.
30705 * string/test-strspn.c (TEST_NAME): Likewise.
30706 * string/test-strstr.c (TEST_NAME): Likewise.
30707 * string/test-bcopy-ifunc.c: New file.
30708 * string/test-bzero-ifunc.c: Likewise.
30709 * string/test-memccpy-ifunc.c: Likewise.
30710 * string/test-memchr-ifunc.c: Likewise.
30711 * string/test-memcmp-ifunc.c: Likewise.
30712 * string/test-memcpy-ifunc.c: Likewise.
30713 * string/test-memmem-ifunc.c: Likewise.
30714 * string/test-memmove-ifunc.c: Likewise.
30715 * string/test-mempcpy-ifunc.c: Likewise.
30716 * string/test-memset-ifunc.c: Likewise.
30717 * string/test-rawmemchr-ifunc.c: Likewise.
30718 * string/test-stpcpy-ifunc.c: Likewise.
30719 * string/test-stpncpy-ifunc.c: Likewise.
30720 * string/test-strcasecmp-ifunc.c: Likewise.
30721 * string/test-strcasestr-ifunc.c: Likewise.
30722 * string/test-strcat-ifunc.c: Likewise.
30723 * string/test-strchr-ifunc.c: Likewise.
30724 * string/test-strchrnul-ifunc.c: Likewise.
30725 * string/test-strcmp-ifunc.c: Likewise.
30726 * string/test-strcpy-ifunc.c: Likewise.
30727 * string/test-strcspn-ifunc.c: Likewise.
30728 * string/test-strlen-ifunc.c: Likewise.
30729 * string/test-strncasecmp-ifunc.c: Likewise.
30730 * string/test-strncat-ifunc.c: Likewise.
30731 * string/test-strncmp-ifunc.c: Likewise.
30732 * string/test-strncpy-ifunc.c: Likewise.
30733 * string/test-strnlen-ifunc.c: Likewise.
30734 * string/test-strpbrk-ifunc.c: Likewise.
30735 * string/test-strrchr-ifunc.c: Likewise.
30736 * string/test-strspn-ifunc.c: Likewise.
30737 * string/test-strstr-ifunc.c: Likewise.
30738
de54b33a
L
30739 * debug/Makefile (tests-ifunc): New variable.
30740 (tests): Add $(tests-ifunc).
30741 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30742 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30743 * debug/test-stpcpy_chk-ifunc.c: New file.
30744 * debug/test-strcpy_chk-ifunc.c: Likewise.
30745
88481c16
SP
307462012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30747
30748 [BZ #13601]
30749 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30750 header is not read in.
30751
135948bd
JM
307522012-10-19 Joseph Myers <joseph@codesourcery.com>
30753
89f1c388
JM
30754 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30755 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30756 directly. Pass built executable to script as
30757 $(built-program-cmd).
30758 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30759 $testprogram without using LD_LIBRARY_PATH and $ldso.
30760
e40a0d21
JM
30761 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30762 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30763 $(rtld-installed-name).
30764 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30765 (rtld_installed_name): Likewise.
30766 (library_path): Likewise.
30767 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30768 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30769 $(run-program-prefix) to tst-tables.sh.
30770 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30771 it to run tst-table-from and tst-table-to.
30772 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30773 Pass it to tst-table.sh.
30774 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30775 $(run-program-prefix) to tst-gettext.sh.
30776 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30777 tst-translit.sh.
30778 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30779 tst-gettext2.sh.
30780 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30781 to run tst-gettext.
30782 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30783 to run tst-gettext2.
30784 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30785 to run tst-translit.
30786 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30787 $(run-program-prefix) to tst-mtrace.sh.
30788 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30789 to run tst-mtrace.
30790 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30791 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30792 $(rtld-installed-name).
30793 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30794 (rtld_installed_name): Likewise.
30795 (run_program_prefix): New variable. Use it to run wordexp-test.
30796
728e272a
JM
30797 * Makeconfig (ARCH): Remove all definitions.
30798 (machine): Likewise.
30799 [ARCH]: Remove conditional code.
30800 [!objdir]: Give error.
30801 [!objdir] (objpfx): Remove.
30802 [!objdir] (common-objpfx): Likewise.
30803 [!objdir] (common-objdir): Likewise.
30804 * configure.in (config_makefile): Remove. Hardcode Makefile in
30805 AC_CONFIG_FILES call.
30806 * configure: Regenerated.
30807
d528cdcf
JM
30808 [BZ #13888]
30809 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30810 or TMPDIR.
30811 (testout): Likewise.
30812
135948bd
JM
30813 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30814 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30815 $(rtld-installed-name).
30816 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30817 (rtld_installed_name): Likwise.
30818 (runit): Remove function.
30819 (run_getconf): New variable, Use it for running getconf binary.
30820
38c78296
L
308212012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30822
30823 [BZ #14716]
30824 * string/test-memmem.c (check_result): New function.
30825 (do_one_test): Use it.
30826 (check1): New function.
30827 (test_main): Use it.
30828
d077f65f
MT
308292012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30830
30831 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30832
ced52c71
JM
308332012-10-18 Joseph Myers <joseph@codesourcery.com>
30834
30835 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30836 (_G_LSEEK64): Likewise.
30837 (_G_MMAP64): Likewise.
30838 (_G_FSTAT64): Likewise.
30839 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30840 (_G_LSEEK64): Likewise.
30841 (_G_MMAP64): Likewise.
30842 (_G_FSTAT64): Likewise.
30843 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30844 unconditional. Call __mmap64 directly.
30845 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30846 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30847 __lseek64 directly.
30848 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30849 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30850 __mmap64 directly.
30851 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30852 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30853 __lseek64 directly.
30854 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30855 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30856 __lseek64 directly.
30857 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30858 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30859 __lseek64 directly.
30860 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30861 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30862 __fxstat64 directly.
30863 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30864 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30865 unconditional.
30866 (freopen64) [!_G_OPEN64]: Remove conditional code.
30867 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30868 unconditional.
30869 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30870 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30871 unconditional.
30872 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30873 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30874 unconditional.
30875 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30876 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30877 unconditional.
30878 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30879 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30880 unconditional.
30881 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30882 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30883 unconditional.
30884 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30885 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30886 unconditional.
30887 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30888
b741de23
SP
308892012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30890
30891 [BZ #12140]
30892 * manual/memory.texi (Malloc Tunable Parameters): Add note
30893 about free list pointers overwriting some perturb bytes.
30894 Wording suggested by Roland McGrath.
30895
f9b9d9c9
JM
308962012-10-17 Joseph Myers <joseph@codesourcery.com>
30897
30898 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30899 (lgamma_test): Likewise.
30900 (tgamma_test): Likewise.
30901
172a631a
FW
309022012-10-16 Florian Weimer <fweimer@redhat.com>
30903
30904 [BZ #14700]
30905 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30906 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30907
e9f37252
MK
309082012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30909
30910 * NEWS: Mention BZ #14716.
30911 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30912 when removing AVAILABLE1_USES_J macro.
30913
d394eb74
L
309142012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30915
30916 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30917 (__bswap_64): __uint64_t for unsigned 64-bit int.
30918
ca38dc17
AS
309192012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30920
30921 * include/string.h (memmem): Declare libc hidden alias.
30922 * string/memmem.c (memmem): Define libc hidden alias.
30923 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30924 __read, __close instead of open, read, close.
30925
9a387d1f
L
309262012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30927
ac49ecaf
L
30928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30929 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30930 global and hidden.
30931 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30932 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30933 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30934 Likewise.
30935 (__rawmemchr_sse2): Likewise.
30936 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30937 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30938 (__strchr_sse2): Likewise.
30939 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30940 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30941 (__strcasecmp_sse2): Likewise.
30942 (__strncasecmp_sse2): Likewise.
30943 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30944 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30945 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30946 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30947 (__strrchr_sse2): Likewise.
30948 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30949 ifunc-impl-list.c.
30950 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30951 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30952 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30953 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30954 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30955 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30956 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30957 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30958 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30959 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30960 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30961 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30962 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30963 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30964 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30965 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30966 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30967 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30968 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30969 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30970 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30971 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30972 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30973 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30974 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30975 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30976 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30977 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30978 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30979 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30980
b090e8ea
L
30981 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30982 global and hidden.
30983 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30984 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30985 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30986 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30987 Likewise.
30988 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30989 Likewise.
30990 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30991 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30992 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30993 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30994 ifunc-impl-list.c.
30995 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30996 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30997 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30998 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30999 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31000 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31001 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31002 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31003 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31004 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31005 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31006 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31007 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31008 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31009 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31013 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31017 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31018 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31019 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31020 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31021 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31022 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31023 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31024 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31025 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31026 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31027 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31028 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31029 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31030 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31031 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31032 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31033 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31034 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31035 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31036
11dd4af6
L
31037 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31038 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31039 * include/ifunc-impl-list.h: New file.
31040 * misc/ifunc-impl-list.c: Likewise.
31041 * misc/Makefile (routines): Add ifunc-impl-list.
31042 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31043 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31044 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31045 TEST_NAME]: New variables.
11dd4af6
L
31046 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31047 are defined.
31048 (test_init): Call __libc_ifunc_impl_list to initialize
31049 func_list if TEST_IFUNC and TEST_NAME are defined.
31050
9a387d1f
L
31051 * string/Makefile (strop-tests): Add bcopy and bzero.
31052 * string/test-bcopy.c: New file.
31053 * string/test-bzero.c: Likewise.
31054 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31055 defined.
31056 * string/test-memset.c: Support bzero test if TEST_BZERO is
31057 defined.
31058 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31059 __libc_memmove.
31060 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31061 __libc_memset.
31062 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31063 of memset.
31064
472371b9
JM
310652012-10-10 Joseph Myers <joseph@codesourcery.com>
31066
1e4a9536
JM
31067 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31068 * configure: Regenerated.
31069
d173d12e
JM
31070 * Makeconfig (+link-static-before-libc): Don't include
31071 $(link-static-libc).
31072
472371b9
JM
31073 * libio/libio.h (_IO_pos_t): Remove.
31074
89a3ad0b
AO
310752012-10-10 Alexandre Oliva <aoliva@redhat.com>
31076
31077 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31078 McGrath.
31079
e7451425
AO
310802012-10-10 Alexandre Oliva <aoliva@redhat.com>
31081
31082 * crypt/crypt-entry.c: Include fips-private.h.
31083 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31084 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31085 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31086 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31087
4ba74a35
AO
310882012-10-10 Alexandre Oliva <aoliva@redhat.com>
31089
31090 * crypt/crypt-private.h: Include stdbool.h.
31091 (_ufc_setup_salt_r): Return bool.
31092 * crypt/crypt-entry.c: Include errno.h.
31093 (__crypt_r): Return NULL with EINVAL for bad salt.
31094 * crypt/crypt_util.c (bad_for_salt): New.
31095 (_ufc_setup_salt_r): Check that salt is long enough and within
31096 the specified alphabet.
31097 * crypt/badsalttest.c: New file.
31098 * crypt/Makefile (tests): Add it.
31099 ($(objpfx)badsalttest): New.
31100
f96f1242
MK
311012012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31102
31103 * NEWS: Add entry for BZ #14602.
31104
0e8e0c1c
JM
311052012-10-09 Joseph Myers <joseph@codesourcery.com>
31106
31107 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31108 type-generic.
31109 * math/libm-test.inc: Update comment listing what functions and
31110 macros are tested.
31111 (isgreater_test): New function.
31112 (isgreaterequal_test): Likewise.
31113 (isless_test): Likewise.
31114 (islessequal_test): Likewise.
31115 (islessgreater_test): Likewise.
31116 (isunordered_test): Likewise.
31117 (main): Call the new functions.
31118
273edc5e
RM
311192012-10-09 Roland McGrath <roland@hack.frob.com>
31120
b8493de0
RM
31121 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31122 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31123 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31124 * sysdeps/i386/configure: Regenerated.
31125 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31126 * sysdeps/mach/configure: Regenerated.
31127 * sysdeps/mach/hurd/configure: Regenerated.
31128 * sysdeps/powerpc/configure: Regenerated.
31129 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31130 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31131 * sysdeps/s390/s390-32/configure: Regenerated.
31132 * sysdeps/s390/s390-64/configure: Regenerated.
31133 * sysdeps/sh/configure: Regenerated.
31134 * sysdeps/sparc/configure: Regenerated.
31135 * sysdeps/unix/sysv/linux/configure: Regenerated.
31136 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31137 * sysdeps/x86_64/configure: Regenerated.
31138
273edc5e
RM
31139 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31140 defined. Don't check if MAP is NULL.
31141
c8450f70
JM
311422012-10-09 Joseph Myers <joseph@codesourcery.com>
31143
31144 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31145 (_G_stat64): Likewise.
31146 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31147 (_G_stat64): Likewise.
31148 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31149 instead of struct _G_stat64.
31150 * libio/fileops.c (mmap_remap_check): Likewise.
31151 (decide_maybe_mmap): Likewise.
31152 (_IO_new_file_seekoff): Likewise.
31153 (_IO_file_stat): Likewise.
31154 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31155 _G_off64_t.
31156 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31157 instead of struct _G_stat64.
31158 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31159
57e605ba
MK
311602012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31161
31162 [BZ #14602]
31163 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31164 Replace with ...
31165 (CHECK_EOL): New macro.
31166 (two_way_short_needle): Check beginning of haystack for EOL. Use
31167 CHECK_EOL.
31168 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31169 Replace with CHECK_EOL.
31170 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31171 Replace with CHECK_EOL.
31172
ef1bb361
JM
311732012-10-08 Joseph Myers <joseph@codesourcery.com>
31174
31175 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31176 type-generic.
31177 * math/libm-test.inc: Update comment listing what functions and
31178 macros are tested.
31179 (finite_test): New function.
31180 (isinf_test): Likewise.
31181 (isnan_test): Likewise.
31182 (fpclassify_test): Test subnormal input.
31183 (isfinite_test): Likewise.
31184 (isnormal_test): Likewise.
31185 (main): Call the new functions.
31186
55f11534
JN
311872012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31188
31189 [BZ #14660]
31190 * Makerules (%.dynsym): Force C locale when running
31191 $(OBJDUMP) --dynamic-syms.
31192
1ab29350
AS
311932012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31194
31195 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31196 <stdint.h>.
31197
f1ecb7ef
DM
311982012-10-06 David S. Miller <davem@davemloft.net>
31199
31200 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31201 upper 32-bits of the length value in %o2 since we use branch-on-register
31202 tests which consider the entire 64-bit register.
31203
5d41d91a
L
312042012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31205
31206 * string/test-strstr.c (check2): Add a test for page boundary.
31207
3baddb72
DM
312082012-10-05 David S. Miller <davem@davemloft.net>
31209
31210 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31211 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31212 file.
31213 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31214 sysdep_routines.
31215 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31216 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31217 and bzero when HWCAP_SPARC_CRYPTO is present.
31218
9cee5585
L
312192012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31220
d7e0dab9
L
31221 [BZ #14602]
31222 * string/test-strstr.c (check2): New function.
31223 (test_main): Call check2.
31224
03759f47
L
31225 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31226 and bug-strchr1.
31227 * string/bug-strcasestr1.c (do_test): Moved to ...
31228 * string/test-strcasestr.c (check1): Here. New function.
31229 (do_one_test): Break out result checking code into ...
31230 (check_result): This. New function.
31231 (do_one_test): Call check_result.
31232 (test_main): Call check1.
31233 * string/bug-strchr1.c (do_test): Moved to ...
31234 * string/test-strchr.c (check1): Here. New function.
31235 (do_one_test): Break out result checking code into ...
31236 (check_result): This. New function.
31237 (do_one_test): Call check_result.
31238 (test_main): Call check1.
31239 * string/bug-strstr1.c (main): Moved to ...
046f153e 31240 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31241 (do_one_test): Break out result checking code into ...
31242 (check_result): This. New function.
31243 (do_one_test): Call check_result.
31244 (test_main): Call check1.
31245 * string/bug-strcasestr1.c: Removed.
31246 * string/bug-strchr1.c: Likewise.
31247 * string/bug-strstr1.c: Likewise.
31248
53cea63e
L
31249 * elf/Makefile (dl-routines): Add hwcaps.
31250 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31251 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31252 (_dl_important_hwcaps): Moved to ...
31253 * elf/dl-hwcaps.c: Here. New file.
31254 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31255
9cee5585 31256 [BZ #14557]
bb859b06
L
31257 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31258 if IS_IN_rtld isn't defined.
31259
9cee5585
L
31260 * elf/dl-support.c (_dl_sysinfo_map): New.
31261 Include "get-dynamic-info.h" and "setup-vdso.h".
31262 (_dl_non_dynamic_init): Call setup_vdso.
31263 * elf/dynamic-link.h: Don't include <assert.h>.
31264 (elf_get_dynamic_info): Moved to ...
31265 * elf/get-dynamic-info.h: Here. New file.
31266 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31267 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31268 * elf/setup-vdso.h: Here. New file.
31269 * elf/rtld.c: Include "setup-vdso.h".
31270 (dl_main): Call setup_vdso.
31271
23c31b76
JM
312722012-10-05 Joseph Myers <joseph@codesourcery.com>
31273
28234b07
JM
31274 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31275 creal in comment listing functions tested. List finite, isinf,
31276 isnan, isless, islessequal, isgreater, isgreaterequal,
31277 islessgreater, isunordered, lgamma_r and pow10 as functions and
31278 macros not tested. Mention which functions not tested are aliases
31279 for other functions. Fix typo. Note that signs of NaNs are not
31280 tested.
31281
23c31b76
JM
31282 * scripts/config.guess: Update from config.git.
31283 * scripts/config.sub: Likewise.
31284
9043e228
RM
312852012-10-04 Roland McGrath <roland@hack.frob.com>
31286
31287 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31288 * misc/madvise.c (madvise): Renamed to __madvise.
31289 Make madvise a weak alias.
31290 * include/sys/mman.h: Declare __madvise.
31291 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31292 * sysdeps/unix/syscalls.list
31293 (madvise): Make __madvise the strong name, and madvise a weak alias.
31294 * sysdeps/unix/sysv/linux/syscalls.list
31295 (madvise, mmap): Remove redundant entries.
31296 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31297 * malloc/malloc.c (mtrim): Likewise.
31298 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31299
f57f8055
RM
313002012-10-03 Roland McGrath <roland@hack.frob.com>
31301
31302 * sysdeps/mach/hurd/dl-cache.c: File removed.
31303 * config.h.in (USE_LDCONFIG): New #undef.
31304 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31305 * configure: Regenerated.
31306 * elf/Makefile (dl-routines): Add dl-cache only under
31307 [$(use-ldconfig) = yes].
31308 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31309 cache on [USE_LDCONFIG].
31310 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31311 [USE_LDCONFIG].
31312 * elf/rtld.c (dl_main): Likewise.
31313
5bb0c10a
PT
313142012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31315
31316 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31317 _SC_LEVEL4_CACHE_LINESIZE.
31318
010188c6
RM
313192012-10-03 Roland McGrath <roland@hack.frob.com>
31320
31321 * sysdeps/unix/bsd/confstr.h: File removed.
31322
b6c5ec07
AO
313232012-10-02 Alexandre Oliva <aoliva@redhat.com>
31324
31325 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31326 sys/sdt-config.h.
31327
408223d4
RM
313282012-10-02 Roland McGrath <roland@hack.frob.com>
31329
31330 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31331 Make 'mapoff' field ElfW(Off) rather than off_t.
31332
bb9510dc
DL
313332012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31334
fc997c6e
DL
31335 * nscd/Makefile: Remove nscd-cflags and all its users.
31336 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31337 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31338
bb9510dc
DL
31339 [BZ #10631]
31340 * malloc.c (malloc_printerr): Clarify error message.
31341
05699367
L
313422012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31343
31344 [BZ #14648]
31345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31346 Set bit_FMA_Usable if FMA is supported.
31347 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31348 macro.
31349 (bit_FMA4_Usable): Updated.
31350 (index_FMA_Usable): New macro.
31351 (CPUID_FMA): Likewise
31352 (HAS_FMA): Defined with bit_FMA_Usable.
31353
51367701
RM
313542012-10-01 Roland McGrath <roland@hack.frob.com>
31355
31356 * bits/types.h (__swblk_t): Type removed.
31357 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31358 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31360 (__SWBLK_T_TYPE): Likewise.
31361 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31362 (__SWBLK_T_TYPE): Likewise.
31363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31364 (__SWBLK_T_TYPE): Likewise.
31365 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31366 (__SWBLK_T_TYPE): Likewise.
31367
4d57bf63 313682012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 31369 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
31370
31371 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31372 (xdr_mapname): Use YPMAXMAP as maxsize.
31373 (xdr_peername): Use YPMAXPEER as maxsize.
31374 (xdr_keydat): Use YPAXRECORD as maxsize.
31375 (xdr_valdat): Use YPMAXRECORD as maxsize.
31376
93c65d43
RM
313772012-10-01 Roland McGrath <roland@hack.frob.com>
31378
497a03d6
RM
31379 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31380
93c65d43
RM
31381 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31382 * csu/init-first.c: ... here.
31383 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31384 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31385 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31386 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31387 * sysdeps/i386/init-first.c: File removed.
31388 * sysdeps/sh/init-first.c: File removed.
31389
bec749fd
JM
313902012-10-01 Joseph Myers <joseph@codesourcery.com>
31391
31392 [BZ #14645]
31393 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31394 if x * y might underflow to zero and z is zero.
31395 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31397 * math/libm-test.inc (min_subnorm_value): New variable.
31398 (fma_test): Add more tests.
31399 (fma_test_towardzero): Likewise.
31400 (fma_test_downward): Likewise
31401 (fma_test_upward): Likewise.
31402 (initialize): Set min_subnorm_value.
31403
8ec5b013
JM
314042012-09-29 Joseph Myers <joseph@codesourcery.com>
31405
31406 [BZ #14638]
31407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31408 0 + 0.
31409 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31410 mode for addition resulting in exact zero.
31411 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31412 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31413 exact 0 + 0.
31414 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31416 * math/libm-test.inc (fma_test): Add more tests.
31417 (fma_test_towardzero): New function.
31418 (fma_test_downward): Likewise.
31419 (fma_test_upward): Likewise.
31420 (main): Call the new functions.
31421
b1fa802e
DM
314222012-09-28 David S. Miller <davem@davemloft.net>
31423
31424 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31425
d3b9fd9e
RM
314262012-09-28 Roland McGrath <roland@hack.frob.com>
31427
ea4d37b3
RM
31428 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31429 instead of SIGALRM.
31430
ac51c949
RM
31431 * sysdeps/gnu/_G_config.h: Moved to ...
31432 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31433 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31434 * sysdeps/generic/_G_config.h: ... here.
31435
28c195f7
RM
31436 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31437
848917f9
RM
31438 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31439
6bacf05b
RM
31440 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31441 Conditionalize target on [libnss_test1.so-version].
31442
91363dbb
RM
31443 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31444
cc87f7d8
RM
31445 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31446 (elfobjdir): Move out of conditionals.
31447
b1c608fe
RM
31448 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31449 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31450 (__nss_lookup_function): Conditionalize label remove_from_tree on
31451 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 31452
1d9a6d96
DM
314532012-09-28 David S. Miller <davem@davemloft.net>
31454
31455 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31456 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31457 file.
31458 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31459 sysdep_routines.
31460 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31462 when HWCAP_SPARC_CRYPTO is present.
31463
72581615
PT
314642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31465
31466 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31467
715a900c
JL
314682012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31469
31470 [BZ #6530]
31471 * stdio-common/vfprintf.c (process_string_arg): Revert
31472 2000-07-22 change.
31473
314742011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31475
31476 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31477 for testcase.
31478 * stdio-common/tst-sprintf.c: Include <locale.h>
31479 (main): Test sprintf's handling of incomplete multibyte
31480 characters.
31481
9bac1d86
L
314822012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31483
31484 * elf/dl-runtime.c (VERSYMIDX): Removed.
31485 * elf/dl-version.c (VERSYMIDX): Likewise.
31486 * elf/do-rel.h (VERSYMIDX): Likewise.
31487 (VALIDX): Likewise.
31488 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31489 * elf/rtld.c (VALIDX): Likewise.
31490 (ADDRIDX): Likewise.
9bac1d86
L
31491 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31492 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31493 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31494 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31495 (VALIDX): Likewise.
31496 (ADDRIDX): Likewise.
9bac1d86 31497
b31606c0
PT
314982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31499
31500 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31501
11541177
JL
315022012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31503
31504 [BZ #11438]
31505 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31506 to global scope.
31507 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31508 addresses are in the same scope as 192.0.2/24.
31509 * posix/gai.conf: Document new scope table defaults.
31510
adb26fae
SP
315112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31512
31513 [BZ #5298]
31514 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31515 for ftell. Compute offsets from write pointers instead.
31516 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31517
4573c6b0
SP
315182012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31519
31520 [BZ #14543]
31521 * libio/Makefile (tests): New test case tst-fseek.
31522 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31523 combination works in wide mode.
31524 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31525 state when the external buffer state changes.
31526
aa9bbfe6
DM
315272012-09-27 David S. Miller <davem@davemloft.net>
31528
31529 [BZ #14376]
31530 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31531 pass reloc->r_addend in as the 'high' argument to
31532 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31533
784421e7
DM
31534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31535
c39bc8b8
PT
315362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31537
31538 * rt/tst-aio2.c: Include <pthread.h>.
31539 * rt/tst-aio3.c: Likewise.
31540
1ccc2399
SE
315412012-09-27 Steve Ellcey <sellcey@mips.com>
31542
31543 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31544
31ed4153
L
315452012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31546
25f5f885
L
31547 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31548 contents on [SHARED].
31ed4153 31549
b7bfe116
MP
315502012-09-26 Marek Polacek <polacek@redhat.com>
31551
31552 [BZ #14530]
31553 [BZ #13741]
31554 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31555 for C++ and GCC <4.3 as well as for non GCC compilers.
31556
43c4edba
MT
315572012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31558
31559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31560
6a1bf82f
RM
315612012-09-25 Roland McGrath <roland@hack.frob.com>
31562
31563 * Makefile.in (all, install): Declare with .PHONY.
31564 Reported by Michael Hope <michael.hope@linaro.org>.
31565
8ad11b9a
TMQMF
315662012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31567
31568 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31569 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31570 system header.
31571 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31572 Likewise.
31573 (sydep_routines): Add the new and the internal functions.
31574 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31575 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31577 (GLIBC_2.17): Add the new function.
31578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31579 (GLIBC_2.17): Likewise.
31580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31581 (GLIBC_2.17): Likewise.
31582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31583 (GLIBC_2.17): Likewise.
31584 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31585
7e2fca8d
AM
315862012-09-25 Alan Modra <amodra@gmail.com>
31587
31588 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31589 Add release barrier before setting once_control to say
31590 initialisation is done. Add hints on lwarx. Use macro in
31591 place of isync.
31592 (clear_once_control): Add release barrier.
31593
b87c4b24
JM
315942012-09-25 Joseph Myers <joseph@codesourcery.com>
31595
d032e0d2
JM
31596 [BZ #13629]
31597 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31598 specially.
31599 * math/s_clog10.c (__clog10): Likewise.
31600 * math/s_clog10f.c (__clog10f): Likewise.
31601 * math/s_clog10l.c (__clog10l): Likewise.
31602 * math/s_clogf.c (__clogf): Likewise.
31603 * math/s_clogl.c (__clogl): Likewise.
31604 * math/Makefile (libm-calls): Add x2y2m1.
31605 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31606 (__x2y2m1): Likewise.
31607 (__x2y2m1l): Likewise.
31608 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31609 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31610 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31611 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31612 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31613 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31614 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31615 * sysdeps/i386/fpu/libm-test-ulps: Update.
31616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31617
b87c4b24
JM
31618 [BZ #14621]
31619 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31620 int as type of variable DEPTH.
31621 (glob): Use size_t instead of int as type of variables NEWCOUNT
31622 and OLD_PATHC.
31623
6d3bf199
LD
316242012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31625
22bf5c17
LD
31626 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31627 Add s_sincosf-sse2.
31628 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31629 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31630 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31631 macros for using routine as __sincosf_ia32.
31632 Use macro for function declaration and weak_alias.
31633 * sysdeps/i386/fpu/libm-test-ulps: Update.
31634
31635 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31637
31638 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
31639 subnormal argument.
31640 * math/s_cexpf.c (__cexpf): Likewise.
31641 * math/s_csinf.c (__csinf): Likewise.
31642 * math/s_csinhf.c (__csinhf): Likewise.
31643 * math/s_ctanf.c (__ctanf): Likewise.
31644 * math/s_ctanhf.c (__ctanhf): Likewise.
31645 * math/s_ccosh.c (__ccoshf): Likewise.
31646 * math/s_cexp.c (__cexpl): Likewise.
31647 * math/s_csin.c (__csin): Likewise.
31648 * math/s_csinh.c (__csinh): Likewise.
31649 * math/s_ctan.c (__ctan): Likewise.
31650 * math/s_ctanh.c (ctanh): Likewise.
31651 * math/s_ccoshl.c (__ccoshl): Likewise.
31652 * math/s_cexpl.c (__cexpl): Likewise.
31653 * math/s_csinl.c (__csinl): Likewise.
31654 * math/s_csinhl.c (__csinhl): Likewise.
31655 * math/s_ctanl.c (__ctanl): Likewise.
31656 * math/s_ctanhl.c (__ctanhl): Likewise.
31657
203e5603
JM
316582012-09-25 Joseph Myers <joseph@codesourcery.com>
31659
31660 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31661 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31662 (_IO_off_t): Define to __off_t, not _G_off_t.
31663 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31664 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31665 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31666 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31667 type of __dummy and __dummy2 fields.
31668 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31669 (_G_ssize_t): Likewise.
31670 (_G_off_t): Likewise.
31671 (_G_pid_t): Likewise.
31672 (_G_uid_t): Likewise.
31673 (_G_wchar_t): Likewise.
31674 (_G_wint_t): Likewise.
31675 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31676 (_G_ssize_t): Likewise.
31677 (_G_off_t): Likewise.
31678 (_G_pid_t): Likewise.
31679 (_G_uid_t): Likewise.
31680 (_G_wchar_t): Likewise.
31681 (_G_wint_t): Likewise.
31682 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31683 (_G_ssize_t): Likewise.
31684 (_G_off_t): Likewise.
31685 (_G_pid_t): Likewise.
31686 (_G_uid_t): Likewise.
31687 (_G_wchar_t): Likewise.
31688 (_G_wint_t): Likewise.
31689
9fab36eb
SP
316902012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31691
31692 * malloc/arena.c: Include malloc-sysdep.h.
31693 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31694 is sufficient to shrink the heap or an unmap is needed.
31695 * sysdeps/generic/malloc-sysdep.h: New file. Define
31696 new function check_may_shrink_heap.
31697 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31698 new function check_may_shrink_heap.
31699
2b4f00d1
SP
317002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31701
31702 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31703 comments.
31704
9a9028b1
DL
317052012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31706
57c69bef
DL
31707 * catgets/test-gencat.sh: Add "set -e".
31708 * elf/tst-pathopt.sh: Likewise.
31709 * grp/tst_fgetgrent.sh: Likewise.
31710 * iconvdata/run-iconv-test.sh: Likewise.
31711 * intl/tst-gettext.sh: Likewise.
31712 * intl/tst-gettext2.sh: Likewise.
31713 * intl/tst-gettext4.sh: Likewise.
31714 * intl/tst-gettext6.sh: Likewise.
31715 * intl/tst-translit.sh: Likewise.
31716 * io/ftwtest-sh: Likewise.
31717 * libio/test-freopen.sh: Likewise.
31718 * malloc/tst-mtrace.sh: Likewise.
31719 * posix/globtest.sh: Likewise.
31720 * posix/tst-getconf.sh: Likewise.
31721 * posix/wordexp-tst.sh: Likewise.
31722 * stdio-common/tst-printf.sh: Likewise.
31723 * stdio-common/tst-unbputc.sh: Likewise.
31724 * stdlib/tst-fmtmsg.sh: Likewise.
31725 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31726 * catgets/Makefile: Do not specify -e option when running
31727 testsuite shell scripts.
31728 * elf/Makefile: Likewise.
31729 * grp/Makefile: Likewise.
31730 * iconvdata/Makefile: Likewise.
31731 * intl/Makefile: Likewise.
31732 * io/Makefile: Likewise.
31733 * libio/Makefile: Likewise.
31734 * malloc/Makefile: Likewise.
31735 * posix/Makefile: Likewise.
31736 * stdio-common/Makefile: Likewise.
31737 * stdlib/Makefile: Likewise.
31738 * sysdeps/x86_64/Makefile: Likewise.
31739
9a9028b1
DL
31740 * io/ftwtest-sh: Add copyright header.
31741 * posix/globtest.sh: Likewise.
31742 * posix/tst-getconf.sh: Likewise.
31743 * posix/wordexp-tst.sh: Likewise.
31744 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31745
ced6f16e
L
317462012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31747
94b32c39
L
31748 [BZ #13679]
31749 * Makeconfig (+link): Defined as $(+link-static) if
31750 $(build-shared) isn't yes.
31751 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31752 isn't yes.
31753 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31754
189e935b
L
31755 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31756
ced6f16e
L
31757 [BZ #14562]
31758 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31759 new chunk size with MALLOC_ALIGN_MASK.
31760
a9f8e53a
JM
317612012-09-24 Joseph Myers <joseph@codesourcery.com>
31762
31763 [BZ #5044]
31764 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31765 <rounding-mode.h>.
31766 (__printf_fphex): Determine rounding using get_rounding_mode and
31767 round_away.
31768 * stdio-common/tst-printf-round.c (struct hex_test): New
31769 structure.
31770 (hex_tests): New variable.
31771 (test_hex_in_one_mode): New function.
31772 (do_test): Also run tests for hex float output.
31773
43153109
JM
317742012-09-21 Joseph Myers <joseph@codesourcery.com>
31775
31776 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31777 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31778 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31779 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31780 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31781 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31782 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31783 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31784
8a26625d
JM
317852012-09-20 Joseph Myers <joseph@codesourcery.com>
31786
31787 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31788 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31789 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31790 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31791
f3fd569c
DL
317922012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31793
31794 [BZ #14579]
31795 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31796 mode only.
31797 * elf/tst-rtld-load-self.sh: New test.
31798 * elf/Makefile: Run it.
31799
63bbedd4
JM
318002012-09-18 Joseph Myers <joseph@codesourcery.com>
31801
31802 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31803 (tst-writev-ENV): Remove.
31804 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31805
626f8b6a
CM
318062012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31807
31808 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31809
b7aaa4d6
JM
318102012-09-17 Joseph Myers <joseph@codesourcery.com>
31811
31812 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31813 unconditional.
31814 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31815 Likewise.
31816 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31817 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31818 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31819 Likewise.
31820
65513990
L
318212012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31822
31823 [BZ #14587]
31824 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31825 * config.make.in (have-cpp-asm-debuginfo): Removed.
31826 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31827 * configure: Regenerated.
31828
784761be
JM
318292012-09-14 Joseph Myers <joseph@codesourcery.com>
31830
31831 [BZ #5044]
31832 * stdio-common/printf_fp.c: Include <stdbool.h> and
31833 <rounding-mode.h>.
31834 (___printf_fp): Determine rounding using get_rounding_mode and
31835 round_away.
31836 * stdio-common/tst-printf-round.c: New file.
31837 * stdio-common/Makefile (tests): Add tst-printf-round.
31838 (link-libm): New variable.
31839 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31840
9503345f
L
318412012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31842
31843 [BZ #14576]
31844 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31845 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31846 Likewise.
31847 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31848 Likewise.
31849
ad35fc00
JM
318502012-09-13 Joseph Myers <joseph@codesourcery.com>
31851
31852 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31853 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31854 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31855 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31856
6c9b0f68
JM
318572012-09-12 Joseph Myers <joseph@codesourcery.com>
31858
31859 [BZ #14518]
31860 * include/rounding-mode.h: New file.
31861 * sysdeps/generic/get-rounding-mode.h: Likewise.
31862 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31863 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31864 (MAX_VALUE): New macro.
31865 (MIN_VALUE): Likewise.
31866 (overflow_value): New function.
31867 (underflow_value): Likewise.
31868 (round_and_return): Use overflow_value and underflow_value to
31869 determine return values in overflow and underflow cases. Use
31870 round_away to determine rounding depending on rounding mode.
31871 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31872 determine return values in overflow and underflow cases.
31873 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31874 (struct test_results): New structure.
31875 (struct test): Use struct test_results to store expected results
31876 for all rounding modes.
31877 (TEST): Include expected results for all rounding modes.
31878 (test_in_one_mode): New function.
31879 (do_test): Use test_in_one_mode to compute and check results.
31880 Check results for all rounding modes.
31881 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31882 $(link-libm).
31883
19fcedd5
AM
318842012-12-09 Allan McRae <allan@archlinux.org>
31885
1e9d84cd 31886 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 31887
8bbfd2f1
JM
318882012-09-11 Joseph Myers <joseph@codesourcery.com>
31889
31890 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31891 (_G_int32_t): Likewise.
31892 (_G_uint16_t): Likewise.
31893 (_G_uint32_t): Likewise.
31894 (_G_HAVE_BOOL): Likewise.
31895 (_G_HAVE_ATEXIT): Likewise.
31896 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31897 (_G_HAVE_IO_FILE_OPEN): Likewise.
31898 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31899 (_G_int32_t): Likewise.
31900 (_G_uint16_t): Likewise.
31901 (_G_uint32_t): Likewise.
31902 (_G_HAVE_BOOL): Likewise.
31903 (_G_HAVE_ATEXIT): Likewise.
31904 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31905 (_G_HAVE_IO_FILE_OPEN): Likewise.
31906 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31907 (_G_int32_t): Likewise.
31908 (_G_uint16_t): Likewise.
31909 (_G_uint32_t): Likewise.
31910 (_G_HAVE_BOOL): Likewise.
31911 (_G_HAVE_ATEXIT): Likewise.
31912 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31913 (_G_HAVE_IO_FILE_OPEN): Likewise.
31914
b1dc5912
L
319152012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31916
31917 * csu/libc-tls.c: Update copyright years.
31918
0e886ef9
JM
319192012-09-10 Joseph Myers <joseph@codesourcery.com>
31920
28361c5e
JM
31921 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31922 [!_G_USING_THUNKS]: Remove conditional code.
31923 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31924 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31925
0e886ef9
JM
31926 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31927 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31928 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31929 (_G_VTABLE_LABEL_PREFIX): Likewise.
31930 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31931 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31932 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31933 (_G_VTABLE_LABEL_PREFIX): Likewise.
31934 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31935 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31936 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31937 (_G_VTABLE_LABEL_PREFIX): Likewise.
31938 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31939
bcba7aa2
L
319402012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31941
31942 * libio/Makefile: Include ../Makeconfig before tests.
31943 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31944 only if $(build-shared) is yes.
31945
06585ee8
L
31946 * iconv/gconv_db.c: Update copyright years.
31947
80ccd52c
LD
319482012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31949
31950 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31951 unwind info if defined PIC. Fix special cases description.
31952 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31953
31954 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31955 DP_HI_MASK entry.
31956 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31957
691bc9c1
L
319582012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31959
3d9b46b3
L
31960 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31961
de2139a9
L
31962 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31963 is NULL.
31964
5ca78dd0
L
31965 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31966 (LDLIBS-tst-chk4): This.
31967 (LDFLAGS-tst-chk5): Renamed to ...
31968 (LDLIBS-tst-chk5): This.
31969 (LDFLAGS-tst-chk6): Renamed to ...
31970 (LDLIBS-tst-chk6): This.
31971 (LDFLAGS-tst-lfschk4): Renamed to ...
31972 (LDLIBS-tst-lfschk4): This.
31973 (LDFLAGS-tst-lfschk5): Renamed to ...
31974 (LDLIBS-tst-lfschk5): This.
31975 (LDFLAGS-tst-lfschk6): Renamed to ...
31976 (LDLIBS-tst-lfschk6): This.
31977
691bc9c1
L
31978 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31979 on $(common-objpfx)soversions.mk.
31980
65cafb1c
JM
319812012-09-07 Joseph Myers <joseph@codesourcery.com>
31982
31983 [BZ #10014]
31984 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31985 example host name.
31986
c78ab094
SP
319872012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31988
31989 * malloc/arena.c (arena_get_retry): New function that gets
31990 another arena for the caller to try its request on.
31991 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31992 current arena cannot fulfill the request.
31993 (__libc_memalign): Likewise.
31994 (__libc_memalign): Likewise.
31995 (__libc_pvalloc): Likewise.
31996 (__libc_calloc): Likewise.
31997
01f49f59
JT
319982012-09-05 John Tobey <john.tobey@gmail.com>
31999
32000 [BZ #13542]
32001 * manual/arith.texi (Operations on Complex): Fix description
32002 of carg branch cut.
32003
4c23fed5
JM
320042012-09-06 Joseph Myers <joseph@codesourcery.com>
32005
1d3c8572
JM
32006 [BZ #10014]
32007 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32008 host name.
32009
4c23fed5
JM
32010 [BZ #10038]
32011 * manual/memory.texi (Memory): Make order of menu items match
32012 order of sections.
32013
04570aaa
L
320142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32015
32016 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32017 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32018 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32019
b80af2f4
L
320202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32021
32022 * csu/libc-tls.c (static_dtv): Renamed to ...
32023 (_dl_static_dtv): This. Make it global.
32024 (_dl_initial_dtv): Removed.
32025 (__libc_setup_tls): Updated.
32026 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32027 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32028 DL_INITIAL_DTV.
32029
2abe9f15
PM
320302012-09-06 Petr Machata <pmachata@redhat.com>
32031
32032 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32033 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32034 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32035 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32036
0948c3af
L
320372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32038
32039 [BZ #14545]
32040 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32041 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32042 freeing dtv[-1].
32043
a5055ad1
L
320442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32045
32046 [BZ #14544]
32047 * Makeconfig (link-static-before-libc): Replace $(+prector)
32048 with $(+prectorT).
32049 (link-static-after-libc): Replace $(+postctor) with
32050 $(+postctorT).
32051 (link-bounded): Replace $(+prector)/$(+postctor) with
32052 $(+prectorT)/$(+postctorT).
32053 (+prectorT): New macro.
32054 (+postctorT): Likewise.
32055
ed8c2ecd
JM
320562012-09-06 Joseph Myers <joseph@codesourcery.com>
32057
32058 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32059 (round_str): Handle values above the maximum for IBM long double
32060 as inexact.
32061 * stdlib/tst-strtod-round.c (tests): Regenerated.
32062
14c996c8
AK
320632012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32064
32065 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32066 assembler flag.
32067 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32068 zarch_nohighgprs around the zarch optimized routines.
32069 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32070 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32071 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32072 for zarch.
32073
430d6ce6
DM
320742012-09-05 David S. Miller <davem@davemloft.net>
32075
32076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32077
57f41c40
AS
32078 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32079 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32080 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32081 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32082 entries.
32083
24d4e01b
AO
320842012-09-05 Alexandre Oliva <aoliva@redhat.com>
32085
32086 * malloc/arena.c: Fold copyright years.
32087 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32088
61d58174
AO
320892012-09-05 Alexandre Oliva <aoliva@redhat.com>
32090
32091 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32092
20196a5e
AO
320932012-09-05 Alexandre Oliva <aoliva@redhat.com>
32094
32095 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32096
5c447383
AO
320972012-09-05 Alexandre Oliva <aoliva@redhat.com>
32098
32099 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32100 change internal state upon failure.
32101
fad64255
AO
321022012-09-05 Alexandre Oliva <aoliva@redhat.com>
32103
32104 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32105 * malloc/memusage.c (mmap): Likewise.
32106 (mmap64, mremap): Likewise. Adjust name in comment.
32107
1ffb8c90
SP
321082012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32109
32110 * libio/fileops.c: Fix typos in comments.
32111 * libio/oldfileops.c: Likewise.
32112 * libio/wfileops.c: Likewise.
32113
6ef9cc37
SP
321142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32115
32116 [BZ #1349]
32117 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32118 (tst-malloc-usable-ENV): Set environment for test case.
32119 * malloc/hooks.c (malloc_check_get_size): New function to get
32120 requested size.
32121 * malloc/malloc.c (musable): Use malloc_check_get_size.
32122 * malloc/tst-malloc-usable.c: New test case.
32123
4d038ae3
AS
321242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32125
32126 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32127
c4e85184
AM
321282012-09-05 Allan McRae <allan@archlinux.org>
32129
b9dafc56 32130 [BZ #13966]
c4e85184
AM
32131 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32132 determine header location.
32133 * configure: Regenerated.
32134
e1343020
AS
321352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32136
32137 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32138 float format.
32139 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32140 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32141 format.
e1343020
AS
32142 (test): Regenerate.
32143
0a9f1987
DM
321442012-09-04 David S. Miller <davem@davemloft.net>
32145
32146 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32147 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32148 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32149
29237804
FW
321502012-09-04 Florian Weimer <fweimer@redhat.com>
32151
32152 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32153 failures.
32154
edb3cb88
FW
32155 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32156
60160d83
JM
321572012-09-04 Joseph Myers <joseph@codesourcery.com>
32158
32159 [BZ #9914]
32160 * libio/iogetdelim.c: Include <limits.h>.
32161 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32162 + len + 1 would overflow.
32163
bcd6c8dc
AJ
321642012-09-03 Andreas Jaeger <aj@suse.de>
32165
32166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32167 * sysdeps/i386/fpu/libm-test-ulps: Update.
32168
4ffffbd2
LD
321692012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32170
32171 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32172 Add s_sinf-sse2, s_conf-sse2.
32173
32174 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32175 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32176 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32177 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32178
32179 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32180 for using routine as __sinf_ia32.
32181 Use macro for function declaration and weak_alias.
32182 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32183 for using routine as __cosf_ia32.
32184 Use macro for function declaration and weak_alias.
32185
32186 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32187 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32188
32189 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32190 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32192
32193 * math/libm-test.inc (cos_test): Add more test cases.
32194 (sin_test): Likewise.
32195 (sincos_test): Likewise.
32196
511fa286
AK
321972012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32198
32199 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32200 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32201 hidden.
32202 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32203
5f30cfec
L
322042012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32205
32206 [BZ #14538]
32207 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32208 first element of the GOT.
32209 (elf_machine_load_address): Return the difference between
32210 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32211
0786794f
AM
322122012-09-01 Allan McRae <allan@archlinux.org>
32213
5f30cfec
L
32214 [BZ #13412]
32215 * configure.in (AWK): Require gawk version 3.0 or later.
32216 * configure: Regenerated.
0786794f 32217
26889eac
JM
322182012-09-01 Joseph Myers <joseph@codesourcery.com>
32219
32220 * sysdeps/unix/sysv/linux/kernel-features.h
32221 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32222 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32223 [__NR_clock_getres]: Make code unconditional.
32224 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32225 (clock_getcpuclockid): Remove code left unreachable by removal of
32226 conditionals.
32227 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32228 code unconditional.
32229 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32230 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32231 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32232 Make code unconditional.
32233 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32234 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32235 * sysdeps/unix/sysv/linux/clock_settime.c
32236 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32237 conditional code.
32238 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32239 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32240
d22e28b0
L
322412012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32242
32243 [BZ #14476]
32244 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32245 scripts/test-installation.pl.
32246
32247 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32248 and $ld_so_version if it is set.
32249
050af9c4
SP
322502012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32251
32252 [BZ #14516]
32253 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32254 failure if reading from procfs failed.
32255 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32256
ad845c0b
JM
322572012-08-27 Joseph Myers <joseph@codesourcery.com>
32258
32259 * sysdeps/unix/sysv/linux/kernel-features.h
32260 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32261 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32262 Remove conditional code.
32263 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32264 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32265 Remove conditional code.
32266 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32267 * sysdeps/unix/sysv/linux/i386/fxstat.c
32268 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32270 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32271 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32273 * sysdeps/unix/sysv/linux/i386/lxstat.c
32274 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32276 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32277 Remove conditional code.
32278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32279 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32280 Remove conditional code.
32281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32282 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32283 <kernel-features.h>.
32284 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32285 Remove.
32286 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32287 Remove conditional code.
32288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32289 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32290 Remove conditional.
32291
5dbf56af
MF
322922012-08-27 Mike Frysinger <vapier@gentoo.org>
32293
32294 [BZ #5400]
32295 * NEWS: Add fixed bug number.
32296
d6e70f43
JM
322972012-08-27 Joseph Myers <joseph@codesourcery.com>
32298
7efb4737
JM
32299 [BZ #14519]
32300 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32301 underflowing exponent in case of negative sign.
32302 * stdlib/tst-strtod-round-data: Add more tests.
32303 * stdlib/tst-strtod-round.c (tests): Regenerated.
32304
af92131a
JM
32305 [BZ #3479]
32306 * stdlib/strtod_l.c (NDIG): Remove.
32307 (HEXNDIG): Likewise.
32308 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32309 smallest representable value.
32310 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32311 lie within an exact representation of 1/2 ulp of the result.
32312 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32313 unconditionally.
32314 (TENS_P9_IDX): Define unconditionally.
32315 (TENS_P9_SIZE): Likewise.
32316 (TENS_P10_IDX): Likewise.
32317 (TENS_P10_SIZE): Likewise.
32318 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32319 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32320 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32321 entries for 10^2^13 and 10^2^14.
32322 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32323 (TENS_P13_IDX): Define.
32324 (TENS_P13_SIZE): Likewise.
32325 (TENS_P14_IDX): Likewise.
32326 (TENS_P14_SIZE): Likewise.
32327 (_fpioconst_pow10): Change array size to
32328 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32329 unconditional.
32330 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32331 1024]: Add entries for 10^2^13 and 10^2^14.
32332 [LAST_POW10 > _LAST_POW10]: Remove #error.
32333 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32334 (_fpioconst_pow10): Change array size to
32335 FPIOCONST_POW10_ARRAY_SIZE.
32336 * stdlib/gen-fpioconst.c: New file.
32337 * stdlib/gen-tst-strtod-round.c: Likewise.
32338 * stdlib/tst-strtod-round-data: Likewise.
32339 * stdlib/tst-strtod-round.c: Likewise.
32340 * stdlib/Makefile (tests): Add tst-strtod-round.
32341
d6e70f43
JM
32342 [BZ #14459]
32343 * stdlib/strtod_l.c: Include <stdint.h>.
32344 (NDEBUG): Do not define.
32345 (round_and_return): Change EXPONENT parameter to type intmax_t.
32346 Rearrange calculations to avoid internal overflow possibilities.
32347 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32348 Rearrange calculations to avoid internal overflow possibilities.
32349 Assert that number fits inside MPNSIZE limbs.
32350 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32351 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32352 calculations and add assertions to avoid internal overflow
32353 possibilities. Add casts to avoid signed/unsigned operations.
32354 * stdlib/tst-strtod-overflow.c: New file.
32355 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32356
1f529f7d
MP
323572012-08-25 Marek Polacek <polacek@redhat.com>
32358
32359 * time/time.h: Fix some typos in comments.
32360
59a629f1
RM
323612012-08-23 Roland McGrath <roland@hack.frob.com>
32362
32363 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32364 * posix/tst-rfc3484-2.c: Likewise.
32365 * posix/tst-rfc3484-3.c: Likewise.
32366
d3bafbc9
SM
323672012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32368
32369 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32370 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32371
4efcc022
JM
323722012-08-23 Joseph Myers <joseph@codesourcery.com>
32373
32374 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32375 #include of fxstatat64.c.
32376
3cc3ef96
RM
323772012-08-22 Roland McGrath <roland@hack.frob.com>
32378
f04e2132
RM
32379 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32380 * shadow/getspent_r.c: Likewise.
32381 * shadow/getspnam.c: Likewise.
32382 * shadow/getspnam_r.c: Likewise.
32383 * gshadow/getsgent.c: Likewise.
32384 * gshadow/getsgent_r.c: Likewise.
32385 * gshadow/getsgnam.c: Likewise.
32386 * gshadow/getsgnam_r.c: Likewise.
32387 * inet/getnetbyad.c: Likewise.
32388 * inet/getnetbyad_r.c: Likewise.
32389 * inet/getnetbynm.c: Likewise.
32390 * inet/getnetbynm_r.c: Likewise.
32391 * inet/getnetent.c: Likewise.
32392 * inet/getnetent_r.c: Likewise.
32393 * inet/getproto.c: Likewise.
32394 * inet/getproto_r.c: Likewise.
32395 * inet/getprtent.c: Likewise.
32396 * inet/getprtent_r.c: Likewise.
32397 * inet/getprtname.c: Likewise.
32398 * inet/getprtname_r.c: Likewise.
32399 * inet/getrpcbyname.c: Likewise.
32400 * inet/getrpcbyname_r.c: Likewise.
32401 * inet/getrpcbynumber.c: Likewise.
32402 * inet/getrpcbynumber_r.c: Likewise.
32403 * inet/getrpcent.c: Likewise.
32404 * inet/getrpcent_r.c: Likewise.
32405 * inet/getaliasent.c: Likewise.
32406 * inet/getaliasent_r.c: Likewise.
32407 * inet/getaliasname.c: Likewise.
32408 * inet/getaliasname_r.c: Likewise.
32409 * nscd/getgrgid_r.c: Likewise.
32410 * nscd/getgrnam_r.c: Likewise.
32411 * nscd/gethstbyad_r.c: Likewise.
32412 * nscd/gethstbynm3_r.c: Likewise.
32413 * nscd/getpwnam_r.c: Likewise.
32414 * nscd/getpwuid_r.c: Likewise.
32415 * nscd/getsrvbynm_r.c: Likewise.
32416 * nscd/getsrvbypt_r.c: Likewise.
32417 * nscd/gai.c: Likewise.
32418
c53d909c
RM
32419 * configure.in (build_nscd): New substituted variable, set
32420 by --disable-build-nscd and defaults to $use_nscd.
32421 * configure: Regenerated.
32422 * config.make.in (build-nscd): New substituted variable.
32423 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32424 Change conditional to require [$(build-nscd) = yes] as well.
32425 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32426
3cc3ef96
RM
32427 [BZ# 13696]
32428 * configure.in (use_nscd): New substituted variable, set by
32429 --disable-nscd. If enabled, define USE_NSCD.
32430 * configure: Regenerated.
32431 * config.h.in: Add USE_NSCD.
32432 * config.make.in (use-nscd): New substituted variable.
32433 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32434 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32435 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32436 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32437 (CFLAGS-getgrnam_r.c): Likewise.
32438 (CFLAGS-initgroups.c): Likewise.
32439 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32440 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32441 Variables removed.
32442 * inet/getnetgrent_r.c
32443 (nscd_setnetgrent): New function, broken out of ...
32444 (setnetgrent): ... here. Call it.
32445 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32446 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32447 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32448 * nscd/Makefile (routines, aux): Move definitions after include of
32449 Makeconfig. Conditionalize on [$(use-nscd) != no].
32450 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32451 Conditionalize on [USE_NSCD].
32452 (is_nscd, nscd_init_cb): Likewise.
32453 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32454 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32455 * nss/nss_db/db-init.c: Likewise.
32456 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32457 [USE_NSCD].
32458 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32459 (make_request): Use it.
32460 (cache_valid_p): New function.
32461 (__check_pf): Use it.
32462 * NEWS: Add item for --disable-nscd.
32463
07e51550
DL
324642012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32465
32466 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32467 to support sed >= 4.2.1-20-ga9bf076.
32468 * configure: Regenerated.
32469
35a5b08b
RM
324702012-08-22 Roland McGrath <roland@hack.frob.com>
32471
32472 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32473 Conditionalize whole body on [IREL].
32474
8479f23a
JL
324752012-08-22 Jeff Law <law@redhat.com>
32476
32477 [BZ #14505]
32478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32479 if the family is PF_UNSPEC.
32480
48da0b21
MF
324812012-08-22 Mike Frysinger <vapier@gentoo.org>
32482
32483 * Makerules (lib-version): Rename from V.
32484 (install-lib-nosubdir): Change V to lib-version.
32485
15d0da8c
WS
324862012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32487
32488 [BZ #14252]
32489 * powerpc32/power6/wcschr.c: New file.
32490 * powerpc32/power6/wcscpy.c: New file.
32491 * powerpc32/power6/wcsrchr.c: New file.
32492 * powerpc64/power6/wcschr.c: New file.
32493 * powerpc64/power6/wcscpy.c: New file.
32494 * powerpc64/power6/wcsrchr.c: New file.
32495
bcca0895
MK
324962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32497
32498 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32499 (two_way_short_needle): Use it.
5a4aaa33
RM
32500 * string/strstr.c (AVAILABLE1_USES_J): Define.
32501 * string/strcasestr.c: Likewise.
99677e57
MK
32502
32503 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32504 array references.
32505 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32506
400726de
MK
32507 [BZ #11607]
32508 * NEWS: Add an entry.
32509 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32510 define their defaults.
32511 (two_way_short_needle): Detect end-of-string on-the-fly.
32512 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32513 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32514 * string/bug-strcasestr1.c: New test.
32515 * string/Makefile: Run it.
32516
20a71f2c
MK
325172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32518
32519 [BZ #11607]
32520 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32521 the first character.
32522
21ad0558
RM
325232012-08-21 Roland McGrath <roland@hack.frob.com>
32524
32525 * csu/elf-init.c (__libc_csu_irel): Function removed.
32526 * csu/libc-start.c (apply_irel): New function.
32527 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32528
0e1d9911
JM
325292012-08-21 Joseph Myers <joseph@codesourcery.com>
32530
32531 * sysdeps/unix/sysv/linux/kernel-features.h
32532 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32533 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32534 <kernel-features.h>.
32535 [__NR_fadvise64_64]: Make code unconditional.
32536 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32537 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32538 !__NR_fadvise64_64)]: Likewise.
32539 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32540 !__NR_fadvise64_64))]: Likewise.
32541 [__NR_fadvise64]: Make code unconditional.
32542 [!__NR_fadvise64]: Remove conditional code.
32543 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32544 <kernel-features.h>.
32545 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32546 unconditional.
32547 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32548 conditional code.
32549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32550 not include <kernel-features.h>.
32551 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32552 unconditional.
32553 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32554 conditional code.
32555 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32556 include <kernel-features.h>.
32557 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32558 unconditional.
32559 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32560 conditional code.
32561
14a50c9d
WS
325622012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32563
32564 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32565 slight instruction rearrangements per scrollpipe analysis.
32566 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32567
c0f4faf0
RM
325682012-08-20 Roland McGrath <roland@hack.frob.com>
32569
696da859
RM
32570 * manual/syslog.texi (syslog; vsyslog, closelog):
32571 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32572 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32573
c0f4faf0
RM
32574 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32575 DSOCAPS to match condition on defining it.
32576
348363b2
JM
325772012-08-20 Joseph Myers <joseph@codesourcery.com>
32578
a35cbf28
JM
32579 * sysdeps/unix/sysv/linux/kernel-features.h
32580 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32582 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32583 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32585 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32586 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32588 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32589 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32590
445f7ecd
JM
32591 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32592 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32593
348363b2
JM
32594 * sysdeps/unix/sysv/linux/kernel-features.h
32595 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32596 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32597 unconditional.
32598 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32599 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32600 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32601 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32602 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32603 Make code unconditional.
32604 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32605 (__mmap64) [!__NR_mmap2]: Likewise.
32606 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32607 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32608 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32609 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32610 [__NR_mmap2]: Make code unconditional.
32611 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32612 (__mmap64) [!__NR_mmap2]: Likewise.
32613
bc5bc0e5
AK
326142012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32615
32616 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32617
88d506de
AJ
326182012-08-18 Andreas Jaeger <aj@suse.de>
32619
32620 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32621
493387d2
MF
326222012-08-18 Mike Frysinger <vapier@gentoo.org>
32623
32624 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32625 * include/unistd.h (__have_sock_cloexec): Likewise.
32626 (__have_pipe2): Likewise.
32627 (__have_dup3): Likewise.
32628
a277af22
MF
326292012-08-18 Mike Frysinger <vapier@gentoo.org>
32630
32631 [BZ #9685]
32632 * include/unistd.h (__have_pipe2): Change define into an extern int.
32633 (__have_dup3): Likewise.
32634 * socket/have_sock_cloexec.c: Include fcntl.h.
32635 (__have_pipe2): New variable.
32636 (__have_dup3): Likewise.
32637
fdab8fd3
MF
326382012-08-17 Mike Frysinger <vapier@gentoo.org>
32639
32640 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32641
31035e80
MP
326422012-08-17 Marek Polacek <polacek@redhat.com>
32643
32644 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32645 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32646
3bd9e993
RM
326472012-08-17 Roland McGrath <roland@hack.frob.com>
32648
c91c505f
RM
32649 * configure.in: Add AC_SUBST for sysheaders.
32650 * configure: Regenerated.
32651 * config.make.in (sysheaders): New substituted variable.
32652
7c6f9d53
RM
32653 * sysdeps/unix/mkfifo.c: Moved ...
32654 * sysdeps/posix/mkfifo.c: ... here.
32655 * sysdeps/unix/mkfifoat.c: Moved ...
32656 * sysdeps/posix/mkfifoat.c: ... here.
32657
32658 * sysdeps/unix/utime.c: Moved ...
32659 * sysdeps/posix/utime.c: ... here.
32660
32661 * sysdeps/unix/time.c: Moved ...
32662 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
32663 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32664 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
32665
32666 * sysdeps/unix/nice.c: Moved ...
32667 * sysdeps/posix/nice.c: ... here.
32668
32669 * sysdeps/unix/alarm.c: Moved ...
32670 * sysdeps/posix/alarm.c: ... here.
32671
3bd9e993
RM
32672 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32673
d1f09384
JL
326742012-08-17 Jeff Law <law@redhat.com>
32675
32676 * intl/Makefile (codeset_mo): New variable.
32677 ($(codeset_mo)): New target.
32678 (tst-codeset.out): Depend on that. Remove explicit rule.
32679 (tst-gettext3.out, tst-gettext5.out): Likewise.
32680 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32681 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32682 * intl/tst-codeset.sh: Remove.
32683 * intl/tst-gettext3.sh: Likewise.
32684 * intl/tst-gettext5.sh: Likewise.
32685
2ae1ae5c
RM
326862012-08-17 Roland McGrath <roland@hack.frob.com>
32687
c31fdb83
RM
32688 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32689 * sysdeps/unix/syscalls.list: ... here.
32690
a0844057
RM
32691 * sysdeps/posix/getaddrinfo.c
32692 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32693 (gaiconf_init, gaiconf_reload): Use them.
32694 [!_STATBUF_ST_NSEC]
32695 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32696 Define using time_t rather than struct timespec.
32697
750c1f2a
RM
32698 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32699 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32700 Macros removed.
32701 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32702 [!NO_THREADS].
32703 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32704 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32705 Likewise.
32706
2ae1ae5c
RM
32707 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32708 __libc_cleanup_push argument.
32709
e66a42f5
RM
32710 * bits/param.h: New file.
32711 * misc/sys/param.h: New file.
32712 * include/sys/param.h: New file.
32713 * misc/Makefile (headers): Add bits/param.h.
32714 * sysdeps/generic/sys/param.h: File removed.
32715 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32716 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32717 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 32718 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 32719
b7c08a66
RM
32720 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32721 last change.
32722
b2e1c562
RM
32723 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32724 [_IO_MTSAFE_IO].
32725 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32726 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32727 New macros.
32728
c75ccd4c
RM
32729 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32730 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32731 rather than -D_IO_MTSAFE_IO conditionally.
32732 * stdio-common/Makefile (CPPFLAGS): Likewise.
32733 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32734 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32735 Use $(libio-mtsafe).
32736 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32737 of -D_IO_MTSAFE_IO.
32738 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32739 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32740 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32741 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32742 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32743 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32744 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32745 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32746 (CFLAGS-fread_u_chk.c): Likewise.
32747 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32748 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32749 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32750 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32751 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32752 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32753 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32754 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32755 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32756
32757 * libio/Makefile: Test [$(libc-reentrant) = yes]
32758 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32759
32760 * Makeconfig
32761 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32762 * sysdeps/pthread/configure: File removed.
32763 * sysdeps/pthread/Makeconfig: New file.
32764 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32765 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32766
d9195db8
GB
327672012-08-16 Gary Benson <gbenson@redhat.com>
32768
32769 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32770 unmapping the first object in a namespace.
32771
86466cd9
RM
327722012-08-16 Roland McGrath <roland@hack.frob.com>
32773
32774 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32775 (__internal_setnetgrent): ... this. Add internal_function to
32776 definition. Add libc_hidden_def.
32777 (setnetgrent): Update caller.
32778 (internal_endnetgrent): Renamed to ...
32779 (__internal_endnetgrent): ... this. Add internal_function to
32780 definition. Add libc_hidden_def.
32781 (endnetgrent): Update caller.
32782 (internal_getnetgrent_r): Renamed to ...
32783 (__internal_getnetgrent_r): ... this. Add internal_function to
32784 definition. Add libc_hidden_def.
32785 (__getnetgrent_r): Update caller.
32786 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32787
c3c8283c
JM
327882012-08-16 Joseph Myers <joseph@codesourcery.com>
32789
32790 * stdlib/longlong.h: Update from GCC.
32791
db1ee0a8
RM
327922012-08-16 Roland McGrath <roland@hack.frob.com>
32793
32794 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32795 on _QL, which is set by umul_ppmm but never used.
32796 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32797 variables, which are set by GMP macros but never used.
32798 * stdio-common/_itowa.c (_itowa): Likewise.
32799 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32800 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32801
30f69637
CD
328022012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32803
32804 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32805 struct La_sh_regs is not constant.
32806 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32807 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32808 and struct La_sparc64_regs are not constant.
32809
93a78ac4
JM
328102012-08-16 Joseph Myers <joseph@codesourcery.com>
32811
32812 * sysdeps/unix/sysv/linux/kernel-features.h
32813 (__ASSUME_POSIX_TIMERS): Remove.
32814 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32815 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32816 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32817 Make code unconditional.
32818 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32819 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32820 Make code unconditional.
32821 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32822 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32823 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32824 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32825 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32826 Make code unconditional.
32827 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32828 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32829 (__libc_missing_posix_timers): Remove.
32830
dd924cd7
RM
328312012-08-15 Roland McGrath <roland@hack.frob.com>
32832
4b4f2771
RM
32833 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32834 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32835
601c888b
RM
32836 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32837
176790a7
RM
32838 * elf/dl-sym.c: Include <stdlib.h>.
32839
329bc018
RM
32840 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32841 constants, which avoids warnings in 32-bit builds.
32842
e04e272d
RM
32843 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32844 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32845
952bf94a
RM
32846 * misc/lseek.c: File moved to ...
32847 * io/lseek.c: ... here.
32848
7c99b50a
RM
32849 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32850
dd924cd7
RM
32851 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32852 shifting LEN more than 31 bits at once.
32853
b3f479a8
LD
328542012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32855
32856 [BZ #14195]
8c4ae0d4
RM
32857 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32858 segmentation fault for a case of two empty input strings.
b3f479a8
LD
32859 * string/test-strncasecmp.c (check1): Renamed to...
32860 (bz12205): ...this.
32861 (bz14195): Add new testcase for two empty input strings and N > 0.
32862 (test_main): Call new testcase, adapt for renamed function.
32863
9c55864e
AJ
328642012-08-15 Andreas Jaeger <aj@suse.de>
32865
32866 [BZ #14090]
32867 * crypt/md5test2.c: New test, based on test supplied by Serge
32868 Belyshev <belyshev@depni.sinp.msu.ru>.
32869 * crypt/Makefile (xtests): Add md5test-giant..
32870 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32871
02dcb6c5
PE
328722012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32873
32874 [BZ #14090]
32875 * crypt/md5.c (md5_process_block): Don't assume the buffer
32876 length is less than 2**32.
32877 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32878 length is less than 2**64.
32879
a3f95dcc
RM
328802012-08-15 Roland McGrath <roland@hack.frob.com>
32881
be75d758
RM
32882 * string/str-two-way.h: Include <sys/param.h>.
32883 (MAX): Macro removed.
32884
7312ca90
RM
32885 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32886 Move #define and #undef of memmove to just before and after
32887 including <string.h>.
32888
9a0a5486
RM
32889 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32890 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32891 and after including <string.h>. Move declarations of
32892 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32893 to before #include "string/memmove.c".
32894
67cc348d
RM
32895 * include/dirent.h: Declare __getdirentries.
32896
a3f95dcc
RM
32897 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32898 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32899
ca98e171
MF
329002012-08-14 Mike Frysinger <vapier@gentoo.org>
32901
32902 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32903 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32904 * sysdeps/i386/configure: Regenerated.
32905 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32906 STABS_CURRENT_FILE, and STABS_FUN.
32907 (END): Remove call to STABS_FUN_END.
32908 (STABS_CURRENT_FILE1): Delete.
32909 (STABS_CURRENT_FILE): Likewise.
32910 (STABS_FUN): Likewise.
32911 (STABS_FUN_END): Likewise.
32912 (STABS_FUN2): Likewise.
32913 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32914 * sysdeps/x86_64/configure: Regenerated.
32915
5908bf46
RM
329162012-08-14 Roland McGrath <roland@hack.frob.com>
32917
32918 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 32919 * elf/dl-lookup.c: Likewise.
5908bf46 32920
f2c05b9e
JM
329212012-08-14 Joseph Myers <joseph@codesourcery.com>
32922
32923 * sysdeps/unix/sysv/linux/kernel-features.h
32924 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32925 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32926 unconditionally.
32927 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32928 unconditionally.
32929 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32930 condition on __ASSUME_CLONE_THREAD_FLAGS.
32931
e11f5155
AJ
329322012-08-14 Andreas Jaeger <aj@suse.de>
32933
32934 * sysdeps/i386/fpu/libm-test-ulps: Update.
32935
51a9ba86
MK
329362012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32937
2fdd4f78
AJ
32938 * include/atomic.h (atomic_exchange_and_add): Split into ...
32939 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32940 New atomic macros.
51a9ba86 32941
ba6cba9e
MT
329422012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32943
32944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32945
42443a47
JL
329462012-08-13 Jeff Law <law@redhat.com>
32947
32948 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32949 null byte in the output string.
32950
121dce05
JM
329512012-08-10 Joseph Myers <joseph@codesourcery.com>
32952
32953 * sysdeps/unix/sysv/linux/kernel-features.h
32954 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32955 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32956 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32957 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32958 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32959 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32960 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32961
bf51f568
JL
329622012-08-09 Jeff Law <law@redhat.com>
32963
32964 [BZ #13939]
32965 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32966 When avoid_arena is set, don't retry in the that arena. Pick the
32967 next one, whatever it might be.
32968 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32969 (arena_lock): Pass in new parameter to arena_get2.
32970 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32971 arena_get2.
32972 (__libc_malloc): Unify retrying after main arena failure with
32973 __libc_memalign version.
32974 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32975
f85fa270
L
329762012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32977
32978 [BZ #14166]
32979 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32980 to __redirect_strstr.
32981 (__strstr_sse42): Use typeof __redirect_strstr.
32982 (__strstr_ia32): Likewise.
32983 (__libc_strstr): New prototype.
32984 (strstr): Renamed to ...
32985 (__libc_strstr): This.
32986 (strstr): New strong alias of __libc_strstr.
32987 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32988 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32989 __redirect_time.
32990 Include <time.h>.
32991 (__libc_time): New prototype.
32992 (time_ifunc): Replace time with __libc_time.
32993 (time): New strong alias and hidden definition of __libc_time.
32994 (__GI_time): Remove strong alias.
32995 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32996 Include <stddef.h>.
32997 (memmove): Redefined to __redirect_memmove.
32998 (__memmove_sse2): Use typeof __redirect_memmove.
32999 (__memmove_ssse3): Likewise.
33000 (__memmove_ssse3_back): Likewise.
33001 (__libc_memmove): New prototype.
33002 (memmove): Renamed to ...
33003 (__libc_memmove): This.
33004 (memmove): New strong alias of __libc_memmove.
33005
33b4a91e
MS
330062012-08-08 Mark Salter <msalter@redhat.com>
33007
33008 * elf/elf.h
33009 (R_MN10300_TLS_GD): Define.
33010 (R_MN10300_TLS_LD): Likewise.
33011 (R_MN10300_TLS_LDO): Likewise.
33012 (R_MN10300_TLS_GOTIE): Likewise.
33013 (R_MN10300_TLS_IE): Likewise.
33014 (R_MN10300_TLS_LE): Likewise.
33015 (R_MN10300_TLS_DTPMOD): Likewise.
33016 (R_MN10300_TLS_DTPOFF): Likewise.
33017 (R_MN10300_TLS_TPOFF): Likewise.
33018 (R_MN10300_SYM_DIFF): Likewise.
33019 (R_MN10300_ALIGN): Likewise.
33020 (R_MN10300_NUM): Update.
33021
b36137f1
JM
330222012-08-08 Joseph Myers <joseph@codesourcery.com>
33023
33024 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33025 Remove.
33026
cdd915fd
RM
330272012-08-08 Roland McGrath <roland@hack.frob.com>
33028
a2433aac
RM
33029 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33030
cdd915fd
RM
33031 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33032 sysdeps/unix -> sysdeps/posix move.
33033 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33034
bf9b740a
AM
330352012-08-07 Allan McRae <allan@archlinux.org>
33036
33037 [BZ #14303]
33038 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33039 (SUNOS_CPP): Likewise.
33040 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33041 not found.
33042 (open_input): Call CPP using execvp.
33043
93df14ee
JM
330442012-08-07 Joseph Myers <joseph@codesourcery.com>
33045
33046 * sysdeps/unix/sysv/linux/kernel-features.h
33047 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33048 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33049 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33050 (__ASSUME_WAITID_SYSCALL): Likewise.
33051 * sysdeps/unix/sysv/linux/dl-execstack.c
33052 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33053 code unconditional.
33054 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33055 conditional code.
33056 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33057 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33058 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33059 code.
33060 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33061 unconditional.
33062 [__ASSUME_WAITID_SYSCALL]: Likewise.
33063 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33064
d34689de
RM
330652012-08-07 Roland McGrath <roland@hack.frob.com>
33066
a281decc
RM
33067 * sysdeps/unix/closedir.c: Renamed to ...
33068 * sysdeps/posix/closedir.c: ... here.
33069 * sysdeps/unix/dirfd.c: Renamed to ...
33070 * sysdeps/posix/dirfd.c: ... here.
33071 * sysdeps/unix/dirstream.h: Renamed to ...
33072 * sysdeps/posix/dirstream.h: ... here.
33073 * sysdeps/unix/fdopendir.c: Renamed to ...
33074 * sysdeps/posix/fdopendir.c: ... here.
33075 * sysdeps/unix/opendir.c: Renamed to ...
33076 * sysdeps/posix/opendir.c: ... here.
33077 * sysdeps/unix/readdir.c: Renamed to ...
33078 * sysdeps/posix/readdir.c: ... here.
33079 * sysdeps/unix/readdir_r.c: Renamed to ...
33080 * sysdeps/posix/readdir_r.c: ... here.
33081 * sysdeps/unix/rewinddir.c: Renamed to ...
33082 * sysdeps/posix/rewinddir.c: ... here.
33083 * sysdeps/unix/seekdir.c: Renamed to ...
33084 * sysdeps/posix/seekdir.c: ... here.
33085 * sysdeps/unix/telldir.c: Renamed to ...
33086 * sysdeps/posix/telldir.c: ... here.
33087 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33088 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33089 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33090 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33091
22895b47
RM
33092 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33093 * bits/fcntl.h: ... here.
33094
707a53b6
RM
33095 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33096 not 0.
33097 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33098 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33099 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33100 (struct flock): Move l_start, l_len to the beginning.
33101 Use __pid_t for l_pid.
33102 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33103 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33104 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33105 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33106 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33107 [__USE_LARGEFILE64] (struct flock64): New type.
33108 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33109
f0bd3e25
RM
33110 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33111 * bits/dirent.h: ... here.
33112
d34689de
RM
33113 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33114 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33115
6dad2c06
JM
331162012-08-07 Joseph Myers <joseph@codesourcery.com>
33117
33118 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33119 Change from 2.6.0 to 2.6.16.
33120 * sysdeps/unix/sysv/linux/configure: Regenerated.
33121 * sysdeps/unix/sysv/linux/kernel-features.h
33122 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33123 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33124 version.
33125 (__ASSUME_UTIMES): Likewise.
33126 (__ASSUME_CLONE_STOPPED): Remove.
33127 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33128 architectures, not kernel version.
33129 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33130 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33131 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33132 (__ASSUME_WAITID_SYSCALL): Likewise.
33133 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33134 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33135 * README: State 2.6.16 as minimum Linux kernel version. Do not
33136 refer to older versions.
33137
03af9520
RM
331382012-08-06 Roland McGrath <roland@hack.frob.com>
33139
8e49df1d
RM
33140 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33141 Define alphasort64 as an alias.
33142 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33143 Define versionsort64 as an alias.
33144 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33145 Define scandir64 as an alias.
33146 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33147 Define scandirat64 as an alias.
33148 * dirent/alphasort64.c (alphasort64):
33149 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33150 * dirent/versionsort64.c: Likewise.
33151 * dirent/scandir64.c: Likewise.
33152 * dirent/scandirat64.c: Likewise.
33153 * sysdeps/wordsize-64/alphasort.c: File removed.
33154 * sysdeps/wordsize-64/alphasort64.c: File removed.
33155 * sysdeps/wordsize-64/scandir.c: File removed.
33156 * sysdeps/wordsize-64/scandir64.c: File removed.
33157 * sysdeps/wordsize-64/scandirat.c: File removed.
33158 * sysdeps/wordsize-64/scandirat64.c: File removed.
33159 * sysdeps/wordsize-64/versionsort.c: File removed.
33160 * sysdeps/wordsize-64/versionsort64.c: File removed.
33161 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33162 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33163 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33164 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33165 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33166 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33167 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33168 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33169
33170 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33172 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33174 [defined __arch64__ || defined __sparcv9]
33175 (__INO_T_MATCHES_INO64_T): New macro.
33176 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33177 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33178 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33179 * sysdeps/unix/sysv/linux/bits/dirent.h
33180 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33181 (_DIRENT_MATCHES_DIRENT64): New macro.
33182
03af9520
RM
33183 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33184 Define lockf64 as an alias.
33185 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33186 Define fseeko64 as an alias.
33187 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33188 Define ftello64 as an alias.
33189 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33190 Define _IO_fgetpos64 and fgetpos64 as aliases.
33191 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33192 Define _IO_fsetpos64 and fsetpos64 as aliases.
33193 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33194 Conditionalize body on this.
33195 * libio/fseeko64.c: Likewise.
33196 * libio/ftello64.c: Likewise.
33197 * libio/iofgetpos64.c: Likewise.
33198 * libio/iofsetpos64.c: Likewise.
33199 * sysdeps/wordsize-64/lockf.c: File removed.
33200 * sysdeps/wordsize-64/lockf64.c: File removed.
33201 * sysdeps/wordsize-64/fseeko.c: File removed.
33202 * sysdeps/wordsize-64/fseeko64.c: File removed.
33203 * sysdeps/wordsize-64/ftello.c: File removed.
33204 * sysdeps/wordsize-64/ftello64.c: File removed.
33205 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33206 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33207 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33208 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33209 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33210 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33211 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33212 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33213 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33214 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33215 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33216 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33217 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33218 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33219
33220 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33222 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33224 [defined __arch64__ || defined __sparcv9]
33225 (__OFF_T_MATCHES_OFF64_T): New macro.
33226 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33227 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33229 (__OFF_T_MATCHES_OFF64_T): New macro.
33230
c5757acd
L
332312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33232
33233 * stdlib/secure-getenv.c (__secure_getenv): Replace
33234 GLIBC_2_16 with GLIBC_2_17.
33235
3a31811e
L
332362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33237
33238 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33239 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33240
faa2bccb
DM
332412012-08-03 David S. Miller <davem@davemloft.net>
33242
33243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33244
85fe1997
JM
332452012-08-03 Joseph Myers <joseph@codesourcery.com>
33246
33247 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33248 Remove.
33249 (__ASSUME_CORRECT_SI_PID): Likewise.
33250 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33251 (__ASSUME_TMPFS_NAME): Likewise.
33252 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33253 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33254 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33255 (HAVE_AUX_SECURE): Make definition unconditional.
33256 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33257 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33258
4f75b7a0
RM
332592012-08-03 Roland McGrath <roland@hack.frob.com>
33260
33261 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33262 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33263 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33264 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33265 __eloop_threshold instead of SYMLOOP_MAX.
33266
33267 * sysdeps/generic/eloop-threshold.h: New file.
33268 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33269 of MAXSYMLINKS.
33270 * elf/chroot_canon.c (chroot_canon): Likewise.
33271
7aab07e4
JM
332722012-08-03 Joseph Myers <joseph@codesourcery.com>
33273
33274 [BZ #13717]
33275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33276 Change to 2.6.0 everywhere.
33277 * sysdeps/unix/sysv/linux/configure: Regenerated.
33278 * sysdeps/unix/sysv/linux/kernel-features.h
33279 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33280 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33281 kernel versions.
33282 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33283 (__ASSUME_FUTEX_REQUEUE): Remove.
33284 (__ASSUME_STATFS64): Define unconditionally.
33285 (__ASSUME_AT_SECURE): Likewise.
33286 (__ASSUME_CORRECT_SI_PID): Likewise.
33287 (__ASSUME_TGKILL): Define without depending on kernel version for
33288 i386.
33289 (__ASSUME_UTIMES): Likewise.
33290 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33291 kernel version.
33292 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33293 (__ASSUME_TMPFS_NAME): Likewise.
33294 * README: Update reference to Linux kernel versions.
33295
b67e9372
MP
332962012-08-02 Marek Polacek <polacek@redhat.com>
33297
1f529f7d 33298 [BZ# 14150]
b67e9372
MP
33299 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33300 libc_cv_asm_type_prefix with %.
33301 * configure: Regenerated.
d2441631
RM
33302 * include/libc-symbols.h: Remove comment about
33303 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33304 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33305 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33306 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33307 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33308 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33309 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33310 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33311 * elf/tst-unique2mod1.c: Likewise.
33312 * elf/tst-unique1mod2.c: Likewise.
33313 * elf/tst-unique1mod1.c: Likewise.
33314 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33315 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33316 Replace ASM_TYPE_DIRECTIVE with .type.
33317 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33318 * sysdeps/i386/sysdep.h: Likewise.
33319 * sysdeps/x86_64/sysdep.h: Likewise.
33320 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
33321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33322 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 33323 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
33324 * sysdeps/powerpc/powerpc32/sysdep.h:
33325 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
33326 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33327 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33328 * sysdeps/i386/fpu/e_powf.S: Likewise.
33329 * sysdeps/i386/fpu/e_expl.S: Likewise.
33330 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33331 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33332 * sysdeps/i386/fpu/e_pow.S: Likewise.
33333 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33334 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33335 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33336 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33337 * sysdeps/i386/fpu/e_log2.S: Likewise.
33338 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33339 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33340 * sysdeps/i386/fpu/e_powl.S: Likewise.
33341 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33342 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33343 * sysdeps/i386/fpu/e_logl.S: Likewise.
33344 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33345 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33346 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33347 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33348 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33349 * sysdeps/i386/fpu/e_log.S: Likewise.
33350 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33351 * sysdeps/i386/fpu/e_logf.S: Likewise.
33352 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33353 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33354 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33355 * sysdeps/i386/fpu/e_log10.S: Likewise.
33356 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33357 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33358 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33359 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33360 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33361 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33362 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33363 * sysdeps/i386/i686/strtok.S: Likewise.
33364 * sysdeps/i386/i386-mcount.S: Likewise.
33365 * sysdeps/i386/strtok.S: Likewise.
33366 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33367 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33368 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33369 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33370 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33371 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33372 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33373 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33374 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33375 * sysdeps/x86_64/_mcount.S: Likewise.
33376 * sysdeps/x86_64/strtok.S: Likewise.
33377 * sysdeps/sh/_mcount.S: Likewise.
33378
2747bf9a
RM
333792012-08-01 Roland McGrath <roland@hack.frob.com>
33380
33381 * libio/iofopen.c: Include <fcntl.h>.
33382 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33383 (_IO_fopen64, fopen64): Define as aliases.
33384 * libio/iofopen64.c: Include <fcntl.h>.
33385 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33386 Conditionalize body on this.
33387 * sysdeps/wordsize-64/iofopen.c: File removed.
33388 * sysdeps/wordsize-64/iofopen64.c: File removed.
33389
3fb791b8
MP
333902012-08-01 Marek Polacek <polacek@redhat.com>
33391
33392 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33393 Use dlfcn directly instead of a variable.
33394 (binfmt-subdir): Do not define.
33395 (dlfcn): Likewise.
33396
a9f1039f
JM
333972012-08-01 Joseph Myers <joseph@codesourcery.com>
33398
23bddc06
JM
33399 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33400 Remove all definitions.
33401 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33402 <kernel-features.h>.
33403 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33404 (miss_F_GETOWN_EX): Remove all definitions.
33405 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33406 macro definition.
33407 [!__ASSUME_FCNTL64]: Remove conditional code.
33408 [__ASSUME_FCNTL64]: Make code unconditional.
33409 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33410 <kernel-features.h>.
33411 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33412 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33413 (lockf64) [__NR_fcntl64]: Make code unconditional.
33414 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33415
a9f1039f
JM
33416 * sysdeps/unix/sysv/linux/kernel-features.h
33417 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33418 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33419 Make code unconditional.
33420 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33421 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33423 [__NR_vfork]: Make code unconditional.
33424 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33425 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33427 [__NR_vfork]: Make code unconditional.
33428 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33429 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33430
09c0ee5f
RM
334312012-08-01 Roland McGrath <roland@hack.frob.com>
33432
48aec5b9
RM
33433 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33434 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33435
cd97c966
RM
33436 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33437 Define mkstemp64 as an alias.
3f55550c
RM
33438 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33439 Define mkstemps64 as an alias.
cd97c966
RM
33440 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33441 Define mkostemp64 as an alias.
b8625cfc
RM
33442 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33443 Define mkostemps64 as an alias.
cd97c966
RM
33444 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33445 Conditionalize body on this.
33446 * misc/mkostemp64.c: Likewise.
b8625cfc 33447 * misc/mkostemps64.c: Likewise.
3f55550c 33448 * misc/mkstemps64.c: Likewise.
cd97c966
RM
33449 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33450 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33451 * sysdeps/wordsize-64/mkostemp.c: File removed.
33452 * sysdeps/wordsize-64/mkstemp.c: File removed.
33453 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33454 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33455 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33456 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33457
09c0ee5f
RM
33458 [BZ #14138]
33459 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33460 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33461 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33462 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33463
33464 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33465 compat_symbol macros from <shlib-compat.h> rather than the underlying
33466 default_symbol_version and symbol_version macros, so that DEFAULT
33467 lines in shlib-versions are respected.
33468 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33469
7e66ee51
FW
334702012-08-01 Florian Weimer <fweimer@redhat.com>
33471
33472 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33473 Declare with warn_unused_result.
33474 (setgid, setregid, setegid, setresgid): Likewise.
33475 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33476 Likewise.
33477 * WUR-REPORT: Remove set*id functions.
33478
d2a54255
PT
334792012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33480
33481 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33482
7ecdb005
RM
334832012-07-31 Roland McGrath <roland@hack.frob.com>
33484
b4180a5e 33485 [BZ #10191]
789bd351
RM
33486 * include/sys/socket.h (__libc_accept, __libc_accept4):
33487 Add attribute_hidden.
33488 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33489
40ce302d
RM
33490 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33491 use of PTR_MANGLE.
33492 * inet/getnetgrent_r.c (setup): Likewise.
33493
7ecdb005
RM
33494 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33495
e2eabb2c
DM
334962012-07-31 David S. Miller <davem@davemloft.net>
33497
33498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33499
d0419dbf
JM
335002012-07-31 Joseph Myers <joseph@codesourcery.com>
33501
33502 [BZ #13629]
33503 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33504 value between 1.0 and 2.0 and smaller part has absolute value less
33505 than 1.0.
33506 * math/s_clog10.c (__clog10): Likewise.
33507 * math/s_clog10f.c (__clog10f): Likewise.
33508 * math/s_clog10l.c (__clog10l): Likewise.
33509 * math/s_clogf.c (__clogf): Likewise.
33510 * math/s_clogl.c (__clogl): Likewise.
33511 * math/libm-test.inc (clog_test): Add more tests.
33512 (clog10_test): Likewise.
33513 * sysdeps/i386/fpu/libm-test-ulps: Update.
33514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33515
2bc13872
FW
335162012-07-31 Florian Weimer <fweimer@redhat.com>
33517
33518 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33519 Exit with zero in case no suitable GID is found, and write a
33520 message to standard error.
33521
bea9b193
RM
335222012-07-30 Roland McGrath <roland@hack.frob.com>
33523
33524 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33525 rather than to 1.
33526 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33527 (MAXPATHLEN): Removed.
33528 (NOGROUP, NODEV): New macros.
33529 (setbit, clrbit, isset, isclr): New macros.
33530 (howmany, roundup, powerof2): New macros.
33531 (DEV_BSIZE): New macro.
33532
33533 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33534 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33535
33536 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33537 definition on [!__NO_LONG_DOUBLE_MATH].
33538
33539 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33540 PTR_MANGLE and PTR_DEMANGLE.
33541
33542 * socket/accept4.c (accept4): Rename to __libc_accept4.
33543 Define accept4 as a weak alias.
33544
33545 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33546 on [_DIRENT_HAVE_D_TYPE].
33547 * io/ftw.c (ftw_dir): Likewise.
33548
33549 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33550
33551 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33552
33553 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33554 Use the BSD numbers rather than the arbitrary ones we had.
33555 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33556 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33557 (SIGXCPU, SIGXFSZ): New macros.
33558 (_NSIG): Now 32.
33559
33560 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33561 initializer on [_LIBC_REENTRANT].
33562
33563 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33564 definitions inside [_POSIX_MAPPED_FILES].
33565
33566 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33567
33568 * dirent/opendir.c: Include <fcntl.h>.
33569
33570 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33571 (__libc_getspecific): Likewise.
33572 (__libc_key_create): Likewise.
33573
33574 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33575 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33576 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33577 (tmpfile64): Define as alias.
33578 * sysdeps/wordsize-64/tmpfile.c: File removed.
33579 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33580 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33581 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33582
33583 * stdio-common/vfscanf.c: Include <stdbool.h>.
33584 * nss/makedb.c: Likewise.
33585 * stdio-common/_i18n_number.h: Likewise.
33586 * argp/argp-help.c: Likewise.
33587 * posix/wordexp.c: Likewise.
33588 * sysdeps/posix/spawni.c: Likewise.
33589 * nss/nss_files/files-initgroups.c: Likewise.
33590 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33591 * nss/nss_files/files-initgroups.c: Likewise.
33592 * nss/nss_db/db-netgrp.c: Likewise.
33593 * nss/nss_db/db-initgroups.c: Likewise.
33594 * io/fchmodat.c: Include <sys/stat.h>.
33595
33596 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33597 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33598
33599 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33600 [HAVE_MMAP].
33601
33602 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33603 Add multiple inclusion protection.
33604
e5abc686
DM
336052012-07-27 David S. Miller <davem@davemloft.net>
33606
33607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33608
815e6fa3
GB
336092012-07-27 Gary Benson <gbenson@redhat.com>
33610
33611 [BZ #14298]
33612 * elf/rtld.c: Include <stap-probe.h>.
33613 (dl_main): Added static probes "init_start" and "init_complete".
33614 * elf/dl-load.c: Include <stap-probe.h>.
33615 (lose): Take new parameter "nsid".
33616 Added static probe "map_failed".
33617 (_dl_map_object_from_fd): Pass namespace id to lose.
33618 Added static probe "map_start".
33619 (open_verify): Pass namespace id to lose.
33620 * elf/dl-open.c: Include <stap-probe.h>.
33621 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33622 and "reloc_complete".
33623 * elf/dl-close.c: Include <stap-probe.h>.
33624 (_dl_close_worker): Added static probes "unmap_start" and
33625 "unmap_complete".
33626 * elf/rtld-debugger-interface.txt: New file documenting the above.
33627
9f98c16c
RM
336282012-07-26 Roland McGrath <roland@hack.frob.com>
33629
33630 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33631 rather than a string variable.
33632 * sunrpc/rpc_main.c (h_output): Likewise.
33633 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33634
f3c22df3
PT
336352012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33636
33637 * inet/check_native.c: New file.
33638
3129cfc6
JM
336392012-07-26 Joseph Myers <joseph@codesourcery.com>
33640
da865e95
JM
33641 [BZ #13629]
33642 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33643 if larger part has absolute value 1.0.
33644 * math/s_clog10.c (__clog10): Likewise.
33645 * math/s_clog10f.c (__clog10f): Likewise.
33646 * math/s_clog10l.c (__clog10l): Likewise.
33647 * math/s_clogf.c (__clogf): Likewise.
33648 * math/s_clogl.c (__clogl): Likewise.
33649 * math/libm-test.inc (clog_test): Add more tests.
33650 (clog10_test): Likewise.
33651 * sysdeps/i386/fpu/libm-test-ulps: Update.
33652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33653
3129cfc6
JM
33654 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33655 (pltexit): Likewise.
33656 (La_regs): Likewise.
33657 (La_retval): Likewise.
33658 (int_retval): Likewise.
33659 Update #error for removed macros to refer only to definitions in
33660 tst-audit.h.
33661 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33662 macro.
33663 (pltexit): Likewise.
33664 (La_regs): Likewise.
33665 (La_retval): Likewise.
33666 (int_retval): Likewise.
33667 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33668 macro.
33669 (pltexit): Likewise.
33670 (La_regs): Likewise.
33671 (La_retval): Likewise.
33672 (int_retval): Likewise.
33673 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33674 macro.
33675 (pltexit): Likewise.
33676 (La_regs): Likewise.
33677 (La_retval): Likewise.
33678 (int_retval): Likewise.
33679 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33680 macro.
33681 (pltexit): Likewise.
33682 (La_regs): Likewise.
33683 (La_retval): Likewise.
33684 (int_retval): Likewise.
33685 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33686 macro.
33687 (pltexit): Likewise.
33688 (La_regs): Likewise.
33689 (La_retval): Likewise.
33690 (int_retval): Likewise.
33691 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33692 macro.
33693 (pltexit): Likewise.
33694 (La_regs): Likewise.
33695 (La_retval): Likewise.
33696 (int_retval): Likewise.
33697 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33698 macro definitions in tst-audit.h.
33699 * sysdeps/i386/tst-audit.h: New file.
33700 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33701 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33702 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33703 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33704 * sysdeps/sh/tst-audit.h: Likewise.
33705 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33706 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33707 * sysdeps/x86_64/tst-audit.h: Likewise.
33708
bfc07087
AJ
337092012-07-26 Andreas Jaeger <aj@suse.de>
33710
b1b2aaf8
AJ
33711 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33712 ptrace.
33713
33714 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33715 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33716 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33717 PTRACE_O_MASK.
33718 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33719 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33720 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33721
bfc07087
AJ
33722 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33723 value.
33724
33725 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33726 _sigsys.
33727 (si_call_addr, si_syscall, si_arch): Define new macro.
33728 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33729 _sigsys.
33730 (si_call_addr, si_syscall, si_arch): Define new marcro.
33731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33732 _sigsys.
33733 (si_call_addr, si_syscall, si_arch): Define new macro.
33734 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33735 _sigsys.
33736 (si_call_addr, si_syscall, si_arch): Define new macro.
33737
89b4b02f
JM
337382012-07-25 Joseph Myers <joseph@codesourcery.com>
33739
33740 [BZ #13717]
33741 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33742 Change to 2.4.21 where previously 2.4.1.
33743 * sysdeps/unix/sysv/linux/configure: Regenerated.
33744 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33745 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33746 Linux kernel version.
33747 (__ASSUME_STD_AUXV): Remove.
33748 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33749 kernel version.
33750 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33751 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33752 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33753 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33754 (__ASSUME_NETLINK_SUPPORT): Likewise.
33755 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33756 (__no_netlink_support): Remove conditional definition.
33757 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33758 Remove.
33759 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33760 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33761 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33762 (if_nameindex_ioctl): Remove.
33763 (if_nameindex_netlink): Do not handle __no_netlink_support.
33764 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33765 code.
33766 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33767 Remove conditional code.
33768 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33769 code.
33770 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33771 unconditional.
33772 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33773 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33774 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33775 Remove.
33776 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33777 [!__ASSUME_STD_AUXV]: Remove conditional code.
33778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33779 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33780 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33782 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33783 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33784 code.
33785 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33787 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33788 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33789 conditional code.
33790 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33792 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33793 code.
33794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33795 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33796 conditional code.
33797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33798 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33799 code unconditional.
33800 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33801 conditional code.
33802 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33803 unconditional.
33804 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33805 conditional code.
33806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33807 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33808 unconditional.
33809 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33810 conditional code.
33811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33812 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33813 code unconditional.
33814 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33815 conditional code.
33816 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33817 unconditional.
33818 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33819 conditional code.
33820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33821 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33822 code unconditional.
33823 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33824 conditional code.
33825 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33826 unconditional.
33827 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33828 conditional code.
33829
842a39cd
AS
338302012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33831
33832 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33833 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33834 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33835 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33836 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33837 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33838 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33839 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33840 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33841 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33842 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33843 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33844 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33845 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33846 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33847 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33848 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33849 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33850 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33852 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33853 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33854 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33855
84b3fd84
FW
338562012-07-25 Florian Weimer <fweimer@redhat.com>
33857
33858 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
33859 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33860 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33861 Introduce __libc_secure_getenv.
0c7936d5
FW
33862 * stdlib/Versions (2.17): Add secure_getenv
33863 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33864 * stdlib/secure-getenv.c: Rename __secure_getenv to
33865 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33866 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
33867 * stdlib/tst-secure-getenv.c: New.
33868 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
33869 * manual/startup.texi (Environment Access): Document
33870 secure_getenv.
84b3fd84
FW
33871 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33872 __libc_secure_getenv.
33873 * inet/ruserpass.c (ruserpass): Likewise.
33874 * malloc/mtrace.c (mtrace): Likewise.
33875 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 33876 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
33877 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33878 * sysdeps/posix/tempname.c: Likewise. Evaluate
33879 HAVE_SECURE_GETENV.
33880 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 33881 __secure_getenv to __libc_secure_getenv.
84b3fd84 33882 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
33883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33884 Likewise.
33885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33886 Likewise.
33887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33889 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 33894
56e49b71
JM
338952012-07-25 Joseph Myers <joseph@codesourcery.com>
33896
33897 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33898 (struct La_i86_retval): Likewise.
33899 (struct La_x86_64_regs): Likewise.
33900 (struct La_x86_64_retval): Likewise.
33901 (struct La_x32_regs): Likewise.
33902 (struct La_x32_retval): Likewise.
33903 (struct La_ppc32_regs): Likewise.
33904 (struct La_ppc32_retval): Likewise.
33905 (struct La_ppc64_regs): Likewise.
33906 (struct La_ppc64_retval): Likewise.
33907 (struct La_sh_regs): Likewise.
33908 (struct La_sh_retval): Likewise.
33909 (struct La_s390_32_regs): Likewise.
33910 (struct La_s390_32_retval): Likewise.
33911 (struct La_s390_64_regs): Likewise.
33912 (struct La_s390_64_retval): Likewise.
33913 (struct La_sparc32_regs): Likewise.
33914 (struct La_sparc32_retval): Likewise.
33915 (struct La_sparc64_regs): Likewise.
33916 (struct La_sparc64_retval): Likewise.
33917 (struct audit_ifaces): Remove architecture-specific pltenter and
33918 pltexit members.
33919 * sysdeps/i386/ldsodefs.h: New file.
33920 * sysdeps/powerpc/ldsodefs.h: Likewise.
33921 * sysdeps/s390/ldsodefs.h: Likewise.
33922 * sysdeps/sh/ldsodefs.h: Likewise.
33923 * sysdeps/sparc/ldsodefs.h: Likewise.
33924 * sysdeps/x86_64/ldsodefs.h: Likewise.
33925
354691b7
MP
339262012-07-25 Marek Polacek <polacek@redhat.com>
33927
33928 [BZ #6808]
33929 * math/libm-test.inc (yn_test): Add another test.
33930 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33931 to ERANGE when the result is +-Inf.
33932 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33933 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33934 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33935 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33936
bf9e2071
JM
339372012-07-24 Joseph Myers <joseph@codesourcery.com>
33938
33939 * conform/data/time.h-data (NULL): Use macro-constant. Require
33940 equal to 0.
33941 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33942 clock_t.
33943 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33944
57633811
TS
339452012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33946
33947 * configure.in <sysdeps resolving>: Correct printing
33948 Implies_before.
33949 * configure: Regenerate.
33950
c23c33b0
TS
339512012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33952
33953 * math/w_ilogb.c: Include <limits.h>.
33954 * math/w_ilogbl.c: Likewise.
33955
b5982523
JM
339562012-07-20 Joseph Myers <joseph@codesourcery.com>
33957
33958 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33959 va_copy. Document allowing for unavailable va_copy only as
33960 pre-C99 compatibility.
33961 * manual/string.texi (Copying and Concatenation): Use va_copy
33962 instead of __va_copy in concat example.
33963
ac4ea442
PT
339642012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33965
33966 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33967 (__sendto): Use create_address_port. Initialize APORT and deallocate
33968 it if not null.
33969
f98eafbd
PT
33970 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33971 with O_NOLINK passed to __file_name_lookup.
33972
898c7aab
PT
33973 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33974 with O_NOLINK passed to __file_name_lookup.
33975
0ced335a
PT
33976 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33977 negative N or less than NGIDS.
33978
b3404dbd
PT
33979 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33980 type to string_t. Set ERANGE as errno and return it if NAME is not big
33981 enough. Use memcpy instead of strncpy.
33982
0f48659e
JM
339832012-07-20 Joseph Myers <joseph@codesourcery.com>
33984
33985 * elf/Makefile (check-data): Remove.
33986 (localplt.data): New vpath directive.
33987 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33988 instead of $(check-data).
33989 * scripts/data/localplt-generic.data: Move to ...
33990 * sysdeps/generic/localplt.data: ... here.
33991 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33992 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33993 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33995 ... here.
33996 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33998 ... here.
33999 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34001 ... here.
34002 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34004 ... here.
34005 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34007 ... here.
34008 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34010 ... here.
34011
d37cbdaa
AZ
340122012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34013
34014 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34015 PPC32 and PPC64 files.
34016 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34017 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34018
46f85fc2
AK
340192012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34020
34021 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34022 __makecontext_ret to ...
34023 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34024 ... here and call exit if uc_link is NULL. New file.
34025 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34026 __makecontext_ret.S.
34027 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34028 __makecontext_ret to ...
34029 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34030 ... here and call exit if uc_link is NULL. New file.
34031 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34032 __makecontext_ret.S.
34033
08f43f9b
AK
340342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34035
34036 * elf/elf.h (R_390_IRELATIVE): New definition.
34037 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34038 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34039 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34040 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34041 (elf_machine_lazy_rel): Likewise.
34042 * sysdeps/s390/dl-irel.h: New file.
34043 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34044 * sysdeps/s390/s390-64/memset.S: New asm code.
34045 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34046 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34047 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34048 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34049 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34050 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34051 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34052 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34053 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34054 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34055 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34056 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34057 * sysdeps/s390/s390-32/memset.S: New asm code.
34058 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34059
3b05db33
MP
340602012-07-17 Marek Polacek <polacek@redhat.com>
34061
34062 [BZ #14349]
34063 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34064 * sysdeps/s390/s390-64/configure.in: Likewise.
34065 * sysdeps/sparc/configure.in: Likewise.
34066 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34067 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34068 * sysdeps/i386/configure.in: Likewise.
34069 * sysdeps/x86_64/configure.in: Likewise.
34070 * sysdeps/sh/configure.in: Likewise.
34071 * sysdeps/s390/s390-32/configure: Regenerated.
34072 * sysdeps/s390/s390-64/configure: Likewise.
34073 * sysdeps/x86_64/configure: Likewise.
34074 * sysdeps/sh/configure: Likewise.
34075 * sysdeps/powerpc/powerpc64/configure: Likewise.
34076 * sysdeps/powerpc/powerpc32/configure: Likewise.
34077 * sysdeps/sparc/configure: Likwise.
34078 * sysdeps/i386/configure: Likewise.
34079
a66877c6
MP
34080 * elf/dl-open.c: Comment fixes.
34081
cfc82fd8
JM
340822012-07-17 Joseph Myers <joseph@codesourcery.com>
34083
bd29910a
JM
34084 * Makefile [CXX] (check-data): Remove.
34085 [CXX] (c++-types.data): New vpath directive.
34086 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34087 vpath. Do not allow for C++ type data being missing.
34088 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34089 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34090 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34091 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34092 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34093 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34094 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34096 ... here.
34097 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34099 ... here.
34100 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34102 ... here.
34103 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34105 ... here.
34106 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34108 ... here.
34109 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34111 ... here.
34112 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34114 ... here.
34115 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34117
cfc82fd8
JM
34118 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34119 definitions to architecture-specific files.
34120 (TLS_IE): Likewise.
34121 (TLS_LD): Likewise.
34122 (TLS_GD): Likewise.
34123 * sysdeps/i386/tls-macros.h: New file.
34124 * sysdeps/powerpc/tls-macros.h: Likewise.
34125 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34126 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34127 * sysdeps/sh/tls-macros.h: Likewise.
34128 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34129 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34130 * sysdeps/x86_64/tls-macros.h: Likewise.
34131
f7db3170
TS
341322012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34133
07cbfc23
TS
34134 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34135 zero value for regular exit case.
34136
f7db3170
TS
34137 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34138 (__start_context): Preserve zero value for regular exit case.
34139
dc97c227
TS
341402012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34141 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34142
34143 * manual/setjmp.texi (setcontext): Clarify normal process
34144 termination when uc_link is the null pointer.
34145 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34146 exit call.
34147
d0cd7d02
AS
341482012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34149
34150 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34151 preprocessor. Test for each exception mask separately.
34152
dd318934
AJ
341532012-07-16 Andreas Jaeger <aj@suse.de>
34154
34155 * po/ru.po: Update from translation team.
34156
8048311a
JM
341572012-07-15 Joseph Myers <joseph@codesourcery.com>
34158
34159 * conform/data/string.h-data (NULL): Use macro-constant. Require
34160 equal to 0.
34161 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34162 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34163 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34164 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34165 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34166
b637d46e
AJ
341672012-07-13 Andreas Jaeger <aj@suse.de>
34168
34169 * po/fr.po: Update from translation team.
34170
541428fe
MP
341712012-07-12 Marek Polacek <polacek@redhat.com>
34172
34173 [BZ #14173]
34174 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34175 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34176 loop condition.
34177
ec332e94
JM
341782012-07-12 Joseph Myers <joseph@codesourcery.com>
34179
34180 [BZ #13717]
34181 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34182 Change to 2.4.1 where previously 2.4.0.
34183 * sysdeps/unix/sysv/linux/configure: Regenerated.
34184 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34185 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34186 version.
34187 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34188 (__ASSUME_AT_CLKTCK): Remove.
34189 (__ASSUME_AT_PAGESIZE): Likewise.
34190 (__ASSUME_AT_XID): Likewise.
34191 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34192 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34193 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34194 unconditionally.
34195 (HAVE_AUX_PAGESIZE): Likewise.
34196 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34197 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34198 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34199
7b6e99be
JB
342002012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34201
34202 [BZ #14307]
34203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34204 the temporary buffer used to invoke __gethostbyname2_r,
34205 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34206 host_data / struct gaih_addrtuple.
34207 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34208 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34209 header file nss/nsswitch.h.
34210 * nss/nsswitch.h (global scope): Add definition of implementation
34211 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34212 resolv/nss_dns/dns-host.c).
34213
608404eb
AJ
342142012-07-11 Andreas Jaeger <aj@suse.de>
34215
34216 * po/fr.po: Update from translation team.
34217
71220aca
AJ
34218 * po/sv.po: Update from translation team
34219 * po/fr.po: Another update from translation team.
34220
28cfe843
AZ
342212012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34222
34223 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34224 for subnormals or multiply small sinh result by itself.
34225 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34227
6b90f981
DM
342282012-07-11 David S. Miller <davem@davemloft.net>
34229
34230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34231
c6825772
AS
342322012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34233
34234 [BZ #14347]
34235 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34236 (INTERNAL_MARK): Shift it here.
34237
7b8e0d49
MP
342382012-07-10 Marek Polacek <polacek@redhat.com>
34239
34240 [BZ #14151]
34241 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34242 libc_cv_asm_global_directive with .globl.
34243 * configure: Regenerated.
34244 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34245 with .globl.
34246 * sysdeps/i386/configure: Regenerated.
34247 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34248 with .globl.
34249 * sysdeps/x86_64/configure: Regenerated.
34250 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34251 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34252 * elf/tst-unique2mod2.c: Likewise.
34253 * elf/tst-unique2mod1.c: Likewise.
34254 * elf/tst-unique1mod2.c: Likewise.
34255 * elf/tst-unique1mod1.c: Likewise.
34256 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34257 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34258 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34259 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34260 * sysdeps/mach/sysdep.h: Likewise.
34261 * sysdeps/i386/sysdep.h: Likewise.
34262 * sysdeps/i386/i386-mcount.S: Likewise.
34263 * sysdeps/x86_64/_mcount.S: Likewise.
34264 * sysdeps/x86_64/sysdep.h: Likewise.
34265 * sysdeps/sh/_mcount.S: Likewise.
34266 * sysdeps/sh/sysdep.h: Likewise.
34267 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34268 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34269 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34270 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34271 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34272 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34273 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34274 * locale/localeinfo.h: Likewise.
34275 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34276 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34277
6c55cda3
RM
342782012-07-09 Roland McGrath <roland@hack.frob.com>
34279
34280 [BZ #14336]
34281 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34282 system".
34283 * manual/message.texi (The Uniforum approach): Likewise.
34284 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34285 (glibc iconv Implementation): Likewise.
34286
638a572e
JM
342872012-07-09 Joseph Myers <joseph@codesourcery.com>
34288
34289 [BZ #14337]
34290 * math/s_clog.c (__clog): Avoid scaling a value down where that
34291 could result in underflow.
34292 * math/s_clog10.c (__clog10): Likewise.
34293 * math/s_clog10f.c (__clog10f): Likewise.
34294 * math/s_clog10l.c (__clog10l): Likewise.
34295 * math/s_clogf.c (__clogf): Likewise.
34296 * math/s_clogl.c (__clogl): Likewise.
34297 * math/libm-test.inc (clog_test): Add more tests.
34298 (clog10_test): Likewise.
34299 * sysdeps/i386/fpu/libm-test-ulps: Update.
34300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34301
261f4859
AS
343022012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34303
0abaf3e4
AS
34304 [BZ #14283]
34305 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34306 by 7 not 8 to examine high bit of fractional part.
34307
261f4859
AS
34308 [BZ #14042]
34309 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34310 for call to __mcount_internal.
34311 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34312 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34313 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34314
f17ac40d
JM
343152012-07-06 Joseph Myers <joseph@codesourcery.com>
34316
9ad63c23
JM
34317 [BZ #14154]
34318 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34319 approximation for values within 0x1p-13f of an odd multiple of
34320 pi/4.
34321 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34322 exception. Add more tests.
34323 * sysdeps/i386/fpu/libm-test-ulps: Update.
34324
f17ac40d
JM
34325 [BZ #6778]
34326 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34327 inputs and return -1 for them. Do not check for +Inf in case not
34328 reachable for +Inf.
34329 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34330 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34331 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34332 and return -1 for them. Do not check for +Inf in case not
34333 reachable for +Inf.
34334 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34335 define.
34336 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34337 and return -1 for them. Do not check for +Inf in case not
34338 reachable for +Inf.
34339 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34340 spurious underflow.
34341 * sysdeps/i386/fpu/libm-test-ulps: Update.
34342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34343
fb21f89b
MF
343442012-07-06 Mike Frysinger <vapier@gentoo.org>
34345
34346 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34347
cdfe2c5e
JM
343482012-07-05 Joseph Myers <joseph@codesourcery.com>
34349
34350 [BZ #14157]
34351 [BZ #14331]
34352 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34353 could result in spurious underflow. Scale down values above
34354 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34355 * math/s_csqrtf.c (__csqrtf): Likewise.
34356 * math/s_csqrtl.c (__csqrtl): Likewise.
34357 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34358 spurious underflow.
34359 * sysdeps/i386/fpu/libm-test-ulps: Update.
34360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34361
70d35b67
AS
343622012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34363
704bc459
AS
34364 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34365 xopen-msg.sed.
34366 * catgets/xopen-msg.awk: New file.
34367 * catgets/xopen-msg.sed: Removed.
34368
70d35b67
AS
34369 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34370 po2text.sed.
34371 * intl/po2test.awk: New file.
34372 * intl/po2test.sed: Removed.
34373
ca61cf32
JM
343742012-07-04 Joseph Myers <joseph@codesourcery.com>
34375
34376 [BZ #14328]
34377 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34378 or multiply small sinh result by itself.
34379 * math/s_ctanf.c (__ctanf): Likewise.
34380 * math/s_ctanh.c (__ctanh): Likewise.
34381 * math/s_ctanhf.c (__ctanhf): Likewise.
34382 * math/s_ctanhl.c (__ctanhl): Likewise.
34383 * math/s_ctanl.c (__ctanl): Likewise.
34384 * math/libm-test.inc (ctan_test_tonearest): New function.
34385 (ctan_test_towardzero): Likewise.
34386 (ctan_test_downward): Likewise.
34387 (ctan_test_upward): Likewise.
34388 (ctanh_test_tonearest): Likewise.
34389 (ctanh_test_towardzero): Likewise.
34390 (ctanh_test_downward): Likewise.
34391 (ctanh_test_upward): Likewise.
34392 (main): Call these new functions.
34393 * sysdeps/i386/fpu/libm-test-ulps: Update.
34394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34395
ca48a46a
MF
343962012-07-03 Mike Frysinger <vapier@gentoo.org>
34397
34398 * .gitignore: Delete /ports entry.
34399
9d63d37d
AJ
344002012-07-03 Andreas Jaeger <aj@suse.de>
34401
34402 * po/bg.po: Update from translation team.
34403 * po/cs.po: Likewise.
34404 * po/de.po: Likewise.
34405 * po/hr.po: Likewise.
34406 * po/nl.pl: Likewise.
34407 * po/pl.po: Likewise.
34408 * po/vi.po: Likewise.
34409
370ca3d2
JM
344102012-07-03 Joseph Myers <joseph@codesourcery.com>
34411
95f5a9a8
JM
34412 * Makeconfig [!+link] (+link-before-libc): New variable.
34413 [!+link] (+link-after-libc): Likewise.
34414 [!+link] (+link-tests): Likewise.
34415 [!+link] (+link): Define in terms of $(+link-before-libc) and
34416 $(+link-after-libc).
34417 [!+link-static] (+link-static-before-libc): New variable.
34418 [!+link-static] (+link-static-after-libc): Likewise.
34419 [!+link-static] (+link-static-tests): Likewise.
34420 [!+link-static] (+link-static): Define in terms of
34421 $(+link-static-before-libc) and $(+link-static-after-libc).
34422 [build-shared] (link-libc-before-gnulib): New variable.
34423 [build-shared] (link-libc-tests): Likewise.
34424 [build-shared] (link-libc): Define in terms of
34425 $(link-libc-before-gnulib).
34426 [!build-shared] (link-libc-tests): New variable.
34427 (link-libc-static-tests): New variable.
34428 [!gnulib] (gnulib-arch): New variable.
34429 [!gnulib] (gnulib-tests): Likewise.
34430 [!gnulib] (static-gnulib-arch): Likewise.
34431 [!gnulib] (static-gnulib-tests): Likewise.
34432 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34433 Define with "=" instead of ":=".
34434 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34435 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34436 * Rules (binaries-all-notests): New variable.
34437 (binaries-all-tests): Likewise.
34438 (binaries-static-notests): Likewise.
34439 (binaries-static-tests): Likewise.
34440 (binaries-all): Define using $(binaries-all-notests) and
34441 $(binaries-all-tests).
34442 (binaries-static): Define using $(binaries-static-notests) and
34443 $(binaries-static-tests).
34444 (binaries-shared-tests): New variable.
34445 (binaries-shared-notests): Likewise.
34446 (binaries-shared): Remove variable.
34447 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34448 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34449 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34450 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34451 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34452 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34453 * elf/Makefile (sln-modules): New variable.
34454 (extra-objs): Add $(sln-modules:=.o).
34455 (ldconfig-modules): Add static-stubs.
34456 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34457 * elf/static-stubs.c: New file.
34458
7a845b2c
JM
34459 [BZ #14283]
34460 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34461 by 7 not 8 to examine high bit of fractional part. Use volatile
34462 variables when splitting into final array of floats if
34463 __FLT_EVAL_METHOD__ != 0.
34464 * math/libm-test.inc (cos_test): Add another test.
34465 (sin_test): Likewise.
34466 * sysdeps/i386/fpu/libm-test-ulps: Update.
34467
e2283f38
JM
34468 [BZ #14273]
34469 * math/libm-test.inc (cosh_test): Add more tests.
34470
370ca3d2
JM
34471 * version.h (RELEASE): Set to "development".
34472 (VERSION): Set to "2.16.90".
34473
ee9247c3
CD
344742012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34475
34476 * NEWS: Update copyright. Remove last-updated date.
34477 Mention math library bug fixes and timezone data changes.
34478 * README: Mention GNU/Hurd, x32, and HPPA support status.
34479
4648c381
TS
344802012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34481
34482 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34483
aac78a43
AJ
344842012-06-27 Andreas Jaeger <aj@suse.de>
34485
34486 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34487
ed3dbfad
AJ
344882012-06-25 Andreas Jaeger <aj@suse.de>
34489
34490 * sysdeps/s390/fpu/libm-test-ulps: Update.
34491
4d0ee855
AS
344922012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34493 Thomas Schwinge <thomas@codesourcery.com>
34494
34495 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34496 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34497 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34498 fanotify_mark.
34499
af1bce34
TS
345002012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34501
a9fa33ba
TS
34502 * sysdeps/mach/start.c: Remove file.
34503 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34504 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34505 * sysdeps/sh/init-first.c: Likewise.
34506
58f902b8
TS
34507 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34508 registers for frame unwinding purposes, add CFI directives.
34509 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34510 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34511 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34512 Likewise.
34513
1518f58b
TS
34514 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34515 __fortify_fail returning.
34516 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34517
db9b5059
TS
34518 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34519 sysdeps/sh/____longjmp_chk.S.
34520 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34521 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34522 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34523 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34524
967705fe
TS
34525 * sysdeps/sh/abort-instr.h: New file.
34526 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34527 process in case exit returns.
34528
a9def8c4
TS
34529 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34530 initialize the GOT register before use.
34531
2a649725
TS
34532 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34533 calculation of ARGC > 4.
34534
af1bce34
TS
34535 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34536 meaningful names to some local labels.
34537
d230f50a
KK
345382012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34539 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34540
34541 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34542 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34543 (__arch_compare_and_exchange_val_16_acq): Likewise.
34544 (__arch_compare_and_exchange_val_32_acq): Likewise.
34545 (atomic_exchange_and_add): Fix gUSA sequence.
34546 (atomic_add): Likewise.
34547 (atomic_add_negative): Likewise.
34548 (atomic_add_zero): Likewise.
34549 (atomic_bit_test_set): Likewise.
34550
0479b305
AS
345512012-06-22 Andreas Schwab <schwab@redhat.com>
34552
34553 [BZ #13579]
34554 * include/link.h (struct link_map): Add l_free_initfini.
34555 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34556 l_initfini.
34557 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34558 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34559 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34560 set.
34561
0e3933b9
CD
345622012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34563
34564 * configure.in: Use AC_LANG_SOURCE.
34565 * configure: Regenerate.
34566
4248b1b1
RM
345672012-06-22 Roland McGrath <roland@hack.frob.com>
34568
34569 * configure.in (libc_cv_localstatedir): New substituted variable.
34570 * configure: Regenerated.
34571 * config.make.in (localstatedir): New variable, substituted from
34572 libc_cv_localstatedir.
34573 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34574 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34575 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34576 * sysdeps/gnu/configure: Regenerated.
34577
006dd861
JL
345782012-06-21 Jeff Law <law@redhat.com>
34579
34580 [BZ #14277]
34581 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34582 free. Simplify list management for _LIBC case.
34583
79662d42
JM
345842012-06-21 Joseph Myers <joseph@codesourcery.com>
34585
b7abb4bf
JM
34586 [BZ #14273]
34587 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34588 Clear sign bit of 64-bit integer value before comparing against
34589 overflow value.
34590
79662d42
JM
34591 * sysdeps/mach/configure: Regenerated.
34592
1f150908
L
345932012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34594
34595 [BZ #14278]
34596 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34597
28363bbf
JL
345982012-06-21 Jeff Law <law@redhat.com>
34599
34600 [BZ #13882]
34601 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34602 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 34603 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
34604 * elf/dl-open.c (dl_open_worker): Likewise.
34605
09615db4
CD
346062012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34607
34608 * scripts/list-sources.sh: Scan PORTS for translations.
34609 * po/libc.pot: Regenerated.
34610
2174c6dd
AJ
346112012-06-21 Andreas Jaeger <aj@suse.de>
34612
34613 [BZ #12194]
34614 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34615 warning.
34616 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34617 * bits/byteswap-16.h (__bswap_16): Likewise.
34618 * bits/byteswap.h (__bswap_constant_16): Likewise.
34619
3ee947b1
L
346202012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34621
34622 [BZ #14117]
a2f34833
L
34623 * sysdeps/i386/fpu_control.h: Removed.
34624 * sysdeps/x86_64/fpu_control.h: Moved to ...
34625 * sysdeps/x86/fpu_control.h: Here.
34626
3ee947b1
L
34627 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34628 (_FPU_SETCW): Likewise.
34629
ed1825f8
L
346302012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34631
25f1282a
L
34632 [BZ #14117]
34633 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34634 * sysdeps/x86/fpu/bits/mathinline.h: This.
34635 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34636
ed1825f8
L
34637 [BZ #14050]
34638 [BZ #14117]
34639 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34640 functions if __x86_64__ is defined.
34641
36d54b74
CLT
346422012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34643
34644 * string/endian.h: Add !__ASSEMBLER__ condition for including
34645 conversion interfaces.
34646
10285c21
JM
346472012-06-15 Joseph Myers <joseph@codesourcery.com>
34648
34649 [BZ #14241]
34650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34651 of ABS(x) in calculating zero to negative powers other than odd
34652 integers.
34653 * math/libm-test.inc (pow_test): Add more tests.
34654
06c5abbd
AJ
346552012-06-15 Andreas Jaeger <aj@suse.de>
34656
34657 * manual/contrib.texi (Contributors): Update entry of Liubov
34658 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34659 Machado Filho.
34660
a3aeac40
CH
346612012-06-15 Cyril Hrubis <metan@ucw.cz>
34662
34663 * string/string.h: Add __wur to GNU version of strerror_r.
34664
49bdf4c1
L
346652012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34666
34667 [BZ #14229]
34668 * string/Makefile (tests): Add tst-strtok_r.
34669 * string/tst-strtok_r.c: New file.
34670 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34671 RAX_LP/RDX_LP on SAVE_PTR.
34672
834f9b8d
RM
346732012-06-14 Roland McGrath <roland@hack.frob.com>
34674
34675 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34676
75fa1921
JM
346772012-06-14 Joseph Myers <joseph@codesourcery.com>
34678
34679 * libm_test.inc (csqrt_test): Allow more spurious underflow
34680 exceptions.
34681 (j0_test): Likewise.
34682 (j1_test): Likewise.
34683 (y0_test): Likewise.
34684 (y1_test): Likewise.
34685
771766df
CD
346862012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34687
34688 * po/Makefile (libc.pot): Use UTF-8 charset.
34689
ceb9e56b
PP
346902012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34691
34692 [BZ #14210]
34693 Suppress sign-conversion warning from FD_SET.
34694 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34695 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34696 not unsigned long int.
34697 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34698
ddb28975
L
346992012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34700
34701 [BZ #14050]
34702 [BZ #14117]
34703 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34704 __extern_always_inline instead of __extern_inline.
34705 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34706 (__signbit): Likewise.
34707 (__signbitl): Support C++ namespace.
34708 (lrintf): New inline function.
34709 (lrint): Likewise.
34710 (llrintf): Likewise.
34711 (llrint): Likewise.
34712 (fmaxf): Likewise.
34713 (fmax): Likewise.
34714 (fminf): Likewise.
34715 (fmin): Likewise.
34716 (rint): Likewise.
34717 (rintf): Likewise.
34718 (ceil): Likewise.
34719 (ceilf): Likewise.
34720 (floor): Likewise.
34721 (floorf): Likewise.
34722 (nearbyint): Likewise.
34723 (nearbyintf): Likewise.
34724
d7b4fb26
TS
347252012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34726
34727 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34728 non-default versions.
34729
eb55f5c2
RM
347302012-06-11 Roland McGrath <roland@hack.frob.com>
34731
34732 [BZ #14218]
34733 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34734
366af02c
TS
347352012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34736
99ff6e5c
TS
34737 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34738 (FE_UPWARD, FE_DOWNWARD): Don't define.
34739 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34740 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34741
366af02c
TS
34742 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34743 reading it.
34744 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34745 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34746
793ea851
KK
347472012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34748
34749 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34750 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34751 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34752 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34753
a728a38f
L
347542012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34755
34756 [BZ #14117]
c08010c7
L
34757 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34758 * sysdeps/i386/fpu/Implies: New file.
34759 * sysdeps/x86_64/fpu/Implies: Likewise.
34760 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34761 * sysdeps/x86/fpu/bits/fenv.h: This.
34762
a728a38f
L
34763 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34764 __SSE_MATH__.
34765
6e230d11
SP
347662012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34767
34768 [BZ #14134]
34769 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34770 character 0xffff that matches the last element of the
34771 conversion table.
34772
1b671feb
AZ
347732012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34774
34775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34776 fmodl commit.
34777
6043738b
AZ
347782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34779
34780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34781 values higher than 25.6283.
34782
34ae0b32
AZ
347832012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34784
34785 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34786 subnormal exponent extraction and add some __builtin_expect.
34787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34788 Fix for subnormal mantissa calculation.
34789
1214ec8f
MF
347902012-06-04 Mike Frysinger <vapier@gentoo.org>
34791
34792 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34793 cpu2 is -1 and errno is not ENOSYS.
34794
f3d1f93c
L
347952012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34796
34797 [BZ #14117]
0e4a3cd7
L
34798 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34799 * sysdeps/x86/bits/string.h: This.
34800 * sysdeps/x86_64/bits/string.h: Removed.
34801
6704c645
L
34802 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34803 if not compiling for x86-64, but compiling for >= i486.
34804
48495318
L
34805 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34806 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34807
14adcbfc
L
34808 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34809 New macro from Linux kernel 3.4.0.
34810 (FP_XSTATE_MAGIC2): Likewise.
34811 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34812 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34813 (struct _fpx_sw_bytes): New struct.
34814 (struct _xsave_hdr): Likewise.
34815 (struct _ymmh_state): Likewise.
34816 (struct _xstate): Likewise.
34817
68e408ab
L
34818 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34819 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34820 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34821 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34822 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34823 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34824
f3d1f93c
L
34825 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34826 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34827 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34828 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34829 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34830 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34831
d9dc34cd
TMQMF
348322012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34833
34834 [BZ #13743]
34835 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34836 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34837 (sysdep_headers): Include sys/platform/ppc.h.
34838 * sysdeps/powerpc/test-gettimebase.c: Test for
34839 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34840 * manual/Makefile (appendices): Include platform.texi.
34841 * manual/contrib.texi (Contributors): Update @node pointers.
34842 * manual/maint.texi (Maintenance): Likewise.
34843 (Platform): New node.
34844 * manual/platform.texi: New file. Document the new features.
34845
4af3879c
SP
348462012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34847 Jakub Jelinek <jakub@redhat.com>
34848
34849 [BZ #14188]
34850 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34851 where __builtin_expect is unavailable.
34852
2fd6ff13
DM
348532012-06-03 David S. Miller <davem@davemloft.net>
34854
34855 * stdlib/longlong.h: Updated from GCC.
34856
173f7220
AS
348572012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34858
34859 [BZ #14042]
34860 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34861 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34862 __mcount_internal.
34863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34864 (GLIBC_2.16): Likewise.
34865
f34a1c6f
L
348662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34867
34868 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34869
88a4576f
JM
348702012-06-01 Joseph Myers <joseph@codesourcery.com>
34871
ea32bcdd
JM
34872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34873 (default-abi): New variable.
34874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34875 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34876 variable.
34877 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34878 Likewise.
34879 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34880 Likewise.
34881 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34882 Likewise.
34883
88a4576f
JM
34884 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34885 definition. Document in comment.
34886
402fe938
DM
348872012-06-01 David S. Miller <davem@davemloft.net>
34888
34889 * stdlib/longlong.h: Updated from GCC.
34890
3553723f
L
348912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34892
34893 [BZ #14117]
3bd872c4
L
34894 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34895 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34896 sys/debugreg.h sys/io.h here.
34897 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34898 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34899 sys/io.h.
34900 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34901 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34902 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34903 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34904 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34905 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34906
3553723f
L
34907 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34908 Define only if __x86_64__ is defined.
34909
4842e4fe
JM
349102012-06-01 Joseph Myers <joseph@codesourcery.com>
34911
c5bfe3d5
JM
34912 [BZ #14048]
34913 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34914 Use int64_t for variable i.
34915 * math/libm-test.inc (fmod_test): Add more tests.
34916
4842e4fe
JM
34917 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34918 z computation is not scheduled after fetestexcept.
34919 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34920 Use math_force_eval instead of asm to ensure calculation scheduled
34921 before exception test.
34922 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34923 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34924
efb73488
AJ
349252012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34926
34927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34928 computation is not scheduled after fetestexcept.
34929
29bcce7c
L
349302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34931
34932 [BZ #14117]
34933 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34934 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34935
73a68f94
AZ
349362012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34937
34938 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34939 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34940
67b6df78
L
349412012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34942
edf2933a 34943 [BZ #14117]
ebc64a18
L
34944 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34945 <bits/wordsize.h>.
34946 (__WCHAR_MIN): Support __WORDSIZE == 64.
34947 (__WCHAR_MAX): Likewise.
34948
edf2933a
L
34949 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34950 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34951
57c6cf40
L
34952 [BZ #14183]
34953 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34954 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34955
67b6df78 34956 [BZ #14117]
8eb6281e
L
34957 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34958 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34959
aac639f4
L
34960 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34961 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34962
67b6df78
L
34963 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34964 Defined to 1 if __x86_64__ isn't defined.
34965 (_STAT_VER_LINUX_OLD): New.
34966 (st_atime): Remove duplicate.
34967 (st_mtime): Likewise.
34968 (st_ctime): Likewise.
34969
1c2cfe81
DM
349702012-05-31 David S. Miller <davem@davemloft.net>
34971
34972 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34973 entries.
34974
5be8418c
AS
349752012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34976
e7725326
AS
34977 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34978 gen-libm-test.pl.
34979
5be8418c
AS
34980 [BZ #14132]
34981 * elf/dl-reloc.c: Include <_itoa.h>.
34982 (_dl_reloc_bad_type): Remove use of INTUSE.
34983 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34984 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34985 * stdio-common/psiginfo.c (psiginfo): Likewise.
34986 * stdio-common/psignal.c (psignal): Likewise.
34987 * string/strsignal.c (strsignal): Likewise.
34988 * include/signal.h (_sys_siglist): Declare hidden proto.
34989 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34990 INTVARDEF with libc_hidden_data_def.
34991 * stdio-common/itoa-udigits.c: Likewise.
34992 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34993 (_itoa_lower_digits_internal): Remove declaration.
34994 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34995 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34996 (_sys_sigabbrev_internal): Remove aliases.
34997 (_sys_siglist): Define hidden alias.
34998
507352f1
MT
349992012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35000
35001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35002 bits/sysctl.h.
35003
42bbb1c3
L
350042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35005
35006 [BZ #14117]
6bd784b6
L
35007 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35008 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35009
8bca20f0
L
35010 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35011 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35012 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35013 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35014 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35015 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35016
f9e890a9
L
35017 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35018 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35019 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35020
471101a1
L
35021 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35022 with __addr.
35023 (insw): Likewise.
35024 (insl): Likewise.
35025 (outsb): Likewise.
35026 (outsw): Likewise.
35027 (outsl): Likewise.
35028
6451c862
L
35029 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35030 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35031 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35032
a254b8c9
L
35033 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35034 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35035 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35036 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35037 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35038 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35039
b8dfdd92
L
35040 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35041 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35042
578cd270
L
35043 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35044 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35045
de662f5f
L
35046 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35047 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35048 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35049
25653439
L
35050 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35051 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35052 to ...
35053 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35054
6bad24a0
L
35055 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35056 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35057 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35058
42bbb1c3
L
35059 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35060 for x86-64.
35061 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35062
2d10d547
JM
350632012-05-31 Joseph Myers <joseph@codesourcery.com>
35064
35065 * math/math.h (M_El): Use two more decimal places.
35066 (M_LOG2El): Likewise.
35067 (M_LOG10El): Likewise.
35068 (M_LN2l): Likewise.
35069 (M_LN10l): Likewise.
35070 (M_PIl): Likewise.
35071 (M_PI_2l): Likewise.
35072 (M_PI_4l): Likewise.
35073 (M_1_PIl): Likewise.
35074 (M_2_PIl): Likewise.
35075 (M_2_SQRTPIl): Likewise.
35076 (M_SQRT2l): Likewise.
35077 (M_SQRT1_2l): Likewise.
35078
f230c29b
DM
350792012-05-31 David S. Miller <davem@davemloft.net>
35080
35081 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35082 values between float registers.
35083 * sysdeps/sparc/sparc64/memset.S: Likewise.
35084 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35085
fed806c3
MF
350862012-05-31 Mike Frysinger <vapier@gentoo.org>
35087
35088 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35089 -D_FORTIFY_SOURCE=1.
35090 (CPPFLAGS-tst-longjmp_chk.c): Define.
35091 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35092 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35093 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35094 CFLAGS-tst-wchar-h.c.
35095
30917259
MP
350962012-05-31 Marek Polacek <polacek@redhat.com>
35097
35098 [BZ #14132]
35099 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35100 __endmntent_internal): Remove declaration.
35101 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35102 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35103 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35104
1c58d5dc
DM
351052012-05-30 David S. Miller <davem@davemloft.net>
35106
35107 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35108 (___Q_simulate_exceptions): Use real FP ops rather than writing
35109 into the %fsr.
35110 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35111 Likewise.
35112
7dc00e0d
L
351132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35114
35115 [BZ #14117]
0bd53985
L
35116 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35117 * sysdeps/x86/bits/xtitypes.h: This.
35118
3a257e66
L
35119 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35120 * sysdeps/x86/bits/wordsize.h: This.
35121
62f62904
L
35122 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35123 * sysdeps/x86/bits/huge_vall.h: This.
35124
404fe9d9
L
35125 * sysdeps/i386/bits/select.h: Removed.
35126 * sysdeps/x86_64/bits/select.h: Renamed to ...
35127 * sysdeps/x86/bits/select.h: This.
35128
d48d0446
L
35129 * sysdeps/i386/bits/setjmp.h: Removed.
35130 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35131 * sysdeps/x86/bits/setjmp.h: This.
35132
7dc00e0d
L
35133 * sysdeps/i386/bits/mathdef.h: Removed.
35134 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35135 * sysdeps/x86/bits/mathdef.h: This.
35136
03277f8f
AS
351372012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35138
35139 [BZ #14132]
35140 * include/sys/socket.h (__connect_internal)
35141 (__libc_sa_len_internal): Remove declaration.
35142 (__connect, __libc_sa_len): Declare hidden_proto.
35143 (SA_LEN): Remove use of INTUSE.
35144 * socket/connect.c: Add libc_hidden_def.
35145 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35146 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35147 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35148 alias.
35149 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35150 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35151 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35152 of adding _internal alias.
35153
13764867
L
351542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35155
35156 [BZ #14117]
6bd97696
L
35157 * sysdeps/i386/bits/link.h: Removed.
35158 * sysdeps/i386/bits/linkmap.h: Likewise.
35159 * sysdeps/x86_64/bits/link.h: Renamed to ...
35160 * sysdeps/x86/bits/link.h: This.
35161 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35162 * sysdeps/x86/bits/linkmap.h: This.
35163
f726f0bb
L
35164 * sysdeps/i386/bits/endian.h: Removed.
35165 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35166 * sysdeps/x86/bits/endian.h: This.
35167
13764867
L
35168 * sysdeps/i386/bits/byteswap.h: Removed.
35169 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35170 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35171 * sysdeps/x86/bits/byteswap.h: This.
35172 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35173 * sysdeps/x86/bits/byteswap-16.h: This.
35174 * sysdeps/i386/Implies: Add x86.
35175 * sysdeps/x86_64/Implies: Likewise.
35176
ae251b0b
DM
351772012-05-30 David S. Miller <davem@davemloft.net>
35178
35179 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35180 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35181 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35182 (FP_TRAPPING_EXCEPTIONS): Define.
35183 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35184 (FP_TRAPPING_EXCEPTIONS): Define.
35185 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35186 subnormals only when inexact has been signalled or underflow
35187 exceptions are enabled.
35188 (_FP_PACK_CANONICAL): Likewise.
35189
d5c90867
L
351902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35191
35192 [BZ #14183]
35193 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35194 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35195
63f1549e
RH
351962012-05-30 Richard Henderson <rth@twiddle.net>
35197
8d8f2279
RH
35198 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35199 with #ifndef NOT_IN_libc.
35200
63f1549e
RH
35201 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35202 marked to avoid plt entry.
35203
0ab0291b
L
352042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35205
35206 [BZ #14112]
35207 * Makeconfig (default-abi): New macro.
35208 (abi-includes): Likewise.
35209 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35210 $(abi-$(default-abi)-lib-soname) for soname if defined.
35211 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35212 abi-variants.
35213 * Makefile (installed-stubs): Likewise.
35214 * include/stubs-biarch.h: Removed.
35215 * scripts/lib-names.awk: Only handle one library at a time.
35216 * scripts/soversions.awk: Remove WORDSIZE support.
35217 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35218 entries.
35219 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35220 Removed.
35221 (syscall-list-default-condition): Likewise.
35222 (syscall-list-default-condition): Likewise.
35223 (syscall-list-includes): Likewise.
35224 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35225 syscall-list-* with abi-*. Handle undefined abi-variants.
35226 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35227 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35228 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35229 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35230 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35231 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35232 Removed.
35233 (syscall-list-32-options): Likewise.
35234 (syscall-list-32-condition): Likewise.
35235 (syscall-list-64-options): Likewise.
35236 (syscall-list-64-condition): Likewise.
35237 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35238 macro.
35239 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35240 Renamed to ...
35241 (abi-*): This.
35242 (abi-64-ld-soname): New macro.
35243 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35244 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35245 Renamed to ...
35246 (abi-*): This.
35247 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35248 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35249
4da0431d
JM
352502012-05-30 Joseph Myers <joseph@codesourcery.com>
35251
3a85279c
JM
35252 * sysdeps/unix/sysv/linux/kernel-features.h
35253 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35254 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35255 include <kernel-features.h>.
35256 [!__NR_ftruncate64]: Remove conditional code.
35257 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35258 [__NR_ftruncate64]: Make code unconditional.
35259 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35260 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35261 include <kernel-features.h>.
35262 [!__NR_ftruncate64]: Remove conditional code.
35263 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35264 [__NR_ftruncate64]: Make code unconditional.
35265 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35267 include <kernel-features.h>.
35268 [!__NR_ftruncate64]: Remove conditional code.
35269 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35270 [__NR_ftruncate64]: Make code unconditional.
35271 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35273 include <kernel-features.h>.
35274 [!__NR_ftruncate64]: Remove conditional code.
35275 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35276 [__NR_ftruncate64]: Make code unconditional.
35277 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35278
4da0431d
JM
35279 * configure.in (libc_cv_fpie): Weaken to a compile test using
35280 LIBC_TRY_CC_OPTION.
35281 * configure: Regenerated.
35282
11ef492c
AK
352832012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35284
35285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35289 Refreshed.
35290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35296 Refreshed.
35297
d66ef399
DM
352982012-05-27 David S. Miller <davem@davemloft.net>
35299
35300 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35301 (___Q_zero): New.
35302 (__Q_simulate_exceptions): Return void. Change to simulate
35303 exceptions by writing into the %fsr.
35304 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35305 (__Qp_handle_exceptions): Likewise.
35306 (numbers): Delete.
35307 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35308 __Qp_handle_exceptions.
35309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35310 __Qp_handle_exceptions.
35311 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35312 as unused and give dummy FP_RND_NEAREST initializer.
35313 (FP_INHIBIT_RESULTS): Define.
35314 (___Q_simulate_exceptions): Update declaration.
35315 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35316 formatting.
35317 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35318 as unused and give dummy FP_RND_NEAREST initializer.
35319 (__Qp_handle_exceptions): Update declaration.
35320 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35321 formatting.
35322
04fb54b5
TS
353232012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35324
35325 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35326 the temporary FPU control word.
35327 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35328 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35329 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35330 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35331 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35332 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35333 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35334 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35335 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35336 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35337 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35338
3f99608f
KK
353392012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35340
35341 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35342 fields.
35343
65a4de4e
CLT
353442012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35345
35346 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35347 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35348 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35349 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35350 Likewise.
35351 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35352 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35353 Likewise.
35354
15749d40
UD
353552012-05-27 Ulrich Drepper <drepper@gmail.com>
35356
35357 * po/h.po: Update from translation team.
35358
25dbcb27
AS
353592012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35360
3d3f8e55
AS
35361 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35362
25dbcb27
AS
35363 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35364 handling of denormals.
35365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35366 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35367 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35368 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35371 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35372 Likewise.
35373
7ad47a80 353742012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
35375
35376 [BZ #14152]
35377 * math/libm-test.inc (fma_test): Don't always expect underflow
35378 exception.
35379
9c6ea9fa
SP
353802012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35381
35382 [BZ #12416]
35383 * elf/tst-execstack.c: Include stackinfo.h.
35384 (do_test): Adjust test case to ensure that pthread_getattr_np
35385 behaviour remains the same after marking stack executable.
35386
a8239222
JM
353872012-05-25 Joseph Myers <joseph@codesourcery.com>
35388
35389 * sysdeps/unix/sysv/linux/kernel-features.h
35390 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35391 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35392 kernel-features.h.
35393 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35394 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35395 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35396 kernel-features.h.
35397 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35398 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35399
918b5606
L
354002012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35401
35402 * configure.in: Define the default includes to being none.
35403 * configure: Regenerated.
35404
3a097cc7
RM
354052012-05-25 Roland McGrath <roland@hack.frob.com>
35406
8422c9a5
RM
35407 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35408 * sysdeps/x86_64/setjmp.S: Likewise.
35409 * sysdeps/i386/bsd-setjmp.S: Likewise.
35410 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35411 * sysdeps/i386/setjmp.S: Likewise.
35412 * sysdeps/i386/__longjmp.S: Likewise.
35413 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35414 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35415
3a097cc7
RM
35416 * include/stap-probe.h: New file.
35417 * configure.in: Handle --enable-systemtap.
35418 * configure: Regenerated.
35419 * config.h.in (USE_STAP_PROBE): New #undef.
35420 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35421 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35422 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35423
21708942
JM
354242012-05-25 Joseph Myers <joseph@codesourcery.com>
35425
35426 [BZ #13717]
35427 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35428 to 2.4.0 where earlier.
35429 * sysdeps/unix/sysv/linux/configure: Regenerated.
35430 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35431 <kernel-features.h>.
35432 [__ASSUME_32BITUIDS]: Make code unconditional.
35433 [!__ASSUME_32BITUIDS]: Remove conditional code.
35434 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35435 <kernel-features.h>.
35436 [__ASSUME_32BITUIDS]: Make code unconditional.
35437 [!__ASSUME_32BITUIDS]: Remove conditional code.
35438 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35439 [__ASSUME_32BITUIDS]: Make code unconditional.
35440 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35441 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35442 <kernel-features.h>.
35443 [__ASSUME_32BITUIDS]: Make code unconditional.
35444 [!__ASSUME_32BITUIDS]: Remove conditional code.
35445 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35446 <kernel-features.h>.
35447 [__ASSUME_32BITUIDS]: Make code unconditional.
35448 [!__ASSUME_32BITUIDS]: Remove conditional code.
35449 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35450 <kernel-features.h>.
35451 [__ASSUME_32BITUIDS]: Make code unconditional.
35452 [!__ASSUME_32BITUIDS]: Remove conditional code.
35453 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35454 <kernel-features.h>.
35455 [__ASSUME_32BITUIDS]: Make code unconditional.
35456 [!__ASSUME_32BITUIDS]: Remove conditional code.
35457 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35458 <kernel-features.h>.
35459 [__ASSUME_32BITUIDS]: Make code unconditional.
35460 [!__ASSUME_32BITUIDS]: Remove conditional code.
35461 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35462 <kernel-features.h>.
35463 [__ASSUME_32BITUIDS]: Make code unconditional.
35464 [!__ASSUME_32BITUIDS]: Remove conditional code.
35465 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35466 <kernel-features.h>.
35467 [__ASSUME_32BITUIDS]: Make code unconditional.
35468 [!__ASSUME_32BITUIDS]: Remove conditional code.
35469 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35470 <kernel-features.h>.
35471 [__ASSUME_32BITUIDS]: Make code unconditional.
35472 [!__ASSUME_32BITUIDS]: Remove conditional code.
35473 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35474 <kernel-features.h>.
35475 [__ASSUME_32BITUIDS]: Make code unconditional.
35476 [!__ASSUME_32BITUIDS]: Remove conditional code.
35477 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35478 <kernel-features.h>.
35479 [__ASSUME_32BITUIDS]: Make code unconditional.
35480 [!__ASSUME_32BITUIDS]: Remove conditional code.
35481 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35482 <kernel-features.h>.
35483 [__NR_setresgid] (__setresgid): Do not declare.
35484 [__ASSUME_32BITUIDS]: Make code unconditional.
35485 [!__ASSUME_32BITUIDS]: Remove conditional code.
35486 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35487 <kernel-features.h>.
35488 [__NR_setresuid] (__setresuid): Do not declare.
35489 [__ASSUME_32BITUIDS]: Make code unconditional.
35490 [!__ASSUME_32BITUIDS]: Remove conditional code.
35491 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35492 <kernel-features.h>.
35493 [__ASSUME_32BITUIDS]: Make code unconditional.
35494 [!__ASSUME_32BITUIDS]: Remove conditional code.
35495 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35496 <kernel-features.h>.
35497 [__ASSUME_32BITUIDS]: Make code unconditional.
35498 [!__ASSUME_32BITUIDS]: Remove conditional code.
35499 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35500 <kernel-features.h>.
35501 [__ASSUME_32BITUIDS]: Make code unconditional.
35502 [!__ASSUME_32BITUIDS]: Remove conditional code.
35503 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35504 <kernel-features.h>.
35505 [__ASSUME_32BITUIDS]: Make code unconditional.
35506 [!__ASSUME_32BITUIDS]: Remove conditional code.
35507 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35508 <kernel-features.h>.
35509 [__ASSUME_32BITUIDS]: Make code unconditional.
35510 [!__ASSUME_32BITUIDS]: Remove conditional code.
35511 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35512 <kernel-features.h>.
35513 [__ASSUME_32BITUIDS]: Make code unconditional.
35514 [!__ASSUME_32BITUIDS]: Remove conditional code.
35515 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35516 <kernel-features.h>.
35517 [__ASSUME_32BITUIDS]: Make code unconditional.
35518 [!__ASSUME_32BITUIDS]: Remove conditional code.
35519 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35520 <kernel-features.h>.
35521 [__ASSUME_32BITUIDS]: Make code unconditional.
35522 [!__ASSUME_32BITUIDS]: Remove conditional code.
35523 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35524 <kernel-features.h>.
35525 [__ASSUME_32BITUIDS]: Make code unconditional.
35526 [!__ASSUME_32BITUIDS]: Remove conditional code.
35527 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35528 <kernel-features.h>.
35529 [__ASSUME_32BITUIDS]: Make code unconditional.
35530 [!__ASSUME_32BITUIDS]: Remove conditional code.
35531 * sysdeps/unix/sysv/linux/kernel-features.h
35532 (__ASSUME_SETRESUID_SYSCALL): Remove.
35533 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35534 (__ASSUME_32BITUIDS): Likewise.
35535 (__ASSUME_LDT_WORKS): Likewise.
35536 (__ASSUME_O_DIRECTORY): Likewise.
35537 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35538 architecture but not kernel version.
35539 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35540 (__ASSUME_MMAP2_SYSCALL): Likewise.
35541 (__ASSUME_STAT64_SYSCALL): Likewise.
35542 (__ASSUME_IPC64): Likewise.
35543 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35544 <kernel-features.h>.
35545 [__ASSUME_32BITUIDS]: Make code unconditional.
35546 [!__ASSUME_32BITUIDS]: Remove conditional code.
35547 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35548 <kernel-features.h>.
35549 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35550 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35551 132096]: Remove conditional code.
35552 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35553 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35554 <kernel-features.h>.
35555 [__ASSUME_32BITUIDS]: Make code unconditional.
35556 [!__ASSUME_32BITUIDS]: Remove conditional code.
35557 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35558 <kernel-features.h>.
35559 [__ASSUME_32BITUIDS]: Make code unconditional.
35560 [!__ASSUME_32BITUIDS]: Remove conditional code.
35561 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35562 <kernel-features.h>.
35563 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35564 unconditional.
35565 (__setresgid): Do not declare.
35566 [__ASSUME_32BITUIDS]: Make code unconditional.
35567 [!__ASSUME_32BITUIDS]: Remove conditional code.
35568 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35569 <kernel-features.h>.
35570 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35571 unconditional.
35572 (__setresuid): Do not declare.
35573 [__ASSUME_32BITUIDS]: Make code unconditional.
35574 [!__ASSUME_32BITUIDS]: Remove conditional code.
35575 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35576 <kernel-features.h>.
35577 [__ASSUME_32BITUIDS]: Make code unconditional.
35578 [!__ASSUME_32BITUIDS]: Remove conditional code.
35579 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35580 <kernel-features.h>.
35581 [__ASSUME_32BITUIDS]: Make code unconditional.
35582 [!__ASSUME_32BITUIDS]: Remove conditional code.
35583
a386f1cc
RH
355842012-05-25 Richard Henderson <rth@twiddle.net>
35585
35586 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35587 dl_hwcap to ifunc resolver.
35588 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35589 elf_ifunc_invoke.
35590 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35591 dl_hwcap to ifunc resolver.
35592 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35593
b6550497
JM
355942012-05-24 Joseph Myers <joseph@codesourcery.com>
35595
35596 [BZ #14153]
35597 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35598 for |x| <= 2**-26, not 2**-57.
35599 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35600 exception.
35601
b0bc23a1
JL
356022012-05-24 Jeff Law <law@redhat.com>
35603
35604 * stdio-common/Makefile (tests): Add bug25.
35605 * stdio-common/bug25.c: New test.
35606
347c92e9
L
356072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35608
35609 [BZ #13576]
35610 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35611 multiple of MALLOC_ALIGNMENT in size.
35612 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35613
6bcc8b3f
JM
356142012-05-24 Joseph Myers <joseph@codesourcery.com>
35615
35616 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35617 Require >= 256.
35618 (FILENAME_MAX): Use macro-int-constant.
35619 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35620 (_IOFBF): Use macro-int-constant.
35621 (_IOLBF): Likewise.
35622 (_IONBF): Likewise.
35623 (SEEK_CUR): Likewise.
35624 (SEEK_END): Likewise.
35625 (SEEK_SET): Likewise.
35626 (TMP_MAX): Likewise.
35627 (EOF): Use macro-int-constant. Require < 0.
35628 (NULL): Use macro-constant. Require == 0.
35629 (stdin): Require type to be FILE *.
35630 (stdout): Likewise.
35631 (stderr): Likewise.
35632 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35633 macro-int-constant.
35634 (EXIT_SUCCESS): Likewise.
35635 (NULL): Use macro-constant. Require == 0.
35636 (RAND_MAX): Use macro-int-constant.
35637 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35638 [C99-based standards] (strtof): Require function.
35639 [C99-based standards] (strtold): Likewise.
35640 [C99-based standards] (strtoll): Likewise.
35641 [C99-based standards] (strtoull): Likewise.
35642 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35643 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35644 [ISO || ISO99 || ISO11] (math.h): Likewise.
35645 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35646 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35647 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35648
d18ea0c5
AS
356492012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35650
35651 [BZ #14132]
56d25bb8
AS
35652 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35653 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35654 * intl/dgettext.c (DCGETTEXT): Likewise.
35655 * intl/gettext.c (DCGETTEXT): Likewise.
35656 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35657 * posix/regex_internal.h (gettext): Likewise.
35658 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35659 Remove declaration.
35660 * include/argz.h (__argz_count_internal)
35661 (__argz_stringify_internal): Remove declaration.
35662 (__argz_count, __argz_stringify): Declare hidden proto.
35663 * intl/dcgettext.c: Remove use of INTDEF.
35664 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35665 * string/argz-stringify.c: Likewise.
35666 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35667 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35668 Declare hidden proto.
d18ea0c5
AS
35669 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35670 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35671 Declare hidden proto.
35672 * include/stdio.h (__asprintf_internal): Don't declare.
35673 (__asprintf): Don't define as macro. Declare hidden proto.
35674 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35675 (__fsetlocking): Declare hidden proto.
35676 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35677 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35678 hidden proto.
35679 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35680 (_IO_setlinebuf): Remove use of INTUSE.
35681 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35682 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35683 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35684 Remove declaration.
35685 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35686 (_IO_do_flush): Remove use of INTUSE.
35687 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35688 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35689 (_IO_adjust_column, _IO_least_wmarker)
35690 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35691 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35692 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35693 (_IO_default_doallocate, _IO_wdefault_doallocate)
35694 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35695 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35696 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35697 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35698 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35699 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35700 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35701 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35702 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35703 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35704 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35705 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35706 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35707 proto.
35708 (_IO_flush_all_internal, _IO_adjust_column_internal)
35709 (_IO_default_uflow_internal, _IO_default_finish_internal)
35710 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35711 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35712 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35713 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35714 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35715 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35716 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35717 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35718 (_IO_file_close_internal, _IO_file_close_it_internal)
35719 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35720 (_IO_file_init_internal, _IO_file_attach_internal)
35721 (_IO_file_fopen_internal, _IO_file_read_internal)
35722 (_IO_file_sync_internal, _IO_file_seek_internal)
35723 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35724 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35725 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35726 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35727 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35728 (_IO_list_all_internal, _IO_link_in_internal)
35729 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35730 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35731 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35732 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35733 (_IO_do_write_internal, _IO_padn_internal)
35734 (_IO_getline_info_internal, _IO_getline_internal)
35735 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35736 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35737 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35738 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35739 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35740 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35741 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35742 with libc_hidden_ver, remove use of INTUSE.
35743 * libio/genops.c: Likewise.
35744 * libio/freopen.c: Likewise.
35745 * libio/freopen64.c: Likewise.
35746 * libio/iofclose.c: Likewise.
35747 * libio/iofdopen.c: Likewise.
35748 * libio/iofflush.c: Likewise.
35749 * libio/iofflush_u.c: Likewise.
35750 * libio/iofgets.c: Likewise.
35751 * libio/iofgets_u.c: Likewise.
35752 * libio/iofopen.c: Likewise.
35753 * libio/iofopncook.c: Likewise.
35754 * libio/iofread.c: Likewise.
35755 * libio/iofread_u.c: Likewise.
35756 * libio/ioftell.c: Likewise.
35757 * libio/iofwrite.c: Likewise.
35758 * libio/iogetline.c: Likewise.
35759 * libio/iogets.c: Likewise.
35760 * libio/iogetwline.c: Likewise.
35761 * libio/iopadn.c: Likewise.
35762 * libio/iopopen.c: Likewise.
35763 * libio/ioseekoff.c: Likewise.
35764 * libio/ioseekpos.c: Likewise.
35765 * libio/iosetbuffer.c: Likewise.
35766 * libio/iosetvbuf.c: Likewise.
35767 * libio/ioungetc.c: Likewise.
35768 * libio/ioungetwc.c: Likewise.
35769 * libio/iovdprintf.c: Likewise.
35770 * libio/iovsprintf.c: Likewise.
35771 * libio/iovsscanf.c: Likewise.
35772 * libio/memstream.c: Likewise.
35773 * libio/obprintf.c: Likewise.
35774 * libio/oldfileops.c: Likewise.
35775 * libio/oldiofclose.c: Likewise.
35776 * libio/oldiofdopen.c: Likewise.
35777 * libio/oldiofopen.c: Likewise.
35778 * libio/oldiopopen.c: Likewise.
35779 * libio/oldstdfiles.c: Likewise.
35780 * libio/putc.c: Likewise.
35781 * libio/setbuf.c: Likewise.
35782 * libio/setlinebuf.c: Likewise.
35783 * libio/stdfiles.c: Likewise.
35784 * libio/strops.c: Likewise.
35785 * libio/vasprintf.c: Likewise.
35786 * libio/vscanf.c: Likewise.
35787 * libio/vsnprintf.c: Likewise.
35788 * libio/vswprintf.c: Likewise.
35789 * libio/wfiledoalloc.c: Likewise.
35790 * libio/wfileops.c: Likewise.
35791 * libio/wgenops.c: Likewise.
35792 * libio/wmemstream.c: Likewise.
35793 * libio/wstrops.c: Likewise.
35794 * libio/__fpurge.c: Likewise.
35795 * libio/__fsetlocking.c: Likewise.
35796 * assert/assert.c: Likewise.
35797 * debug/fgets_chk.c: Likewise.
35798 * debug/fgets_u_chk.c: Likewise.
35799 * debug/fread_chk.c: Likewise.
35800 * debug/fread_u_chk.c: Likewise.
35801 * debug/gets_chk.c: Likewise.
35802 * debug/obprintf_chk.c: Likewise.
35803 * debug/vasprintf_chk.c: Likewise.
35804 * debug/vdprintf_chk.c: Likewise.
35805 * debug/vsnprintf_chk.c: Likewise.
35806 * debug/vsprintf_chk.c: Likewise.
35807 * malloc/mtrace.c: Likewise.
35808 * misc/error.c: Likewise.
35809 * misc/syslog.c: Likewise.
35810 * stdio-common/asprintf.c: Likewise.
35811 * stdio-common/fxprintf.c: Likewise.
35812 * stdio-common/getw.c: Likewise.
35813 * stdio-common/isoc99_fscanf.c: Likewise.
35814 * stdio-common/isoc99_scanf.c: Likewise.
35815 * stdio-common/isoc99_vfscanf.c: Likewise.
35816 * stdio-common/isoc99_vscanf.c: Likewise.
35817 * stdio-common/isoc99_vsscanf.c: Likewise.
35818 * stdio-common/printf-prs.c: Likewise.
35819 * stdio-common/printf_fp.c: Likewise.
35820 * stdio-common/printf_fphex.c: Likewise.
35821 * stdio-common/printf_size.c: Likewise.
35822 * stdio-common/putw.c: Likewise.
35823 * stdio-common/scanf.c: Likewise.
35824 * stdio-common/sprintf.c: Likewise.
35825 * stdio-common/tmpfile.c: Likewise.
35826 * stdio-common/vfprintf.c: Likewise.
35827 * stdio-common/vfscanf.c: Likewise.
35828 * stdlib/strfmon_l.c: Likewise.
35829 * sunrpc/openchild.c: Likewise.
35830 * sunrpc/xdr_stdio.c: Likewise.
35831 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35832 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35833
d6c33fda
RM
358342012-05-24 Roland McGrath <roland@hack.frob.com>
35835
c1487492
RM
35836 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35837
35838 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35839 in the third column, to generate for the shared library an IFUNC
35840 that uses _dl_vdso_vsym.
35841 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35842 * Makeconfig (object-suffixes-noshared): New variable.
35843
35844 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35845 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35846 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35847 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35848
d6c33fda
RM
35849 [BZ #14132]
35850 * include/sys/time.h (__gettimeofday): Remove macro.
35851 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35852 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35853 Remove INTDEF.
35854 (__gettimeofday): Add libc_hidden_def.
35855 (gettimeofday): Add libc_hidden_weak.
35856 * sysdeps/mach/gettimeofday.c: Likewise.
35857 * sysdeps/posix/gettimeofday.c: Likewise.
35858 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35859 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35860 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35861 (__gettimeofday_internal): Remove strong_alias.
35862 (__gettimeofday): Add libc_hidden_def.
35863 (gettimeofday): Add libc_hidden_weak.
35864 * sysdeps/unix/syscalls.list (gettimeofday):
35865 Remove __gettimeofday_internal alias.
35866
b5a2bbe6
L
358672012-05-24 Daniel Jacobowitz <drow@false.org>
35868 H.J. Lu <hongjiu.lu@intel.com>
35869
35870 [BZ #12495]
35871 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35872 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35873 (largebin_index_32_big): New.
35874 (largebin_index): Use it for 16-byte alignment.
35875 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35876 correction with front_misalign.
35877
cfba4fda
L
358782012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35879
7f907421
L
35880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35882 Likewise.
35883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35884 Likewise.
35885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35886 Likewise.
35887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35888 Likewise.
35889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35890 Likewise.
35891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35892 Likewise.
35893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35894 Likewise.
35895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35896 Likewise.
35897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35898 Likewise.
35899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35900 Likewise.
35901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35902 Likewise.
35903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35904 Likewise.
35905
cfba4fda
L
35906 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35907 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35908
80bad0cc
JM
359092012-05-24 Joseph Myers <joseph@codesourcery.com>
35910
7a25eb06
JM
35911 [BZ #10846]
35912 [BZ #14036]
35913 * math/libm-test.inc (exp_test): Add test from bug 14036.
35914 (pow_test): Add test from bug 10846.
35915
795405f9
JM
35916 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35917 and other flags.
35918 (special_function): Do not include flags in test name.
35919 (parse_args): Likewise.
35920 * sysdeps/i386/fpu/libm-test-ulps: Update.
35921 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35922 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35923 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35925
80bad0cc
JM
35926 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35927 exceptions.
35928 * math/libm-test.inc ("Philosophy"): Update comment about
35929 exception testing.
35930 (UNDERFLOW_EXCEPTION): New macro.
35931 (UNDERFLOW_EXCEPTION_OK): Likewise.
35932 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35933 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35934 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35935 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35936 (INVALID_EXCEPTION_OK): Update value.
35937 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35938 (OVERFLOW_EXCEPTION_OK): Likewise.
35939 (IGNORE_ZERO_INF_SIGN): Likewise.
35940 (test_exceptions): Handle underflow exceptions.
35941 (acos_test): Update for underflow exception expectations.
35942 (cexp_test): Likewise.
35943 (clog_test): Likewise.
35944 (clog10_test): Likewise.
35945 (csqrt_test): Likewise.
35946 (ctan_test): Likewise.
35947 (ctanh_test): Likewise.
35948 (exp_test): Likewise.
35949 (exp10_test): Likewise.
35950 (exp2_test): Likewise.
35951 (expm1_test): Likewise.
35952 (fma_test): Likewise.
35953 (j0_test): Likewise.
35954 (jn_test): Likewise.
35955 (nexttoward_test): Likewise.
35956 (pow_test): Likewise.
35957 (scalbn_test): Likewise.
35958 (scalbln_test): Likewise.
35959 (tan_test): Likewise.
35960 (y1_test): Likewise.
35961 * sysdeps/i386/fpu/libm-test-ulps: Update.
35962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35963
9e0e3d0b
DM
359642012-05-23 David S. Miller <davem@davemloft.net>
35965
35966 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35967 (__libc_sigaction): Remove unused local variables.
35968
ccd0a08f
L
359692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35970
35971 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35972
62bdf9a6
PE
359732012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35974
f8591f80
PE
35975 mktime: avoid signed integer overflow
35976 * time/mktime.c (__mktime_internal): Do not mishandle the case
35977 where diff == INT_MIN.
35978
94c7d826
PE
35979 mktime: simplify computation of average
35980 * time/mktime.c (ranged_convert): Use new time_t_avg function
35981 instead of rolling our own (probably-slower) code.
35982
ce73d683
PE
35983 mktime: do not assume signed right shift propagates sign bit
35984 * time/mktime.c (isdst_differ): New static function.
35985 (__mktime_internal): No need to normalize tm_isdst now.
35986 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35987 tm_isdst values.
35988
72a22e59
PE
35989 mktime: merge another wrapv change from gnulib
35990 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35991 from some compilers.
35992
68605433
PE
35993 mktime: remove incorrect attempt at unusual arithmetics
35994 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35995 The code didn't really work on such machines anyway.
35996 (TYPE_MINIMUM): Assume two's complement.
35997 (twos_complement_arithmetic): Verify that long_int and time_t
35998 are two's complement (or unsigned, in the latter case).
35999
03cf7fe3
PE
36000 mktime: check signed shifts on long_int and time_t, too
36001 * time/mktime.c (SHR): Check that shifts work as desired
36002 on the types long_int and time_t too, as SHR is used on
36003 such types.
36004
f04dfbc2
PE
36005 mktime: do not assume 'long' is wide enough
36006 * time/mktime.c (verify): Move decl up.
36007 (long_int): New type.
36008 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36009 to remove assumption in the code that 'long' is wide enough to
36010 store year values. This assumption is not true on x32 and on
36011 some non-glibc platforms.
36012
62bdf9a6
PE
36013 mktime: merge wrapv change from gnulib
36014 * time/mktime.c (WRAPV): New macro.
36015 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36016 (guess_time_tm, __mktime_internal): Do not assume that signed
36017 integer overflow wraps around; modern compilers generate code
36018 where this assumption is no longer valid.
36019
5e292e4f
L
360202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36021
36022 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36023 Replace "jmp L(pseudo_end)" with "ret".
36024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36025 Likewise.
36026
8caf8c87
AJ
360272012-05-23 Andreas Jaeger <aj@suse.de>
36028
36029 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36030 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36031
1a09dc56
AJ
360322012-05-23 Andreas Jaeger <aj@suse.de>
36033 Maximilian Attems <max@stro.at>
36034
36035 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36036 New macros.
36037
1c87aba0
L
360382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36039
36040 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36041 code so that pseudo_end is just ret and the stack pointer is
36042 correct also for static library in error case.
36043
40e45bd5
JM
360442012-05-23 Joseph Myers <joseph@codesourcery.com>
36045
c2670533
JM
36046 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36047 move to syscalls.list.
36048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36052
40e45bd5
JM
36053 * manual/install.texi (Running make install): Do not mention Linux
36054 kernel version for which pt_chown is not needed.
36055 (Linux): Do not mention problems with nscd with 2.0 kernels.
36056 * INSTALL: Regenerated.
36057
be08eda5
AJ
360582012-05-23 Andreas Jaeger <aj@suse.de>
36059
36060 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36061 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36062 macro.
36063 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36064 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36065 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36066 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36067 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36068 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36069 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36070 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36071 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36072 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36073 * sysdeps/unix/sysv/linux/bits/in.h
36074 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36075
a6a056bb
RM
360762012-05-22 Roland McGrath <roland@hack.frob.com>
36077
36078 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36079 (PREPARE_VERSION): Just use assert instead, it will be elided
36080 under [NDEBUG] anyway.
36081
c9009328
L
360822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36083
36084 * sysdeps/unix/sysv/linux/Makefile: Include
36085 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36086 (sysdep_routines): Remove sysctl.
c9009328
L
36087 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36088 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36089 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36090 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36091 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36092
73338355
AJ
360932012-05-22 Andreas Jaeger <aj@suse.de>
36094
36095 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36096 that pseudo_end is just ret and the stack pointer is correct also
36097 for static library in error case.
36098
d44638b0
PP
360992012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36100
36101 [BZ #14122]
36102 * nss/nsswitch.c (defconfig_entries): New variable.
36103 (__nss_database_lookup): Don't leak defconfig entries.
36104 (nss_parse_service_list): Don't leak on error paths.
36105 (free_database_entries): New function.
36106 (free_defconfig): New function.
36107 (free_mem): Move common code to free_database_entries.
36108
31a39bd8
L
361092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36110
da0331a8
L
36111 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36112 Add arch_prctl.
36113 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36114
31a39bd8
L
36115 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36116 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36118 New macro.
36119 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36120 (INTERNAL_SYSCALL_TYPES): Likewise.
36121 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36122 (LOAD_REGS_TYPES_[1-6]): Likewise.
36123 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36124 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36125
45470df3
AZ
361262012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36127
36128 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36129 copysignl for GLIBC_2_0.
36130 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36131 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36132 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36133 logbl for GLIBC_2_0.
36134 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36135 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36136
98a61bcb
L
361372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36138
a4f6e481
L
36139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36140 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36141
f63d5db6
L
36142 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36143 Use "neg %eax".
36144
98a61bcb
L
36145 * time/mktime.c: Update copyright years.
36146
95770f14
PE
361472012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36148
6226efbd
PE
36149 mktime: merge comment-quoting-style change from gnulib
36150 * time/mktime.c: Quote 'like this' in comments.
36151 The GNU coding standards suggest that we no longer quote `like this',
36152 as "`" and "'" are typically rendered asymmetrically nowadays.
36153 The typical gnulib style is to quote 'like this' when quoting
36154 code, and "like this" when quoting English.
36155
b99e4f78
PE
36156 * time/mktime.c (compile-command): Add "-I.".
36157
643e01e6
PE
36158 mktime: merge mktime-internal.h change from gnulib
36159 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36160
2554247d
PE
36161 mktime: merge time_r change from gnulib
36162 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36163
826dd0ab
PE
36164 mktime: merge DEBUG change from gnulib
36165 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36166 case system <time.h> has a #define.
36167
bd83aabe
PE
36168 mktime: merge <sys/types.h> change from gnulib
36169 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36170 since <time.t> is now guaranteed to define time_t.
36171
95770f14
PE
36172 mktime: merge HAVE_CONFIG_H change from gnulib
36173 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36174
5e1a27a9
L
361752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36176
0e44a77e
L
36177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36178 Use "neg %eax".
36179
5e1a27a9
L
36180 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36181 __rlim_t cast.
36182 (struct rusage): Use anonymous union to pad each field to
36183 __syscall_slong_t.
36184
46259bec
DM
361852012-05-21 David S. Miller <davem@davemloft.net>
36186
36187 * Makefules (o-iterator): Remove .s cases.
36188 (compile-command.s): Delete.
36189 (COMPILE.s): Delete.
36190 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36191
59f0c22e
JM
361922012-05-21 Joseph Myers <joseph@codesourcery.com>
36193
36194 * configure.in (libc_cv_predef_stack_protector): Only consider
36195 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36196 * configure: Regenerated.
36197
20c07380
L
361982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36199
bbb3154b
L
36200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36201 New macro. Use R*LP on int and pointer.
36202 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
36203 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36204 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
36205 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36206
20c07380
L
36207 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36208 [__WORDSIZE_TIME64_COMPAT32] instead of
36209 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36210 (struct utmp): Likewise.
36211 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36212 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36213 Renamed to ...
36214 (__WORDSIZE_TIME64_COMPAT32): This.
36215 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36216 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36217 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36218 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36219 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36220 (__WORDSIZE_TIME64_COMPAT32): New macro.
36221
d8d1017e
AJ
362222012-05-21 Andreas Jaeger <aj@suse.de>
36223
36224 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36225 only if [SHARED]. Add prototype for __wcschr_ia32.
36226
6c7fb145
RM
362272012-05-21 Roland McGrath <roland@hack.frob.com>
36228
36229 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36230 of %rbp unmolested in the jmp_buf while mangling the low bits.
36231 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36232 unmolested high bits of %rbp while demangling the low bits.
36233 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36234
66274218
AJ
362352012-05-21 Andreas Jaeger <aj@suse.de>
36236
07c58f8f
AJ
36237 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36238 * sunrpc/svc_simple.c: Use it for registerrpc.
36239 * sunrpc/xcrypt.c: Use it for passwd2des.
36240
66274218
AJ
36241 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36242
61f65140
L
362432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36244
36245 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36246 Don't define if [__SYSCALL_WORDSIZE != 32].
36247 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36248 New macro.
36249
5fefb436
AJ
362502012-05-21 Bruno Haible <bruno@clisp.org>
36251 Andreas Jaeger <aj@suse.de>
36252
36253 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36254 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36255 inptr and inend for must_buffer_ch.
36256 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36257 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36258 * stdio-common/Makefile (tests): Remove bug15.
36259 (bug15-ENV): Remove macro.
36260 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36261 anymore.
36262
d8e272ab
AJ
362632012-05-19 Andreas Jaeger <aj@suse.de>
36264 Roland McGrath <roland@hack.frob.com>
36265
36266 * manual/contrib.texi: Completely rewritten. It contains now an
36267 alphabetical list of contributors and their contributions.
36268
4a56a162
RH
362692012-05-21 Richard Henderson <rth@twiddle.net>
36270
36271 * misc/getauxval.c (__getauxval): Use unsigned long int.
36272 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36273 (getauxval): Use unsigned long int.
36274
d024d23c
L
362752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36276
36277 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36278
cbc00a03
RM
362792012-05-21 Roland McGrath <roland@hack.frob.com>
36280
36281 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36282 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36283 __alignof__ (long double).
36284
478143fa
AZ
362852012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36286
36287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36288
c7683a6d
RH
362892012-05-20 Richard Henderson <rth@twiddle.net>
36290
36291 * misc/getauxval.c: New file.
36292 * misc/sys/auxv.h: New file.
36293 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36294 (routines): Add getauxval.
36295 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36296 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36297 * elf/dl-sysdep.c (_dl_auxv): Remove.
36298 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36299 * elf/dl-support.c (_dl_auxv): New variable.
36300 (_dl_aux_init): Initialize it.
36301 * manual/startup.texi (Auxiliary Vector): New node.
36302 * sysdeps/generic/bits/hwcap.h: New file.
36303 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36304 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36305 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36306 * sysdeps/sparc/sysdep.h: ... here. Include it.
36307 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36308 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
36309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36310 Update.
c7683a6d
RH
36311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36314 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36319
a6f1845d
AZ
363202012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36321
36322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36323
cbcbe830
DM
363242012-05-19 David S. Miller <davem@davemloft.net>
36325
36326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36327
e0b16cc2
JM
363282012-05-19 Joseph Myers <joseph@codesourcery.com>
36329
36330 [BZ #14123]
36331 * math/s_ccosh.c: Include <float.h>
36332 (__ccosh): Avoid internal overflow calculating sinh and cosh
36333 values before multiplying by sin and cos values.
36334 * math/s_ccoshf.c: Likewise.
36335 * math/s_ccoshl.c: Likewise.
36336 * math/s_csin.c: Likewise.
36337 * math/s_csinf.c: Likewise.
36338 * math/s_csinl.c: Likewise.
36339 * math/s_csinh.c: Likewise.
36340 * math/s_csinhf.c: Likewise.
36341 * math/s_csinhl.c: Likewise.
36342 * math/libm-test.inc (ccos_test): Add more tests.
36343 (ccosh_test): Likewise.
36344 (csin_test): Likewise.
36345 (csinh_test): Likewise.
36346 * sysdeps/i386/fpu/libm-test-ulps: Update.
36347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36348
6ad13e08
L
363492012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36350
f66f0ce8
L
36351 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36352 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36353
6ad13e08
L
36354 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36355
b1d072a7
JM
363562012-05-19 Joseph Myers <joseph@codesourcery.com>
36357
36358 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36359 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36360 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36361 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36362 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36363 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36364 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36365 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36366 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36367 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36368 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36369 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36370 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36371 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36372 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36373 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36374 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36375 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36376 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36377 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36378 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36379 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36380 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36381 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36382 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36383 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36384 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36385 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36386 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36387 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36388 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36389
9eae47cb
AJ
363902012-05-18 Andreas Jaeger <aj@suse.de>
36391
36392 * csu/.gitignore: Delete.
36393
bb07f69f
L
363942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36395
36396 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36397 (timex): Use __syscall_slong_t.
36398
e6bdb741
AJ
363992012-05-18 Andreas Jaeger <aj@suse.de>
36400 Carlos O'Donell <carlos_odonell@mentor.com>
36401
36402 * manual/install.texi (Configuring and compiling): Update
36403 description about files modified in the source directory.
d6c33fda 36404 * INSTALL: Regenerated.
e6bdb741 36405
1b74487e
L
364062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36407
36408 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36409 value. Use "or" to set return value to -1.
36410 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36411 negate return value.
36412
a88b64b9
TMQMF
364132012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36414
57f41c40
AS
36415 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36416 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
36417 failure if the compiler has Graphite support disabled.
36418 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36419 Likewise.
57f41c40
AS
36420 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36421 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
36422 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36423 Likewise.
36424
3707636e
L
364252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36426
610b8622
L
36427 * sysdeps/x86_64/x32/_itoa.h: New file.
36428
7cd195df
L
36429 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36430 getdents system call only if kernel and user dirents have the
36431 same d_ino and d_off.
36432
94b07d20
L
36433 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36434 LLONG_MAX != LONG_MAX.
36435 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36436 (_fitoa_word): Likewise.
36437
18298070
L
36438 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36439 years.
36440 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36441 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36442 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36443
553c7ea4
L
36444 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36445 include <bits/wordsize.h>. Check __x86_64__ instead of
36446 __WORDSIZE.
36447 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36448 if __x86_64__ is defined. Use anonymous union on fpstate.
36449
3707636e
L
36450 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36451 anonymous union.
36452
b53ef01a
AS
364532012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36454
37fb1dc0
AS
36455 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36456 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36457 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36458 Refer to _rtld_local_ro instead of _rtld_global_ro.
36459 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36460 Likewise.
36461 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36462 Likewise.
36463 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36464 Likewise.
36465 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36466 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36467 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36468
b53ef01a
AS
36469 * sysdeps/powerpc/powerpc32/dl-machine.c
36470 (__elf_machine_runtime_setup) [PROF]: Don't reference
36471 _dl_prof_resolve.
36472
7a185db2
AJ
364732012-05-18 Andreas Jaeger <aj@suse.de>
36474
36475 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36476 function only available for GCCs before 3.4 since GCC 3.4
36477 introduced a builtin.
36478 (lrint): Likewise.
36479 (llrintf): Likewise.
36480 (llrint): Likewise.
36481 (fmaxf): Likewise.
36482 (fmax): Likewise.
36483 (fminf): Likewise.
36484 (fmin): Likewise.
36485 (rint): Likewise.
36486 (rintf): Likewise.
36487 (nearbyint): Likewise.
36488 (nearbyintf): Likewise.
36489 (ceil): Likewise.
36490 (ceilf): Likewise.
36491 (floor): Likewise.
36492 (floorf): Likewise.
36493
3e5aef87
L
364942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36495
428bd707
L
36496 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36497 on both fields and cast pointer to __syscall_ulong_t.
36498
3e5aef87
L
36499 * bits/types.h (__fsword_t): New type.
36500 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36501 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36503 (__FSWORD_T_TYPE): Likewise.
36504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36505 (__FSWORD_T_TYPE): Likewise.
36506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36507 (__FSWORD_T_TYPE): Likewise.
36508 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36509 (__FSWORD_T_TYPE): Likewise.
36510 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36511 __SWORD_TYPE with __fsword_t.
36512 (statfs64): Likewise.
36513
1ba7c3dc
DM
365142012-05-17 David S. Miller <davem@davemloft.net>
36515
36516 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36517
59910343
AJ
365182012-05-17 Andreas Jaeger <aj@suse.de>
36519
36520 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36521 warning.
36522
2e4c1e9e
L
365232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36524
36525 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36526
de7f5ce7
AJ
365272012-05-17 Andreas Jaeger <aj@suse.de>
36528
36529 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36530 when it is used.
36531
286abc3d
CM
365322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36533
36534 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36535
477cc68e
L
365362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36537
36538 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36539 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36540
1a0994f5
CD
365412012-05-17 Andreas Jaeger <aj@suse.de>
36542 Carlos O'Donell <carlos_odonell@mentor.com>
36543
36544 [BZ #14059]
36545 * sysdeps/x86_64/multiarch/init-arch.h
36546 (bit_YMM_Usable): Rename to...
36547 (bit_AVX_Usable): ... this.
36548 (bit_FMA4_Usable): New macro.
36549 (bit_XMM_state): New macro.
36550 (bit_YMM_state): New macro.
36551 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36552 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36553 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36554 (CPUID_OSXSAVE): New macro.
36555 (CPUID_AVX): New macro.
36556 (CPUID_FMA4): New macro.
36557 (index_YMM_Usable): Rename to...
36558 (index_AVX_Usable): ... this.
36559 (HAS_AVX): Use HAS_ARCH_FEATURE.
36560 (HAS_FMA4): Likewise.
36561 (HAS_YMM_USABLE): Remove.
36562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36563 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36564 are present.
36565 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36566 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36567 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36568 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36569 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36570
0af797de
CM
365712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36572
36573 * math/libm-test.c: Support platforms without multiple rounding modes.
36574 * math/bug-nextafter.c: Support platforms without FP exceptions.
36575 * math/bug-nexttoward.c: Likewise.
36576 * math/test-fenv.c: Likewise.
36577 * math/test-misc.c: Likewise.
36578 * stdlib/bug-getcontext.c: Likewise.
36579
e39745ff
AJ
365802012-05-17 Andreas Jaeger <aj@suse.de>
36581
36582 * manual/examples/search.c (critter_cmp): Change signature to
36583 avoid warnings.
36584 * manual/string.texi (Collation Functions): Likewise.
36585
48970aba
L
365862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36587
36588 * bits/types.h: Fold copyright years.
36589 * bits/typesizes.h: Likewise.
36590 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36592 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36593 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36594 * time/time.h: Likewise.
36595
bedee953
PP
365962012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36597
36598 [BZ #208]
36599 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36600 in instead of returning them. Return void.
36601 (__libc_mallinfo): Accumulate over all arenas.
36602 (__malloc_stats): Adjust for change in int_mallinfo interface.
36603
61653dfb
RM
366042012-05-16 Roland McGrath <roland@hack.frob.com>
36605
30b99d79
RM
36606 [BZ #10375]
36607 * configure.in (NM): Add AC_CHECK_TOOL for it.
36608 (libc_extra_cflags): New substituted variable.
36609 Check for -fstack-protector being used implicitly.
36610 * configure: Regenerated.
36611 * config.make.in (config-extra-cflags): New variable,
36612 gets @libc_extra_cflags@.
36613 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36614
61653dfb
RM
36615 [BZ #10375]
36616 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36617 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36618 * configure: Regenerated.
36619 * config.make.in (CPPUNDEFS): New substituted variable.
36620 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36621 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36622 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36623
661768bb
L
366242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36625
36626 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36627 (mq_attr): Use __syscall_slong_t.
36628
d4261567
L
366292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36630
36631 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36632 Check __x86_64__ instead of __WORDSIZE.
36633 (_STAT_VER_LINUX): Likewise.
36634 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36635 __syscall_ulong_t and __syscall_slong_t.
36636 (stat64): Likewise.
36637
cf3ff365
L
366382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36639
36640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36641
76cf3e4d
L
366422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36643
36644 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36645
a637753a
L
366462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36647
36648 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36649 __syscall_ulong_t.
36650
d5e05119
L
36651 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36652 include <bits/wordsize.h>. Check __x86_64__ instead of
36653 __WORDSIZE.
36654 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36655 defined.
36656 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36657
f62ee380
L
36658 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36659 include <bits/wordsize.h>. Check __x86_64__ instead of
36660 __WORDSIZE.
36661 (user_regs_struct): Use "__extension__ unsigned long long"
36662 instead of "unsigned long" if __x86_64__ is defined.
36663 (user): Likewise. Pad after pointer field if __ILP32__ is
36664 defined.
36665
4e124ced
JM
366662012-05-16 Joseph Myers <joseph@codesourcery.com>
36667
6a3951a0
JM
36668 * configure.in (makeinfo): Require version 4.5 or later. Allow
36669 versions 5 to 9.
36670 * configure: Regenerated.
36671 * manual/install.texi (texinfo): Increase version requirement to
36672 4.5 or later.
36673 * INSTALL: Regenerated.
36674
4e124ced
JM
36675 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36676
953ca31a
L
366772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36678
36679 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36680
617aca05
L
36681 * sysdeps/x86_64/x32/ffs.c: New file.
36682
5762f7ae
L
36683 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36684 __syscall_ulong_t.
36685 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36686 defined. Use __syscall_ulong_t.
36687 (shminfo): Use __syscall_ulong_t.
36688 (shm_info): Likewise.
36689
a26b6856
L
36690 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36691 __syscall_ulong_t.
36692
cb2b9ef7
L
36693 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36694 <bits/wordsize.h>.
36695 (msgqnum_t): Use __syscall_ulong_t.
36696 (msglen_t): Likewise.
36697 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36698 __syscall_ulong_t.
36699
34683bb0
L
36700 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36701 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36702
84a68786
L
36703 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36704
48baa5f1
L
36705 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36706 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36707
180be88b
L
36708 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36709 __syscall_slong_t.
36710
5e90c8ad
L
36711 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36712 include <bits/wordsize.h>. Check __x86_64__ instead of
36713 __WORDSIZE.
36714
23dfb58b
L
36715 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36716 "unsigned long long int" if __x86_64__ is defined.
36717 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36718
ce5d54b0
L
36719 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36720 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36721 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36722
13dc9eac
L
36723 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36724 <stdint.h>.
36725 (GET_PC): Cast to uintptr_t first.
36726 (GET_FRAME): Likewise.
36727 (GET_STACK): Likewise.
36728
a7895d15
L
36729 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36730 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36731 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36732 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36733 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36734 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36735 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36736 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36737 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36738 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36739 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36741 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36743 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36744 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36745 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36746 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36747 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36748 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36749 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36750 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36751 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36752 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36753 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36754 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36755 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36756 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36757 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36758
656416c9
AS
367592012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36760
5bd66283
AS
36761 * Makerules (+depfiles): Also collect depfiles from .oS in
36762 $(extra-objs).
36763 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36764 .oS, $(libnldbl-routines)).
36765
656416c9
AS
36766 * Makerules (native-compile-mkdep-flags): Define.
36767 * sunrpc/Makefile (extra-objs): Add $(addprefix
36768 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36769 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36770 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36771 calling $(make-target-directory).
36772
a46f2169
L
367732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36774
36775 * bits/types.h (__snseconds_t): Removed.
36776 * time/time.h (struct timespec): Replace __snseconds_t with
36777 __syscall_slong_t.
36778 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36779 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36780 Likewise.
36781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36782 (__SNSECONDS_T_TYPE): Likewise.
36783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36784 (__SNSECONDS_T_TYPE): Likewise.
36785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36786 (__SNSECONDS_T_TYPE): Likewise.
36787
6af6528b
L
367882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36789
36790 * sysdeps/mach/hurd/bits/typesizes.h
36791 (__SYSCALL_SLONG_TYPE): New macro.
36792 (__SYSCALL_ULONG_TYPE): Likewise.
36793
de986b56
L
367942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36795
36796 * bits/types.h (__syscall_slong_t): New type.
36797 (__syscall_ulong_t): Likewise.
36798
36799 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36800 (__SYSCALL_ULONG_TYPE): Likewise.
36801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36802 (__SYSCALL_SLONG_TYPE): Likewise.
36803 (__SYSCALL_ULONG_TYPE): Likewise.
36804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36805 (__SYSCALL_SLONG_TYPE): Likewise.
36806 (__SYSCALL_ULONG_TYPE): Likewise.
36807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36808 (__SYSCALL_SLONG_TYPE): Likewise.
36809 (__SYSCALL_ULONG_TYPE): Likewise.
36810
85736dc7
L
368112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36812
36813 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36814 Add sigaltstack-offsets.sym.
36815 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36816 <sigaltstack-offsets.h>.
36817 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36818 longjmp_msg pointer.
36819 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36820 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36821 signal stack.
36822 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36823
cc03b296
JM
368242012-05-15 Joseph Myers <joseph@codesourcery.com>
36825
a9538892
JM
36826 * elf/stackguard-macros.h: Remove file.
36827 * sysdeps/generic/stackguard-macros.h: New file.
36828 * sysdeps/i386/stackguard-macros.h: Likewise.
36829 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36830 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36831 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36832 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36833 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36834 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36835 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36836 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36837 <elf/stackguard-macros.h>.
36838
cc03b296
JM
36839 [BZ #14109]
36840 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36841 __aligned__ in attribute.
36842 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36843 (gregset_t): Likewise.
36844
93171016
L
368452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36846
36847 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36848 * sysdeps/x86_64/64/Implies-after: Here. New file.
36849 * sysdeps/x86_64/x32/Implies-after: New file.
36850
d86813a0
L
368512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36852
36853 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36854 and access return value for _dl_profile_fixup. Use R10_LP to
36855 load frame size.
36856
2953ec75
L
368572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36858
36859 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36860
3b550e9e
L
368612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36862
36863 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36864 * sysdeps/x86_64/x32/sysdep.h: New file.
36865
eda41706
L
368662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36867
36868 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36869 * sysdeps/x86_64/setjmp.S: Likewise.
36870
9ea01d93
AZ
368712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36872
36873 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36874 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36875 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36876 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36877 remove unused global constant.
36878
02a91938
CM
368792012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36880
36881 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36882 include of <not-cancel.h>.
36883
6540185f
RM
368842012-05-15 Roland McGrath <roland@hack.frob.com>
36885
36886 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36887
509072a0
AJ
368882012-05-15 Jeff Law <law@redhat.com>
36889 Andreas Jaeger <aj@suse.de>
36890
36891 [BZ #13594]
36892 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36893 out from...
36894 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36895 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36896 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36897 code changing __hst_map_handle.map.
36898
ba75122d
RM
368992012-05-15 Roland McGrath <roland@hack.frob.com>
36900
36901 * configure.in (sysnames): Look for Implies-before and Implies-after
36902 files.
36903 * configure: Regenerated.
36904
890d8bd8
L
369052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36906
36907 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36908 8-byte data alignment with LP_SIZE alignment.
36909
f6ee6623
L
369102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36911
36912 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36913 into R10_LP.
36914
ea2626f6
L
369152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36916
36917 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36918
085f715e
L
369192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36920
36921 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36922 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36923 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36924 Likewise.
36925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36926
be8498fc
L
369272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36928
36929 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36930 (stackinfo_sub_sp): Likewise.
36931
70bc83b9
L
369322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36933
36934 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36935 RAX_LP.
36936
9bc0b730
L
369372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36938
36939 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36940 into R*_LP.
36941
6d2850e7
L
369422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36943
36944 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36945 sizes into R*_LP.
36946
3cb84561
L
369472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36948
36949 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36950
54e2ed81
L
369512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36952
36953 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36954 into R11_LP and load __x86_64_shared_cache_size_half into
36955 R8_LP.
36956
8a17f349
L
369572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36958
36959 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36960 R8_LP.
36961
777b1eea
AZ
369622012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36963
36964 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36965 logb for POWER7.
36966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36967 logbf for POWER7.
36968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36969 logbl for POWER7.
36970 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36971 powerpc32/power7/fpu/s_logb.c via #include.
36972 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36973 powerpc32/power7/fpu/s_logbf.c via #include.
36974 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36975 powerpc32/power7/fpu/s_logbl.c via #include.
36976
d20d4ac2
JM
369772012-05-15 Joseph Myers <joseph@codesourcery.com>
36978
36979 * README.libm: Remove file.
36980
6cdef1ab
L
369812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36982
36983 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36984 count for x32. Use R*_LP and omit operand-size suffix.
36985
0b254d8f
L
369862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36987
36988 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36989 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36990 * sysdeps/x86_64/x32/shlib-versions: New file.
36991
ceb809dc
RM
369922012-05-14 Roland McGrath <roland@hack.frob.com>
36993
36994 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36995 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36996 Use _dl_fatal_printf instead.
36997
37f1abd4
JM
369982012-05-14 Joseph Myers <joseph@codesourcery.com>
36999
37000 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37001 set if not set by the user. Do not allow for being unset.
37002 * sysdeps/unix/sysv/linux/configure: Regenerated.
37003
11de3a33
L
370042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37005
37006 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37007 the `q' suffix from lea and replace .quad with ASM_ADDR.
37008
e02f153a
L
370092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37010
37011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37012 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37013 instead of $17.
37014 (PTR_DEMANGLE): Likewise.
37015
520ae0fd
L
370162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37017
37018 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37019 (LP_OP): Likewise.
37020 (ASM_ADDR): Likewise.
37021 (RAX_LP): Likewise.
37022 (RBP_LP): Likewise.
37023 (RBX_LP): Likewise.
37024 (RCX_LP): Likewise.
37025 (RDI_LP): Likewise.
37026 (RSI_LP): Likewise.
37027 (RSP_LP): Likewise.
37028 (R8_LP): Likewise.
37029 (R9_LP): Likewise.
37030 (R10_LP): Likewise.
37031 (R10_LP): Likewise.
37032 (R11_LP): Likewise.
37033 (R12_LP): Likewise.
37034 (R13_LP): Likewise.
37035 (R14_LP): Likewise.
37036 (R15_LP): Likewise.
37037
b985be81
L
370382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37039
37040 * sysdeps/x86_64/x32/dl-machine.h: New file.
37041
6a4888ff
AJ
370422012-05-14 Andreas Jaeger <aj@suse.de>
37043
37044 * manual/Makefile (subdir): Remove export of subdir.
37045 (all): Remove target.
37046 (.PHONY): Remove all from list.
37047 (mkinstalldirs): Remove.
37048 (.PHONY): Remove installdirs from list.
37049 ($(inst_infodir)/libc.info): Use make-target-directory.
37050 (installdirs): Remove.
37051 (subdir_%): Remove.
37052 (glibc-targets): Remove.
37053 (lib): Remove.
37054 (stubs): Remove.
37055 ($(objpfx)stubs ../po/manual.pot): Remove.
37056 ($(objpfx)stamp%): Remove.
37057 (make-target-directory): Remove.
37058 (subdir_install): Remove.
37059 (routines): Remove.
37060 (aux): Remove.
37061 (sources): Remove.
37062 (objects): Remove.
37063 (headers): Remove.
37064
37065 [BZ #13750]
37066 * manual/.gitignore: Remove, it's not needed anymore.
37067 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37068 all files in it.
37069 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37070 directory.
37071 (texis): Renamed to $(objpfx)texis.
37072 (texis-path): New, contains path to generated files.
37073 (chapters.%): Use texis-path for complete path, add extra argument
37074 libc-texinfo.sh.
37075 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37076 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37077 (summary,texi, stamp-summary): Use complete path of
37078 files. Generate files in build dir.
37079 (dir-add.texi): Build in build dir.
37080 (libm-err.texi,stamp-libm-err): Likewise.
37081 (version.texi, stamp-version): Likewise.
37082 (.%c.texi): Likewise.
37083 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37084 (mostlyclean): Remove target.
37085 (realclean): Remove target.
37086 (generated): Add new variable with contents from mostlyclean and
37087 realclean, remove entries duplicated in common-mostlyclean, add
37088 stamp-libm-err and stamp-version.
37089 (generated-dirs): Add libc directory.
37090 ($(inst_infodir)/libc.info): Install files from build dir.
37091
37092 * manual/install.texi (Configuring and compiling): Adjust since
37093 the info files are not part of the tar ball anymore.
37094
7ac77294
AJ
370952012-05-14 Andreas Jaeger <aj@suse.de>
37096
37097 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37098 variable.
37099
ffb7875d
JM
371002012-05-14 Joseph Myers <joseph@codesourcery.com>
37101
37102 [BZ #13717]
37103 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37104 to 2.2.0 where earlier.
37105 * sysdeps/unix/sysv/linux/configure: Regenerated.
37106 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37107 Remove conditional code.
37108 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37109 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37110 Remove conditional code.
37111 [!__NR_lchown]: Likewise.
37112 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37113 [__NR_lchown]: Likewise.
37114 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37115 comment referencing __ASSUME_LCHOWN_SYSCALL.
37116 * sysdeps/unix/sysv/linux/i386/sigaction.c
37117 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37118 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37119 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37120 Remove conditional code.
37121 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37122 (__protocol_available): Remove #if 0 code.
37123 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37124 conditional code.
37125 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37126 * sysdeps/unix/sysv/linux/kernel-features.h
37127 (__ASSUME_GETCWD_SYSCALL): Don't define.
37128 (__ASSUME_REALTIME_SIGNALS): Likewise.
37129 (__ASSUME_PREAD_SYSCALL): Likewise.
37130 (__ASSUME_PWRITE_SYSCALL): Likewise.
37131 (__ASSUME_POLL_SYSCALL): Likewise.
37132 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37133 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37134 non-SPARC.
37135 (__ASSUME_SIOCGIFNAME): Don't define.
37136 (__ASSUME_MSG_NOSIGNAL): Likewise.
37137 (__ASSUME_SENDFILE): Define unconditionally.
37138 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37139 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37140 conditional code.
37141 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37142 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37143 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37144 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37145 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37146 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37147 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37152 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37158 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37161 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37164 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37167 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37170 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37172 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37173 Remove conditional code.
37174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37175 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37176 Remove conditional code.
37177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37178 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37179 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37180 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37181 Remove conditional code.
37182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37183 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37184 Remove conditional code.
37185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37186 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37187 Remove conditional code.
37188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37189 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37190 Remove conditional code.
37191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37192 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37193 Remove conditional code.
37194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37195 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37198 * sysdeps/unix/sysv/linux/sigaction.c
37199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37201 * sysdeps/unix/sysv/linux/sigpending.c
37202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37204 * sysdeps/unix/sysv/linux/sigprocmask.c
37205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37207 * sysdeps/unix/sysv/linux/sigsuspend.c
37208 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37209 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37210 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37211 (__libc_missing_rt_sigs): Remove.
37212 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37213 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37214 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37215 Remove conditional code.
37216 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37217 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37218 return 1.
37219 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37220 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37221 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37222 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37223
1bfb7291
AJ
372242012-05-14 Andreas Jaeger <aj@suse.de>
37225
caae5a81
AJ
37226 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37227 it's not used in glibc.
37228 (__coshm1): Likewise.
37229 (__acosh1p): Likewise.
37230 (__sgn): Likewise.
37231
1bfb7291
AJ
37232 * manual/string.texi (Copying and Concatenation): Add missing
37233 variable in concat example.
37234 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37235
c044d724
L
372362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37237
144c5467 37238 [BZ #14103]
c044d724
L
37239 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37240 __builtin_clzl with __builtin_clzll.
37241
2523c62b
L
372422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37243
37244 [BZ #14104]
37245 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37246 libc_freeres_ptr.
37247
d7bb4c42
LD
372482012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37249
37250 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37251 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37252 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37253 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37254
9dc4e1fb
MF
372552012-05-14 Mike Frysinger <vapier@gentoo.org>
37256
37257 * NEWS: Update ia64 info.
37258
c7df0112
AS
372592012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37260
37261 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37262 used as bcopy.
37263
dc70356c
TS
372642012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37265
37266 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37267 * sysdeps/unix/syscalls.list (dup3): Likewise.
37268 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37269 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37270
9fb1a21f
L
372712012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37272
37273 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37274 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37275
4822a2a5
L
372762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37277
37278 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37279 thread pointer.
37280 (TLS_IE): Use mov/add instead of movq/addq to load thread
37281 pointer.
37282 (TLS_GD_PREFIX): New.
37283 (TLS_GD): Use it.
37284
842b81d6
DM
372852012-05-11 David S. Miller <davem@davemloft.net>
37286
37287 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37288 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37289 (_FPU_SETCW): Likewise.
37290
1cf463cd
L
372912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37292
37293 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37294 is 32-byte aligned.
37295
60cc4a18
AS
372962012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37297
37298 [BZ #11837]
37299 * iconvdata/gb18030.c: Update tables.
37300 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37301 characters specially.
37302 (BODY for TO_LOOP): Add encoding of missing ranges.
37303
febb44a4
TS
373042012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37305
37306 [BZ #13673]
37307 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37308 * sysdeps/mach/hurd/dup3.c: Likewise.
37309 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37310 * sysdeps/powerpc/memmove.c:: Likewise.
37311
0a10fb9e
L
373122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37313
37314 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37315 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37316
df8a552f
L
373172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37318
37319 * elf/elf.h (R_X86_64_RELATIVE64): New.
37320 (R_X86_64_NUM): Updated.
37321 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37322 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37323 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37324 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37325 tst-quad1pie tst-quad2pie
37326 (modules-names): Add tst-quadmod1 tst-quadmod2.
37327 ($(objpfx)tst-quad1): New dependency.
37328 ($(objpfx)tst-quad2): Likewise.
37329 ($(objpfx)tst-quad1pie): Likewise.
37330 ($(objpfx)tst-quad2pie): Likewise.
37331 * sysdeps/x86_64/tst-quad1.c: New file.
37332 * sysdeps/x86_64/tst-quad1pie.c: New file.
37333 * sysdeps/x86_64/tst-quad2.c: Likewise.
37334 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37335 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37336 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37337 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37338 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37339
f34d6f84
ST
373402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37341
f42d41d1
ST
37342 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37343 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37344 * streams/stropts.h (t_scalar_t): Define type.
37345
3c3571fc
ST
37346 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37347 (_PATH_PRESERVE): Set to "/var/lib".
37348 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37349
61f06bd3
ST
37350 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37351 instead of int.
37352
918d4d71
ST
37353 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37354 if __dir_mkfile succeeded.
37355
f34d6f84
ST
37356 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37357 checking for _hurd_dtablesize. Unlock it right after having
37358 finished _hurd_dtable allocation.
37359
10589b4a
TS
373602012-05-10 Thomas Schwinge <thomas@schwinge.name>
37361
674cdbc7
TS
37362 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37363 * sysdeps/mach/hurd/configure: Regenerated.
37364 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37365 special-casing to...
37366 * sysdeps/gnu/configure.in: ... this new file.
37367 * sysdeps/unix/sysv/linux/configure: Regenerated.
37368 * sysdeps/gnu/configure: New generated file.
37369
8e41b99f
TS
37370 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37371 for Linux: use nsec instead of usec, as well as:
37372 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37373 members of type struct timespec.
37374 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37375 New macros.
37376 (struct stat64): Likewise.
37377 (_STATBUF_ST_NSEC): New macro.
37378 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37379
10589b4a
TS
37380 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37381 __strtoul_internal rather than strtoul.
37382
63643c85
PT
373832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37384
37385 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37386 and reject them.
37387
3faebe6a
ST
373882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37389
37390 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37391 which preserves existing values.
37392 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37393
c6474b07
PT
373942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37395
37396 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37397 TIMEOUT values. Return EINVAL for NFDS values either negative or
37398 greater than FD_SETSIZE.
37399
1043890b
ST
374002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37401
37402 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37403 allocated, call __vm_protect to finish enabling the existing space, and
37404 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37405 allocate the remainder.
37406
37ed8b9b
PT
374072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37408
37409 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37410 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37411
db653660
ST
374122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37413
37ed8b9b
PT
37414 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37415 sysdeps/mach/hurd/readlink.c.
b29d4053 37416
db653660
ST
37417 * posix/tst-sysconf.c (posix_options): Only use
37418 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37419 _POSIX_SYNCHRONIZED_IO when they are defined
37420 * sysdeps/mach/hurd/bits/posix_opt.h:
37421 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37422 (_XOPEN_REALTIME): Undefine macro.
37423 (_XOPEN_REALTIME_THREADS): Undefine macro.
37424 (_XOPEN_SHM): Undefine macro.
37425 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37426 macro to -1.
37427 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37428 macro to -1.
37429 (_POSIX_ASYNC_IO): Undefine macro.
37430 (_POSIX_PRIORITIZED_IO): Undefine macro.
37431 (_POSIX_SPIN_LOCKS): Define macro to -1.
37432
ee16e894
ST
37433 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37434 SA_NODEFER, SA_RESETHAND.
37435 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37436 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37437 F_DUPFD_CLOEXEC.
37438
6103ae3b
TS
374392012-05-10 Thomas Schwinge <thomas@schwinge.name>
37440
37441 * elf/Makefile (pldd-modules): Define unconditionally.
37442
80b4e5f3
TS
374432012-05-10 Thomas Schwinge <thomas@schwinge.name>
37444
37445 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37446
edadcbd6
ST
374472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37448
37449 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37450 Return ENOENT when name is empty.
37451 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37452
80694780
TS
374532012-05-10 Thomas Schwinge <thomas@schwinge.name>
37454
1792c087
TS
37455 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37456
80694780
TS
37457 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37458
6b645f0d
ST
374592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37460
80694780
TS
37461 Fix mlock in all cases except non-readable pages.
37462 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37463 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 37464
6b645f0d
ST
37465 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37466 (__mkdir): When path is `/', just fail with EEXIST.
37467 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37468
e468f8a3
TS
374692012-05-10 Thomas Schwinge <thomas@schwinge.name>
37470
37471 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37472 <sys/uio.h> (for writev).
37473 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37474 and <sys/param.h> (for MIN).
37475
a4186cff
PT
374762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37477
37478 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37479 REQUESTED_TIME. Properly set the remaining time and return EINTR
37480 if interrupted.
37481
510bbf14
TS
374822012-05-10 Thomas Schwinge <thomas@schwinge.name>
37483
37484 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37485 Depend on against $(link-rpcuserlibs).
37486
5d5722e8
ST
374872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37488
a4186cff
PT
37489 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37490 (__libc_stack_end): Do not use attribute_relro.
37491 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37492 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 37493 to libthread-provided value.
a4186cff
PT
37494 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37495 attribute_relro.
5d5722e8 37496
37233df9
TS
374972012-05-10 Thomas Schwinge <thomas@schwinge.name>
37498
be971a2b
TS
37499 [BZ #3748]
37500 * bits/libc-lock.h (__libc_once_get): New macro.
37501 * sysdeps/mach/bits/libc-lock.h: Likewise.
37502 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37503 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37504 instead of using implementation details.
37505
37233df9
TS
37506 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37507 * libio/freopen.c: Likewise.
37508 * libio/freopen64.c: Likewise.
37509 * misc/syslog.c: Likewise.
37510 * nscd/connections.c: Likewise.
37511 * nscd/netgroupcache.c: Likewise.
37512 * sysdeps/posix/getcwd.c: Likewise.
37513
38de94a5
RM
375142012-05-10 Roland McGrath <roland@hack.frob.com>
37515
37516 * math/w_ilogbf.c: Add #include <limits.h>.
37517
67530489
ST
375182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37519
a4186cff 37520 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
37521 path instead of returning without unlocking.
37522
67530489
ST
37523 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37524 immediate-write ioctls.
37525 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37526
5aa3a74a
TS
375272012-05-10 Thomas Schwinge <thomas@schwinge.name>
37528
18bad2ae
TS
37529 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37530 __builtin_frame_address instead of making assumptions about the
37531 location of the return address relative to DATA. Force early load of
37532 the return address.
37533 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37534 __builtin_frame_address.
37535
5aa3a74a
TS
37536 dup3 for GNU Hurd.
37537 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37538 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37539 implement dup3 and do some further code clean-ups.
37540 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37541 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37542
ecd0de9a
ST
375432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37544
cd9fa985
ST
37545 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37546
a4186cff
PT
37547 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37548 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37549 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37550 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37551 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37552 d->port.lock.
802ca5a5 37553
a4186cff
PT
37554 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37555 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37556 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 37557
bcf55240
TS
375582012-05-10 Thomas Schwinge <thomas@schwinge.name>
37559
6960eb42
TS
37560 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37561 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37562 definitions.
37563
eb43375f
TS
37564 accept4 for GNU Hurd.
37565 * include/sys/socket.h (__libc_accept4): New prototype.
37566 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37567 to implement __libc_accept4.
37568 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37569 __libc_accept4.
37570 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37571
bcf55240
TS
37572 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37573 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37574 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37575 signal-defines.sym.
37576
6178c55b
ST
375772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37578
a4186cff 37579 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 37580
6f080c2f
TS
375812012-05-10 Thomas Schwinge <thomas@schwinge.name>
37582
37583 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37584 assertion on O_CLOEXEC flag.
37585 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37586 * hurd/intern-fd.c: Likewise.
37587 * hurd/port2fd.c: Likewise.
37588
bcfe3a54
ST
375892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37590
37591 [BZ #3906]
37592 * bits/in.h (IPV6_PKTINFO): Define new macro.
37593 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37594
89c9aa49
AZ
375952012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37596
37597 [BZ #13954]
37598 [BZ #13955]
37599 [BZ #13956]
37600 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37601 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37602 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37603 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37605 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37606 * math/libm-test.inc (logb_test) : Additional logb tests.
37607
021db4be
AJ
376082012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37609 Andreas Jaeger <aj@suse.de>
37610
37611 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37612 * configure: Regenerated.
37613 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37614 * config.make.in (link-obsolete-rpc): New substituted variable.
37615 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37616 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37617 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37618 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37619 so that libc.a contains the symbols.
37620 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37621 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37622 * sunrpc/auth_none.c: Likewise.
37623 * sunrpc/auth_unix.c: Likewise.
37624 * sunrpc/authdes_prot.c: Likewise.
37625 * sunrpc/authuxprot.c: Likewise.
37626 * sunrpc/clnt_gen.c: Likewise.
37627 * sunrpc/clnt_perr.c: Likewise.
37628 * sunrpc/clnt_raw.c: Likewise.
37629 * sunrpc/clnt_simp.c: Likewise.
37630 * sunrpc/clnt_tcp.c: Likewise.
37631 * sunrpc/clnt_udp.c: Likewise.
37632 * sunrpc/clnt_unix.c: Likewise.
37633 * sunrpc/des_crypt.c: Likewise.
37634 * sunrpc/des_soft.c: Likewise.
37635 * sunrpc/get_myaddr.c: Likewise.
37636 * sunrpc/key_call.c: Likewise.
37637 * sunrpc/key_prot.c: Likewise.
37638 * sunrpc/netname.c: Likewise.
37639 * sunrpc/pm_getmaps.c: Likewise.
37640 * sunrpc/pm_getport.c: Likewise.
37641 * sunrpc/pmap_clnt.c: Likewise.
37642 * sunrpc/pmap_prot.c: Likewise.
37643 * sunrpc/pmap_prot2.c: Likewise.
37644 * sunrpc/pmap_rmt.c: Likewise.
37645 * sunrpc/publickey.c: Likewise.
37646 * sunrpc/rpc_cmsg.c: Likewise.
37647 * sunrpc/rpc_common.c: Likewise.
37648 * sunrpc/rpc_dtable.c: Likewise.
37649 * sunrpc/rpc_prot.c: Likewise.
37650 * sunrpc/rpc_thread.c: Likewise.
37651 * sunrpc/rtime.c: Likewise.
37652 * sunrpc/svc.c: Likewise.
37653 * sunrpc/svc_auth.c: Likewise.
37654 * sunrpc/svc_raw.c: Likewise.
37655 * sunrpc/svc_run.c: Likewise.
37656 * sunrpc/svc_tcp.c: Likewise.
37657 * sunrpc/svc_udp.c: Likewise.
37658 * sunrpc/svc_unix.c: Likewise.
37659 * sunrpc/svcauth_des.c: Likewise.
37660 * sunrpc/xcrypt.c: Likewise.
37661 * sunrpc/xdr.c: Likewise.
37662 * sunrpc/xdr_array.c: Likewise.
37663 * sunrpc/xdr_float.c: Likewise.
37664 * sunrpc/xdr_intXX_t.c: Likewise.
37665 * sunrpc/xdr_mem.c: Likewise.
37666 * sunrpc/xdr_rec.c: Likewise.
37667 * sunrpc/xdr_ref.c: Likewise.
37668 * sunrpc/xdr_sizeof.c: Likewise.
37669 * sunrpc/xdr_stdio.c: Likewise.
37670
b5c086a2
RM
376712012-05-10 Roland McGrath <roland@hack.frob.com>
37672
37673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37674 change. Update copyright years.
37675
6d74dd09
JM
376762012-05-10 Joseph Myers <joseph@codesourcery.com>
37677
37678 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37679
28e72501
MK
376802012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37681 Joseph Myers <joseph@codesourcery.com>
37682 Paul Pluzhnikov <ppluzhnikov@google.com>
37683
37684 [BZ #14012]
37685 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37686 requiring rpcgen.
37687 [cross-compiling] (extra-libs): Likewise.
37688 [cross-compiling] (extra-libs-others): Likewise.
37689 [cross-compiling] (librpcsvc-routines): Likewise.
37690 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37691 [cross-compiling] (omit-deps): Likewise.
37692 (sunrpc-CPPFLAGS): New variable.
37693 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37694 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37695 (cross-rpcgen-objs): New variable.
37696 (extra-objs): Append $(cross-rpcgen-objs).
37697 ($(cross-rpcgen-objs)): New rule.
37698 ($(objpfx)cross-rpcgen): Likewise.
37699 (rpcgen-cmd): Define to use $(built-program-file). Expand
37700 comment.
37701 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37702 ($(objpfx)x%.stmp): Likewise.
37703 * sunrpc/proto.h [IS_IN_build] (_): Define.
37704 [IS_IN_build] (_libc_intl_domainname): Likewise.
37705
c8c59454
L
377062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37707
37708 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37709 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37710 and R_X86_64_TPOFF64.
37711
6f27cd16
JM
377122012-05-10 Joseph Myers <joseph@codesourcery.com>
37713
37714 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37715 sysdeps/unix/sysv/syscalls.list.
37716 (stime): Likewise.
37717 (utime): Likewise.
37718 * sysdeps/unix/sysv/syscalls.list: Remove file.
37719
02467e1c
PE
377202012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37721
37722 [BZ #3440]
37723 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37724 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37725 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37726 (__LC_IDENTIFICATION): Make these macros useful in #if
37727 expressions, as required by C99.
37728
da392631
AS
377292012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37730
37731 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37732 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37733 after this.
37734
8115f29b
L
377352012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37736
37737 * stdlib/longlong.h: Updated from GCC.
37738
bdd74070
AJ
377392012-05-09 Andreas Jaeger <aj@suse.de>
37740
edfe0dbe
AJ
37741 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37742 default is first entry.
37743 (run_mode): Set type.
37744 (main): Remove informal message about syslog.
37745 (options): Fix typo.
37746
bcfe3a54
ST
37747 [BZ #14053]
37748 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 37749 to asm.
bcfe3a54
ST
37750 (lrint): Likewise.
37751 (llrintf): Likewise.
37752 (llrint): Likewise.
37753 (rint): Likewise.
37754 (rintf): Likewise.
37755 (nearbyint): Likewise.
37756 (nearbyintf): Likewise.
bdd74070 37757
91d8d69e
AJ
377582012-05-09 Andreas Jaeger <aj@suse.de>
37759 Pedro Alves <palves@redhat.com>
37760
37761 * nscd/nscd.c (run_mode): Use enum.
37762 (main): Cleanup coding style issue.
37763
bb90b80b
AJ
377642012-05-09 Alexandre Oliva <aoliva@redhat.com>
37765 Andreas Jaeger <aj@suse.de>
37766
bcfe3a54
ST
37767 * nscd/nscd.c (go_background): Replaced with...
37768 (run_mode): ... this.
bb90b80b 37769 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
37770 (options): Add -F --foreground.
37771 (main): Implement it.
37772 (parse_opt): Parse it.
bb90b80b 37773
1a4b75a1
AJ
377742012-05-09 Andreas Jaeger <aj@suse.de>
37775
37776 [BZ #14083]
37777 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37778 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37779 -Wconversion warning.
37780 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37781 Likewise.
37782
b1cc2472
JM
377832012-05-09 Joseph Myers <joseph@codesourcery.com>
37784
37785 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37786 == 0.
37787 (LC_ALL): Use macro-int-constant.
37788 (LC_COLLATE): Likewise.
37789 (LC_CTYPE): Likewise.
37790 (LC_MESSAGES): Likewise.
37791 (LC_MONETARY): Likewise.
37792 (LC_NUMERIC): Likewise.
37793 (LC_TIME): Likewise.
37794 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37795 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37797 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37798 Specify type.
37799 [C99-based standards] (float_t): Expect type.
37800 [C99-based standards] (double_t): Expect type.
37801 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37802 type.
37803 [C99-based standards] (HUGE_VALL): Likewise.
37804 [C99-based standards] (INFINITY): Likewise.
37805 [C99-based standards] (NAN): Likewise.
37806 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37807 [C99-based standards] (FP_NAN): Likewise.
37808 [C99-based standards] (FP_NORMAL): Likewise.
37809 [C99-based standards] (FP_SUBNORMAL): Likewise.
37810 [C99-based standards] (FP_ZERO): Likewise.
37811 [C99-based standards] (FP_FAST_FMA): Use
37812 optional-macro-int-constant. Specify type. Require == 1.
37813 [C99-based standards] (FP_FAST_FMAF): Likewise.
37814 [C99-based standards] (FP_FAST_FMAL): Likewise.
37815 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37816 [C99-based standards] (FP_ILOGBNAN): Likewise.
37817 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37818 Specify type.
37819 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37820 [C99-based standards] (math_errhandling): Specify type.
37821 [ISO99 || ISO11] (signgam): Do not allow.
37822 [non-C99-based standards] (copysignf): Do not allow.
37823 [non-C99-based standards] (exp2f): Likewise.
37824 [non-C99-based standards] (log2f): Likewise.
37825 [non-C99-based standards] (modff): Allow.
37826 [non-C99-based standards] (erff): Do not allow.
37827 [non-C99-based standards] (erfcf): Likewise.
37828 [non-C99-based standards] (gammaf): Likewise.
37829 [non-C99-based standards] (hypotf): Likewise.
37830 [non-C99-based standards] (j0f): Likewise.
37831 [non-C99-based standards] (j1f): Likewise.
37832 [non-C99-based standards] (jnf): Likewise.
37833 [non-C99-based standards] (lgammaf): Likewise.
37834 [non-C99-based standards] (tgammaf): Likewise.
37835 [non-C99-based standards] (y0f): Likewise.
37836 [non-C99-based standards] (y1f): Likewise.
37837 [non-C99-based standards] (ynf): Likewise.
37838 [non-C99-based standards] (isnanf): Likewise.
37839 [non-C99-based standards] (acoshf): Likewise.
37840 [non-C99-based standards] (asinhf): Likewise.
37841 [non-C99-based standards] (atanhf): Likewise.
37842 [non-C99-based standards] (cbrtf): Likewise.
37843 [non-C99-based standards] (expm1f): Likewise.
37844 [non-C99-based standards] (ilogbf): Likewise.
37845 [non-C99-based standards] (log1pf): Likewise.
37846 [non-C99-based standards] (logbf): Likewise.
37847 [non-C99-based standards] (nextafterf): Likewise.
37848 [non-C99-based standards] (remainderf): Likewise.
37849 [non-C99-based standards] (rintf): Likewise.
37850 [non-C99-based standards] (scalbf): Likewise.
37851 [non-C99-based standards] (copysignl): Likewise.
37852 [non-C99-based standards] (exp2l): Likewise.
37853 [non-C99-based standards] (log2l): Likewise.
37854 [non-C99-based standards] (modfl): Allow.
37855 [non-C99-based standards] (erfl): Do not allow.
37856 [non-C99-based standards] (erfcl): Likewise.
37857 [non-C99-based standards] (gammal): Likewise.
37858 [non-C99-based standards] (hypotl): Likewise.
37859 [non-C99-based standards] (j0l): Likewise.
37860 [non-C99-based standards] (j1l): Likewise.
37861 [non-C99-based standards] (jnl): Likewise.
37862 [non-C99-based standards] (lgammal): Likewise.
37863 [non-C99-based standards] (tgammal): Likewise.
37864 [non-C99-based standards] (y0l): Likewise.
37865 [non-C99-based standards] (y1l): Likewise.
37866 [non-C99-based standards] (ynl): Likewise.
37867 [non-C99-based standards] (isnanl): Likewise.
37868 [non-C99-based standards] (acoshl): Likewise.
37869 [non-C99-based standards] (asinhl): Likewise.
37870 [non-C99-based standards] (atanhl): Likewise.
37871 [non-C99-based standards] (cbrtl): Likewise.
37872 [non-C99-based standards] (expm1l): Likewise.
37873 [non-C99-based standards] (ilogbl): Likewise.
37874 [non-C99-based standards] (log1pl): Likewise.
37875 [non-C99-based standards] (logbl): Likewise.
37876 [non-C99-based standards] (nextafterl): Likewise.
37877 [non-C99-based standards] (remainderl): Likewise.
37878 [non-C99-based standards] (rintl): Likewise.
37879 [non-C99-based standards] (scalbl): Likewise.
37880 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37881 [non-C99-based standards] (FP_*): Do not allow.
37882 [C99-based standards] (FP_*): Change to
37883 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37884 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37885 allow.
37886 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37887 (SIG_ERR): Likewise.
37888 [X/Open-based standards] (SIG_HOLD): Likewise.
37889 (SIG_IGN): Likewise.
37890 (SIGABRT): Use macro-int-constant. Specify type. Require
37891 positive value.
37892 (SIGFPE): Likewise.
37893 (SIGILL): Likewise.
37894 (SIGINT): Likewise.
37895 (SIGSEGV): Likewise.
37896 (SIGTER): Likewise.
37897 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37898 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37899 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37900 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37901 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37902 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37903 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37904 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37905 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37906 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37907 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37908 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37909 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37910 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37911 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37912 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37913 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37914 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37915 [X/Open-based standards] (SIGTRAP): Likewise.
37916 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37917 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37918 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37919 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37920 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37921 allow.
37922
b9f1922d
IW
379232012-05-08 Ian Wienand <ianw@vmware.com>
37924
37925 [BZ #14080]
37926 * time/tzset.c (__tzset_parse_tz): Update default rules for
37927 daylight time changes in the Energy Policy Act of 2005.
37928
1db86e88
AJ
379292012-05-09 Andreas Jaeger <aj@suse.de>
37930
37931 [BZ #13983]
37932 * elf/ldconfig.c (parse_conf): Change string to make clear that
37933 ldconfig only issued a warning if ld.so.conf does not exist.
37934
dee4a4e3
DM
379352012-05-08 David S. Miller <davem@davemloft.net>
37936
ee0db190
DM
37937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37938 movxtod instead of popping the value on the stack.
37939
dee4a4e3
DM
37940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37941
6a43ec98
CD
379422012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37943
37944 * config.h.in: Add HAVE_ARM_PCS_VFP.
37945
05c2c961
RMG
379462012-05-08 Roland Mc Grath <roland@hack.frob.com>
37947
bcfe3a54
ST
37948 [BZ #13979]
37949 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37950 checking but the checks are disabled for any reason.
05c2c961 37951
4b30f61a
L
379522012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37953
37954 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37955 and ELF64_R_TYPE with ELFW(R_TYPE).
37956
eee2bc67
JM
379572012-05-08 Joseph Myers <joseph@codesourcery.com>
37958
7ea5391a
JM
37959 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37960 (ulimit): Likewise.
37961
eee2bc67
JM
37962 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37963 (settimeofday): Likewise.
37964
abb66a67
MF
379652012-05-08 Mike Frysinger <vapier@gentoo.org>
37966
37967 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37968 a struct th_u2 inside the union, and move tu_block/tu_code into
37969 a new th_u3 union of tu_block/tu_code inside of that. Move
37970 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37971 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37972 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37973 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37974 (th_stuff): Change to th_u1.tu_stuff.
37975 (th_data): Define.
37976 (th_msg): Change to th_u1.th_u2.tu_data.
37977
7f18b530
DM
379782012-05-07 David S. Miller <davem@davemloft.net>
37979
05760585
DM
37980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37981
7f18b530
DM
37982 [BZ #14074]
37983 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37984 (SETUP_PIC_REG): Use it.
37985 (SETUP_PIC_REG_LEAF): Use it.
37986
495fd99f
JM
379872012-05-07 Joseph Myers <joseph@codesourcery.com>
37988
37989 [BZ #13885]
37990 [BZ #13923]
37991 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37992 USE_AS_EXPM1L.
37993 (EXPL_FINITE): Likewise.
37994 (FLDLOG): Likewise.
37995 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37996 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37997 e_expl.S.
37998 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37999 USE_AS_EXPM1L.
38000 (EXPL_FINITE): Likewise.
38001 (FLDLOG): Likewise.
38002 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38003 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38004 e_expl.S.
38005 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38006 test of -max_value argument for long double.
38007 * sysdeps/i386/fpu/libm-test-ulps: Update.
38008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38009
6693d694
DM
380102012-05-06 David S. Miller <davem@davemloft.net>
38011
38012 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38013 quad soft-float symbols whose references which are compiler
38014 generated.
38015 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38016
6c23e11c
JM
380172012-05-06 Joseph Myers <joseph@codesourcery.com>
38018
d8b82cad
JM
38019 [BZ #13884]
38020 [BZ #13914]
38021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38022 USE_AS_EXP10L.
38023 (EXPL_FINITE): Likewise.
38024 (FLDLOG): Likewise.
38025 (c0): Likewise.
38026 (c1): Likewise.
38027 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38028 Adjust comments for base varying.
38029 (__expl_finite): Change alias to EXPL_FINITE.
38030 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38031 e_expl.S.
38032 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38033 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38034 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38035 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38036 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38037 USE_AS_EXP10L.
38038 (EXPL_FINITE): Likewise.
38039 (FLDLOG): Likewise.
38040 (c0): Likewise.
38041 (c1): Likewise.
38042 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38043 Adjust comments for base varying.
38044 (__expl_finite): Change alias to EXPL_FINITE.
38045 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38046 tests for bugs.
38047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38048
6c23e11c
JM
38049 [BZ #14064]
38050 * math/libm-test.inc (check_float_internal): Correct ulp
38051 calculation for subnormal expected results.
38052
29ba805c
AJ
380532012-05-06 Andreas Jaeger <aj@suse.de>
38054
38055 * Makeconfig (+math-flags): New, set to -frounding-math.
38056 (+cflags): Add +math-flags so that all of glibc gets compiled with
38057 it.
38058
38059 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38060
7b17aeda
JM
380612012-05-05 Joseph Myers <joseph@codesourcery.com>
38062
5779f134
JM
38063 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38064 Disable one test.
38065
41498f4d
JM
38066 [BZ #13787]
38067 [BZ #13922]
38068 [BZ #14036]
38069 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38070 (__ieee754_expl): Allow for and saturate large arguments.
38071 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38072 (u_threshold): Likewise.
38073 (__exp): Call __ieee754_exp before checking for overflow and
38074 underflow.
38075 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38076 (u_threshold): Likewise.
38077 (__expf): Call __ieee754_expf before checking for overflow and
38078 underflow.
38079 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38080 (u_threshold): Likewise.
38081 (__expl): Call __ieee754_expl before checking for overflow and
38082 underflow.
38083 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38084 (__ieee754_expl): Allow for and saturate large arguments.
38085 * math/libm-test.inc (exp_test): Add another test. Do not allow
38086 missing overflow exception on overflow.
38087 (expm1_test): Do not allow missing overflow exception on overflow.
38088
6698b8bf
JM
38089 * sysdeps/i386/fpu/e_expl.c: Move to ...
38090 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38091 rather than using inline asm.
38092 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38093 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38094 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38095
7b17aeda
JM
38096 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38097 (nice): Likewise.
38098 (poll): Likewise.
38099 (signal): Likewise.
38100 (time): Likewise.
38101 (times): Likewise.
38102
f7c85819
JM
381032012-05-04 Joseph Myers <joseph@codesourcery.com>
38104
38105 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38106 sysdeps/unix/common/syscalls.list.
38107 (fchmod): Likewise.
38108 (fchown): Likewise.
38109 (ftruncate): Likewise.
38110 (getrusage): Likewise.
38111 (gettimeofday): Likewise.
38112 (setpgid): Likewise.
38113 (setregid): Likewise.
38114 (setreuid): Likewise.
38115 (sigaction): Likewise.
38116 (truncate): Likewise.
38117 (vhangup): Likewise.
38118 * sysdeps/unix/common/syscalls.list: Remove file.
38119 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38120 * sysdeps/unix/sysv/linux/Implies: Likewise.
38121
336270d0
L
381222012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38123
38124 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38126 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38127 Moved to ...
38128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38129 Here.
38130 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38131 to ...
38132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38133 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38134 to ...
38135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38136 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38137 to ...
38138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38139 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38140 to ...
38141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38142 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38143 to ...
38144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38145 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38146 to ...
38147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38148 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38149 to ...
38150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38151 Here.
38152 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38153 to ...
38154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38155 Here.
38156 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38157 to ...
38158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38159 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38160 Moved to ...
38161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38162 Here.
38163 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38164 to ...
38165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38166
d128e450
JM
381672012-05-04 Joseph Myers <joseph@codesourcery.com>
38168
fa8ee516
JM
38169 * sysdeps/unix/common/bits/dirent.h: Remove file.
38170 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38171
d128e450
JM
38172 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38173 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38174 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38175 * sysdeps/unix/bsd/isatty.c: Likewise.
38176 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38177 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38178 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38179
ff8faaf0 381802012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38181
62881be4 38182 [BZ #13563]
31dc8730
AZ
38183 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38184 long double comparison inaccuracies.
38185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38187
6fef930c
AS
381882012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38189
38190 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38191 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38192
8f203e6c
JM
381932012-05-04 Joseph Myers <joseph@codesourcery.com>
38194
38195 [BZ #14049]
38196 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38197 nonzero digits before rounding a hex value.
38198 * stdlib/tst-strtod.c (tests): Add another test.
38199
5197d9c2
AK
382002012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38201
38202 * sysdeps/s390/fpu/libm-test-ulps: Update.
38203
f0c1dedf
AJ
382042012-05-03 Andreas Jaeger <aj@suse.de>
38205
38206 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38207 does not get optimized out.
38208 (malloc_opt_barrier): New.
38209
a65ef2ae 382102012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 38211 Roland McGrath <roland@hack.frob.com>
a65ef2ae 38212
2b942cb7 38213 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 38214 intermediate file deletion.
2b942cb7 38215 (generated): Add .symlist files.
a65ef2ae 38216
54b71e02
JM
382172012-05-03 Joseph Myers <joseph@codesourcery.com>
38218
38219 [BZ #13775]
38220 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38221 Redirect under this condition.
38222 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38223 [__USE_GNU] (__dprintf_chk): Not under this condition.
38224 [__USE_GNU] (__vdprintf_chk): Likewise.
38225 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38226 under this condition.
38227 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38228 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38229 [__USE_XOPEN2K8] (vdprintf): Likewise.
38230 [__USE_GNU] (__dprintf_chk): Not under this condition.
38231 [__USE_GNU] (__vdprintf_chk): Likewise.
38232 [__USE_GNU] (dprintf): Likewise.
38233 [__USE_GNU] (vdprintf): Likewise.
38234
d3dfcc41
RM
382352012-05-03 Roland McGrath <roland@hack.frob.com>
38236
38237 * elf/Makefile (common-generated): Set this instead of generated for
38238 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38239 $(all-built-dso)-derived lists.
38240
7ac30cc5
AJ
382412012-05-03 Andreas Jaeger <aj@suse.de>
38242
0c51e550
AJ
38243 * sysdeps/i386/fpu/libm-test-ulps: Update.
38244
7ac30cc5
AJ
38245 * FAQ: Removed.
38246 * FAQ.in: Likewise.
38247 * scripts/gen-FAQ.pl: Likewise.
38248 * manual/install.texi (Installation): Point to online location of
38249 FAQ.
38250 * Makefile (files-for-dist): Remove FAQ.
38251 (FAQ): Remove.
38252
d4c2917f
AM
382532012-05-02 Allan McRae <allan@archlinux.org>
38254
38255 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38256 (LDFLAGS-reldepmod5.so): Likewise.
38257 (LDFLAGS-reldep6mod1.so): Likewise.
38258 (LDFLAGS-reldep6mod4.so): Likewise.
38259 (LDFLAGS-reldep8mod3.so): Likewise.
38260 (LDFLAGS-unload4mod1.so): Likewise.
38261 (LDFLAGS-unload4mod2.so): Likewise.
38262 (LDFLAGS-tst-initorder): Likewise.
38263 (LDFLAGS-tst-initordera2.so): Likewise.
38264 (LDFLAGS-tst-initordera3.so): Likewise.
38265 (LDFLAGS-tst-initordera4.so): Likewise.
38266 (LDFLAGS-tst-initorderb2.so): Likewise.
38267 (LDFLAGS-noload): Likewise.
38268 (LDFLAGS-next): Likewise.
38269 (LDFLAGS-order2mod1.so): Likewise.
38270 (LDFLAGS-order2mod2.so): Likewise.
38271 (LDFLAGS-tst-initorder2): Likewise.
38272 (LDFLAGS-tst-initorder2a.so): Likewise.
38273 (LDFLAGS-tst-initorder2b.so): Likewise.
38274 (LDFLAGS-tst-initorder2c.so): Likewise.
38275 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38276
d77f993f
DM
382772012-05-02 David S. Miller <davem@davemloft.net>
38278
38279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38280
171a70b4
PP
382812012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38282
38283 [BZ #14055]
38284 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38285
0be196ad
AJ
382862012-05-02 Andreas Jaeger <aj@suse.de>
38287
38288 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38289 since we manipulate rounding mode.
38290 (CPPFLAGS-test-idouble.c): Likewise.
38291 (CPPFLAGS-test-ifloat.c): Likewise.
38292 (CFLAGS-test-ldouble.c): Likewise.
38293 (CFLAGS-test-double.c): Likewise.
38294 (CFLAGS-test-float.c): Likewise.
38295 (CFLAGS-test-misc.c): Likewise.
38296 (CFLAGS-test-test-fenv.c): Likewise.
38297
4f9d04aa
AZ
382982012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38299
2b942cb7
RM
38300 [BZ #2550]
38301 [BZ #2570]
38302 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38303 comparisons to determine direction to adjust input.
4f9d04aa 38304
82a79e7d
RM
383052012-05-01 Roland McGrath <roland@hack.frob.com>
38306
f5a01ca9
RM
38307 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38308 output to the target.
38309
90fe4186
RM
38310 * scripts/localplt.awk: New file.
38311 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38312 (check-localplt-CFLAGS): Variable removed.
38313 ($(all-built-dso:=.jmprel)): New static pattern rule.
38314 (generated): Add those targets.
38315 (localplt-built-dso): New variable.
38316 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38317
38318 * elf/check-localplt.c: File removed.
38319
82397ed6
RM
38320 * scripts/check-execstack.awk: New file.
38321 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38322 (check-execstack-CFLAGS): Variable removed.
38323 ($(objpfx)check-execstack.h): Target removed.
38324 ($(objpfx)execstack-default): New target.
38325 (generated): Add that instead of check-execstack.h.
38326 ($(all-built-dso:=.phdr)): New static pattern rule.
38327 (generated): Add those targets.
38328 * elf/check-execstack.c: File removed.
38329
82a79e7d
RM
38330 * scripts/check-textrel.awk: New file.
38331 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38332 (check-textrel-CFLAGS): Variable removed.
38333 (all-built-dso): Use := to define.o
38334 ($(all-built-dso:=.dyn)): New static pattern rule.
38335 (generated): Add those targets.
38336 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38337 * config.make.in (READELF): New substituted variable.
38338 * elf/check-textrel.c: File removed.
38339
62fde54f 383402012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 38341
615605c9
JM
38342 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38343 allow.
38344 * conform/data/ctype.h-data [C99-based standards] (isblank):
38345 Expect function.
38346 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38347 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38349 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38350 Specify type. Require positive value.
38351 (EILSEQ): Likewise.
38352 (ERANGE): Likewise.
38353 [ISO || POSIX] (EILSEQ): Do not expect.
38354 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38355 Specify type. Require positive value.
38356 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38357 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38358 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38359 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38360 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38361 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38362 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38363 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38364 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38365 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38366 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38367 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38368 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38369 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38370 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38371 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38372 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38373 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38374 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38375 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38376 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38377 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38378 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38379 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38380 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38381 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38382 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38383 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38384 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38385 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38386 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38387 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38388 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38389 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38390 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38391 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38392 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38393 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38394 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38395 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38396 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38397 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38398 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38399 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38400 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38401 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38402 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38403 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38404 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38405 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38406 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38407 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38408 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38409 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38410 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38411 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38412 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38413 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38414 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38415 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38416 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38417 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38418 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38419 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38420 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38421 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38422 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38423 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38424 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38425 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38426 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38427 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38428 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38429 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38430 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38431 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38432 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38433 Require >= 2.
38434 (FLT_ROUNDS): Expect as macro, not constant.
38435 (FLT_MANT_DIG): Use macro-int-constant.
38436 (DBL_MANT_DIG): Likewise.
38437 (LDBL_MANT_DIG): Likewise.
38438 (FLT_DIG): Likewise.
38439 (DBL_DIG): Likewise.
38440 (LDBL_DIG): Likewise.
38441 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38442 (DBL_MIN_EXP): Likewise.
38443 (LDBL_MIN_EXP): Likewise.
38444 (FLT_MAX_EXP): Use macro-int-constant.
38445 (DBL_MAX_EXP): Likewise.
38446 (LDBL_MAX_EXP): Likewise.
38447 (FLT_MAX_10_EXP): Likewise.
38448 (DBL_MAX_10_EXP): Likewise.
38449 (LDBL_MAX_10_EXP): Likewise.
38450 (FLT_MAX): Use macro-constant.
38451 (DBL_MAX): Likewise.
38452 (LDBL_MAX): Likewise.
38453 (FLT_EPSILON): Use macro-constant. Give upper bound.
38454 (DBL_EPSILON): Likewise.
38455 (LDBL_EPSILON): Likewise.
38456 (FLT_MIN): Likewise.
38457 (DBL_MIN): Likewise.
38458 (LDBL_MIN): Likewise.
38459 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38460 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38461 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38462 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38463 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38464 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38465 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38466 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38467 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38468 [ISO11] (FLT_TRUE_MIN): Likewise.
38469 [ISO11] (LDBL_TRUE_MIN): Likewise.
38470 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38471 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38472 (SCHAR_MIN): Use macro-int-constant. Specify type.
38473 (SCHAR_MAX): Likewise.
38474 (UCHAR_MAX): Likewise.
38475 (CHAR_MIN): Likewise.
38476 (CHAR_MAX): Likewise.
38477 (MB_LEN_MAX): Use macro-int-constant.
38478 (SHRT_MIN): Use macro-int-constant. Specify type.
38479 (SHRT_MAX): Likewise.
38480 (USHRT_MAX): Likewise.
38481 (INT_MAX): Likewise.
38482 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38483 bound negative.
38484 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38485 bound with "U".
38486 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38487 bound with "L".
38488 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38489 bound negative. Suffix upper bound with "L".
38490 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38491 bound with "UL".
38492 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38493 Specify type.
38494 [C99-based standards] (LLONG_MAX): Likewise.
38495 [C99-based standards] (ULLONG_MAX): Likewise.
38496 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38497 == 0.
38498 [ISO11] (max_align_t): Require type.
38499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38500
c9140a62
JM
38501 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38502 from $CFLAGS, without defining away __attribute__ calls.
38503 (checknamespace): Use $CFLAGS_namespace.
38504
9af0bf29
JM
38505 * conform/conformtest.pl (@keywords): Only include C99 keywords
38506 for standards based on C99 or C11.
38507
343222a2
JM
38508 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38509 Disable tests.
38510 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38511 UNIX98]: Likewise.
38512
661f8cf0
JM
38513 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38514 usability of symbols in #if.
38515
ee74b9cb
JM
38516 * conform/conformtest.pl: If macro or constant types start
38517 "promoted:", expect the symbol to be of the following type
38518 promoted by the integer promotions.
62fde54f 38519
aafc49b3
JM
38520 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38521 in one place. Also handle "macro-constant".
38522
fefdf574
JM
38523 * conform/conformtest.pl: Only accept expected macro values with
38524 "==". Parse all "macro" lines in one place.
38525 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38526
f2d922fe
JM
38527 * conform/conformtest.pl: Handle braced types on "constant" lines
38528 instead of handling "typed-constant".
38529 * conform/data/signal.h-data: Use "constant" instead of
38530 "typed-constant".
38531
d22956c9
JM
38532 * conform/conformtest.pl: Handle "optional-" at start of lines in
38533 one place rather than duplicating several cases. Handle each
38534 format of "macro" line with initial "optional-".
38535
028e2e38
JM
38536 * conform/conformtest.pl: Only accept expected constant or
38537 optional-constant values with "==". Parse all "constant" lines in
38538 one place. Parse all "optional-constant" lines in one place.
38539 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38540 * conform/data/fmtmsg.h-data: Likewise.
38541 * conform/data/netinet/in.h-data: Likewise.
38542 * conform/data/tar.h-data: Likewise.
38543 * conform/data/limits.h-data: Use "==" form on "constant" and
38544 "optional-constant" lines.
38545
1b8f2850
JM
38546 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38547 Use -std=c99 for XOPEN2K.
38548 (@knownproblems): Remove.
38549 (newtoken): Don't check %isknown.
38550
a05a144b
JM
38551 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38552 Do not expect macro.
38553 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38554 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38555 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38556 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38557 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38558 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38559 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38560 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38561 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38562 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38563 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38564 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38565 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38566 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38567 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38568 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38569 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38570 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38571 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38572 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38573 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38574 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38575 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38576 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38577 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38578 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38579 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38580 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38581 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38582 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38583 [XPG3] (acosh): Likewise.
38584 [XPG3] (asinh): Likewise.
38585 [XPG3] (atanh): Likewise.
38586 [XPG3] (cbrt): Likewise.
38587 [XPG3] (expm1): Likewise.
38588 [XPG3] (ilogb): Likewise.
38589 [XPG3] (log1p): Likewise.
38590 [XPG3] (logb): Likewise.
38591 [XPG3] (nextafter): Likewise.
38592 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38593 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38594 [XPG3] (remainder): Likewise.
38595 [XPG3] (rint): Likewise.
38596 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38597 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38598 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38599 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38600 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38601 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38602 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38603 [UNIX98 || XOPEN2K] (scalb): Expect.
38604 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38605 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38606 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38607 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38608 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38609 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38610 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38611 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38612 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38613 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38614 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38615 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38616 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38617 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38618 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38619 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38620 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38621 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38622 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38623 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38624 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38625 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38626 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38627 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38628 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38629 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38630 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38631 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38632 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38633 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38634 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38635 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38636 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38637 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38638 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38639 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38640 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38641 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38642 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38643 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38644 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38645 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38646 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38647 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38648 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38649 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38650 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38651 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38652 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38653 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38654 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38655 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38656 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38657 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38658 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38659 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38660 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38661 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38662 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38663 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38664 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38665 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38666 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38667 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38668 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38669 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38670 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38671 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38672 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38673 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38674 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38675 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38676 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38677 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38678 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38679 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38680 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38681 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38682 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38683 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38684 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38685 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38686 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38687 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38688 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38689 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38690 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38691 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38692 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38693 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38694 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38695 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38696 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38697 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38698 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38699 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38700 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38701 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38702 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38703 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38704 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38705 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38706 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38707 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38708 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38709 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38710 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38711 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38712 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38713 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38714 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38715 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38716 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38717 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38718 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38719 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38720 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38721 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38722 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38723 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38724 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38725 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38726 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38727 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38728 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38729 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38730 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38731 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38732 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38733 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38734 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38735 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38736 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38737 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38738 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38739 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38740 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38741
73c5ebe3
JM
38742 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38743 _XOPEN_SOURCE_EXTENDED for XPG4.
38744
39c33b6c
JM
38745 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38746
62fde54f
JM
38747 * Makeconfig (localtime): Remove variable.
38748 (inst_localtime-file): Likewise.
38749
0741d64c
AS
387502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38751
38752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38753 Update.
38754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38755 Update.
38756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38757 Update.
38758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38759 Update.
38760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38761 Update.
38762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38763 Update.
38764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38765 Update.
38766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38767 Update.
38768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38769 Update.
38770
7cb029ee
JM
387712012-05-01 Joseph Myers <joseph@codesourcery.com>
38772
38773 [BZ #2550]
38774 [BZ #2570]
38775 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38776 comparisons to determine direction to adjust input.
38777 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38778 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38780 Likewise.
38781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38782 Likewise.
38783 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38784 Likewise.
38785 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38786 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38787 Likewise.
38788 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38789 Likewise.
38790 * math/libm-test.inc (nexttoward_test): Add more tests.
38791
412bd966
AS
387922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38793
38794 [BZ #14040]
38795 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38796 in version GLIBC_2.1, not GLIBC_2.0.
38797 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38798 Likewise.
38799
9568c0c2
JM
388002012-04-30 Joseph Myers <joseph@codesourcery.com>
38801
adfbc8ac
JM
38802 [BZ #13942]
38803 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38804 (1 - x) * (1 + x).
38805 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38806 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38807 * math/libm-test.inc (acos_test): Add more tests.
38808 (asin_test): Likewise.
38809 * sysdeps/i386/fpu/libm-test-ulps: Update.
38810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38811
5ba3cc69
JM
38812 [BZ #14034]
38813 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38814 of square root.
38815 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38816 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38817 * math/libm-test.inc (acos_test_tonearest): New function.
38818 (acos_test_towardzero): Likewise.
38819 (acos_test_downward): Likewise.
38820 (acos_test_upward): Likewise.
38821 (asin_test_tonearest): Likewise.
38822 (asin_test_towardzero): Likewise.
38823 (asin_test_downward): Likewise.
38824 (asin_test_upward): Likewise.
38825 (main): Call the new functions.
38826 * sysdeps/i386/fpu/libm-test-ulps: Update.
38827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38828
9568c0c2
JM
38829 [BZ #13884]
38830 [BZ #13924]
38831 * math/e_exp10.c: Include <float.h>.
38832 (__ieee754_exp10): Handle underflow here rather than multiplying
38833 large negative argument by M_LN10.
38834 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38835 of __ieee754_expf.
38836 * math/e_exp10l.c: Include <float.h>.
38837 (__ieee754_exp10l): Handle underflow here rather than multiplying
38838 large negative argument by M_LN10l.
38839 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38840 spurious overflow exception on underflow.
38841
5ac3ea17
MP
388422012-04-29 Marek Polacek <polacek@redhat.com>
38843
38844 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38845 (__fortify_function): New macro.
38846 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38847 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38848 __extern_always_inline.
38849 * libio/bits/stdio2.h: Likewise.
38850 * libio/bits/stdio.h: Likewise.
38851 * string/string.h: Likewise.
38852 * string/bits/string3.h: Likewise.
38853 * include/stdio.h: Likewise.
38854 * stdlib/bits/stdlib.h: Likewise.
38855 * stdlib/stdlib.h: Likewise.
38856 * rt/bits/mqueue2.h: Likewise.
38857 * rt/mqueue.h: Likewise.
38858 * posix/bits/unistd.h: Likewise.
38859 * posix/unistd.h: Likewise.
38860 * io/bits/poll2.h: Likewise.
38861 * io/bits/fcntl2.h: Likewise.
38862 * io/fcntl.h: Likewise.
38863 * io/sys/poll.h: Likewise.
38864 * misc/bits/syslog.h: Likewise.
38865 * misc/bits/syslog-ldbl.h: Likewise.
38866 * misc/sys/syslog.h: Likewise.
38867 * socket/bits/socket2.h: Likewise.
38868 * socket/sys/socket.h: Likewise.
38869 * debug/tst-chk1.c: Likewise.
38870 * wcsmbs/bits/wchar2.h: Likewise.
38871 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38872 * wcsmbs/wchar.h: Likewise.
38873
ecf0ebfb
AJ
388742012-04-29 Andreas Jaeger <aj@suse.de>
38875
38876 * Makerules (tests): Remove enable-check-abi protection.
38877 (check-abi-warn): Remove.
38878 (check-abi-%): Remove check-abi-warn usage.
38879
38880 * configure.in: Remove check-abi configure option.
38881 * configure: Regenerated.
38882 * config.make.in (enable-check-abi): Remove.
38883
6d5c57fa
AS
388842012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38885
24c5d07e 38886 [BZ #14033]
ded5180a
AS
38887 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38888 double functions to double *_finite functions.
38889
7e0d315d
AS
38890 [BZ #13941]
38891 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38892 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38893 LDBL_MIN_EXP.
38894 * stdio-common/Makefile (tests): Add tst-sprintf3.
38895 * stdio-common/tst-sprintf3.c: New file.
38896
6d5c57fa
AS
38897 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38898 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38899
0749ff8b
JM
389002012-04-28 Joseph Myers <joseph@codesourcery.com>
38901
38902 * conform/conformtest.pl: Remove duplicate typed-constant
38903 handling.
38904
8dbd5d7b
DM
389052012-04-28 David S. Miller <davem@davemloft.net>
38906
38907 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38908 (check-abi-%): Remove AWK script prerequisite and explicit
38909 abilist directory.
38910 (check-abi): Rewrite to just diff the symlist with the abilist.
38911 (config-tls, config-abi-config): Delete, no longer used.
38912 (update-abi-%): Remove AWK script and explicit abilist directory.
38913 (update-abi): Rewrite to simply compare and conditionally copy the
38914 symlist and the sysdep abilist file. Remove update-abi-config
38915 checks.
38916 * abilist/ld.abilist: Remove.
38917 * abilist/libBrokenLocale.abilist: Remove.
38918 * abilist/libanl.abilist: Remove.
38919 * abilist/libcrypt.abilist: Remove.
38920 * abilist/libdl.abilist: Remove.
38921 * abilist/librt.abilist: Remove.
38922 * abilist/libthread_db.abilist: Remove.
38923 * abilist/libutil.abilist: Remove.
38924 * scripts/extract-abilist.awk: Remove.
38925 * scripts/merge-abilist.awk: Remove.
38926 * sysdeps/generic/libcidn.abilist: New file.
38927 * sysdeps/generic/libnss_compat.abilist: New file.
38928 * sysdeps/generic/libnss_db.abilist: New file.
38929 * sysdeps/generic/libnss_dns.abilist: New file.
38930 * sysdeps/generic/libnss_files.abilist: New file.
38931 * sysdeps/generic/libnss_hesiod.abilist: New file.
38932 * sysdeps/generic/libnss_nis.abilist: New file.
38933 * sysdeps/generic/libnss_nisplus.abilist: New file.
38934 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38935 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38936 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38937 file.
38938 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38939 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38940 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38941 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38942 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38943 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38944 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38945 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38946 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38947 file.
38948 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38949 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38950 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38951 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38952 file.
38953 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38954 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38955 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38956 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38957 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38958 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38959 file.
38960 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38961 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38962 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38963 file.
38964 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38966 New file.
38967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38968 New file.
38969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38970 New file.
38971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38972 New file.
38973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38974 New file.
38975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38976 New file.
38977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38978 New file.
38979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38980 New file.
38981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38982 New file.
38983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38984 New file.
38985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38986 New file.
38987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38988 New file.
38989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38990 New file.
38991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38992 file.
38993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38994 New file.
38995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38996 New file.
38997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38998 file.
38999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39000 New file.
39001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39002 New file.
39003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39004 file.
39005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39006 New file.
39007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39008 New file.
39009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39010 New file.
39011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39012 New file.
39013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39014 New file.
39015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39016 New file.
39017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39019 file.
39020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39021 New file.
39022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39023 file.
39024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39025 file.
39026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39027 file.
39028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39029 file.
39030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39031 file.
39032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39033 New file.
39034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39035 file.
39036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39037 file.
39038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39039 New file.
39040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39041 file.
39042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39044 file.
39045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39046 New file.
39047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39048 file.
39049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39050 file.
39051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39052 file.
39053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39054 file.
39055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39056 file.
39057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39058 New file.
39059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39060 file.
39061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39062 file.
39063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39064 New file.
39065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39066 file.
39067 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39068 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39069 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39070 file.
39071 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39072 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39073 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39074 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39075 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39076 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39077 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39078 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39079 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39080 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39083 file.
39084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39085 New file.
39086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39087 file.
39088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39089 file.
39090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39091 file.
39092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39093 file.
39094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39095 file.
39096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39097 New file.
39098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39099 New file.
39100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39101 file.
39102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39103 New file.
39104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39105 file.
39106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39108 file.
39109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39110 New file.
39111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39112 file.
39113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39114 file.
39115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39116 file.
39117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39118 file.
39119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39120 file.
39121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39122 New file.
39123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39124 New file.
39125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39126 file.
39127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39128 New file.
39129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39130 file.
39131
41d73a1b
JM
391322012-04-28 Joseph Myers <joseph@codesourcery.com>
39133
39134 * conform/conformtest.pl: Fix typo in handling typed-constant from
39135 allow-header.
39136
28aeeda4
JM
391372012-04-27 Joseph Myers <joseph@codesourcery.com>
39138
adae8f5e
JM
39139 * README: Cut down references to pre-2.6 Linux kernels and
39140 Linuxthreads. Update lists of configurations in libc and ports
39141 and sort alphabetically. Say "or newer" with Linux kernel version
39142 requirements.
39143
28aeeda4
JM
39144 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39145
a462cb63
RA
391462012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39147
39148 [BZ #887]
39149 * math/libm-test.inc (logb_test_downward): New test to expose
39150 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39151 rounding mode.
39152
6ad3493e
JM
391532012-04-27 Joseph Myers <joseph@codesourcery.com>
39154
39155 [BZ #14027]
39156 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39157 to be done.
39158 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39159 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39160
2ce4f015
JM
391612012-04-26 Joseph Myers <joseph@codesourcery.com>
39162
5aeb141a
JM
39163 * sysdeps/unix/i386/brk.S: Remove file.
39164 * sysdeps/unix/i386/dl-brk.S: Likewise.
39165 * sysdeps/unix/i386/pipe.S: Likewise.
39166 * sysdeps/unix/i386/sigreturn.S: Likewise.
39167 * sysdeps/unix/i386/syscall.S: Likewise.
39168 * sysdeps/unix/i386/vfork.S: Likewise.
39169 * sysdeps/unix/i386/wait.S: Likewise.
39170
7143acae
JM
39171 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39172 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39173
2ce4f015
JM
39174 * configure.in (arm*-none*): Do not allow without
39175 --enable-hacker-mode.
39176 (netbsd*): Remove case setting base_os.
39177 (386bsd*): Likewise.
39178 (freebsd*): Likewise.
39179 (bsdi*): Likewise.
39180 (osf*): Likewise.
39181 (sunos*): Likewise.
39182 (ultrix*): Likewise.
39183 (newsos*): Likewise.
39184 (dynix*): Likewise.
39185 (*bsd*): Likewise.
39186 (sysv*): Likewise.
39187 (isc*): Likewise.
39188 (esix*): Likewise.
39189 (sco*): Likewise.
39190 (minix*): Likewise.
39191 (irix4*): Likewise.
39192 (irix6*): Likewise.
39193 (solaris[2-9]*): Likewise.
39194 (none): Likewise.
39195 * configure: Regenerated.
39196
0ac229c8
AZ
391972012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39198
39199 [BZ #11521]
39200 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39201 overflow or cancellation in calculating denominator.
39202 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39204 down expression to avoid unexpected rounding in newer GCCs.
39205 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39206
33f244f4
DM
392072012-04-26 David S. Miller <davem@davemloft.net>
39208
39209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39210 long-double compat symbols.
39211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39224
cfa1f3e8
DM
392252012-04-25 David S. Miller <davem@davemloft.net>
39226
39227 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39228 HWCAP_* values only after the memory barriers have been defined.
39229 (atomic_full_barrier): Define.
39230 (atomic_read_barrier): Define.
39231 (atomic_write_barrier): Define.
39232
6e236b92
SP
392332012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39234
39235 * shlib-versions: Add libgcc_s version information.
39236 * sysdeps/generic/libgcc_s.h: Remove.
39237 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39238 libgcc_s.h.
39239 * sysdeps/gnu/unwind-resume.c: Likewise.
39240 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39241
aab39a09
DM
392422012-04-25 David S. Miller <davem@davemloft.net>
39243
39244 * sysdeps/unix/sparc/brk.S: Delete.
39245 * sysdeps/unix/sparc/dl-brk.S: Delete.
39246 * sysdeps/unix/sparc/pipe.S: Delete.
39247 * sysdeps/unix/sparc/sysdep.S: Delete.
39248 * sysdeps/unix/sparc/sysdep.h: Delete.
39249 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39250 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39251 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39252 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39253 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39254 (JUMPTARGET): Remove.
39255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39256 sysdeps/unix/sparc/sysdep.h
39257 (ENTRY, END): Remove.
39258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39259
a3cc4f48
JM
392602012-04-25 Joseph Myers <joseph@codesourcery.com>
39261
2ed8cda2
JM
39262 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39263 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39264 -DIS_IN_build.
39265
35d76d59
JM
39266 * timezone/README: Update upstream location and email address for
39267 tzcode and tzdata.
39268 * timezone/zdump.c: Update from tzcode 2012b.
39269 * timezone/zic.c: Likewise.
39270
a3cc4f48
JM
39271 * configure.in (libc_cv_as_needed): Remove test.
39272 * configure: Regenerated.
39273 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39274 conditional definition.
39275 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39276 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39277 * config.make.in (have-as-needed): Remove variable.
39278
ceab42c3
SP
392792012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39280 Paul Pluzhnikov <ppluzhnikov@google.com>
39281
39282 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39283 strings correctly.
39284
3ce2865f
CLT
392852012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39286
39287 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39288 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39289 * sysdeps/sh/strlen.S: Likewise.
39290
f37e0d68
JM
392912012-04-24 Joseph Myers <joseph@codesourcery.com>
39292
ae186e9a
JM
39293 * sysdeps/unix/fork.S: Remove file.
39294 * sysdeps/unix/i386/fork.S: Likewise.
39295 * sysdeps/unix/sparc/fork.S: Likewise.
39296
b96914af
JM
39297 * sysdeps/unix/system.c: Remove file.
39298 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39299
f37e0d68
JM
39300 * sysdeps/unix/getegid.S: Remove file.
39301 * sysdeps/unix/geteuid.S: Likewise.
39302
87ef29ca
RM
393032012-04-24 Roland McGrath <roland@hack.frob.com>
39304
83bcd236
RM
39305 * scripts/check-localplt.awk: New file.
39306 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39307 of diff.
39308 * scripts/data/localplt-generic.data: Add a comment.
39309
87ef29ca
RM
39310 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39311 NODE when __dir_mkfile failed.
39312 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39313 Reported by Ludovic Courtès <ludo@gnu.org>.
39314
e5a6e567
AJ
393152012-04-24 Andreas Jaeger <aj@suse.de>
39316
39317 * Makerules (common-clean): Also remove gen-as-const-headers
39318 files.
39319
c1820385
JM
393202012-04-24 Joseph Myers <joseph@codesourcery.com>
39321
39322 * Makerules (native-compile): Do not change working directory for
39323 build. Use $(OUTPUT_OPTION) in command.
39324 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39325
94e02fc4
AZ
393262012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39327
39328 [BZ #13886]
39329 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39330 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39331 * math/libm-test.inc (floor_test): Add more tests.
39332 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39333
3a533ca3
JM
393342012-04-24 Joseph Myers <joseph@codesourcery.com>
39335
940ab4b3
JM
39336 * sysdeps/unix/getdents.c: Remove file.
39337 * sysdeps/unix/sysv/getdents.c: Likewise.
39338 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39339
90e037bd
JM
39340 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39341 sysdeps/unix/mman/syscalls.list.
39342 (mmap): Likewise.
39343 (mprotect): Likewise.
39344 (msync): Likewise.
39345 (munmap): Likewise.
39346 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39347 * sysdeps/unix/mman/syscalls.list: Remove.
39348 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39349
3a533ca3
JM
39350 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39351 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39352 * configure: Regenerated.
39353 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39354 $(libgcc_s_suffix).
39355 * config.make.in (libgcc_s_suffix): Remove variable.
39356
1ad743de
JM
393572012-04-23 Joseph Myers <joseph@codesourcery.com>
39358
4ad451e2
JM
39359 * sysdeps/unix/sysv/gethostname.c: Move to ...
39360 * sysdeps/posix/gethostname.c: ... here.
39361
5e37ce39
JM
39362 * sysdeps/unix/execve.S: Remove file.
39363
1ad743de
JM
39364 * sysdeps/unix/_exit.S: Remove file.
39365
4e681b5b
AJ
393662012-04-23 Andreas Jaeger <aj@suse.de>
39367
39368 [BZ #13739]
39369 * manual/Makefile: Remove make dist support, there's no
39370 need for a stand-alone documentation tar ball.
39371 (TEXI2DVI): Define always, it's not in Makeconfig.
39372 (dist): Removed.
39373 (tar-it): Removed.
39374 (edition): Removed.
39375 (glibc-doc-$(edition).tar): Removed
39376 (%.Z): Removed.
39377 (%.gz): Removed.
39378 (%.uu): Removed.
39379 (ETAGS): Remove, it's in Makeconfig.
39380 (move-if-change): Remove, it's in Makeconfig.
39381
38686a03 393822012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
39383
39384 [BZ #13970]
39385 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39386 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39387 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39388 (strtod_l, strtof_l, strtold_l): Remove __wur.
39389 It is not necessarily an error to ignore strtol's return value.
39390 One can reliably look at the stored endptr to decide whether
39391 the number had valid syntax.
39392
7c0616fa
AJ
393932012-04-21 Andreas Jaeger <aj@suse.de>
39394
803cb6b7 39395 [BZ #13739]
7c0616fa
AJ
39396 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39397
b0fe253f
JM
393982012-04-21 Joseph Myers <joseph@codesourcery.com>
39399
39400 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39401 * sysdeps/unix/sysv/Versions: Remove file.
39402
8280f22d
MT
394032012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39404
39405 [BZ #13927]
39406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39407
75ce411f 394082012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
39409
39410 [BZ #7064]
39411 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39412 version from __vm86.
39413
097d59fa
JM
394142012-04-20 Joseph Myers <joseph@codesourcery.com>
39415
a90f3bcb
JM
39416 * sysdeps/unix/common/lxstat.c: Remove file.
39417 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39418
edc7ea78
JM
39419 * sysdeps/unix/sysv/Makefile: Remove file.
39420
cb78c221
JM
39421 * sysdeps/unix/sysv/direct.h: Remove file.
39422
efa6a45f
JM
39423 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39424 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39425 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39426 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39427 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39428 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39429 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39430
9c9f2d0c
JM
39431 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39432
4541c83b
JM
39433 * sysdeps/unix/xmknod.c: Remove file.
39434 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39435
f5d153a0
JM
39436 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39437
aa746595
JM
39438 * sysdeps/unix/sysv/i386/time.S: Remove file.
39439
cce5905e
JM
39440 * sysdeps/unix/fxstat.c: Remove file.
39441 * sysdeps/unix/xstat.c: Likewise.
39442 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39443
37fa3841
JM
39444 * sysdeps/unix/sysv/sigaction.c: Remove file.
39445
ff1962a3
JM
39446 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39447 (sysdep_headers): Remove variable.
39448 [termio.h not in sysdep_headers] (generated): Likewise.
39449 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39450 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39451 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39452 * sysdeps/unix/sysv/tcflow.c: Likewise.
39453 * sysdeps/unix/sysv/tcflush.c: Likewise.
39454 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39455 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39456 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39457 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39458 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39459
e7740d31
JM
39460 * sysdeps/unix/siglist.c: Remove file.
39461
ee06f18b
JM
39462 * sysdeps/unix/getppid.S: Remove file.
39463
097d59fa
JM
39464 * sysdeps/unix/mkdir.c: Remove file.
39465 * sysdeps/unix/rmdir.c: Likewise.
39466
ff3d51ec
AS
394672012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39468
39469 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39470 ERR_MAX value.
39471 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39472 errlist-compat value.
39473
50f81fd7
DM
394742012-04-18 David S. Miller <davem@davemloft.net>
39475
39476 * sysdeps/generic/memcopy.h (reg_char): Delete.
39477 * debug/strcat_chk.c: Use char, not reg_char.
39478 * debug/strcpy_chk.c: Likewise.
39479 * debug/strncat_chk.c: Likewise.
39480 * debug/strncpy_chk.c: Likewise.
39481 * string/memchr.c: Likewise.
39482 * string/memrchr.c: Likewise.
39483 * string/rawmemchr.c: Likewise.
39484 * string/strcat.c: Likewise.
39485 * string/strchr.c: Likewise.
39486 * string/strchrnul.c: Likewise.
39487 * string/strcmp.c: Likewise.
39488 * string/strcpy.c: Likewise.
39489 * string/strncat.c: Likewise.
39490 * string/strncmp.c: Likewise.
39491 * string/strncpy.c: Likewise.
39492
8ff41c46
WS
394932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39494
39495 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39496 __builtin_memcopy is called when src and dest ranges are known to not
39497 overlap.
39498
6b652f46
WS
394992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39500
39501 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39502 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39503 fwd_align_merge macro call.
39504 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39505 bwd_align_merge macro call.
39506 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39507
b282631e
WS
395082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39509
39510 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39511 bwd_align_merge macros.
39512 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39513 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39514 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39515
95aa737c
DM
395162012-04-18 David S. Miller <davem@davemloft.net>
39517
39518 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39519
7a99a614
AJ
395202012-04-18 Andreas Jaeger <aj@suse.de>
39521
39522 [BZ# 6794]
39523 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39524 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39525 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39526
39527 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39528 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39529 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39530
39531 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39532 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39533 Adjust for changed ldbl-128 files.
39534
39535 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39536 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39537 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39538
e5270c23
DM
395392012-04-17 David S. Miller <davem@davemloft.net>
39540
39541 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39542
fb5e92c9
AS
395432012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39544
39545 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39546 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39547 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39548 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39549 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39550 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39551
76da7265
AZ
395522012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39553
39554 [BZ #6794]
39555 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39556 * math/libm-test.inc: Add ilogb errno and exception tests.
39557 * math/w_ilogb.c: New file: ilogb wrapper.
39558 * math/w_ilogbf.c: New file: ilogbf wrapper.
39559 * math/w_ilogbl.c: New file: ilogbl wrapper.
39560 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39561 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39562 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39563 exception being thrown with 0.0 as argument.
39564 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39565 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39566 exception being thrown with 0.0 as argument.
39567 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39568 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39569 exception being thrown with 0.0 as argument.
39570 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39571 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39572 exception being thrown with 0.0 as argument.
39573 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39574 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 39575 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
39576 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39577 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39578 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39579 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39580 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39581 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39582
0396e69d
PB
395832012-04-17 Petr Baudis <pasky@ucw.cz>
39584
39585 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39586 with altivec.
39587
750b5926
MP
395882012-04-16 Marek Polacek <polacek@redhat.com>
39589
39590 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39591
751728a1
MP
395922012-04-16 Marek Polacek <polacek@redhat.com>
39593
39594 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39595 operands of fdivp instruction.
39596
34a27407
L
395972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39598
39599 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39600 * elf/tst-auditmod3b.c: Likewise.
39601 * elf/tst-auditmod4b.c: Likewise.
39602 * elf/tst-auditmod5b.c: Likewise.
39603 * elf/tst-auditmod6b.c: Likewise.
39604 * elf/tst-auditmod6c.c: Likewise.
39605 * elf/tst-auditmod7b.c: Likewise.
39606 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39607 * sysdeps/x86_64/preconfigure.in: Likewise.
39608 * sysdeps/x86_64/preconfigure: Regenerated.
39609
7e73e17d
L
396102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39611
39612 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39613 __ILP32__.
39614
c7a6ab72
AB
396152012-04-13 Antoine Balestrat <merkil33@gmail.com>
39616
39617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39618 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39619
a9e8e0e0
CL
396202012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39621
39622 [BZ #13973]
39623 * locale/iso-639.def: Fix gl language name. Spotted by
39624 Yaron Shahrabani.
39625
ec98af7d
RM
396262012-04-12 Roland McGrath <roland@hack.frob.com>
39627
39628 [BZ #2074]
39629 * libio/libio.h (__io_write_fn): Update comment.
39630
247c3ede
PB
396312012-04-12 Petr Baudis <pasky@ucw.cz>
39632
39633 [BZ #2074]
39634 * stdio.texi (Hook Functions): The user provided writer function
39635 is not allowed to return -1.
39636
55939d6d
DM
396372012-04-11 David S. Miller <davem@davemloft.net>
39638
39639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39640
90020f5a
MF
396412012-04-11 Mike Frysinger <vapier@gentoo.org>
39642
39643 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39644 Add a leading slash to rtkaio.
39645
288f9098
JM
396462012-04-11 Jim Meyering <meyering@redhat.com>
39647
90020f5a
MF
39648 [BZ #11959]
39649 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39650 It is not necessarily an error to ignore fwrite's return
39651 value. One can reliably use ferror to test for errors after
39652 the fact.
288f9098 39653
4be2b570
L
396542012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39655
39656 * bits/types.h (__snseconds_t): New type.
39657 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39658
39659 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39661 (__SNSECONDS_T_TYPE): Likewise.
39662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39663 (__SNSECONDS_T_TYPE): Likewise.
39664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39665 (__SNSECONDS_T_TYPE): Likewise.
39666
288f9098 396672012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
39668
39669 [BZ #2636]
39670 * manual/time.texi (Processor Time): Return type of times is
39671 elapsed real time since an arbitrary point in the past.
39672 (CPU Time): Move CLK_TCK from here...
39673 (Processor Time): ...to here. Correct description.
39674 * manual/conf.texi (Constants for Sysconf): Correct description of
39675 _SC_CLK_TCK.
39676
d7dd4413
DM
396772012-04-10 David S. Miller <davem@davemloft.net>
39678
39679 [BZ #13967]
39680 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39681 where the is a gap between DT_REL(A) and DT_JMPREL.
39682
b46068fc
L
396832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39684
39685 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39686 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39687 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39688
73d65cc3
SP
396892012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39690
39691 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39692 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39693 (dl_main): Handle --inhibit-cache.
39694 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39695 _dl_inhibit_cache.
39696 * elf/dl-load.c (_dl_map_object): Use it.
39697 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39698
bcc8d661
JM
396992012-04-09 Joseph Myers <joseph@codesourcery.com>
39700
8f9a2fae
JM
39701 [BZ #13872]
39702 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39703 (__ieee754_powl): Saturate large exponents rather than testing for
39704 overflow of y*log2(x).
39705 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39706 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39707 exceptions.
39708
bcc8d661
JM
39709 [BZ #11521]
39710 * math/s_ctan.c: Include <float.h>.
39711 (__ctan): Avoid internal overflow or cancellation in calculating
39712 denominator.
39713 * math/s_ctanf.c: Likewise.
39714 * math/s_ctanl.c: Likewise.
39715 * math/s_ctanh.c: Likewise.
39716 * math/s_ctanhf.c: Likewise.
39717 * math/s_ctanhl.c: Likewise.
39718 * math/libm-test.inc (ctan_test): Add more tests.
39719 (ctanh_test): Likewise.
39720 * sysdeps/i386/fpu/libm-test-ulps: Update.
39721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39722
823fbbb4
AJ
397232012-04-09 Andreas Jaeger <aj@suse.de>
39724
03879793
AJ
39725 [BZ #6894]
39726 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39727 is an optional BSD extension.
39728
823fbbb4
AJ
39729 [BZ #10254]
39730 * manual/stdio.texi (Opening Streams): Document additional fopen
39731 parameters.
39732
8de131cb
RM
397332012-04-09 Roland McGrath <roland@hack.frob.com>
39734
39735 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39736 %eax without telling the compiler.
39737
c0ed9d7d
CD
397382012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39739
39740 [BZ # 13963]
39741 * manual/install.texi: Use sourceware.org.
39742
c483f6b4
JM
397432012-04-09 Joseph Myers <joseph@codesourcery.com>
39744
d7dd9453
JM
39745 [BZ #13873]
39746 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39747 (__ieee754_pow): Generate overflow and underflow using huge*huge
39748 and tiny*tiny rather than just returning constant infinity or zero
39749 for large exponents.
39750 * math/libm-test.inc (pow_test): Require overflow exceptions for
39751 applicable cases of large exponents.
39752
c483f6b4
JM
39753 [BZ #706]
39754 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39755 (__ieee754_pow): Use iterative multiplication algorithm only for
39756 integer exponents with absolute value below 1024. Check for odd
39757 integer exponents when using algorithm for real exponents.
39758 * math/libm-test.inc (pow_test): Add more tests.
39759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39760
d2de7579
JM
397612012-04-08 Joseph Myers <joseph@codesourcery.com>
39762
39763 [BZ #13705]
39764 * math/libm-test.inc (exp_test): Do not allow overflow exception
39765 on underflow test.
39766
f77f1232
AJ
397672012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39768
39769 [BZ #13705]
39770 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39771 instead of __kernel_standard_f.
39772
3884932b
MF
397732012-04-08 Mike Frysinger <vapier@gentoo.org>
39774
39775 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39776 * sysdeps/x86_64/memset_chk.S: Likewise.
39777
54472e9c
AJ
397782012-04-08 Andreas Jaeger <aj@suse.de>
39779
6ab0fbfc
AJ
39780 [BZ #10153]
39781 * manual/startup.texi (Environment Access): Describe return value
39782 for putenv and setenv.
39783
61efba8c
AJ
39784 [BZ #6895]
39785 * manual/filesys.texi (Directory Entries): Add description for
39786 DT_LNK.
39787
95c3f29a
AJ
39788 [BZ #6890]
39789 * manual/filesys.texi (Directory Entries): Clarify that it's file
39790 system not operating system in the description of DT_UNKNOWN.
39791
54472e9c
AJ
39792 [BZ #6578]
39793 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39794
624254b1
SC
397952012-04-08 Stephen Compall <s11@member.fsf.org>
39796
39797 [BZ #6649]
39798 * manual/llio.texi (Opening and Closing Files): Add cross
39799 reference to explain mode argument.
39800
1e4920e0
MF
398012012-04-07 Mike Frysinger <vapier@gentoo.org>
39802
39803 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39804 * sysdeps/x86_64/memset_chk.S: Likewise.
39805
5ed848f3
DM
398062012-04-07 David S. Miller <davem@davemloft.net>
39807
39808 * elf/elf.h (R_SPARC_WDISP10): Define.
39809 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39810 R_SPARC_SIZE32.
39811 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39812 R_SPARC_SIZE64 and R_SPARC_H34.
39813
96154cd8
CD
398142012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39815
39816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39817 conditions and remove no longer applicable assertion.
39818
9904dc47
L
398192012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39820
39821 * bits/byteswap.h: Include <features.h>.
39822 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39823 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39824
f8887d0a
L
398252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39826
39827 * bits/byteswap.h (__bswap_16): Removed.
39828 Include <bits/byteswap-16.h> to get __bswap_16.
39829 * sysdeps/i386/bits/byteswap.h: Likewise.
39830 * sysdeps/s390/bits/byteswap.h: Likewise.
39831 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39832 * bits/byteswap-16.h: New file.
39833 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39834 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39835 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39836 * string/Makefile (headers): Add bits/byteswap-16.h.
39837
62470f60
PP
398382012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39839
39840 [BZ #13895]
39841 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39842 extra indirection.
39843 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39844 * nss/tst-nss-static.c: New.
39845
4dad7bab
RM
398462012-04-06 Robert Millan <rmh@gnu.org>
39847
39848 [BZ #6486]
39849 * manual/llio.texi (File Position Primitive): lseek
39850 refers to WHENCE when it really means OFFSET.
39851
e9142a17
AJ
398522012-04-06 Andreas Jaeger <aj@suse.de>
39853
2c040eff
AJ
39854 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39855 strncmp declarations.
39856
e9142a17
AJ
39857 * abilist/libc.abilist: Add __poll and __ppoll.
39858
ff9f1c5f
DM
398592012-04-05 David S. Miller <davem@davemloft.net>
39860
dcd2ae90
DM
39861 * scripts/check-local-headers.sh: Accept a host triplet in the
39862 path matched by the exclude regexp.
39863
993eb054
DM
39864 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39865 definition.
39866 * sysdeps/powerpc/powerpc32/dl-machine.h
39867 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39868 * sysdeps/s390/s390-32/dl-machine.h
39869 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39870 * sysdeps/sparc/sparc32/dl-machine.h
39871 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39872 * sysdeps/sparc/sparc64/dl-machine.h
39873 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39874
ff9f1c5f
DM
39875 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39876 lazy binding.
48e2e132 39877 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
39878 undefined symbol errors.
39879
48e2e132 39880 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
39881 DT_NEEDED entries.
39882
e80d6f94
MM
398832012-04-05 Michael Matz <matz@suse.de>
39884
39885 [BZ #13592]
39886 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39887
349fa79f
AJ
398882012-04-05 Andreas Jaeger <aj@suse.de>
39889
39890 [BZ #13908]
39891 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39892 comment.
39893
f402708f
KK
398942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39895
39896 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39897 which ROUND is no valid rounding mode.
39898
2ecccfc9
KK
398992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39900
39901 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39902 read again.
39903 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39904
8a53f50f
KK
399052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39906
39907 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39908 an exception using FPU order intentionally.
39909
399102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39911
39912 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39913 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39914 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39915 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39916
d653abb7
SJ
399172012-04-05 Simon Josefsson <simon@josefsson.org>
39918
39919 [BZ #12340]
39920 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39921 EINVAL when BUFLEN is too smal.
39922
c3b1bf7d
TS
399232012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39924
39925 [BZ #13553]
39926 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39927 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39928
b1aa60f3
AJ
399292012-04-03 Andreas Jaeger <aj@suse.de>
39930
c3b1bf7d 39931 [BZ #13938]
67f60a26
AJ
39932 * manual/setjmp.texi (System V contexts): Fix sentence.
39933
b1aa60f3
AJ
39934 [BZ #13926]
39935 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39936 New macro for this case.
39937 [!__GNUC__] (__bswap_64): New inline function for this case.
39938 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39939 * bits/byteswap.h: Likewise.
39940 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39941 ull, guard with __GLIBC_HAVE_LONG_LONG.
39942
39943 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39944 __GLIBC_HAVE_LONG_LONG.
39945
39946 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39947 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39948
39c59c35
TMQMF
399492012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39950
39951 [BZ #13691]
39952 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39953 inptr and inend, rather than using last_ch.
39954
135ffda8
DM
399552012-04-02 David S. Miller <davem@davemloft.net>
39956
39957 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39958 * stdio-common/printf-parse.h (read_int): Change return type to
39959 'int', return -1 on INT_MAX overflow.
39960 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39961 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39962 overflows INT_MAX. Check for overflow of in-format-string precision
39963 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39964 SIZE_MAX not INT_MAX for integer overflow test.
39965 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39966 skip the construct in the format string but do not record anything.
39967 * stdio-common/bug22.c: Adjust to test both width/prevision
39968 INT_MAX overflow as well as total length INT_MAX overflow. Check
39969 explicitly for proper errno values.
39970
228c019e
TS
399712012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39972
302cadd3
TS
39973 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39974 CHAR_MAX.
39975 * string/test-strcmp.c [! WIDE]: Likewise.
39976 * time/tst-mktime2.c: Likewise for INT_MAX.
39977 * string/test-string.h: #include <sys/param.h> for MIN.
39978
228c019e
TS
39979 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39980 * sysdeps/i386/init-first.c (init): Likewise.
39981 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39982 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39983 * sysdeps/sh/init-first.c (init): Likewise.
39984
cfa633f5
UD
399852012-04-01 Ulrich Drepper <drepper@gmail.com>
39986
39987 * po/ru.po: Update from translation team.
d1635ef8 39988 * po/vi.po: Likewise.
cfa633f5 39989
6cd0a5ea
SP
399902012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39991
39992 * resolv/nss_dns/dns-host.c: Merge copyright years.
39993
4b43400f
LD
399942012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39995
39996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39997 Optimize memcpy with prefetch if
39998 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39999 src, dst pointers have unequal 16 byte alignments.
40000
48c41d04
SP
400012012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40002
40003 [BZ #13928]
40004 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40005 from a CNAME entry and return the minimum ttl for the query.
40006 (gaih_getanswer_slice): Likewise.
40007
b8dc394d
JL
400082012-03-30 Jeff Law <law@redhat.com>
40009
40010 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40011 due to long keys.
40012 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40013 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40014
2f5a5ed0
JL
40015 * resolv/nss_dns/dns-host.c: Update copyright year.
40016
1d39e359
UD
400172012-03-30 Ulrich Drepper <drepper@gmail.com>
40018
c030f70c 40019 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40020 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40021
1d39e359
UD
40022 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40023 comments for sendmmsg.
40024
400252012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40026
40027 [BZ #13691]
40028 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40029 with only 1 character between 0x0041 and 0x01b0.
40030 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40031 * wcsmbs/tst-mbsnrtowcs.c: New file.
40032
20fde227
DM
400332012-03-29 David S. Miller <davem@davemloft.net>
40034
40035 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40036 small copies by hand.
40037
984a4237
JL
400382012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40039
40040 [BZ #13761]
57f41c40
AS
40041 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40042 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40043 group memberships.
984a4237 40044
18c9d62b
DM
400452012-03-28 David S. Miller <davem@davemloft.net>
40046
88d85d4f
DM
40047 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40048 that branches into memcpy.
40049 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40050 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40051 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40052 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40054 bits.
40055 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40056 implementation too.
40057 * sysdeps/sparc/mempcpy.S: New file.
40058
e5aa83e1
DM
40059 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40060 the IFUNC routine in the libc case.
40061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40062
88570753
DM
40063 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40064 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40065 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40066 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40067 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40068 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40069 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40070 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40071
249d7567
DM
40072 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40073 loop to 256 bytes instead of 64 bytes and fix test signedness.
40074
18c9d62b
DM
40075 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40076 * sysdeps/sparc/sparc32/Makefile: rather than here...
40077 * sysdeps/sparc/sparc64/Makefile: and here.
40078
05f3d1f6
UD
400792012-03-28 Ulrich Drepper <drepper@gmail.com>
40080
40081 * malloc/mallocbug.c: Avoid warnings about unused variables.
40082
86ae07a8
JL
400832012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40084
40085 [BZ #13760]
40086 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40087 in the right place. Discard and retry query if response is
40088 larger than input buffer size.
40089
41bf21a1
JM
400902012-03-28 Joseph Myers <joseph@codesourcery.com>
40091
d6270972
JM
40092 [BZ #369]
40093 [BZ #2678]
40094 [BZ #3866]
40095 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40096 x for large integer exponent.
40097 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40098 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40099 sign of result as needed afterwards.
40100 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40101 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40102 result for underflowing pow the same as for overflow.
40103 (__kernel_standard_l): Handle powl overflow and underflow here
40104 rather than calling __kernel_standard.
40105 * math/libm-test.inc (pow_test): Add more tests.
40106
414fca03 40107 [BZ #3868]
41bf21a1
JM
40108 [BZ #13879]
40109 [BZ #13910]
40110 [BZ #13911]
40111 [BZ #13912]
40112 [BZ #13913]
40113 [BZ #13915]
40114 [BZ #13916]
40115 [BZ #13917]
40116 [BZ #13918]
40117 [BZ #13919]
40118 [BZ #13920]
40119 [BZ #13921]
40120 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40121 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40122 (__kernel_standard_l): New function.
40123 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40124 __kernel_standard.
40125 * math/w_acosl.c (__acosl): Likewise.
40126 * math/w_asinl.c (__asinl): Likewise.
40127 * math/w_atan2l.c (__atan2l): Likewise.
40128 * math/w_atanhl.c (__atanhl): Likewise.
40129 * math/w_coshl.c (__coshl): Likewise.
40130 * math/w_exp10l.c (__exp10l): Likewise.
40131 * math/w_exp2l.c (__exp2l): Likewise.
40132 * math/w_fmodl.c (__fmodl): Likewise.
40133 * math/w_hypotl.c (__hypotl): Likewise.
40134 * math/w_j0l.c (__j0l, __y0l): Likewise.
40135 * math/w_j1l.c (__j1l, __y1l): Likewise.
40136 * math/w_jnl.c (__jnl, __ynl): Likewise.
40137 * math/w_lgammal.c (__lgammal): Likewise.
40138 * math/w_log10l.c (__log10l): Likewise.
40139 * math/w_log2l.c (__log2l): Likewise.
40140 * math/w_logl.c (__logl): Likewise.
40141 * math/w_powl.c (__powl): Likewise.
40142 * math/w_remainderl.c (__remainderl): Likewise.
40143 * math/w_scalbl.c (sysv_scalbl): Likewise.
40144 * math/w_sinhl.c (__sinhl): Likewise.
40145 * math/w_sqrtl.c (__sqrtl): Likewise.
40146 * math/w_tgammal.c (__tgammal): Likewise.
40147 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40148 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40149 * math/libm-test.inc (acos_test): Add more tests.
40150 (acosh_test): Likewise.
40151 (asin_test): Likewise.
40152 (atanh_test): Likewise.
40153 (exp_test): Likewise.
40154 (exp10_test): Likewise.
40155 (exp2_test): Likewise.
40156 (expm1_test): Likewise.
40157 (lgamma_test): Likewise.
40158 (log_test): Likewise.
40159 (log10_test): Likewise.
40160 (log1p_test): Likewise.
40161 (log2_test): Likewise.
40162 (pow_test): Do not allow some spurious overflow exceptions.
40163 (sqrt_test): Add more tests.
40164 (tgamma_test): Likewise.
40165 (y0_test): Likewise.
40166 (y1_test): Likewise.
40167 (yn_test): Likewise.
40168
dd62fda6
AB
401692012-03-27 Anton Blanchard <anton@samba.org>
40170
40171 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40172 MAP_HUGETLB.
40173 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40174 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40176
1e3cdfda
AJ
401772012-03-27 David S. Miller <davem@davemloft.net>
40178
b855ab85
DM
40179 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40180
1e3cdfda
AJ
40181 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40182 have-as-vis3 check.
40183
401842012-03-27 Andreas Jaeger <aj@suse.de>
40185
40186 * sysdeps/x86_64/elf/configure.in: Moved to ...
40187 * sysdeps/x86_64/configure.in: ... here.
40188 * sysdeps/x86_64/elf/start.S: Moved to ...
40189 * sysdeps/x86_64/start.S: ... here.
40190 * sysdeps/x86_64/elf/configure: Delete.
40191
40192 * sysdeps/x86_64/configure.in: Merge contents from
40193 sysdeps/i386/configure.in (without i686 check).
40194
40195 * sysdeps/i386/elf/Versions: Merge into ...
40196 * sysdeps/i386/Versions: ... this.
40197 * sysdeps/i386/elf/Versions: Delete file.
40198 * sysdeps/i386/elf/start.S: Moved to ...
40199 * sysdeps/i386/start.S: ...here.
40200 * sysdeps/i386/elf/configure.in: Merge into...
40201 * sysdeps/i386/configure.in: ...here.
40202 * sysdeps/i386/elf/configure.in: Delete file.
40203 * sysdeps/i386/elf/configure: Delete file.
40204
40205 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40206 * debug/backtracesyms.c: ... here.
40207 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40208 * debug/backtracesymsfd.c: ... here.
40209 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40210 * sysdeps/generic/ifunc-sel.h: ... here.
40211
40212 * sysdeps/unix/i386/start.c: Delete file.
40213 * sysdeps/unix/sparc/start.c: Delete file.
40214 * sysdeps/unix/start.c: Delete file.
40215
40216 * sysdeps/sh/elf/configure.in: Moved to ...
40217 * sysdeps/sh/configure.in: ... here.
40218 * sysdeps/sh/elf/start.S: Moved to ...
40219 * sysdeps/sh/start.S: ... here.
40220 * sysdeps/sh/elf/configure: Delete file.
40221
40222 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40223 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40224 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40225 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40226 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40227 * sysdeps/powerpc/powerpc64/start.S: here.
40228 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40229 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40230 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40231 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40232 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40233
40234 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40235 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40236 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40237 * sysdeps/powerpc/powerpc32/start.S: ... here.
40238 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40239 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40240 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40241
40242 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40243 * sysdeps/powerpc/ifunc-sel.h: ... here.
40244 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40245 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40246
40247 * sysdeps/sparc/elf/configure.in: Moved to ...
40248 * sysdeps/sparc/configure.in: ... here.
40249 * sysdeps/sparc/elf/configure: Delete file.
40250 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40251 * sysdeps/sparc/sparc32/start.S: ... here.
40252 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40253 * sysdeps/sparc/sparc64/start.S: ... here.
40254 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40255 * sysdeps/sparc/sparc32/Makefile: ... this.
40256 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40257 * sysdeps/sparc/sparc64/Makefile: ... this.
40258
40259 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40260 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40261 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40262 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40263 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40264 * sysdeps/s390/s390-32/setjmp.S: ... here.
40265 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40266 * sysdeps/s390/s390-32/configure.in: ... here.
40267 * sysdeps/s390/s390-32/elf/configure: Delete file.
40268 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40269 * sysdeps/s390/s390-32/start.S: ... here.
40270
40271 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40272 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40273 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40274 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40275 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40276 * sysdeps/s390/s390-64/setjmp.S: ... here.
40277 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40278 * sysdeps/s390/s390-64/configure.in: ... here
40279 * sysdeps/s390/s390-64/elf/configure: Delete file.
40280 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40281 * sysdeps/s390/s390-64/start.S: ... here.
40282 * sysdeps/s390/s390-64/elf/configure: Delete.
40283
40284 * configure.in: Remove support for elf directories in sysdeps.
40285
40286 * configure: Regenerated.
40287 * sysdeps/i386/configure: Regenerated.
40288 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40289 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40290 * sysdeps/s390/s390-32/configure: Regenerated.
40291 * sysdeps/s390/s390-64/configure: Regenerated.
40292 * sysdeps/sh/configure: Regenerated.
40293 * sysdeps/sparc/configure: Regenerated.
40294 * sysdeps/x86_64/configure: Regenerated.
40295
a3f61311
AS
402962012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40297
c876e002
AS
40298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40299
a3f61311
AS
40300 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40301 denormal result into account.
40302
ac4c54f0
RM
403032012-03-25 Roland McGrath <roland@hack.frob.com>
40304
40305 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40306 Reported by Allan McRae <allan@archlinux.org>.
40307
6a9b9c02
JL
403082012-03-23 Jeff Law <law@redhat.com>
40309
40310 * nss/getnssent.c (__nss_getent): Fix typo.
40311
4c42a0c1
DM
403122012-03-23 David S. Miller <davem@davemloft.net>
40313
40314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40315
1532c7ac
L
403162012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40317
40318 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40319 to pad to uint64_t for each field.
40320 (dl_tls_index): Replace unsigned long with uint64_t.
40321
3ff42526
PP
403222012-03-23 Daniel Jacobowitz <dmj@google.com>
40323 Paul Pluzhnikov <ppluzhnikov@google.com>
40324
40325 [BZ #6528]
40326 * grp/Makefile (otherlibs): Don't set it.
40327 * inet/Makefile (otherlibs): Likewise.
40328 * login/Makefile (otherlibs): Likewise.
40329 * nscd/Makefile (otherlibs): Likewise.
40330 * posix/Makefile (otherlibs): Likewise.
40331 * pwd/Makefile (otherlibs): Likewise.
40332 * rt/Makefile (otherlibs): Likewise.
40333 * sunrpc/Makefile (otherlibs): Likewise.
40334 * nss/Makefile (otherlibs): Likewise.
40335 Add libnss_files to routines and static-only-routines.
40336 ($(objpfx)getent): Remove rule.
40337 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40338 static-only-routines.
40339
7c69cd14
JM
403402012-03-22 Joseph Myers <joseph@codesourcery.com>
40341
40342 [BZ #13892]
40343 * math/s_cexp.c: Include <float.h>.
40344 (__cexp): Handle exp result overflowing not necessarily
40345 overflowing both real and imaginary parts of result.
40346 * math/s_cexpf.c: Likewise.
40347 * math/s_cexpl.c: Likewise.
40348 * math/libm-test.inc (cexp_test): Add more tests.
40349 * sysdeps/i386/fpu/libm-test-ulps: Update.
40350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40351
81b035fe
L
403522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40353
40354 * include/link.h (ELFW): New macro.
40355 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40356 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40357
1da7940c
L
403582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40359
40360 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40361 with uint64_t.
40362
b749dbb9
L
403632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40364
40365 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40366 declaration.
40367 (struct La_x32_retval): Likewise.
40368
2ff87f3f
L
403692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40370
40371 * sysdeps/x86_64/preconfigure.in: New file.
40372 * sysdeps/x86_64/preconfigure: New generated file.
40373
c0df8e69
JM
403742012-03-22 Joseph Myers <joseph@codesourcery.com>
40375
48e44791
JM
40376 [BZ #13824]
40377 * math/e_exp2l.c: Include <float.h>.
40378 (__ieee754_exp2l): Handle overflow and underflow cases
40379 separately. Only pass fractional part of argument to
40380 __ieee754_expl.
40381 * math/libm-test.inc (exp2_test): Add more tests.
40382
c0df8e69
JM
40383 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40384 negating x to take absolute value.
40385 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40386 Likewise.
40387 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40388 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40389 Likewise.
40390 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40391 computing low part if x was negated.
40392 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40393
c8e43ba7
L
403942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40395
40396 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40397 la_x32_gnu_pltexit.
40398 (pltexit): Cast int_retval to ptrdiff_t.
40399 * elf/tst-auditmod3b.c: Likewise.
40400 * elf/tst-auditmod4b.c: Likewise.
40401 * elf/tst-auditmod5b.c: Likewise.
40402 * elf/tst-auditmod6b.c: Likewise.
40403 * elf/tst-auditmod6c.c: Likewise.
40404 * elf/tst-auditmod7b.c: Likewise.
40405
40406 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40407 and x32_gnu_pltexit.
40408
40409 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40410 __ELF_NATIVE_CLASS.
40411 (La_x32_regs): New macro.
40412 (La_x32_retval): Likewise.
40413 (la_x32_gnu_pltenter): New function prototype.
40414 (la_x32_gnu_pltexit): Likewise.
40415
7998fa78
AS
404162012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40417
dcb33988
AS
40418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40419 exponent.
40420
233fc563
AS
40421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40422
7998fa78
AS
40423 * configure.in (libc_cv_cc_nofma): Check for option to disable
40424 generation of FMA instructions.
40425 * configure: Regenerate.
40426 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40427 * sysdeps/ieee754/dbl-64/Makefile: New file.
40428 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40429 Remove brandred-fma4.
40430 (CFLAGS-brandred-fma4.c): Remove.
40431 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40432 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40433 define.
40434 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40435 define.
40436
8e95c99a
L
404372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40438
40439 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40440 LLONG_MAX != LONG_MAX.
40441 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40442 (_fitoa_word): Likewise.
40443 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40444 LLONG_MAX != LONG_MAX.
40445 * stdio-common/_itowa.h: Include <_itoa.h>.
40446 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40447 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40448 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40449 only if not defined.
40450 (_ITOA_WORD_TYPE): Likewise.
40451 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40452 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40453
6f4db457
DM
404542012-03-21 David S. Miller <davem@davemloft.net>
40455
40456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40457
7785fe5a
L
404582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40459
40460 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40461 of x86_64 when setting libc_cv_slibdir, libdir and
40462 libc_cv_localedir.
40463 * sysdeps/unix/sysv/linux/configure: Regenerated.
40464
4535cd55
JM
404652012-03-21 Joseph Myers <joseph@codesourcery.com>
40466
40467 * manual/lang.texi (Old Varargs): Remove section.
40468 (How Variadic): Update menu.
40469 (va_start): Do not mention varargs.h.
40470
17228132
TS
404712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40472 Joseph Myers <joseph@codesourcery.com>
40473
40474 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40475 link test.
40476 * configure: Regenerated.
40477
8149f976
TS
404782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40479
05f3d1f6
UD
40480 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40481 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40482 conformtest.pl
8149f976 40483
1a4ac776
JM
404842012-03-21 Joseph Myers <joseph@codesourcery.com>
40485
be22ce65
JM
40486 * NOTES: Remove.
40487 * Makefile (files-for-dist): Remove NOTES.
40488 (NOTES): Remove rule.
40489 * README: Don't refer to NOTES.
40490 * manual/creature.texi: Don't include macros.texi.
40491 * manual/intro.texi (creature.texi): Remove comment referring to
40492 NOTES.
40493
40b601fb
JM
40494 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40495 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40496 * configure: Regenerated.
40497 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40498 LIBC_TRY_CC_OPTION.
40499 (libc_cv_as_i686): Likewise.
40500 (libc_cv_cc_avx): Likewise.
40501 (libc_cv_cc_sse2avx): Likewise.
40502 (libc_cv_cc_fma4): Likewise.
40503 (libc_cv_cc_novzeroupper): Likewise.
40504 * sysdeps/i386/configure: Regenerated.
40505
1a4ac776
JM
40506 [BZ #13883]
40507 * sysdeps/i386/fpu/s_cexp.S: Remove.
40508 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40509 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40510 * math/libm-test.inc (cexp_test): Add more tests.
40511 * sysdeps/i386/fpu/libm-test-ulps: Update.
40512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40513
a458e7fe
AM
405142012-03-21 Allan McRae <allan@archlinux.org>
40515
40516 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40517
0cb7efc5
JM
405182012-03-21 Joseph Myers <joseph@codesourcery.com>
40519
40520 [BZ #13871]
40521 * math/w_exp2.c: Do not include <float.h>.
40522 (o_threshold, u_threshold): Remove.
40523 (__exp2): Calculate result before checking finiteness and calling
40524 __kernel_standard.
40525 * math/w_exp2f.c: Likewise.
40526 * math/w_exp2l.c: Likewise.
40527 * math/libm-test.inc (exp2_test): Require overflow exception for
40528 1e6 input.
2460d3aa
JM
40529
40530 [BZ #3866]
40531 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40532 range of signed 64-bit integers before using fistpll. Remove
40533 checks for whether integers fit in mantissa bits.
40534 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40535 the range of signed 32-bit integers before using fistpl. Remove
40536 checks for whether integers fit in mantissa bits.
40537 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40538 (__ieee754_powl): Test for y outside the range of signed 64-bit
40539 integers before using fistpll. Reduce 64-bit values to 63-bit
40540 ones as needed.
40541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40542 divide-by-zero is raised for zero to large negative powers.
40543 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40544 (__ieee754_powl): Test for y outside the range of signed 64-bit
40545 integers before using fistpll. Reduce 64-bit values to 63-bit
40546 ones as needed.
40547 * math/libm-test.inc (pow_test): Add more tests.
40548
eb96ffb0
L
405492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40550
40551 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40552 <stdio-common/_itoa.h>.
40553 * debug/segfault.c: Likewise.
40554 * elf/dl-cache.c: Likewise.
40555 * elf/dl-minimal.c: Likewise.
40556 * elf/dl-misc.c: Likewise.
40557 * elf/dl-sysdep.c: Likewise.
40558 * elf/dl-version.c: Likewise.
40559 * elf/rtld.c: Likewise.
40560 * hurd/hurdsock.c: Likewise.
40561 * hurd/lookup-retry.c: Likewise.
40562 * malloc/malloc.c: Likewise.
40563 * malloc/mtrace.c: Likewise.
40564 * nscd/nscd_getgr_r.c: Likewise.
40565 * nscd/nscd_getpw_r.c: Likewise.
40566 * nscd/nscd_getserv_r.c: Likewise.
40567 * posix/getopt_init.c: Likewise.
40568 * posix/wordexp.c: Likewise.
40569 * stdio-common/_itoa.c: Likewise.
40570 * stdio-common/printf_fphex.c: Likewise.
40571 * stdio-common/vfprintf.c: Likewise.
40572 * string/_strerror.c: Likewise.
40573 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40574 * sysdeps/i386/i686/hp-timing.h: Likewise.
40575 * sysdeps/mach/_strerror.c: Likewise.
40576 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40577 * sysdeps/mach/hurd/sethostid.c: Likewise.
40578 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40579 * sysdeps/mach/xpg-strerror.c: Likewise.
40580 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40581 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40582 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40583 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40584 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40585 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40586 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40587 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40588 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40589 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40590 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40591 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40592 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40593 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40594 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40595 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40596 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40597 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40598 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40599 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40600 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40601
40602 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40603
40604 * stdio-common/_itoa.h: Moved to ...
40605 * sysdeps/generic/_itoa.h: Here.
40606
40607 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40608
40609 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40610 instead of "_itoa.h" and "_itowa.h".
40611 * stdio-common/vfprintf.: Likewise.
40612
d1af992d
L
406132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40614
40615 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40616 <bits/wordsize.h>.
40617 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40618 (__signbit): Likwise.
40619 (llrintf): Likwise.
40620 (llrint): Likwise.
40621
114883e0
L
406222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40623
40624 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40625 __WORDSIZE != 64.
40626
c135cc1b
JM
406272012-03-20 Joseph Myers <joseph@codesourcery.com>
40628
40629 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40630 OVERFLOW_EXCEPTION_OK.
40631 * math/libm-test.inc ("Philosophy"): Update comment about
40632 exception testing.
40633 (OVERFLOW_EXCEPTION): Define.
40634 (OVERFLOW_EXCEPTION_OK): Likewise.
40635 (INVALID_EXCEPTION_OK): Renumber.
40636 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40637 (IGNORE_ZERO_INF_SIGN): Likewise.
40638 (test_exceptions): Handle FE_OVERFLOW.
40639 (exp10_test): Expect overflow exceptions.
40640 (exp2_test): Likewise.
40641 (expm1_test): Likewise.
40642 (nextafter_test): Likewise.
40643 (pow_test): Likewise.
40644 (scalbn_test): Likewise.
40645 (scalbln_test): Likewise.
40646
95443d88
L
406472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40648
40649 * sysdeps/x86_64/bits/atomic.h
40650 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40651 64bit integer.
40652 (atomic_exchange_acq): Likewise.
40653 (__arch_exchange_and_add_body): Likewise.
40654 (__arch_add_body): Likewise.
40655 (atomic_add_negative): Likewise.
40656 (atomic_add_zero): Likewise.
40657
490df6c4
L
406582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40659
c2722551 40660 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
40661 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40662
5e52b189
L
406632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40664
40665 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40666 Check __x86_64__ instead of __WORDSIZE.
40667
a9879d4c
L
406682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40669
40670 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40671
5df98260
DM
406722012-03-19 David S. Miller <davem@davemloft.net>
40673
e1497744
DM
40674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40675
5df98260
DM
40676 * sysdeps/sparc/fpu/fenv_private.h: New file.
40677 * sysdeps/sparc/fpu/math_private.h: Use it.
40678 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40679 Remove.
57f41c40 40680 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
40681 (libc_feholdexcept_setroundl): Remove.
40682 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40683 Remove.
40684 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40685 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40686
b4c35121
L
406872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40688
40689 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40690 int64_t instead of long int.
40691 (INSERT_WORDS64): Likwise.
40692
56965fd7
L
406932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40694
40695 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40696 _Unwind_GetCFA return to _Unwind_Ptr first.
40697
83d1aec8
JM
406982012-03-19 Joseph Myers <joseph@codesourcery.com>
40699
1897ad44
JM
40700 [BZ #13629]
40701 * math/s_clog.c: Include <float.h>.
40702 (__clog): Scale large or subnormal inputs.
40703 * math/s_clogf.c: Likewise.
40704 * math/s_clogl.c: Likewise.
40705 * math/s_clog10.c: Include <float.h>.
40706 (M_LOG10_2): Define.
40707 (__clog10): Scale large or subnormal inputs.
40708 * math/s_clog10f.c: Likewise.
40709 * math/s_clog10l.c: Likewise.
40710 * math/libm-test.inc (clog_test): Add more tests.
40711 (clog10_test): Likewise.
40712 * sysdeps/i386/fpu/libm-test-ulps: Update.
40713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40714
7726d6a9
JM
40715 [BZ #11451]
40716 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40717 x and y.
40718 * math/libm-test.inc (atan2_test): Add another test.
40719
83d1aec8
JM
40720 * Makerules (common-objdir-compile): Remove.
40721 * sysdeps/unix/Makefile (config-generated): Do not add
40722 $(unix-generated) to variable.
40723 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40724 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40725 Remove rule.
40726 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40727 Likewise.
40728 [generic bits/local_lim.h] (before-compile): Do not append to
40729 variable.
40730 [generic bits/local_lim.h] (common-generated): Likewise.
40731 [generic sys/param.h] (before-compile): Do not append to variable.
40732 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40733 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40734 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40735 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40736 include.
40737 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40738 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40739 [generic sys/param.h] ($(addprefix
40740 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40741 [generic sys/param.h] (common-generated): Do not append to
40742 variable.
40743 [generic sys/param.h] (sysdep_headers): Likewise.
40744 [generic bits/errno.h] (before-compile): Do not append to
40745 variable.
40746 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40747 rule.
40748 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40749 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40750 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40751 [generic bits/errno.h] (common-generated): Do not append to
40752 variable.
40753 [generic bits/ioctls.h] (before-compile): Do not append to
40754 variable.
40755 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40756 rule.
40757 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40758 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40759 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40760 rule.
40761 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40762 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40763 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40764 [generic bits/ioctls.h] (common-generated): Do not append to
40765 variable.
40766 [generic sys/syscall.h] (syscall.h): Remove variable.
40767 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40768 rule.
40769 [generic sys/syscall.h] (before-compile): Do not append to
40770 variable.
40771 [generic sys/syscall.h] (common-generated): Likewise.
40772 * sysdeps/unix/errnos-tmpl.c: Remove file.
40773 * sysdeps/unix/errnos.awk: Likewise.
40774 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40775 * sysdeps/unix/ioctls.awk: Likewise.
40776 * sysdeps/unix/mk-local_lim.c: Likewise.
40777 * sysdeps/unix/snarf-ioctls: Likewise.
40778
4851a949
RH
407792012-03-19 Richard Henderson <rth@twiddle.net>
40780
bd37f2ee
RH
40781 * sysdeps/i386/fpu/fenv_private.h: New file.
40782 * sysdeps/i386/fpu/math_private.h: Use it.
40783 (math_opt_barrier, math_force_eval): Remove.
40784 (libc_feholdexcept_setround_53bit): Remove.
40785 (libc_feupdateenv_53bit): Remove.
40786 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40787 (math_opt_barrier, math_force_eval): Remove.
40788 (libc_feholdexcept): Remove.
40789 (libc_feholdexcept_setround): Remove.
40790 (libc_fetestexcept, libc_fesetenv): Remove.
40791 (libc_feupdateenv_test): Remove.
40792 (libc_feupdateenv, libc_feholdsetround): Remove.
40793 (libc_feresetround): Remove.
40794
d0adc922
RH
40795 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40796 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40797
0fe0f1f8
RH
40798 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40799 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40800 (libc_feupdateenv_testl): New.
40801 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40802 (libc_feupdateenv_testf): New.
40803 (libc_feupdateenv): Use libc_feupdateenv_test.
40804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40805 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40806
eb92c487
RH
40807 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40808 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40809 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40810 (libc_feresetround_noex): New.
40811 (libc_feresetround_noexf): New.
40812 (libc_feresetround_noexl): New.
40813 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40814 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40815 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40816 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40817 SET_RESTORE_ROUND.
40818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40819 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40820 (__cos): Likewise.
40821 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40822 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40823 SET_RESTORE_ROUND_NOEX.
40824 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40825 SET_RESTORE_ROUND_NOEXF.
40826 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40827 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40828 (libc_feholdsetroundf): New.
40829 (libc_feresetround, libc_feresetroundf): New.
40830
7d2e8012
RH
40831 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40832 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40833 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40834
b4dabbb4
RH
40835 * sysdeps/generic/math_private.h: Include <fenv.h>.
40836 (default_libc_feholdexcept): New.
40837 (default_libc_feholdexcept_setround): New.
40838 (default_libc_fesetenv, default_libc_feupdateenv): New.
40839 (libc_feholdexcept): Only define if undefined.
40840 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40841 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40842 (libc_feholdexcept_setroundl): Likewise.
40843 (libc_feholdexcept_setround_53bit): Likewise.
40844 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40845 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40846 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40847 (libc_feupdateenv_53bit): Likewise.
40848 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40849 (libc_feholdexcept): Convert from macro to inline function.
40850 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40851 (libc_fesetenv, libc_feupdateenv): Likewise.
40852
4851a949
RH
40853 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40854 not previously defined.
40855 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40856 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40857 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40858 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40859 * sysdeps/ieee754/flt-32/math_private.h: New file.
40860 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40861 math_private.h below SET_FLOAT_WORD.
40862 (__isnan, __isinf_ns, __finite): Remove.
40863 (__isnanf, __isinf_nsf, __finitef): Remove.
40864
e79d442e
AS
408652012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40866
40867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40868
90b80344
DM
408692012-03-17 David S. Miller <davem@davemloft.net>
40870
40871 [BZ #6471]
40872 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40873 for 2.16.
40874
edc21804
DM
408752012-03-16 David S. Miller <davem@davemloft.net>
40876
77e927af
DM
40877 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40878 warnings.
40879
374976dd
DM
40880 [BZ #6471]
40881 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40882 properly.
40883 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40884 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40885 sysdep_routines when subdir is sysvipc.
40886 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40887 __getshmlba helper.
40888
edc21804
DM
40889 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40890
473c3ef3
L
408912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40892
40893 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40894 [__LP64__].
40895
eb0f39b6
L
408962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40897
40898 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40899 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40900 (__lround): Renamed to ...
40901 (__llround): This. Replace long int with long long int.
40902 Define lround functions as aliases of llround functions.
40903 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40904
6b6cd74b
L
409052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40906
40907 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40908 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40909 adresses to uintptr_t. Replace "long int" and "unsigned long
40910 int" with "greg_t" on va_arg.
40911
f1a77b01
L
409122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40913
40914 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40915 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40916
40917 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40918 Move e_machine check before EI_CLASS check. Handle x32
40919 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40920 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40921 SKIP_EM_IA_64 and include
40922 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40923
40924 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40925 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40926 (add_system_dir): New macro.
40927
40928 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40929 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40930
11b90b9f
JM
409312012-03-16 Joseph Myers <joseph@codesourcery.com>
40932
c36e1d23
JM
40933 [BZ #2551]
40934 [BZ #2552]
40935 [BZ #2553]
40936 [BZ #2554]
40937 [BZ #2562]
40938 [BZ #2563]
40939 [BZ #2565]
40940 [BZ #2566]
40941 [BZ #2576]
40942 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40943 (y0): Likewise.
40944 * math/w_j0f.c (j0f): Likewise.
40945 (y0f): Likewise.
40946 * math/w_j0l.c (__j0l): Likewise.
40947 (__y0l): Likewise.
40948 * math/w_j1.c (j1): Likewise.
40949 (y1): Likewise.
40950 * math/w_j1f.c (j1f): Likewise.
40951 (y1f): Likewise.
40952 * math/w_j1l.c (__j1l): Likewise.
40953 (__y1l): Likewise.
40954 * math/w_jn.c (jn): Likewise.
40955 (yn): Likewise.
40956 * math/w_jnf.c (jnf): Likewise.
40957 (ynf): Likewise.
40958 * math/w_jnl.c (__jnl): Likewise.
40959 (__ynl): Likewise.
40960 * math/libm-test.inc (j0_test): Add more tests.
40961 (j1_test): Likewise.
40962 (jn_test): Likewise. Add trailing semicolon to existing test.
40963 (y0_test): Likewise.
40964 (y1_test): Likewise.
40965 * sysdeps/i386/fpu/libm-test-ulps: Update.
40966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40967
11b90b9f
JM
40968 [BZ #13851]
40969 [BZ #13854]
40970 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40971 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40972 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40973 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40974 (__tanl): Set errno for infinite argument.
40975 * sysdeps/i386/fpu/mptan.c: Remove.
40976 * sysdeps/i386/fpu/s_tan.S: Likewise.
40977 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40978 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40979 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40980 * math/libm-test.inc (tan_test): Add more tests and enable more
40981 tests for double and long double.
40982 * sysdeps/i386/fpu/libm-test-ulps: Update.
40983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40984
6a1bd2a1
JK
409852012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40986
40987 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40988 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40989
10a803e0
RM
409902012-03-16 Roland McGrath <roland@hack.frob.com>
40991
40992 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40993 * configure.in: Use it for both main tree and add-ons.
40994 * configure: Regenerated.
40995
f196c7f7
L
409962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40997
40998 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40999
8848d99d
JM
410002012-03-16 Joseph Myers <joseph@codesourcery.com>
41001
96cbe7f4
JM
41002 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41003 in comment.
41004
8848d99d
JM
41005 [BZ #13851]
41006 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41007 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41011 infinite argument.
41012 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41013 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41014 != 0 for prec == 2.
41015 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41016 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41017 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41018 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41019 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41020 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41021 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41022 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41023 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41024 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41025 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41026 * math/libm-test.inc (cos_test): Add more tests and enable more
41027 tests for long double.
41028 (sin_test): Likewise.
41029 (sincos_test): Likewise.
41030 * sysdeps/i386/fpu/libm-test-ulps: Update.
41031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41032
dd7f4703
DM
410332012-03-16 David S. Miller <davem@davemloft.net>
41034
41035 * sysdeps/sparc/fpu/math_private.h: New file.
41036
006f1daa
DM
410372012-03-15 David S. Miller <davem@davemloft.net>
41038
c0c83bc8
DM
41039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41040 file.
e6a62e18 41041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41043 file.
e6a62e18
DM
41044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41050 sysdep routines.
41051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41052
88cb87d9
DM
41053 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41054 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41055
006f1daa 41056 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41058 sparc-ifunc.h
006f1daa 41059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41061 Likewise.
41062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41063 Likewise.
006f1daa
DM
41064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41068 Likewise.
006f1daa
DM
41069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41074 Likewise.
41075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41076 Likewise.
006f1daa
DM
41077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41083 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41084 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41099 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41100 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41101
11e0098e
AS
411022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41103
41104 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41105 scaling.
41106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41107
e85b09d0
AJ
411082012-03-15 Andreas Jaeger <aj@suse.de>
41109
41110 [BZ #13852]
41111 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41112 ieee754/flt-32 implementation for sin, cos and sincos.
41113 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41114 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41115 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41116 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41117 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41118 ieee754/flt-32 implementation for tan.
41119
41120 * math/libm-test.inc (cos_test): Enable some large input tests for
41121 float as well
41122 (sin_test): Likewise.
41123 (sincos_test): Likewise.
41124 (tan_test): Add tests for large input.
41125
41126 * sysdeps/i386/fpu/libm-test-ulps: Update.
41127
81c64153
AJ
411282012-03-15 Andreas Jaeger <aj@suse.de>
41129
41130 [BZ #13658]
41131 * math/libm-test.inc (cos_test): Add more test cases.
41132 (sin_test): Likewise.
41133 (sincos_test): Likewise.
41134
7bbfa5c6
AJ
411352012-03-15 Andreas Jaeger <aj@suse.de>
41136
41137 [BZ #13837]
41138 * math/libm-test.inc (cos_test): Add a test case for large input
41139 value.
41140 (sin_test): Likewise.
41141 (sincos_test): Likewise.
41142
57f41c40
AS
411432012-03-15 Andreas Jaeger <aj@suse.de>
41144 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41145
41146 [BZ #13658]
0671f479 41147 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41148 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41149 * sysdeps/i386/fpu/branred.c: Likewise.
41150 * sysdeps/i386/fpu/dosincos.c: Likewise.
41151 * sysdeps/i386/fpu/mpa.c: Likewise.
41152 * sysdeps/i386/fpu/s_cos.S: Likewise.
41153 * sysdeps/i386/fpu/s_sin.S: Likewise.
41154 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41155 * sysdeps/i386/fpu/sincos32.c: Likewise.
41156
41157 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41158 Define.
41159 (libc_feupdateenv_53bit): Define.
41160 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41161 Define.
41162 (libc_feupdateenv_53bit): Define.
41163
41164 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41165 53 bit (without extend i386 double precision).
41166
41167 * math/libm-test.inc (sincos_test): Add tests for large input.
41168 (sin): Likewise.
41169 (cos): Likewise.
41170
41171 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41172
9cad04ea
AS
411732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41174
41175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41176
f7062b9a
DM
411772012-03-15 David S. Miller <davem@davemloft.net>
41178
41179 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41180 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41181 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41182 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41195 file.
f7062b9a 41196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41198 file.
f7062b9a 41199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41201 file.
f7062b9a 41202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
41203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41204 file.
f7062b9a
DM
41205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41206 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41207 fmin/fmax sysdep routines.
41208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41209
7bd951ff
DM
412102012-03-14 David S. Miller <davem@davemloft.net>
41211
559398ab
DM
41212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41217 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41232 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41233 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41237 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41240 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41241 routines.
41242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41243 file.
559398ab 41244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41246 file.
559398ab 41247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41249 file.
559398ab 41250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41252 file.
559398ab 41253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41255 file.
559398ab 41256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41258 file.
41259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41260 file.
41261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41262 file.
41263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41264 file.
41265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41266 New file.
41267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41268 file.
41269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41270 file.
559398ab 41271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41273 file.
559398ab 41274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41276 file.
559398ab 41277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41279 file.
559398ab 41280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41282 VIS3 routines.
559398ab
DM
41283
41284 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41285 New file.
41286
5a1c1e32
DM
41287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41288
eae47a36
DM
41289 * sysdeps/sparc/configure.in: New file.
41290 * sysdeps/sparc/configure: Generate.
41291 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41292 * configure: Regenerate.
41293 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41294 * config.make.in (have-as-vis3): New.
41295 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41296 available use -Av9d instead of -Av9a.
41297 * sysdeps/sparc/sparc64/Makefile: Likewise.
41298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
41299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41300 New file.
41301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41302 file.
41303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41304 New file.
41305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41306 file.
eae47a36
DM
41307 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41309 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41312
c0c83bc8
DM
41313 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41314 fzeros/fnegs to load 0x80000000 into a float register instead of
41315 using the stack.
7bd951ff
DM
41316 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41317
bd951ccb
JM
413182012-03-14 Joseph Myers <joseph@codesourcery.com>
41319
41320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41321 bits/syscall.h.
41322 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41323 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41324 ($(inst_includedir)/bits/syscall.h): Remove rule.
41325 ($(objpfx)bits/syscall.d): Include instead of
41326 $(objpfx)syscall-list.d.
41327 (generated): Change syscall-list.h and syscall-list.d to
41328 bits/syscall.h and bits/syscall.d.
41329
bb4e6db2
RM
413302012-03-14 Roland McGrath <roland@hack.frob.com>
41331
41332 [BZ #13846]
41333 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41334
aa4a2ae1
JM
413352012-03-14 Joseph Myers <joseph@codesourcery.com>
41336
e456826d
JM
41337 [BZ #13841]
41338 * math/s_csqrt.c: Include <float.h>.
41339 (__csqrt): Scale large or subnormal inputs.
41340 * math/s_csqrtf.c: Likewise.
41341 * math/s_csqrtl.c: Likewise.
41342 * math/libm-test.inc (csqrt_test): Add more tests.
41343 * sysdeps/i386/fpu/libm-test-ulps: Update.
41344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41345
aa4a2ae1
JM
41346 [BZ #13840]
41347 * math/libm-test.inc (hypot_test): Add more tests.
41348
7c10fd35
DM
413492012-03-13 David S. Miller <davem@davemloft.net>
41350
41351 [BZ #13840]
41352 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41353 double-precision for the calculation instead of scaling.
41354
f453b98b
JM
413552012-03-13 Joseph Myers <joseph@codesourcery.com>
41356
41357 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41358 manipulate bits before adding and subtracting TWO52[sx].
41359 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41360 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41361 Likewise.
41362 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41363
09a3453f
DM
413642012-03-13 David S. Miller <davem@davemloft.net>
41365
8e59da90
DM
41366 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41367 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41369 rtld-global-offsets.h
41370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41371
2a8ab7f2
DM
41372 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41373 large parameters.
41374
10f62770
DM
41375 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41376
5f0bdb18
DM
41377 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41378 'err' in the ifdef scope in which it is actually used.
41379
09a3453f
DM
41380 * nss/nss_db/db-init.c: Include string.h
41381
b4b2eb5e
DM
413822012-03-12 David S. Miller <davem@davemloft.net>
41383
98bb2f1c
DM
41384 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41385 masking out of the most significant byte of random value used.
41386 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41387 Fix coding style in previous change.
41388
b4b2eb5e
DM
41389 * sysdeps/unix/sysv/linux/kernel-features.h
41390 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41391 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41392 expression.
41393 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41394 later.
41395
6e226b09
DM
413962012-03-11 David S. Miller <davem@davemloft.net>
41397
a1bcbd40
DM
41398 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41399 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41400 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41401 for 'resultvar' otherwise things get truncated on 64-bit.
41402
cb9d6174
DM
41403 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41404 Fix masking out of the most significant byte of random value used.
41405
6e226b09
DM
41406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41407
058c132d
AS
414082012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41409
41410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41411
2d2cd515
DM
414122012-03-09 David S. Miller <davem@davemloft.net>
41413
41414 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41415 variables with appropriate CPP guards.
57f41c40
AS
41416 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41417 from the frame pointer, not the stack pointer. Correct layout
41418 comments. Fix test on resulting framesize and the management of
41419 the outregs buffer for pltexit. Preserve floating point return
41420 values across _dl_call_pltexit call.
2d2cd515
DM
41421 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41422 framesize and the management of the outregs buffer for pltexit.
41423 Preserve floating point return values across _dl_call_pltexit
41424 call.
57f41c40
AS
41425 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41426 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41427 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
41428 (print_exit): Fix format string for return register value.
41429
9a07f9d0
JM
414302012-03-10 Joseph Myers <joseph@codesourcery.com>
41431
41432 * sunrpc/Makefile (others): Add rpcgen.
41433 ($(objpfx)rpcgen): Remove special build rule and dependency on
41434 libc.
41435 * sunrpc/rpcgen.c: New file.
41436
547b5e30
PE
414372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41438
c524201a
PE
41439 [BZ #13673]
41440 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41441 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41442 * sysdeps/i386/crti.S: Likewise.
41443 * sysdeps/i386/crtn.S: Likewise.
41444 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41445 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41446 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41447 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41448 * sysdeps/sh/crti.S: Likewise.
41449 * sysdeps/sh/crtn.S: Likewise.
41450 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41451
7b6235f2
PE
41452 [BZ #13673]
41453 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41454 with URL.
41455 * locale/programs/locfile-kw.gperf: Likewise.
41456 * locale/programs/charmap-kw.h: Regenerated.
41457 * locale/programs/locfile-kw.h: Likewise.
41458
547b5e30
PE
41459 [BZ #13673]
41460 * intl/plural.y: Replace FSF snail mail address with URL.
41461 * intl/plural.c: Regenerated.
41462
5f0a5dae
RH
414632012-03-09 Richard Henderson <rth@twiddle.net>
41464
41465 * include/math_private.h: Remove file.
41466 * math/math_private.h: Move file ...
41467 * sysdeps/generic/math_private.h: ... here.
41468
b8c03620
RH
41469 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41470 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41471 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41472
4e234f5d 41473 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
41474 and <math_private.h>.
41475 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41476 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41477 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41478 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41479 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41480 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41483 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41486 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41487 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41489 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41494 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41497 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41499 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41500 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41501 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41502 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41505 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41507 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41511 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41515 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41516 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41517 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41518 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41519 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41520 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41521 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41522 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41523 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41524 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41525 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41526 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41527 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41528 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41529 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41530 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41531 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41534 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41536 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41539 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41540 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41541 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41542 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41543 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41544 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41546 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41547 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41554 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41555 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41559 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41562 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41563 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41566 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41568 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41569 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41570 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41571 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41572 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41573 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41574 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41575 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41576 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41577 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41578 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41579 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41580 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41581 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41582 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41587 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41588 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41589 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41591 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41592 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41593 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41594 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41595 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41596 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41597 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41598 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41599 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41600 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41602 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41603 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41604 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41605 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41606 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41607 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41608 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41609 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41610 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41612 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41613 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41614 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41615 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41616 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41617 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41618 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41619 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41620 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41621 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41622 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41623 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41624 * sysdeps/ieee754/k_standard.c: Likewise.
41625 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41631 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41651 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41658 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41665 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41676 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41677 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41680 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41681 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41682 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41686 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41695 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41704 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41707 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41711 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41712 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41713 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41715 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41716 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41717 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41718 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41721 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41723 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41724 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41727 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41739 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41741 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41743 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41744 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41747 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41750 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41751 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41752 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41755 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41756 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41757 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41758 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41767 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41768 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41769 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41771 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41772 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41773 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41774 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41779 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41780 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41781 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41782 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41783 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41784 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41785 * sysdeps/ieee754/s_lib_version.c: Likewise.
41786 * sysdeps/ieee754/s_matherr.c: Likewise.
41787 * sysdeps/ieee754/s_signgam.c: Likewise.
41788 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41789 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41791 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41792 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41793 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41794 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41795 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41796 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41797 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41798 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41799 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41800 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41801 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41802 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41803 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 41809
1991fa03
JM
418102012-03-09 Joseph Myers <joseph@codesourcery.com>
41811
41812 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41813 * sunrpc/rpc_main.c: Likewise.
41814 * sunrpc/rpc_svcout.c: Likewise.
41815
60d6f5a6
DM
418162012-03-09 David S. Miller <davem@davemloft.net>
41817
41818 * include/math_private.h: New file.
41819
4962050e
JM
418202012-03-09 Joseph Myers <joseph@codesourcery.com>
41821
02a6f887
JM
41822 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41823 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41824 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41825 from <bits/socket_type.h>.
41826 (enum __socket_type): Don't define here.
41827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41829 bits/socket_type.h.
41830
c6e013c1
JM
41831 [BZ #13566]
41832 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41833 checking __USE_GNU.
41834
4962050e
JM
41835 * Makerules ($(inst_includedir)/%.h): New rule.
41836 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41837 (install-others): Remove variable setting.
41838 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41839
38842f45
RH
418402012-03-08 Richard Henderson <rth@twiddle.net>
41841
67bb6da6
RH
41842 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41843 from macro to inline function; merge with the
41844 !__LIBC_INTERNAL_MATH_INLINES version.
41845 (__ieee754_sqrtf): Likewise.
41846
15194b4b
RH
41847 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41848 to inline function.
41849 (__rintf, __floor, __floorf): Likewise.
41850
64e21ede
RH
41851 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41852 macro to inline function.
41853 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41854
38842f45
RH
41855 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41856 not <math/math_private.h>.
41857
c64bf5fe
DM
418582012-03-08 David S. Miller <davem@davemloft.net>
41859
41860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41861 copyright year.
41862 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41863
82d86f28
TS
418642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41865
41866 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41867 normalization.
41868 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41869 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41870
aea5d727
UD
418712012-03-08 Ulrich Drepper <drepper@gmail.com>
41872
41873 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41874 be defined individually, they must be defined as a block. Define
41875 S for printing a string instead of hidint the different by using a
41876 macro for adding the 'l'.
41877 * stdio-common/tst-fphex-wide.c: Adjust.
41878
70bca0a3
MP
418792012-03-07 Marek Polacek <polacek@redhat.com>
41880
41881 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41882
65b81130
MP
418832012-03-08 Marek Polacek <polacek@redhat.com>
41884
41885 [BZ #13806]
41886 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41887 * stdio-common/tst-fphex.c: Define a few macros to make the
41888 test reusable. Use them.
41889 * stdio-common/tst-fphex-wide.c: New file.
41890
07037eeb
JM
418912012-03-08 Joseph Myers <joseph@codesourcery.com>
41892
a7a93d50
JM
41893 [BZ #6911]
41894 * manual/macros.texi (gnusystems): New macro.
41895 (nongnusystems): Likewise.
41896 (gnulinuxhurdsystems): Likewise.
41897 (gnuhurdsystems): Likewise..
41898 (gnulinuxsystems): Likewise.
41899 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41900 variants of the GNU system, not "GNU system".
41901 * manual/conf.texi: Likewise.
41902 * manual/errno.texi: Likewise. Update example of errno macro
41903 expansion.
41904 * manual/filesys.texi: Likewise.
41905 (getumask): Document as specific to GNU/Hurd.
41906 * manual/install.texi: Likewise. Reword some references to
41907 GNU/Linux.
41908 * manual/intro.texi: Likewise.
41909 * manual/io.texi: Likewise.
41910 (File Name Portability): Detail which constraints are inapplicable
41911 to all GNU systems and which are only inapplicable to GNU/Hurd.
41912 * manual/job.texi: Likewise.
41913 * manual/llio.texi: Likewise.
41914 (O_NOCTTY): Document as present on GNU/Linux.
41915 * manual/maint.texi: Likewise.
41916 * manual/memory.texi: Likewise.
41917 * manual/pattern.texi: Likewise.
41918 * manual/pipe.texi: Likewise.
41919 * manual/process.texi: Likewise.
41920 * manual/resource.texi: Likewise.
41921 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41922 child on GNU/Hurd.
41923 * manual/setjmp.texi: Likewise.
41924 * manual/signal.texi: Likewise.
41925 * manual/startup.texi: Likewise.
41926 * manual/stdio.texi: Likewise.
41927 * manual/terminal.texi: Likewise.
41928 (ONLCR): Document as POSIX.
41929 (OXTABS): Document availability on GNU/Linux as XTABS.
41930 (ONOEOT): Document availability separately from other bits.
41931 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41932 * manual/time.texi: Likewise.
41933 * manual/users.texi: Likewise.
41934 * INSTALL: Regenerated.
41935 * sysdeps/gnu/errlist.c: Regenerated.
41936
07037eeb
JM
41937 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41938 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41939 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41940 puts.
41941 * configure: Regenerated.
41942
d1d3431a
JM
419432012-03-07 Joseph Myers <joseph@codesourcery.com>
41944
af6a1e37
JM
41945 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41946 default includes instead of AC_HEADER_CHECK.
41947 * sysdeps/i386/configure: Regenerated.
41948
d1d3431a
JM
41949 [BZ #10716]
41950 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41951 * math/s_cacoshf.c (__cacoshf): Likewise.
41952 * math/s_cacoshl.c (__cacoshl): Likewise.
41953 * math/s_casinh.c (__casinh): Set signs of result from argument.
41954 * math/s_casinhf.c (__casinhf): Likewise.
41955 * math/s_casinhl.c (__casinhl): Likewise.
41956 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41957 (casinh_test): Add more tests.
41958 * sysdeps/i386/fpu/libm-test-ulps: Update.
41959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41960
482ff4da
UD
419612012-03-07 Ulrich Drepper <drepper@gmail.com>
41962
872fda05
UD
41963 * po/zh_TW.po: Update from translation team.
41964
a4300c7a
UD
41965 * login/Makefile (distribute): Remove variable.
41966 * catgets/Makefile: Likewise.
41967 * mach/Makefile: Likewise.
41968 * malloc/Makefile: Likewise.
41969 * misc/Makefile: Likewise.
41970 * iconv/Makefile: Likewise.
41971 * nscd/Makefile: Likewise.
41972 * hurd/Makefile: Likewise.
41973 * manual/Makefile: Likewise.
41974 * locale/Makefile: Likewise.
41975 * intl/Makefile: Likewise.
41976 * conform/Makefile: Likewise.
41977 * nss/Makefile: Likewise.
41978 * time/Makefile: Likewise.
41979 * soft-fp/Makefile: Likewise.
41980 * dirent/Makefile: Likewise.
41981 * gmon/Makefile: Likewise.
41982 * po/Makefile: Likewise.
41983 * rt/Makefile: Likewise.
41984 * socket/Makefile: Likewise.
41985 * math/Makefile: Likewise.
41986 * signal/Makefile: Likewise.
41987 * debug/Makefile: Likewise.
41988 * elf/Makefile: Likewise.
41989 * timezone/Makefile: Likewise.
41990 * stdlib/Makefile: Likewise.
41991 * iconvdata/Makefile: Likewise.
41992 * sunrpc/Makefile: Likewise.
41993 * io/Makefile: Likewise.
41994 * argp/Makefile: Likewise.
41995 * inet/Makefile: Likewise.
41996 * hesiod/Makefile: Likewise.
41997 * grp/Makefile: Likewise.
41998 * csu/Makefile: Likewise.
41999 * wctype/Makefile: Likewise.
42000 * crypt/Makefile: Likewise.
42001 * libio/Makefile: Likewise.
42002 * string/Makefile: Likewise.
42003 * nis/Makefile: Likewise.
42004 * resolv/Makefile: Likewise.
42005 * stdio-common/Makefile: Likewise.
42006 * wcsmbs/Makefile: Likewise.
42007 * dlfcn/Makefile: Likewise.
42008 * posix/Makefile: Likewise.
42009
3b7c4e74 42010 [BZ #6959]
482ff4da
UD
42011 * timezone/Makefile: Don't install timezone files, just the programs
42012 and scripts.
42013
f72ed77d
UD
420142012-03-06 Ulrich Drepper <drepper@gmail.com>
42015
a000466f
UD
42016 * nss/databases.def: Add missing gshadow entry.
42017
f72ed77d
UD
42018 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42019
a53b7a4e
MP
420202012-03-06 Marek Polacek <polacek@redhat.com>
42021
42022 [BZ #13726]
42023 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42024 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42025 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42026 * stdio-common/tst-long-dbl-fphex.c: New file.
42027
e9258400
DM
420282012-03-06 David S. Miller <davem@davemloft.net>
42029
42030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42031 (set_obp_int): New function.
42032 (get_obp_int): New function.
42033 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42035 Avoid unused variable warnings on 'val' and use builtin_expect.
42036 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42037 __builtin_expect.
e9258400
DM
42038 (INLINE_CLONE_SYSCALL): Likewise.
42039
3bd2c723
DM
420402012-03-05 David S. Miller <davem@davemloft.net>
42041
42042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42043
bbb78d03
AS
420442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42045
884c5db4
AS
42046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42047
bbb78d03
AS
42048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42049 only for |x| >= 40.
42050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42051
1c9f702a 420522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42053
42054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42055 Replace gettimeofday with __vdso_gettimeofday.
42056
7be16f82
RM
42057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42058 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42059 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42060
42061 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42062 time with __vdso_time.
42063
ed58a00f
JM
420642012-03-05 Joseph Myers <joseph@codesourcery.com>
42065
42066 * manual/lang.texi (size_t): Note types to which size_t may be
42067 equivalent with the GNU C Library, but do not describe when
42068 differences between them are significant.
42069
30ee4ced
AJ
420702012-03-05 Andreas Jaeger <aj@suse.de>
42071
42072 * sysdeps/i386/fpu/libm-test-ulps: Update.
42073
b7cd39e8
JM
420742012-03-05 Joseph Myers <joseph@codesourcery.com>
42075
42076 [BZ #3976]
42077 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42078 (__ieee754_pow): Save and restore rounding mode and use
42079 round-to-nearest for main computations.
42080 * math/libm-test.inc (pow_test_tonearest): New function.
42081 (pow_test_towardzero): Likewise.
42082 (pow_test_downward): Likewise.
42083 (pow_test_upward): Likewise.
42084 (main): Call the new functions.
42085 * sysdeps/i386/fpu/libm-test-ulps: Update.
42086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42087
42088 [BZ #3976]
42089 * math/libm-test.inc (cosh_test_tonearest): New function.
42090 (cosh_test_towardzero): Likewise.
42091 (cosh_test_downward): Likewise.
42092 (cosh_test_upward): Likewise.
42093 (sinh_test_tonearest): Likewise.
42094 (sinh_test_towardzero): Likewise.
42095 (sinh_test_downward): Likewise.
42096 (sinh_test_upward): Likewise.
42097 (main): Call the new functions.
42098 * sysdeps/i386/fpu/libm-test-ulps: Update.
42099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42100
6c6a98c9
TV
421012012-03-05 Tom de Vries <tom@codesourcery.com>
42102
42103 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42104 default stack guard is set in last bytes.
42105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42106
21bb2d2e 421072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42108
21bb2d2e 42109 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42110
21bb2d2e
AJ
42111 [BZ #13656]
42112 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42113 possibly allocate from heap instead of stack.
42114 * stdio-common/bug-vfprintf-nargs.c: New file.
42115 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42116
c6922934
AS
421172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42118
42119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42120
bc957d53
MP
421212012-03-03 Marek Polacek <polacek@redhat.com>
42122
42123 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42124 * math/math_private.h: Likewise.
42125 * stdlib/tst-strtod.c: Likewise.
42126 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42127 * sysdeps/x86_64/bits/atomic.h: Likewise.
42128
6358490d
DM
421292012-03-02 David S. Miller <davem@davemloft.net>
42130
42131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42135 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42136 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42137 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42138 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42139
01ae168d
RM
421402012-03-02 Roland McGrath <roland@hack.frob.com>
42141
d9a17c07
RM
42142 [BZ #13792]
42143 * manual/examples/README: New file, says the example source files
42144 can be used under GPL>=2.
42145 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42146 line containing just "*/".
42147 * manual/examples/add.c: Add copyright header (GPL>=2).
42148 * manual/examples/argp-ex1.c: Likewise.
42149 * manual/examples/argp-ex2.c: Likewise.
42150 * manual/examples/argp-ex3.c: Likewise.
42151 * manual/examples/argp-ex4.c: Likewise.
42152 * manual/examples/atexit.c: Likewise.
42153 * manual/examples/db.c: Likewise.
42154 * manual/examples/dir.c: Likewise.
42155 * manual/examples/dir2.c: Likewise.
42156 * manual/examples/execinfo.c: Likewise.
42157 * manual/examples/filecli.c: Likewise.
42158 * manual/examples/filesrv.c: Likewise.
42159 * manual/examples/fmtmsgexpl.c: Likewise.
42160 * manual/examples/genpass.c: Likewise.
42161 * manual/examples/inetcli.c: Likewise.
42162 * manual/examples/inetsrv.c: Likewise.
42163 * manual/examples/isockad.c: Likewise.
42164 * manual/examples/longopt.c: Likewise.
42165 * manual/examples/memopen.c: Likewise.
42166 * manual/examples/memstrm.c: Likewise.
42167 * manual/examples/mkfsock.c: Likewise.
42168 * manual/examples/mkisock.c: Likewise.
42169 * manual/examples/mygetpass.c: Likewise.
42170 * manual/examples/pipe.c: Likewise.
42171 * manual/examples/popen.c: Likewise.
42172 * manual/examples/rprintf.c: Likewise.
42173 * manual/examples/search.c: Likewise.
42174 * manual/examples/select.c: Likewise.
42175 * manual/examples/setjmp.c: Likewise.
42176 * manual/examples/sigh1.c: Likewise.
42177 * manual/examples/sigusr.c: Likewise.
42178 * manual/examples/stpcpy.c: Likewise.
42179 * manual/examples/strdupa.c: Likewise.
42180 * manual/examples/strftim.c: Likewise.
42181 * manual/examples/strncat.c: Likewise.
42182 * manual/examples/subopt.c: Likewise.
42183 * manual/examples/swapcontext.c: Likewise.
42184 * manual/examples/termios.c: Likewise.
42185 * manual/examples/testopt.c: Likewise.
42186 * manual/examples/testpass.c: Likewise.
42187 * manual/examples/timeval_subtract.c: Likewise.
42188
01ae168d
RM
42189 [BZ #13792]
42190 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42191 function to ...
42192 * manual/timeval_subtract.c.texi: ... here, new file.
42193
49efa33d
DM
421942012-03-02 David S. Miller <davem@davemloft.net>
42195
42196 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42197
28afd92d
JM
421982012-03-02 Joseph Myers <joseph@codesourcery.com>
42199
804360ed
JM
42200 [BZ #3976]
42201 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42202 (__sin): Save and restore rounding mode and use round-to-nearest
42203 for all computations.
42204 (__cos): Save and restore rounding mode and use round-to-nearest
42205 for all computations.
42206 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42207 <fenv.h>.
42208 (tan): Save and restore rounding mode and use round-to-nearest for
42209 all computations.
42210 * math/libm-test.inc (cos_test_tonearest): New function.
42211 (cos_test_towardzero): Likewise.
42212 (cos_test_downward): Likewise.
42213 (cos_test_upward): Likewise.
42214 (sin_test_tonearest): Likewise.
42215 (sin_test_towardzero): Likewise.
42216 (sin_test_downward): Likewise.
42217 (sin_test_upward): Likewise.
42218 (tan_test_tonearest): Likewise.
42219 (tan_test_towardzero): Likewise.
42220 (tan_test_downward): Likewise.
42221 (tan_test_upward): Likewise.
42222 (main): Call the new functions.
42223 * sysdeps/i386/fpu/libm-test-ulps: Update.
42224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42225
a6d06d7b
JM
42226 [BZ #10135]
42227 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42228 small n, then large n, before computing and testing k+n.
42229 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42231 Likewise.
42232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42233 Likewise.
42234 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42235 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42236 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42237 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42240 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42241 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42242 * math/libm-test.inc (scalbn_test): Add more tests.
42243 (scalbln_test): Likewise.
42244
07e12bb3
JM
42245 * manual/filesys.texi (mode_t): Describe constraints on size and
42246 signedness, not exact equivalence to a particular type.
42247 (ino_t): Likewise.
42248 (ino64_t): Likewise.
42249 (dev_t): Likewise.
42250 (nlink_t): Likewise.
42251 (blkcnt_t): Likewise.
42252 (blkcnt64_t): Likewise.
42253 * manual/llio.texi (off_t): Likewise.
42254
28afd92d
JM
42255 [BZ #3976]
42256 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42257 (__ieee754_exp): Save and restore rounding mode and use
42258 round-to-nearest for all computations.
42259 * math/libm-test.inc (exp_test_tonearest): New function.
42260 (exp_test_towardzero): Likewise.
42261 (exp_test_downward): Likewise.
42262 (exp_test_upward): Likewise.
42263 (main): Call the new functions.
42264 * sysdeps/i386/fpu/libm-test-ulps: Update.
42265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42266
b1eeb65d
CD
422672012-03-01 Chris Demetriou <cgd@google.com>
42268
42269 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42270 have predictable order.
42271
53362a4b
DM
422722012-03-01 David S. Miller <davem@davemloft.net>
42273
3c969083
DM
42274 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42275
759707de
DM
42276 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42277 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42278 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42279 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42280
dfdb8ff2
DM
42281 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42282 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42283 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42285 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42286 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42287 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42288 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42289 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42290
ead89f96
DM
42291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42292
7f66bd07
DM
42293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42294 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42296
53362a4b
DM
42297 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42299 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42300 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42301 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42302 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42304 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42305 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42306 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42307 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42308 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42310 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42311 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42313 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42314 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42315 * sysdeps/sparc/elf/configure: Regenerated.
42316
7b1902cb
JM
423172012-03-01 Joseph Myers <joseph@codesourcery.com>
42318
bec039bc
JM
42319 * configure.in (AS, LD): Require binutils 2.20 or later.
42320 * configure: Regenerated.
42321 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42322 as required minimum version.
42323 * INSTALL: Regenerated.
42324
7b1902cb
JM
42325 [BZ #2541]
42326 [BZ #4108]
42327 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42328 before squaring exponent.
42329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42330 bottom long double and 27 bits of top long double before squaring
42331 exponent.
42332 * math/libm-test.inc (erfc_test): Add more tests.
42333 * sysdeps/i386/fpu/libm-test-ulps: Update.
42334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42336
f775c276
KT
423372012-03-01 Kai Tietz <ktietz@redhat.com>
42338
42339 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42340 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42341 containing bit-fields.
42342 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42343 * soft-fp/single.h (_FP_UNION_S): Likewise.
42344 * soft-fp/double.h (_FP_UNION_D): Likewise.
42345
5b8a4d4a
JM
423462012-02-29 Joseph Myers <joseph@codesourcery.com>
42347
0bab47b6
JM
42348 [BZ #13786]
42349 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42350 not include ../strcmp.S.
42351 [USE_AS_STRNCASECMP_L]: Likewise.
42352 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42353 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42354 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42355 (__strncasecmp_l_ia32): Define as alias to
42356 __strncasecmp_l_nonascii.
42357
0fcad3e2
JM
42358 [BZ #5794]
42359 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42360 * sysdeps/i386/fpu/libm-test-ulps: Update.
42361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42362
5b8a4d4a
JM
42363 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42365
8fdceb2e
JL
423662012-02-29 Jeff Law <law@redhat.com>
42367
42368 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42369 out of bounds read.
42370
1f393a11
MP
423712012-02-29 Marek Polacek <polacek@redhat.com>
42372
42373 [BZ #13706]
42374 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42375 * elf/Makefile: Add rules to run tst-unused-dep.out.
42376
8847f037
DM
423772012-02-28 David S. Miller <davem@davemloft.net>
42378
42379 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42380 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42383 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42384 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42385
169d7f11
JM
423862012-02-29 Joseph Myers <joseph@codesourcery.com>
42387
42388 * math/libm-test.inc (llround_test): Move one test from
42389 lround_test. Use TEST_f_L in moved test.
42390 (lround_test): Move misplaced test to llround_test. Add testcase
42391 from bug 2561.
42392
39adf059
UD
423932012-02-28 Ulrich Drepper <drepper@gmail.com>
42394
42395 * sysdeps/x86_64/fpu/e_expf.S: New file.
42396 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42397
71b5d1c5
SB
423982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42399
42400 [BZ #13637]
42401 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42402 of remain_len that may cause incomplete multi-byte character and
42403 false match.
42404 * posix/bug-regex33.c: New file.
42405 * posix/Makefile (tests): Add bug-regex33.
42406
1f77f049
JM
424072012-02-28 Joseph Myers <joseph@codesourcery.com>
42408
42409 * manual/macros.texi: New file.
42410 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42411 * manual/libc.texinfo: Include macros.texi.
42412 * manual/creatute.texi: Likewise.
42413 * manual/install.texi: Likewise.
42414 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42415 @glibcadj{} in references to the GNU C Library.
42416 * manual/charset.texi: Likewise.
42417 * manual/conf.texi: Likewise.
42418 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42419 when not using those macros.
42420 * manual/creature.texi: Likewise.
42421 * manual/crypt.texi: Likewise.
42422 * manual/errno.texi: Likewise.
42423 * manual/filesys.texi: Likewise.
42424 * manual/header.texi: Likewise.
42425 * manual/install.texi: Likewise.
42426 * manual/intro.texi: Likewise.
42427 * manual/io.texi: Likewise.
42428 * manual/job.texi: Likewise.
42429 * manual/lang.texi: Likewise.
42430 * manual/libc.texiinfo: Likewise.
42431 * manual/llio.texi: Likewise.
42432 * manual/locale.texi: Likewise.
42433 * manual/maint.texi: Likewise.
42434 * manual/math.texi: Likewise.
42435 * manual/memory.texi: Likewise.
42436 * manual/message.texi: Likewise.
42437 * manual/nss.texi: Likewise.
42438 * manual/pattern.texi: Likewise.
42439 * manual/process.texi: Likewise.
42440 * manual/resource.texi: Likewise.
42441 * manual/search.texi: Likewise.
42442 * manual/setjmp.texi: Likewise.
42443 * manual/signal.texi: Likewise.
42444 * manual/socket.texi: Likewise.
42445 * manual/startup.texi: Likewise.
42446 * manual/stdio.texi: Likewise.
42447 * manual/string.texi: Likewise.
42448 * manual/sysinfo.texi: Likewise.
42449 * manual/syslog.texi: Likewise.
42450 * manual/terminal.texi: Likewise.
42451 * manual/time.texi: Likewise.
42452 * manual/users.texi: Likewise.
42453 * INSTALL: Regenerated.
42454 * NOTES: Regenerated.
d40c5d54 42455 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 42456
450bf206
AS
424572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42458
42459 * include/dirent.h: Include <dirstream.h> before
42460 <dirent/dirent.h>.
42461
741a235b
DM
424622012-02-28 David S. Miller <davem@davemloft.net>
42463
42464 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42465 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42466 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42467 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42468
d6b5aa58
DM
424692012-02-27 David S. Miller <davem@davemloft.net>
42470
1aff59a3
DM
42471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42473 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42474 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42475
d6b5aa58
DM
42476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42477 frame pointer instead of stack pointer relative arg slot.
42478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42479 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42480 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42481
433f48bf
CD
424822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42483
42484 [BZ #3992]
42485 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42486
d674b76d
DM
424872012-02-27 David S. Miller <davem@davemloft.net>
42488
42489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42495 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42497
0e7727f7
JM
424982012-02-27 Joseph Myers <joseph@codesourcery.com>
42499
42500 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42501 later. Allow versions 5-9.
43be4ca2 42502 * configure: Regenerated.
0e7727f7
JM
42503 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42504 required minimum version and 4.6 as recommended version. Do not
42505 mention bugs in GCC 2.7 and 2.8.
43be4ca2 42506 * INSTALL: Regenerated.
0e7727f7 42507
a78bc654
DM
425082012-02-27 David S. Miller <davem@davemloft.net>
42509
428d5830
DM
42510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42516 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42517 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42518
a78bc654
DM
42519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42520 manipulate bits before adding and subtracting TWO112[sx].
42521 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42522
4579f81c
RM
425232012-02-27 Roland McGrath <roland@hack.frob.com>
42524
36c8acb4
RM
42525 [BZ #13775]
42526 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42527 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42528 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42529 being in POSIX, because they are in 1003.1-2008.
42530
84ad622b
RM
42531 * rt/tst-aio.c: Include <fcntl.h>.
42532 * rt/tst-aio7.c: Likewise.
42533 * rt/tst-aio64.c: Likewise.
42534
4579f81c
RM
42535 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42536
abd923db
JM
425372012-02-27 Joseph Myers <joseph@codesourcery.com>
42538
42539 * manual/install.texi (--with-headers): Describe headers as
42540 interface headers, not private headers.
42541 (Specific advice for GNU/Linux systems): Describe use of headers
42542 from "make headers_install", not private headers from older
42543 kernels.
43be4ca2 42544 * INSTALL: Regenerated.
abd923db
JM
42545 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42546 Change to 2.6.19.
42547 * sysdeps/unix/sysv/linux/configure: Regenerated.
42548
6664049b
JM
42549 * manual/llio.texi (fclean): Remove documentation.
42550
bb8b6697
JM
42551 * manual/Makefile (libc-texi-generated): New variable. Include
42552 version.texi.
42553 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42554 $(libc-texi-generated), not duplicated list of files.
42555 (version.texi, stamp-version): New rules.
42556 (realclean): Remove $(libc-texi-generated), not individual files
42557 from that list. Do not remove dir-add.texinfo.
42558 * manual/libc.texinfo: Comment out uses of edition numbers and
42559 references to printed manual. Remove last-updated dates.
42560 (EDITION): Comment out.
42561 (ISBN): Likewise.
42562 (VERSION, UPDATED): Remove.
42563 (version.texi): Include.
42564
12e5c3b9
AS
425652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42566
42567 * sysdeps/posix/spawni.c: Include <signal.h>.
42568 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42569 * sysdeps/pthread/aio_fsync.c: Likewise.
42570
4efeffc1 425712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 42572
ba63ba08
UD
42573 * conform/Makefile (tests): Run only when not cross-compiling and
42574 when fast-check is not defined.
42575
d94a4670
UD
42576 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42577 * conform/data/limits.h-data: Fixes for POSIX2008.
42578 * conform/run-conformtest.sh: Run all tests.
42579 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42580 headers.
42581 * include/bits/dlfcn.h: Likewise.
42582 * include/langinfo.h: Likewise.
42583 * include/monetary.h: Likewise.
42584 * include/sys/poll.h: Likewise.
42585
42586 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42587 for __USE_GNU.
42588 * posix/spawn.h: Define __need_sigset_t.
42589 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42590 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42591 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42592 to get sigevent_t only.
42593 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42594 only for __USE_GNU.
42595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42596 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42597 process_vm_writev only for __USE_GNU.
42598 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
42599
42600 * conform/Makefile: For now ignore errors from run-conformtest.
42601 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42602 POSIX to avoid namespace pollution. Don't prepend headers.
42603 * conform/data/aio.h-data: Fixes for POSIX testing.
42604 * conform/data/fcntl.h-data: Likewise.
42605 * conform/data/glob.h-data: Likewise.
42606 * conform/data/grp.h-data: Likewise.
42607 * conform/data/pthread.h-data: Likewise.
42608 * conform/data/pwd.h-data: Likewise.
42609 * conform/data/signal.h-data: Likewise.
42610 * conform/data/spawn.h-data: Likewise.
42611 * conform/data/stdio.h-data: Likewise.
42612 * conform/data/stdlib.h-data: Likewise.
42613 * conform/data/stropts.h-data: Likewise.
42614 * conform/data/sys/mman.h-data: Likewise.
42615 * conform/data/sys/stat.h-data: Likewise.
42616 * conform/data/sys/types.h-data: Likewise.
42617 * conform/data/sys/wait.h-data: Likewise.
42618 * conform/data/time.h-data: Likewise.
42619 * conform/data/unistd.h-data: Likewise.
42620 * conform/data/utime.h-data: Likewise.
42621
42622 * io/sys/stat.h: fchmod was always in POSIX.
42623 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42624 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42625 * rt/aio.h: Define __need_timespec before including <time.h>.
42626 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42627 struct. Add forward declaration of pthread_attr_t and use it in
42628 sigevent.
42629 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42631 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42632 always remove CLK_TCK definition.
42633
c20105c3
AS
426342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42635
42636 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42637
7a270350
UD
426382012-02-25 Ulrich Drepper <drepper@gmail.com>
42639
31341567
UD
42640 * conform/run-conformtest.sh: New file.
42641 * conform/Makefile: Run run-conformtest for tests.
42642 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42643 support.
42644
42645 * conform/data/uchar.h-data: New file.
42646 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42647 * conform/data/arpa/inet.h-data: Likewise.
42648 * conform/data/assert.h-data: Likewise.
42649 * conform/data/complex.h-data: Likewise.
42650 * conform/data/cpio.h-data: Likewise.
42651 * conform/data/ctype.h-data: Likewise.
42652 * conform/data/dirent.h-data: Likewise.
42653 * conform/data/dlfcn.h-data: Likewise.
42654 * conform/data/errno.h-data: Likewise.
42655 * conform/data/fcntl.h-data: Likewise.
42656 * conform/data/float.h-data: Likewise.
42657 * conform/data/fmtmsg.h-data: Likewise.
42658 * conform/data/fnmatch.h-data: Likewise.
42659 * conform/data/ftw.h-data: Likewise.
42660 * conform/data/glob.h-data: Likewise.
42661 * conform/data/grp.h-data: Likewise.
42662 * conform/data/iconv.h-data: Likewise.
42663 * conform/data/inttypes.h-data: Likewise.
42664 * conform/data/langinfo.h-data: Likewise.
42665 * conform/data/libgen.h-data: Likewise.
42666 * conform/data/limits.h-data: Likewise.
42667 * conform/data/locale.h-data: Likewise.
42668 * conform/data/math.h-data: Likewise.
42669 * conform/data/monetary.h-data: Likewise.
42670 * conform/data/mqueue.h-data: Likewise.
42671 * conform/data/ndbm.h-data: Likewise.
42672 * conform/data/net/if.h-data: Likewise.
42673 * conform/data/netdb.h-data: Likewise.
42674 * conform/data/netinet/in.h-data: Likewise.
42675 * conform/data/nl_types.h-data: Likewise.
42676 * conform/data/poll.h-data: Likewise.
42677 * conform/data/pthread.h-data: Likewise.
42678 * conform/data/pwd.h-data: Likewise.
42679 * conform/data/regex.h-data: Likewise.
42680 * conform/data/sched.h-data: Likewise.
42681 * conform/data/search.h-data: Likewise.
42682 * conform/data/semaphore.h-data: Likewise.
42683 * conform/data/setjmp.h-data: Likewise.
42684 * conform/data/signal.h-data: Likewise.
42685 * conform/data/spawn.h-data: Likewise.
42686 * conform/data/stdarg.h-data: Likewise.
42687 * conform/data/stdio.h-data: Likewise.
42688 * conform/data/stdlib.h-data: Likewise.
42689 * conform/data/string.h-data: Likewise.
42690 * conform/data/strings.h-data: Likewise.
42691 * conform/data/stropts.h-data: Likewise.
42692 * conform/data/sys/ipc.h-data: Likewise.
42693 * conform/data/sys/mman.h-data: Likewise.
42694 * conform/data/sys/msg.h-data: Likewise.
42695 * conform/data/sys/resource.h-data: Likewise.
42696 * conform/data/sys/select.h-data: Likewise.
42697 * conform/data/sys/sem.h-data: Likewise.
42698 * conform/data/sys/shm.h-data: Likewise.
42699 * conform/data/sys/socket.h-data: Likewise.
42700 * conform/data/sys/stat.h-data: Likewise.
42701 * conform/data/sys/statvfs.h-data: Likewise.
42702 * conform/data/sys/time.h-data: Likewise.
42703 * conform/data/sys/timeb.h-data: Likewise.
42704 * conform/data/sys/times.h-data: Likewise.
42705 * conform/data/sys/types.h-data: Likewise.
42706 * conform/data/sys/uio.h-data: Likewise.
42707 * conform/data/sys/un.h-data: Likewise.
42708 * conform/data/sys/utsname.h-data: Likewise.
42709 * conform/data/sys/wait.h-data: Likewise.
42710 * conform/data/syslog.h-data: Likewise.
42711 * conform/data/tar.h-data: Likewise.
42712 * conform/data/termios.h-data: Likewise.
42713 * conform/data/utime.h-data: Likewise.
42714 * conform/data/utmpx.h-data: Likewise.
42715 * conform/data/varargs.h-data: Likewise.
42716 * conform/data/wchar.h-data: Likewise.
42717 * conform/data/wctype.h-data: Likewise.
42718 * conform/data/wordexp.h-data: Likewise.
42719
42720 * include/stropts.h: New file.
42721 * include/uchar.h: New file.
42722 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42723 * include/assert.h: Likewise.
42724 * include/ctype.h: Likewise.
42725 * include/dirent.h: Likewise.
42726 * include/dlfcn.h: Likewise.
42727 * include/fcntl.h: Likewise.
42728 * include/fnmatch.h: Likewise.
42729 * include/glob.h: Likewise.
42730 * include/grp.h: Likewise.
42731 * include/libio.h: Likewise.
42732 * include/locale.h: Likewise.
42733 * include/math.h: Likewise.
42734 * include/net/if.h: Likewise.
42735 * include/netdb.h: Likewise.
42736 * include/netinet/in.h: Likewise.
42737 * include/pthread.h: Likewise.
42738 * include/pwd.h: Likewise.
42739 * include/regex.h: Likewise.
42740 * include/sched.h: Likewise.
42741 * include/search.h: Likewise.
42742 * include/setjmp.h: Likewise.
42743 * include/signal.h: Likewise.
42744 * include/stdio.h: Likewise.
42745 * include/stdlib.h: Likewise.
42746 * include/string.h: Likewise.
42747 * include/sys/cdefs.h: Likewise.
42748 * include/sys/mman.h: Likewise.
42749 * include/sys/msg.h: Likewise.
42750 * include/sys/resource.h: Likewise.
42751 * include/sys/select.h: Likewise.
42752 * include/sys/socket.h: Likewise.
42753 * include/sys/stat.h: Likewise.
42754 * include/sys/statvfs.h: Likewise.
42755 * include/sys/time.h: Likewise.
42756 * include/sys/times.h: Likewise.
42757 * include/sys/uio.h: Likewise.
42758 * include/sys/utsname.h: Likewise.
42759 * include/sys/wait.h: Likewise.
42760 * include/termios.h: Likewise.
42761 * include/time.h: Likewise.
42762 * include/ulimit.h: Likewise.
42763 * include/unistd.h: Likewise.
42764 * include/utime.h: Likewise.
42765 * include/wchar.h: Likewise.
42766 * include/wctype.h: Likewise.
42767 * include/wordexp.h: Likewise.
42768
42769 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42770
7a270350
UD
42771 * time/time.h: TIME_UTC must be a macro.
42772 Make timespec_get available for ISO C11 only as well.
42773
7724defc
UD
427742012-02-24 Ulrich Drepper <drepper@gmail.com>
42775
42776 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42777 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42778
6b1d1d46
JM
427792012-02-24 Joseph Myers <joseph@codesourcery.com>
42780
42781 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 42782
0f8bbd69
JM
427832012-02-24 Joseph Myers <joseph@codesourcery.com>
42784
42785 * manual/texinfo.tex: Update to version 2012-01-19.16.
42786
66ab80bc
JM
427872012-02-24 Joseph Myers <joseph@codesourcery.com>
42788
42789 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42790
74981cc5
RM
427912012-02-24 Roland McGrath <roland@hack.frob.com>
42792
ee968201
RM
42793 [BZ #13738]
42794 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42795 * manual/fdl-1.3.texi: New file.
42796 * manual/fdl-1.1.texi: File removed.
42797
74981cc5
RM
42798 [BZ #13738]
42799 * manual/libc.texinfo (FDL_VERSION): New @set.
42800 Use it for mention of FDL in cover text.
42801 (Documentation License): Use it in @include file name.
42802
7bb764bc
JM
428032012-02-22 Joseph Myers <joseph@codesourcery.com>
42804 Roland McGrath <roland@hack.frob.com>
42805
42806 [BZ #5461]
57f41c40
AS
42807 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42808 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
42809 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42810 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42811 name.
42812 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42813
6cbeae47
JM
428142012-02-22 Joseph Myers <joseph@codesourcery.com>
42815
42816 [BZ #2547]
42817 [BZ #11365]
42818 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42819 manipulate bits before adding and subtracting TWO23[sx].
42820 * math/libm-test.inc (nearbyint_test): Add more tests.
42821
fe45ce09
JM
428222012-02-22 Joseph Myers <joseph@codesourcery.com>
42823
42824 [BZ #2548]
42825 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42826 bits before adding and subtracting TWO23[sx].
42827 * math/libm-test.inc (rint_test): Add more tests.
42828 (rint_test_tonearest): Likewise.
42829 (rint_test_towardzero): Likewise.
42830 (rint_test_downward): Likewise.
42831 (rint_test_upward: Likewise.
42832
ff3b3d82
JM
428332012-02-22 Joseph Myers <joseph@codesourcery.com>
42834
42835 [BZ #10110]
42836 * include/stdc-predef.h: New file. Extracted from features.h.
42837 * include/features.h: Include stdc-predef.h.
42838 * Makefile (headers): Add stdc-predef.h.
42839 * CONFORMANCE (Compiler limitations): Update.
42840
ef0aab35
JM
428412012-02-22 Joseph Myers <joseph@codesourcery.com>
42842
42843 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42844
58639409
DM
428452012-02-21 David S. Miller <davem@davemloft.net>
42846
42847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42849
c0e70b25
DM
428502012-02-20 David S. Miller <davem@davemloft.net>
42851
42852 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42853 using a normal save/restore sequence, rather than allocating a
42854 dummy stack frame just to store a frame pointer and restore.
42855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42856
fb06851d
JM
428572012-02-21 Joseph Myers <joseph@codesourcery.com>
42858
42859 * manual/install.texi: Fix stray word in line-wrapped comment.
42860
7a8b71c3
DM
428612012-02-20 David S. Miller <davem@davemloft.net>
42862
d510c123
DM
42863 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42864 both binutils and gcc support GOTDATA.
42865
0722d7c2
DM
42866 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42867 "rd %pc" in the PIC register setup sequences.
42868
3d2b3019
DM
42869 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42870 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42871 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42872 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42873 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42875 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42878 (SYSCALL_ERROR_HANDLER): Likewise.
42879 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42882 (SYSCALL_ERROR_HANDLER): Likewise.
42883
c80098a9
DM
42884 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42885 (HAVE_GCC_GOTDATA): New.
42886 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42887 relocation support in both binutils and gcc.
42888 * sysdeps/sparc/elf/configure: Regenerate.
42889
3a2545a0
DM
42890 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42891 * sysdeps/sparc/sparc32/elf/configure: Delete.
42892 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42893 * sysdeps/sparc/sparc64/elf/configure: Delete.
42894 * sysdeps/sparc/elf/configure.in: New file.
42895 * sysdeps/sparc/elf/configure: Generate.
42896
7a8b71c3
DM
42897 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42898 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42899 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42900 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42901 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42902
f1e86fca
JM
429032012-02-21 Joseph Myers <joseph@codesourcery.com>
42904
42905 * manual/install.texi: Do not mention specific glibc version
42906 numbers.
42907 * manual/libc.texinfo (VERSION, UPDATED): Update.
42908 (@copying): Use @copyright{} and range of years.
42909
0e7dfaef
JM
429102012-02-21 Joseph Myers <joseph@codesourcery.com>
42911
42912 [BZ #13695]
42913 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42914 [crti.S not in sysdirs] (generated): Do not append.
42915 [crti.S not in sysdirs] (omit-deps): Likewise.
42916 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42917 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42918 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42919 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42920 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42921 Likewise.
42922 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42923 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42924 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42925 * csu/defs.awk: Remove file.
42926 * sysdeps/generic/initfini.c: Likewise.
42927 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42928 variable.
42929 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42930 Likewise.
42931
599af3ca
JM
429322012-02-20 Joseph Myers <joseph@codesourcery.com>
42933
42934 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42935 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42936 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42937 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42939 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42940 <bits/epoll.h>.
42941 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42942 (__EPOLL_PACKED): Define to empty if not defined by
42943 <bits/epoll.h>.
42944 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42946 bits/epoll.h.
42947
0e499750
JM
429482012-02-20 Joseph Myers <joseph@codesourcery.com>
42949
42950 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42951 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42953 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42954 <bits/timerfd.h>.
42955 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42957 bits/timerfd.h.
42958
5ad91f6e
JM
429592012-02-20 Joseph Myers <joseph@codesourcery.com>
42960
42961 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42962 in C locale.
42963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42967
06b99b02
AJ
429682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42969
42970 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42972
7638c0fd
AS
429732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42974
42975 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42976 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42977 defined.
42978 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42979 Likewise.
42980 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42981 entry for 2.16.
42982
92221550
AJ
429832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42984
42985 * math/w_acos.c: Use non-signaling floating-point comparisons.
42986 * math/w_acosf.c: Likewise.
42987 * math/w_acosh.c: Likewise.
42988 * math/w_acoshf.c: Likewise.
42989 * math/w_acoshl.c: Likewise.
42990 * math/w_acosl.c: Likewise.
42991 * math/w_asin.c: Likewise.
42992 * math/w_asinf.c: Likewise.
42993 * math/w_asinl.c: Likewise.
42994 * math/w_atanh.c: Likewise.
42995 * math/w_atanhf.c: Likewise.
42996 * math/w_atanhl.c: Likewise.
42997 * math/w_exp2.c: Likewise.
42998 * math/w_exp2f.c: Likewise.
42999 * math/w_exp2l.c: Likewise.
43000 * math/w_j0.c: Likewise.
43001 * math/w_j0f.c: Likewise.
43002 * math/w_j0l.c: Likewise.
43003 * math/w_j1.c: Likewise.
43004 * math/w_j1f.c: Likewise.
43005 * math/w_j1l.c: Likewise.
43006 * math/w_jn.c: Likewise.
43007 * math/w_jnf.c: Likewise.
43008 * math/w_log.c: Likewise.
43009 * math/w_log10.c: Likewise.
43010 * math/w_log10f.c: Likewise.
43011 * math/w_log10l.c: Likewise.
43012 * math/w_log2.c: Likewise.
43013 * math/w_log2f.c: Likewise.
43014 * math/w_log2l.c: Likewise.
43015 * math/w_logf.c: Likewise.
43016 * math/w_logl.c: Likewise.
43017 * math/w_sqrt.c: Likewise.
43018 * math/w_sqrtf.c: Likewise.
43019 * math/w_sqrtl.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43025
ebaf36eb
JM
430262012-02-19 Joseph Myers <joseph@codesourcery.com>
43027
43028 [BZ #9739]
43029 * manual/string.texi (strnlen): Use correct parameter name in
43030 equivalent expression.
43031
71c254a6
JM
430322012-02-19 Joseph Myers <joseph@codesourcery.com>
43033
43034 [BZ #11174]
43035 * manual/users.texi (seteuid): Consistently use neweuid for
43036 argument name.
43037
16d2c631
JM
430382012-02-19 Joseph Myers <joseph@codesourcery.com>
43039
43040 [BZ #13704]
43041 * manual/nss.texi (Services in the NSS configuration): Correct
43042 list of services in example configuration file.
43043
cd837b09
NB
430442012-02-19 Nick Bowler <nbowler@draconx.ca>
43045
43046 [BZ #11322]
43047 * manual/arith.texi: Remove statements about negative zero
43048 behaving identically to zero.
43049
02c4bbad
JM
430502012-02-18 Joseph Myers <joseph@codesourcery.com>
43051
43052 [BZ #5993]
43053 * manual/install.texi: Do not document upgrading from libc5.
43054
366842e7
JM
430552012-02-18 Joseph Myers <joseph@codesourcery.com>
43056
43057 [BZ #4596]
43058 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43059
dd54084d
DM
430602012-02-18 David S. Miller <davem@davemloft.net>
43061
43062 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43063 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43064 %o7 across the call.
43065 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43066 instead.
43067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43068 SETUP_PIC_REG_LEAF.
43069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43070 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43071 * sysdeps/sparc/crtn.S: Likewise.
43072
2bcc53a3
UD
430732012-02-17 Ulrich Drepper <drepper@gmail.com>
43074
43075 * aout/Makefile: Remove.
43076
09c093b5
RK
430772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43078
43079 [BZ #13058]
43080 * manual/examples/argp-ex1.c (main): Format definition in GNU
43081 style.
43082 * manual/examples/argp-ex2.c (main): Likewise.
43083 * manual/examples/argp-ex3.c (main): Likewise.
43084 * manual/examples/argp-ex4.c (main): Likewise.
43085 * manual/examples/longopt.c (main): Use new-style prototype
43086 definition.
43087 * manual/examples/strncat.c (main): Specify return type and use
43088 (void) for arguments.
43089 * manual/examples/subopt.c (main): Use char **argv argument.
43090
2ee633a2
JM
430912012-02-17 Joseph Myers <joseph@codesourcery.com>
43092
43093 [BZ #5077]
43094 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43095 rounding modes.
43096
0520adde
FB
430972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43098
43099 [BZ #6907]
43100 * manual/string.texi (strchr): Change when strchrnul is
43101 recommended.
43102
3f4081cd
DGM
431032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43104
43105 [BZ #174]
43106 * manual/locale.texi (setlocale): Document LOCPATH.
43107
d1b10e78
JM
431082012-02-17 Joseph Myers <joseph@codesourcery.com>
43109
43110 [BZ #10210]
43111 * manual/process.texi (execle): Move @dots{} before last argument.
43112
79c6869c
PB
431132012-02-17 Paul Bolle <pebolle@tiscali.nl>
43114
43115 [BZ #12047]
43116 * manual/charset.texi (Generic Charset Conversion): Fix typo
43117 (LC_TYPE -> LC_CTYPE).
43118
cc6e48bc
NB
431192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43120
43121 [BZ #5805]
43122 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43123 (scalbnf): Likewise.
43124 (scalbnl): Likewise.
43125 (scalbln): Likewise.
43126 (scalblnf): Likewise.
43127 (scalblnl): Likewise.
43128 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43129 (vwarnx): Likewise.
43130 (verr): Likewise.
43131 (verrx): Likewise.
43132 * manual/filesys.texi (telldir): Use braces around return type.
43133 * manual/llio.texi (mmap): Add space after comma.
43134 (mmap64): Likewise.
43135 * manual/math.texi (jn): Use @var{} on parameter names.
43136 (jnf): Likewise.
43137 (jnl): Likewise.
43138 (yn): Likewise.
43139 (ynf): Likewise.
43140 (ynl): Likewise.
43141 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43142 line.
43143 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43144 "...".
43145 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43146 (sched_get_priority_max): Likewise.
43147 * manual/signal.texi (sigvec): Add space after comma.
43148 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43149 names.
43150 (if_indextoname): Likewise.
43151 (if_freenameindex): Likewise.
43152 (sendto): Use ',' instead of '.' in prototype.
43153 * manual/startup.texi (syscall): Use @dots{} instead of literal
43154 "...".
43155 * manual/stdio.texi (__fpending): Separate initial words of
43156 paragraph from @deftypefun line.
43157 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43158 "...".
43159 (vsyslog): Use @var{} on parameter names.
43160 * manual/terminal.texi (stty): Use @var{} on parameter names.
43161 * manual/users.texi (getutmp): Use @var{} on parameter names.
43162 (getutmpx): Likewise.
43163
5b23062f
JM
431642012-02-17 Joseph Myers <joseph@codesourcery.com>
43165
43166 [BZ #6884]
43167 * manual/stdio.texi (fopen): Fix typos in description of
43168 ",ccs=STRING".
43169
8dee4833
AJ
431702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43171
43172 [BZ #4026]
43173 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43174 get clock_id definition.
43175
9078ce93
TS
431762012-02-17 Thomas Schwinge <thomas@schwinge.name>
43177
43178 [BZ #4822]
43179 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43180 (madvise): Cast every argument to void on its own.
43181
3835c55f
JM
431822012-02-17 Joseph Myers <joseph@codesourcery.com>
43183
43184 [BZ #9902]
43185 * manual/startup.texi (Exit Status): Fix typo.
43186
35c47e37
JM
431872012-02-17 Joseph Myers <joseph@codesourcery.com>
43188
43189 [BZ #10140]
43190 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43191 * manual/examples/argp-ex2.c: Likewise.
43192 * manual/examples/argp-ex3.c: Likewise.
43193
e3b69ca7
RH
431942012-02-16 Richard Henderson <rth@redhat.com>
43195
43196 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43197 * sysdeps/s390/s390-32/initfini.c: Remove.
43198 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43199 * sysdeps/s390/s390-64/initfini.c: Remove.
43200
df83af67
KK
432012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43202
43203 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43204 compiler output for sysdeps/generic/initfini.c.
43205 * sysdeps/sh/elf/initfini.c: Remove file.
43206
f63f3380
DM
432072012-02-16 David S. Miller <davem@davemloft.net>
43208
fb59b3a4
DM
43209 [BZ #11494]
43210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43211
f63f3380
DM
43212 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43213 * sysdeps/sparc/crti.S: New file.
43214 * sysdeps/sparc/crtn.S: New file.
43215 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43216 * sysdeps/sparc/sparc64/Makefile: Likewise.
43217
df6a4a4a
MF
432182012-02-15 Mike Frysinger <vapier@gentoo.org>
43219
6dd8f3dc 43220 [BZ #3335]
df6a4a4a
MF
43221 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43222
1cac7236
RM
432232012-02-15 Roland McGrath <roland@hack.frob.com>
43224
d2c736f8
RM
43225 [BZ #4822]
43226 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43227
1cac7236
RM
43228 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43229 (write, read, close): Likewise.
43230 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43231
8e475601
JM
432322012-02-15 Joseph Myers <joseph@codesourcery.com>
43233
43234 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43235 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43236 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43237 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43238 <bits/signalfd.h>.
43239 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43241 bits/signalfd.h.
43242
ed656b40
MP
432432012-02-14 Marek Polacek <polacek@redhat.com>
43244
43245 * sysdeps/x86_64/crti.S: New file.
43246 * sysdeps/x86_64/crtn.S: New file.
43247 * sysdeps/x86_64/elf/initfini.c: Remove file.
43248
2a979d3a
JM
432492012-02-13 Joseph Myers <joseph@codesourcery.com>
43250
43251 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43252 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43253 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43254 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43255 <bits/inotify.h>.
43256 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43258 bits/inotify.h.
43259
2a418ac3
JM
432602012-02-13 Joseph Myers <joseph@codesourcery.com>
43261
43262 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43263 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43264 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43265 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43266 <bits/eventfd.h>.
43267 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43269 bits/eventfd.h.
43270
fb779be7
TS
432712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43272
e19e83c5
RM
43273 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43274 __feraiseexcept instead of feraiseexcept.
7c35ffed 43275
fb779be7
TS
43276 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43277 nanosleep invocations.
43278 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43279 strings, and add error checking for a nanosleep invocations.
43280
59ba27a6
PE
432812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43282
43283 Replace FSF snail mail address with URLs, as per GNU coding standards.
43284 Most of the snail mail addresses were wrong anyway, and omitting
43285 them makes the source code easier to maintain. Almost all of the
43286 changes are to license notices and to locale LC_IDENTIFICATION
43287 addresses, except for this one:
43288 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43289 not its snail mail address.
43290
57b957eb
RH
432912012-02-09 Richard Henderson <rth@twiddle.net>
43292
af850b1c
RH
43293 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43294 of kernel-features.h.
43295
57b957eb
RH
43296 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43297
6b73181a
MP
432982012-02-08 Marek Polacek <polacek@redhat.com>
43299
43300 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43301 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43302 * sysdeps/gnu/_G_config.h: Likewise.
43303 * sysdeps/generic/_G_config.h: Likewise.
43304
26ecc33a
AS
433052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43306
6c6dbc63
AS
43307 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43308 tests.
43309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43310
e216c012
AS
43311 * sysdeps/powerpc/powerpc32/crti.S: New file.
43312 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43313 * sysdeps/powerpc/powerpc64/crti.S: New file.
43314 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43315
26ecc33a
AS
43316 * Makeconfig (have-initfini): Don't set.
43317 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43318 * configure.in (nopic_initfini): Don't substitute.
43319 * config.h.in (HAVE_INITFINI): Don't #undef.
43320 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43321 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43322
3add8e13
JM
433232012-02-08 Joseph Myers <joseph@codesourcery.com>
43324
43325 Support crti.S and crtn.S provided directly by architectures.
43326 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43327 [crti.S in sysdirs] (omit-deps): Likewise.
43328 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43329 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43330 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43331 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43332 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43333 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43334 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43335 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43336 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43337 compiler output for sysdeps/generic/initfini.c.
43338 * sysdeps/i386/elf/Makefile: Remove file.
43339 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43340
a22f12b4
MP
433412012-02-07 Marek Polacek <polacek@redhat.com>
43342
43343 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43344 * sysdeps/gnu/_G_config.h: Likewise.
43345 * sysdeps/mach/hurd/_G_config.h: Likewise.
43346
148cf100
MP
433472012-02-07 Marek Polacek <polacek@redhat.com>
43348
43349 * math/Makefile (tests): Add tst-CMPLX2.
43350 * math/tst-CMPLX2.c: New file.
43351
cfdc0dd7
AS
433522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43353
84ba42c4
AS
43354 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43355
cfdc0dd7
AS
43356 * math/libm-test.inc (jn_test): Add missing L suffix.
43357
622c86f4
MP
433582012-02-06 Marek Polacek <polacek@redhat.com>
43359
43360 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43361 * sysdeps/i386/fpu/e_powf.S: Likewise.
43362 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43363 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43364 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43365 * sysdeps/i386/fpu/e_pow.S: Likewise.
43366 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43367 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43368 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43369 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43370 * sysdeps/i386/fpu/e_log2.S: Likewise.
43371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43372 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43373 * sysdeps/i386/fpu/e_powl.S: Likewise.
43374 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43375 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43376 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43377 * sysdeps/i386/fpu/e_logl.S: Likewise.
43378 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43379 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43380 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43381 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43383 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43384 * sysdeps/i386/fpu/e_log.S: Likewise.
43385 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43387 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43388 * sysdeps/i386/fpu/e_logf.S: Likewise.
43389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43390 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43391 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43392 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43393 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43394 * sysdeps/i386/fpu/e_log10.S: Likewise.
43395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43400 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43401 * sysdeps/i386/asm-syntax.h: Likewise.
43402 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43403 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43404 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43405 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43406 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43407 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43408 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43409 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43410 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43411 * sysdeps/powerpc/sysdep.h: Likewise.
43412 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43413 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43414
d4a54ac6
JM
434152012-02-06 Joseph Myers <joseph@codesourcery.com>
43416
43417 [BZ #411]
43418 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43419
314054ea
JM
434202012-02-06 Joseph Myers <joseph@codesourcery.com>
43421
43422 * sysdeps/i386/sysdep.h: Include <features.h>.
43423 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43424 version.
43425
d8e0ca50
JM
434262012-02-05 Joseph Myers <joseph@codesourcery.com>
43427
43428 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43429 Define.
43430 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43431 LOAD_PIC_REG_STR.
43432
b1da7dd9
JM
434332012-02-03 Joseph Myers <joseph@codesourcery.com>
43434
43435 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43436 (SETUP_PIC_REG): Use GET_PC_THUNK.
43437 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43438 macro.
43439
9a1d9254
JM
434402012-02-03 Joseph Myers <joseph@codesourcery.com>
43441
43442 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43443 for non-PIC compilation.
43444 (SETUP_PIC_REG): Add .p2align directive.
43445 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43446 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43447 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43448 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43450 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43451 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43453 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43454 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43455 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43456 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43457 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43458 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43459 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43460 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43461 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43462 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43463 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43464 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43467 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43468 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43473 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43474 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43475 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43477 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43478 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43479 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43480 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43481 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43482 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43483 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43485 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43486
65dc3b75
JM
434872012-02-03 Joseph Myers <joseph@codesourcery.com>
43488
43489 * math/tst-CMPLX.c: Include <stdio.h>.
43490
d55bf177
JM
434912012-01-31 Joseph Myers <joseph@codesourcery.com>
43492
43493 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43494 float.
43495 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43496 * sysdeps/sparc/bits/mathdef.h: Likewise.
43497
69db4f8f
MP
434982012-01-31 Marek Polacek <polacek@redhat.com>
43499
43500 * libio/libio.h: Don't define _PARAMS.
43501 * locale/programs/config.h: Don't define PARAMS.
43502 * stdlib/strtol_l.c: Likewise.
43503 (__strtol_l): Remove PARAMS from the prototype.
43504
41b81892
UD
435052012-01-31 Ulrich Drepper <drepper@gmail.com>
43506
3b49edc0
UD
43507 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43508 names. Just use the correct names. Remove unnecessary wrapper
43509 functions.
43510 * malloc/arena.c: Likewise.
43511 * malloc/hooks.c: Likewise.
43512
41b81892
UD
43513 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43514 ARENA_TEST says not to. Simplify test for creation of a new arena.
43515 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43516
27a25b6e
UD
435172012-01-30 Ulrich Drepper <drepper@gmail.com>
43518
43519 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43520 into tail calls.
43521 (update_get_addr): New function.
43522 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43523 GET_ADDR_MODULE parameter.
43524
c8a89e7d
JM
435252012-01-30 Joseph Myers <joseph@codesourcery.com>
43526
43527 * crypt/cert.c: Remove __STDC__ conditionals.
43528 * crypt/crypt-entry.c: Likewise.
43529 * crypt/crypt_util.c: Likewise.
43530 * libio/filedoalloc.c: Likewise.
43531 * libio/fileops.c: Likewise.
43532 * libio/genops.c: Likewise.
43533 * libio/iofclose.c: Likewise.
43534 * libio/iofdopen.c: Likewise.
43535 * libio/iofopen.c: Likewise.
43536 * libio/iofopen64.c: Likewise.
43537 * libio/iogetdelim.c: Likewise.
43538 * libio/iopopen.c: Likewise.
43539 * libio/obprintf.c: Likewise.
43540 * libio/oldfileops.c: Likewise.
43541 * libio/oldiofclose.c: Likewise.
43542 * libio/oldiofdopen.c: Likewise.
43543 * libio/oldiofopen.c: Likewise.
43544 * libio/oldiopopen.c: Likewise.
43545 * libio/wfiledoalloc.c: Likewise.
43546 * libio/wgenops.c: Likewise.
43547 * locale/programs/xmalloc.c: Likewise.
43548 * misc/syslog.c: Likewise.
43549 * stdio-common/xbug.c: Likewise.
43550 * string/memchr.c: Likewise.
43551 * string/memcmp.c: Likewise.
43552 * string/memrchr.c: Likewise.
43553 * string/rawmemchr.c: Likewise.
43554 * sysdeps/posix/getcwd.c: Likewise.
43555 * time/strftime_l.c: Likewise.
43556
3b100462
JM
435572012-01-30 Joseph Myers <joseph@codesourcery.com>
43558
43559 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
43560 * config.make.in (config-cflags-sse2avx): Define.
43561 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43562 Fix typo.
43563
607998af
CM
435642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43565
43566 * scripts/config.guess: Update from upstream config git repository.
43567 * scripts/config.sub: Likewise.
43568
3601428f
CM
435692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43570
3ac8b282
CM
43571 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43572 (EM_NUM): Update.
43573 (R_TILEPRO_*, R_TILEGX_*): New macros.
43574
e034841e
CM
43575 * scripts/firstversions.awk: Fix bug in version range handling.
43576
540d7568
CM
43577 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43578
3601428f
CM
43579 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43580
463de862
CM
43581 * include/sys/epoll.h: New file.
43582 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43583 libc_hidden_def.
43584
73139a76
UD
435852012-01-28 Ulrich Drepper <drepper@gmail.com>
43586
96bc5b45
UD
43587 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43588 Avoid unnecessary __WORDSIZE == 64 test.
43589 (fmaxf): Use VEX format if possible.
43590 (fmax): Likewise.
43591 (fminf): Likewise.
43592 (fmin): Likewise.
43593
56f6f6a2
UD
43594 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43595 * math/math_private.h: Remove libc_fegetround* and
43596 libc_fesetround*.
43597 * sysdeps/i386/configure.in: Check for -msse2avx.
43598 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43599 also if SSE2AVX is defined.
43600 Remove libc_fegetround* and libc_fesetround*.
43601 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43602 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43604 of HAS_YMM_USABLE.
43605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43610
73139a76
UD
43611 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43612
d73f93a4
AZ
436132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43614
43615 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43616 size is not set.
43617 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43618
6ee65ed6
UD
436192012-01-27 Ulrich Drepper <drepper@gmail.com>
43620
43621 [BZ #13618]
43622 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43623 relocation.
43624 * Makeconfig (libm): Define.
43625 * elf/Makefile: Add rules to build and run tst-relsort1.
43626 * elf/tst-relsort1.c: New file.
43627 * elf/tst-relsort1mod1.c: New file.
43628 * elf/tst-relsort1mod2.c: New file.
43629
8db21882
JM
436302012-01-27 Joseph Myers <joseph@codesourcery.com>
43631
43632 * math/s_ldexp.c: Remove __STDC__ conditionals.
43633 * math/s_ldexpf.c: Likewise.
43634 * math/s_ldexpl.c: Likewise.
43635 * math/s_nextafter.c: Likewise.
43636 * math/s_nexttowardf.c: Likewise.
43637 * math/s_significand.c: Likewise.
43638 * math/s_significandf.c: Likewise.
43639 * math/s_significandl.c: Likewise.
43640 * math/w_jnl.c: Likewise.
43641 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43642 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43643 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43644 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43645 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43647 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43648 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43649 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43653 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43654 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43655 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43656 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43663 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43665 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43666 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43667 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43668 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43669 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43670 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43671 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43672 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43673 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43674 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43675 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43676 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43677 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43679 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43681 * sysdeps/ieee754/k_standard.c: Likewise.
43682 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43683 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43684 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43685 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43686 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43687 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43688 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43689 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43690 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43691 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43692 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43693 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43694 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43695 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43696 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43698 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43704 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43705 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43707 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43711 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43712 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43713 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43714 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43715 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43716 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43718 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43721 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43725 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43727 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43729 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43730 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43731 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43732 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43735 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43737 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43738 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43740 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43741 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43742 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43743 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43744 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43746 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43747 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43748 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43751 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43752 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43753 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43754 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43755 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43756 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43758 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43759 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43761 * sysdeps/ieee754/s_matherr.c: Likewise.
43762 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43763 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43766
965a54a4
JM
437672012-01-26 Joseph Myers <joseph@codesourcery.com>
43768
43769 * crypt/md5.h: Remove __STDC__ conditionals.
43770 * libio/libioP.h: Likewise.
43771 * locale/programs/config.h: Likewise.
43772 * sysdeps/generic/sysdep.h: Likewise.
43773 * sysdeps/i386/asm-syntax.h: Likewise.
43774 * sysdeps/s390/asm-syntax.h: Likewise.
43775 * sysdeps/unix/sysdep.h: Likewise.
43776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43778
7071ad79
JM
437792012-01-26 Joseph Myers <joseph@codesourcery.com>
43780
43781 * libio/libio.h: Remove __STDC__ conditionals.
43782 * malloc/obstack.h: Likewise.
43783 * math/complex.h: Likewise.
43784 * math/math.h: Likewise.
43785 * sysdeps/generic/_G_config.h: Likewise.
43786 * sysdeps/gnu/_G_config.h: Likewise.
43787 * sysdeps/mach/hurd/_G_config.h: Likewise.
43788 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43789 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43790 * sysdeps/sparc/bits/mathdef.h: Likewise.
43791
afc5ed09
UD
437922012-01-26 Ulrich Drepper <drepper@gmail.com>
43793
43794 [BZ #13583]
43795 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 43796 Clean up HAS_* macros.
afc5ed09 43797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
43798 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43799 possible.
43800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43801 HAS_AVX.
43802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43803 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43804 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43805 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43806 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 43807
bdb6de1d
JM
438082012-01-25 Joseph Myers <joseph@codesourcery.com>
43809
43810 * elf/tst-unique3.cc (gets): Remove declaration.
43811 * elf/tst-unique3lib.cc (gets): Likewise.
43812 * elf/tst-unique3lib2.cc (gets): Likewise.
43813 * elf/tst-unique4.cc (gets): Likewise.
43814
b15549e6
UD
438152012-01-24 Ulrich Drepper <drepper@gmail.com>
43816
43817 * include/stdio.h: Add C++ protection. Add gets declarations and
43818 definitions.
43819 * debug/tst-chk1.c: Don't declare gets here.
43820 * stdio-common/tst-gets.c: Likewise.
43821
a037381f
JM
438222012-01-24 Joseph Myers <joseph@codesourcery.com>
43823
43824 * posix/glob: Remove directory.
43825
f1d4aa75
JM
438262012-01-24 Joseph Myers <joseph@codesourcery.com>
43827
43828 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43829
81c0c964
PT
438302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43831
43832 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43833 of the non-standard EPFNOSUPPORT.
43834
0ea698ae
ST
438352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43836
43837 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43838 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43839 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43840
d220b117
UD
438412012-01-21 Ulrich Drepper <drepper@gmail.com>
43842
43843 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43844
3e1aa84e
UD
438452012-01-20 Ulrich Drepper <drepper@gmail.com>
43846
43847 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43848 transient errors.
43849 * nscd/grpcache.c (cache_addgr): Likewise.
43850 * nscd/hstcache.c (cache_addhst): Likewise.
43851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43852 * nscd/pwdcache.c (cache_addpw): Likewise.
43853 * nscd/servicescache.c (cache_addserv): Likewise.
43854
400aa020
UD
438552012-01-16 Ulrich Drepper <drepper@gmail.com>
43856
d77e7869
UD
43857 * malloc/malloc.c: Various cleanups.
43858 * malloc/hooks.c: Likewise.
43859
400aa020
UD
43860 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43861 * stdlib/bug-fmtmsg1.c: New file.
43862
43863 * stdlib/fmtmsg.c (init): Add missing unlock.
43864 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43865
e0a309cf
MP
438662012-01-12 Marek Polacek <polacek@redhat.com>
43867
43868 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43869 and _GNU_SOURCE.
43870
929d11c7
WS
438712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43872
43873 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43874 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43875 macro to ensure uniqueness of label name.
43876 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43877 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43878
41d0e869
UD
438792012-01-11 Ulrich Drepper <drepper@gmail.com>
43880
0cc5ed3b
UD
43881 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43882
41d0e869
UD
43883 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43884 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43885 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43887
a47a831a
UD
438882012-01-10 Ulrich Drepper <drepper@gmail.com>
43889
daa891c0
UD
43890 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43891
43892 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43893 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43894 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43895
e58ef0f2
UD
43896 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43897
a47a831a 43898 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
43899 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43900 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 43901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
43902
43903 * math/bits/math-finite.h: Add ldexp support.
43904
a0bfc9c7
MP
439052012-01-10 Marek Polacek <polacek@redhat.com>
43906
43907 * locale/programs/localedef.h (show_archive_content): Add noreturn
43908 attribute.
43909
d6e97a1d
UD
439102012-01-09 Ulrich Drepper <drepper@gmail.com>
43911
43912 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43913
d5835c26
UD
439142012-01-08 Ulrich Drepper <drepper@gmail.com>
43915
e5f484c6
UD
43916 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43917
d5835c26
UD
43918 * io/Makefile (headers): Add bits/poll2.h.
43919
d1f741e9
WS
439202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43921
43922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43923 typo #include statement.
43924
ec09c1c4
UD
439252012-01-08 Ulrich Drepper <drepper@gmail.com>
43926
43927 * include/sys/cdefs.h: Define __attribute_alloc_size.
43928 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43929 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43930 * elf/pldd.c: Likewise.
43931 * iconv/iconv_charmap.c: Likewise.
43932 * iconv/iconvconfig.c: Likewise.
43933 * iconv/strtab.c: Likewise.
43934 * locale/programs/locale.c: Likewise.
43935 * locale/programs/localedef.h: Likewise.
43936 * locale/programs/simple-hash.c: Likewise.
43937 * nscd/nscd.h: Likewise.
43938 * nss/makedb.c: Likewise.
43939 * sysdeps/generic/ldconfig.h: Likewise.
43940 * locale/programs/localedef.c: Remove xmalloc prototype.
43941 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43942
20b38e03
PP
439432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43944
43945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43946 appropriate.
43947
a0da5fe1
UD
439482012-01-08 Ulrich Drepper <drepper@gmail.com>
43949
1d5a644a 43950 * math/Makefile (tests): Add tst-CMPLX.
669704fd 43951 * math/tst-CMPLX.c: New file.
1d5a644a 43952
8784a6db
UD
43953 * math/complex.h (CMPLXL): Fix typo.
43954
d9a216c0
UD
43955 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43956 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43957 GLIBC_2.16.
43958 * debug/tst-chk1.c: Add poll and ppoll tests.
43959 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43960 * include/sys/poll.h: Add hidden proto for ppoll.
43961 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43962 * sysdeps/mach/hurd/ppoll.c: Likewise.
43963 * io/ppoll.c: Likewise.
43964 * debug/poll_chk.c: New file.
43965 * debug/ppoll_chk.c: New file.
43966 * include/bits/poll2.h: New file.
43967 * io/bits/poll2.h: New file.
43968
ac097f5c
UD
43969 [BZ #1350]
43970 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43971
2119dcfa
UD
43972 * configure.in: static is always set to yes. Remove.
43973 * config.make.in: Don't set build-static.
43974 * Makeconfig: Remove use of build-static.
43975 * dlfcn/Makefile: Likewise.
43976 * elf/Makefile: Likewise.
43977 * math/Makefile: Likewise.
43978 * misc/Makefile: Likewise.
43979 * nptl/Makefile: Likewise.
43980 * sysdeps/mach/hurd/Makefile: Likewise.
43981
121766a9
UD
43982 * configure.in: PWD_P is not used anymore.
43983 * config.make.in: Remove PWD_P entry.
43984
51a1d39c 43985 * configure.in: Remove last remnants of RANLIB.
8720d066 43986 No need to check for signed size_t anymore.
215f4bdc
UD
43987 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43988 and IA-64.
3857022a 43989 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
43990 * aclocal.m4: Likewise.
43991
d3ed7225
UD
43992 * wcsmbs/mbrtoc16.c: Implement using towc function.
43993 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43994 * wcsmbs/wcsmbsload.c: Likewise.
43995 * iconv/gconv_simple.c: Likewise.
43996 * iconv/gconv_int.h: Likewise.
43997 * iconv/gconv_builtin.h: Likewise.
43998 * iconv/iconv_prog.c: Remove CHAR16 handling.
43999
44000 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44001
44002 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44003
a0da5fe1
UD
44004 * configure.in: Remove --with-elf and --enable-bounded options.
44005 Dont set base_machine for ia64. More non-ELF conditions removed.
44006 Remove testing and setting of leading underscore information.
44007 * config.make.in (build-bounded): Set to no.
44008 * config.h.in: Remove NO_UNDERSCORES entry.
44009 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44010 them.
44011 * csu/start.c: Remove !NO_UNDERSCORE code.
44012 * locale/localeinfo.h: Likewise.
44013 * sysdeps/generic/machine-gmon.h: Likewise.
44014 * sysdeps/generic/sysdep.h: Likewise.
44015 * sysdeps/i386/sysdep.h: Likewise.
44016 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44017 * sysdeps/mach/sysdep.h: Likewise.
44018 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44020 * sysdeps/sh/sysdep.h: Likewise.
44021 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44022 * sysdeps/unix/i386/sysdep.S: Likewise.
44023 * sysdeps/unix/sparc/start.c: Likewise.
44024 * sysdeps/unix/sparc/sysdep.S: Likewise.
44025 * sysdeps/unix/sparc/sysdep.h: Likewise.
44026 * sysdeps/unix/start.c: Likewise.
44027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44028 * sysdeps/x86_64/sysdep.h: Likewise.
44029
df78418a
UD
440302012-01-07 Ulrich Drepper <drepper@gmail.com>
44031
a784e502
UD
44032 [BZ #13553]
44033 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44034 for non-gcc.
44035 * argp/argp-fmtstream.h: Use const instead __const.
44036 * argp/argp.h: Likewise.
44037 * assert/assert.h: Likewise.
44038 * bits/fenv.h: Likewise.
44039 * bits/sched.h: Likewise.
44040 * bits/sigset.h: Likewise.
44041 * bits/sigthread.h: Likewise.
44042 * catgets/nl_types.h: Likewise.
44043 * conform/data/pthread.h-data: Likewise.
44044 * crypt/crypt-private.h: Likewise.
44045 * crypt/crypt.h: Likewise.
44046 * crypt/crypt_util.c: Likewise.
44047 * ctype/ctype.h: Likewise.
44048 * debug/execinfo.h: Likewise.
44049 * debug/mbsnrtowcs_chk.c: Likewise.
44050 * debug/mbsrtowcs_chk.c: Likewise.
44051 * debug/wcsnrtombs_chk.c: Likewise.
44052 * debug/wcsrtombs_chk.c: Likewise.
44053 * debug/wcstombs_chk.c: Likewise.
44054 * dirent/dirent.h: Likewise.
44055 * dlfcn/dlfcn.h: Likewise.
44056 * elf/neededtest4.c: Likewise.
44057 * grp/grp.h: Likewise.
44058 * gshadow/gshadow.h: Likewise.
44059 * iconv/gconv.h: Likewise.
44060 * iconv/gconv_int.h: Likewise.
44061 * iconv/gconv_simple.c: Likewise.
44062 * iconv/iconv.h: Likewise.
44063 * iconv/loop.c: Likewise.
44064 * iconv/skeleton.c: Likewise.
44065 * include/aio.h: Likewise.
44066 * include/aliases.h: Likewise.
44067 * include/argz.h: Likewise.
44068 * include/arpa/inet.h: Likewise.
44069 * include/assert.h: Likewise.
44070 * include/dirent.h: Likewise.
44071 * include/dlfcn.h: Likewise.
44072 * include/execinfo.h: Likewise.
44073 * include/fcntl.h: Likewise.
44074 * include/fenv.h: Likewise.
44075 * include/glob.h: Likewise.
44076 * include/grp.h: Likewise.
44077 * include/libintl.h: Likewise.
44078 * include/mntent.h: Likewise.
44079 * include/netdb.h: Likewise.
44080 * include/pwd.h: Likewise.
44081 * include/rpc/netdb.h: Likewise.
44082 * include/sched.h: Likewise.
44083 * include/search.h: Likewise.
44084 * include/shadow.h: Likewise.
44085 * include/signal.h: Likewise.
44086 * include/stdio.h: Likewise.
44087 * include/stdlib.h: Likewise.
44088 * include/string.h: Likewise.
44089 * include/sys/socket.h: Likewise.
44090 * include/sys/stat.h: Likewise.
44091 * include/sys/statfs.h: Likewise.
44092 * include/sys/statvfs.h: Likewise.
44093 * include/sys/syslog.h: Likewise.
44094 * include/sys/time.h: Likewise.
44095 * include/sys/uio.h: Likewise.
44096 * include/time.h: Likewise.
44097 * include/unistd.h: Likewise.
44098 * include/utmp.h: Likewise.
44099 * include/wchar.h: Likewise.
44100 * include/wctype.h: Likewise.
44101 * inet/aliases.h: Likewise.
44102 * inet/arpa/inet.h: Likewise.
44103 * inet/netinet/ether.h: Likewise.
44104 * inet/netinet/in.h: Likewise.
44105 * intl/libintl.h: Likewise.
44106 * io/bits/fcntl2.h: Likewise.
44107 * io/fcntl.h: Likewise.
44108 * io/ftw.h: Likewise.
44109 * io/sys/poll.h: Likewise.
44110 * io/sys/stat.h: Likewise.
44111 * io/sys/statfs.h: Likewise.
44112 * io/sys/statvfs.h: Likewise.
44113 * io/utime.h: Likewise.
44114 * libio/bits/stdio.h: Likewise.
44115 * libio/bits/stdio2.h: Likewise.
44116 * libio/libio.h: Likewise.
44117 * libio/libioP.h: Likewise.
44118 * libio/stdio.h: Likewise.
44119 * locale/lc-ctype.c: Likewise.
44120 * locale/locale.h: Likewise.
44121 * login/utmp.h: Likewise.
44122 * malloc/arena.c: Likewise.
44123 * malloc/malloc.c: Likewise.
44124 * malloc/malloc.h: Likewise.
44125 * malloc/mcheck.c: Likewise.
44126 * malloc/mtrace.c: Likewise.
44127 * math/bits/mathcalls.h: Likewise.
44128 * math/fenv.h: Likewise.
44129 * math/math_private.h: Likewise.
44130 * misc/bits/error.h: Likewise.
44131 * misc/bits/syslog.h: Likewise.
44132 * misc/err.h: Likewise.
44133 * misc/error.h: Likewise.
44134 * misc/fstab.h: Likewise.
44135 * misc/mntent.h: Likewise.
44136 * misc/regexp.h: Likewise.
44137 * misc/search.h: Likewise.
44138 * misc/sgtty.h: Likewise.
44139 * misc/sys/mman.h: Likewise.
44140 * misc/sys/syslog.h: Likewise.
44141 * misc/sys/uio.h: Likewise.
44142 * misc/sys/xattr.h: Likewise.
44143 * misc/ttyent.h: Likewise.
44144 * nis/rpcsvc/ypclnt.h: Likewise.
44145 * nss/nss.h: Likewise.
44146 * posix/bits/unistd.h: Likewise.
44147 * posix/fnmatch.h: Likewise.
44148 * posix/glob.h: Likewise.
44149 * posix/sched.h: Likewise.
44150 * posix/spawn.h: Likewise.
44151 * posix/sys/wait.h: Likewise.
44152 * posix/unistd.h: Likewise.
44153 * posix/wordexp.h: Likewise.
44154 * pwd/pwd.h: Likewise.
44155 * resolv/netdb.h: Likewise.
44156 * resource/sys/resource.h: Likewise.
44157 * rt/aio.h: Likewise.
44158 * rt/bits/mqueue2.h: Likewise.
44159 * rt/mqueue.h: Likewise.
44160 * shadow/shadow.h: Likewise.
44161 * signal/signal.h: Likewise.
44162 * socket/send.c: Likewise.
44163 * socket/sendto.c: Likewise.
44164 * socket/sys/socket.h: Likewise.
44165 * stdio-common/printf.h: Likewise.
44166 * stdlib/bits/stdlib.h: Likewise.
44167 * stdlib/fmtmsg.h: Likewise.
44168 * stdlib/monetary.h: Likewise.
44169 * stdlib/stdlib.h: Likewise.
44170 * stdlib/ucontext.h: Likewise.
44171 * streams/stropts.h: Likewise.
44172 * string/argz.h: Likewise.
44173 * string/bits/string2.h: Likewise.
44174 * string/string.h: Likewise.
44175 * string/strings.h: Likewise.
44176 * sunrpc/rpc/auth.h: Likewise.
44177 * sunrpc/rpc/auth_des.h: Likewise.
44178 * sunrpc/rpc/clnt.h: Likewise.
44179 * sunrpc/rpc/netdb.h: Likewise.
44180 * sunrpc/rpc/pmap_clnt.h: Likewise.
44181 * sunrpc/rpc/xdr.h: Likewise.
44182 * sysdeps/generic/inttypes.h: Likewise.
44183 * sysdeps/generic/net/if.h: Likewise.
44184 * sysdeps/generic/sys/swap.h: Likewise.
44185 * sysdeps/gnu/net/if.h: Likewise.
44186 * sysdeps/gnu/utmpx.h: Likewise.
44187 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44188 * sysdeps/i386/i486/bits/string.h: Likewise.
44189 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44190 * sysdeps/s390/bits/string.h: Likewise.
44191 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44192 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44193 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44194 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44195 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44196 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44197 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44198 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44199 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44200 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44201 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44202 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44203 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44204 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44205 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44206 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44207 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44211 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44212 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44213 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44214 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44215 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44216 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44217 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44219 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44221 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44222 * sysvipc/sys/ipc.h: Likewise.
44223 * sysvipc/sys/msg.h: Likewise.
44224 * sysvipc/sys/sem.h: Likewise.
44225 * sysvipc/sys/shm.h: Likewise.
44226 * termios/termios.h: Likewise.
44227 * time/sys/time.h: Likewise.
44228 * time/time.h: Likewise.
44229 * wcsmbs/bits/wchar2.h: Likewise.
44230 * wcsmbs/uchar.h: Likewise.
44231 * wcsmbs/wchar.h: Likewise.
44232 * wctype/wctype.h: Likewise.
44233
0269750c
UD
44234 [BZ #13551]
44235 * Makeconfig: Remove all but ELF support including AIX support.
44236 * Makerules: Likewise.
44237 * config.h.in: Likewise.
44238 * config.make.in: Likewise.
44239 * configure: Likewise.
44240 * configure.in: Likewise.
44241 * csu/Makefile: Likewise.
44242 * csu/version.c: Likewise.
44243 * debug/Makefile: Likewise.
44244 * dlfcn/Makefile: Likewise.
44245 * elf/Makefile: Likewise.
44246 * extra-lib.mk: Likewise.
44247 * iconv/Makefile: Likewise.
44248 * include/libc-symbols.h: Likewise.
44249 * include/shlib-compat.h: Likewise.
44250 * resolv/Makefile: Likewise.
44251 * resolv/res_libc.c: Likewise.
44252 * rt/Makefile: Likewise.
44253 * sysdeps/i386/asm-syntax.h: Likewise.
44254 * sysdeps/i386/sysdep.h: Likewise.
44255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44256 * sysdeps/mach/sysdep.h: Likewise.
44257 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44258 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44259 * sysdeps/s390/asm-syntax.h: Likewise.
44260 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44261 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44262 * sysdeps/sh/sysdep.h: Likewise.
44263 * sysdeps/unix/sparc/sysdep.h: Likewise.
44264 * sysdeps/wordsize-32/divdi3.c: Likewise.
44265 * sysdeps/x86_64/sysdep.h: Likewise.
44266
00bbd29b
UD
44267 * argp/Versions: Remove _argp_unlock_xxx.
44268
44269 [BZ #13559]
44270 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44271 * abilist/libBrokenLocale.abilist: Likewise.
44272 * abilist/libanl.abilist: Likewise.
44273 * abilist/libc.abilist: Likewise.
44274 * abilist/libcrypt.abilist: Likewise.
44275 * abilist/libdl.abilist: Likewise.
44276 * abilist/libm.abilist: Likewise.
44277 * abilist/libnsl.abilist: Likewise.
44278 * abilist/libpthread.abilist: Likewise.
44279 * abilist/libresolv.abilist: Likewise.
44280 * abilist/librt.abilist: Likewise.
44281 * abilist/libthread_db.abilist: Likewise.
44282 * abilist/libutil.abilist: Likewise.
44283 * abilist/libnss_db.abilist: New file.
44284
44285 * scripts/abilist.awk: Add support for indirect functions.
44286
a2693a0e
UD
44287 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44288
3f05895f
UD
44289 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44290
ecb6fb48
UD
44291 * shlib-versions: Remove entries for ports architectures.
44292
664f8cb9
UD
44293 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44294 files in ports.
44295 * elf/stackguard-macros.h: Remove support for IA-64.
44296 * elf/tst-auditmod1.c: Likewise.
44297 * sysdeps/generic/ldsodefs.h: Likewise.
44298
7ae81d88
UD
44299 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44300 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44301 configure files.
44302
bdeba135
UD
44303 [BZ #13552]
44304 * configure.in: Remove --enable-omitfp support.
44305 * FAQ.in: Adjust.
44306 * config.make.in: Likewise.
44307 * Makeconfig: Likewise.
44308 * manual/install.texi: Likewise.
44309
d75a0a62
UD
44310 In case anyone cares, the IA-64 architecture could move to ports.
44311 * sysdeps/ia64/*: Removed.
44312 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 44313 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 44314
dcc9756b
UD
44315 [BZ #13555]
44316 * configure.in: Remove entries for unsupported architectures.
44317
d3761ebc 44318 [BZ #13533]
9954432e
UD
44319 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44320 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44321 routines.
44322 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44323 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44324 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44325 fall back to using wcrtomb.
44326 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44327 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44328 renaming.
44329 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44330 * wcsmbs/tst-c16c32-1.c: New file.
44331
44332 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44333 local variable.
44334
c3a87236
UD
44335 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44336
28926a1b
UD
44337 * elf/tst-unique3.cc: Add explicit declaration of gets.
44338 * elf/tst-unique3lib.cc: Likewise.
44339 * elf/tst-unique3lib2.cc: Likewise.
44340 * elf/tst-unique4.cc: Likewise.
44341
df78418a
UD
44342 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44343
8ecd6b2a
JM
443442012-01-06 Joseph Myers <joseph@codesourcery.com>
44345
44346 [BZ #13566]
44347 * assert/assert.h (static_assert): Don't define for C++.
44348 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44349 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44350
9f115170
UD
443512012-01-03 Ulrich Drepper <drepper@gmail.com>
44352
5e0d0300
UD
44353 * iconv/loop.c (single loop): Fix assertion in storing of
44354 remaining bytes.
44355
9f115170
UD
44356 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44357
81fb02b0
UD
443582012-01-01 Ulrich Drepper <drepper@gmail.com>
44359
44360 * posix/getconf.c: Update copyright year.
44361 * nss/getent.c: Likewise.
a316c1f6 44362 * nss/makedb.c: Likewise.
81fb02b0
UD
44363 * iconv/iconvconfig.c: Likewise.
44364 * iconv/iconv_prog.c: Likewise.
44365 * elf/ldconfig.c: Likewise.
a316c1f6
UD
44366 * elf/pldd.c: Likewise.
44367 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
44368 * catgets/gencat.c: Likewise.
44369 * csu/version.c: Likewise.
44370 * elf/ldd.bash.in: Likewise.
44371 * elf/sprof.c (print_version): Likewise.
44372 * locale/programs/locale.c: Likewise.
44373 * locale/programs/localedef.c: Likewise.
a316c1f6 44374 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
44375 * nscd/nscd.c (print_version): Likewise.
44376 * debug/xtrace.sh: Likewise.
44377 * malloc/memusage.sh: Likewise.
44378 * malloc/mtrace.pl: Likewise.
44379 * debug/catchsegv.sh: Likewise.
44380
2ba92745
JJ
443812011-12-30 Jakub Jelinek <jakub@redhat.com>
44382
44383 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44384 pure attribute.
44385
dadebdae
UD
443862011-12-24 Ulrich Drepper <drepper@gmail.com>
44387
d3761ebc 44388 [BZ #13533]
db6af3eb
UD
44389 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44390 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44391 transformations.
44392 * iconv/gconv_int.h: Likewise.
44393 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44394 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44395 from libc for GLIBC_2.16.
44396 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44397 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44398 * wcsmbs/uchar.h: Really define mbstate_t.
44399 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44400 * wcsmbs/c16rtomb.c: New file.
44401 * wcsmbs/mbrtoc16.c: New file.
44402 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44403 for C/POSIX locale.
44404 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44405 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44406
dadebdae
UD
44407 * wcsmbs/wchar.h: Add missing __restrict.
44408
67371b56
UD
444092011-12-23 Ulrich Drepper <drepper@gmail.com>
44410
74033a25
UD
44411 [BZ #13532]
44412 * time/Makefile (routines): Add timespec_get.
44413 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44414 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44415 timespec for ISO C11.
44416 * time/timespec_get.c: New file.
44417 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44418 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44419
380d7e87
UD
44420 [BZ #13531]
44421 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44422 * stdlib/stdlib.h: Declare aligned_alloc.
44423 * Versions.def: Add GLIBC_2.16 for libc.
44424 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44425
4e9e7a35
UD
44426 [BZ 13527]
44427 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44428 ISO C11.
44429
380d7e87 44430 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
44431 code.
44432
03a71829
UD
44433 [BZ #13528]
44434 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44435
839e283e
UD
44436 [BZ #13529]
44437 * assert/assert.h (static_assert): Define.
44438
ce5294e2 44439 * version.h: Update for 2.16 development version.
90fa7312 44440
8d44e150 44441 [BZ #13526]
d7809905
UD
44442 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44443 _ISOC11_SOURCE.
44444
c0da14cd
UD
44445 * version.h (RELEASE): Bump for 2.15 release.
44446 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44447
530a3249
MP
44448 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44449 Patch by Marek Polacek <mpolacek@redhat.com>.
44450
67371b56
UD
44451 * bits/byteswap.h: Protect long long constants with __extension__.
44452 * sysdeps/i386/bits/byteswap.h: Likewise.
44453 * sysdeps/ia64/bits/byteswap.h: Likewise.
44454 * sysdeps/s390/bits/byteswap.h: Likewise.
44455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44456
15db4de1
LD
444572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44458
44459 [BZ #13540]
bbe315ea
LD
44460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44461 destination buffer.
15db4de1
LD
44462 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44463
2b2596b1
MP
444642011-12-23 Marek Polacek <polacek@redhat.com>
44465
44466 * elf/dl-addr.c (determine_info): Add inline keyword.
44467 * elf/tst-auditmod4b.c (check_avx): Likewise.
44468 * elf/tst-auditmod6b.c (check_avx): Likewise.
44469 * elf/tst-auditmod6c.c (check_avx): Likewise.
44470 * elf/tst-auditmod7b.c (check_avx): Likewise.
44471
70c6c246
UD
444722011-12-23 Ulrich Drepper <drepper@gmail.com>
44473
44474 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44475 !__SSE_MATH__.
44476
c044cf14
LD
444772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44478
15db4de1 44479 [BZ #13540]
c044cf14
LD
44480 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44481 processing for last bytes.
44482
6b13d9d9
BH
444832011-08-06 Bruno Haible <bruno@clisp.org>
44484
d455f537
BH
44485 [BZ #13061]
44486 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44487 U+0385, not to U+1FEE.
44488
6b13d9d9
BH
44489 [BZ #13062]
44490 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44491 entry for U+00A5 U+0301.
44492
db910efd
UD
444932011-12-22 Ulrich Drepper <drepper@gmail.com>
44494
27deeafc
UD
44495 [BZ #13166]
44496 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44497 buffer for the output is too small.
44498
aed9d171
UD
44499 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44500 optimization.
44501
db910efd
UD
44502 [BZ #13185]
44503 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44504 SSE flags if possible.
44505
2bd779ae
LD
445062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44507
e7f9dac3 44508 [BZ #13540]
2bd779ae
LD
44509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44510 processing for last bytes.
44511
154bfc16
JM
445122011-12-22 Joseph Myers <joseph@codesourcery.com>
44513
44514 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44515 (syscall-list-default-options, syscall-list-default-condition)
44516 (syscall-list-includes): Define.
44517 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44518 list of ABIs and options and #if conditions for each ABI. Do not
44519 handle common syscalls between ABIs specially.
44520 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44521 Remove.
44522 (syscall-list-variants, syscall-list-32bit-options)
44523 (syscall-list-32bit-condition, syscall-list-64bit-options)
44524 (syscall-list-64bit-condition): Define.
44525 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44526 (syscall-list-variants, syscall-list-32bit-options)
44527 (syscall-list-32bit-condition, syscall-list-64bit-options)
44528 (syscall-list-64bit-condition): Define.
44529 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44530 Remove.
44531 (syscall-list-variants, syscall-list-32bit-options)
44532 (syscall-list-32bit-condition, syscall-list-64bit-options)
44533 (syscall-list-64bit-condition): Define.
44534 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44535 Remove.
44536 (syscall-list-variants, syscall-list-32bit-options)
44537 (syscall-list-32bit-condition, syscall-list-64bit-options)
44538 (syscall-list-64bit-condition): Define.
44539
21eaf3a5
UD
445402011-12-22 Ulrich Drepper <drepper@gmail.com>
44541
16c6f992
UD
44542 * locale/iso-639.def: Add brx entry.
44543
41043168
UD
44544 [BZ #13328]
44545 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44546 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44547
21eaf3a5
UD
44548 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44549 __feraiseexcept_renamed.
44550
e3a851a2
UD
445512011-12-21 Ulrich Drepper <drepper@gmail.com>
44552
4920765e
UD
44553 [BZ #13538]
44554 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44555 EPOLLET with unsigned values.
44556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44557 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44558
e3a851a2
UD
44559 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44560 to large cancellation.
44561 * math/s_cacoshf.c: Likewise.
44562 * math/s_cacoshl.c: Likewise.
44563
b27e24b8
RK
445642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44565
44566 [BZ #13305]
aebefeee 44567 [BZ #12786]
b27e24b8
RK
44568 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44569 * math/s_cacoshf.c: Likewise.
44570 * math/s_cacoshl.c: Likewise.
44571
ee190f67
UD
445722011-12-21 Ulrich Drepper <drepper@gmail.com>
44573
44574 [BZ #13439]
44575 * iconv/gconv.h: Define __GCONV_SWAP.
44576 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44577 * iconvdata/utf-16.c: Likewise.
44578 * iconvdata/utf-32.c: Likewise.
44579
707f25df
AS
445802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44581
44582 [BZ #13524]
44583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44584 numerator after shifting it by one limb.
44585
d2daaa1e
RÁE
445862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44587
44588 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44589 under [__USE_EXTERN_INLINES].
44590
a4647e72
UD
445912011-12-17 Ulrich Drepper <drepper@gmail.com>
44592
44593 [BZ #13446]
44594 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44595
f0b264f1
AZ
445962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44597
44598 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44599 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44600 optimized code.
44601 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44602 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44603 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44604 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44605 for strncasecmp/strncasecmp_l compilation.
44606 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44607 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44608
8ef4f244
MP
446092011-12-08 Marek Polacek <mpolacek@redhat.com>
44610
44611 [BZ #13484]
44612 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44613 of __asm__.
44614
97ac2654
UD
446152011-12-17 Ulrich Drepper <drepper@gmail.com>
44616
44617 [BZ #13506]
44618 * time/tzfile.c (__tzfile_read): Check values from file header.
44619
91d2a845
WS
446202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44621
44622 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44623 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44624 * powerpc/powerpc32/dl-start.S: Likewise.
44625 * powerpc/powerpc32/elf/start.S: Likewise.
44626 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44627 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44628 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44629 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44630 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44631 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44632 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44633 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44634 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44635 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44636 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44637 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44638 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44639 * powerpc/powerpc32/memset.S: Likewise.
44640 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44641 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44642 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44643 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44644 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44645 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44646 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44647 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44648 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44649 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44650 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44651 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44652 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44653
a1267ba1
AZ
446542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44655
44656 * math/libm-test.inc: Added more nearbyint tests.
44657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44661
ad8ac1bd
RL
446622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44663
44664 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44665 FD_CLOEXEC.
44666
1d3e4b61
UD
446672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44668
44669 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44670 Add wcscpy-ssse3 wcscpy-c.
44671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44672 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44673 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44674 * sysdeps/x86_64/wcschr.S: New file.
44675 * sysdeps/x86_64/wcsrchr.S: New file.
44676 * string/test-strcmp.c: Remove checking of wcscmp function for
44677 wrong alignments.
44678 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44679 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44680 wcsrchr-sse2 wcsrchr-c.
44681 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44682 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44683 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44684 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44685 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44686 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44687 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44688 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44690 * wcsmbc/wcschr.c (WCSCHR): New macro.
44691
5b330a2d
UD
446922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44693
44694 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44695 * wcsmbs/test-wcsrchr.c: New file.
44696 * string/test-strrchr.c: Add wcsrchr support.
44697 (WIDE): New macro.
44698 * wcsmbs/test-wcscpy.c: New file.
44699 * string/test-strcpy.c: Add wcscpy support.
44700 (WIDE): New macro.
26428b7c 44701
f039c043
UD
447022011-12-10 Ulrich Drepper <drepper@gmail.com>
44703
44704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44705 the inner loop.
44706
850fb039
AS
447072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44708
44709 [BZ #13472]
44710 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44711
4efbd5cb
UD
447122011-12-04 Ulrich Drepper <drepper@gmail.com>
44713
52ff5dd0 44714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 44715 Minor optimizations.
52ff5dd0 44716
4efbd5cb
UD
44717 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44718 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44719 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44720
8a426e12
UD
447212011-12-03 Ulrich Drepper <drepper@gmail.com>
44722
aff2453d
UD
44723 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44724 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44725 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44726 for gcc to avoid warnings.
44727 * inet/Makefile (tests): Add tst-checks.
44728 * inet/tst-checks.c: New file.
44729
44730 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44731 warning.
44732
44733 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44734 __wmemcmp_sse2.
44735
44736 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44737 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44738
8a426e12
UD
44739 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44740
9bea3473
UD
447412011-12-02 Ulrich Drepper <drepper@gmail.com>
44742
3a965496
UD
44743 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44744 problem.
44745
9bea3473
UD
44746 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44747
f101631b
UD
447482011-11-29 Joseph Myers <joseph@codesourcery.com>
44749
44750 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44751 conditional on GCC version.
44752 (__arch_compare_and_exchange_val_8_acq)
44753 (__arch_compare_and_exchange_val_16_acq)
44754 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44755 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44756 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44757
a98275aa
UD
447582011-12-02 Joseph Myers <joseph@codesourcery.com>
44759
44760 * sysdeps/sh/backtrace.c: New file.
44761
d4cc29a2
AS
447622011-12-02 Andreas Schwab <schwab@redhat.com>
44763
44764 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44765 parenthesis.
44766
6257af2d
AS
447672011-12-01 Andreas Schwab <schwab@redhat.com>
44768
44769 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44770 falling back to utime.
44771
b5f44c1a
AS
447722011-11-30 Andreas Schwab <schwab@redhat.com>
44773
44774 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44775 expectations for float.
44776
f3a6cc0a
AS
447772011-11-29 Andreas Schwab <schwab@redhat.com>
44778
44779 * locale/weight.h (findidx): Add parameter len.
44780 * locale/weightwc.h (findidx): Likewise.
44781 * posix/fnmatch_loop.c (FCT): Adjust caller.
44782 * posix/regcomp.c (build_equiv_class): Likewise.
44783 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44784 * posix/regexec.c (check_node_accept_bytes): Likewise.
44785 * string/strcoll_l.c (STRCOLL): Likewise.
44786 * string/strxfrm_l.c (STRXFRM): Likewise.
44787
9d65ea3a
UD
447882011-11-17 Ulrich Drepper <drepper@gmail.com>
44789
44790 * Makefile.in: Remove CVSOPT handling.
44791 * configure.in: Remove use of AC_REVISION.
44792 * iconvdata/Makefile (distribute): No need to filter out CVS.
44793 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44794 handling.
44795
5583a086
AS
447962011-11-16 Andreas Schwab <schwab@redhat.com>
44797
44798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44799 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44800 [USE_AS_STRNCASECMP_L]: Likewise.
44801 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44802 NO_TLS_DIRECT_SEG_REFS.
44803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44804 Fix argument offsets for non-PIC.
44805 [USE_AS_STRNCASECMP_L]: Likewise.
44806 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44807 NO_TLS_DIRECT_SEG_REFS.
44808
d62a8200
UD
448092011-11-15 Ulrich Drepper <drepper@gmail.com>
44810
9d65ea3a 44811 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
44812 O_CLOEXEC.
44813 * locale/loadlocale.c (_nl_load_locale): Likewise.
44814
09f93bd3
AS
448152011-11-15 Andreas Schwab <schwab@redhat.com>
44816
446514f9
AS
44817 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44818 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44819 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44820 (SYSCALL_GETTIME): Set errno on error.
44821
09f93bd3
AS
44822 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44823 count references to noai6ai_cached.
44824
312be3f9
UD
448252011-11-15 Ulrich Drepper <drepper@gmail.com>
44826
44827 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44828
44829 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44830 FD_CLOEXEC for /proc/self/maps.
44831
44832 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44833 FD_CLOEXEC for /proc/meminfo.
44834
44835 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44836 gai.conf.
44837
44838 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44839 FD_CLOEXEC for given file.
44840
44841 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44842
44843 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44844 FD_CLOEXEC for /etc/hosts.
44845 (_gethtent): Likewise.
44846
44847 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44848
44849 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44850 cancellation and set FD_CLOEXEC for /etc/netgroup.
44851
44852 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44853 reading /etc/publickey.
44854
44855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44856 allow cancellation when reading /etc/group.
44857
44858 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44859 cancellation.
44860 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44861
44862 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44863 when using data file.
44864
44865 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44866
44867 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44868 (write_nis_obj): Use "c" and "e" in fopen.
44869
44870 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44871
44872 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44873
44874 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44875
44876 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44877
44878 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44879 locale.alias.
44880
44881 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44882
44883 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44884
44885 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44886
44887 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44888 file parsing and set FD_CLOEXEC.
44889
82af0fa8
UD
448902011-11-14 Ulrich Drepper <drepper@gmail.com>
44891
44892 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44893
a5fb313c
AS
448942011-11-14 Andreas Schwab <schwab@redhat.com>
44895
44896 * malloc/arena.c (arena_get2): Don't call reused_arena when
44897 _int_new_arena failed.
44898
6abf3465
UD
448992011-11-14 Ulrich Drepper <drepper@gmail.com>
44900
44901 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44902 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44903 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44905 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44906 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44907 to compile strcasecmp and strncasecmp.
44908 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44909 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44910
44911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44912
76e3966e
UD
449132011-11-13 Ulrich Drepper <drepper@gmail.com>
44914
44915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44916 locale-defines.sym to gen-as-const-headers.
44917 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44918 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44920 to compile strcasecmp and strncasecmp.
44921 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44922 strcasecmp_l and strncasecmp_l.
44923 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44924 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44925 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44927 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44928 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44929 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44930 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44931 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44932 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44933 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44934
ab26144e
UD
449352011-11-12 Ulrich Drepper <drepper@gmail.com>
44936
7edb22ef
UD
44937 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44938 result of SYSDEP_GETTIME_CPU to retval.
44939 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44940 parameter list to macro. Remove trailing semicolon. Adjust users.
44941
9694fc44
UD
44942 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44943 variable.
44944
8ad89ef8
UD
44945 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44946 mantissa words.
44947 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44948
0c822ef9
UD
44949 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44950 from unused variable.
44951
874e0564
UD
44952 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44953 DWARF definitions.
44954 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44955 for assembling.
44956
3a2edc79
UD
44957 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44958 over namespaces.
44959
f3c2577f
UD
44960 * sunrpc/rpc_prot.c (rejected): Fix case value.
44961
294ce126
UD
44962 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44963 unsigned long long int to avoid warnings in shift.
44964
5e2b63c6
UD
44965 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44966 of use of trans.
44967 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44968 variable tmp.
44969
e7f4b08e
UD
44970 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44971 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44972 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44973
ab26144e
UD
44974 * nis/nis_table.c (nis_list): Use variable of correct type for
44975 result of __follow_path call.
44976
8a6d5255
AZ
449772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44978
44979 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44980 of math functions ceil, trunc, floor, round, and sqrt, when
44981 avaliable on the platform.
44982 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44983 name clash.
44984 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44985 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44986 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44987
aaddc98c
MP
449882011-10-30 Marek Polacek <mpolacek@redhat.com>
44989
44990 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44991 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44992
95b7042b
RM
449932011-11-11 Roland McGrath <roland@hack.frob.com>
44994
44995 * include/unistd.h: Fix __readlink return type.
44996 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44997
57769839
UD
449982011-11-11 Ulrich Drepper <drepper@gmail.com>
44999
45000 * stdlib/ucontext.h: Undo last change for makecontext.
45001
edc5984d
AS
450022011-11-11 Andreas Schwab <schwab@redhat.com>
45003
98591e58
AS
45004 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45005
edc5984d
AS
45006 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45007 * setjmp/setjmp.h: Mark functions as non-leaf.
45008 * setjmp/bits/setjmp2.h: Likewise.
45009 * stdlib/ucontext.h: Likewise.
45010
77cdc054
AS
450112011-11-10 Andreas Schwab <schwab@redhat.com>
45012
45013 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45014 (reused_arena): Don't check arena limit.
45015 (arena_get2): Atomically check arena limit.
45016
fe72eebd
UD
450172011-11-08 Ulrich Drepper <drepper@gmail.com>
45018
5f078c32
UD
45019 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45020 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45021
fe72eebd
UD
45022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45023 instructions.
45024
ae1bc2fa
AS
450252011-11-07 Andreas Schwab <schwab@redhat.com>
45026
7583a88d
AS
45027 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45028 handler when locking.
45029
ae1bc2fa
AS
45030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45031 Fix size of allocated buffer.
45032
10fb0bfa
AS
450332011-11-04 Andreas Schwab <schwab@redhat.com>
45034
998832a4
AS
45035 [BZ #10103]
45036 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45037 declarations for long double functions.
45038 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45039
10fb0bfa
AS
45040 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45041
3d7ba52b
AS
450422011-11-03 Andreas Schwab <schwab@redhat.com>
45043
a9ae54a1
AS
45044 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45045 installed.
45046
3d7ba52b
AS
45047 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45048 is disabled.
45049
bc8db248
ST
450502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45051
45052 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45053
45b96dd6
AS
450542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45055
647776f6
AS
45056 * include/alloca.h (stackinfo_alloca_round): Define.
45057 (extend_alloca): Use it.
45058 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45059 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45060 here.
45061
d91a8b93
AS
45062 * scripts/check-local-headers.sh: Ignore libaudit.h.
45063
45b96dd6
AS
45064 * nscd/Makefile (extra-objs): Make recursively expanded.
45065
432d41ce
UD
450662011-11-01 Ulrich Drepper <drepper@gmail.com>
45067
34372fc6
UD
45068 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45070
fadb59f8
UD
45071 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45072 * posix/tst-rfc3484-2.c: Likewise.
45073 * posix/tst-rfc3484-3.c: Likewise.
45074
78239589
UD
45075 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45076 process_vm_writev.
45077 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45078 process_vm_writev.
45079 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45080 process_vm_writev from libc using GLIBC_2.15 version.
45081
432d41ce
UD
45082 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45083
02f9c6cf
PP
450842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45085
45086 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45087 stack usage.
45088
3a2c0242
UD
450892011-10-31 Ulrich Drepper <drepper@gmail.com>
45090
f4ec4833
UD
45091 [BZ #13367]
45092 * nss/getent.c (initgroups_keys): Show error message in case no group
45093 names are given.
45094
3a2c0242
UD
45095 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45096 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45097 __bump_nl_timestamp.
45098 * nscd/connections (nscd_init): When host database is served open
45099 netlink socket and request notification about configuration changes.
45100 (main_loop_poll): Track netlink file descriptor and bump timestamp
45101 in case data becomes available.
45102 (main_loop_epoll): Likewise.
45103 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45104 (database_pers_head): Add extra_data fileds.
45105 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45106 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45107 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45108 Adjust caller.
45109 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45110 in6ai data, call __free_in6ai.
45111 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45112 Add -DHAVE_NETLINK.
45113 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45114 interface information. Reuse previous data if netlink timestamp
45115 is not changed.
45116 (__bump_nl_timestamp): New function.
45117 (__free_in6ai): New function.
45118
636064eb
UD
451192011-10-30 Ulrich Drepper <drepper@gmail.com>
45120
45121 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45122 close_not_cancel_no_status here.
45123 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45124
9beb2334
UD
451252011-10-29 Ulrich Drepper <drepper@gmail.com>
45126
6ef76f3b
UD
45127 [BZ #13276]
45128 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45129 return value.
45130
0ffc4f3e 45131 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45132 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45133 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45134
cb95113e
UD
451352011-07-03 Andreas Jaeger <aj@suse.de>
45136
45137 [BZ #10709]
45138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45139 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45140 * math/libm-test.inc (sin_test): Add test case.
45141
a1b560ff
UD
451422011-10-29 Ulrich Drepper <drepper@gmail.com>
45143
c9aaface
UD
45144 [BZ #13337]
45145 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45146 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45147
d272e7f1
UD
45148 * elf/chroot_canon.c (chroot_canon): Cleanups.
45149
1bc33071
UD
45150 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45151
1760874d
TJ
45152 [BZ #13335]
45153 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45154 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45155
51d91b18
UD
45156 * string/test-strchr.c: Make usable for strchrnul testing.
45157 * string/test-strchrnul.c: New file.
45158 * string/Makefile (strop-tests): Add strchrnul.
45159
a1b560ff 45160 * po/it.po: Update from translation team.
b611fb81 45161 * po/es.po: Likewise.
a1b560ff 45162
a5b81e1f
UD
451632011-10-28 Ulrich Drepper <drepper@gmail.com>
45164
fd52bc6d
UD
45165 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45166 the three constants needed as parameters. Drop the others.
45167 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45168 __m128i_strloadu_tolower.
52e4b9eb
UD
45169 Create and initialize variable zero and use it in all the places
45170 where _mm_setzero_si128 was used.
fd52bc6d 45171
a5b81e1f
UD
45172 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45173 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45174 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45175 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45176 anymore.
45177 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45178 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45179 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45180 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45181 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45182 __mpranred, __mptan.
45183 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45184 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45185 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45186 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45187 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45188 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45190 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45191 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45192
b4343346
AS
451932011-10-28 Andreas Schwab <schwab@redhat.com>
45194
0c92d8a8
AS
45195 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45196 redefine if SHARED.
45197 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45198
b4343346
AS
45199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45200 wide char related routines to wcsmbs subdir.
45201
3871f58f
AS
452022011-10-27 Andreas Schwab <schwab@redhat.com>
45203
45204 [BZ #13344]
45205 * misc/sys/cdefs.h (__THROWNL): Define.
45206 * posix/unistd.h: Use __THREADNL instead of __THREAD
45207 for memory synchronization functions.
45208
94d44d9f
RM
452092011-10-26 Roland McGrath <roland@hack.frob.com>
45210
21b64b15 45211 [BZ #13349]
94d44d9f
RM
45212 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45213 doesn't exist.
45214 * manual/stdio.texi (Obstack Streams): Node removed.
45215
f6ce9294
AS
452162011-10-26 Andreas Schwab <schwab@redhat.com>
45217
80479147
AS
45218 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45220 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45221
f6ce9294
AS
45222 * math/math_private.h (math_force_eval): Allow non-addressable
45223 arguments.
45224 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45225
618280a1
UD
452262011-10-25 Ulrich Drepper <drepper@gmail.com>
45227
e0016b11
UD
45228 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45229 file is not needed.
45230
45231 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45238 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45239 Add AVX variants.
45240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45244 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45245 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45246 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45247 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45248 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45249 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45250 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45251 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45253 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45254 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45255 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45256 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45258 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45259
45260 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45261 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45262
618280a1
UD
45263 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45264 place. Use VEX encoding when compiling for AVX.
45265
37822576
AS
452662011-10-25 Andreas Schwab <schwab@redhat.com>
45267
1f1e1947
AS
45268 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45269 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45270
37822576
AS
45271 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45272
31ea014d
UD
452732011-10-25 Ulrich Drepper <drepper@gmail.com>
45274
d7826aa1 45275 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45276 useless if() expression.
d7826aa1
UD
45277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45278 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45283 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45286 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45289 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45291 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45295 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45296
31ea014d
UD
45297 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45298
16437fec
AS
452992011-10-25 Andreas Schwab <schwab@redhat.com>
45300
45301 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45302 condition.
45303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45304
31d3cc00
UD
453052011-10-25 Ulrich Drepper <drepper@gmail.com>
45306
45307 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45308 .text section. Avoid duplicate constants.
45309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45317 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45318 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45319 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45321 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45322 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45323 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45325 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45326 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45327 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45332 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45333 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45334 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45335 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45336 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45339 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45340 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45341 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45342 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45343 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45344 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45345 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45347 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45348 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45349 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45351 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45352 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45353 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45354
58985aa9
UD
453552011-10-24 Ulrich Drepper <drepper@gmail.com>
45356
202c9deb
UD
45357 * sysdeps/x86_64/dla.h: Move to ...
45358 * sysdeps/x86_64/fpu/dla.h: ...here.
45359 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45360 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 45361
af968f62
UD
45362 * config.make.in: Add have-mfma4 entry.
45363 * configure.in: Substitute libc_cv_cc_fma4.
45364 * math/Makefile (dbl-only-routines): Add sincostab.
45365 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45366 Use __sincostab not sincos.
45367 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45368 name is a macro.
45369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45373 using __copysign.
45374 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45375 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45376 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45377 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45378 and __inv.
45379 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45380 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45381 __copysign.
45382 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45383 define aliases when function name is a macro.
45384 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45385 sysdeps/ieee754/dbl-64/sincos.tbl.
45386 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45387 fma4-enabled routines.
45388 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45389 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45390 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45391 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45392 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45395 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45397 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45398 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45399 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45400 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45401 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45403 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45404 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45405 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45406 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45408 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45409 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45414 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45415 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45417 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45418
58985aa9
UD
45419 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45420 rename.
45421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45429
a201fbcf
AS
454302011-10-24 Andreas Schwab <schwab@redhat.com>
45431
45432 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45433
fc2ee42a
LD
454342011-10-23 Ulrich Drepper <drepper@gmail.com>
45435
bb3129bd
UD
45436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45437
0275fff8
UD
45438 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45439 prediction.
45440 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45441
2fa2ae85
UD
45442 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45443 Remove unused variable magic_bits.
45444 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45445
fc2ee42a
LD
45446 * string/strnlen.c: Define and use STRNLEN macro.
45447 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45448 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45450 * wcsmbs/wcslen.c: Define and use WCSLEN.
45451 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45452 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45453 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45454 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45455 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45456 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45457 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45458
ce7dd29f
LD
454592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45460
45461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45462 strnlen-sse2-no-bsf.
45463 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45465 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45466 Add strnlen support.
45467 (USE_AS_STRNLEN): New macro.
45468 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45469 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45470 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45471 * sysdeps/x86_64/wcslen.S: New file.
45472
979c70a3
MZ
454732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45474
45475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45476 XMM-moves are used for copying on small sizes.
45477
2d09f82f
LD
454782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45479
45480 * wcsmbs/Makefile (strop-tests): Add wcschr.
45481 * wcsmbs/test-wcschr.c: New file.
45482 * string/test-strchr.c: Update.
45483 Add wcschr support.
45484 (WIDE): New macro.
45485
619fccca
LD
454862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45487
2d09f82f 45488 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
45489 * wcsmbs/test-wcslen.c: New file.
45490 * string/test-strlen.c: Update.
45491 Add wcslen support.
45492 (WIDE): New macro.
45493
09f699ea
UD
454942011-10-23 Ulrich Drepper <drepper@gmail.com>
45495
45496 * po/it.po: Update from translation team.
45497
95584d3b
LD
454982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45499
45500 * sysdeps/x86_64/wcscmp.S: Update.
45501 Fix wrong comparison semantics.
45502 wcscmp shall use signed comparison not unsigned.
45503 Don't use substraction to avoid overflow bug.
45504 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45505 * wcsmbc/wcscmp.c: Likewise.
45506 * string/test-strcmp.c: Likewise.
45507 Add new tests to check cases with negative values.
45508
c8b3296b
UD
455092011-10-23 Ulrich Drepper <drepper@gmail.com>
45510
45511 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45512 * sysdeps/x86_64/dla.h: ...here. New file.
45513 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45518 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45522
246ad57a
AS
455232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45524
45525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45526 __ynl_finite aliases.
45527
a1a87169
UD
455282011-10-22 Ulrich Drepper <drepper@gmail.com>
45529
0d355eb7
UD
45530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45531
a1a87169
UD
45532 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45533 define DLA_FMA.
45534 [DLA_FMA] (EMULV): Use DLA_FMA.
45535 [DLA_FMA] (MUL12): Use EMULV.
45536 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45537 that are not needed.
45538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45545
ee2aafe0
AS
455462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45547
45548 * math/s_nan.c: Undef __nan.
45549 * math/s_nanf.c: Undef __nanf.
45550 * math/s_nanl.c: Undef __nanl.
45551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45552 "math_private.h".
45553
bc62c2fb
UD
455542011-10-22 Ulrich Drepper <drepper@gmail.com>
45555
77425c63
UD
45556 * math/s_catan.c: Add branch predictions.
45557 * math/s_catanf.c: Likewise.
45558 * math/s_catanh.c: Likewise.
45559 * math/s_catanhf.c: Likewise.
45560 * math/s_catanhl.c: Likewise.
45561 * math/s_catanl.c: Likewise.
45562 * math/s_cexp.c: Likewise.
45563 * math/s_cexpf.c: Likewise.
45564 * math/s_cexpl.c: Likewise.
45565 * math/s_clog.c: Likewise.
45566 * math/s_clog10.c: Likewise.
45567 * math/s_clog10f.c: Likewise.
45568 * math/s_clog10l.c: Likewise.
45569 * math/s_clogf.c: Likewise.
45570 * math/s_clogl.c: Likewise.
45571 * math/s_csqrt.c: Likewise.
45572 * math/s_csqrtf.c: Likewise.
45573 * math/s_csqrtl.c: Likewise.
45574 * math/s_ctanf.c: Likewise.
45575 * math/s_ctanh.c: Likewise.
45576 * math/s_ctanhf.c: Likewise.
45577 * math/s_ctanhl.c: Likewise.
45578 * math/s_ctanl.c: Likewise.
45579
bc62c2fb
UD
45580 * math/math_private.h: Define __nan, __nanf, __nanl.
45581 * math/s_cacosh.c: Include <math_private.h>.
45582 * math/s_cacoshl.c: Likewise.
45583 * math/s_casinh.c: Likewise.
45584 * math/s_casinhf.c: Likewise.
45585 * math/s_casinhl.c: Likewise.
45586 * math/s_ccos.c: Rely entire on ccosh.
45587 * math/s_ccosf.c: Rely entire on ccoshf.
45588 * math/s_ccosl.c: Rely entirely on ccoshl.
45589 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45590 Remove tests for FE_INVALID.
45591 * math/s_ccoshf.c: Likewise.
45592 * math/s_ccoshl.c: Likewise.
45593 * math/s_csin.c: Likewise.
45594 * math/s_csinf.c: Likewise.
45595 * math/s_csinh.c Likewise.
45596 * math/s_csinhf.c: Likewise.
45597 * math/s_csinhl.c: Likewise.
45598 * math/s_csinl.c: Likewise.
45599 * math/s_ctan.c: Likewise.
45600 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45601 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45602 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45603
8ec250a4
UD
456042011-10-21 Ulrich Drepper <drepper@gmail.com>
45605
c196fed8
UD
45606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45607 compilation problems.
45608
8ec250a4
UD
45609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45610 __builtin_expect.
45611
8d4f46c6
UD
456122011-10-20 Ulrich Drepper <drepper@gmail.com>
45613
ed72b654
UD
45614 * sysdeps/i386/configure.in: Test for -mfma4 option.
45615 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45616 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45617 COMMON_CPUID_INDEX_80000001.
45618 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45619 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45620 use it if FMA3 is not supported.
45621 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45622
8d4f46c6
UD
45623 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45624 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45625
d45c60c2
AS
456262011-10-20 Andreas Schwab <schwab@redhat.com>
45627
45628 [BZ #12892]
45629 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45630 it would create a cycle with a link time dependency.
45631
d9a4d2ab
UD
456322011-10-19 Ulrich Drepper <drepper@gmail.com>
45633
855d1560
UD
45634 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45635 instruction.
45636 * string/Makefile (strop-tests): Add rawmemchr.
45637 * string/test-rawmemchr.c: New file.
45638
d9a4d2ab
UD
45639 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45641 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45642 when compiling str{,n}casecmp and when AVX is available. Hook up
45643 new optimized code in initializers.
45644
8f3b1ffe
AS
456452011-10-19 Andreas Schwab <schwab@redhat.com>
45646
45647 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45648 __feraiseexcept instead of feraiseexcept.
45649
d38f1dba
UD
456502011-10-18 Ulrich Drepper <drepper@gmail.com>
45651
d9a8d0ab
UD
45652 * math/math_private.h: Define defaults for libc_fetestexcept and
45653 libc_feupdateenv.
45654 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45655 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45656 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45659 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45660 libc_fetestexcept and libc_feupdateenv.
45661
4855e3dd
UD
45662 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45663 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45664 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45665 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45666 libc_feholdexcept_setround.
45667
581d30e3
UD
45668 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45669 Add s_nearbyint-c and s_nearbyintf-c.
45670 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45671 nearbyintf inlines.
45672 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45673 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45674 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45675 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45676
d38f1dba
UD
45677 * math/math_private.h: Define defaults for libc_fegetround,
45678 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45679 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45680 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45682 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45683 standard functions.
45684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45685 Remove comments and hacks for old compiler versions.
45686 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45687 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45688 libc_feholdexceptl.
45689
caa6c9d8
AS
456902011-10-18 Andreas Schwab <schwab@redhat.com>
45691
45692 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
45693 (__feraiseexcept_renamed): Add __NTH.
45694 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
45695 namespace violations.
45696
97c066e6
UD
456972011-10-17 Ulrich Drepper <drepper@gmail.com>
45698
99ce7b04
UD
45699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45700
1004d182
UD
45701 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45702
228a984d
UD
45703 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45704 recently added interfaces.
45705 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45706
c8553a6a
UD
45707 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45708 about macro parameter expansion.
45709
ed22dcf6
UD
45710 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45711 __NO_MATH_INLINES is defined. Cleanups.
45712
45713 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45714 and __floorf is target has SSE4.1.
45715 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45717 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45718 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45719
b171c137
UD
45720 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45721 name.
45722 (floorf): Likewise.
45723
97c066e6
UD
45724 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45725
629f62ef
AS
457262011-10-17 Andreas Schwab <schwab@redhat.com>
45727
49a43d80
AS
45728 * misc/sys/cdefs.h: Fix last change.
45729
629f62ef
AS
45730 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45731 database lookup.
45732
e453f6cd
UD
457332011-10-16 Ulrich Drepper <drepper@gmail.com>
45734
aa78043a
UD
45735 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45736
ad0f5cad
UD
45737 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45744 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45745 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45746 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45747 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45748 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45749 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45750 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45751 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45752 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45754 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45755 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45756 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45757 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45758 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45759
45760 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45761 ceil, ceilf, floor, floorf.
45762
45763 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45764 Perform IRELATIVE relocations last.
45765
e453f6cd
UD
45766 * elf/do-rel.h: Add another parameter nrelative, replacing the
45767 local variable with the same name. Change name of the function
45768 to end in Rel or Rela (uppercase).
45769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45770 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45771 elf_dynamic_do_##reloc function.
45772
fd5bdc09
UD
457732011-10-15 Ulrich Drepper <drepper@gmail.com>
45774
79b195b5
UD
45775 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45776 is sufficient, at least on modern CPUs.
45777
d4a28569
UD
45778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45779
b61099b5
UD
45780 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45781 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45782
bcf01e6d
UD
45783 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45784 __expl_finite.
45785 * math/bits/math-finite.h: Add entries for exp.
45786 * math/e_expl.c: Add __*_finite alias.
45787 * sysdeps/i386/fpu/e_exp.S: Likewise.
45788 * sysdeps/i386/fpu/e_expf.S: Likewise.
45789 * sysdeps/i386/fpu/e_expl.c: Likewise.
45790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45791 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45792 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45794 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45795 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45796 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45797
ba1a0d59
UD
45798 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45799 is sufficient, at least on modern CPUs.
45800
fd5bdc09
UD
45801 * ctype/ctype-info.c (__ctype_init): Define.
45802 * include/ctype.h (__ctype_init): Declare.
45803 (__ctype_b_loc): The variable is always initialized.
45804 (__ctype_toupper_loc): Likewise.
45805 (__ctype_tolower_loc): Likewise.
45806 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45807 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45808
7872cfb0
AS
458092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45810
b468825a
AS
45811 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45812
7872cfb0
AS
45813 * configure.in: Also look in $cxxmachine/include for C++ system
45814 headers.
45815
be13f7bf
LD
458162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45817
45818 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45819 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45820 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45821 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45823 (USE_AS_WMEMCMP): New macro.
45824 Fixing indents.
45825 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45826 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45827 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45828 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45830 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45831 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45832 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45833 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45834 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45836 (USE_AS_WMEMCMP): New macro.
45837 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45838 * sysdeps/string/test-memcmp.c: Update.
45839 Fix simple_wmemcmp.
45840 Add new tests.
45841 * wcsmbs/wmemcmp.c: Update.
45842 (WMEMCMP): New macro.
45843 Fix overflow bug.
45844
556a2007
AJ
458452011-10-12 Andreas Jaeger <aj@suse.de>
45846
45847 [BZ #13268]
45848 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45849
538faaa7
UD
458502011-10-15 Ulrich Drepper <drepper@gmail.com>
45851
ab6737ff
UD
45852 * libio/iofwide.c (do_length): Avoid warning.
45853
538faaa7
UD
45854 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45855
396a21b1
UD
458562011-10-14 Ulrich Drepper <drepper@gmail.com>
45857
cdf2901f
UD
45858 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45859
38ad40ce
UD
45860 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45861 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45862 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45863 * sysdeps/i386/i686/fpu/e_log.S: New file.
45864 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45865 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45866
396a21b1
UD
45867 * ctype/ctype.h: Add support for inlined isXXX functions when
45868 compiling C++ code.
45869
6b1f68c9
AS
458702011-10-14 Andreas Schwab <schwab@redhat.com>
45871
349290c0
AS
45872 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45873
6b1f68c9
AS
45874 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45875
f2282d42
RM
458762011-10-13 Roland McGrath <roland@hack.frob.com>
45877
45878 [BZ #13291]
45879 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45880
5298ffa8
AS
458812011-10-13 Andreas Schwab <schwab@redhat.com>
45882
714fad23
AS
45883 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45884 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45885 feraiseexcept.
45886
81dcc7fb
AS
45887 * sysdeps/x86_64/memrchr.S: Check for zero size.
45888
5298ffa8
AS
45889 * string/stratcliff.c: Add memrchr tests.
45890
951fbcec
LD
458912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45892
45893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45894 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45895 rawmemchr-sse2 rawmemchr-sse2-bsf.
45896 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45897 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45898 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45899 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45900 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45901 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45902 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45903 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45904 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45905 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45906 * string/memrchr.c (MEMRCHR): New macro.
45907
0ac5ae23
UD
459082011-10-12 Ulrich Drepper <drepper@gmail.com>
45909
45910 Add integration with gcc's -ffinite-math-only and optimize wrapper
45911 functions in libm.
45912 * Versions.def: Define GLIBC_2.15 version for libm.
45913 * math/Makefile (headers): Add bits/math-finite.h.
45914 * math/bits/math-finite.h: New file.
45915 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45916 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45917 * math/e_acoshl.c: Add __*_finite alias.
45918 * math/e_acosl.c: Likewise.
45919 * math/e_asinl.c: Likewise.
45920 * math/e_atan2l.c: Likewise.
45921 * math/e_atanhl.c: Likewise.
45922 * math/e_coshl.c: Likewise.
45923 * math/e_exp10.c: Likewise.
45924 * math/e_exp10f.c: Likewise.
45925 * math/e_exp10l.c: Likewise.
45926 * math/e_exp2l.c: Likewise.
45927 * math/e_fmodl.c: Likewise.
45928 * math/e_gammal_r.c: Likewise.
45929 * math/e_hypotl.c: Likewise.
45930 * math/e_j0l.c: Likewise.
45931 * math/e_j1l.c: Likewise.
45932 * math/e_jnl.c: Likewise.
45933 * math/e_lgammal_r.c: Likewise.
45934 * math/e_log10l.c: Likewise.
45935 * math/e_log2l.c: Likewise.
45936 * math/e_logl.c: Likewise.
45937 * math/e_powl.c: Likewise.
45938 * math/e_sinhl.c: Likewise.
45939 * math/e_sqrtl.c: Likewise.
45940 * math/e_scalb.c: Completely rewritten and optimized.
45941 * math/e_scalbf.c: Likewise.
45942 * math/e_scalbl.c: Likewise.
45943 * math/w_acos.c: Likewise.
45944 * math/w_acosf.c: Likewise.
45945 * math/w_acosl.c: Likewise.
45946 * math/w_acosh.c: Likewise.
45947 * math/w_acoshf.c: Likewise.
45948 * math/w_acoshl.c: Likewise.
45949 * math/w_asin.c: Likewise.
45950 * math/w_asinf.c: Likewise.
45951 * math/w_asinl.c: Likewise.
45952 * math/w_atan2.c: Likewise.
45953 * math/w_atan2f.c: Likewise.
45954 * math/w_atan2l.c: Likewise.
45955 * math/w_atanh.c: Likewise.
45956 * math/w_atanhf.c: Likewise.
45957 * math/w_atanhl.c: Likewise.
45958 * math/w_exp10.c: Likewise.
45959 * math/w_exp10f.c: Likewise.
45960 * math/w_exp10l.c: Likewise.
45961 * math/w_fmod.c: Likewise.
45962 * math/w_fmodf.c: Likewise.
45963 * math/w_fmodl.c: Likewise.
45964 * math/w_j0.c: Likewise.
45965 * math/w_j0f.c: Likewise.
45966 * math/w_j0l.c: Likewise.
45967 * math/w_j1.c: Likewise.
45968 * math/w_j1f.c: Likewise.
45969 * math/w_j1l.c: Likewise.
45970 * math/w_jn.c: Likewise.
45971 * math/w_jnf.c: Likewise.
45972 * math/w_log.c: Likewise.
45973 * math/w_logf.c: Likewise.
45974 * math/w_logl.c: Likewise.
45975 * math/w_log10.c: Likewise.
45976 * math/w_log10f.c: Likewise.
45977 * math/w_log10l.c: Likewise.
45978 * math/w_log2.c: Likewise.
45979 * math/w_log2f.c: Likewise.
45980 * math/w_log2l.c: Likewise.
45981 * math/w_pow.c: Likewise.
45982 * math/w_powf.c: Likewise.
45983 * math/w_powl.c: Likewise.
45984 * math/w_remainder.c: Likewise.
45985 * math/w_remainderf.c: Likewise.
45986 * math/w_remainderl.c: Likewise.
45987 * math/w_scalb.c: Likewise.
45988 * math/w_scalbf.c: Likewise.
45989 * math/w_scalbl.c: Likewise.
45990 * math/w_sqrt.c: Likewise.
45991 * math/w_sqrtf.c: Likewise.
45992 * math/w_sqrtl.c: Likewise.
45993 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45994 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45995 used.
45996 * math/math_private.h: Declare __kernel_standard_f.
45997 * math/w_cosh.c: Remove cruft and optimize a bit.
45998 * math/w_coshf.c: Likewise.
45999 * math/w_coshl.c: Likewise.
46000 * math/w_exp2.c: Likewise.
46001 * math/w_exp2f.c: Likewise.
46002 * math/w_exp2l.c: Likewise.
46003 * math/w_hypot.c: Likewise.
46004 * math/w_hypotf.c: Likewise.
46005 * math/w_hypotl.c: Likewise.
46006 * math/w_lgamma.c: Likewise.
46007 * math/w_lgamma_r.c: Likewise.
46008 * math/w_lgammaf.c: Likewise.
46009 * math/w_lgammaf_r.c: Likewise.
46010 * math/w_lgammal.c: Likewise.
46011 * math/w_lgammal_r.c: Likewise.
46012 * math/w_sinh.c: Likewise.
46013 * math/w_sinhf.c: Likewise.
46014 * math/w_sinhl.c: Likewise.
46015 * math/w_tgamma.c: Likewise.
46016 * math/w_tgammaf.c: Likewise.
46017 * math/w_tgammal.c: Likewise.
46018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46020 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46021 Minor optimizations. Pretty printing. Remove cruft.
46022 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46023 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46024 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46025 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46026 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46027 * sysdeps/i386/fpu/e_asin.S: Likewise.
46028 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46029 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46030 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46031 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46032 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46033 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46035 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46036 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46037 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46038 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46039 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46040 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46041 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46042 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46043 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46044 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46045 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46046 * sysdeps/i386/fpu/e_log.S: Likewise.
46047 * sysdeps/i386/fpu/e_log10.S: Likewise.
46048 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46049 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46050 * sysdeps/i386/fpu/e_log2.S: Likewise.
46051 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46053 * sysdeps/i386/fpu/e_logf.S: Likewise.
46054 * sysdeps/i386/fpu/e_logl.S: Likewise.
46055 * sysdeps/i386/fpu/e_pow.S: Likewise.
46056 * sysdeps/i386/fpu/e_powf.S: Likewise.
46057 * sysdeps/i386/fpu/e_powl.S: Likewise.
46058 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46059 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46060 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46061 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46063 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46064 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46065 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46066 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46067 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46068 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46070 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46071 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46072 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46073 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46074 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46081 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46084 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46085 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46087 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46088 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46091 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46093 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46094 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46095 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46096 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46097 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46098 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46099 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46101 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46102 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46103 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46104 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46105 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46107 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46108 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46109 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46111 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46112 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46113 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46114 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46115 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46116 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46117 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46122 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46123 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46124 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46125 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46126 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46128 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46129 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46131 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46132 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46133 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46135 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46137 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46138 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46139 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46146 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46147 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46148 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46152 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46153 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46154 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46155 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46156 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46157 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46158 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46159 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46160 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46161 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46162 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46163 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46164 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46165 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46166 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46167 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46168 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46169 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46170 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46173 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46174 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46175 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46176 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46177 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46178 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46179 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46180 (__isnanf): Likewise.
46181 (__isinf_ns): Likewise.
46182 (__isinf_nsf): Likewise.
46183 (__finite): Likewise.
46184 (__finitef): Likewise.
46185 (__ieee754_sqrt): Define as macro.
46186 (__ieee754_sqrtf): Define as macro.
46187 (__ieee754_sqrtl): Define as macro.
46188 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46189 inlined copy.
46190 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46191 __FINITE_MATH_ONLY__ consistent.
46192 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46193
12cc2fcd
AS
461942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46195
a843a204
AS
46196 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46197 of rawmemchr.
46198
12cc2fcd
AS
46199 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46200
c853acd5
UD
462012011-10-09 Ulrich Drepper <drepper@gmail.com>
46202
46203 * po/ja.po: Update from translation team.
46204
c658d255
RM
462052011-10-08 Roland McGrath <roland@hack.frob.com>
46206
110946e4
RM
46207 * locale/programs/locarchive.c (prepare_address_space): New function.
46208 (create_archive, enlarge_archive, open_archive): Use it.
46209
50604220
RM
46210 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46211 inside [SHARED], where it is used.
46212
c658d255
RM
46213 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46214
46215 * nss/getent.c (netgroup_keys): Remove unused variable.
46216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46217
6a621eb7
UD
462182011-10-08 Ulrich Drepper <drepper@gmail.com>
46219
7edb55ce
UD
46220 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46221 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46224 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46225 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46226 * math/Makefile (libm-calls): Add s_isinf_ns.
46227 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46228 * math/multc3.c: Likewise.
46229 * math/s_casin.c: Likewise.
46230 * math/s_casinf.c: Likewise.
46231 * math/s_casinl.c: Likewise.
46232 * math/s_ccos.c: Likewise.
46233 * math/s_ccosf.c: Likewise.
46234 * math/s_ccosl.c: Likewise.
46235 * math/s_ctan.c: Likewise.
46236 * math/s_ctanf.c: Likewise.
46237 * math/s_ctanh.c: Likewise.
46238 * math/s_ctanhf.c: Likewise.
46239 * math/s_ctanhl.c: Likewise.
46240 * math/s_ctanl.c: Likewise.
46241 * math/w_fmod.c: Likewise.
46242 * math/w_fmodf.c: Likewise.
46243 * math/w_fmodl.c: Likewise.
46244 * math/w_remainder.c: Likewise.
46245 * math/w_remainderf.c: Likewise.
46246 * math/w_remainderl.c: Likewise.
46247 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46248 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46251 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46252 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46253 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46254 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46255
187da0ae
UD
46256 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46257 of the number.
46258 * stdio-common/printf_fphex.c: Likewise.
46259 * stdio-common/printf_size.c: Likewise.
46260
9277c064
UD
46261 * math/e_exp10.c: Include math_private.h using <...> not "...".
46262 * math/e_exp10f.c: Likewise.
46263 * math/e_exp10l.c: Likewise.
46264 * math/e_exp2l.c: Likewise.
46265 * math/e_j0l.c: Likewise.
46266 * math/e_j1l.c: Likewise.
46267 * math/e_jnl.c: Likewise.
46268 * math/e_lgammal_r.c: Likewise.
46269 * math/e_rem_pio2l.c: Likewise.
46270 * math/e_scalb.c: Likewise.
46271 * math/e_scalbf.c: Likewise.
46272 * math/e_scalbl.c: Likewise.
46273 * math/k_cosl.c: Likewise.
46274 * math/k_sinl.c: Likewise.
46275 * math/k_tanl.c: Likewise.
46276 * math/s_cacoshf.c: Likewise.
46277 * math/s_catan.c: Likewise.
46278 * math/s_catanf.c: Likewise.
46279 * math/s_catanh.c: Likewise.
46280 * math/s_catanhf.c: Likewise.
46281 * math/s_catanhl.c: Likewise.
46282 * math/s_catanl.c: Likewise.
46283 * math/s_ccosh.c: Likewise.
46284 * math/s_ccoshf.c: Likewise.
46285 * math/s_ccoshl.c: Likewise.
46286 * math/s_cexp.c: Likewise.
46287 * math/s_cexpf.c: Likewise.
46288 * math/s_cexpl.c: Likewise.
46289 * math/s_clog.c: Likewise.
46290 * math/s_clog10.c: Likewise.
46291 * math/s_clog10f.c: Likewise.
46292 * math/s_clog10l.c: Likewise.
46293 * math/s_clogf.c: Likewise.
46294 * math/s_clogl.c: Likewise.
46295 * math/s_csin.c: Likewise.
46296 * math/s_csinf.c: Likewise.
46297 * math/s_csinh.c: Likewise.
46298 * math/s_csinhf.c: Likewise.
46299 * math/s_csinhl.c: Likewise.
46300 * math/s_csinl.c: Likewise.
46301 * math/s_csqrt.c: Likewise.
46302 * math/s_csqrtf.c: Likewise.
46303 * math/s_csqrtl.c: Likewise.
46304 * math/s_ctan.c: Likewise.
46305 * math/s_ctanf.c: Likewise.
46306 * math/s_ctanh.c: Likewise.
46307 * math/s_ctanhf.c: Likewise.
46308 * math/s_ctanhl.c: Likewise.
46309 * math/s_ctanl.c: Likewise.
46310 * math/s_ldexp.c: Likewise.
46311 * math/s_ldexpf.c: Likewise.
46312 * math/s_ldexpl.c: Likewise.
46313 * math/s_significand.c: Likewise.
46314 * math/s_significandf.c: Likewise.
46315 * math/s_significandl.c: Likewise.
46316 * math/w_acos.c: Likewise.
46317 * math/w_acosf.c: Likewise.
46318 * math/w_acosh.c: Likewise.
46319 * math/w_acoshf.c: Likewise.
46320 * math/w_acoshl.c: Likewise.
46321 * math/w_acosl.c: Likewise.
46322 * math/w_asin.c: Likewise.
46323 * math/w_asinf.c: Likewise.
46324 * math/w_asinl.c: Likewise.
46325 * math/w_atan2.c: Likewise.
46326 * math/w_atan2f.c: Likewise.
46327 * math/w_atan2l.c: Likewise.
46328 * math/w_atanh.c: Likewise.
46329 * math/w_atanhf.c: Likewise.
46330 * math/w_atanhl.c: Likewise.
46331 * math/w_cosh.c: Likewise.
46332 * math/w_coshf.c: Likewise.
46333 * math/w_coshl.c: Likewise.
46334 * math/w_dremf.c: Likewise.
46335 * math/w_exp10.c: Likewise.
46336 * math/w_exp10f.c: Likewise.
46337 * math/w_exp10l.c: Likewise.
46338 * math/w_exp2.c: Likewise.
46339 * math/w_exp2f.c: Likewise.
46340 * math/w_fmod.c: Likewise.
46341 * math/w_fmodf.c: Likewise.
46342 * math/w_fmodl.c: Likewise.
46343 * math/w_hypot.c: Likewise.
46344 * math/w_hypotf.c: Likewise.
46345 * math/w_hypotl.c: Likewise.
46346 * math/w_j0.c: Likewise.
46347 * math/w_j0f.c: Likewise.
46348 * math/w_j0l.c: Likewise.
46349 * math/w_j1.c: Likewise.
46350 * math/w_j1f.c: Likewise.
46351 * math/w_j1l.c: Likewise.
46352 * math/w_jn.c: Likewise.
46353 * math/w_jnf.c: Likewise.
46354 * math/w_jnl.c: Likewise.
46355 * math/w_lgamma.c: Likewise.
46356 * math/w_lgamma_r.c: Likewise.
46357 * math/w_lgammaf.c: Likewise.
46358 * math/w_lgammaf_r.c: Likewise.
46359 * math/w_lgammal.c: Likewise.
46360 * math/w_lgammal_r.c: Likewise.
46361 * math/w_log.c: Likewise.
46362 * math/w_log10.c: Likewise.
46363 * math/w_log10f.c: Likewise.
46364 * math/w_log10l.c: Likewise.
46365 * math/w_log2.c: Likewise.
46366 * math/w_log2f.c: Likewise.
46367 * math/w_log2l.c: Likewise.
46368 * math/w_logf.c: Likewise.
46369 * math/w_logl.c: Likewise.
46370 * math/w_pow.c: Likewise.
46371 * math/w_powf.c: Likewise.
46372 * math/w_powl.c: Likewise.
46373 * math/w_remainder.c: Likewise.
46374 * math/w_remainderf.c: Likewise.
46375 * math/w_remainderl.c: Likewise.
46376 * math/w_scalb.c: Likewise.
46377 * math/w_scalbf.c: Likewise.
46378 * math/w_scalbl.c: Likewise.
46379 * math/w_sinh.c: Likewise.
46380 * math/w_sinhf.c: Likewise.
46381 * math/w_sinhl.c: Likewise.
46382 * math/w_sqrt.c: Likewise.
46383 * math/w_sqrtf.c: Likewise.
46384 * math/w_sqrtl.c: Likewise.
46385 * math/w_tgamma.c: Likewise.
46386 * math/w_tgammaf.c: Likewise.
46387 * math/w_tgammal.c: Likewise.
46388
6a621eb7
UD
46389 * po/ja.po: Update from translation team.
46390
bf582445
AJ
463912011-09-29 Andreas Jaeger <aj@suse.de>
46392
f9efbf3a
AJ
46393 [BZ #13179]
46394 * sunrpc/netname.c (netname2host): Fix logic.
46395
bf582445
AJ
46396 [BZ #6779]
46397 [BZ #6783]
46398 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46399 correctly.
46400 * math/w_remainder.c (__remainder): Likewise.
46401 * math/w_remainderf.c (__remainderf): Likewise.
46402 * math/libm-test.inc (remainder_test): Add test cases.
46403
48693bea
AK
464042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46405
46406 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46407 sdiv_qrnnd.
46408
42622229
LD
464092011-10-07 Ulrich Drepper <drepper@gmail.com>
46410
46411 * string/test-memcmp.c: Avoid unncessary #defines.
46412 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46413
093ecf92
LD
464142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46415
46416 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46417 Use new sse2 version for core i3 - i7 as it's faster
46418 than sse42 version.
46419 (bit_Prefer_PMINUB_for_stringop): New.
46420 * sysdeps/x86_64/rawmemchr.S: Update.
46421 Replace with faster SSE2 version.
46422 * sysdeps/x86_64/memrchr.S: New file.
46423 * sysdeps/x86_64/memchr.S: Update.
46424 Replace with faster SSE2 version.
46425
fde56e5c
MP
464262011-09-12 Marek Polacek <mpolacek@redhat.com>
46427
46428 * elf/dl-load.c (lose): Add cast to avoid warning.
46429
21fd49a9
UD
464302011-10-07 Ulrich Drepper <drepper@gmail.com>
46431
5a06e643
UD
46432 * po/ca.po: Update from translation team.
46433
684ae515
UD
46434 * inet/getnetgrent_r.c: Hook up nscd.
46435 * nscd/Makefile (routines): Add nscd_netgroup.
46436 (nscd-modules): Add netgroupcache.
46437 (CFLAGS-netgroupcache.c): Define.
46438 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46439 (cache_search): Add const to second parameter.
46440 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46441 INNETGR.
46442 (dbs): Add netgrdb entry.
46443 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46444 (verify_persistent_db): Handle netgrdb.
46445 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46446 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46447 GETFDNETGR.
46448 (netgroup_response_header): Define.
46449 (innetgroup_response_header): Define.
46450 (datahead): Add netgroup_response_header and innetgroup_response_header
46451 elements.
46452 * nscd/nscd.conf: Add entries for netgroup cache.
46453 * nscd/nscd.h (dbtype): Add netgrdb.
46454 (_PATH_NSCD_NETGROUP_DB): Define.
46455 (netgroup_iov_disabled): Declare.
46456 (xmalloc, xcalloc, xrealloc): Move declarations here.
46457 (cache_search): Adjust prototype.
46458 Add netgroup-related prototypes.
46459 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46460 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46461 (__nscd_innetgr): Declare.
46462 * nscd/selinux.c (perms): Use access_vector_t as element type and
46463 add netgroup-related initializers.
46464 * nscd/netgroupcache.c: New file.
46465 * nscd/nscd_netgroup.c: New file.
46466 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46467 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46468 For four parameters use innetgr.
46469 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46470 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46471 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46472 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46473
21fd49a9
UD
46474 * nscd/connections.c (register_traced_file): Don't register file
46475 for disabled databases.
46476
054c0457
UD
464772011-10-06 Ulrich Drepper <drepper@gmail.com>
46478
32b63198
UD
46479 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46480
054c0457
UD
46481 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46482 from tree and freeing node.
46483
64031225
JO
464842011-09-25 Jiri Olsa <jolsa@redhat.com>
46485
46486 * nss/nsswitch.c (__nss_database_lookup): Handle
46487 nss_parse_service_list out of memory case.
46488
0490345c
JO
464892011-09-15 Jiri Olsa <jolsa@redhat.com>
46490
46491 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46492 out of memory case.
46493
3a62d00d
AS
464942011-10-04 Andreas Schwab <schwab@redhat.com>
46495
46496 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46497 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46498 pass it down.
46499 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46500 elf_machine_rela, elf_machine_lazy_rel.
46501 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46502 (ELF_DYNAMIC_DO_REL): Likewise.
46503 (ELF_DYNAMIC_DO_RELA): Likewise.
46504 (ELF_DYNAMIC_RELOCATE): Likewise.
46505 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46506 to ELF_DYNAMIC_DO_REL.
46507 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46508 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46509 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46510 elf_machine_rela.
46511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46512 skip_ifunc, don't call ifunc function if non-zero.
46513 (elf_machine_rela): Likewise.
46514 (elf_machine_lazy_rel): Likewise.
46515 (elf_machine_lazy_rela): Likewise.
46516 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46517 (elf_machine_lazy_rel): Likewise.
46518 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46519 Likewise.
46520 (elf_machine_lazy_rel): Likewise.
46521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46522 Likewise.
46523 (elf_machine_lazy_rel): Likewise.
46524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46525 (elf_machine_lazy_rel): Likewise.
46526 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46527 (elf_machine_lazy_rel): Likewise.
46528 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46529 (elf_machine_lazy_rel): Likewise.
46530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46531 (elf_machine_lazy_rel): Likewise.
46532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46533 (elf_machine_lazy_rel): Likewise.
46534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46535 (elf_machine_lazy_rel): Likewise.
46536
68577918
UD
465372011-09-28 Ulrich Drepper <drepper@gmail.com>
46538
46539 * nss/nss_files/files-init.c (_nss_files_init): Use static
46540 initialization for all the *_traced_file variables.
46541
68822d74
AS
465422011-09-28 Andreas Schwab <schwab@redhat.com>
46543
46544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46545
2056100b
RM
465462011-09-27 Roland McGrath <roland@hack.frob.com>
46547
46548 [BZ #13226]
46549 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46550
32c76b63
AS
465512011-09-27 Andreas Schwab <schwab@redhat.com>
46552
46553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46554 Reread the line before reparsing it.
46555
bf972c9d
AS
465562011-09-26 Andreas Schwab <schwab@redhat.com>
46557
46558 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46559
e057a1b5
JM
465602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46561 Maxim Kuvyrkov <maxim@codesourcery.com>
46562 Joseph Myers <joseph@codesourcery.com>
46563
46564 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46565 if needed for __stack_chk_guard.
46566
bc7e1c36
RM
465672011-09-19 Roland McGrath <roland@hack.frob.com>
46568
ecb1482f
RM
46569 * sysdeps/posix/spawni.c (script_execute): Always define it.
46570 It will be optimized away if unused.
46571 (maybe_script_execute): New function.
46572 (__spawni): Call it.
46573
bc7e1c36
RM
46574 * Makerules: Don't include tls.make.
46575 (config-tls): Always set to thread.
46576 * tls.make.c: File removed.
46577
1c3b002b
MF
465782011-09-19 Mike Frysinger <vapier@gentoo.org>
46579
46580 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46581 * config.make.in (CPPFLAGS-config): New substituted variable.
46582
2840865d
UD
465832011-09-15 Ulrich Drepper <drepper@gmail.com>
46584
88738eb6
UD
46585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46586
cbf645a6 46587 [BZ #13192]
2840865d
UD
46588 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46589 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46590
b402e91a
RM
465912011-09-15 Roland McGrath <roland@hack.frob.com>
46592
46593 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46594 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46596 (CALL_FAIL): Likewise.
46597 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46598 (CALL_FAIL): Macro removed.
46599 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46600
4c1a1f71
UD
466012011-09-15 Ulrich Drepper <drepper@gmail.com>
46602
46603 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46604 for __FINITE_MATH_ONLY__ == 1.
46605
edc121be
AS
466062011-09-15 Andreas Schwab <schwab@redhat.com>
46607
46608 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46609 __ieee754_sqrt instead of sqrt.
46610 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46611 __ieee754_sqrtf instead of sqrtf.
46612 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46613 __floorf instead of floorf.
46614 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46615 __floorf, __truncf instead of floorf, truncf.
46616
cd205654
UD
466172011-09-14 Ulrich Drepper <drepper@gmail.com>
46618
ee4d0315
UD
46619 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46620
cd205654
UD
46621 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46622 __extern_always_inline.
46623 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46624 32-bit.
46625
48b67d71
AS
466262011-09-14 Andreas Schwab <schwab@redhat.com>
46627
46628 * elf/rtld.c (dl_main): Also relocate in dependency order when
46629 doing symbol dependency testing.
46630
1ae12c75
AS
466312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46632
46633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46634 Always define `refsym'.
46635
995a80df
AS
466362011-09-13 Andreas Schwab <schwab@redhat.com>
46637
e529793b
AS
46638 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46639 (__FD_ELT): Renamed from __FDELT.
46640 * misc/bits/select2.h (__FD_ELT): Likewise.
46641 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46642 __FD_MASK instead of __FDELT, __FDMASK.
46643 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46644 Likewise.
46645 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46646 Likewise.
46647
52d4fef8
AS
46648 * elf/Makefile (gen-ldd): Fix pattern.
46649
995a80df
AS
46650 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46651 (init_tls): Likewise.
46652
8682f8b0
UD
466532011-09-12 Ulrich Drepper <drepper@gmail.com>
46654
46655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46656
de82006d
AS
466572011-09-12 Andreas Schwab <schwab@redhat.com>
46658
a7c8e6a1
AS
46659 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46660 `struct cmsghdr *' instead of `void *'.
46661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46662 Likewise.
46663
0f31fe77
AS
466642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46665
46666 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46667 if non-absolute.
46668 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46669 ldd_rewrite_script.
0f31fe77 46670
32b4c839
UD
466712011-09-11 Ulrich Drepper <drepper@gmail.com>
46672
83cd1420
UD
46673 * configure.in: Remove --with-tls option.
46674 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46675 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46676 out in case it is missing.
46677 * sysdeps/ia64/elf/configure.in: Likewise.
46678 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46679 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46680 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46681 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46682 * sysdeps/sh/elf/configure.in: Likewise.
46683 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46684 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46685 * sysdeps/x86_64/elf/configure.in: Likewise.
46686 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46687 * sysdeps/mach/hurd/tls.h: Likewise.
46688
633f745d
UD
46689 [BZ #13067]
46690 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46691
f318beb8
UD
46692 [BZ #13090]
46693 * configure.in: Fix use of AC_INIT.
46694
32b4c839
UD
46695 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46696
3ce1f295
UD
466972011-09-10 Ulrich Drepper <drepper@gmail.com>
46698
bb016596
UD
46699 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46700 __set_errno.
8e58439c
UD
46701 * malloc/hooks.c: Likewise.
46702
aebae053 46703 [BZ #11929]
02d46fc4
UD
46704 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46705 variables statically.
46706 (narenas): Initialize.
46707 (list_lock): Initialize.
bb016596
UD
46708 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46709 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
46710 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46711 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46712 Add initializers to main_arena and mp_.
46713 (malloc_state): Remove pagesize member. Change all users to use
46714 GLRO(dl_pagesize).
46715
46716 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46717 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46718 is always initialized.
46719
22a89187
UD
46720 * malloc/malloc.c: Removed unused configurations and dead code.
46721 * malloc/arena.c: Likewise.
46722 * malloc/hooks.c: Likewise.
02d46fc4 46723 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 46724
d063d164
UD
46725 * include/tls.h: Removed. USE___THREAD must always be defined.
46726 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46727 * elf/dl-libc.c: Likewise.
46728 * elf/dl-tsd.c: Likewise.
46729 * include/errno.h: Likewise.
46730 * include/netdb.h: Likewise.
46731 * include/resolv.h: Likewise.
46732 * inet/herrno-loc.c: Likewise.
46733 * inet/herrno.c: Likewise.
46734 * malloc/arena.c: Likewise.
46735 * malloc/hooks.c: Likewise.
46736 * malloc/malloc.c: Likewise.
46737 * resolv/res-state.c: Likewise.
46738 * resolv/res_libc.c: Likewise.
46739 * sysdeps/i386/dl-machine.h: Likewise.
46740 * sysdeps/ia64/dl-machine.h: Likewise.
46741 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46742 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46743 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46744 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46745 * sysdeps/sh/dl-machine.h: Likewise.
46746 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46747 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46748 * sysdeps/unix/i386/sysdep.S: Likewise.
46749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46750 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46755 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46759 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46760 * sysdeps/x86_64/dl-machine.h: Likewise.
46761 * tls.make.c: Likewise.
46762
3ce1f295
UD
46763 * configure.in: Remove --with-__thread option. Make tests for
46764 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46765 tls_model attribute fail if no support is available. Remove
46766 USE_IN_LIBIO.
46767 * Makeconfig: Adjust for dropped configure option. All features are
46768 now mandatory.
46769 * Makerules: Likewise.
46770 * Versions.def: Likewise.
46771 * argp/argp-fmtstream.c: Likewise.
46772 * argp/argp-fmtstream.h: Likewise.
46773 * argp/argp-help.c: Likewise.
46774 * assert/assert.c: Likewise.
46775 * config.h.in: Likewise.
46776 * config.make.in: Likewise.
46777 * configure: Likewise.
46778 * configure.in: Likewise.
46779 * csu/Versions: Likewise.
46780 * csu/init.c: Likewise.
46781 * elf/tst-audit2.c: Likewise.
46782 * elf/tst-tls10.c: Likewise.
46783 * elf/tst-tls10.h: Likewise.
46784 * elf/tst-tls11.c: Likewise.
46785 * elf/tst-tls12.c: Likewise.
46786 * elf/tst-tls14.c: Likewise.
46787 * elf/tst-tlsmod11.c: Likewise.
46788 * elf/tst-tlsmod12.c: Likewise.
46789 * elf/tst-tlsmod13.c: Likewise.
46790 * elf/tst-tlsmod13a.c: Likewise.
46791 * elf/tst-tlsmod14a.c: Likewise.
46792 * elf/tst-tlsmod15b.c: Likewise.
46793 * elf/tst-tlsmod16a.c: Likewise.
46794 * elf/tst-tlsmod16b.c: Likewise.
46795 * elf/tst-tlsmod7.c: Likewise.
46796 * elf/tst-tlsmod8.c: Likewise.
46797 * elf/tst-tlsmod9.c: Likewise.
46798 * gmon/gmon.c: Likewise.
46799 * grp/fgetgrent_r.c: Likewise.
46800 * grp/putgrent.c: Likewise.
46801 * hurd/fopenport.c: Likewise.
46802 * include/libc-symbols.h: Likewise.
46803 * include/tls.h: Likewise.
46804 * intl/gettextP.h: Likewise.
46805 * intl/loadinfo.h: Likewise.
46806 * locale/global-locale.c: Likewise.
46807 * locale/localeinfo.h: Likewise.
46808 * mach/devstream.c: Likewise.
46809 * malloc/arena.c: Likewise.
46810 * malloc/set-freeres.c: Likewise.
46811 * misc/err.c: Likewise.
46812 * misc/getttyent.c: Likewise.
46813 * misc/mntent_r.c: Likewise.
46814 * posix/getopt.c: Likewise.
46815 * posix/wordexp.c: Likewise.
46816 * pwd/fgetpwent_r.c: Likewise.
46817 * resolv/Versions: Likewise.
46818 * resolv/res_hconf.c: Likewise.
46819 * shadow/fgetspent_r.c: Likewise.
46820 * shadow/putspent.c: Likewise.
46821 * stdio-common/printf_fphex.c: Likewise.
46822 * stdio-common/tmpfile.c: Likewise.
46823 * stdlib/abort.c: Likewise.
46824 * stdlib/fmtmsg.c: Likewise.
46825 * sunrpc/auth_unix.c: Likewise.
46826 * sunrpc/clnt_perr.c: Likewise.
46827 * sunrpc/clnt_tcp.c: Likewise.
46828 * sunrpc/clnt_udp.c: Likewise.
46829 * sunrpc/clnt_unix.c: Likewise.
46830 * sunrpc/openchild.c: Likewise.
46831 * sunrpc/svc_simple.c: Likewise.
46832 * sunrpc/svc_tcp.c: Likewise.
46833 * sunrpc/svc_udp.c: Likewise.
46834 * sunrpc/svc_unix.c: Likewise.
46835 * sunrpc/xdr.c: Likewise.
46836 * sunrpc/xdr_array.c: Likewise.
46837 * sunrpc/xdr_rec.c: Likewise.
46838 * sunrpc/xdr_ref.c: Likewise.
46839 * sunrpc/xdr_stdio.c: Likewise.
46840
1248c1c4
PB
468412011-09-09 Ulrich Drepper <drepper@gmail.com>
46842
46843 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46844
468452011-07-03 Andreas Jaeger <aj@suse.de>
46846
46847 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46848 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46849 regenerate with gen-libm-tests.pl.
46850
468512010-05-12 Petr Baudis <pasky@suse.cz>
46852
46853 [BZ #11589]
46854 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46855 around j0() zero points by switching to j1().
46856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46858 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46860
f22e1074
UD
468612011-09-09 Ulrich Drepper <drepper@gmail.com>
46862
f19009c1
UD
46863 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46864 instead of 0.
46865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 46866 instead of 0.
f19009c1
UD
46867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46868 Patch in part by Pavel Roskin <proski@gnu.org>.
46869
3f8cc204
UD
46870 [BZ #13138]
46871 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46872 realloc.
46873 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46874 Free memory block if necessary.
46875
f22e1074
UD
46876 [BZ #12847]
46877 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46878 be NULL. Don't lock in this case.
46879
0a2349f9
RM
468802011-09-09 Roland McGrath <roland@hack.frob.com>
46881
46882 * elf/elf.h (ELFOSABI_GNU): New macro.
46883 (ELFOSABI_LINUX): Define to that.
46884
f3cdd467
DZ
468852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46886
46887 * string/strncat.c (strncat): Undef the symbol in case it has been
46888 defined in bits/string.h.
46889
74718d13
UD
468902011-09-09 Ulrich Drepper <drepper@gmail.com>
46891
633e9e0f
UD
46892 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46893
0a2349f9 46894 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
46895 link map.
46896
f9924780
AJ
468972011-08-17 Andreas Jaeger <aj@suse.de>
46898
46899 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46900
7f5517aa
PP
469012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46902 Ian Lance Taylor <iant@google.com>
46903
46904 * math/libm-test.inc (lround_test): New testcase.
46905 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46906
762011fe
UD
469072011-09-08 Ulrich Drepper <drepper@gmail.com>
46908
92963737
UD
46909 * Makefile: Remove support for automatic cvs check-ins.
46910 * Makerules: Likewise.
46911 * config.make.in: Likewise.
46912 * configure.in: Likewise.
46913 * intl/Makefile: Likewise.
46914 * locale/Makefile: Likewise.
46915 * po/Makefile: Likewise.
46916 * posix/Makefile: Likewise.
46917 * sysdeps/gnu/Makefile: Likewise.
46918 * sysdeps/mach/hurd/Makefile: Likewise.
46919 * sysdeps/sparc/sparc32/Makefile: Likewise.
46920
b0727fd8
JS
46921 [BZ #13118]
46922 * posix/Makefile (bug-regex32-ENV): Define.
46923 Patch by John Stanley <jpsinthemix@verizon.net>.
46924
a0f33f99
UD
46925 * misc/Makefile (headers): Add bits/select2.h.
46926 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46927 * misc/bits/select2.h: New file.
46928 * include/bits/select2.h: New file.
46929 * debug/Makefile (routines): Add fdelt_chk.
46930 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46931 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46932 FD_ISSET.
46933 * debug/fdelt_chk.c: New file.
46934
762011fe
UD
46935 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46936 * wcsmbs/test-wmemcmp.c: Likewise.
46937 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 46938 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
46939
469402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46941
46942 * string/Makefile (strop-tests): Add memcmp.
46943 * string/test-wmemcmp.c: New file.
46944 * string/test-memcmp.c: Add wmemcmp support.
46945
7f513ec8
RM
469462011-09-08 Roland McGrath <roland@hack.frob.com>
46947
0442afb4
RM
46948 [BZ #13153]
46949 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46950 2011-07-19 change.
46951
7f513ec8
RM
46952 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46953 garbage value in a __mach_port_mod_refs call in the cases of the
46954 task-self and thread-self ports.
46955
a12b2239
ST
469562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46957
46958 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46959
610f9ab4
AS
469602011-09-08 Andreas Schwab <schwab@redhat.com>
46961
7f513ec8 46962 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 46963
48882a1a
LD
469642011-09-07 Ulrich Drepper <drepper@gmail.com>
46965
b49865be
UD
46966 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46967
fdc86bc9
UD
46968 * elf/dl-libc.c (dlerror_run): Pass back error code from
46969 dl_catch_error.
46970
c966526a
UD
46971 [BZ #13123]
46972 * elf/dl-load.c (lose): Free l_origin if it is valid.
46973
48882a1a
LD
46974 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46975 names.
46976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46977 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46978 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46980 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46981 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46982
77a2a8b4
AZ
469832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46984
46985 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46986 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46987 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46988 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46989 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46990 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46991 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46992 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46993 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46994 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46995
24f579d8
AM
469962011-08-15 Alan Modra <amodra@gmail.com>
46997
46998 [BZ #13092]
46999 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47000 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47001 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47002 ppc_mcount to static-only-routines.
47003 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47004 __mcount_internal.
47005 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47006 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47007
3d4837df
UD
470082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47009
47010 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47011 for finite and infinity parameters.
47012
22700377
WS
470132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47014
47015 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47016 and add nop instructions for throughput optimization.
47017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47018
5025581e
WS
470192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47020
47021 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47022 aligned copy for power7 with vector-scalar instructions.
47023 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47024
08a300c9
L
470252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47026
47027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47028 AVX check.
47029
59178ef9
AS
470302011-09-07 Andreas Schwab <schwab@redhat.com>
47031
47032 [BZ #13144]
47033 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47034 last change.
47035
e38ba7ab
UD
470362011-09-07 Ulrich Drepper <drepper@gmail.com>
47037
47038 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47039 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47040 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47041 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47042 clock_gettime.
47043
d53a73ac
UD
470442011-09-06 Ulrich Drepper <drepper@gmail.com>
47045
fc8bffcc
UD
47046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47047 Forgot to demangle the pointer.
47048
ceaa0c5d
UD
47049 * sysdeps/i386/sysdep.h: Define atom_text_section.
47050 * sysdeps/x86_64/sysdep.h: Likewise.
47051 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47052 section with atom_text_section.
47053 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47054 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47055 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47057 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47058
a77d3c17
UD
47059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47060 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47061 already be defined. Change to take two parameters and don't assign
47062 result to variable. Adjust all users.
47063 Define INTERNAL_GETTIME if not already defined.
47064 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47065 call.
47066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47067 HAVE_CLOCK_GETTIME_VSYSCALL.
47068 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47069
d53a73ac
UD
47070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47071 gettimeofday vsyscall, just use time.
47072
a8f84144
AS
470732011-09-06 Andreas Schwab <schwab@redhat.com>
47074
47075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47076 <errno.h>.
47077
ef606249
UD
470782011-09-06 Ulrich Drepper <drepper@gmail.com>
47079
47080 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47081 syscall on x86-64.
47082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47083 syscall.
47084 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47086 syscall if possible.
47087
6585cb60
UD
470882011-09-05 Ulrich Drepper <drepper@gmail.com>
47089
47090 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47091 e_ident. Don't pass to find_mapsXX.
47092 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47093
a5f524e4
LD
470942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47095
47096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47097 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47098 * sysdeps/x86_64/multiarch/strchr.S: Update.
47099 Check bit_slow_BSF bit.
47100 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47101 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47102 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47103
554881ef
UD
471042011-09-05 Ulrich Drepper <drepper@gmail.com>
47105
d96de963
UD
47106 [BZ #13134]
47107 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47108 before glibc 2.15.
47109 (tryshell): Define.
47110 (__spawni): Change last parameter to be flag. Test
47111 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47112 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47113 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47114 * posix/spawni.c: Likewise.
47115 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47116 * posix/spawnp.c: Likewise. Change normal version to use
47117 SPAWN_XFLAGS_USE_PATH.
47118 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47119 SPAWN_XFLAGS_TRY_SHELL.
47120
d48e5868
UD
47121 [BZ #13150]
47122 * posix/glob.h: Remove gcc 1.x support.
47123
554881ef
UD
47124 [BZ #13068]
47125 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47126
693fb948
LD
471272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47128
47129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47130 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47131 strrchr-sse2-bsf
47132 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47133 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47134 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47136 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47137 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47138
1b48c537
UD
471392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47140
49d42c37
UD
47141 * sysdeps/x86_64/wcscmp.S: New file.
47142
1b48c537
UD
47143 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47144 wcscmp-c wcscmp-sse2
47145 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47146 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47147 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47148 * wcsmbs/wcscmp.c: Allow renaming.
47149
15c95c5d
DM
471502011-09-05 David S. Miller <davem@davemloft.net>
47151
47152 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47153 stack slot, rather than the struct return pointer slot.
47154 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47155 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47157 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47158
2f0ad8f3
UD
471592011-09-05 Ulrich Drepper <drepper@gmail.com>
47160
d88ae418
UD
47161 * po/ja.po: Update from translation team.
47162
2f0ad8f3
UD
47163 [BZ #13144]
47164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47165 kernel in 64-bit binaries.
47166
5f4318d1
DM
471672011-09-01 David S. Miller <davem@davemloft.net>
47168
47169 * elf/elf.h (HWCAP_SPARC_*): Move to..
47170 * sysdeps/sparc/sysdep.h: this new file and add new values.
47171 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47172 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47173 _DL_HWCAP_COUNT to 24.
47174 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47175 entries.
47176 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47177 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47178 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47180 instead of magic constants.
47181 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47182
3ba57516
DM
471832011-08-31 David S. Miller <davem@davemloft.net>
47184
47185 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47187 Reimplement to do errno handling inline.
47188 (SYSCALL_ERROR_HANDLER): New macro.
47189 (__SYSCALL_STRING): Do not do errno handling in asm.
47190 (__CLONE_SYSCALL_STRING): Delete.
47191 (__INTERNAL_SYSCALL_STRING): Delete.
47192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47193 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47194 (PSEUDO): Reimplement to do errno handling inline.
47195 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47196 (SYSCALL_ERROR_HANDLER): New macro.
47197 (__SYSCALL_STRING): Do not do errno handling in asm.
47198 (__CLONE_SYSCALL_STRING): Delete.
47199 (__INTERNAL_SYSCALL_STRING): Delete.
47200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47201 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47202 i386.
47203 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47204 (inline_syscall*): Add 'err' argument.
47205 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47206 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47207 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47208 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47209
47210 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47211 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47212
2bc17433
AS
472132011-08-30 Andreas Schwab <schwab@redhat.com>
47214
47215 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47216
fbeb5f4d
JO
472172011-08-29 Jiri Olsa <jolsa@redhat.com>
47218
47219 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47220 directive.
47221
ad69cc26
DM
472222011-08-24 David S. Miller <davem@davemloft.net>
47223
47224 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47225
39dd69df
AS
472262011-08-24 Andreas Schwab <schwab@redhat.com>
47227
47228 * elf/Makefile: Add rules to build and run unload8 test.
47229 * elf/unload8.c: New file.
47230 * elf/unload8mod1.c: New file.
47231 * elf/unload8mod1x.c: New file.
47232 * elf/unload8mod2.c: New file.
47233 * elf/unload8mod3.c: New file.
47234
47235 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47236 it wasn't used.
47237
2c0b250a
DM
472382011-08-23 David S. Miller <davem@davemloft.net>
47239
47240 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47241 subtract stack bias.
47242 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47243 %sp not %fp in calculations.
47244 (_JMPBUF_UNWINDS_ADJ): Likewise.
47245
22044b48
DM
47246 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47247 (aio_suspend): Call it to force an exception region around the
47248 AIO_MISC_WAIT() invocation.
47249
2cae4995
AS
472502011-08-23 Andreas Schwab <schwab@redhat.com>
47251
47252 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47253 backslash.
47254
873a772e
AJ
472552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47256
47257 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47258 protection macro.
47259 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47260 and <dl-machine.h>.
47261 (Elf64_FuncDesc): Remove.
47262
25ad0df1
DM
472632011-08-22 David S. Miller <davem@davemloft.net>
47264
47265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47266 sigaltstack check, add missing cfi directives.
47267 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47268 missing cfi directives, and sigaltstack handling.
47269
e888bcbe
AS
472702011-08-16 Andreas Schwab <schwab@redhat.com>
47271
47272 [BZ #11724]
47273 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47274 object is seen twice.
47275 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47276
47277 * elf/Makefile (distribute): Add tst-initorder2.c.
47278 (tests): Add tst-initorder2.
47279 (modules-names): Add tst-initorder2a tst-initorder2b
47280 tst-initorder2c tst-initorder2d. Add rules to build them.
47281 ($(objpfx)tst-initorder2.out): New rule.
47282 * elf/tst-initorder2.c: New file.
47283 * elf/tst-initorder2.exp: New file.
47284
87162f46
AS
472852011-08-22 Andreas Schwab <schwab@redhat.com>
47286
70538b7f
AS
47287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47288
f55ffe58
AS
47289 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47290 dependencies back to end of function.
47291
87162f46
AS
47292 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47293 $(elfobjdir)/ld.so.
47294
91b392a4
UD
472952011-08-21 Ulrich Drepper <drepper@gmail.com>
47296
47297 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47298 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47300 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47301 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47302 of __vdso_gettimeofday.
47303 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47304 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47305 attribute_hidden.
47306 (_libc_vdso_platform_setup): Remove initialization of
47307 __vdso_gettimeofday and __vdso_time.
47308
5c43483f
UD
473092011-08-20 Ulrich Drepper <drepper@gmail.com>
47310
775a77e7
UD
47311 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47312 and fgetc_unlocked.
47313 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47314 getc_unlocked.
89f447ed 47315
49c74ba9
UD
47316 * elf/dl-open.c (add_to_global): Report additions to the global scope
47317 for LD_DEBUG=scopes.
47318 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 47319 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 47320
5c43483f
UD
47321 [BZ #13114]
47322 * stdio-common/Makefile (tests): Add bug24.
47323 * stdio-common/bug24.c: New file.
47324
a101b025
AJ
473252011-08-19 Andreas Jaeger <aj@suse.de>
47326
47327 [BZ #13114]
47328 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47329 non-existant file when using close-on-exec mode.
47330
c88f1766
UD
473312011-08-20 Ulrich Drepper <drepper@gmail.com>
47332
0276a718
UD
47333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47334 the very first instruction.
47335
c88f1766
UD
47336 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47337 the CFI state in the end.
47338 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47339 inclusion of dl-trampoline.h.
47340 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47341
51ccffa0
AS
473422011-08-19 Andreas Schwab <schwab@redhat.com>
47343
94d7165f
AS
47344 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47345 expectations for long double.
47346
51ccffa0
AS
47347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47348 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47349
fd708658 473502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
47351
47352 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47353 artificual limit depends upon the system page size.
47354
44f0a71e
UD
473552011-08-17 Ulrich Drepper <drepper@gmail.com>
47356
47357 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47358 * resolv/Makefile: Define CFLAGS-libresolv.
47359
8de79a24
AS
473602011-08-17 Andreas Schwab <schwab@redhat.com>
47361
47362 * nss/makedb.c (compute_tables): Make variables used in nested
47363 function static.
47364
27724598
UD
473652011-08-17 Ulrich Drepper <drepper@gmail.com>
47366
c5305d88
UD
47367 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47368 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47369 if buffer was too small.
47370
27724598
UD
47371 * elf/pldd.c (main): Attach to all threads in the process.
47372 Rewrite /proc handling to use *at functions.
47373
076fe015
UD
473742011-08-16 Ulrich Drepper <drepper@gmail.com>
47375
174baab3
UD
47376 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47377 specifies first scope to show.
47378 (dl_open_worker): Update callers. Move printing scope of new
47379 object to before the relocation.
44f0a71e 47380 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
47381 * sysdeps/generic/ldsodefs.h: Update declaration.
47382
076fe015
UD
47383 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47384 string for the scope number.
47385
a60df2c3
UD
473862011-08-14 Ulrich Drepper <drepper@gmail.com>
47387
47388 * nscd/servicescache.c (cache_addserv): Make sure written is always
47389 initialized.
47390
5e4287d1
RM
473912011-08-14 Roland McGrath <roland@hack.frob.com>
47392
85ae0589
RM
47393 * sysdeps/i386/i486/bits/atomic.h
47394 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47395 statement expression, so as to suppress "set but not used" warning.
47396 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47397
69f63097
RM
47398 * string/strncat.c (STRNCAT): Use prototype definition.
47399
675456ef
RM
47400 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47401 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47402 -Iprograms here.
47403 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47404 (localedef-modules): Add localedef.
47405 (locale-modules): Add locale.
47406
5e4287d1
RM
47407 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47408 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47409 to avoid a warning.
47410
9c96ff23
DM
474112011-08-14 David S. Miller <davem@davemloft.net>
47412
47413 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47414 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47415
f9ddf089
UD
474162011-08-13 Ulrich Drepper <drepper@gmail.com>
47417
44f0a71e 47418 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
47419 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47420 * elf/rtld.c (dl_main): Set l_name of vDSO.
47421 Call _dl_show_scope when DL_DEBUG_SCOPES.
47422 (process_dl_debug): Recognize scopes flag and also set it for all.
47423 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47424 Declare _dl_show_scope.
47425
1dc27704
UD
47426 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47427 (do_dlopen): Pass caller_dlopen to dl_open.
47428 (__libc_dlopen_mode): Initialize caller_dlopen.
47429
f9ddf089
UD
47430 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47431 of libc. Make tolower call locale-independent. Optimize a bit by
47432 using isdigit instead of isalnum.
47433 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47434
9ac533d3
UD
474352011-08-12 Ulrich Drepper <drepper@gmail.com>
47436
47437 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47438 was a dependency or dynamically loaded.
47439
89edf2e9
UD
474402011-08-11 Ulrich Drepper <drepper@gmail.com>
47441
8e999d29
UD
47442 * intl/l10nflist.c: Allow architecture-specific pop function.
47443 * sysdeps/x86_64/l10nflist.c: New file.
47444
89edf2e9
UD
47445 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47446 classification.
47447
14d96785
AS
474482011-08-10 Andreas Schwab <schwab@redhat.com>
47449
47450 * include/dirent.h: Add libc_hidden_proto for scandirat and
47451 scandirat64. Don't declare __scandirat64.
47452 * dirent/scandirat.c: Add libc_hidden_def.
47453 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47454 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47455
6761ac04
DM
474562011-08-10 David S. Miller <davem@davemloft.net>
47457
47458 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47459 enum.
47460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47463
c55fbd1e
UD
474642011-08-09 Ulrich Drepper <drepper@gmail.com>
47465
47466 * Versions.def [libc]: Add GLIBC_2.15.
47467 * dirent/Makefile (routines): Add scandirat and scandirat64.
47468 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47469 GLIBC_2.15.
47470 * dirent/dirent.h: Declare scandirat and scandirat64.
47471 * dirent/scandirat.c: New file.
47472 * dirent/scandirat64.c: New file.
47473 * sysdeps/wordsize-64/scandirat.c: New file.
47474 * sysdeps/wordsize-64/scandirat64.c: New file.
47475 * dirent/opendir.c: Define opendirat.
47476 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47477 using scandirat.
47478 * dirent/scandir64.c: Adjust for scandir.c change.
47479 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47480 __scandirat64, and __scandir_cancel_handler.
47481 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47482 additional parameter and use openat instead of open (outside of ld.so).
47483 Add new __opendir as wrapper around __opendirat.
47484 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47485 here without requiring old scandirat implementation.
47486
879165f2
UD
474872011-08-08 Ulrich Drepper <drepper@gmail.com>
47488
47489 * dirent/scandir.c (cancel_handler): Renamed to
47490 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47491 defined. Adjust users.
47492 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47494
cb7e923b
UD
474952011-08-04 Ulrich Drepper <drepper@gmail.com>
47496
16292edd
UD
47497 * string/test-string.h (IMPL): Use __STRING to expand name and then
47498 stringify it.
47499
cb7e923b
UD
47500 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47501 of cleanups.
47502
cff82933
LD
475032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47504
47505 * string/Makefile: Update.
47506 (strop-tests): Append strncat.
47507 * string/test-wcscmp.c: New file.
47508 New comprehensive test for wcscmp.
47509 * string/test-strcmp.c: Update.
47510 (WIDE): New define.
47511
9be9bfcc
AS
475122011-07-22 Andreas Schwab <schwab@redhat.com>
47513
47514 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47515 line.
47516
2e96f1c7
AS
475172011-07-26 Andreas Schwab <schwab@redhat.com>
47518
47519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47520 encoding to ACE if AI_IDN.
47521
85188888
JJ
475222011-08-01 Jakub Jelinek <jakub@redhat.com>
47523
47524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47525 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47526
5fa16e9b
LD
475272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47528
47529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47530 Fix overflow bug in strncat.
47531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47532
47533 * string/test-strncat.c: Update.
47534 Add new tests for checking overflow bugs.
47535
475362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47537
47538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47539 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47540 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47541 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47543 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47544 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47545 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47546 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47547
47548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47549 (USE_AS_STRCAT): Define.
47550 Add strcat and strncat support.
47551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47552
8c1a459f
AS
475532011-07-25 Andreas Schwab <schwab@redhat.com>
47554
47555 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47556 __n bigger than INT_MAX+1.
47557 (__strncmp_g): Likewise.
47558
bba33c28
UD
475592011-07-23 Ulrich Drepper <drepper@gmail.com>
47560
798be72d
UD
47561 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47562 * libio/stido.h: Likewise.
47563
8accd4dc
UD
47564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47565 (AF_NFC): Define.
47566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47567 (AF_NFC): Define.
47568
cbff0d96
UD
47569 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47570 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47572 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47574
9191c04a
UD
47575 [BZ #13021]
47576 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47577 installed.
47578
bba33c28
UD
47579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47580 typo.
47581 (_dl_x86_64_save_sse): Likewise.
47582
90f139dd
UD
475832011-07-22 Ulrich Drepper <drepper@gmail.com>
47584
1aae088a
UD
47585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47586 OSXSAVE.
47587 (_dl_x86_64_save_sse): Likewise.
47588
8e2045f5
UD
47589 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47590
90f139dd
UD
47591 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47592
1d002f25
AS
475932011-07-21 Andreas Schwab <schwab@redhat.com>
47594
47595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47596 change.
47597 (_dl_x86_64_save_sse): Use correct AVX check.
47598
21137f89
UD
475992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47600
47601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47602 bug in strncpy/strncat.
47603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47604
a65c0b7a
UD
476052011-07-21 Ulrich Drepper <drepper@gmail.com>
47606
47607 * string/tester.c (test_strcat): Add tests for different alignments
47608 of source and destination.
47609 (test_strncat): Likewise.
47610
6986b98a
UD
476112011-07-20 Ulrich Drepper <drepper@gmail.com>
47612
90bb2039
UD
47613 [BZ #12852]
47614 * posix/glob.c (glob): Check passed in values before using them in
47615 expressions to avoid some overflows.
47616 (glob_in_dir): Likewise.
47617
5644ef54
UD
47618 [BZ #13007]
47619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47620 check for AVX enablement so that we don't crash with old kernels and
47621 new hardware.
47622 * elf/tst-audit4.c: Add same checks here.
47623 * elf/tst-audit6.c: Likewise.
47624
47625 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 47626
bfc9dc9b
AS
476272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47628
47629 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47630
702e64bb
UD
476312011-07-20 Ulrich Drepper <drepper@gmail.com>
47632
47633 * po/cs.po: Update from translation team.
47634 * po/bg.po: Likewise.
47635
295e904f
MP
476362011-07-12 Marek Polacek <mpolacek@redhat.com>
47637
47638 * misc/sys/cdefs.h: Add support for const attribute.
47639 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47640 to gnu_dev_{major,minor,makedev} functions.
47641
3ff94596
MP
476422011-07-20 Marek Polacek <mpolacek@redhat.com>
47643
47644 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47645
28b59fca
AS
476462011-07-20 Andreas Schwab <schwab@redhat.com>
47647
47648 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47649 strlen results.
47650
19df733e
AK
476512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47652
47653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47654 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47655 register in order to avoid conflicts with the soft frame pointer
47656 being held in r11 when necessary.
47657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47658 (INTERNAL_VSYSCALL_NCS): Likewise.
47659
c8835729
MP
476602011-07-14 Marek Polacek <mpolacek@redhat.com>
47661
47662 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47663 * elf/dl-fini.c (_dl_fini): Adjust caller.
47664 * elf/dl-close.c (_dl_close_worker): Likewise.
47665 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47666
b902330c
MP
476672011-07-15 Marek Polacek <mpolacek@redhat.com>
47668
8991e135
MP
47669 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47670 "aux_cache->nlibs < 0".
47671
b902330c
MP
47672 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47673 in the reload-count case.
47674
99710781
LD
476752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47676
47677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47678 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47679 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47680 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47681 * sysdeps/x86_64/multiarch/strcat.S: New file.
47682 * sysdeps/x86_64/multiarch/strncat.S: New file.
47683 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47684 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47685 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47686 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47688 (USE_AS_STRCAT): Define.
47689 Add strcat and strncat support.
47690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47692 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47693 * string/strncat.c: Update.
47694 (USE_AS_STRNCAT): Define.
47695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47696 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47697 and i7.
47698 * sysdeps/x86_64/multiarch/init-arch.h
47699 (bit_Prefer_PMINUB_for_stringop): New.
47700 (index_Prefer_PMINUB_for_stringop): Likewise.
47701 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47702 bit_Prefer_PMINUB_for_stringop.
47703
7dc6bd90
UD
477042011-07-19 Ulrich Drepper <drepper@gmail.com>
47705
47706 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47707 buffer64.
47708 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47709 of casting of buffer.
47710 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47711 buffer32 and buffer64.
47712 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47713 writes instead of casting of buffer.
47714 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47715 buffer32.
47716 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47717 casting of buffer.
47718
e0e72284
AS
477192011-07-19 Andreas Schwab <schwab@redhat.com>
47720
47721 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47722
feb1eb0b
UD
477232011-07-19 Ulrich Drepper <drepper@gmail.com>
47724
47725 * nscd/nscd.c (termination_handler): Don't do anything for a database
47726 if it has not yet been initialized.
47727
298711ff
UD
477282011-07-18 Ulrich Drepper <drepper@gmail.com>
47729
47730 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47731
477322011-07-15 Marek Polacek <mpolacek@redhat.com>
47733
47734 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47735
f9d68389
UD
477362011-07-18 Ulrich Drepper <drepper@gmail.com>
47737
47738 * po/nl.po: Update from translation team.
47739 * po/sv.po: Likewise.
47740
db290cf5
RM
477412011-07-16 Roland McGrath <roland@hack.frob.com>
47742
47743 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47744 now disallowed by GCC.
5c550700 47745
fd5e21c7
RM
47746 * configure.in (use-default-link): Default to yes if a test -shared
47747 link meets our qualifications.
47748 * configure: Regenerated.
47749
5c550700
RM
47750 * config.make.in (output-format): New variable.
47751 * configure.in: Check for ld --print-output-format support.
47752 * configure: Regenerated.
47753 * Makerules ($(common-objpfx)format.lds)
47754 [$(output-format) != unknown]: Just use $(output-format),
47755 instead of the linker-script munging.
47756
9fa2c032
RM
477572011-07-14 Roland McGrath <roland@hack.frob.com>
47758
a6928d51
RM
47759 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47760 of $(common-objpfx)shlib.lds.
47761 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47762
661607b3
RM
47763 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47764 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47765
9fa2c032
RM
47766 * configure.in (-z relro check): Adjust test code to add a large
47767 writable data section after it.
47768 * configure: Regenerated.
47769
defe9061
RM
477702011-07-11 Roland McGrath <roland@hack.frob.com>
47771
47772 * configure.in (-z relro check): Fix test code to make the variable
47773 truly const.
47774 * configure: Regenerated.
47775
319b9ad4
UD
477762011-07-11 Ulrich Drepper <drepper@gmail.com>
47777
47778 * nscd/nscd.h (struct traced_file): Define.
47779 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47780 elements. Add traced_files.
47781 (inotify_fd): Declare.
47782 (register_traced_file): Declare.
47783 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47784 (inotify_fd): Export.
47785 (resolv_conf_descr): Remove.
47786 (nscd_init): Move inotify descriptor creation to main.
47787 Don't register files for notification here.
47788 (register_traced_file): New function.
47789 (invalidate_cache): Don't use reset_res to determine whether to call
47790 res_init, go through the list of registered files.
47791 (main_loop_poll): The inotify descriptors are now stored in the
47792 structures for the traced files.
47793 (main_loop_epoll): Likewise
47794 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47795 to __nss_disable_nscd.
47796 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47797 for a database anymore. Check the records for all the registered
47798 files instead.
47799 * nss/Makefile (libnss_files-routines): Add files-init.
47800 (libnss_db-routines): Add db-init.
47801 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47802 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47803 * nss/nss_db/db-init.c: New file.
47804 * nss/nss_files/files-init.c: New file.
47805 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47806 __nss_lookup_function.
47807 (__nss_lookup_function): Call nss_load_library.
47808 (nss_load_all_libraries): New function.
47809 (__nss_disable_nscd): Take parameter with callback function for files
47810 to register. Set is_nscd. Load all the DSOs for the NSS modules
47811 used for the cached services.
47812 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47813 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47814 options for features to all the files in nscd.
47815
47816 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47817
23bee3e8
RM
478182011-07-10 Roland McGrath <roland@hack.frob.com>
47819
47820 * csu/elf-init.c (__libc_csu_init): Comment typo.
47821
46a5b7f0
UD
478222011-07-09 Ulrich Drepper <drepper@gmail.com>
47823
47824 * po/pl.po: Update from translation team.
47825 * po/ja.po: Likewise.
47826 * po/ru.po: Likewise.
47827 * po/ko.po: Likewise.
47828 * po/fr.po: Likewise.
47829
d30cf5bb
RM
478302011-07-09 Roland McGrath <roland@hack.frob.com>
47831
113ddea4
RM
47832 * configure.in (.ctors/.dtors header and trailer check):
47833 Use an empirical test on a built program.
47834 * configure: Regenerated.
47835
574920b4
RM
47836 * configure.in (-z relro check): Use an empirical test on a built DSO.
47837 Detect, but do not require, on ia64.
47838 * configure: Regenerated.
47839
d30cf5bb
RM
47840 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47841 Update tests that use readelf to use $READELF instead.
47842 * configure: Regenerated.
47843
8538fdb3
UD
478442011-07-08 Ulrich Drepper <drepper@gmail.com>
47845
47846 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47847 if the result is not used.
47848
04d08991
AJ
478492011-07-05 Andreas Jaeger <aj@suse.de>
47850
47851 [BZ#9696]
47852 * stdlib/tst-strtod.c: Add testcase.
47853
de283087
AD
478542011-07-07 Ulrich Drepper <drepper@gmail.com>
47855
4e5f31c8 47856 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 47857 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
47858 The latter has a higher limit. Take additional parameter to pass to
47859 the new function.
47860 (__pathconf): Pass file to __statfs_link_max.
47861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47862 __statfs_link_max.
47863 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47864 __statfs_link_max.
47865
de283087
AD
47866 [BZ #12868]
47867 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47869 Handle Lustre.
47870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47871 (__statfs_filesize_max): Likewise.
47872 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47873
c75fa153
AJ
478742011-07-05 Andreas Jaeger <aj@suse.de>
47875
47876 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47877
1a544854
UD
478782011-07-06 Marek Polacek <mpolacek@redhat.com>
47879
47880 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47881 `status' variable.
47882 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47883 Likewise.
47884
6f0eec67
UD
478852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47886
47887 * Makefile (strop-tests): Add strncat.
47888 * string/test-strncat.c: New file.
47889
aae30307
UD
478902011-06-30 Marek Polacek <mpolacek@redhat.com>
47891
47892 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47893
c0cfb5eb
UD
478942011-06-21 Andreas Jaeger <aj@suse.de>
47895
47896 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47897 Copy rule from iconvdata/Makefile.
47898
01636b21
UD
478992011-07-06 Ulrich Drepper <drepper@gmail.com>
47900
47901 [BZ #12922]
47902 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47903 but no long options are defined, just return 'W'.
47904
9895c8bc
UD
479052011-06-22 Marek Polacek <mpolacek@redhat.com>
47906
47907 [BZ #9696]
47908 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47909
5d4cf042
UD
479102011-07-06 Ulrich Drepper <drepper@gmail.com>
47911
47912 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47913 netgroups to read.
960e5535 47914 (innetgr): Likewise.
5d4cf042 47915
751eb97e
RM
479162011-07-05 Roland McGrath <roland@hack.frob.com>
47917
47918 * config.make.in (install_root): Default to $(DESTDIR).
47919
f15f1e45
UD
479202011-07-05 Ulrich Drepper <drepper@gmail.com>
47921
47922 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47923
4e34ac6a
RM
479242011-07-02 Roland McGrath <roland@hack.frob.com>
47925
5e9b6af4
RM
47926 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47927
84f9ea0f
RM
47928 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47929 containing directory rather than embedding absolute directory names.
47930
ea5ee9f7
RM
47931 * scripts/check-local-headers.sh: Rewritten using awk.
47932 Match by word, not by line. Print error messages for matches.
47933 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47934
1b74661a
RM
47935 * Makerules [shlib-lds-flags empty]:
47936 ($(common-objpfx)libc_pic.opts): New target.
47937 ($(common-objpfx)libc_pic.os.clean): New target.
47938 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47939
47940 * config.make.in (OBJCOPY): New variable.
47941 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47942 * configure: Regenerated.
47943
f781ef40
RM
47944 * config.make.in (use-default-link): New variable.
47945 * configure.in (use_default_link): Grok --with-default-link to set it.
47946 * configure: Regenerated.
47947 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47948 (shlib-lds, shlib-lds-flags): Define to empty.
47949
2d4fa81e
RM
47950 * Makerules (shlib-lds): New variable.
47951 (shlib-lds-flags): New variable.
47952 (build-shlib, build-moduile, build-module-asneeded): Use it.
47953 ($(common-objpfx)libc.so): Use $(shlib-lds).
47954 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47955 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47956
31fffa6b
RM
47957 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47958 DT_FLAGS/DT_FLAGS_1 with zero flags.
47959
4e34ac6a
RM
47960 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47961 linker script munging.
47962
fcfc776b
UD
479632011-07-02 Ulrich Drepper <drepper@gmail.com>
47964
47965 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47966 as 128-bit value.
47967 * crypt/sha512.c (sha512_process_block): Perform total addition using
47968 128-bit if possible.
47969 (__sha512_finish_ctx): Likewise.
47970 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47971 as 64-bit value.
47972 * crypt/sha256.c (SWAP64): Define.
47973 (sha256_process_block): Perform total addition using 64-bit if
47974 possible.
47975 (__sha256_finish_ctx): Likewise.
47976
99231d9a
UD
479772011-07-01 Ulrich Drepper <drepper@gmail.com>
47978
47979 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47981 * nscd/hstcache.c (cache_addhst): Likewise.
47982 * nscd/grpcache.c (cache_addgr): Likewise.
47983 * nscd/aicache.c (addhstaiX): Likewise
47984 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47985
445b4a53
TK
479862011-07-01 Thorsten Kukuk <kukuk@suse.de>
47987
47988 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47990 * nscd/hstcache.c (cache_addhst): Likewise.
47991 * nscd/grpcache.c (cache_addgr): Likewise.
47992 * nscd/aicache.c (addhstaiX): Likewise
47993
6d4d8e8e
AS
479942011-07-01 Andreas Schwab <schwab@redhat.com>
47995
47996 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47997 domain only when needed.
47998
89f654c5
AS
479992011-06-30 Andreas Schwab <schwab@redhat.com>
48000
48001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48002 is always restored.
48003
cf3b23ff
UD
480042011-06-29 Ulrich Drepper <drepper@gmail.com>
48005
48006 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48007 are re-adding the entry.
48008 * nscd/servicescache.c (cache_addserv): Likewise.
48009
751626f9
AJ
480102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48011
48012 * sysdeps/generic/dl-irel.h: fix protection against multiple
48013 inclusions.
48014 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48015
9113ea1f
UD
480162011-06-28 Ulrich Drepper <drepper@gmail.com>
48017
5c0b8d90
UD
48018 [BZ #12935]
48019 * malloc/memusage.sh: Fix quoting in message.
48020 * debug/xtrace.sh: Likewise.
48021
9113ea1f
UD
48022 * configure.in: Remove support for --experimental-malloc option, make
48023 it the default.
48024 * config.make.in: Likewise.
48025 * malloc/Makefile: Likewise.
48026
a4172181
AS
480272011-06-27 Andreas Schwab <schwab@redhat.com>
48028
48029 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48030 two-byte characters.
48031
78a7eee7
RM
480322011-06-27 Roland McGrath <roland@hack.frob.com>
48033
62bede13
RM
48034 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48035 AC_CACHE_CHECK invocation.
48036 * configure: Regenerated.
48037
78a7eee7
RM
48038 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48039
5ce33a62
UD
480402011-06-27 Ulrich Drepper <drepper@gmail.com>
48041
034807a9
UD
48042 [BZ #12350]
48043 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48044 bit from old_res_options.
48045
4902da17
UD
48046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48047
5ce33a62
UD
48048 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48049 value type for setfct.
48050
c2344f56
L
480512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48052
48053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48054 __gettimeofday instead of gettimeofday.
48055
68468076
UD
480562011-06-26 Ulrich Drepper <drepper@gmail.com>
48057
48058 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48059
acb0d739
L
480602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48061
48062 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48063
48064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48065 info.
48066
8912479f
L
480672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48068
48069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48070 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48071 strcpy-sse2-unaligned strncpy-sse2-unaligned
48072 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48073 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48074 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48075 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48076 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48079 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48080 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48081 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48082 (STRCPY): Support SSE2 and SSSE3 versions.
48083
d5495a11
UD
480842011-06-24 Ulrich Drepper <drepper@gmail.com>
48085
48086 [BZ #12874]
48087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48088 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48089 kernels which artificially limit size of requests.
48090
0b1cbaae
L
480912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48092
48093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48094 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48095 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48096 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48097 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48098 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48099 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48100 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48103 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48104 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48105 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48106 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48107 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48109 Enable unaligned load optimization for Intel Core i3, i5 and i7
48110 processors.
48111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48112 Define.
48113 (index_Fast_Unaligned_Load): Define.
48114 (HAS_FAST_UNALIGNED_LOAD): Define.
48115
07f494a0
MP
481162011-06-23 Marek Polacek <mpolacek@redhat.com>
48117
48118 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48119
fa3fc0fe
UD
481202011-06-22 Ulrich Drepper <drepper@gmail.com>
48121
48122 [BZ #12907]
48123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48124 until it is clear that the information is realy needed.
48125 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48126
e12df166
AS
481272011-06-22 Andreas Schwab <schwab@redhat.com>
48128
48129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48130
852eb34d
UD
481312011-06-22 Ulrich Drepper <drepper@gmail.com>
48132
84e2a551
UD
48133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48134 /sys/devices/system/cpu/online if it is usable.
48135
852eb34d
UD
48136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48137 reading the information from the /proc filesystem to once a second.
48138
6e502e19
UD
481392011-06-21 Andreas Jaeger <aj@suse.de>
48140
48141 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48142 NULL after inclusion of kernel headers.
48143
75d39ff2
UD
481442011-06-21 Ulrich Drepper <drepper@gmail.com>
48145
51f9aa6a
UD
48146 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48147 calls to internal_setent.
48148
c0244a9d
UD
48149 [BZ #12885]
48150 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48151 addresses using gethostbyname4_r ignore IPv4 addresses.
48152
c5e3c2ae
UD
48153 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48154 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48155
75d39ff2
UD
48156 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48157
42675c6f
DM
481582011-06-20 David S. Miller <davem@davemloft.net>
48159
48160 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48161 inclusions.
48162 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48163
48164 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48165 (elf_irel): Use it.
48166 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48167 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48168 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48169 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48170 * sysdeps/x86_64/dl-irel.h: Likewise.
48171
48172 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48173 * elf/dl-sym.c: Likewise.
48174
57912a71
UD
481752011-06-15 Ulrich Drepper <drepper@gmail.com>
48176
48177 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48178 need to dereference resplen2.
48179
ee22793d
AS
481802011-06-14 Andreas Schwab <schwab@redhat.com>
48181
48182 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48183
a9e836b0
UD
481842011-06-15 Ulrich Drepper <drepper@gmail.com>
48185
77fb9117
UD
48186 * Makeconfig: Define vardbdir and inst_vardbdir.
48187 * nss/Makefile: Add rules to install db-Makefile.
48188
40c1b22c
UD
48189 * nss/nss_db/db-XXX.c: Cleanup.
48190
9f2da732
UD
48191 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48192 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48193 GLIBC_PRIVATE.
48194 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48195 * nss/makedb.c: Implement -g option to specify that value strings
48196 are generated and should not be added to table iterated over for
48197 get*ent calls.
48198 * nss/nss_db/db-initgroups.c: New file.
48199
82e9a1f7
UD
48200 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48201 interface.
48202
c41af17e
UD
48203 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48204 (internal_getgrouplist): Adjust to name change.
48205 Update use_initgroups_entry if this is not the first call.
48206 * nss/databases.def: Add initgroups entry.
48207
a9e836b0
UD
48208 * nss/makedb.c (compute_tables): Check result of multiple hash table
48209 sizes to minimize maximum chain length.
48210
2666d441
UD
482112011-06-14 Ulrich Drepper <drepper@gmail.com>
48212
48213 * Versions.def: Add entry for libnss_db.
48214 * shlib-versions: Likewise.
48215 * nss/Makefile: Add rules to build libnss_db.
48216 * nss/Versions: Add libnss_db information. Organize libnss_files
48217 entries better.
48218 * nss/db-Makefile: Add gshadow support. Change rules for the new
48219 makedb progra. Some minor improvements to generate smaller files.
48220 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48221 here from...
48222 * nss/makedb.c: ...here.
48223 Improve database format to be smaller and require less memory at
48224 runtime.
48225 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48226 db anymore.
48227 * nss/nss_db/db-netgrp.c: Likewise.
48228 * nss/nss_db/db-open.c: Likewise.
48229 * nss/nss_files/flies-XXX.x: Adjust comments.
48230 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48231 * nss/nss_files/files-grp.c: Likewise.
48232 * nss/nss_files/files-hosts.c: Likewise.
48233 * nss/nss_files/files-network.c: Likewise.
48234 * nss/nss_files/files-proto.c: Likewise.
48235 * nss/nss_files/files-pwd.c: Likewise.
48236 * nss/nss_files/files-rpc.c: Likewise.
48237 * nss/nss_files/files-service.c: Likewise.
48238 * nss/nss_files/files-sgrp.c: Likewise.
48239 * nss/nss_files/files-spwd.c: Likewise.
48240 * nss/nss_db/db-alias.c: Removed.
48241 * nss/nss_db/dummy-db.h: Removed.
48242
9ee76b5a
UD
482432011-06-02 Ulrich Drepper <drepper@gmail.com>
48244
48245 * nss/makedb.c: Rewritten to not use database library.
48246 * nss/Makefile: Update to build new makedb program.
48247
c71ca1f8
AJ
482482011-06-14 Andreas Jaeger <aj@suse.de>
48249
48250 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48251 memset declaration.
48252
3154bfb8
UD
482532011-06-10 Andreas Schwab <schwab@redhat.com>
48254
48255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48256 tmpbuf.
48257
b350afab
RM
482582011-06-10 Roland McGrath <roland@hack.frob.com>
48259
decd4e50
RM
48260 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48261 * elf/Makefile ($(objpfx)ld.so): Likewise.
48262
5615eaf2
RM
48263 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48264 Don't list ld.so twice in dependencies.
48265
48266 * posix/bug-regex31.c: Include <stdlib.h>.
48267
48268 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48269
48270 * nis/nss_compat/compat-spwd.c
48271 (getspent_next_nss_netgr): Remove unused variable.
48272 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48273
48274 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48275 nonmembers" output to use the right array.
48276
48277 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48278
48279 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48280
48281 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48282 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48283 * catgets/gencat.c (read_input_file): Likewise.
48284 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48285
48286 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48287 variable definition inside #if's controlling its use.
48288
48289 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48290
48291 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48292
48293 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48294
48295 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48296 unreachable code.
48297
48298 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48299
b68e08db
RM
48300 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48301 * configure: Regenerated.
48302
b350afab
RM
48303 * Makerules: Revert last change.
48304 * elf/Makefile: Likewise.
48305
28368601
RM
483062011-06-09 Roland McGrath <roland@hack.frob.com>
48307
48308 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48309 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48310 (reloc-link): Likewise.
48311
11988f8f
UD
483122011-06-09 Ulrich Drepper <drepper@gmail.com>
48313
48314 * elf/Makefile: Add rules to build pldd.
48315 * elf/pldd.c: New file.
48316 * elf/pldd-xx.c: New file.
48317
e80fab37
UD
483182011-06-07 Ulrich Drepper <drepper@gmail.com>
48319
48320 * version.h: Update for 2.15 development version.
48321
9b849836
DM
483222011-06-07 David S. Miller <davem@davemloft.net>
48323
48324 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48325 ifuncs.
48326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48327 elf_machine_lazy_rel): Likewise.
48328 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48330 elf_machine_lazy_rel): Likewise.
48331 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48332 dl_hwcap via passed in argument.
48333 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48334 Likewise.
48335
5a31b283
AK
483362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48337
48338 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48339
069e52f8
RM
483402011-06-06 Roland McGrath <roland@hack.frob.com>
48341
48342 [BZ #12849]
48343 * manual/fdl-1.1.texi: New file, verbatim from:
48344 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48345 * manual/lgpl-2.1.texi: New file, verbatim from:
48346 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48347 * manual/Makefile (licenses): New variable, list those new file names.
48348 (texis): Use it.
48349 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48350
48351 * manual/fdl.texi: File removed.
48352 * manual/lesser.texi: File removed.
48353 * manual/libc.texinfo (Copying, Documentation License):
48354 Use new @include file names, put @appendix directive before @include.
48355
f16846a5
JJ
483562011-06-04 Jakub Jelinek <jakub@redhat.com>
48357
48358 [BZ #12841]
48359 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48360 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48361 (mq_open): Add __NTH.
48362
3d29045b
L
483632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48364
48365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48366 Assume Intel Core i3/i5/i7 processor if AVX is available.
48367
8c297311
UD
483682011-05-31 Ulrich Drepper <drepper@gmail.com>
48369
48370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48371 typo.
48372
c8fc0c91
UD
483732011-05-31 Andreas Schwab <schwab@redhat.com>
48374
48375 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48376 memory. Use alloca_account. Fix memory leak when retrying.
48377
5b27a807
UD
483782011-05-31 Ulrich Drepper <drepper@gmail.com>
48379
356f8bc6
UD
48380 * version.h (RELEASE): Bump for 2.14 release.
48381 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48382
5b27a807
UD
48383 * config.make.in (RANLIB): Remove entry.
48384
01f16ab0
UD
483852011-05-30 Ulrich Drepper <drepper@gmail.com>
48386
41fce8bd
UD
48387 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48388 (libc.pot): Work around missing support for .ksh extension in xgettext.
48389
4769ae77
UD
48390 [BZ #12684]
48391 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48392 if both request failed.
48393 (send_dg): In case of server errors clear resplen or *resplen2.
48394
6b1e7d19
UD
48395 [BZ #12454]
48396 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48397 when there are multiple maps.
48398 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48399 (_dl_fini): Remove test here.
48400
01f16ab0
UD
48401 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48402
b1ebd700
UD
484032011-05-29 Ulrich Drepper <drepper@gmail.com>
48404
7ae22829
UD
48405 [BZ #12350]
48406 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48407 bit from old_res_options.
48408 (gaih_inet): Likewise.
48409
553149f6 48410 [BZ #11099]
18a84741 48411 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
48412 as signed.
48413
652ffab1
UD
48414 * resolv/res_init.c (res_setoptions): Make the code more compact.
48415
16985fd0
UD
48416 [BZ #11558]
48417 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48418 set RES_USEVC.
48419
0464f746
UD
48420 [BZ #11634]
48421 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48422
7d17596c
UD
48423 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48424
cf6bbbd7
UD
48425 [BZ #11781]
48426 * malloc/malloc.h: Declare malloc hook variables as volatile.
48427
13f1ab36
UD
48428 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48429 in last patch.
48430
b1ebd700
UD
48431 [BZ #11799]
48432 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 48433 raise in the comment.
80e2212d
UD
48434 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48436 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 48437
ce67228d
UD
484382011-05-28 Ulrich Drepper <drepper@gmail.com>
48439
8887a920
UD
48440 [BZ #12811]
48441 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48442 grow the buffers more if it already has to be sufficient.
48443 (build_wcs_upper_buffer): Likewise.
48444 * posix/regexec.c (check_matching): Likewise.
48445 (clean_state_log_if_needed): Likewise.
48446 (extend_buffers): Don't enlarge buffers beyond size of the input
48447 buffer.
48448 Patches mostly by Emil Wojak <emil@wojak.eu>.
48449 * posix/bug-regex32.c: New file.
48450 * posix/Makefile (tests): Add bug-regex32.
48451
4f031072
UD
48452 * locale/findlocale.c (_nl_find_locale): Return right away if
48453 _nl_explode_name failed.
48454 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48455
d0478f0c
UD
48456 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48457
de81b246
UD
48458 * debug/xtrace.sh: Unify messages.
48459 * malloc/memusage.sh: Likewise.
48460
c738465a
UD
48461 [BZ #12813]
48462 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48463 time symbol from vDSO. Substitute with vsyscall if not available.
48464 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48465 __vdso_time.
48466
f1f929d7
UD
48467 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48468 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48469 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48470 Add sendmmsg and internal_sendmmsg.
48471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48472 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48474
ce67228d
UD
48475 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48476 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48478
e57420c6
UD
484792011-05-27 Ulrich Drepper <drepper@gmail.com>
48480
a8509ca5
UD
48481 [BZ #12813]
48482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48483 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48484 available.
48485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48486 __vdso_getcpu.
48487
e57420c6
UD
48488 [BZ #12814]
48489 * iconvdata/Makefile (tests): Add bug-iconv9.
48490 * iconvdata/bug-iconv9.c: New file.
48491
4d07db15
AS
484922011-05-27 Andreas Schwab <schwab@redhat.com>
48493
48494 [BZ #12814]
48495 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48496
ea486f69
JJ
484972011-05-25 Jakub Jelinek <jakub@redhat.com>
48498
48499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48500 (struct user_regs_struct): Change intcs field back to cs.
48501
6f038433
UD
485022011-05-25 Ulrich Drepper <drepper@gmail.com>
48503
48504 * po/ja.po: Update from translation team.
48505
67f86a25
UD
485062011-05-23 Ulrich Drepper <drepper@gmail.com>
48507
48508 [BZ #12795]
48509 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48510 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48511
def7fbd6
AS
485122011-05-20 Andreas Schwab <schwab@redhat.com>
48513
48514 * stdlib/longlong.h: Update from GCC.
48515
f50ef8f1
AS
485162011-05-23 Andreas Schwab <schwab@redhat.com>
48517
48518 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48519 parameter name.
48520 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48521 Add parameter name.
48522 (__sysconf): Pass it down.
48523
de7ce8f1
UD
485242011-05-22 Ulrich Drepper <drepper@gmail.com>
48525
f2962a71
UD
48526 [BZ #12671]
48527 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48528 some situations.
48529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48530 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48531 add in in __libc_use_alloca calls. Adjust callers.
48532 (glob): Use malloc in some situations.
48533
de7ce8f1
UD
48534 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48535 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48536 pltexit.
48537
aec84f53
UD
485382011-05-21 Ulrich Drepper <drepper@gmail.com>
48539
05bb4a68
UD
48540 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48541 and CLOCK_BOOTTIME_ALARM.
48542
7ea72f99
UD
48543 [BZ #12782]
48544 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48545 is returned.
48546
7e4afad5
UD
48547 * string/_strerror.c (__strerror_r): Print negative errors as signed
48548 numbers.
48549
8e211fec
UD
48550 [BZ #12777]
48551 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48552 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48553 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48554
f7d82dc9
UD
48555 * configure.in: Fix typo in redirection and correct removal of test
48556 files in two cases.
48557
cc9e536d
UD
48558 [BZ #12788]
48559 * locale/setlocale.c (new_composite_name): Fix test to check for
48560 identical name of all categories.
48561
aec84f53
UD
48562 [BZ #12792]
48563 * libio/filedoalloc.c (local_isatty): New function.
48564 (_IO_file_doallocate): Use local_isatty.
48565 * stdio-common/perror.c (perror): In case a new stream is used
48566 forward the stream error.
48567 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48568 error flag.
48569
78e64fdc
RT
485702011-05-20 Ulrich Drepper <drepper@gmail.com>
48571
34a9094f
UD
48572 [BZ #11869]
48573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48574 alloca.
48575 * include/alloca.h (extend_alloca_account): Define.
48576
78e64fdc
RT
48577 [BZ #11857]
48578 * posix/regex.h: Fix comments with documentation of user-accessible
48579 fields after compilation and describe correct free'ing of pattern
48580 after re_compile_pattern.
48581 Patch by Reuben Thomas <rrt@sc3d.org>.
48582
457bddfc
RA
485832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48584
48585 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48586 and -mno-altivec to prevent the compiler from using Altivec and/or
48587 VSX instructions when the corresponding registers are not available.
48588
a4527b51
AS
485892011-05-19 Andreas Schwab <schwab@redhat.com>
48590
48591 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48592
ed690b2f
UD
485932011-05-19 Ulrich Drepper <drepper@gmail.com>
48594
48595 * libio/freopen.c (freopen): Use __dup2, not dup2.
48596 * libio/freopen64.c (freopen64): Likewise.
48597
8db73634
L
485982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48599
48600 [BZ #12775]
48601 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48602 * math/Makefile (tests): Add test-powl.
48603 (CFLAGS-test-powl.c): Define.
48604 * math/test-powl.c: New file.
48605
0a197a9d
L
486062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48607
48608 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48609
ee30c380
UD
486102011-05-17 Ulrich Drepper <drepper@gmail.com>
48611
48612 [BZ #11837]
48613 * iconvdata/gb18030.c: Update to GB18020-2005.
48614
6ce75379
UD
486152011-05-16 Ulrich Drepper <drepper@gmail.com>
48616
a4b89fd8
AR
48617 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48618 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48619 Patch by Aharon Robbins <arnold@skeeve.com>.
48620
ea389b12
UD
48621 [BZ #11892]
48622 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48623 on the stack.
48624
68a3f91f
UD
48625 [BZ #11895]
48626 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48627 through underflows.
48628
15cc7dd1
UD
48629 [BZ #12766]
48630 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48631 point to strings before performing equality test for error_one_per_line
48632 mode.
48633
f3799213
UD
48634 [BZ #11697]
48635 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48636
d79a9c94
UD
48637 [BZ #11820]
48638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48639 (struct user_fpregs_struct): Avoid __uint*_t types.
48640
56e5eb46
UD
48641 [BZ #6420]
48642 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48643 symbol info. Use it instead of calling _dl_addr locally.
48644 (lock_and_info): New function.
48645 (tr_freehook): Call lock_and_info and pass symbol info as additional
48646 parameter to tr_where.
48647 (tr_mallochook): Likewise.
48648 (tr_reallochook): Likewise.
48649 (tr_memalignhook): Likewise.
48650
6ce75379
UD
48651 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48652 used and couldn't be at all thread-safe.
48653
f8a3b5bf
UD
486542011-05-15 Ulrich Drepper <drepper@gmail.com>
48655
94b7cc37
UD
48656 * libio/freopen.c (freopen): Don't close old file descriptor
48657 before the new one is opened. Instead dup the new file descriptor
48658 to the old one after the new stream is created.
48659 * libio/freopen64.c (freopen64): Likewise.
48660 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48661 * libio/fileops.c (_IO_new_file_close_it): Handle new
48662 _IO_FLAGS2_NOCLOSE flag.
48663 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48664 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48665 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48666 _IO_FLAGS2_NOCLOSE flag.
48667 * include/unistd.h: Add hidden_proto for dup3.
48668 Define __have_dup3.
48669 * io/dup3.c: Define hidden symbol.
48670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48671
bd25564e
UD
48672 [BZ #7101]
48673 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48674 when an incomplete long option is used.
48675 * posix/tst-getopt_long1.c: New file.
48676 * posix/Makefile (tests): Add tst-getopt_long1.
48677
c84cfef4
UD
48678 [BZ #10138]
48679 * scripts/config.guess: Update from autoconf-2.68.
48680 * scripts/config.sub: Likewise.
48681
3b85df27
UD
48682 [BZ #10157]
48683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48684 tests into ...
48685 (has_cpuclock): ...this. New function.
48686 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48687 macro here based on has_cpuclock code.
48688
15a856b1
UD
48689 [BZ #10149]
48690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48691 First byte (not low byte) is now always NUL.
48692 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48693
05f399e6
UD
48694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48695 Use non-cancelable interfaces.
48696
10a52685 48697 [BZ #9809]
94ecc67d
UD
48698 * locale/iso-639.def: Add entry for Sorani.
48699
f8a3b5bf
UD
48700 [BZ #11901]
48701 * include/stdlib.h: Move include protection to the right place.
48702 Define abort_msg_s. Declare __abort_msg with it.
48703 * stdlib/abort.c (__abort_msg): Adjust type.
48704 * assert/assert.c (__assert_fail_base): New function. Majority
48705 of code from __assert_fail. Allocate memory for __abort_msg with
48706 mmap.
48707 (__assert_fail): Now call __assert_fail_base.
48708 * assert/assert-perr.c: Remove bulk of implementation. Use
48709 __assert_fail_base.
48710 * include/assert.hL Declare __assert_fail_base.
48711 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48712 mmap.
48713 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48714
1af4e298
UD
487152011-05-14 Ulrich Drepper <drepper@gmail.com>
48716
f8a3b5bf 48717 [BZ #11952]
d26dfc60
MG
48718 [BZ #12453]
48719 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48720 until all modules are registered in the DTV.
48721 * elf/Makefile: Add rules to build and run tst-tls19.
48722 * elf/tst-tls19.c: New file.
48723 * elf/tst-tls19mod1.c: New file.
48724 * elf/tst-tls19mod2.c: New file.
48725 * elf/tst-tls19mod3.c: New file.
48726 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48727
2fc54d6f
UD
48728 [BZ #12083]
48729 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48730 correctly.
48731
98d76b46
UD
48732 [BZ #12601]
48733 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48734 two-byte sequence errors.
48735 * iconvdata/Makefile (tests): Add bug-iconv8.
48736 * iconvdata/bug-iconv8.c: New file.
48737
da3c19ef
UD
48738 [BZ #12626]
48739 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48740 buf2 definition.
48741
ca408c15
UD
48742 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48743
d6f67f7d
UD
48744 [BZ #12432]
48745 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48746 (dummy_getcfa): New function.
48747 (init): Get _Unwind_GetCFA address, use dummy if not found.
48748 (backtrace_helper): In recursion check, also check whether CFA changes.
48749 (__backtrace): Completely initialize arg.
48750
1af4e298 48751 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
48752 storing incomplete byte sequence in state object. Avoid testing for
48753 guaranteed too small input if we know there is enough data available.
1af4e298 48754
da62f81b
AS
487552011-05-11 Andreas Schwab <schwab@redhat.com>
48756
48757 * Makeconfig (+link-pie): Indent.
48758 * Rules (binaries-pie): Define if $(have-fpie) and
48759 $(build-shared).
48760 (binaries-shared): Also filter out $(binaries-pie).
48761 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48762 * nscd/Makefile (others-pie): Add nscd.
48763 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48764 ($(objpfx)nscd): Remove command override.
48765 * login/Makefile (others-pie): Add pt_chown.
48766 ($(objpfx)pt_chown): Remove command override.
48767 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48768 remove command overrides.
48769
fcabc0f8
UD
487702011-05-13 Ulrich Drepper <drepper@gmail.com>
48771
20030ae6
UD
48772 * libio/tst_putwc.c: Fix error messages.
48773
fcabc0f8
UD
48774 [BZ #12724]
48775 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48776 currently writing and seek to current position when not.
48777 * libio/Makefile (tests): Add bug-fclose1.
48778 * libio/bug-fclose1.c: New file.
48779
320a5dc0
PB
487802011-05-12 Ulrich Drepper <drepper@gmail.com>
48781
48782 [BZ #12511]
48783 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48784 don't set DF_1_NODELETE here.
48785 (do_lookup_x): When entering new entry test for copy relocation
48786 and if necessary set DF_1_NODELETE flag.
48787 * elf/tst-unique4.cc: New file.
48788 * elf/tst-unique4.h: New file.
48789 * elf/tst-unique4lib.cc: New file.
48790 * elf/Makefile: Add rules to build and run tst-unique4.
48791 Patch by Piotr Bury <pbury@goahead.com>.
48792
22836f52
UD
487932011-05-11 Ulrich Drepper <drepper@gmail.com>
48794
f574184a
UD
48795 [BZ #12052]
48796 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48797
e1fb097f
UD
48798 [BZ #12625]
48799 * misc/mntent_r.c (addmntent): Flush the stream after the output
48800
22836f52
UD
48801 [BZ #12393]
48802 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48803 (is_trusted_path_normalize): Skip initial colon. Append slash
48804 to empty buffer. Duplicate is_trusted_path code but allow
48805 constructed patch to be prefix.
48806 (is_dst): Allow $ORIGIN followed by /.
48807 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48808 Correct testing of result of is_trusted_path_normalize
48809 (decompose_rpath): Fix warning.
48810
7b3b0b2a
UD
488112011-05-10 Ulrich Drepper <drepper@gmail.com>
48812
48813 [BZ #11257]
48814 * grp/initgroups.c (internal_getgrouplist): When we found the service
48815 list through the initgroups entry in nsswitch.conf do not always
48816 continue on a successful lookup. Don't always use the
eac80ce2 48817 __nss_group_database value if it is set.
7b3b0b2a
UD
48818 * nss/nsswitch.conf (initgroups): Change action for successful db
48819 lookup to continue for compatibility.
48820
2a81eaa5
UD
488212011-05-09 Ulrich Drepper <drepper@gmail.com>
48822
be97a69e
UD
48823 [BZ #11532]
48824 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48825 and CP774 modules.
48826 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48827 and CP774 modules.
48828 * iconvdata/tst-tables.sh: Likewise.
48829 * iconvdata/cp770.c: New file.
48830 * iconvdata/cp771.c: New file.
48831 * iconvdata/cp772.c: New file.
48832 * iconvdata/cp773.c: New file.
48833 * iconvdata/cp774.c: New file.
48834 * iconvdata/testdata/CP770: New file.
48835 * iconvdata/testdata/CP770..UTF8: New file.
48836 * iconvdata/testdata/CP771: New file.
48837 * iconvdata/testdata/CP771..UTF8: New file.
48838 * iconvdata/testdata/CP772: New file.
48839 * iconvdata/testdata/CP772..UTF8: New file.
48840 * iconvdata/testdata/CP773: New file.
48841 * iconvdata/testdata/CP773..UTF8: New file.
48842 * iconvdata/testdata/CP774: New file.
48843 * iconvdata/testdata/CP774..UTF8: New file.
48844
48845 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48846 END CHARMAP line.
48847 * iconvdata/gen-8bit-gap.sh: Likewise.
48848 * iconvdata/gen-8bit.sh: Likewise.
48849
c1e9e399
UD
48850 * locale/iso-639.def: Add ary entry.
48851
24c55fb3 48852 [BZ #11258]
96b4b1b0
UD
48853 * locale/C-translit.h.in: Add U20A1 transliteration.
48854
bdc2f971
KB
48855 [BZ #12178]
48856 * locale/iso-639.def: Add wae entry.
48857 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48858
2952b117
UD
48859 [BZ #12545]
48860 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48861 for n.
48862
2a81eaa5
UD
48863 [BZ #12711]
48864 * locale/C-translit.h.in: Add entry for U20B9.
48865 Patch by pravin.d.s@gmail.com.
48866
28377d1b
UD
488672011-05-08 Ulrich Drepper <drepper@gmail.com>
48868
7fb90fb8
UD
48869 [BZ #12713]
48870 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48871 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
48872 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48873 in rtld. Use *stat64.
7fb90fb8 48874 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 48875 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 48876 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
48877 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48878 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48879 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48880 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48881 __fstatat64 macros.
7fb90fb8
UD
48882 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48883 * dirent/rewinddir.c: Add libc_hidden_def.
48884 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 48885 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 48886
28377d1b
UD
48887 * include/dirent.h (__alloc_dir): Add flags parameter.
48888 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48889 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48890 __alloc_dir.
48891 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48892 from fdopendir if O_CLOEXEC is already set.
48893
66bdbaa4
AM
488942011-03-15 Alan Modra <amodra@gmail.com>
48895
48896 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48897 l_tls_firstbyte_offset non-zero. Save padding offset in
48898 l_tls_firstbyte_offset for later use.
48899 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48900 freeing static tls block.
48901
95721191
JN
489022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48903
48904 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48905 where #ifdef was intended. The intent is to prevent ARG_MAX from
48906 being defined by the kernel headers.
48907
f87dfb1f
UD
489082011-05-07 Ulrich Drepper <drepper@gmail.com>
48909
48910 [BZ #12734]
48911 * resolv/resolv.h: Define RES_NOTLDQUERY.
48912 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48913 no-tld-query and set RES_NOTLDQUERY.
48914 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48915 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48916 modern BIND to search name as TLD unless forbidden.
48917
47c3cd7a
UD
489182011-05-07 Petr Baudis <pasky@suse.cz>
48919 Ulrich Drepper <drepper@gmail.com>
48920
48921 [BZ #12393]
48922 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48923 (is_trusted_path): ...to here.
c1e9ea35 48924 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 48925 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 48926 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 48927
8a35c912
PP
489282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48929
48930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48931 __BEGIN/__END_DECLS.
48932
acd41f47
UD
489332011-05-06 Ulrich Drepper <drepper@gmail.com>
48934
48935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48936 NSS_STATUS_NOTFOUND if no record was found.
48937
597df647
AS
489382011-05-05 Andreas Schwab <schwab@redhat.com>
48939
48940 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48941 (headers-not-in-tirpc): Remove rpc/netdb.h
48942 * resolv/netdb.h: Revert last change.
48943
b9af1301
PP
489442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48945
48946 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48947 circular dependency between libgcc.a and libc.a.
48948
4e34d5f5
AS
489492011-05-05 Andreas Schwab <schwab@redhat.com>
48950
48951 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48952 * nis/Makefile: Don't install rpcsvc/*.
48953 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48954 instead of <rpc/types.h>.
48955 (MAXHOSTNAMELEN): Define.
48956
00ee369c
AS
489572011-05-03 Andreas Schwab <schwab@redhat.com>
48958
48959 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48960
0b592a30
MB
489612011-04-28 Maciej Babinski <mbabinski@google.com>
48962
48963 [BZ #12714]
48964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48965 gethostbyname4_r when IPv6 results are possible.
48966
6e04cbbe
UD
489672011-05-02 Ulrich Drepper <drepper@gmail.com>
48968
48969 [BZ #12723]
48970 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48971 _PC_PIPE_BUF handling.
48972
e4ecafe0
BH
489732011-04-30 Bruno Haible <bruno@clisp.org>
48974
48975 [BZ #12717]
48976 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48977 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48978 to 'int'.
48979 * inet/getnameinfo.c (getnameinfo): Likewise.
48980
125ee683
UD
489812011-04-29 Ulrich Drepper <drepper@gmail.com>
48982
48983 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48984 to groups setting in database lookup.
48985 * nss/nsswitch.conf: Add initgroups entry.
48986
b722481a
EB
489872011-04-22 Ulrich Drepper <drepper@gmail.com>
48988
48989 [BZ #12685]
48990 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48991 mode string.
48992 Patch by Eric Blake <eblake@redhat.com>.
48993
4df46dbd
L
489942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48995
48996 * sunrpc/Makefile (need-export-routines): Add svc_run.
48997 (routines): Remove svc_run.
48998 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48999 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49000 * sunrpc/svc_run.c (svc_run): Likewise.
49001 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49002
e84142d2
UD
490032011-04-21 Ulrich Drepper <drepper@gmail.com>
49004
49005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49006 problem in reallocation in last patch.
49007
877175d8
UD
490082011-04-20 Ulrich Drepper <drepper@gmail.com>
49009
49010 * sunrpc/Makefile: Move inclusion of Rules.
49011
ab8eed78
UD
490122011-04-19 Ulrich Drepper <drepper@gmail.com>
49013
49014 * nss/nss_files/files-initgroups.c: New file.
49015 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49016 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49017 _nss_files_initgroups_dyn.
49018
e3d8f584
RS
490192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49020
49021 * elf/elf.h (R_ARM_IRELATIVE): Define.
49022
af190f45
UD
490232011-04-19 Ulrich Drepper <drepper@gmail.com>
49024
49025 * po/ru.po: Update from translation team.
49026
53cf59ef
UD
490272011-04-17 Ulrich Drepper <drepper@gmail.com>
49028
49029 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49030 dependencies.
49031
4c559bcd
MF
490322011-02-06 Mike Frysinger <vapier@gentoo.org>
49033
49034 [BZ #12653]
49035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49036 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49040
4420675c
AS
490412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49042
49043 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49044 differing bytes.
49045 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49048
75ea32ab
UD
490492011-04-17 Ulrich Drepper <drepper@gmail.com>
49050
49051 [BZ #12420]
49052 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49053 storing it.
49054 * stdlib/bug-getcontext.c: New file.
49055 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49056
27390476
AK
490572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49058
49059 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49060 instructions into .machine "z9-109".
49061 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49062 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49063
10442705
AK
490642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49065
49066 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49067 between environment variables and auxiliary vector.
49068
7b57bfe5
UD
490692011-04-16 Ulrich Drepper <drepper@gmail.com>
49070
49071 * Makefile: Add rules to build linkobj/libc.so.
49072 * include/libc-symbols.h: Define libc_hidden_nolink.
49073 * include/rpc/auth.h: Mark functions which are to be hidden.
49074 * include/rpc/auth_des.h: Likewise.
49075 * include/rpc/auth_unix.h: Likewise.
49076 * include/rpc/clnt.h: Likewise.
49077 * include/rpc/des_crypt.h: Likewise.
49078 * include/rpc/key_prot.h: Likewise.
49079 * include/rpc/pmap_clnt.h: Likewise.
49080 * include/rpc/pmap_prot.h: Likewise.
49081 * include/rpc/pmap_rmt.h: Likewise.
49082 * include/rpc/rpc_msg.h: Likewise.
49083 * include/rpc/svc.h: Likewise.
49084 * include/rpc/svc_auth.h: Likewise.
49085 * include/rpc/xdr.h: Likewise.
49086 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49087 * nss/Makefile: Likewise.
49088 * sunrpc/Makefile: Don't install headers. Build library with normal
49089 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49090 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49091 for the compat linking library. Remove use of INTDEF/INTUSE.
49092 * sunrpc/auth_none.c: Likewise.
49093 * sunrpc/auth_unix.c: Likewise.
49094 * sunrpc/authdes_prot.c: Likewise.
49095 * sunrpc/authuxprot.c: Likewise.
49096 * sunrpc/clnt_gen.c: Likewise.
49097 * sunrpc/clnt_perr.c: Likewise.
49098 * sunrpc/clnt_raw.c: Likewise.
49099 * sunrpc/clnt_simp.c: Likewise.
49100 * sunrpc/clnt_tcp.c: Likewise.
49101 * sunrpc/clnt_udp.c: Likewise.
49102 * sunrpc/clnt_unix.c: Likewise.
49103 * sunrpc/des_crypt.c: Likewise.
49104 * sunrpc/des_soft.c: Likewise.
49105 * sunrpc/get_myaddr.c: Likewise.
49106 * sunrpc/key_call.c: Likewise.
49107 * sunrpc/key_prot.c: Likewise.
49108 * sunrpc/netname.c: Likewise.
49109 * sunrpc/pm_getmaps.c: Likewise.
49110 * sunrpc/pm_getport.c: Likewise.
49111 * sunrpc/pmap_clnt.c: Likewise.
49112 * sunrpc/pmap_prot.c: Likewise.
49113 * sunrpc/pmap_prot2.c: Likewise.
49114 * sunrpc/pmap_rmt.c: Likewise.
49115 * sunrpc/publickey.c: Likewise.
49116 * sunrpc/rpc_cmsg.c: Likewise.
49117 * sunrpc/rpc_common.c: Likewise.
49118 * sunrpc/rpc_dtable.c: Likewise.
49119 * sunrpc/rpc_prot.c: Likewise.
49120 * sunrpc/rpc_thread.c: Likewise.
49121 * sunrpc/rtime.c: Likewise.
49122 * sunrpc/svc.c: Likewise.
49123 * sunrpc/svc_auth.c: Likewise.
49124 * sunrpc/svc_authux.c: Likewise.
49125 * sunrpc/svc_raw.c: Likewise.
49126 * sunrpc/svc_run.c: Likewise.
49127 * sunrpc/svc_simple.c: Likewise.
49128 * sunrpc/svc_tcp.c: Likewise.
49129 * sunrpc/svc_udp.c: Likewise.
49130 * sunrpc/svc_unix.c: Likewise.
49131 * sunrpc/svcauth_des.c: Likewise.
49132 * sunrpc/xcrypt.c: Likewise.
49133 * sunrpc/xdr.c: Likewise.
49134 * sunrpc/xdr_array.c: Likewise.
49135 * sunrpc/xdr_float.c: Likewise.
49136 * sunrpc/xdr_intXX_t.c: Likewise.
49137 * sunrpc/xdr_mem.c: Likewise.
49138 * sunrpc/xdr_rec.c: Likewise.
49139 * sunrpc/xdr_ref.c: Likewise.
49140 * sunrpc/xdr_sizeof.c: Likewise.
49141 * sunrpc/xdr_stdio.c: Likewise.
49142
e6c61494
UD
491432011-04-10 Ulrich Drepper <drepper@gmail.com>
49144
49145 [BZ #12650]
49146 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49147 * sysdeps/ia64/dl-tls.h: Likewise.
49148 * sysdeps/powerpc/dl-tls.h: Likewise.
49149 * sysdeps/s390/dl-tls.h: Likewise.
49150 * sysdeps/sh/dl-tls.h: Likewise.
49151 * sysdeps/sparc/dl-tls.h: Likewise.
49152 * sysdeps/x86_64/dl-tls.h: Likewise.
49153 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49154
34fe483e
AS
491552011-03-14 Andreas Schwab <schwab@redhat.com>
49156
49157 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49158 rpath element also skip the following colon.
49159 (expand_dynamic_string_token): Add is_path parameter and pass
49160 down to DL_DST_REQUIRED and _dl_dst_substitute.
49161 (decompose_rpath): Call expand_dynamic_string_token with
49162 non-zero is_path. Ignore empty rpaths.
49163 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49164 with zero is_path.
49165
f12a32e6
AS
491662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49167
49168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49169 Make cancelable.
49170
38a7d692
UD
491712011-04-09 Ulrich Drepper <drepper@gmail.com>
49172
49173 [BZ #12655]
49174 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49175 Patch by Filipe David Manana <fdmanana@apache.org>.
49176
e451d22b
AS
491772011-04-07 Andreas Schwab <schwab@redhat.com>
49178
49179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49180 Maintain aligned stack.
49181 (CHECK_RSP): Remove unused macro.
49182
dedc7c7b
UD
491832011-04-03 Ulrich Drepper <drepper@gmail.com>
49184
49185 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49186 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49187
94521213
UD
491882011-04-02 Ulrich Drepper <drepper@gmail.com>
49189
49190 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49191
8cb700c0 49192 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49193
0354e355
L
491942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49195
49196 [BZ #12518]
49197 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49198 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49199 * sysdeps/x86_64/memmove.c: New file.
49200 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49201 (memcpy): Renamed to ...
49202 (__new_memcpy): This.
49203 (memcpy): Provide GLIBC_2_14 memcpy.
49204 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49205 (memcpy): Provide GLIBC_2_2_5 memcpy.
49206
8593482f
UD
492072011-04-01 Ulrich Drepper <drepper@gmail.com>
49208
49209 [BZ #12631]
49210 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49211
81a5726b
AS
492122011-03-30 Andreas Schwab <schwab@redhat.com>
49213
49214 * misc/syncfs.c: New file.
49215 * misc/Makefile (routines): Add syncfs.
49216 * posix/unistd.h: Declare syncfs.
49217 * sysdeps/unix/syscalls.list: Add syncfs.
49218
00e5419f
AS
492192011-04-01 Andreas Schwab <schwab@redhat.com>
49220
49221 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49222 open_by_handle_at.
49223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49226 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49228 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49230
748876bf
UD
492312011-04-01 Ulrich Drepper <drepper@gmail.com>
49232
658e451d
UD
49233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49235 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49240
748876bf
UD
49241 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49242 sync_file_range.c with -fexceptions.
49243 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49244 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49245 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49246 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49247 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49248 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49250 sync_file_range as cancellation point
49251 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49252 now a wrapper around __call_sync_file_range with cancellation handling.
49253 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49254 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49255 function name to __call_sync_file_range.
49256 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49257 Add call_sync_file_range.
748876bf 49258
6e63d5e1
AS
492592011-04-01 Andreas Schwab <schwab@redhat.com>
49260
49261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49262 bits/timex.h.
6e63d5e1 49263
46998f74
UD
492642011-04-01 Ulrich Drepper <drepper@gmail.com>
49265
4c1423ed
UD
49266 * iconv/iconv.h: Fix typo in comment.
49267 * io/fcntl.h: Likewise.
49268 * libio/stdio.h: Likewise.
49269 * posix/spawn.h: Likewise.
49270 * posix/unistd.h: Likewise.
49271 * stdlib/stdlib.h: Likewise.
49272 * time/time.h: Likewise.
49273 * wcsmbs/wchar.h: Likewise.
49274
158648c0
UD
49275 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49276 open_by_handle): Add.
49277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49278 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49279 Augment a few comments.
49280 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49285 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49286 open_by_handle.
49287
46998f74
UD
49288 * io/fcntl.h (AT_EMPTY_PATH): Define.
49289
83fe108b
UD
492902011-03-30 Ulrich Drepper <drepper@gmail.com>
49291
49292 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49293 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49294 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49295 to...
49296 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
49297 * Versions.def: Add GLIBC_2.14.
49298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49299 Export.
83fe108b 49300
bb242059
UD
493012011-03-22 Ulrich Drepper <drepper@gmail.com>
49302
49303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49304 round counter.
49305 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49306
c97a1282
L
493072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49308
49309 [BZ #12597]
49310 * string/test-strncmp.c (do_page_test): New function.
49311 (check2): Likewise.
49312 (test_main): Call check2.
49313 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49314
2a115601
UD
493152011-03-20 Ulrich Drepper <drepper@gmail.com>
49316
49317 [BZ #12587]
49318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49319 Handle cache information in CPU leaf 4.
49320 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49321
8126d904
UD
493222011-03-18 Ulrich Drepper <drepper@gmail.com>
49323
042c49c6 49324 [BZ #12583]
8126d904
UD
49325 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49326 character representation.
49327 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49328
ccfe366e
RA
493292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49330
49331 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49332 END(__isnan) to END(__isnanf) to match function entry point/label
49333 EALIGN(__isnanf,...).
49334
c6e13027
JJ
493352011-03-10 Jakub Jelinek <jakub@redhat.com>
49336
49337 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49338
33f85a3f
UD
493392011-03-10 Ulrich Drepper <drepper@gmail.com>
49340
028478fa
UD
49341 [BZ #12510]
49342 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49343 copy from the symbol referenced in the relocation to initialize the
49344 used variable.
49345 Patch by Piotr Bury <pbury@goahead.com>.
49346 * elf/Makefile: Add rules to build and tst-unique3.
49347 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49348 * elf/tst-unique3.cc: New file.
49349 * elf/tst-unique3.h: New file.
49350 * elf/tst-unique3lib.cc: New file.
49351 * elf/tst-unique3lib2.cc: New file.
49352
33f85a3f
UD
49353 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49354
03592fc7
MF
493552011-03-10 Mike Frysinger <vapier@gentoo.org>
49356
49357 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49358 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49359 to _start.
03592fc7 49360
6a5ee102
UD
493612011-03-06 Ulrich Drepper <drepper@gmail.com>
49362
49363 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49364 to-be-loaded object along a path to loader is ld.so.
49365
7e4ba49c
HJ
493662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49367 Ulrich Drepper <drepper@gmail.com>
49368
49369 * sysdeps/x86_64/memset.S: After aligning destination, code
49370 branches to different locations depending on the value of
49371 misalignment, when multiarch is enabled. Fix this.
49372
493732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49374
49375 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49376 Set _x86_64_preferred_memory_instruction for AMD processsors.
49377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49378 Set bit_Prefer_SSE_for_memop for AMD processors.
49379
13a804de
UD
493802011-03-04 Ulrich Drepper <drepper@gmail.com>
49381
49382 * libio/fmemopen.c (fmemopen): Optimize a bit.
49383
9d25c392
AS
493842011-03-03 Andreas Schwab <schwab@redhat.com>
49385
49386 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49387
a5543c6a
RM
493882011-03-03 Roland McGrath <roland@redhat.com>
49389
49390 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49391
012d35f7
DM
493922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49393
7e4ba49c 49394 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
49395 __bzero_ultra1 instead of __memset_ultra1.
49396
4bff6e01
AS
493972011-02-23 Andreas Schwab <schwab@redhat.com>
49398 Ulrich Drepper <drepper@gmail.com>
49399
49400 [BZ #12509]
49401 * include/link.h (struct link_map): Add l_orig_initfini.
49402 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49403 returning unsuccessfully.
49404 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49405 close of a file loaded at startup, restore the original l_initfini
49406 list.
49407 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49408 list, store the pointer.
49409 * elf/Makefile ($(objpfx)noload-mem): New rule.
49410 (noload-ENV): Define.
49411 (tests): Add $(objpfx)noload-mem.
49412 * elf/noload.c: Include <memcheck.h>.
49413 (main): Call mtrace. Close all opened handles.
49414
f2092faf
AS
494152011-02-17 Andreas Schwab <schwab@redhat.com>
49416
49417 [BZ #12454]
49418 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49419 dependencies are missing.
49420
6c8a2e88
ST
494212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49422
f2092faf 49423 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
49424 Hurd needs munmap.
49425 * sysdeps/mach/hurd/ifreq.h: New file.
49426
84a42118
PB
494272011-01-27 Petr Baudis <pasky@suse.cz>
49428 Ulrich Drepper <drepper@gmail.com>
49429
071f805e 49430 [BZ 12445]#
84a42118
PB
49431 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49432 to extend_alloca().
49433 * stdio-common/bug23.c: New file.
49434 * stdio-common/Makefile (tests): Add bug23.
49435
e23fe25b
AS
494362010-09-28 Andreas Schwab <schwab@redhat.com>
49437 Ulrich Drepper <drepper@gmail.com>
49438
49439 [BZ #12489]
49440 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49441 before performing relro protection. At old place add assertion
49442 to make sure nothing changed.
49443
d3f02e10
NS
494442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49445 Glauber de Oliveira Costa <glommer@gmail.com>
49446
49447 * elf/elf.h: Add new ARM TLS relocs.
49448
d55fd7a5
RA
494492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49450
49451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49452 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49453 cast from r3.
49454 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49455 'tests' variable.
49456 * sysdeps/wordsize-64/tst-writev.c: New file.
49457
2206397e
RA
494582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49459
49460 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49461 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49462 insns in _dl_start to prevent a TOC reference before relocs are
49463 resolved.
49464
e9433893
UD
494652011-02-15 Ulrich Drepper <drepper@gmail.com>
49466
49467 [BZ #12469]
49468 * Makeconfig: Remove RANLIB definition.
49469 * Makerules: Don't use RANLIB.
49470 * aclocal.m4: Remove ranlib test.
49471 * configure.in: No need to check for ranlib.
49472 * elf/rtld-Rules: Don't use RANLIB.
49473
f75286c6
ST
494742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49475
8e31c82d
ST
49476 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49477 protection macro.
49478 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49479 inclusion protection macro.
49480
f75286c6
ST
49481 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49482 SIGRTMIN and SIGRTMAX and print information in that case only when
49483 SIGRTMIN is defined.
49484
c1d0e639
JJ
494852011-02-11 Jakub Jelinek <jakub@redhat.com>
49486
49487 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49488 arginfo fn returning -1.
49489
49490 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49491 and thousands string is zero terminated.
49492
edf9294e
AS
494932011-02-03 Andreas Schwab <schwab@redhat.com>
49494
49495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49496 sysdeps/unix/sysv/linux/bits/socket.h.
49497
2b7e92df
ST
494982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49499
edf9294e
AS
49500 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49501 (__CPU_COUNT): Remove old macros.
49502 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49503 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49504 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
49505 (__sched_cpualloc, __sched_cpufree): Add declarations.
49506
a4c7ea7b
UD
495072011-02-05 Ulrich Drepper <drepper@gmail.com>
49508
49509 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49510 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49511 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49512 (readdhstai): Return value of addhstaiX call.
49513 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49514 (addgrbyX): Return value returned by cache_addgr.
49515 (readdgrbyname): Return value returned by addgrbyX.
49516 (readdgrbygid): Likewise.
49517 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49518 (addpwbyX): Return value returned by cache_addpw.
49519 (readdpwbyname): Return value returned by addhstbyX.
49520 (readdpwbyuid): Likewise.
49521 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49522 (addservbyX): Return value returned by cache_addserv.
49523 (readdservbyname): Return value returned by addservbyX:
49524 (readdservbyport): Likewise.
49525 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49526 (addhstbyX): Return value returned by cache_addhst.
49527 (readdhstbyname): Return value returned by addhstbyX.
49528 (readdhstbyaddr): Likewise.
49529 (readdhstbynamev6): Likewise.
49530 (readdhstbyaddrv6): Likewise.
49531 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49532 (readdinitgroups): Return value returned by addinitgroupsX.
49533 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49534 (prune_cache): Keep track of timeout value of re-added entries.
49535 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49536 * nscd/nscd.h: Adjust prototypes of readd* functions.
49537
a0bf67cc
RM
495382011-02-04 Roland McGrath <roland@redhat.com>
49539
49540 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49541 (nis_stats): Likewise.
49542 * nis/nis_modify.c (nis_modify): Likewise.
49543 * nis/nis_remove.c (nis_remove): Likewise.
49544 * nis/nis_add.c (nis_add): Likewise.
49545
49546 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49547
49548 * posix/fnmatch_loop.c: Add some consts.
49549
49550 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49551
435b95eb
L
495522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49553
49554 [BZ #12460]
49555 * config.make.in (config-cflags-novzeroupper): Define.
49556 * configure.in: Substitute libc_cv_cc_novzeroupper.
49557 * elf/Makefile (AVX-CFLAGS): Define.
49558 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49559 (CFLAGS-tst-auditmod4a.c): Likewise.
49560 (CFLAGS-tst-auditmod4b.c): Likewise.
49561 (CFLAGS-tst-auditmod6b.c): Likewise.
49562 (CFLAGS-tst-auditmod6c.c): Likewise.
49563 (CFLAGS-tst-auditmod7b.c): Likewise.
49564 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49565
8517b15e
UD
495662011-02-02 Ulrich Drepper <drepper@gmail.com>
49567
49568 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49569 function to the callback.
49570 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49571
10a656fe
AS
495722011-02-02 Andreas Schwab <schwab@redhat.com>
49573
49574 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49575 of errno.
49576
968dad0a
UD
495772011-01-19 Ulrich Drepper <drepper@gmail.com>
49578
9f94d2ea 49579 [BZ #11724]
968dad0a
UD
49580 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49581 of constructors.
49582 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49583 of destructors.
49584 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49585
49586 [BZ #11724]
49587 * elf/Makefile: Add rules to build and run new test.
49588 * elf/tst-initorder.c: New file.
49589 * elf/tst-initorder.exp: New file.
49590 * elf/tst-initordera1.c: New file.
49591 * elf/tst-initordera2.c: New file.
49592 * elf/tst-initordera3.c: New file.
49593 * elf/tst-initordera4.c: New file.
49594 * elf/tst-initorderb1.c: New file.
49595 * elf/tst-initorderb2.c: New file.
49596 * elf/tst-order-a1.c: New file.
49597 * elf/tst-order-a2.c: New file.
49598 * elf/tst-order-a3.c: New file.
49599 * elf/tst-order-a4.c: New file.
49600 * elf/tst-order-b1.c: New file.
49601 * elf/tst-order-b2.c: New file.
49602 * elf/tst-order-main.c: New file.
49603 New test case by George Gensure <werkt0@gmail.com>.
49604
86e92359
UD
496052010-10-01 Andreas Schwab <schwab@redhat.com>
49606
49607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49608 decoding ACE if AI_CANONIDN.
49609
5d5732b0
UD
496102011-01-18 Ulrich Drepper <drepper@gmail.com>
49611
49612 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49613
a77e8cbc
UD
496142011-01-17 Ulrich Drepper <drepper@gmail.com>
49615
6392473f
UD
49616 * version.h (RELEASE): Bump for 2.13 release.
49617 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49618
620a0529
UD
49619 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49620
18ba70a5
UD
49621 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49622 MADV_NOHUGEPAGE.
32465c3e
UD
49623 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49624 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49629
c0dafcf1
UD
49630 * posix/getconf.c: Update copyright year.
49631 * catgets/gencat.c: Likewise.
49632 * csu/version.c: Likewise.
49633 * debug/catchsegv.sh: Likewise.
49634 * debug/xtrace.sh: Likewise.
49635 * elf/ldconfig.c: Likewise.
49636 * elf/ldd.bash.in: Likewise.
49637 * elf/sprof.c (print_version): Likewise.
49638 * iconv/iconv_prog.c: Likewise.
49639 * iconv/iconvconfig.c: Likewise.
49640 * locale/programs/locale.c: Likewise.
49641 * locale/programs/localedef.c: Likewise.
49642 * malloc/memusage.sh: Likewise.
49643 * malloc/mtrace.pl: Likewise.
49644 * nscd/nscd.c (print_version): Likewise.
49645 * nss/getent.c: Likewise.
49646
a77e8cbc
UD
49647 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49648 PF_CAIF, and PF_ALG.
49649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49650
77e8bddf
AS
496512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49652
1f20b93a
AS
49653 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49654 (modules-names): Use them.
49655 (ifunc-test-modules, ifunc-pie-tests): Define.
49656 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49657 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49658 (test-extras): Likewise.
49659 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49660 $(compile-command.c).
49661 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49662 (all-built-dso): Define.
49663 (check-textrel.out, check-execstack.out): Depend on it.
49664
77e8bddf
AS
49665 * configure.in: Don't override --enable-multi-arch.
49666
bc425b33
UD
496672011-01-15 Ulrich Drepper <drepper@gmail.com>
49668
49669 [BZ #6812]
49670 * nscd/hstcache.c (tryagain): Define.
49671 (cache_addhst): Return tryagain not notfound for temporary errors.
49672 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49673 failed.
49674
794c3ad3
UD
496752011-01-14 Ulrich Drepper <drepper@gmail.com>
49676
70181fdd
UD
49677 [BZ #10563]
49678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49679 to make the syscall.
49680 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49681
794c3ad3
UD
49682 [BZ #12378]
49683 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49684 and fall back to matching as normal character if the string ends before
49685 the matching ']' is found. This is what POSIX requires.
49686 * posix/testfnm.c: Adjust test result.
49687 * posix/globtest.sh: Adjust test result. Add new test.
49688 * posix/tst-fnmatch.input: Likewise.
49689 * posix/tst-fnmatch2.c: Add new test.
49690
68dc9497
AS
496912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49692
49693 * elf/Makefile (check-execstack): Revert last change. Depend on
49694 check-execstack.h.
49695 (check-execstack.h): New target.
49696 (generated): Add check-execstack.h.
49697 * elf/check-execstack.c: Include "check-execstack.h".
49698 (main): Revert last change.
49699 (handle_file): Return zero if GNU_STACK is absent and
49700 DEFAULT_STACK_PERMS doesn't include PF_X.
49701
451f001b
UD
497022011-01-13 Ulrich Drepper <drepper@gmail.com>
49703
cfa28e56
UD
49704 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49705 in child fails because the descriptor is already closed.
8cf8ce17
UD
49706 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49707 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49708 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 49709
1086d70d
UD
49710 [BZ #12397]
49711 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49712 syscall.
49713
451f001b
UD
49714 [BZ #10484]
49715 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49716 temporary buffer used to handle multi lookups locally.
a85b5cb4 49717 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 49718
08769175
UD
497192011-01-12 Ulrich Drepper <drepper@gmail.com>
49720
49721 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49722 loader is ld.so.
49723
5e49c52e
UD
497242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49725
49726 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49727 alignment for SSE2.
49728
60522a5f
UD
497292011-01-12 Ulrich Drepper <drepper@gmail.com>
49730
49731 [BZ #12394]
49732 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49733 characters. When rounding increased number of integer digits recompute
49734 number of groups.
49735 * stdio-common/tst-grouping.c: New file.
49736 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49737
f257bbd7
UD
497382011-01-09 Ulrich Drepper <drepper@gmail.com>
49739
49740 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49741 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49742
49743 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49744 void.
49745 * bits/select.h: Likewise.
49746
fa9c15cb
UD
497472011-01-08 Ulrich Drepper <drepper@gmail.com>
49748
49749 * po/ja.po: Update from translation team.
49750
16c2895f
DM
497512011-01-04 David S. Miller <davem@sunset.davemloft.net>
49752
49753 [BZ #11155]
49754 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49755 implementation just like for lxstat, fxstatat, et al.
49756
2543fef2
JM
497572010-12-27 Jim Meyering <meyering@redhat.com>
49758
49759 [BZ #12348]
49760 * posix/regexec.c (build_trtable): Return failure indication upon
49761 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49762
98727dbe
UD
497632010-12-25 Ulrich Drepper <drepper@gmail.com>
49764
5bd6dc5c
UD
49765 [BZ #12201]
49766 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49767 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49768 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49769 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49770
97983464
UD
49771 [BZ #12207]
49772 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49773
98727dbe
UD
49774 [BZ #12204]
49775 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49776 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49777
4a531bb0
L
497782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49779
49780 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49781 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49782 script has SORT_BY_INIT_PRIORITY.
49783 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49784 NO_CTORS_DTORS_SECTIONS is defined.
49785 * elf/soinit.c: Likewise.
49786 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49787 NO_CTORS_DTORS_SECTIONS is defined.
49788 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49789 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49790 * sysdeps/sh/init-first.c: Likewise.
49791 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49792
07eb4b71
UD
497932010-12-24 Ulrich Drepper <drepper@gmail.com>
49794
49795 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49796 always use the slow path.
49797
30950a5f
RA
497982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49799
49800 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49801 similar rule which adds the sysdep directories to the header search in
49802 order to pick up the correct platform stackinfo.h.
49803 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49804 perform test if it is, otherwise return successfully without testing.
49805 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49806 DEFAULT_STACK_PERMS define in stackinfo.h.
49807 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49808 defined in stackinfo.h.
49809 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49810 DEFAULT_STACK_PERMS defined in stackinfo.h.
49811 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49812 * sysdeps/ia64/stackinfo.h: Likewise.
49813 * sysdeps/s390/stackinfo.h: Likewise.
49814 * sysdeps/sh/stackinfo.h: Likewise.
49815 * sysdeps/sparc/stackinfo.h: Likewise.
49816 * sysdeps/x86_64/stackinfo.h: Likewise.
49817 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49818 PF_X for powerpc64. Retain PF_X for powerpc32.
49819
db753e2c
UD
498202010-12-19 Ulrich Drepper <drepper@gmail.com>
49821
14b697f7
UD
49822 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49823 accurately.
db753e2c
UD
49824 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49825 GETDENTS_64BIT_ALIGNED.
49826
28300719
UD
498272010-12-14 Ulrich Drepper <dreper@gmail.com>
49828
14b697f7 49829 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 49830
4f197237
AS
498312010-12-10 Andreas Schwab <schwab@redhat.com>
49832
dbb0472f
AS
49833 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49834 _GNU_SOURCE.
49835
4f197237
AS
49836 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49837 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49838 Remove __restrict.
49839 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49840 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49841
fb88ac72
UD
498422010-12-09 Ulrich Drepper <drepper@gmail.com>
49843
49844 [BZ #11655]
49845 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49846 are initialized.
49847
42acbb92
JJ
498482010-12-09 Jakub Jelinek <jakub@redhat.com>
49849
49850 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49851
c038d98d
UD
498522010-12-03 Ulrich Drepper <drepper@gmail.com>
49853
49854 * po/it.po: Update from translation team.
49855
3a4a2499
L
498562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49857
49858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49859 unused codes.
49860
1e24cf6e
UD
498612010-11-30 Ulrich Drepper <drepper@gmail.com>
49862
49863 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49864
a7690819
AS
498652010-11-24 Andreas Schwab <schwab@redhat.com>
49866
49867 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49868 specially.
49869 (gaih_getanswer_slice): Likewise.
49870
3bf8d1b1
JJ
498712010-10-20 Jakub Jelinek <jakub@redhat.com>
49872
49873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49874
6db52fbb
PB
498752010-05-31 Petr Baudis <pasky@suse.cz>
49876
49877 [BZ #11149]
49878 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49879 silently even in the chroot mode.
49880
eaca7569
UD
498812010-11-22 Ulrich Drepper <drepper@gmail.com>
49882
49883 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49884 last patch a bit. Pretty printing
49885
3056dcdb
UD
498862010-05-31 Petr Baudis <pasky@suse.cz>
49887
49888 [BZ #10085]
49889 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49890 initialization of skip_initgroups_dyn.
49891
cf7c9078
UD
498922010-11-19 Ulrich Drepper <drepper@gmail.com>
49893
49894 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49896
a1fb5e3e
UD
498972010-11-16 Ulrich Drepper <drepper@gmail.com>
49898
49899 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49900
3540d66b
AS
499012010-11-11 Andreas Schwab <schwab@redhat.com>
49902
49903 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49904 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49905 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49906 ($(objpfx)tst-fnmatch-mem): New rule.
49907 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49908 * posix/tst-fnmatch.c (main): Call mtrace.
49909
13b69574
L
499102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49911
49912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49913 Support Intel processor model 6 and model 0x2c.
49914
da93d214
LM
499152010-11-10 Luis Machado <luisgpm@br.ibm.com>
49916
49917 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49918 signed comparison.
49919
8ca52c6e
L
499202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49921
49922 [BZ #12205]
49923 * string/test-strncasecmp.c (check_result): New function.
49924 (do_one_test): Use it.
49925 (check1): New function.
49926 (test_main): Use it.
49927 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49928 Support strcasecmp and strncasecmp.
49929
69da074d
UD
499302010-11-08 Ulrich Drepper <drepper@gmail.com>
49931
49932 [BZ #12194]
49933 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49935
ff02d528
L
499362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49937
49938 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49939 IFUNC support.
49940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49941 memset-x86-64.
49942 * sysdeps/x86_64/multiarch/bzero.S: New file.
49943 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49944 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49945 * sysdeps/x86_64/multiarch/memset.S: New file.
49946 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49948 Set bit_Prefer_SSE_for_memop for Intel processors.
49949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49950 Define.
49951 (index_Prefer_SSE_for_memop): Define.
49952 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49953
344d0b54
LM
499542010-11-04 Luis Machado <luisgpm@br.ibm.com>
49955
49956 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49957 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49958
c0dde15b
UD
499592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49960
49961 [BZ #12191]
49962 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49963 (__x86_64_raw_data_cache_size_half): Likewise.
49964 (__x86_64_raw_shared_cache_size): Likewise.
49965 (__x86_64_raw_shared_cache_size_half): Likewise.
49966
49967 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49968 (__x86_64_raw_data_cache_size_half): Likewise.
49969 (__x86_64_raw_shared_cache_size): Likewise.
49970 (__x86_64_raw_shared_cache_size_half): Likewise.
49971 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49972 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49973 and __x86_64_raw_shared_cache_size_half. Round
49974 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49975 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49976 to multiple of 256 bytes.
49977
0e516e0e
MS
499782010-11-03 Ulrich Drepper <drepper@gmail.com>
49979
49980 [BZ #12167]
49981 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49982 of inacessible symlinks. Verify result of symlink before returning it.
49983 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49984 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49985
0e012e87
ER
499862010-10-28 Erich Ritz <erichritz@gmail.com>
49987
49988 * math/math.h (isinf): Fix typo in comment.
49989
de0ff7bc
UD
499902010-11-01 Ulrich Drepper <drepper@gmail.com>
49991
49992 * po/da.po: Update from translation team.
49993
fa41c84d
UD
499942010-10-26 Ulrich Drepper <drepper@gmail.com>
49995
49996 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49997 is added to the list.
49998
f0967738
AK
499992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50000 Ulrich Drepper <drepper@gmail.com>
50001
50002 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50003 the global list here. Move code to...
50004 (_dl_add_to_namespace_list): ...here. New function.
50005 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50006 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50007 * elf/dl-load.c (lose): Don't remove the element from the list.
50008 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50009 (_dl_map_object): Likewise.
50010
500112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50012
50013 [BZ #12159]
50014 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50015 into all bytes of SSE register.
50016 Patch by Richard Li <richardpku@gmail.com>.
50017
f0967738 500182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50019
50020 [BZ #12140]
50021 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50022 perturbing.
50023
d0b9e94f
MB
500242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50025
50026 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50027 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50028 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50029 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50031 submachine.
50032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50033
8e9f92e9
AS
500342010-10-22 Andreas Schwab <schwab@redhat.com>
50035
50036 * include/dlfcn.h (__RTLD_SECURE): Define.
50037 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50038 mode & __RTLD_SECURE instead.
50039 (open_path): Rename preloaded parameter to secure.
50040 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50041 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50042 * elf/dl-deps.c (openaux): Likewise.
50043 * elf/rtld.c (struct map_args): Remove is_preloaded.
50044 (map_doit): Don't use it.
50045 (dl_main): Likewise.
50046 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50047 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50048
bc96fbda
AS
500492010-09-09 Andreas Schwab <schwab@redhat.com>
50050
50051 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50052 (sysd-rules-targets): Remove duplicates.
50053 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50054 rtld-%.$o dependency.
50055
22cd1c9b
AS
500562010-10-18 Andreas Schwab <schwab@redhat.com>
50057
50058 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50059 _dl_map_object do it.
50060
18edac48
UD
500612010-10-19 Ulrich Drepper <drepper@gmail.com>
50062
50063 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50064 fast fma builtins, define the macros in the C99 standard.
50065 (FP_FAST_FMAF): Likewise.
50066 (FP_FAST_FMAL): Likewise.
50067 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50068
50069 * bits/mathdef.h: Update copyright year.
50070 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50071
d2050124
MM
500722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50073
50074 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50075 builtins, define the macros in the C99 standard.
50076 (FP_FAST_FMAF): Likewise.
50077 (FP_FAST_FMAL): Likewise.
50078 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50079 multiply/add.
50080 (FP_FAST_FMAF): Likewise.
50081
475facd1
JJ
500822010-10-15 Jakub Jelinek <jakub@redhat.com>
50083
50084 [BZ #3268]
50085 * math/libm-test.inc (fma_test): Some new testcases.
50086 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50088 y and infinite z. Do multiplication by C already in long double.
50089 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50091 y and infinite z. Do bitwise or of inexact bit into u.d.
50092 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50093 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50094 * sysdeps/i386/fpu/s_fma.S: Removed.
50095 * sysdeps/i386/fpu/s_fmal.S: Removed.
50096
7c08a05c
JJ
500972010-10-16 Jakub Jelinek <jakub@redhat.com>
50098
50099 [BZ #3268]
50100 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50102 computation is not scheduled after fetestexcept. Fix value
50103 of minimum denormal long double.
50104
f3f7372d
JJ
501052010-10-14 Jakub Jelinek <jakub@redhat.com>
50106
50107 [BZ #3268]
50108 * math/libm-test.inc (fma_test): Add some more tests.
50109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50110 correctly.
50111
14d43591
AS
501122010-10-15 Andreas Schwab <schwab@redhat.com>
50113
50114 * scripts/data/localplt-s390-linux-gnu.data: New file.
50115 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50116
5e908464
JJ
501172010-10-13 Jakub Jelinek <jakub@redhat.com>
50118
50119 [BZ #3268]
50120 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50121 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50122 instead of dbl-64.
50123 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50124 inlines.
50125 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50127 if one of x and y is very large and the other is subnormal.
50128 * sysdeps/s390/fpu/s_fmaf.c: New file.
50129 * sysdeps/s390/fpu/s_fma.c: New file.
50130 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50131 * sysdeps/powerpc/fpu/s_fma.S: New file.
50132 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50133 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50134 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50135
501362010-10-12 Jakub Jelinek <jakub@redhat.com>
50137
50138 [BZ #3268]
50139 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50140 fma tests.
50141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50142 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50143 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50144 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50145 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50146 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50147 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50148
b833d51f
UD
501492010-10-12 Ulrich Drepper <drepper@redhat.com>
50150
50151 [BZ #12078]
50152 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50153 * posix/bug-regex31.input: Add test case.
50154
1751705d
UD
501552010-10-11 Ulrich Drepper <drepper@gmail.com>
50156
e9b9cbf5
UD
50157 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50158 * posix/bug-regex31.input: New file.
50159
50160 [BZ #12078]
50161 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50162 (parse_sub_exp): Fix last change, use postorder.
50163
ef06edbe
UD
50164 * posix/bug-regex31.c: New file.
50165 * posix/Makefile: Add rules to build and run bug-regex31.
50166
a129c80d
UD
50167 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50168
50169 [BZ #12078]
50170 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50171
b76b818e
UD
50172 [BZ #12108]
50173 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50174 to have entries in sys_siglist.
50175
1751705d
UD
50176 [BZ #12093]
50177 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50178 be NULL.
50179
9ff8d36f
JJ
501802010-10-07 Jakub Jelinek <jakub@redhat.com>
50181
50182 [BZ #3268]
50183 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50184 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50185 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50186 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50187 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50188 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50189 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50190 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50191 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50192 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50193 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50194 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50195 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50196 * math/ftestexcept.c (fetestexcept): Likewise.
50197 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50198 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50199 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50200 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50201 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50202 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50203 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50204
af325969
UD
502052010-10-11 Ulrich Drepper <drepper@gmail.com>
50206
c579b202 50207 [BZ #12107]
af325969
UD
50208 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50209 newline.
50210
67a67b95
UD
502112010-10-06 Ulrich Drepper <drepper@gmail.com>
50212
50213 * string/bug-strstr1.c: New file.
50214 * string/Makefile: Add rules to build and run bug-strstr1.
50215
5fb308bc
EB
502162010-10-05 Eric Blake <eblake@redhat.com>
50217
50218 [BZ #12092]
50219 * string/str-two-way.h (two_way_long_needle): Always clear memory
50220 when skipping input due to the shift table.
50221
45db99c7
UD
502222010-10-03 Ulrich Drepper <drepper@gmail.com>
50223
3b111893
UD
50224 [BZ #12005]
50225 * malloc/mcheck.c: Handle large requests.
50226
45db99c7
UD
50227 [BZ #12077]
50228 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50229 for strncmp and strncasecmp.
50230 * string/stratcliff.c: Add tests for strcmp and strncmp.
50231 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50232
cf7a1eb8
NI
502332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50234
50235 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50236 __set_fpscr.
50237
6484ba5e
AJ
502382010-09-30 Andreas Jaeger <aj@suse.de>
50239
50240 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50241 (CGROUP_SUPER_MAGIC): Define.
50242 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50243 Handle btrfs and cgroup file systems.
50244 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50245 Likewise.
50246
91c42559
LM
502472010-09-27 Luis Machado <luisgpm@br.ibm.com>
50248
50249 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50250 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50251
87a97932
AK
502522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50253
50254 [BZ #12067]
50255 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50256 trying to locate the ELF header.
50257
c21cc9bc
AS
502582010-09-27 Andreas Schwab <schwab@redhat.com>
50259
50260 [BZ #11611]
50261 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50262 Mask out sign-bit copies when constructing f_fsid.
50263
315970f6
PB
502642010-09-24 Petr Baudis <pasky@suse.cz>
50265
50266 * debug/stack_chk_fail_local.c: Add missing licence exception.
50267 * debug/warning-nop.c: Likewise.
50268
1ac7a2c7
JM
502692010-09-15 Joseph Myers <joseph@codesourcery.com>
50270
50271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50272 implementing getdents64 using getdents syscall, set d_type if
50273 __ASSUME_GETDENTS32_D_TYPE.
50274
56801c50
AS
502752010-09-16 Andreas Schwab <schwab@redhat.com>
50276
50277 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50278 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50279
dda51327
UD
502802010-09-21 Ulrich Drepper <drepper@redhat.com>
50281
50282 [BZ #12037]
50283 * posix/unistd.h: Undo change of feature selection for ftruncate from
50284 2010-01-11.
50285
8ffcee4a
UD
502862010-09-20 Ulrich Drepper <drepper@redhat.com>
50287
a545ecd9 50288 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50289 detection.
50290
e24f0a8b
AS
502912010-09-20 Andreas Schwab <schwab@redhat.com>
50292
50293 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50294 fanotify_mark.
50295 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50296
7291c56f
AS
502972010-09-14 Andreas Schwab <schwab@redhat.com>
50298
50299 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50300 variables after CHECK_SP call.
50301 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50302
bc5fb037
AS
503032010-09-13 Andreas Schwab <schwab@redhat.com>
50304 Ulrich Drepper <drepper@redhat.com>
50305
50306 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50307 re-relocationg ld.so.
50308 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50309 _dl_init_paths call.
50310 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50311 here anymore.
50312
e66e7419
UD
503132010-09-14 Ulrich Drepper <drepper@redhat.com>
50314
50315 * resolv/res_init.c (__res_vinit): Count the default server we added.
50316
c044aa75
CLT
503172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50318 Ulrich Drepper <drepper@redhat.com>
50319
50320 [BZ #11968]
50321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50322 (____longjmp_chk): Use %ebx for saving value across system call.
50323 Add unwind info.
50324
32cf4069
AS
503252010-09-06 Andreas Schwab <schwab@redhat.com>
50326
50327 * manual/Makefile: Don't mix pattern rules with normal rules.
50328
817328ee
AS
503292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50330
50331 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50332 operation.
50333 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50334 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50335 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50336 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50338 Likewise.
50339
29fddf61
UD
503402010-09-04 Ulrich Drepper <drepper@redhat.com>
50341
50342 [BZ #11979]
50343 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50344 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50345
0959ffc9
UD
503462010-09-02 Ulrich Drepper <drepper@redhat.com>
50347
50348 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50349 * sysdeps/x86_64/addmul_1.S: Likewise.
50350 * sysdeps/x86_64/lshift.S: Likewise.
50351 * sysdeps/x86_64/mul_1.S: Likewise.
50352 * sysdeps/x86_64/rshift.S: Likewise.
50353 * sysdeps/x86_64/sub_n.S: Likewise.
50354 * sysdeps/x86_64/submul_1.S: Likewise.
50355
ece29840
ST
503562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50357
0959ffc9
UD
50358 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50359 Define __sched_param instead of SCHED_* and sched_param when
ece29840 50360 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 50361 * bits/sched.h [__need_schedparam]
ece29840 50362 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
50363 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50364 (__defined_schedparam): Define to 1.
ece29840
ST
50365 (__sched_param): New structure, identical to sched_param.
50366 (__need_schedparam): Undefine.
50367
e53a31fe
MF
503682010-08-31 Mike Frysinger <vapier@gentoo.org>
50369
fdc0c10d
MF
50370 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50371 (epoll_create1): Declare.
50372
e53a31fe
MF
50373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50374
a726d796
AS
503752010-08-31 Andreas Schwab <schwab@redhat.com>
50376
50377 [BZ #7066]
50378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50379 shifting retval into place.
50380
2f3e3dc7
UD
503812010-09-01 Ulrich Drepper <drepper@redhat.com>
50382
f2933da9
UD
50383 * nis/rpcsvc/nis.h: Update copyright notice.
50384 * nis/rpcsvc/nis.x: Likewise.
50385 * nis/rpcsvc/nis_callback.h: Likewise.
50386 * nis/rpcsvc/nis_callback.x: Likewise.
50387 * nis/rpcsvc/nis_object.x: Likewise.
50388 * nis/rpcsvc/nis_tags.h: Likewise.
50389 * nis/rpcsvc/yp.h: Likewise.
50390 * nis/rpcsvc/yp.x: Likewise.
50391 * nis/rpcsvc/ypupd.h: Likewise.
50392 * nis/yp_xdr.c: Likewise.
50393 * nis/ypupdate_xdr.c: Likewise.
50394
2f3e3dc7
UD
50395 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50396 mainly the body of pmap_getport. Add parameters to specify timeouts.
50397 (pmap_getport): Use __libc_rpc_getport.
50398 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50399 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50400 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50401
f3dcc2f9
AS
504022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50403
50404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50405 fanotify_mark.
50406
6d34eb5b
RM
504072010-08-27 Roland McGrath <roland@redhat.com>
50408
50409 * sysdeps/i386/i686/multiarch/Makefile
50410 (CFLAGS-varshift.c): New variable.
50411
9ea3de11
UD
504122010-08-27 Ulrich Drepper <drepper@redhat.com>
50413
c96d23fc
UD
50414 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50415 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50416
9ea3de11
UD
50417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50418
50419 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50420
623aac7f
L
504212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50422
50423 * sysdeps/x86_64/strlen.S: Unroll the loop.
50424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50425 strlen-sse2 strlen-sse2-bsf.
50426 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50427 __strlen_no_bsf if bit_Slow_BSF is set.
50428 (__strlen_sse42): Removed.
50429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50430 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50431
8b2b7715
RM
504322010-08-25 Roland McGrath <roland@redhat.com>
50433
50434 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50435 * sysdeps/x86_64/multiarch/varshift.c: New file.
50436 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50437 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50438 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50439 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50440
e73015f2
L
504412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50442
50443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50444 strlen-sse2 strlen-sse2-bsf.
50445 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50446 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50447 (__strlen_sse2): Removed.
50448 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50451 bit_Slow_BSF for Atom.
50452 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50453 (index_Slow_BSF): Define.
50454 (HAS_SLOW_BSF): Define.
50455
df24a73e
UD
504562010-08-25 Ulrich Drepper <drepper@redhat.com>
50457
50458 [BZ #10851]
50459 * resolv/res_init.c (__res_vinit): When no server address at all
50460 is given default to loopback.
50461
f2ac4868
RM
504622010-08-24 Roland McGrath <roland@redhat.com>
50463
09055553
RM
50464 * configure.in: Remove config-name.h generation.
50465 * configure: Regenerated.
50466 * config-name.in: File removed.
50467 * scripts/config-uname.sh: New file.
50468 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50469 ($(objdir)config-name.h): New target.
50470
f2ac4868
RM
50471 * sunrpc/rpc_parse.h: Avoid nested comment.
50472
73f27d5e
RH
504732010-08-24 Richard Henderson <rth@redhat.com>
50474 Ulrich Drepper <drepper@redhat.com>
50475 H.J. Lu <hongjiu.lu@intel.com>
50476
50477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50479 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50480 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50481 _mm_alignr_epi8 with _mm_loadu_si128.
50482 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50483 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50484 (__m128i_shift_right): Removed.
50485 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50486 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50487 * sysdeps/x86_64/multiarch/varshift.h: New file.
50488 * sysdeps/x86_64/multiarch/varshift.S: New file.
50489
84b9230c
MF
504902010-08-21 Mike Frysinger <vapier@gentoo.org>
50491
50492 * configure.in: Move assembler checks to before sysdep dir checking.
50493
9bbd0ddc
PB
504942010-08-20 Petr Baudis <pasky@suse.cz>
50495
50496 * LICENSES: Sync the sunrpc license.
50497
9da4bb31
UD
504982010-08-19 Ulrich Drepper <drepper@redhat.com>
50499
a7ab6ec8
UD
50500 * sunrpc/auth_des.c: Update copyright notice once again.
50501 * sunrpc/auth_none.c: Likewise.
50502 * sunrpc/auth_unix.c: Likewise.
50503 * sunrpc/authdes_prot.c: Likewise.
50504 * sunrpc/authuxprot.c: Likewise.
50505 * sunrpc/bindrsvprt.c: Likewise.
50506 * sunrpc/clnt_gen.c: Likewise.
50507 * sunrpc/clnt_perr.c: Likewise.
50508 * sunrpc/clnt_raw.c: Likewise.
50509 * sunrpc/clnt_simp.c: Likewise.
50510 * sunrpc/clnt_tcp.c: Likewise.
50511 * sunrpc/clnt_udp.c: Likewise.
50512 * sunrpc/clnt_unix.c: Likewise.
50513 * sunrpc/des_crypt.c: Likewise.
50514 * sunrpc/des_soft.c: Likewise.
50515 * sunrpc/get_myaddr.c: Likewise.
50516 * sunrpc/getrpcport.c: Likewise.
50517 * sunrpc/key_call.c: Likewise.
50518 * sunrpc/key_prot.c: Likewise.
50519 * sunrpc/openchild.c: Likewise.
50520 * sunrpc/pm_getmaps.c: Likewise.
50521 * sunrpc/pm_getport.c: Likewise.
50522 * sunrpc/pmap_clnt.c: Likewise.
50523 * sunrpc/pmap_prot.c: Likewise.
50524 * sunrpc/pmap_prot2.c: Likewise.
50525 * sunrpc/pmap_rmt.c: Likewise.
50526 * sunrpc/rpc/auth.h: Likewise.
50527 * sunrpc/rpc/auth_unix.h: Likewise.
50528 * sunrpc/rpc/clnt.h: Likewise.
50529 * sunrpc/rpc/des_crypt.h: Likewise.
50530 * sunrpc/rpc/key_prot.h: Likewise.
50531 * sunrpc/rpc/netdb.h: Likewise.
50532 * sunrpc/rpc/pmap_clnt.h: Likewise.
50533 * sunrpc/rpc/pmap_prot.h: Likewise.
50534 * sunrpc/rpc/pmap_rmt.h: Likewise.
50535 * sunrpc/rpc/rpc.h: Likewise.
50536 * sunrpc/rpc/rpc_des.h: Likewise.
50537 * sunrpc/rpc/rpc_msg.h: Likewise.
50538 * sunrpc/rpc/svc.h: Likewise.
50539 * sunrpc/rpc/svc_auth.h: Likewise.
50540 * sunrpc/rpc/types.h: Likewise.
50541 * sunrpc/rpc/xdr.h: Likewise.
50542 * sunrpc/rpc_clntout.c: Likewise.
50543 * sunrpc/rpc_cmsg.c: Likewise.
50544 * sunrpc/rpc_common.c: Likewise.
50545 * sunrpc/rpc_cout.c: Likewise.
50546 * sunrpc/rpc_dtable.c: Likewise.
50547 * sunrpc/rpc_hout.c: Likewise.
50548 * sunrpc/rpc_main.c: Likewise.
50549 * sunrpc/rpc_parse.c: Likewise.
50550 * sunrpc/rpc_parse.h: Likewise.
50551 * sunrpc/rpc_prot.c: Likewise.
50552 * sunrpc/rpc_sample.c: Likewise.
50553 * sunrpc/rpc_scan.c: Likewise.
50554 * sunrpc/rpc_scan.h: Likewise.
50555 * sunrpc/rpc_svcout.c: Likewise.
50556 * sunrpc/rpc_tblout.c: Likewise.
50557 * sunrpc/rpc_util.c: Likewise.
50558 * sunrpc/rpc_util.h: Likewise.
50559 * sunrpc/rpcinfo.c: Likewise.
50560 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50561 * sunrpc/rpcsvc/key_prot.x: Likewise.
50562 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50563 * sunrpc/rpcsvc/mount.x: Likewise.
50564 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50565 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50566 * sunrpc/rpcsvc/rex.x: Likewise.
50567 * sunrpc/rpcsvc/rstat.x: Likewise.
50568 * sunrpc/rpcsvc/rusers.x: Likewise.
50569 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50570 * sunrpc/rpcsvc/spray.x: Likewise.
50571 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50572 * sunrpc/rtime.c: Likewise.
50573 * sunrpc/svc.c: Likewise.
50574 * sunrpc/svc_auth.c: Likewise.
50575 * sunrpc/svc_authux.c: Likewise.
50576 * sunrpc/svc_raw.c: Likewise.
50577 * sunrpc/svc_run.c: Likewise.
50578 * sunrpc/svc_simple.c: Likewise.
50579 * sunrpc/svc_tcp.c: Likewise.
50580 * sunrpc/svc_udp.c: Likewise.
50581 * sunrpc/svc_unix.c: Likewise.
50582 * sunrpc/svcauth_des.c: Likewise.
50583 * sunrpc/xcrypt.c: Likewise.
50584 * sunrpc/xdr.c: Likewise.
50585 * sunrpc/xdr_array.c: Likewise.
50586 * sunrpc/xdr_float.c: Likewise.
50587 * sunrpc/xdr_mem.c: Likewise.
50588 * sunrpc/xdr_rec.c: Likewise.
50589 * sunrpc/xdr_ref.c: Likewise.
50590 * sunrpc/xdr_sizeof.c: Likewise.
50591 * sunrpc/xdr_stdio.c: Likewise.
50592
9da4bb31
UD
50593 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50594 handling.
50595
bdaa77bc
AS
505962010-08-19 Andreas Schwab <schwab@redhat.com>
50597
50598 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50599
fe2f79db
LM
506002010-08-19 Luis Machado <luisgpm@br.ibm.com>
50601
50602 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50604 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50605 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50606 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50607 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50608 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50609 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50610 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50611 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50612 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50614 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50615 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50616
b9b42ee0
AB
506172010-07-26 Anton Blanchard <anton@samba.org>
50618
50619 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50620 * malloc/arena.c (heap_trim): Likewise.
50621
1c06ba31
UD
506222010-08-16 Ulrich Drepper <drepper@redhat.com>
50623
50624 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50625 here. Not...
50626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50627 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50628
f8392f40
L
506292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50630
50631 * sysdeps/i386/elf/Makefile: New file.
50632
3162f12e
AS
506332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50634
50635 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50636 from fanotify_init.
50637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50639
28c90b2c
UD
506402010-08-15 Ulrich Drepper <drepper@redhat.com>
50641
50642 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50643 of strncasecmp_l.
1feccb6c 50644 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 50645
ca6bb004
UD
506462010-08-14 Ulrich Drepper <drepper@redhat.com>
50647
e9f82e0d
UD
50648 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50649 strncase_l-nonascii.
50650 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50651 Add strncase_l-ssse3.
50652 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50653 * sysdeps/x86_64/strcmp.S: Likewise.
50654 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50655 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50656 * sysdeps/x86_64/strncase.S: New file.
50657 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50658 * sysdeps/x86_64/strncase_l.S: New file.
50659 * string/Makefile (strop-tests): Add strncasecmp.
50660 * string/test-strncasecmp.c: New file.
50661
50662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50663 warning.
50664
ca6bb004
UD
50665 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50666 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50667
052fa7b3
AS
506682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50669
50670 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50671
962dba78
UD
506722010-08-12 Ulrich Drepper <drepper@redhat.com>
50673
50674 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50677
bebff237
AM
506782010-05-01 Alan Modra <amodra@gmail.com>
50679
50680 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50681 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50682 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50683 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50684 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50685 tidying. Don't tail-call __sigjmp_save for static lib.
50686 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50687 save location.
50688 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50689 (CALL_MCOUNT): Add eh info, and nop after bl.
50690 (TAIL_CALL_SYSCALL_ERROR): New macro.
50691 (PSEUDO_RET): Use it.
50692 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50693 Correct save location of integer regs and cr.
50694 (_dl_profile_resolve): Correct cr save location. Delete nops
50695 after bl when SHARED. Reduce cfi size a little by better
50696 placement of cfi directives.
50697 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50698 make a stack frame. Instead use parm save area as a temp.
50699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50700 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50702 Don't make a stack frame for parent, use parm save area.
50703 Increase child stack frame to 112 bytes. Don't save unused reg,
50704 and adjust reg usage. Set up cfi on error recovery and
50705 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50707 (__makecontext): Add dummy nop after jump to exit.
50708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50709 Use correct parm save area and cr save, reduce stack frame.
50710 Correct cfi for possible PSEUDO_RET frame setup.
50711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50712 Branch to local label emitted by PSEUDO_RET rather than
50713 __syscall_error.
50714
02637374
AS
507152010-08-12 Andreas Schwab <schwab@redhat.com>
50716
50717 [BZ #11904]
50718 * locale/programs/locale.c (print_assignment): New function.
50719 (show_locale_vars): Use it.
50720
c3e2f19b
UD
507212010-08-11 Ulrich Drepper <drepper@redhat.com>
50722
3cdaa6ad
UD
50723 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50724 field.
50725 (struct statfs64): Likewise.
50726 (_STATFS_F_FLAGS): Define.
50727 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50729 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50730 (ST_VALID): Define locally.
50731 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50732 __statvfs_getflags, use the provided value.
50733 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50734 __ASSUME_STATFS_F_FLAGS.
50735
754f7da3
UD
50736 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50737
10b3bedc
UD
50738 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50739 Add sys/fanotify.h.
50740 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50741 fanotify_mask for GLIBC_2.13.
50742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50743 fanotify_init and fanotify_mark.
50744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50745 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50746
c08fb0d7
UD
50747 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50748 Add prlimit.
50749 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50750 prlimit64 for GLIBC_2.13.
50751 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50752 prlimit64.
50753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50754 syscall.
50755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50757 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50760 add prlimit alias.
50761 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50762
15bac72b
UD
50763 [BZ #11903]
50764 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50765 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50766
c3e2f19b
UD
50767 * nss/Makefile: Add rules to build and run tst-nss-test1.
50768 * shlib-versions: Add entry for libnss_test1.
50769 * nss/nss_test1.c: New file.
50770 * nss/tst-nss-test1.c: New file.
50771
50772 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50773 (__nss_configure_lookup): Set appropriate entry in
50774 __nss_configure_lookup to true.
50775 * nss/nsswitch.h: Define enum with indeces of databases in
50776 databases and __nss_database_custom arrays. Declare
50777 __nss_database_custom.
50778 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50779 to avoid using nscd when custom rules are installed.
50780 * nss/getXXbyYY_r.c: Likewise.
50781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50782
50783 * nss/nss_files/files-parse.c: Whitespace fixes.
50784
f15ce4d8
UD
507852010-08-09 Ulrich Drepper <drepper@redhat.com>
50786
50787 [BZ #11883]
50788 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50789 * posix/fnmatch_loop.c: Likewise.
50790
d22e4cc9
AK
507912010-07-17 Andi Kleen <ak@linux.intel.com>
50792
50793 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50794 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50795 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50796 * Versions.def [GLIBC_2.13]: Add.
50797
805bc17d
UD
507982010-08-06 Ulrich Drepper <drepper@redhat.com>
50799
50800 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50801 Also fail if tpwd after pwuid call is NULL.
50802
5a42321d
ST
508032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50804
50805 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50806 when converting to ms.
50807
fd3ebeda
ST
508082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50809
50810 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50811 EOPNOTSUPP errors with ENOTTY.
50812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50813 EOPNOTSUPP errors with ENOTTY.
50814
73507d3a
UD
508152010-07-31 Ulrich Drepper <drepper@redhat.com>
50816
50817 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50818 Add strcasecmp_l-ssse3.
50819 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50820 strcasecmp.
50821 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50823 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50824
fe36dd02
UD
508252010-07-30 Ulrich Drepper <drepper@redhat.com>
50826
66f6765a
UD
50827 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50828
42e08a54
UD
50829 * string/Makefile (strop-tests): Add strcasecmp.
50830 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50831 strcasecmp_l-nonascii.
50832 (gen-as-const-headers): Add locale-defines.sym.
50833 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50834 * sysdeps/x86_64/strcasecmp.S: New file.
50835 * sysdeps/x86_64/strcasecmp_l.S: New file.
50836 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50837 * sysdeps/x86_64/locale-defines.sym: New file.
50838 * string/test-strcasecmp.c: New file.
50839
fe36dd02
UD
50840 * string/test-strcasestr.c: Test both ends of the range of characters.
50841 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50842
48cbc0d6
RM
508432010-07-29 Roland McGrath <roland@redhat.com>
50844
76e6d6bc 50845 [BZ #11856]
48cbc0d6
RM
50846 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50847
880113d9
UD
508482010-07-27 Ulrich Drepper <drepper@redhat.com>
50849
50850 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50851 for ld.so.
50852
deb9cabb
AS
508532010-07-27 Andreas Schwab <schwab@redhat.com>
50854
50855 * manual/memory.texi (Malloc Tunable Parameters): Document
50856 M_PERTURB.
50857
1c7570ff
RM
508582010-07-26 Roland McGrath <roland@redhat.com>
50859
50860 [BZ #11840]
50861 * configure.in (-fgnu89-inline check): Set and substitute
50862 gnu89_inline, not libc_cv_gnu89_inline.
50863 * configure: Regenerated.
50864 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50865
24fb0f88
UD
508662010-07-26 Ulrich Drepper <drepper@redhat.com>
50867
50868 * string/test-strnlen.c: New file.
50869 * string/Makefile (strop-tests): Add strnlen.
50870 * string/tester.c (test_strnlen): Add a few more test cases.
50871 * string/tst-strlen.c: Better error reporting.
50872
50873 * sysdeps/x86_64/strnlen.S: New file.
50874
8e96b93a
UD
508752010-07-24 Ulrich Drepper <drepper@redhat.com>
50876
50877 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50878 lower-latency instructions.
50879
dbc676d4
UD
508802010-07-23 Ulrich Drepper <drepper@redhat.com>
50881
50882 * string/test-strcasestr.c: New file.
50883 * string/test-strstr.c: New file.
50884 * string/Makefile (strop-tests): Add strstr and strcasestr.
50885 * string/str-two-way.h: Don't undefine MAX.
50886 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50887
f6a31e0e
AS
508882010-07-21 Andreas Schwab <schwab@redhat.com>
50889
50890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50891 strcasestr-nonascii.
50892 (CFLAGS-strcasestr-nonascii.c): Define.
50893 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50894 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50895 Remove unused attribute.
50896
5dbc3b6c
RM
508972010-07-20 Roland McGrath <roland@redhat.com>
50898
50899 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50900 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50901 ld.so.cache was broken. With it, there is no way to disable dsocaps
50902 like LD_HWCAP_MASK can disable hwcaps.
50903
23d101d8
EPM
509042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50905
50906 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50907
cc9f2e47
UD
509082010-07-16 Ulrich Drepper <drepper@redhat.com>
50909
50910 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50911 call in strcasestr.
50912 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50913 __strcasestr_sse42_nonascii.
50914 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50915 strcasestr-nonascii.c.
50916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50917
77c1b069
LM
509182010-06-15 Luis Machado <luisgpm@br.ibm.com>
50919
50920 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50921 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50922 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50923 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50924
440566c3
UD
509252010-07-09 Ulrich Drepper <drepper@redhat.com>
50926
50927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50928 fcntl.
50929
5be9d05d
AS
509302010-07-06 Andreas Schwab <schwab@redhat.com>
50931
c30b7ee2 50932 [BZ #11577]
5be9d05d
AS
50933 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50934 dl_signal_cerror.
50935
8a492a67
UD
509362010-07-06 Ulrich Drepper <drepper@redhat.com>
50937
50938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50939 _PC_PIPE_BUF using F_GETPIPE_SZ.
50940
713df3d5
RM
509412010-07-05 Roland McGrath <roland@redhat.com>
50942
50943 * manual/arith.texi (Rounding Functions): Fix rint description
50944 implicit in round description.
50945
702e8f14
UD
509462010-07-02 Ulrich Drepper <drepper@redhat.com>
50947
50948 * elf/Makefile: Fix linking for a few tests to make recent linker
50949 happy.
50950
52ed8be9
AS
509512010-06-30 Andreas Schwab <schwab@redhat.com>
50952
50953 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50954 $(common-objpfx)libc_nonshared.a.
50955
f47c9a11
LM
509562010-06-21 Luis Machado <luisgpm@br.ibm.com>
50957
50958 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50959 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50960 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50961 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50962 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50963 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50964 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50965 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50980 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50981 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50982 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50983 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50984 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50985 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50986 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50987 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50988 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50989 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50990 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50991 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51006
6fb8cbcb
L
510072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51008
51009 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51010 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51011 * string/memmove.c (memmove): Renamed to ...
51012 (MEMMOVE): ...this. Default to memmove.
51013 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51014 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51015 (END_CHK): Define.
51016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51017 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51018 mempcpy-ssse3-back memmove-ssse3-back.
51019 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51022 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51023 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51024 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51025 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51026 * sysdeps/x86_64/multiarch/memmove.c: New file.
51027 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51028 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51029 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51030 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51031 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51032 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51033 Define.
51034 (index_Fast_Copy_Backward): Define.
51035 (HAS_ARCH_FEATURE): Define.
51036 (HAS_FAST_REP_STRING): Define.
51037 (HAS_FAST_COPY_BACKWARD): Define.
51038
4e733bac 510392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51040
51041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51042 Restore proper fallback handling.
51043
63c4ed22
UD
510442010-06-19 Ulrich Drepper <drepper@redhat.com>
51045
ac2b484c
UD
51046 [BZ #11701]
51047 * posix/group_member.c (__group_member): Correct checking loop.
51048
63c4ed22
UD
51049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51050 OOM in getpwuid_r correctly. Return error number when the caller
51051 should return, otherwise -1.
51052 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51053 call returning > 0 value.
51054 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51055
765ade4b
AS
510562010-06-07 Andreas Schwab <schwab@redhat.com>
51057
51058 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51059 libc_nonshared.a from targets in modules-names.
51060
80da2e09
KS
510612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51062
51063 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51064 requires it.
51065
158db122
LM
510662010-06-10 Luis Machado <luisgpm@br.ibm.com>
51067
51068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51069 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51072
caa78cf8
AS
510732010-06-02 Andreas Schwab <schwab@redhat.com>
51074
51075 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51076
b2ef2c01
UD
510772010-06-14 Ulrich Drepper <drepper@redhat.com>
51078
51079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51080 and F_GETPIPE_SZ.
51081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51087
fbd643b6
RM
510882010-06-14 Roland McGrath <roland@redhat.com>
51089
51090 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51091
f32f2869
JJ
510922010-06-07 Jakub Jelinek <jakub@redhat.com>
51093
51094 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51095 __REDIRECT followed by __THROW.
51096 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51097 * posix/getopt.h (getopt): Likewise.
51098
2a50c078
EPM
510992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51100
51101 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51102 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51103 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51104 in AT_FLAGS.
51105 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51106 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51107
eb5ad2eb
LM
511082010-05-28 Luis Machado <luisgpm@br.ibm.com>
51109
51110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51111
3c88fe1e
L
511122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51113
51114 [BZ #11640]
51115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51116 Properly check family and model.
51117
d2f73151
TY
511182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51119
51120 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51121
ebd2e13d
LM
511222010-05-24 Luis Machado <luisgpm@br.ibm.com>
51123
51124 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51125
b32b8b45
UD
511262010-05-21 Ulrich Drepper <drepper@redhat.com>
51127
51128 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51129 symbol reference.
51130
9acbe24d
AS
511312010-05-19 Andreas Schwab <schwab@redhat.com>
51132
51133 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51134 symbol reference.
51135
f0ccf6ea
AS
511362010-05-21 Andreas Schwab <schwab@redhat.com>
51137
3d04ff3a
AS
51138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51139 and internal_recvmmsg.
51140 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51141 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51142 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51143 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51144
f0ccf6ea
AS
51145 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51146 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51147 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51148
5b08ac57
AS
511492010-05-20 Andreas Schwab <schwab@redhat.com>
51150
51151 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51152
4828935d
LM
511532010-05-17 Luis Machado <luisgpm@br.ibm.com>
51154
51155 POWER7 optimizations.
51156 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51157 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51158
373d545e
UD
511592010-05-19 Ulrich Drepper <drepper@redhat.com>
51160
51161 * version.h: Update for 2.13 development version.
51162
21a2b1ae
AS
511632010-05-12 Andrew Stubbs <ams@codesourcery.com>
51164
51165 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51166 exceptions. Return 0.
51167
3f7dcb2b
RM
511682010-05-07 Roland McGrath <roland@redhat.com>
51169
51170 * elf/ldconfig.c (main): Add a const.
51171
5f24d53a 511722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51173
a160f8d8
UD
51174 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51175 (args_options): Add no-idn option.
51176 (ahosts_keys_int): Add idn_flags to ai_flags.
51177 (parse_option): Handle 'i' option to clear idn_flags.
51178
5f24d53a
UD
51179 * malloc/malloc.c (_int_free): Possible race in the most recently
51180 added check. Only act on the data if no current modification
51181 happened.
265bb1ce
UD
51182
51183See ChangeLog.17 for earlier changes.