]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Make internal lock-init macros return void.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ab49e763
RM
12014-10-20 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/nptl/bits/libc-lock.h
4 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5 (__libc_lock_init_recursive): Return void, not 0.
6 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7 (__libc_rwlock_init): Likewise.
8 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9
f50277c1
TR
102014-10-20 Torvald Riegel <triegel@redhat.com>
11
12 [BZ #15215]
13 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14 (__pthread_once_slow): ... here.
15 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
16 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
17
63668b70
TR
182014-10-20 Torvald Riegel <triegel@redhat.com>
19
20 [BZ #15215]
21 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22 __PTHREAD_ONCE_FORK_GEN_INCR): New.
23 * sysdeps/nptl/fork.c (__libc_fork): Use them.
24 * nptl/pthread_once.c (__pthread_once): Likewise.
25 Update comments.
26
42b7f5d4
JM
272014-10-20 Joseph Myers <joseph@codesourcery.com>
28
29 [BZ #14138]
30 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31 name.
32 (writev): Use __libc_writev as strong name.
33 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34 * sysdeps/unix/sysv/linux/writev.c: Likewise.
35
b0643088
RM
362014-10-17 Roland McGrath <roland@hack.frob.com>
37
114c4e09
RM
38 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39
674b8978
RM
40 * sysdeps/i386/nptl/tls.h
41 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
42 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43 New macros.
44 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
46 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
47 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
48 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
49 Call CHECK_THREAD_SYSINFO instead of doing an assert.
50
184ee940
RM
51 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
52 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
53 on [__NR_futex].
54 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
55 broken out of ...
56 (__pthread_mutex_init): ... here. Call it.
57 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
58 Conditionalize PI cases on [__NR_futex].
59 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
60 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
61 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
62
327ae257
RM
63 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
64 conditional on [SIGSETXID].
65 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
66 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
67 is defined. Likewise for SIGSETXID.
68 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
69 Conditionalize definitions on [SIGSETXID].
70 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
71 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
72 unblocking on [SIGCANCEL].
73
b0643088
RM
74 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
75 [__NR_set_robust_list].
76
33cc770b
SP
772014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
78
79 * string/strcoll_l.c (get_next_seq): Fix up formatting.
80 (do_compare): Likewise.
81
0742aef6
LH
822014-10-17 Leonhard Holz <leonhard.holz@web.de>
83
84 [BZ #15884]
85 * string/strcoll_l.c: Don't include stdio.h.
86 (coll_seq): Remove members idxarr and rulearr.
87 (get_next_seq_cached): Remove function.
88 (get_next_seq): Likewise.
89 (get_next_seq_nocache): Rename to get_next_seq.
90 (do_compare): Remove function.
91 (do_compare_nocache): Rename to do_compare.
92 (STRCOLL): Remove weight and rules cache.
93
ee54ce44
RM
942014-10-16 Roland McGrath <roland@hack.frob.com>
95
96 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
97 * sysdeps/arm/sfp-machine.h: ... to here.
98 * sysdeps/arm/Implies: Remove arm/soft-fp.
99
a75d3b02
JM
1002014-10-14 Joseph Myers <joseph@codesourcery.com>
101
102 * conform/data/sys/utsname.h-data (*_t): Allow.
103 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
104 [POSIX] (WEXITED): Do not expect constant.
105 [POSIX] (WSTOPPED): Likewise.
106 [POSIX] (WNOHANG): Likewise.
107 [POSIX] (WNOWAIT): Likewise.
108 [POSIX] (siginfo_t): Do not expect type or elements.
109 [POSIX] (pid_t): Do not expect type.
110 [POSIX] (signal.h): Do not allow header.
111 [POSIX] (sys/resource.h): Likewise.
112 [POSIX] (si_*): Do not allow pattern.
113 [POSIX] (W*): Likewise.
114 [POSIX] (P_*): Likewise.
115 [POSIX] (BUS_*): Likewise.
116 [POSIX] (CLD_*): Likewise.
117 [POSIX] (FPE_*): Likewise.
118 [POSIX] (ILL_*): Likewise.
119 [POSIX] (POLL_*): Likewise.
120 [POSIX] (SEGV_*): Likewise.
121 [POSIX] (SI_*): Likewise.
122 [POSIX] (TRAP_*): Likewise.
123 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
124 variable.
125
fda389c8
SP
1262014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
127
128 [BZ #12926]
129 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
130 infinite loop when __recvmsg returns 0.
131
6bc6bd3b
JM
1322014-10-10 Joseph Myers <joseph@codesourcery.com>
133
fcb32af1
JM
134 * CANCEL-FCT-WAIVE: Remove file.
135 * CANCEL-FILE-WAIVE: Likewise.
136
6bc6bd3b
JM
137 [BZ #14132]
138 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
139 instead of INTVARDEF.
140 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
141 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
142 rtld_hidden_data_def instead of INTVARDEF.
143 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
144 * elf/dl-deps.c (expand_dst): Likewise.
145 * elf/dl-load.c (_dl_dst_count): Likewise.
146 (_dl_dst_substitute): Likewise.
147 (decompose_rpath): Likewise.
148 (_dl_init_paths): Likewise.
149 (open_path): Likewise.
150 (_dl_map_object): Likewise.
151 * elf/rtld.c (dl_main): Likewise.
152 (process_dl_audit): Likewise.
153 (process_envvars): Likewise.
154 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
155 Remove declaration.
156 (__libc_enable_secure): Use rtld_hidden_proto.
157
b8c80a7e
KS
1582014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
159
160 * elf/dl-load.c
161 (add_path): New function broken out of _dl_rtld_di_serinfo.
162 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
163
ff12c11f
JM
1642014-10-09 Joseph Myers <joseph@codesourcery.com>
165
5c0508a3
JM
166 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
167 parentheses around macro arguments.
168 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
169 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
170 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
171 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
172 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
173 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
174 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
175 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
176 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
177 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
178 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
179 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
180 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
181 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
182 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
183 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
184 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
185 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
186 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
187 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
188 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
189 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
190 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
191 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
192 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
193 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
194 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
195 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
196 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
197 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
198 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
199 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
200 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
201 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
202 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
203 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
204 Likewise.
205 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
206 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
207 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
208 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
209 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
210 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
211 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
212 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
213 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
214 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
215 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
216 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
217 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
219 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
220 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
221 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
223 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
224 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
225 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
226 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
227 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
228 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
229 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
230 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
231 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
232 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
233 (_FP_FRAC_SRS_1): Likewise.
234 (_FP_FRAC_CLZ_1): Likewise.
235 (_FP_MUL_MEAT_1_imm): Likewise.
236 (_FP_MUL_MEAT_1_wide): Likewise.
237 (_FP_MUL_MEAT_1_hard): Likewise.
238 (_FP_SQRT_MEAT_1): Likewise.
239 (_FP_FRAC_ASSEMBLE_1): Likewise.
240 (_FP_FRAC_DISASSEMBLE_1): Likewise.
241 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
242 (__FP_CLZ_2): Likewise.
243 (_FP_MUL_MEAT_2_wide): Likewise.
244 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
245 (_FP_MUL_MEAT_2_gmp): Likewise.
246 (_FP_MUL_MEAT_2_120_240_double): Likewise.
247 (_FP_SQRT_MEAT_2): Likewise.
248 (_FP_FRAC_ASSEMBLE_2): Likewise.
249 (_FP_FRAC_DISASSEMBLE_2): Likewise.
250 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
251 (_FP_FRAC_CLZ_4): Likewise.
252 (_FP_MUL_MEAT_4_wide): Likewise.
253 (_FP_MUL_MEAT_4_gmp): Likewise.
254 (_FP_SQRT_MEAT_4): Likewise.
255 (_FP_FRAC_ASSEMBLE_4): Likewise.
256 (_FP_FRAC_DISASSEMBLE_4): Likewise.
257 * soft-fp/op-common.h (_FP_CMP): Likewise.
258 (_FP_CMP_EQ): Likewise.
259 (_FP_CMP_UNORD): Likewise.
260 (_FP_TO_INT): Likewise.
261 (_FP_FROM_INT): Likewise.
262 [!__FP_CLZ] (__FP_CLZ): Likewise.
263 (_FP_DIV_HELP_imm): Likewise.
264 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
265 Likewise.
266 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
267 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
268 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
269 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
270 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
271 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
272 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
273 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
274 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
275 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
276 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
277 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
278 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
279 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
280 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
281 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
282 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
283 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
284 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
285 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
286 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
287 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
288 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
289 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
290 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
291 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
292 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
293 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
294 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
295 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
296 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
297 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
298 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
299 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
300 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
301 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
302 (FP_UNPACK_RAW_SP): Likewise.
303 (FP_PACK_RAW_S): Likewise.
304 (FP_PACK_RAW_SP): Likewise.
305 (FP_UNPACK_S): Likewise.
306 (FP_UNPACK_SP): Likewise.
307 (FP_UNPACK_SEMIRAW_S): Likewise.
308 (FP_UNPACK_SEMIRAW_SP): Likewise.
309 (FP_PACK_S): Likewise.
310 (FP_PACK_SP): Likewise.
311 (FP_PACK_SEMIRAW_S): Likewise.
312 (FP_PACK_SEMIRAW_SP): Likewise.
313 (_FP_SQRT_MEAT_S): Likewise.
314 (FP_CMP_S): Likewise.
315 (FP_CMP_EQ_S): Likewise.
316 (FP_CMP_UNORD_S): Likewise.
317 (FP_TO_INT_S): Likewise.
318 (FP_FROM_INT_S): Likewise.
319
a736ec37
JM
320 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
321
ff12c11f
JM
322 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
323 (FP_EX_INVALID_IMZ): Likewise.
324 (FP_EX_INVALID_IMZ_FMA): Likewise.
325 (FP_EX_INVALID_ISI): Likewise.
326 (FP_EX_INVALID_ZDZ): Likewise.
327 (FP_EX_INVALID_IDI): Likewise.
328 (FP_EX_INVALID_SQRT): Likewise.
329 (FP_EX_INVALID_CVI): Likewise.
330 (FP_EX_INVALID_VC): Likewise.
331 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
332 "invalid" exceptions.
333 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
334 (_FP_ADD_INTERNAL): Likewise.
335 (_FP_MUL): Likewise.
336 (_FP_FMA): Likewise.
337 (_FP_DIV): Likewise.
338 (_FP_CMP_CHECK_NAN): Likewise.
339 (_FP_SQRT): Likewise.
340 (_FP_TO_INT): Likewise.
341 (FP_EXTEND): Likewise.
342
b6dcfe8c
AM
3432014-10-09 Allan McRae <allan@archlinux.org>
344
345 * po/fr.po: Update French translation from translation project.
346
2d6a47ba
JM
3472014-10-09 Joseph Myers <joseph@codesourcery.com>
348
cb831245
JM
349 [BZ #14132]
350 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
351 of INTDEF.
352 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
353 (__cxa_atexit): Use libc_hidden_proto.
354 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
355
5deeb190
JM
356 [BZ #14132]
357 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
358 declaration.
359 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
360 [!_ISOMAC] (__iswspace_l_internal): Likewise.
361 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
362 [!_ISOMAC] (__iswctype_internal): Likewise.
363 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
364 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
365 alias.
366 (fcntl): Remove __fcntl_internal alias.
367 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
368 __connect_internal alias.
369 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
370 Likewise.
371
454ac701
JM
372 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
373 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
374 FP_DENORM_ZERO.
375 (_FP_CHECK_FLUSH_ZERO): New macro.
376 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
377 (_FP_CMP): Likewise.
378 (_FP_CMP_EQ): Likewise.
379 (_FP_TO_INT): Do not set inexact for subnormal arguments if
380 FP_DENORM_ZERO.
381 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
382 (FP_TRUNC): Likewise.
383
0022e688
JM
384 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
385 treated as invalid conversion, not as normal exponent.
386
73e28d9c
JM
387 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
388 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
389 (_FP_CMP_EQ): Likewise.
390 (_FP_CMP_UNORD): Likewise.
391 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
392 (FP_CMP_EQ_D): Likewise.
393 (FP_CMP_UNORD_D): Likewise.
394 * soft-fp/extended.h (FP_CMP_E): Likewise.
395 (FP_CMP_EQ_E): Likewise.
396 (FP_CMP_UNORD_E): Likewise.
397 * soft-fp/quad.h (FP_CMP_Q): Likewise.
398 (FP_CMP_EQ_Q): Likewise.
399 (FP_CMP_UNORD_Q): Likewise.
400 * soft-fp/single.h (FP_CMP_S): Likewise.
401 (FP_CMP_EQ_S): Likewise.
402 (FP_CMP_UNORD_S): Likewise.
403 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
404 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
405 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
406 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
407 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
408 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
409 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
410 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
411 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
412 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
413 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
414 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
415 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
416 to FP_CMP_Q.
417 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
418 FP_CMP_Q.
419 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
420 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
421 FP_CMP_EQ_Q.
422 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
423 FP_CMP_Q.
424 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
425 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
426 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
427 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
428 FP_CMP_EQ_Q.
429 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
430 FP_CMP_Q.
431 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
432 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
433 FP_CMP_EQ_Q.
434 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
435 FP_CMP_Q.
436 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
437 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
438 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
439 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
440 FP_CMP_EQ_Q.
441
43059f42
JM
442 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
443 a subnormal result, set the underflow exception if trapping on
444 underflow is enabled.
445 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
446 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
447 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
448 redefine to 0.
449 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
450 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
451 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
452 * soft-fp/extendxftf2.c (__extendxftf2): Use
453 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
454
2d6a47ba
JM
455 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
456 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
457 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
458 FP_HANDLE_EXCEPTIONS.
459 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
460 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
461 FP_HANDLE_EXCEPTIONS.
462 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
463 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
464 FP_HANDLE_EXCEPTIONS.
465 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
466 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
467 FP_HANDLE_EXCEPTIONS.
468
620f462e
JM
4692014-10-08 Joseph Myers <joseph@codesourcery.com>
470
471 [BZ #14132]
472 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
473 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
474 use INTUSE.
475 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
476 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
477 Remove alias.
478 (__adjtimex): Define using libc_hidden_ver.
479 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
480 Remove declaration.
481 (ntp_gettime): Call __adjtimex directly.
482 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
483 Remove declaration.
484 (ntp_gettimex): Call __adjtimex directly.
485 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
486 __adjtimex_internal alias.
487
c763c5d2
RM
4882014-10-08 Roland McGrath <roland@hack.frob.com>
489
490 [BZ #17460]
491 * nscd/nscd.c (more_help): Rewrite list of tables collection
492 using xstrdup and asprintf.
493
494 * nscd/nscd_conf.c: Remove local xstrdup declaration.
495
7b8fb2b8
RM
4962014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
497 Roland McGrath <roland@hack.frob.com>
498
499 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
500 (do_lookup_unique): ... local function 'enter' here; update callers.
501
abb280f7
JM
5022014-10-06 Joseph Myers <joseph@codesourcery.com>
503
f7b42517
JM
504 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
505 compat_symbol calls on [SHARED].
506 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
507 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
508 Remove.
509 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
510 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
511 (oldsetrlimit): Remove.
512 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
514 (lchown): New syscall entry.
515 (oldsetrlimit): Remove.
516 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
517 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
518 (oldsetrlimit): Remove.
519 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
520
abb280f7
JM
521 [BZ #14138]
522 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
523 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
524 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
525 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
527 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
528 (fchown): Likewise.
529 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
530 (fchown): Likewise.
531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
532 Likewise.
533
47d46237
AZ
5342014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535
536 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
537 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
538 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
539 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
540 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
541 Likewise.
542 (__old_sem_post): Likewise.
543
5442014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 545
845a7343
CM
546 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
547 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
548 HAVE_CLOCK_GETTIME_VSYSCALL macros.
549 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
550 Use INLINE_VSYSCALL macro.
551 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
552 __vdso_clock_gettime.
553 * sysdeps/unix/sysv/linux/tile/init-first.c
554 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
555 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
556 __vdso_clock_gettime.
557
83d641ef
CM
558 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
559 to set up frame more cleanly.
560
d9cd52e6
CM
561 * sysdeps/tile/memcmp.c: New file.
562
4b68ea11
CM
563 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
564
c86f7b80
CM
565 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
566 * sysdeps/tile/tilegx/strcasestr.c: New file.
567 * sysdeps/tile/tilegx/strnlen.c: New file.
568 * sysdeps/tile/tilegx/strstr.c: New file.
569
1c4c1a6f
CM
570 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
571
99d86ea3
AS
5722014-10-06 Arjun Shankar <arjun.is@lostca.se>
573
574 * nptl/tst-setuid3.c: Write errors to stdout.
575
06210a44
KS
5762014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
577
578 * elf/dl-deps.c
579 (preload): New functions broken out of _dl_map_object_deps.
580 (_dl_map_object_deps): Remove a nested function. Update call sites.
581
6268f532
JM
5822014-10-01 Joseph Myers <joseph@codesourcery.com>
583
584 [BZ #14138]
585 * sysdeps/unix/sysv/linux/execve.c: Remove file.
586 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
587
b925285f
SE
5882014-10-01 Steve Ellcey <sellcey@mips.com>
589
590 * sysdeps/mips/strcmp.S: New.
591
754a15c6
JM
5922014-09-30 Joseph Myers <joseph@codesourcery.com>
593
594 [BZ #14138]
595 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
596 (linkat): Likewise.
597 (mkdirat): Likewise.
598 (readlinkat): Likewise.
599 (renameat): Likewise.
600 (symlinkat): Likewise.
601 (unlinkat): Likewise.
602 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
603 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
604 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
605 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
606 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
607 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
608 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
609
85bb81c9
WN
6102014-09-30 Will Newton <will.newton@linaro.org>
611
dc6fe23b
WN
612 * math/math.h: Define long double math functions if
613 _LIBC_TEST is defined.
614 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
615
85bb81c9
WN
616 * localedata/Makefile: Move assignment to tests-special
617 into an ifdef testing run-built-tests.
618 * timezone/Makefile: Likewise.
619
b7e02da4
JM
6202014-09-29 Joseph Myers <joseph@codesourcery.com>
621
622 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
623 with $(BASH) not $(SHELL).
624
62058ce6
CD
6252014-09-29 Carlos O'Donell <carlos@redhat.com>
626 Matthew LeGendre <legendre1@llnl.gov>
627
628 [BZ #17411]
629 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
630 l_reloc_result.
631
8e257a29
KS
6322014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
633
634 * stdio-common/printf_fp.c
635 (hack_digit): New function, broken out of ...
636 (__printf_fp): ... local function here. Update call sites.
637 hack_digit now takes an additional parameter that is a pointer
638 to a struct of the referenced locals. Those locals moved inside
639 the struct and references updated.
640
f4a58f0d
L
6412014-09-29 H.J. Lu <hongjiu.lu@intel.com>
642
643 * aclocal.m4: Require autoconf 2.69.
644 * configure: Regenerated.
645 * sysdeps/aarch64/configure: Likewise.
646 * sysdeps/alpha/configure: Likewise.
647 * sysdeps/arm/armv7/configure: Likewise.
648 * sysdeps/arm/configure: Likewise.
649 * sysdeps/ia64/configure: Likewise.
650 * sysdeps/mach/configure: Likewise.
651 * sysdeps/mips/configure: Likewise.
652 * sysdeps/s390/configure: Likewise.
653 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
655
656 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
657 file.
658 * sysdeps/ia64/configure.ac: Likewise.
659
93ae1eba
JM
6602014-09-26 Joseph Myers <joseph@codesourcery.com>
661
1810d3ab
JM
662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
663 specify symbol version for ld.so. Do not include entry for
664 libpthread.
665 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
666 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
668
93ae1eba
JM
669 [BZ #14171]
670 * Makeconfig [$(build-shared) = yes]
671 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
672 makefiles.
673 [$(build-shared) = yes && $(soversions.mk-done) = t]
674 ($(common-objpfx)gnu/lib-names.h): Remove rule.
675 [$(build-shared) = yes && $(soversions.mk-done) = t]
676 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
677 to Makerules.
678 [$(build-shared) = yes && $(soversions.mk-done) = t]
679 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
680 here.
681 [$(build-shared) = yes && $(soversions.mk-done) = t]
682 (common-generated): Don't append gnu/lib-names.h and
683 gnu/lib-names.stmp here.
684 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
685 (lib-names-h-abi): New variable.
686 [$(build-shared) = yes && $(soversions.mk-done) = t]
687 (lib-names-stmp-abi): Likewise.
688 [$(build-shared) = yes && $(soversions.mk-done) = t &&
689 abi-variants] (before-compile): Append
690 $(common-objpfx)$(lib-names-h-abi).
691 [$(build-shared) = yes && $(soversions.mk-done) = t &&
692 abi-variants] (common-generated): Append gnu/lib-names.h.
693 [$(build-shared) = yes && $(soversions.mk-done) = t &&
694 abi-variants] (install-others-nosubdir): Depend on
695 $(inst_includedir)/$(lib-names-h-abi).
696 [$(build-shared) = yes && $(soversions.mk-done) = t &&
697 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
698 [$(build-shared) = yes && $(soversions.mk-done) = t]
699 ($(common-objpfx)$(lib-names-h-abi)): New rule.
700 [$(build-shared) = yes && $(soversions.mk-done) = t]
701 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
702 [$(build-shared) = yes && $(soversions.mk-done) = t]
703 (common-generated): Append $(lib-names-h-abi) and
704 $(lib-names-stmp-abi).
705 * scripts/lib-names.awk: Do not handle multi being set.
706 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
707 Remove variable.
708 (abi-lp64_be-ld-soname): Likewise.
709 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
710 Likewise.
711 (abi-hard-ld-soname): Likewise.
712 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
713 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
714 Remove variable.
715 (abi-o32_hard-ld-soname): Likewise.
716 (abi-o32_soft_2008-ld-soname): Likewise.
717 (abi-o32_hard_2008-ld-soname): Likewise.
718 (abi-n32_soft-ld-soname): Likewise.
719 (abi-n32_hard-ld-soname): Likewise.
720 (abi-n32_soft_2008-ld-soname): Likewise.
721 (abi-n32_hard_2008-ld-soname): Likewise.
722 (abi-n64_soft-ld-soname): Likewise.
723 (abi-n64_hard-ld-soname): Likewise.
724 (abi-n64_soft_2008-ld-soname): Likewise.
725 (abi-n64_hard_2008-ld-soname): Likewise.
726 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
727 Likewise.
728 (abi-64-v2-ld-soname): Likewise.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
730 ld.so entries.
731 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
732 variable.
733 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
734 entry.
735 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
736 variable.
737 (abi-64-ld-soname): Likewise.
738 (abi-x32-ld-soname): Likewise.
739 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
740 entry.
741 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
742
68870f12
JM
7432014-09-23 Joseph Myers <joseph@codesourcery.com>
744
745 [BZ #14138]
746 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
747 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
748 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
750 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
751 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
752 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
753 syscall entry for GLIBC_2.2 symbol version.
754 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
755 Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
757 (setrlimit): Likewise.
758 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
759 Likewise.
760
ea58f202
WN
7612014-09-23 Will Newton <will.newton@linaro.org>
762
763 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
764 _LINUX_ARM_SYSDEP_H include guard too.
765 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
766 define.
767
69eb9a18
RV
7682014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
769
770 * sysdeps/unix/sysv/linux/eventfd.c:
771 Make first argument unsigned.
772 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
773 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
774
20e5a5f7
OB
7752014-09-20 Ondřej Bílka <neleai@seznam.cz>
776
777 * socket/recvmmsg.c (recvmmsg): Drop const argument.
778 * socket/sys/socket.h: Likewise
779 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
780
d3c827e7
AK
7812014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
782
783 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
784
fe1cc35a
AS
7852014-09-17 Arjun Shankar <arjun.is@lostca.se>
786
787 * time/tst-ftime.c: New test.
788 * time/Makefile (tests): Add tst-ftime.
789
4e8afe69
JM
7902014-09-17 Joseph Myers <joseph@codesourcery.com>
791
c4fe3ea7
JM
792 * soft-fp/extended.h: Fix comment formatting.
793 * soft-fp/op-1.h: Likewise.
794 * soft-fp/op-2.h: Likewise.
795 * soft-fp/op-4.h: Likewise.
796 * soft-fp/op-8.h: Likewise.
797 * soft-fp/op-common.h: Likewise.
798 * soft-fp/soft-fp.h: Likewise.
799
4e8afe69
JM
800 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
801
af296fcd
JM
8022014-09-16 Joseph Myers <joseph@codesourcery.com>
803
804 [BZ #6652]
805 * Makeconfig (soversions-default-setname): Remove variable.
806 ($(common-objpfx)soversions.i): Don't pass default_setname to
807 soversions.awk.
808 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
809 oldest_abi to abi-versions.awk.
810 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
811 * config.make.in (oldest-abi): Remove variable.
812 * configure.ac (--enable-oldest-abi): Remove configure option.
813 * configure: Regenerated.
814 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
815 text.
816 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
817 * scripts/soversions.awk: Do not handle default_setname variable.
818 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
819 variable.
820 * sysdeps/mach/hurd/configure: Regenerated.
821 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
822 variable.
823 * sysdeps/unix/sysv/linux/configure: Regenerated.
824
545583d6
SP
8252014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
826
d330b980
SP
827 * elf/Makefile (CFLAGS-interp.c): Remove.
828 ($(elf-objpfx)runtime-linker.h): Generate header with linker
829 path string.
830 * elf/interp.c: Include generated runtime-linker.h
831
02657da2
SP
832 * Makerules (lib%.so): Don't include $(+interp) in
833 prerequisites.
834 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
835 * dlfcn/eval.c: Remove file.
836
653b1080
SP
837 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
838 macros.
839
602f80ec
SP
840 [BZ #17266]
841 * misc/sys/cdefs.h: Define __extern_always_inline for clang
842 4.2 and newer.
843
545583d6
SP
844 [BZ #17370]
845 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
846
884ddc50
SP
8472014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
848 Jakub Jelinek <jakub@redhat.com>
849
850 [BZ #17266]
851 * libio/stdio.h: Check definition of __fortify_function
852 instead of __extern_always_inline to include bits/stdio2.h.
853 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
854 check if __extern_always_inline is defined.
855 [__USE_MISC || __USE_XOPEN]: Likewise.
856 [__USE_ISOC99] Likewise.
857 * misc/sys/cdefs.h (__fortify_function): Define only if
858 __extern_always_inline is defined.
859 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
860 __extern_always_inline and __extern_inline only for g++-4.3
861 and newer or a compatible gcc.
862
a7b87268
AS
8632014-09-15 Andreas Schwab <schwab@linux-m68k.org>
864
865 [BZ #17371]
866 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
867 last change to handle zero prefix length.
868
3f41521d
SP
8692014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
870
61fe374a
SP
871 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
872 _SC_REGEX_VERSION.
873
3f41521d
SP
874 * posix/getconf.c (vars): Add _POSIX_IPV6 and
875 _POSIX_RAW_SOCKETS.
876
d8f879ee
AM
8772014-09-13 Allan McRae <allan@archlinux.org>
878
879 * po/ru.po: Update Russian translation from translation project.
880
c079afb7
RM
8812014-09-12 Roland McGrath <roland@hack.frob.com>
882
a62b3c15
RM
883 * locale/programs/locale.c (show_locale_vars): Inline local function
884 into its sole call site. Clean up some style nits.
885 (print_item): New function, broken out of ...
886 (show_info): ... local function here. Clean up style nits.
887
d7e49b19
RM
888 * locale/programs/ld-ctype.c (set_one_default): New function, broken
889 out of ...
890 (set_class_defaults): ... local function set_default here.
891 Define set_default as a macro locally to pass constant parameters.
892 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
893 rather than a shared local.
894
c079afb7
RM
895 * stdlib/rpmatch.c (try): New function, broken out of ...
896 (rpmatch): ... local function here. Also, prototypify definition.
897
0bd72468
JM
8982014-09-12 Joseph Myers <joseph@codesourcery.com>
899
ba90e050
JM
900 * scripts/soversions.awk: Do not handle configuration names.
901 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
902 vendor and os variables to soversions.awk.
903 * configure.ac: Do not modify gnu-* host_os.
904 * configure: Regenerated
905 * shlib-versions: Remove first column with configuration names.
906 * nptl/shlib-versions: Likewise.
907 * nptl_db/shlib-versions: Likewise.
908 * sysdeps/hppa/shlib-versions: Likewise.
909 * sysdeps/m68k/shlib-versions: Likewise.
910 * sysdeps/mach/hurd/shlib-versions: Likewise.
911 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
912 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
913 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
914 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
915 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
916 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
917 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
918 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
920 Likewise.
921 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
922 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
923 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
924 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
925 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
926 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
927 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
928 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
929
73a39112
JM
930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
931 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
933 Regenerated.
934 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
936 Condition symbol version definitions on [HAVE_ELFV2_ABI].
937
c729e7c1
JM
938 * shlib-versions: Remove OS-specific entries. Moved to files in
939 sysdeps.
940 * sysdeps/mach/hurd/shlib-versions: New file.
941 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
942
dc932a24
JM
943 * nptl/shlib-versions: Remove architecture-specific entries.
944 Moved to files in sysdeps.
945 * shlib-versions: Likewise.
946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
947 file.
948 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
949 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
950 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
951 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
952
0bd72468
JM
953 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
954 (UDP_NO_CHECK6_RX): Likewise.
955
920238e0
SP
9562014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
957
958 * sysdeps/posix/sysconf.c (__sysconf): Spell
959 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
960
ba7b4d29
FW
9612014-08-12 Florian Weimer <fweimer@redhat.com>
962
963 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
964 loading.
965 * iconv/Versions (__gconv_transliterate): Export for use from
966 gconv modules.
967 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
968 (struct __gconv_trans_data, __gconv_trans_fct,
969 __gconv_trans_context_fct, __gconv_trans_query_fct,
970 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
971 definitions.
972 (struct __gconv_step_data): Remove __trans member.
973 (__gconv_transliterate): Declaration moved from gconv_int.h. No
974 longer hidden. Remove unused trans_data argument.
975 * iconv/gconv_int.h (struct trans_struct): Remove definition.
976 (__gconv_translit_find): Remove declaration.
977 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
978 prototype.
979 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
980 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
981 trans_data argument. Add hidden definition.
982 (__gconv_translit_find): Remove.
983 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
984 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
985 * iconv/skeleton.c: Remove transliteration initialization.
986 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
987 __gconv_step_data initialization.
988 * libio/iofwide.c (__libio_translit_): Remove.
989 (_IO_fwide): Adjust struct __gconv_step_data initialization.
990 * wcsmbs/btowc.c (__btowc): Likewise.
991 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
992 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
993 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
994 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
995 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
996 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
997 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
998 * wcsmbs/wctob.c (wctob): Likewise.
999
5379aebd
SP
10002014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1001
1002 [BZ #16194]
1003 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1004 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1005 register usage.
1006 * sysdeps/x86/Makefile: Adjust.
1007
8c0ab919
RM
10082014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1009 Roland McGrath <roland@hack.frob.com>
1010
1011 * locale/weight.h: Add include guard.
1012 (findidx): Make static rather than auto; take new parameters
1013 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1014 * locale/weightwc.h: Likewise.
1015 * posix/fnmatch_loop.c
1016 (FCT): Change type of EXTRA from int32_t to wint_t.
1017 Don't include either header inside the function.
1018 Call FINDIDX rather than findidx, and pass new arguments.
1019 #undef FINDIDX at the end of the file.
1020 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1021 FINDIDX before including fnmatch_loop.c for the non-wide version.
1022 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1023 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1024 for the wide version.
1025 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1026 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1027 Pass new arguments to findidx.
1028 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1029 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1030 Don't #include it inside the function. Pass new arguments to findidx.
1031 * posix/regex_internal.h
1032 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1033 (re_string_elem_size_at): Don't #include it inside the function.
1034 Pass new arguments to findidx.
1035 * string/strcoll_l.c: #include WEIGHT_H at top level.
1036 (get_next_seq): Don't #include it inside the function.
1037 Pass new arguments to findidx.
1038 (get_next_seq_nocache): Likewise.
1039 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1040 (STRXFRM): Don't #include it inside the function.
1041 Pass new arguments to findidx.
1042
52ffbdf2
FW
10432014-09-11 Florian Weimer <fweimer@redhat.com>
1044
1045 [BZ #17344]
1046 * malloc/malloc.c (unlink): Turn asserts into a call to
1047 malloc_printerr.
1048
984c0ea9
TL
10492014-09-11 Tim Lammens <tim.lammens@gmail.com>
1050
1051 [BZ #17370]
1052 * libio/wfileops (do_ftell_wide): Free OUT.
1053
3daee107
CM
10542014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1055
1056 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1057
58b930ae
SP
10582014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1059
1060 [BZ #17363]
1061 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1062 group if the current group is empty.
1063
3b473fec
AZ
10642014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1065
71ae8647
AZ
1066 * benchtests/bench-memset.c (test_main): Add more test from size
1067 from 32 to 512 bytes.
1068 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1069 Add POWER8 memset object.
1070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1071 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1072 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1073 implementation.
1074 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1075 Likewise.
1076 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1077 multiarch POWER8 memset optimization.
1078 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1079 POWER8 memset optimization.
1080
3b473fec
AZ
1081 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1082 Remove bzero multiarch objects.
1083 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1084 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1085 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1086 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1087 Remove define.
1088 [__bzero]: Redefine to specific name.
1089 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1090 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1091 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1092 define.
1093 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1094 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1095
e6fb9587
FW
10962014-09-10 Florian Weimer <fweimer@redhat.com>
1097
1098 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1099 warnings into errors.
1100
1101 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1102 __cxa_thread_atexit_impl prototype.
1103
9d3a350b
SE
11042014-09-09 Steve Ellcey <sellcey@mips.com>
1105
1106 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1107 Fix capitalization of error message.
1108
0febba23
SE
11092014-09-09 Steve Ellcey <sellcey@mips.com>
1110
1111 * sysdeps/mips/preconfigure: Modify ABI tests.
1112
645a0e9c
CD
11132014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1114
1115 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1116
d83f0734
CD
11172014-09-07 Roland McGrath <roland@hack.frob.com>
1118 Carlos O'Donell <carlos@systemhalted.org>
1119
1120 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1121 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1122 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1123 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1124 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1125 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1126 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1127 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1128 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1129 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1130 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1131 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1132 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1133 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1134 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1135 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1136 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1137 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1138 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1139 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1140 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1141 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1142 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1143 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1144 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1145 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1146 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1147 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1148 Deconditionalize the code that was previously under [RESET_PID].
1149 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1150 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1151 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1152 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1153 include sysdep.h.
1154
21c83793
AM
11552014-09-08 Allan McRae <allan@archlinux.org>
1156
1157 * version.h (RELEASE): Set to "development".
1158 (VERSION): Set to "2.20.90"
1159
1cd9b65c
AM
11602014-09-07 Allan McRae <allan@archlinux.org
1161
b8079dd0
AM
1162 * version.h (RELEASE): Set to "stable".
1163 (VERSION): Set to "2.20"
1164 * include/features.h (__GLIBC_MINOR__): Set to 20.
1165
c46303ef
AM
1166 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1167 Liebler.
1168
1cd9b65c
AM
1169 * po/ko.po: Update Korean translation from translation project.
1170
8622092d
CM
11712014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1172
1173 [BZ #17354]
1174 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1175 macro for handling signed relocations.
1176
41488498
FW
11772014-09-03 Florian Weimer <fweimer@redhat.com>
1178
1179 [BZ #17325]
1180 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1181 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1182 assert.
1183 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1184 * iconvdata/ibm935.c (BODY): Likewise.
1185 * iconvdata/ibm937.c (BODY): Likewise.
1186 * iconvdata/ibm939.c (BODY): Likewise.
1187 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1188 assert.
1189 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1190 script.
1191 * iconvdata/run-iconv-test.sh: New test loop for checking for
1192 decoder crashers.
1193
a78b712d
KR
11942014-09-02 Khem Raj <raj.khem@gmail.com>
1195
1196 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1197 libm_hidden_ver.
1198
cb08abc6
AM
11992014-09-01 Allan McRae <allan@archlinux.org>
1200
2c31e102
AM
1201 * po/eo.po: Update Esperanto translation from translation project.
1202
cb08abc6
AM
1203 * po/ca.po: Update Catalan translation from translation project.
1204
17a62de1
ST
12052014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1206
1207 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1208 __proc_dostop call.
1209
9570bc53
MW
12102014-08-27 Mark Wielaard <mjw@redhat.com>
1211
1212 [BZ #17319]
1213 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1214 to call set_thread_area instead of hand written asm.
1215 (__NR_set_thread_area): Removed define.
1216 (TLS_FLAG_WRITABLE): Likewise.
1217 (__ASSUME_SET_THREAD_AREA): Remove check.
1218 (TLS_EBX_ARG): Remove define.
1219 (TLS_LOAD_EBX): Likewise.
1220
b0f955c9
ST
12212014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1222
1223 Simplify atomicity of socket creation in bind.
1224
1225 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1226 looking up the name after linking the file.
1227
529bf515
AM
12282014-08-27 Allan McRae <allan@archlinux.org>
1229
1230 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1231
a1a6a401
FW
12322014-08-26 Florian Weimer <fweimer@redhat.com>
1233
1234 [BZ #17187]
1235 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1236 trans_compare, open_translit, __gconv_translit_find):
1237 Remove module loading code.
1238
686ab290
AM
12392014-08-26 Allan McRae <allan@archlinux.org>
1240
e4e7cfd2
AM
1241 * po/vi.po: Update Vietnamese translation from translation project.
1242
6aa09f71
AM
1243 * po/uk.po: Update Ukrainian translation from translation project.
1244
edc0660e
AM
1245 * po/fr.po: Update French translation from translation project.
1246
7eea72ac
AM
1247 * po/ru.po: Update Russian translation from translation project.
1248
93c49eff
AM
1249 * po/pl.po: Update Polish translation from translation project.
1250
46acaf63
AM
1251 * po/cs.po: Update Czech translation from translation project.
1252
a9f5ce98
AM
1253 * po/de.po: Update German translation from translation project.
1254
373f2b78
AM
1255 * po/bg.po: Update Bulgarian translation from translation project.
1256
e7548bd8
AM
1257 * po/sv.po: Update Sweedish translation from translation project.
1258
c526bf4d
AM
1259 * po/nl.po: Update Dutch translation from translation project.
1260
686ab290
AM
1261 * po/es.po: Update Spanish translation from translation project.
1262
eb72478a
SP
12632014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1264
dd763fdb
SP
1265 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1266
318c7a58
SP
1267 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1268 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1269 (CPPFLAGS-iconvconfig): Likewise.
1270 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1271
eb72478a
SP
1272 * include/libc-symbols.h: Remove unnecessary check for
1273 NOT_IN_libc.
1274 * nptl/pthreadP.h: Likewise.
1275 * sysdeps/aarch64/setjmp.S: Likewise.
1276 * sysdeps/alpha/setjmp.S: Likewise.
1277 * sysdeps/arm/sysdep.h: Likewise.
1278 * sysdeps/i386/setjmp.S: Likewise.
1279 * sysdeps/m68k/setjmp.c: Likewise.
1280 * sysdeps/posix/getcwd.c: Likewise.
1281 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1283 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1284 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1285 * sysdeps/sh/sh3/setjmp.S: Likewise.
1286 * sysdeps/sh/sh4/setjmp.S: Likewise.
1287 * sysdeps/unix/alpha/sysdep.h: Likewise.
1288 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1290 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1291 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1294 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1296 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1297 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1299 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1301 * sysdeps/x86_64/setjmp.S: Likewise.
1302
d44a052c
JM
13032014-08-13 Joseph Myers <joseph@codesourcery.com>
1304
1305 [BZ #17263]
1306 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1307 <stdint.h>.
1308 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1309 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1310
508ce3ac
SP
13112014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1312
e44c8b0e
SP
1313 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1314
508ce3ac
SP
1315 [BZ #17262]
1316 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1317 and __x86_64__ when disabling x87 inline functions.
1318
b4acef1f
L
13192014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 [BZ #17259]
1322 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1323 asm statement with __cpuid_count.
1324
61b1ef6e
MF
13252014-08-12 Mike Frysinger <vapier@gentoo.org>
1326
1327 * configure.ac: Change __ehdr_start code to dereference the struct.
1328 Run readelf on the output to look for relocations.
1329 * configure: Regenerated.
1330
898c62f4
JM
13312014-08-12 Joseph Myers <joseph@codesourcery.com>
1332
1333 [BZ #17261]
1334 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1335 value to 0.
1336 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1337
9a8a5720
RM
13382014-08-12 Roland McGrath <roland@hack.frob.com>
1339
1340 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1341
4e75751c
BO
13422014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1343
1344 [BZ #16892]
1345 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1346 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1347
bb2ce416
SA
13482014-08-12 Sean Anderson <seanga2@gmail.com>
1349
1350 * malloc/malloc.c: Fix typo in comment.
1351
7950a4ee
AM
13522014-08-09 Allan McRae <allan@archlinux.org>
1353
1354 * Regenerate libc.po.
1355
f469c49f
MF
13562014-08-08 Mike Frysinger <vapier@gentoo.org>
1357
1358 * intl/tst-gettext2.sh: Check every lang file for creation.
1359
656b84c2
WD
13602014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1361
1362 * sysdeps/aarch64/fpu/math_private.h
1363 (libc_feholdsetround_noex_aarch64_ctx): New function.
1364
538e9e45
W
13652014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1366
1367 * sysdeps/arm/armv6/strcpy.S (strcpy):
1368 Fix performance issue in misaligned cases.
1369
d4795e4a
AZ
13702014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371
1372 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1373 Move definition from termios.h.
1374 (struct termio): Likewise.
1375 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1376 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1377 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1378 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1379 Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1381 Move definition to ioctl-types.h
1382 (struct termio): Likewise.
1383 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1384 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1385 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1386 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1387 Likewise.
1388
64accb62
RH
13892014-08-05 Richard Henderson <rth@redhat.com>
1390
27bb6dc0
RH
1391 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1392 exceptions.
1393 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1394 Add fraiseexcpt.
1395 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1396 Use __feraiseexcept.
1397 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1398 Protect libm symbols with IS_IN_libm.
1399
64accb62
RH
1400 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1401
e5292691
BO
14022014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1403
1404 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1405
5b4bd2d4
WN
14062014-08-04 Will Newton <will.newton@linaro.org>
1407
1408 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1409 file.
1410
fcadaeef
MF
14112014-08-04 Mike Frysinger <vapier@gentoo.org>
1412
1413 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1414 variants for each function.
1415
43a94c64
RM
14162014-08-04 Roland McGrath <roland@hack.frob.com>
1417
1418 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1419 appended ...
1420 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1421 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1422 appended ...
1423 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1424 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1425 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1426 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1427 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1428 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1429 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1430 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1431 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1432 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1433 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1435 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1436 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1437 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1439 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1440 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1441 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1443 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1445 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1447 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1451 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1453 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1459 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1460 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1461 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1462 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1463 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1464 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1465 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1466 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1467 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1468 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1469 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1470 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1471 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1472 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1473 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1474 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1475 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1476 Update #include.
1477 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1478 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1479
8f3c1fa4
RM
14802014-08-04 Roland McGrath <roland@hack.frob.com>
1481
1482 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1483 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1484 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1485 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1486 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1487 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1488
ca08746f
RM
14892014-08-04 Roland McGrath <roland@hack.frob.com>
1490
1491 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1492 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1493 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1494 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1495
9c925ff9
RM
14962014-08-04 Roland McGrath <roland@hack.frob.com>
1497
1498 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1499 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1500 (__libc_vfork): Define function under this name.
1501 (__vfork): Define as an alias.
1502 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1503 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1504
e641054c
RM
15052014-08-04 Roland McGrath <roland@hack.frob.com>
1506
1507 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1508 that was previously under [RESET_PID].
1509 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1510
dacdc867
AS
15112014-08-04 Andreas Schwab <schwab@suse.de>
1512
1513 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1514
41f725ff
MF
15152014-08-03 Mike Frysinger <vapier@gentoo.org>
1516
1517 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1518 (main): Likewise.
1519
277cfb31
RM
15202014-08-01 Roland McGrath <roland@hack.frob.com>
1521
1522 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1523
4896f049
RH
15242014-08-01 Richard Henderon <rth@redhat.com>
1525
1526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1527 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1528 typo in exact zero test.
1529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1530 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1532
6f64e7d7
RM
15332014-08-01 Roland McGrath <roland@hack.frob.com>
1534
1535 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1536 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1537 * sysdeps/arm/sysdep.h: ... here.
1538 [!__ASSEMBLER__]: Include <stdint.h>.
1539
3f3dd810
SP
15402014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1541
a476ac4b
SP
1542 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1543 (HAVE_WCTYPE_H): Likewise.
1544 (HAVE_ISWCTYPE): Likewise.
1545 (ENABLE_NLS): Likewise.
1546 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1547 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1548
78dd658a
SP
1549 * posix/regex_internal.c: Check if DEBUG is defined and is
1550 set.
1551
3f3dd810
SP
1552 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1553 (HAVE_MBSRTOWCS): Likewise.
1554 * posix/fnmatch.c: Include string.h unconditionally.
1555
95ee7fb1
SL
15562014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1557
1558 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1559 reversal.
1560
23fe486b
RM
15612014-07-31 Roland McGrath <roland@hack.frob.com>
1562
f61a113f
RM
1563 * sysdeps/generic/safe-fatal.h: New file.
1564 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1565 * nptl/forward.c: Include it.
1566 (__pthread_unwind): Use __safe_fatal as default action, rather
1567 than a bogus use of INTERNAL_SYSCALL that could never work.
1568
9fe7e787
RM
1569 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1570 * configure.ac (libc_cv_builtin_trap): New test.
1571 * configure: Regenerated.
1572 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1573 (ABORT_INSTRUCTION): Define using __builtin_trap.
1574
23fe486b
RM
1575 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1576 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1577 * sysdeps/nptl/nptl-signals.h: New file.
1578 * nptl/pthreadP.h: Include <nptl-signals.h>.
1579
f349489e
SL
15802014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1581
1582 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1583 (ONE_DIRECTION): Define.
1584 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1585 (ONE_DIRECTION): Define.
1586 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1587 (ONE_DIRECTION): Define.
1588
2f438e20
SL
15892014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1590
1591 * sysdeps/s390/Makefile: Delete file.
1592 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1593 * sysdeps/s390/__longjmp.c: Delete file.
1594 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1595 Remove fields __flags and __reserved.
1596 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1597 and add versioning.
1598 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1599 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1600 * sysdeps/s390/rtld-setjmp.S: Likewise.
1601 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1602 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1603 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1604 * sysdeps/s390/s390-32/setjmp.S: ... here.
1605 Add versioning.
1606 (__sigsetjmp): Remove setting __flags field.
1607 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1608 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1609 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1610 * sysdeps/s390/s390-64/setjmp.S: ... here.
1611 Add versioning.
1612 (__sigsetjmp): Remove setting __flags field.
1613 * sysdeps/s390/setjmp.S: Delete file.
1614 * sysdeps/s390/sigjmp.c: Likewise.
1615 * sysdeps/s390/v1-longjmp.c: Likewise.
1616 * sysdeps/s390/v1-setjmp.h: Likewise.
1617 * sysdeps/s390/v1-sigjmp.c: Likewise.
1618 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1619 Remove v1-longjmp_chk.
1620 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1621 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1622 Include debug/longjmp_chk.c and add versioning.
1623 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1624 Include nptl/pt-longjmp.c and add versioning.
1625 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1626 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1627 Include __longjmp.c.
1628 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1629 Move to ...
1630 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1631 (__getcontext): Remove setting __flags field.
1632 Add versioning.
1633 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1634 Don't restore upper high grps.
1635 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1636 Likewise.
1637 (__swapcontext): Remove setting uc_flags field.
1638 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1639 Delete file.
1640 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1641 Include __longjmp.c.
1642 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1643 Move to ...
1644 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1645 (__getcontext): Remove setting __flags field.
1646 Add versioning.
1647 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1648 (__swapcontext): Remove setting uc_flags field.
1649 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1650 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1651 Remove fields uc_high_gprs and __reserved.
1652 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1653 New file with reverted content.
1654 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1655 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1656 Regenerated.
1657 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1658 Regenerated.
1659
6c9578a2
AS
16602014-07-31 Andreas Schwab <schwab@suse.de>
1661
1662 * config.h.in (HAVE_IFUNC): Define to 0.
1663 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1664 definedness.
1665
05f3633d
LM
16662014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1667
1668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1669 memmove-avx-unaligned, memcpy-avx-unaligned and
1670 mempcpy-avx-unaligned.
1671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1672 Add tests for AVX memcpy functions.
1673 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1674 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1675 memcpy_chk.
1676 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1677 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1678 memmove_chk.
1679 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1680 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1681 mempcpy_chk.
1682 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1683 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1684 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1685
a53fbd8e
AZ
16862013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687
1688 [BZ #17213]
1689 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1690 powerpc64le.
1691
0961f7e1
JL
16922014-07-29 Jeff Layton <jlayton@poochiereds.net>
1693
1694 [BZ #16839]
1695 * manual/llio.texi: Add section about open file description locks.
1696 * manual/examples/ofdlocks.c: Example of open file description
1697 lock usage.
1698 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1699 F_OFD_SETLK, and F_OFD_SETLKW.
1700
cc5fb300
AM
17012014-07-23 Allan McRae <allan@archlinux.org>
1702
1703 * po/es.po: Update Spanish translation from translation project.
1704
23329dca
AS
17052014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1706
1707 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1708
9c82da17
MR
17092014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1710
1711 [BZ #17078]
1712 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1713 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1714 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1715
29c4f53e
JM
17162014-07-17 Joseph Myers <joseph@codesourcery.com>
1717
831b9896
JM
1718 [BZ #17088]
1719 * math/fesetenv.c (__fesetenv)
1720 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1721 * math/feupdateenv.c (__feupdateenv)
1722 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1723
b21c2d50
JM
1724 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1725 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1726 (__ASSUME_SOCKETCALL): Do not define.
1727
067764ef
JM
1728 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1729 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1730 (__ASSUME_SOCKETCALL): Do not define.
1731 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1732 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1733 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1734 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1735 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1736 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1737 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1738 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1739
642530c1
JM
1740 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1741 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1742 (__ASSUME_SOCKETCALL): Do not define.
1743 (__ASSUME_IPC64): Define unconditionally.
1744 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1745 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1746 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1747 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1748 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1749 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1750 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1751 Likewise.
1752
03f77315
JM
1753 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1754 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1755 (__ASSUME_SOCKETCALL): Do not define.
1756 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1757 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1758 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1759 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1760 (__ASSUME_REQUEUE_PI): Define unconditionally.
1761 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1762 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1763 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1764 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1765 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1766 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1767
083b1f7c
JM
1768 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1769 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1770 (__ASSUME_SOCKETCALL): Do not define.
1771 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1772 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1773 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1774 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1775 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1776 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1777
5be44ea6
JM
1778 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1779 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1780 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1781 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1782 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1783 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1784 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1785 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1786 (__ASSUME_GETCPU_SYSCALL): Likewise.
1787
d95ffd4c
JM
1788 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1789 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1790 cases for individual architectures.
1791 * sysdeps/gnu/configure: Regenerated.
1792 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1793 LIBC_SLIBDIR_RTLDDIR.
1794 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1795 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1796 LIBC_SLIBDIR_RTLDDIR.
1797 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1799 LIBC_SLIBDIR_RTLDDIR.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1801 Regenerated.
1802 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1803 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1804 file.
1805 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1806 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1807 file.
1808 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1809 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1810 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1811 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1812
29c4f53e
JM
1813 * sysdeps/aarch64/shlib-versions: Move to ...
1814 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1815 * sysdeps/alpha/shlib-versions: Move to ...
1816 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1817 * sysdeps/arm/shlib-versions: Move to ...
1818 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1819 * sysdeps/hppa/shlib-versions: Move all contents except for
1820 libgcc_s entry to ...
1821 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1822 entry from ...
1823 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1824 * sysdeps/ia64/shlib-versions: Move to ...
1825 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1826 entry from ...
1827 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1828 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1829 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1830 * sysdeps/microblaze/shlib-versions: Move to ...
1831 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1832 * sysdeps/mips/shlib-versions: Move to ...
1833 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1834 entry from ...
1835 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1836 * sysdeps/tile/shlib-versions: Move to ...
1837 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1838 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1839 from ...
1840 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1841 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1842 entry from ...
1843 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1844
32bead5b
WN
18452014-07-17 Will Newton <will.newton@linaro.org>
1846
57977c4b
WN
1847 * sysdeps/arm/bits/atomic.h
1848 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1849 (__arch_compare_and_exchange_bool_16_int): Likewise.
1850 (__arch_compare_and_exchange_bool_64_int): Likewise.
1851
32bead5b
WN
1852 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1853 into an #else block.
1854
37fccd41
RM
18552014-07-16 Roland McGrath <roland@hack.frob.com>
1856
1857 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1858 just Linux configurations. Test empirically that the compiler sets
1859 __ARM_EABI__, rather than using the tuple to decide.
1860 * sysdeps/arm/preconfigure: Regenerated.
1861 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1862 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1863 contents appended ...
1864 * sysdeps/arm/configure.ac: ... here.
1865 * sysdeps/arm/configure: Regenerated.
1866
b365f3ec
RM
18672014-07-15 Roland McGrath <roland@hack.frob.com>
1868
8badf496
RM
1869 * nptl/pthread_kill.c: New file.
1870 * nptl/pthread_sigmask.c: New file.
1871 * nptl/pthread_sigqueue.c: New file.
1872
3df6f22e
RM
1873 * sysdeps/nptl/lowlevellock.h: New file.
1874 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1875 * sysdeps/nptl/lowlevellock-futex.h: New file.
1876
b365f3ec
RM
1877 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1878 Remove dead declarations.
1879
f2fef657
L
18802014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1883 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1884 config-cflags-avx2.
1885 * sysdeps/x86_64/configure.ac: Likewise.
1886 * sysdeps/i386/configure: Regenerated.
1887 * sysdeps/x86_64/configure: Likewise.
1888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1889 memset-avx2 only if config-cflags-avx2 is yes.
1890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1891 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1892 defined.
1893 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1894 only if HAVE_AVX2_SUPPORT is defined.
1895 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1896
f6c44d47
AM
18972014-07-14 Alan Modra <amodra@gmail.com>
1898
1899 [BZ #17153]
1900 * elf/elf.h (DT_PPC64_NUM): Correct value.
1901 * NEWS: Add to fixed bug list.
1902
7ee03f00
JM
19032014-07-13 Jim Meyering <meyering@fb.com>
1904
1905 [BZ 17150]
1906 regex: don't deref NULL upon heap allocation failure
1907 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1908 failure in one more place.
1909 To trigger the segfault, configure grep -with-included-regex,
1910 build it, and run these commands:
1911 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1912
9d39d517
AS
19132014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1914
1915 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1916
a75b89b7
RH
19172014-07-11 Richard Henderson <rth@redhat.com>
1918
1919 * sysdeps/aarch64/libm-test-ulps: Update.
1920
771eb141
FW
19212014-07-10 Florian Weimer <fweimer@redhat.com>
1922
1923 [BZ #17135]
1924 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1925 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1926 (__nptl_setxid): Initialize error member. Call
1927 __nptl_setxid_error.
1928 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1929 * nptl/descr.h (struct xid_command): Add error member.
1930 * nptl/tst-setuid3.c: New file.
1931 * nptl/Makefile (tests): Add it.
1932
bc1da176
AZ
19332014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1934
1935 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1936 New define.
1937 (__lll_trylock): Use __lll_base_trylock.
1938 (__lll_cond_trylock): Likewise.
1939
887865fc
RM
19402014-07-10 Roland McGrath <roland@hack.frob.com>
1941
c0c6bac9
RM
1942 * nptl/pthread_create.c (start_thread): Use atomic_or and
1943 lll_futex_wake directly rather than lll_robust_dead.
1944 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1945 (lll_robust_dead): Macro removed.
6a42be57 1946 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
1947 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1948 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1949 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1950 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1951 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1952 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1953 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1954 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1955 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1956 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1957 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1958 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1959 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1960 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1961
887865fc
RM
1962 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1963 Use atomic_compare_and_exchange_val_acq directly rather than
1964 lll_robust_trylock.
1965 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1966 (__lll_robust_trylock, lll_robust_trylock): Removed.
1967 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1968 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1969 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1970 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1971 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1972 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1973 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1974 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1975 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1976 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1977 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1978 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1979 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1980 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1981
58536726
FW
19822014-07-02 Florian Weimer <fweimer@redhat.com>
1983
1984 * manual/locale.texi (Locale Names): New section documenting
1985 locale name syntax. Adjust menu and node chaining accordingly.
1986 (Choosing Locale): Reference Locale Names, Locale Categories.
1987 Mention setting LC_ALL=C. Reflect that name syntax is now
1988 documented.
1989 (Locale Categories): New section title. Reference Locale Names.
1990 LC_ALL is an environment variable, but not a category.
1991 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1992 description, now in Locale Name. Reference that section. Locale
1993 name syntax is now documented.
1994
4e8f95a0
FW
19952014-07-02 Florian Weimer <fweimer@redhat.com>
1996
1997 [BZ #17137]
1998 * locale/findlocale.c (name_present, valid_locale_name): New
1999 functions.
2000 (_nl_find_locale): Use the loc_name variable to store name
2001 candidates. Call name_present and valid_locale_name to check and
2002 validate locale names. Return an error if the locale is invalid.
2003
d1836456
FW
20042014-07-02 Florian Weimer <fweimer@redhat.com>
2005
2006 * locale/setlocale.c (setlocale): Use strdup for allocating
2007 composite name copy.
2008
d69b7f5a
SP
20092014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2010
888c679b
SP
2011 Sync up with gnulib.
2012 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2013 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2014 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2015 and _GL_ARG_NONNULL.
2016 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2017 [!_LIBC]: Include code for Windows and Cygwin.
2018 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2019 Include prototype for int strerror_r.
2020 [!_LIBC] (is_open): New function.
2021 (flush_stdout): New function.
2022 (print_errno_message): Use it.
2023 (error): Likewise.
2024 (error_at_line): Likewise.
2025 (error_tail) Add function attribute macros. Use
2026 __builtin_expect.
2027
180e0e4b
SP
2028 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2029
d22f1fe2
SP
2030 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2031
12f2254b
SP
2032 * io/ftw.c: Include sys/param.h unconditionally.
2033
c3c7c360
SP
2034 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2035
d62aa75a
SP
2036 [BZ #17125]
2037 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2038 libc_freeres_ptr.
2039 (freecache): New function to free CACHE on exit.
2040
d69b7f5a
SP
2041 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2042 initialization.
2043
5efe06a1
DM
20442014-07-09 David S. Miller <davem@davemloft.net>
2045
2046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2047
7000d82e
DM
2048 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2049 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2050 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2051 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2052 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2053 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2054 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2055 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2056 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2057 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2058 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2059 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2060 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2061
c213442d
AS
20622014-07-09 Andreas Schwab <schwab@suse.de>
2063
4a2552c3
AS
2064 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2065 output.
2066 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2067 (do_test): Likewise.
2068
c213442d
AS
2069 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2070
82374e65
WN
20712014-07-09 Will Newton <will.newton@linaro.org>
2072
2073 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2074 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2075 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2076 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2077 * sysdeps/hppa/start.S (_start): Likewise.
2078
6680738a
SP
20792014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2080
6ee3eab4
SP
2081 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2082
6680738a
SP
2083 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2084 defined.
2085
80b5c505
SP
20862014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2087
e35c53e3
SP
2088 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2089 after checking that it is non-NULL.
2090
80b5c505
SP
2091 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2092
91f4b564
AZ
20932014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2094
27b75f56
AZ
2095 * sysdeps/powerpc/memmove.c: Remove file.
2096 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2097 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2098 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2099 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2100 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2101 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2102 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2103 string memmove instead of removed powerpc one.
2104
e7f95bb5
AZ
2105 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2106 [weak_alias]: Fix compiler warning due trailing data.
2107 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2108 [weak_alias]: Likewise.
2109 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2110 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2111
91f4b564
AZ
2112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2113 (__libc_ifunc_impl_list): Add memmove functions.
2114
7c33f1e5
SP
21152014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2116
2117 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2118 Remove code.
2119 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2120 Likewise
2121 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2122 Likewise
2123 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2124 Likewise
2125 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2126 Likewise
2127 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2128 Likewise
2129 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2130 Likewise
2131 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2132 Likewise
2133 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2134 Likewise
2135 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2136 Likewise
2137 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2138 Likewise
2139 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2140 Likewise
2141 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2142 Likewise
2143 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2144 Likewise
2145 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2146 Likewise
2147 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2148 Likewise
2149 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2150 Likewise
2151
3f17b03b
AZ
21522014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153
87868c24
AZ
2154 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2155 to avoid alignment traps in non-cacheable memory.
2156 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2157
07aedd78
AZ
2158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2159 multiarch objects.
2160 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2161 file: multiarch power7 memmove.
2162 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2163 multiarch default memmove.
2164 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2165 multiarch memove for powerpc32/power4.
2166
17762f66
AZ
2167 * string/bcopy.c: Use full path to include memmove.c.
2168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2169 multiarch objects.
2170 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2171 bcopy for powerpc64.
2172 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2173 bcopy for powerpc64.
2174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2175 and memmove implementations.
2176 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2177 optimized multiarch memmove for POWER7/powerpc64.
2178 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2179 default multiarch memmove for powerpc64.
2180 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2181 multiarch for powerpc64.
2182 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2183 for POWER7/powerpc64.
2184 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2185 memmove for POWER7/powerpc64.
2186
d6f68bbe
AZ
2187 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2188 glibc default one.
2189
3f17b03b
AZ
2190 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2191 __ELF_NATIVE_CLASS equal to 64.
2192
08192659
RM
21932014-07-07 Roland McGrath <roland@hack.frob.com>
2194
f4c4021b
RM
2195 * sysdeps/nptl/lowlevellock.h: File removed.
2196
f083450f
RM
2197 * NEWS: NPTL is no longer an add-on!
2198 * nptl/internaltypes.h: Moved ...
2199 * sysdeps/nptl/internaltypes.h: ... here.
2200 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2201 * sysdeps/nptl/fork.c: Likewise.
2202 * sysdeps/nptl/gai_misc.h: Likewise.
2203 * sysdeps/nptl/librt-cancellation.c: Likewise.
2204 * sysdeps/nptl/jmp-unwind.c: Likewise.
2205 * sysdeps/nptl/setxid.h: Likewise.
2206 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2207 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2208 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2209 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2210 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2211 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2212 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2213 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2214 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2215 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2216 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2217 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2218 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2219 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2220 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2221 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2222 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2223 * nptl/Makeconfig: Moved ...
2224 * sysdeps/nptl/Makeconfig: ... here.
2225 * nptl/configure: File removed.
2226 * nptl/ANNOUNCE: File removed.
2227 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2228 * sysdeps/unix/sysv/linux/configure: Regenerated.
2229
08192659
RM
2230 * nptl/Makefile (routines): Add libc_pthread_init,
2231 libc_multiple_threads, register-atfork and unregister-atfork.
2232 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2233 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2234 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2235 pthread-pi-defines.sym, structsem.sym.
2236 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2237 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2238 [$(subdir) = nptl] (tests): Add tst-setgetname.
2239 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2240 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2241 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2242 [!LIBC_SIGACTION]: Remove aliases.
2243 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2244 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2245 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2246 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2247 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2248 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2250 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2251 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2252 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2253 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2254 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2255 __libc_allocate_rtsig_private.
2256 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2257 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2258 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2259 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2260 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2261 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2262 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2263 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2264 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2265 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2266 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2267 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2268 * nptl/internaltypes.h: ... here.
2269 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2270 * sysdeps/nptl/jmp-unwind.c: ... here.
2271 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2272 * nptl/libc-lowlevellock.c: ... here.
2273 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2274 * nptl/libc_multiple_threads.c: ... here.
2275 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2276 * nptl/libc_pthread_init.c: ... here.
2277 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2278 * nptl/lowlevelbarrier.sym: ... here.
2279 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2280 * nptl/lowlevelcond.sym: ... here.
2281 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2282 * nptl/lowlevellock.c: ... here.
2283 * nptl/lowlevellock.h: Moved ...
2284 * sysdeps/nptl/lowlevellock.h: ... here.
2285 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2286 * nptl/lowlevelrobustlock.c: ... here.
2287 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2288 * nptl/lowlevelrobustlock.sym: ... here.
2289 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2290 * nptl/lowlevelrwlock.sym: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2292 * nptl/pt-fork.c: ... here.
2293 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2294 * nptl/pthread-pi-defines.sym: ... here.
2295 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2296 * nptl/pthread_attr_getaffinity.c: ... here.
2297 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2298 * nptl/pthread_attr_setaffinity.c: ... here.
2299 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2300 * nptl/pthread_mutex_cond_lock.c: ... here.
2301 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2302 Update #include.
2303 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2304 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2305 * nptl/pthread_once.c: ... here, replacing old file.
2306 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2307 * nptl/pthread_yield.c: ... here.
2308 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2309 * nptl/register-atfork.c: ... here.
2310 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2311 * nptl/sem_post.c: ... here.
2312 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2313 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2314 * nptl/sem_timedwait.c: ... here.
2315 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2316 * nptl/sem_trywait.c: ... here.
2317 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2318 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2319 * nptl/sem_wait.c: ... here.
2320 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2321 * nptl/structsem.sym: ... here.
2322 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2323 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2324 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2325 * nptl/unregister-atfork.c: ... here.
2326 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2327 * nptl/unwindbuf.sym: ... here.
2328 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2329 * sysdeps/nptl/fork.c: ... here.
2330 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2331 * sysdeps/nptl/fork.h: ... here.
2332 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2333 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2334 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2335 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2336 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2337 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2338 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2339 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2340 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2341 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2342 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2343 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2344 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2345 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2346 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2347 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2348 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2349 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2350 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2351 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2352 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2353 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2354 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2355 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2356 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2357 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2358 * sysdeps/unix/sysv/linux/raise.c: ... here.
2359 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2360 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2361 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2362 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2363 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2364 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2365 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2366 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2367 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2368 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2369 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2370 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2371 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2372 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2373 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2374
96baf6ff
SP
23752014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2376
2377 * sysdeps/generic/memcopy.h: Add comment for
2378 MEMCPY_OK_FOR_FWD_MEMMOVE.
2379
6b7b14b2
WN
23802014-07-04 Will Newton <will.newton@linaro.org>
2381
1570a72b
WN
2382 * string/memchr.c: Merge from gnulib.
2383 [_LIBC]: Remove conditionals.
2384 (__ptr_t): Remove define.
2385 (LONG_MAX_32_BITS): Likewise.
2386 (LONG_MAX): Likewise.
2387 (MEMCHR): Use ANSI prototype and optimize algorithm.
2388
6b7b14b2
WN
2389 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2390
38851324
SP
23912014-07-03 Roland McGrath <roland@hack.frob.com>
2392
3d9eb57c
RM
2393 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2394 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2395
78b984ae
RM
2396 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2397 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2398 in a bare environment with no <stdlib.h> installed.
2399 * sysdeps/nptl/configure: Regenerated.
2400
2d5976a5
RM
2401 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2402
c1f5acd4
RM
2403 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2404 AC_EGREP_CPP for kernel header checks, so they only succeed if
2405 including <linux/version.h> actually works right.
2406 * sysdeps/unix/sysv/linux/configure: Regenerated.
2407
4d614fe5
RM
2408 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2409 value so it's not diagnosed as unused.
2410
38851324
SP
2411 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2412 thing) with "ifeq ($(subdir),rt)".
2413
b3ec00e5
RH
24142014-07-03 Richard Henderson <rth@redhat.com>
2415
69862e25
RH
2416 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2417 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2418 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2419
d5e16ade
RH
2420 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2421 (math_force_eval): New.
2422
ca7b945c
RH
2423 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2424 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2425
cd1175a3
RH
2426 * sysdeps/alpha/fpu/s_round.c: Remove file.
2427 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2428
b3ec00e5
RH
2429 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2430 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2431 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2432 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2433 (_dl_start, print_statistics): Likewise.
2434 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2435 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2436
2437 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2438 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2439 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2440 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2441 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2442 (HP_SMALL_TIMING_AVAIL): Define.
2443 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2444 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2445 (HP_SMALL_TIMING_AVAIL): Define.
2446 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2447 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2448
2449 * sysdeps/aarch64/hp-timing.h: New file.
2450
2451 * sysdeps/generic/hp-timing.h: Remove dead comment.
2452 * sysdeps/generic/hp-timing-common.h: New file.
2453 * sysdeps/alpha/hp-timing.h: Include it.
2454 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2455 * sysdeps/i386/i686/hp-timing.h: Likewise.
2456 * sysdeps/ia64/hp-timing.h: Likewise.
2457 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2458 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2459 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2460 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2461 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2462 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2463 (hp_timing_t): New.
2464
2465 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2466 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2467 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2468 * elf/rtld.c (_dl_start_final): Likewise.
2469 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2470 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2471 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2472 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2473 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2474 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2475 (HP_TIMING_DIFF_INIT): Remove.
2476 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2477 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2478 (HP_TIMING_DIFF_INIT): Remove.
2479 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2480 * sysdeps/i386/i686/hp-timing.c: Remove file.
2481 * sysdeps/x86_64/hp-timing.c: Remove file.
2482 * sysdeps/ia64/hp-timing.c: Remove file.
2483 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2484 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2485 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2486 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2487
2488 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2489 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2490 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2491 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2492 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2493 (HP_TIMING_ACCUM): Remove.
2494 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2495 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2496 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2497
2498 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2499 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2500 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2501 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2502 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2503 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2504 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2505 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2506
2507 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2508
225f410f
MR
25092014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2510
2511 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2512
3247f285
SP
25132014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2514
2515 Sync up with gettext.
2516 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2517 [_MSC_VER]: Include malloc.h
2518 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2519 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2520 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2521 TEMP_FAILURE_RETRY. Cast return of alloca.
2522 [!_LIBC] Call gl_rwlock_init.
2523 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2524
d12704c7
SP
25252014-07-02 Roland McGrath <roland@hack.frob.com>
2526
2527 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2528 before checking its value.
2529
99f8dc92
SP
25302014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2531
05fdac77
SP
2532 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2533
99f8dc92
SP
2534 * debug/memcpy_chk.c: Don't include pagecopy.h.
2535 * debug/mempcpy_chk.c: Likewise.
2536 * string/memcpy.c: Likewise.
2537 * string/memmove.c: Likewise.
2538 * sysdeps/powerpc/memmove.c: Likewise.
2539 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2540 definition of PAGE_COPY_FWD_MAYBE here...
2541 * sysdeps/generic/pagecopy.h: ... from here.
2542 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2543
bc8ea385
VR
25442014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2545 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2546
2547 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2549 optimizations.
2550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2551 (__libc_ifunc_impl_list): Likewise.
2552 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2553 multiarch strcat for PPC64.
2554 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2555 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2556
fe5f34e4
RM
25572014-07-02 Roland McGrath <roland@hack.frob.com>
2558
2559 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2560
256aa665
SP
25612014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2562
d4eb8195
SP
2563 * intl/loadmsgcat.c: Remove declaration of
2564 get_sysdep_segment_value.
2565 (get_sysdep_segment_value): Use ISO C style.
2566 (_nl_load_domain): Use ISO C style. Get rid of redundant
2567 semicolon. Fix typo and formatting in comment.
2568 (_nl_unload_domain): Use ISO C style.
2569
256aa665
SP
2570 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2571
b100f9aa
WN
25722014-07-02 Will Newton <will.newton@linaro.org>
2573
2574 * malloc/obstack.c: Merge from gnulib master.
2575 [HAVE_CONFIG_H]: Remove conditional code.
2576 [!_LIBC]: Include config.h.
2577 [!ELIDE_CODE]: Don't include inttypes.h, include
2578 stdint.h unconditionally.
2579 (print_and_abort): Mark as _Noreturn.
2580 (_obstack_allocated_p): Mark as __attribute_pure__.
2581 (obstack_free): Rename to __obstack_free.
2582 [!__attribute__]: Remove conditional code.
2583 * malloc/obstack.h: Merge from gnulib master.
2584 [__cplusplus]: Move conditional down.
2585 [!__attribute_pure__]: Define __attribute_pure__ here
2586 if it is not already defined.
2587 (_obstack_memory_used): Mark as __attribute_pure__.
2588 [!__obstack_free]: Define as obstack_free.
2589 [__GNUC__]: Remove check for ancient NeXT gcc.
2590
c4c41244
PE
25912014-07-02 Will Newton <will.newton@linaro.org>
2592 Paul Eggert <eggert@cs.ucla.edu>
2593
2594 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2595
e1e041c4
SP
25962014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2597
2598 * resolv/gethnamaddr.c: Add comment warning that the file is
2599 not maintained.
2600
ccf431ff
CD
26012014-07-01 Carlos O'Donell <carlos@redhat.com>
2602
d34570a6
CD
2603 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2604 entries.
2605
ccf431ff
CD
2606 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2607 entry for aio_cancel and aio_cancel64.
2608 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2609 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2610 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2611 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2612 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2613 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2614 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2615 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2616 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2617 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2618 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2619 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2620 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2621
ca06321d
RM
26222014-07-01 Roland McGrath <roland@hack.frob.com>
2623
2624 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2625 * nptl/pthread_mutex_lock.c: Likewise.
2626 * nptl/pthread_mutex_timedlock.c: Likewise.
2627 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2628
a1ac3184
RH
26292014-07-01 Richard henderson <rth@redhat.com>
2630
631021e0
RH
2631 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2632 (__isnan, __isnanl): Remove.
2633 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2634
a1ac3184
RH
2635 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2636
0c1d731f
SL
26372014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2638
2639 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2640
76985d3e
SP
26412014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2642
2643 * resolv/nss_dns/dns-host.c (getanswer_r)
2644 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2645
b0cb3096
JM
26462014-07-01 Joseph Myers <joseph@codesourcery.com>
2647
2648 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2649 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2650 undefine.
2651 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2652 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2653
4d76cb39
RM
26542014-07-01 Roland McGrath <roland@hack.frob.com>
2655
2656 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2657 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2658
2659 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2660 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2661
2662 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2663 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2664 ... here.
2665 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2666 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2667
2668 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2669 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2670 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2671 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2672
2673 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2674 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2675 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2676 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2677 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2678 Moved ...
2679 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2680 ... here.
2681 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2682 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2684 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2685 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2686 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2687 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2688 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2689 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2690 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2691 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2692 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2693 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2694 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2696 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2697 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2698 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2699 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2700 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2701 ... here.
2702 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2705 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2706 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2707 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2708 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2709 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2710
0cdcad17
DH
27112014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2712
2713 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2714 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2715 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2716 Add sysdep.
2717
9b71d0e3
AZ
27182014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719
2720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2721
665390c2
JM
27222014-06-30 Joseph Myers <joseph@codesourcery.com>
2723
ae05a9d7
JM
2724 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2725 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2726
a7672a2f
JM
2727 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2728
665390c2
JM
2729 * sysdeps/arm/libm-test-ulps: Regenerated.
2730
d7a05d07
MR
27312014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2732 Roland McGrath <roland@hack.frob.com>
2733
2734 * test-skeleton.c (signal_handler): Kill the whole process group
2735 before killing the child individually.
2736 (main): Report any failure on `setpgid'.
2737
46f1d8a6
RM
27382014-06-30 Roland McGrath <roland@hack.frob.com>
2739
2740 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2741 from _TLS_H to _ARM_NPTL_TLS_H.
2742 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2743 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2744
9c37ec0b
JM
27452014-06-30 Joseph Myers <joseph@codesourcery.com>
2746
ce9c5b3e
JM
2747 [BZ #16539]
2748 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2749 (__expm1l): Return argument unchanged when small but not
2750 subnormal.
2751
3a6e9887
JM
2752 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2753 include macro name.
2754 (_FP_UNPACK_RAW_1_P): Likewise.
2755 (_FP_PACK_RAW_1): Likewise.
2756 (_FP_PACK_RAW_1_P): Likewise.
2757 (_FP_MUL_MEAT_1_wide): Likewise.
2758 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2759 (_FP_MUL_MEAT_1_hard): Likewise.
2760 (_FP_DIV_MEAT_1_imm): Likewise.
2761 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2762 (_FP_DIV_MEAT_1_udiv): Likewise.
2763 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2764 (_FP_UNPACK_RAW_2): Likewise.
2765 (_FP_UNPACK_RAW_2_P): Likewise.
2766 (_FP_PACK_RAW_2): Likewise.
2767 (_FP_PACK_RAW_2_P): Likewise.
2768 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2769 (_FP_MUL_MEAT_2_wide): Likewise.
2770 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2771 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2772 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2773 (_FP_MUL_MEAT_2_gmp): Likewise.
2774 (_FP_DIV_MEAT_2_udiv): Likewise.
2775 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2776 (_FP_FRAC_SRL_4): Likewise.
2777 (_FP_FRAC_SRST_4): Likewise.
2778 (_FP_FRAC_SRS_4): Likewise.
2779 (_FP_UNPACK_RAW_4): Likewise.
2780 (_FP_UNPACK_RAW_4_P): Likewise.
2781 (_FP_PACK_RAW_4): Likewise.
2782 (_FP_PACK_RAW_4_P): Likewise.
2783 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2784 (_FP_MUL_MEAT_4_wide): Likewise.
2785 (_FP_MUL_MEAT_4_gmp): Likewise.
2786 (umul_ppppmnnn): Likewise.
2787 (_FP_DIV_MEAT_4_udiv): Likewise.
2788 (__FP_FRAC_ADD_4): Likewise.
2789 (__FP_FRAC_SUB_3): Likewise.
2790 (__FP_FRAC_SUB_4): Likewise.
2791 (__FP_FRAC_DEC_3): Likewise.
2792 (__FP_FRAC_DEC_4): Likewise.
2793 (__FP_FRAC_ADDI_4): Likewise.
2794 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2795 (_FP_FRAC_SRL_8): Likewise.
2796 (_FP_FRAC_SRS_8): Likewise.
2797
9c37ec0b
JM
2798 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2799 include macro name.
2800 (FP_UNPACK_RAW_EP): Likewise.
2801 (FP_PACK_RAW_E): Likewise.
2802 (FP_PACK_RAW_EP): Likewise.
2803 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2804 (_FP_ISSIGNAN): Likewise.
2805 (_FP_ADD_INTERNAL): Likewise.
2806 (_FP_FMA): Likewise.
2807 (_FP_CMP): Likewise.
2808 (_FP_SQRT): Likewise.
2809 (_FP_TO_INT): Likewise.
2810 (_FP_FROM_INT): Likewise.
2811 (FP_EXTEND): Likewise.
2812 (_FP_DIV_MEAT_N_loop): Likewise.
2813
2125f674
MR
28142014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2815
2816 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2817 throughout.
2818
edea4028
JM
28192014-06-29 Joseph Myers <joseph@codesourcery.com>
2820
2821 [BZ #17097]
2822 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2823 result with correct sign in case of exponents that produce
2824 overflow except for X very close to 1.
2825
dd0ba018
PE
28262014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2827
2828 mktime: merge #if/#ifdef usage from glibc
2829 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2830 as that works with both Glibc's and Gnulib's style.
2831 See thread starting at Siddhesh Poyarekar's bug report at:
2832 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2833
64df73c2
SP
28342014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2835
2836 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2837 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2838 * sysdeps/tile/tilegx/memmove.c: Remove file.
2839
f1eafb41
JM
28402014-06-27 Joseph Myers <joseph@codesourcery.com>
2841
2842 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2843 abi-name definition.
2844 * scripts/soversions.awk: Do not handle or generate ABI lines.
2845 * shlib-versions: Remove ABI entries.
2846 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2847 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2848
58eb0862
RM
28492014-06-27 Roland McGrath <roland@hack.frob.com>
2850
37caf178
RM
2851 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2852 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2853 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2858 Moved ...
2859 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2860 ... here.
2861 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2862 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2864 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2865 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2866 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2867 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2868 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2869 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2870 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2871 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2872 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2873 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2874 Moved ...
2875 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2876 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2877 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2879 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2880 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2881 Moved ...
2882 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2883 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2884 Moved ...
2885 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2887 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2888 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2889 Moved ...
2890 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2891 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2892 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2894 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2896 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2898 Moved ...
2899 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2900 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2901 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2902 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2903 Moved ...
2904 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2905 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2906 Moved ...
2907 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2908 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2909 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2910 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2911 Moved ...
2912 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2913 ... here.
2914 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2915 Identical file removed.
2916 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2917 Moved ...
2918 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2919 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2920 Identical file removed.
2921 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2922 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2923 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2924 Moved ...
2925 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2927 Identical file removed.
2928 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2931 Identical file removed.
2932 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2933 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2935 Identical file removed.
2936 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2937 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2939 Identical file removed.
2940 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2941 Moved ...
2942 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2944 Identical file removed.
2945 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2946 Moved ...
2947 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2949 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2950 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2951 Identical file removed.
2952 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2953 Moved ...
2954 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2955 ... here.
2956 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2957 Identical file removed.
2958 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2959 Moved ...
2960 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2962 Identical file removed.
2963 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2964 Moved ...
2965 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2966 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2971 Moved ...
2972 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2973 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2974 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2975
58eb0862
RM
2976 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2977 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2978 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2979 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2980 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2981
6f12d062
AS
29822014-06-27 Arjun Shankar <arjun.is@lostca.se>
2983
2984 [BZ #17092]
2985 * nscd/nscd.c (monitor_child): Return exit status of child
2986 instead of return value from wait syscall.
2987
be254932
JM
29882014-06-27 Joseph Myers <joseph@codesourcery.com>
2989
cb403c34
JM
2990 * configure.ac (libc_commonpagesize): Remove variable.
2991 (libc_relro_required): Likewise.
2992 (libc_cv_z_relro): Remove configure test.
2993 * configure: Regenerated.
2994 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2995 variable.
2996 (libc_relro_required): Likewise.
2997 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2998 (libc_relro_required): Likewise.
2999 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3000 (libc_relro_required): Likewise.
3001 * sysdeps/arm/preconfigure: Regenerated.
3002 * sysdeps/ia64/preconfigure: Remove file.
3003 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3004 variable.
3005 (libc_relro_required): Likewise.
3006
be254932
JM
3007 [BZ #16561]
3008 [BZ #16562]
3009 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3010 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3011 recompute overflowing results in original rounding mode.
3012 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3013 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3014 recompute overflowing results in original rounding mode.
3015 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3016 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3017 recompute overflowing results in original rounding mode.
3018 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3019 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3020 recompute overflowing results in original rounding mode.
3021 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3022 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3023 recompute overflowing results in original rounding mode.
3024 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3025 (libc_feholdsetround_ctx): New macro.
3026 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3027 * sysdeps/i386/fpu/libm-test-ulps: Update.
3028 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3029
b351d85a
JM
30302014-06-26 Joseph Myers <joseph@codesourcery.com>
3031
3032 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3033 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3034 corresponding .cpsetup call.
3035
3cb4de47
RM
30362014-06-26 Roland McGrath <roland@hack.frob.com>
3037
3038 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3039 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3040 * sysdeps/arm/Makefile [$(subdir) = csu]
3041 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3042 (static-only-routines): Add aeabi_read_tp here.
3043 (shared-only-routines): Add libc-aeabi_read_tp here.
3044 (CFLAGS-libc-start.c): Add -fexceptions here.
3045 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3046 (sysdep_routines, static-only-routines, shared-only-routines):
3047 Don't add to these here.
3048 (CFLAGS-libc-start.c): Likewise.
3049
3050 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3051 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3052 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3053 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3054 * sysdeps/arm/Makefile [$(subdir) = rt]
3055 (librt-sysdep_routines, librt-shared-only-routines):
3056 Append rt-aeabi_unwind_cpp_pr1 here.
3057 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3058 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3059 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3060 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3061 Append nptl-aeabi_unwind_cpp_pr1 here.
3062 (tests): Filter out tst-cleanupx4 here.
3063 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3064 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3065 Don't do those here.
3066
354426bb
JM
30672014-06-26 Joseph Myers <joseph@codesourcery.com>
3068
3069 * scripts/list-sources.sh: Do not handle ports specially.
3070
28b0a8c9
RM
30712014-06-26 Roland McGrath <roland@hack.frob.com>
3072
a3dd035d
RM
3073 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3074 * sysdeps/arm/feupdateenv.c: Likewise.
3075
28b0a8c9
RM
3076 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3077
e66a8203
JM
30782014-06-26 Joseph Myers <joseph@codesourcery.com>
3079
3080 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3081 trailing whitespace removed.
3082 * scripts/config.guess: Update to version 2014-03-23.
3083 * scripts/config.sub: Update to version 2014-05-01
3084 * scripts/install-sh: Update to version 2013-12-25.23.
3085 * scripts/move-if-change: Update from gnulib.
3086
74171115
SP
30872014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3088
b97c9ce5
SP
3089 * debug/memmove_chk.c: Remove pagecopy.h include.
3090
4000f892
SP
30912014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3092
74171115
SP
3093 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3094 identical to gnulib mktime.
3095
a8779c28
JM
30962014-06-26 Joseph Myers <joseph@codesourcery.com>
3097
e64708de
JM
3098 * configure.ac: Do not test for machine being rs6000. Do not test
3099 for powerpc*-*soft.
3100 * configure: Regenerated.
3101
a8779c28
JM
3102 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3103 test.
3104 * configure: Regenerated.
3105 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3106 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3107 Remove configure test.
3108 * sysdeps/arm/configure: Regenerated.
3109 * sysdeps/nptl/configure.ac: Do not check
3110 libc_cv_asm_cfi_directives.
3111 * sysdeps/nptl/configure: Regenerated.
3112 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3113 * sysdeps/x86_64/nptl/configure: Remove generated file.
3114 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3115 unconditional.
3116 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3117
2aac0a86
SP
31182014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3119
059bf913
SP
3120 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3121 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3122 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3123 it is defined.
3124
4cf5b6d0
SP
3125 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3126 instead of whether it is defined.
3127 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3128 * sysdeps/hppa/dl-machine.h: Likewise.
3129 * sysdeps/ia64/dl-machine.h: Likewise.
3130 * sysdeps/m68k/dl-machine.h: Likewise.
3131 * sysdeps/microblaze/dl-machine.h: Likewise.
3132 * sysdeps/mips/dl-machine.: Likewise.
3133 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3134 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3135 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3136 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3137 * sysdeps/sh/dl-machine.h: Likewise.
3138 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3139 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3140 * sysdeps/tile/dl-machine.h: Likewise.
3141 * sysdeps/x86_64/dl-machine.h: Likewise.
3142
2aac0a86
SP
3143 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3144 code.
3145 (verify_persistent_db): Likewise.
3146
6ad2df0b
RM
31472014-06-26 Roland McGrath <roland@hack.frob.com>
3148
d8a483f3
RM
3149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3150 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3152 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3154 Moved ...
3155 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3156 ... here.
3157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3158 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3160 Identical file removed.
3161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3162 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3164 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3166 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3168 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3170 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3172 Moved ...
3173 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3175 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3177 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3179 Moved ...
3180 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3182 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3184 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3186 Identical file removed.
3187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3188 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3190 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3192 Moved ...
3193 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3194 ... here.
3195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3196 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3198 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3200 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3202 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3204 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3206 Moved ...
3207 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3209 Moved ...
3210 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3212 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3214 Moved ...
3215 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3217 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3218
52ae23b4
RM
3219 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3220 folded into ...
3221 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3222 * sysdeps/unix/sysv/linux/s390/Versions
3223 (libpthread: GLIBC_2.19): New version set.
3224 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3225 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3226 (librt: GLIBC_2.3.3): New version set.
3227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3228 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3229 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3230 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3231 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3232 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3233 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3234 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3235 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3237 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3239 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3240 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3241 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3242 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3243 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3244 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3245 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3246 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3247 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3248 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3249 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3250 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3251 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3252 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3253 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3254 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3255 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3256 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3257 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3258 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3262 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3263 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3264 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3265 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3266 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3267 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3269 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3271 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3272
39507e4a
RM
3273 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3274 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3275 (__libc_vfork): Define the function under this name.
3276 [!NOT_IN_libc] (__vfork): Make this an alias.
3277 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3278 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3279 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3280 (__libc_vfork): Define the function under this name.
3281 [!NOT_IN_libc] (__vfork): Make this an alias.
3282 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3283 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3284 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3287 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3288
e549ee56
RM
3289 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3290 code that was previously under [RESET_PID].
3291 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3292 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3293 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3294
6ad2df0b
RM
3295 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3296 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3297 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3298 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3299 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3300 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3301 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3302 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3303 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3304 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3305 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3306 Moved ...
3307 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3308 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3309 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3310 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3311 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3312 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3313 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3314 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3315 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3316 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3317 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3318 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3319 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3320 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3321 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3322 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3323 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3324 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3325 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3326 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3327 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3328 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3329 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3330 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3331 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3332 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3333 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3334 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3335 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3336
7c1c1d8e
RM
33372014-06-25 Roland McGrath <roland@hack.frob.com>
3338
3339 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3340 that was previously under [RESET_PID].
3341 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3342
3e239be6
JM
33432014-06-25 Joseph Myers <joseph@codesourcery.com>
3344
74385da5
JM
3345 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3346 not undefine and redefine.
3347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3348 [O_CLOEXEC]: Make code unconditional.
3349 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3350 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3351 <kernel-features.h>.
3352 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3353 conditional variable definition.
3354 (shm_open) [O_CLOEXEC]: Make code unconditional.
3355 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3356 code.
3357
c2570a0b
JM
3358 * configure.ac (USE_REGPARMS): Don't define here.
3359 * configure: Regenerated.
3360 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3361 * sysdeps/i386/configure: Regenerated.
3362
11b076bb
JM
3363 * nptl/createthread.c: Don't include kernel-features.h.
3364 * nptl/pthread_cancel.c: Likewise.
3365 * nptl/pthread_condattr_setclock.c: Likewise.
3366 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3367 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3368 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3369 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3370 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3371 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3372 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3373 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3374 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3375 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3376 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3377 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3378 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3379 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3380 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3381 * nscd/gai.c: Likewise.
3382 * nss/nss_db/db-open.c: Likewise.
3383 * sysdeps/generic/ldsodefs.h: Likewise.
3384 * sysdeps/sh/nptl/tls.h: Likewise.
3385 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3386 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3387 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3388 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3389 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3390 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3391 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3392 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3394 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3395 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3396 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3397 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3398 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3399 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3400 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3401 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3402 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3403 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3404 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3405 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3406 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3407 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3408 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3409 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3410 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3412 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3413 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3414 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3415 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3416 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3417 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3418 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3419 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3420 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3421 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3422 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3423 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3424 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3425 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3426 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3427 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3428 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3429 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3430 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3431 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3432 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3433 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3434 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3435 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3436 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3437 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3438 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3439 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3440 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3441 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3442 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3465 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3466 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3467 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3468 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3469 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3470 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3471 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3472 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3473 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3474 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3475 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3476 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3477 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3478 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3479 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3480 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3481 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3482 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3483 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3484 * sysdeps/unix/sysv/linux/system.c: Likewise.
3485 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3486 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3487 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3488 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3489 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3490 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3491 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3492
92072d57
JM
3493 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3494 * configure: Regenerated.
3495 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3496
3e239be6
JM
3497 * configure.ac (base_machine): Do not set specially for particular
3498 machines here.
3499 * configure: Regenerated.
3500 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3501 settings from configure.ac.
3502 * sysdeps/i386/preconfigure: New file.
3503 * sysdeps/s390/preconfigure: Likewise.
3504 * sysdeps/sh/preconfigure: Likewise.
3505 * sysdeps/sparc/preconfigure: Likewise.
3506
06d50baa
RM
35072014-06-25 Roland McGrath <roland@hack.frob.com>
3508
74836003
RM
3509 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3510 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3511 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3512 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3513 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3514 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3515 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3516 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3517 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3518 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3519 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3520 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3521 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3522 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3523 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3524 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3525 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3526 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3527 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3528
3529 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3530 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3531 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3532 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3533 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3534 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3535 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3536 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3537 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3538 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3539 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3540 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3541 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3542 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3543 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3544 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3545 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3546 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3547 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3548 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3549 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3550 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3551 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3552 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3553 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3554 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3556 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3557 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3558 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3559 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3560 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3561 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3562 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3563 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3564 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3565 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3566 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3567
06d50baa
RM
3568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3569 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3571 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3573 Moved ...
3574 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3575 ... here.
3576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3577 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3579 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3581 Moved ...
3582 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3590 Moved ...
3591 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3593 Moved ...
3594 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3596 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3598 Moved ...
3599 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3601 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3603 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3605 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3607 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3609 Moved ...
3610 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3611 ... here.
3612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3613 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3615 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3617 Moved ...
3618 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3620 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3622 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3624 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3626 Moved ...
3627 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3629 Moved ...
3630 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3632 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3634 Moved ...
3635 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3637 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3639 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3640
a4ccbc9b
JM
36412014-06-25 Joseph Myers <joseph@codesourcery.com>
3642
0828edbf
JM
3643 * timezone/checktab.awk: Update from tzcode 2014e.
3644 * timezone/private.h: Likewise.
3645 * timezone/tzfile.h: Likewise.
3646 * timezone/zdump.c: Likewise.
3647 * timezone/zic.c: Likewise.
3648
a4ccbc9b
JM
3649 * sysdeps/unix/sysv/linux/kernel-features.h
3650 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3651 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3652 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3653 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3654 Remove conditional code.
3655
9aea0cb8
WN
36562014-06-25 Will Newton <will.newton@linaro.org>
3657
3658 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3659 (_dl_arm_cap_flags): Add HWCAP2 values.
3660 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3661 (_DL_HWCAP_COUNT): Increase to 37.
3662 (_DL_HWCAP_LAST): New define.
3663 (_DL_HWCAP2_LAST): New define.
3664 (_dl_procinfo): Add support for printing
3665 AT_HWCAP2 entries.
3666 (_dl_string_hwcap): Use _dl_hwcap_string.
3667
6eaa65ce
AZ
36682014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3669
3670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3671
0f5b7185
JM
36722014-06-25 Joseph Myers <joseph@codesourcery.com>
3673
cfd2ea50
JM
3674 * README: Do not mention ports directory.
3675
cecf2ed4
JM
3676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3677 Remove macro.
3678 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3679 <kernel-features.h>.
3680 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3681 conditional variable definition.
3682 (__futimes): Update comment.
3683 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3684 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3685
a638de82
JM
3686 [BZ #16560]
3687 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3688 arguments close to 0.
3689 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3690 Likewise.
3691 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3692 Likewise.
3693 * math/auto-libm-test-in: Add more tests of exp10.
3694 * math/auto-libm-test-out: Regenerated.
3695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3696
0f5b7185
JM
3697 * sysdeps/unix/sysv/linux/kernel-features.h
3698 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3699 * sysdeps/unix/sysv/linux/readv.c: Do not include
3700 <kernel-features.h>.
3701 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3702 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3703 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3704 unconditional.
3705 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3706 conditional code.
3707 * sysdeps/unix/sysv/linux/writev.c: Do not include
3708 <kernel-features.h>.
3709 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3710 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3711 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3712 unconditional.
3713 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3714 conditional code.
3715
c7aec4be
WN
37162014-06-25 Will Newton <will.newton@linaro.org>
3717
3718 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3719 comment changes throughout the file. Remove checks
3720 for HAVE_*_H definitions that are not required.
3721 (__gen_tempname): Call abort if an unknown kind value is
3722 passed.
3723
c5241f95
AS
37242014-06-25 Andreas Schwab <schwab@suse.de>
3725
3726 [BZ #17086]
3727 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3728 scalbln, scalblnf, scalblnl in libc.
3729
911422da
SP
37302014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3731
3732 [BZ #17086]
3733 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3734 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3735 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3736
0d749bbe
RM
37372014-06-24 Roland McGrath <roland@hack.frob.com>
3738
3739 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3740 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3741 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3742 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3743 Update #include.
3744 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3745 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3746 Update #include.
3747 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3748 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3749 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3750 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3751 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3752 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3753 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3754 * sysdeps/x86/bits/semaphore.h: ... here.
3755 * sysdeps/x86/nptl/elide.h: Moved ...
3756 * sysdeps/x86/elide.h: ... here.
3757 * sysdeps/x86_64/nptl/Implies: File removed.
3758 * sysdeps/i386/nptl/Implies: File removed.
3759
0ea5d373
JM
37602014-06-24 Joseph Myers <joseph@codesourcery.com>
3761
4060283d
JM
3762 [BZ #16539]
3763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3764 return the argument for normal arguments with exponent below -64.
3765 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3766 Likewise.
3767 * math/auto-libm-test-in: Add another test of expm1.
3768 * math/auto-libm-test-out: Regenerated.
3769
e7dd3c8c
JM
3770 [BZ #16287]
3771 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3772 calling __erfcl for arguments at least 16.
3773 * math/auto-libm-test-in: Add more tests of erf.
3774 * math/auto-libm-test-out: Regenerated.
3775
0ea5d373
JM
3776 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3777 individual architectures.
3778 * sysdeps/unix/sysv/linux/configure: Regenerated.
3779 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3780 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3781 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3782 (ldd_rewrite_script): Define variable.
3783 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3785 file.
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3787 generated file.
3788 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3789 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3790 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3791 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3792 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3793 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3794 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3795 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3796
2307e126
SP
37972014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3798
3799 [BZ #17084]
3800 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3801 Rename member __data.d to __data.__elision_data.
3802
c0a4ed77
W
38032014-06-24 Wilco <wdijkstr@arm.com>
3804
3805 * NEWS: Add 16918 to fixed bug list.
3806
b8c00573
W
38072014-06-24 Wilco <wdijkstr@arm.com>
3808
3809 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3810
b5570d92
W
38112014-06-24 Wilco <wdijkstr@arm.com>
3812
3813 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3814 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3815 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3816 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3817 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3818 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3819 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3820 Use _FPU_MASK_RM.
3821
947bdca2
W
38222014-06-24 Wilco <wdijkstr@arm.com>
3823
3824 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3825
00f669ed
W
38262014-06-24 Wilco <wdijkstr@arm.com>
3827
3828 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3829 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3830 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3831 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3832
db59bad3
W
38332014-06-24 Wilco <wdijkstr@arm.com>
3834
3835 [BZ #16918]
3836 * sysdeps/arm/feupdateenv.c (feupdateenv):
3837 Rewrite to reduce FPSCR accesses and fix return value.
3838
001f7b77
W
38392014-06-24 Wilco <wdijkstr@arm.com>
3840
3841 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3842 Optimize to avoid unnecessary FPSCR writes.
3843 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3844 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3845 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3846 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3847
4841e6a6
W
38482014-06-24 Wilco <wdijkstr@arm.com>
3849
3850 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3851 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3852 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3853 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3854 Call libc_fetestexcept_vfp.
3855 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3856 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3857 __SOFTFP__ ifdef so that they can be built for softfp.
3858
0813022c
SP
38592014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3860
08e5862f
SP
3861 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3862 argument type signed char.
3863
0813022c
SP
3864 * Makerules (check-abi): Dump diff of symlist if the test
3865 fails.
3866
3fc7236a
RM
38672014-06-23 Roland McGrath <roland@hack.frob.com>
3868
aba8ef95
RM
3869 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3870 using abort.
3871
3fc7236a
RM
3872 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3873 Remove unused variable ST.
3874
4da6db51
JM
38752014-06-23 Joseph Myers <joseph@codesourcery.com>
3876
4648909d
JM
3877 [BZ #16354]
3878 [BZ #17061]
3879 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3880 small arguments before calling __expm1.
3881 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3882 small arguments before calling __expm1f.
3883 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3884 small arguments before calling __expm1l.
3885 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3886 Likewise.
3887 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3888 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3889 spurious underflow for some cosh tests.
3890 * math/auto-libm-test-out: Regenerated.
3891 * sysdeps/i386/fpu/libm-test-ulps: Update.
3892
46a3d3c7
JM
3893 [BZ #17050]
3894 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3895 (__ieee754_y1): Set errno if return value overflows.
3896 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3897 (__ieee754_y1f): Set errno if return value overflows.
3898 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3899 (__ieee754_y1l): Set errno if return value overflows.
3900 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3901 (__ieee754_y1l): Set errno if return value overflows.
3902 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3903 * math/auto-libm-test-out: Regenerated.
3904
863893ec
JM
3905 * math/gen-auto-libm-tests.c: Document use of
3906 ignore-zero-inf-sign.
3907 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3908 (input_flags): Add ignore-zero-inf-sign.
3909 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3910 * math/gen-libm-test.pl (generate_testfile): Handle
3911 ignore-zero-inf-sign.
3912 * math/auto-libm-test-in: Mark some cpow tests with
3913 ignore-zero-inf-sign and some with xfail-rounding.
3914 * math/auto-libm-test-out: Regenerated.
3915 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3916 * sysdeps/i386/fpu/libm-test-ulps: Update.
3917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3918
4da6db51
JM
3919 [BZ #16315]
3920 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3921 overflowing or underflowing operations take place with sign of
3922 result.
3923 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3924 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3925 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3926 (__ieee754_pow): Recompute overflowing and underflowing results in
3927 original rounding mode.
3928 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3929 (__powl_helper): Allow negative argument X and scale negated value
3930 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3931 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3932 overflowing or underflowing operations take place with sign of
3933 result.
3934 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3935 Include <math.h>.
3936 * math/auto-libm-test-in: Add more tests of pow.
3937 * math/auto-libm-test-out: Regenerated.
3938 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3939 (pow_tonearest_test_data): Remove.
3940 (pow_test_tonearest): Likewise.
3941 (pow_towardzero_test_data): Likewise.
3942 (pow_test_towardzero): Likewise.
3943 (pow_downward_test_data): Likewise.
3944 (pow_test_downward): Likewise.
3945 (pow_upward_test_data): Likewise.
3946 (pow_test_upward): Likewise.
3947 (main): Don't call removed functions.
3948 * sysdeps/i386/fpu/libm-test-ulps: Update.
3949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3950
5686b236
RM
39512014-06-23 Roland McGrath <roland@hack.frob.com>
3952
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3954 Moved ...
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3957 Moved ...
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3960 Moved ...
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3963 Moved ...
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3966 File removed.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3968 File removed.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3970 File removed.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3972 File removed.
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3974 File removed.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3976 File removed.
3977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3978 File removed.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3980 File removed.
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3982 File removed.
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3984 File removed.
3985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3986 File removed.
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3988 File removed.
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3990 Moved ...
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3993 Moved ...
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3995 ... here.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3997 Moved ...
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4000 Moved ...
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4003 Moved ...
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4006 Moved ...
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4009 Moved ...
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4012 Moved ...
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4015 Moved ...
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4019 ... here.
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4021 Moved ...
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4024 Moved ...
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4026 ... here.
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4028 Moved ...
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4030 ... here.
4031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4032 Moved ...
4033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4034 ... here.
4035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4036 Moved ...
4037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4039 Moved ...
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4044 Moved ...
4045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4046 ... here.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4048 Moved ...
4049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4050 ... here.
4051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4052 Moved ...
4053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4055 Moved ...
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4058 Moved ...
4059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4061 Moved ...
4062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4064 Moved ...
4065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4066 ... here.
4067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4068 Moved ...
4069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4071 Moved ...
4072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4074 Moved ...
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4077 Moved ...
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4082 Moved ...
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4085 Moved ...
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4088 Moved ...
4089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4090 ... here.
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4092 Moved ...
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4094 ... here.
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4096 Moved ...
4097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4098 ... here.
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4100 Moved ...
4101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4103 Moved ...
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4106 Moved ...
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4109 Moved ...
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4111 ... here.
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4113 Moved ...
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4115 ... here.
4116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4117 Moved ...
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4119 ... here.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4121 Moved ...
4122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4124 Moved ...
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4126
e6d90d67
WD
41272014-06-23 Will Newton <will.newton@linaro.org>
4128 Wilco <wdijkstr@arm.com>
4129
4130 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4131 implementation. Include get-rounding-mode.h.
4132 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4133 [!libc_feholdsetround_noex_ctx]: Define
4134 libc_feholdsetround_noex_ctx.
4135 [!libc_feholdsetround_noexf_ctx]: Define
4136 libc_feholdsetround_noexf_ctx.
4137 [!libc_feholdsetround_noexl_ctx]: Define
4138 libc_feholdsetround_noexl_ctx.
4139 (libc_feholdsetround_ctx): New function.
4140 (libc_feresetround_ctx): New function.
4141 (libc_feholdsetround_noex_ctx): New function.
4142 (libc_feresetround_noex_ctx): New function.
4143
d42df555
RM
41442014-06-23 Roland McGrath <roland@hack.frob.com>
4145
88a46474
RM
4146 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4147 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4148 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4149 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4150 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4151 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4152
15bed472
RM
4153 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4154 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4155 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4156 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4157 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4158 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4159 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4160 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4162 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4163 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4164 Moved ...
4165 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4166 ... here.
4167 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4168 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4169 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4170 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4171 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4172 Moved ...
4173 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4177 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4179 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4181 Moved ...
4182 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4184 Moved ...
4185 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4186 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4187 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4188 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4189 Moved ...
4190 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4191 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4192 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4193 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4194 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4195 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4196 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4197 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4198 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4199 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4200 Moved ...
4201 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4202 ... here.
4203 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4204 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4205 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4206 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4207 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4208 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4209 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4210 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4211 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4212 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4213 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4214 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4215 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4216 Moved ...
4217 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4221 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4223 Moved ...
4224 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4225 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4226 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4227 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4228 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4229
d42df555
RM
4230 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4231 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4232 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4233 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4234 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4235 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4236 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4237 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4239 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4240 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4241 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4242 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4243 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4244 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4245 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4246 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4247 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4248 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4249 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4250 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4251 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4252 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4253 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4254 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4255 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4256 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4257 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4258
76e5216e
JM
42592014-06-23 Joseph Myers <joseph@codesourcery.com>
4260
4261 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4262 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4263 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4264 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4265 (IPV6_PMTUDISC_INTERFACE): Likewise.
4266 (IPV6_PMTUDISC_OMIT): Likewise.
4267
7a81cbcc
AS
42682014-06-23 Andreas Schwab <schwab@suse.de>
4269
4270 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4271 Remove unused errout label.
4272
db224009
AZ
42732014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4274
4275 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4276 macro: hardware supports Vector Crypto instructions.
4277
f393b4aa
WN
42782014-06-23 Will Newton <will.newton@linaro.org>
4279
cc7d0447
WN
4280 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4281 rather than __builtin_expect.
4282
d6d06225
WN
4283 * elf/dl-lookup.c (undefined_msg): Remove variable.
4284 (_dl_lookup_symbol_x): Replace undefined_msg with string
4285 literal.
4286
f393b4aa
WN
4287 * elf/dl-lookup.c (do_lookup_unique): New function.
4288 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4289 to a separate function.
4290
ac60763e
AS
42912014-06-23 Andreas Schwab <schwab@suse.de>
4292
4293 [BZ #17079]
4294 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4295 before reading the next line.
4296
c5c13355
WN
42972014-06-23 Will Newton <will.newton@linaro.org>
4298
4299 * test-skeleton.c (signal_handler): Use printf and %m
4300 rather than perror. Use printf rather than fprintf to
4301 stderr. Use puts rather than fputs to stderr.
4302 (main): Likewise.
4303
bd3675f9
LC
43042014-06-22 Ludovic Courtès <ludo@gnu.org>
4305
4306 * nscd/nscd.c (thread_info_t): Remove typedef.
4307 (thread_info): Remove variable.
4308
d03efb2f
AM
43092014-06-21 Allan McRae <allan@archlinux.org>
4310
4311 * NEWS: Mention CVE-2014-4043.
4312
bc4a86fa
RM
43132014-06-20 Roland McGrath <roland@hack.frob.com>
4314
dc9a54f8
RM
4315 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4316 * nptl/smp.h: ... here.
4317
bd7022c4
RM
4318 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4319
26ffd5e6
RM
4320 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4321 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4322 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4323 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4324
93a6d082
RM
4325 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4326 * nptl/stack-aliasing.h: New file.
4327 * sysdeps/i386/i686/stack-aliasing.h: New file.
4328 * sysdeps/i386/i686/nptl/Makefile: File removed.
4329 * sysdeps/x86_64/stack-aliasing.h: New file.
4330 * sysdeps/x86_64/nptl/Makefile
4331 (CFLAGS-pthread_create.c): Variable removed.
4332
bc4a86fa
RM
4333 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4334 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4335 old file.
4336 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4337 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4338 old file.
4339
2272ffc1
JM
43402014-06-21 Joseph Myers <joseph@codesourcery.com>
4341
4342 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4343 (__ASSUME_SIGFRAME_V2): Remove macro.
4344 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4345 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4346 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4347 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4348 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4349 Declare as function. Remove conditional macro definitions.
4350 (__default_rt_sa_restorer): Likewise.
4351 (__default_sa_restorer_v1): Remove declaration.
4352 (__default_sa_restorer_v2): Likewise.
4353 (__default_rt_sa_restorer_v1): Likewise.
4354 (__default_rt_sa_restorer_v2): Likewise.
4355 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4356 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4357 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4358
4b88139b
RM
43592014-06-20 Roland McGrath <roland@hack.frob.com>
4360
4361 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4362 (libpthread-routines): Add sysdep.
4363 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4364 * sysdeps/unix/sysv/linux/sparc/Versions
4365 (libpthread: GLIBC_2.3.3): New version set.
4366 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4367 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4368 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4369 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4370 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4371 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4372 Moved ...
4373 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4374 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4375 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4376 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4377 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4378 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4379 * sysdeps/sparc/nptl/sem_init.c: ... here.
4380 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4381 * sysdeps/sparc/nptl/sem_post.c: ... here.
4382 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4383 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4384 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4385 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4387 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4388 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4389 (libpthread-routines): Add cpu_relax.
4390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4391 File removed.
4392 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4393 (librt: GLIBC_2.3.3): New version set.
4394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4395 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4396 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4397 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4400 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4402 Moved ...
4403 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4404 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4405 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4407 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4409 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4411 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4413 Moved ...
4414 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4415 Update #include.
4416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4417 Moved ...
4418 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4419 Update #include.
4420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4421 Moved ...
4422 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4423 Update #include.
4424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4425 Moved ...
4426 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4427 Update #include.
4428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4429 Moved ...
4430 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4431 Update #include.
4432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4433 Moved ...
4434 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4435 Update #include.
4436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4437 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4443 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4445 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4447 Moved ...
4448 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4450 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4452 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4453
d7109027
JM
44542014-06-20 Joseph Myers <joseph@codesourcery.com>
4455
9bc6103d
JM
4456 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4457 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4458 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4459 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4460 * nscd/nscd.c: Likewise.
4461 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4462 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4463 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4464 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4465
d7109027
JM
4466 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4467 <kernel-features.h>.
4468 (init_mq_netlink): Remove conditional have_sock_cloexec
4469 definitions. Remove code conditional on have_sock_cloexec < 0.
4470 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4471 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4472 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4473 <kernel-features.h>.
4474 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4475 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4476
d92d8f8a
L
44772014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4478
4479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4480 Add tests for memset_chk and memset.
4481
4482 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4483 with AVX2_Usable.
4484
4e6d2347
MR
44852014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4486
257ce712
MR
4487 [BZ #16046]
4488 * elf/tst-dl-iter-static.c: New file.
4489 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4490
4e6d2347
MR
4491 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4492 error.
4493
a2a76afe
JM
44942014-06-20 Joseph Myers <joseph@codesourcery.com>
4495
7fd00f99
JM
4496 * sysdeps/unix/sysv/linux/kernel-features.h
4497 (__ASSUME_F_GETOWN_EX): Remove macro.
4498 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4499 <kernel-features.h>.
4500 (miss_F_GETOWN_EX): Remove variable or macro.
4501 (do_fcntl): Do not check miss_F_GETOWN_EX.
4502 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4503
4a103975
JM
4504 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4505 Remove macro.
4506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4507 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4508 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4509
a2a76afe
JM
4510 * sysdeps/unix/sysv/linux/kernel-features.h
4511 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4512 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4513 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4514 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4515
90e5dd48
MR
45162014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4517
4518 [BZ #17075]
4519 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4520 Fix calculation of the symbol's value.
4521 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4522 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4523 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4524 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4525 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4526 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4527 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4528 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4529 (modules-names): Add `tst-armtlsdescmod',
4530 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4531 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4532 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4533 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4534 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4535 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4536 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4537 ($(objpfx)tst-armtlsdescloc): New dependency.
4538 ($(objpfx)tst-armtlsdescextnow): Likewise.
4539 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4540 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4541 TLS scheme support.
4542 * sysdeps/arm/configure: Regenerate.
4543
809fdf0d
JM
45442014-06-20 Joseph Myers <joseph@codesourcery.com>
4545
4546 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4547 (__atfct_seterrno_2): Likewise.
4548 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4549 <kernel-features.h>.
4550 (__ASSUME_ATFCTS): Do not undefine and redefine.
4551 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4552 (__have_atfcts): Remove conditional definition.
4553 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4554 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4555 unreachable if [__ASSUME_ATFCTS].
4556 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4557 not undefine and redefine.
4558 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4559 <kernel-features.h>.
4560 (faccessat) [__NR_faccessat]: Make code unconditional.
4561 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4562 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4563 <kernel-features.h>.
4564 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4565 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4566 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4567 <kernel-features.h>.
4568 (fchownat) [__NR_fchownat]: Make code unconditional.
4569 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4570 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4571 <kernel-features.h>.
4572 (futimesat) [__NR_futimesat]: Make code unconditional.
4573 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4574 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4575 <kernel-features.h>.
4576 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4577 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4578 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4579 <kernel-features.h>.
4580 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4581 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4582 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4583 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4584 <kernel-features.h>.
4585 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4586 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4587 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4588 <kernel-features.h>.
4589 (linkat) [__NR_linkat]: Make code unconditional.
4590 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4591 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4592 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4593 <kernel-features.h>.
4594 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4595 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4596 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4597 <kernel-features.h>.
4598 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4599 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4600 * sysdeps/unix/sysv/linux/openat.c: Do not include
4601 <kernel-features.h>.
4602 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4603 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4604 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4605 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4606 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4607 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4608 <kernel-features.h>.
4609 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4610 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4611 result of INLINE_SYSCALL directly, not via int variable.
4612 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4613 <kernel-features.h>.
4614 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4615 (renameat) [__NR_renameat]: Make code unconditional.
4616 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4617 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4618 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4619 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4620 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4621 (__ASSUME_ATFCTS): Do not undefine and redefine.
4622 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4623 <kernel-features.h>.
4624 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4625 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4626 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4627 <kernel-features.h>.
4628 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4629 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4630 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4631 (__ASSUME_ATFCTS): Do not undefine and redefine.
4632 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4633 <kernel-features.h>.
4634 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4635 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4636 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4637 <kernel-features.h>.
4638 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4639 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4640
224c6c51
L
46412014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4642
4643 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4644
aa6ec754
AS
46452014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4646
4647 [BZ #17069]
4648 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4649 constructed tree before returning error.
4650 * posix/bug-regexp36.c: Expand test case.
4651
d8c2869d
SL
46522014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4653
3ef6b850
SL
4654 [BZ #6803]
4655 * math/libm-test.inc (scalbln_test_date):
4656 Add errno expectations.
4657 * math/w_scalblnf.c: New File.
4658 Add wrapper which checks for setting errno to ERANGE.
4659 Add weak_alias for corresponding scalbln function.
4660 * math/w_scalbln.c: Likewise.
4661 * math/w_scalblnl.c: Likewise.
4662 * math/Makefile (libm-calls): Add w_scalbln.
4663 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4664 Remove weak_alias for corresponding scalbln function.
4665 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4667 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4669 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4670 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4671 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4672 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4673 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4674 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4675 Remove long_double_symbol for scalblnl function in libm, libc.
4676 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4677 Add wrapper which checks for setting errno to ERANGE.
4678 Add long_double_symbol for scalblnl function in libm, libc.
4679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4680 Remove long_double_symbol for scalblnl in libm.
4681 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4682 Add wrapper which checks for setting errno to ERANGE.
4683 Add long_double_symbol for scalblnl function in libm.
4684 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4685 Do not use wrapper because of own implementation.
4686
c8daec5c
L
46872014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4688
4689 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4690 3 bytes for __pad1 for x32.
4691 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4692
5c74e47c
LM
46932014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4694 H.J. Lu <hongjiu.lu@intel.com>
4695
4696 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4697 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4698 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4699 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4700 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4701
4d43ef1e
AS
47022014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4703
4704 [BZ #17069]
4705 * posix/regcomp.c (parse_expression): Deallocate partially
4706 constructed tree before returning error.
4707 * posix/Makefile.c (tests): Add bug-regex36.
4708 (generated): Add bug-regex36.mtrace.
4709 (tests-special): Add $(objpfx)bug-regex36-mem.out
4710 (bug-regex36-ENV): New variable.
4711 ($(objpfx)bug-regex36-mem.out): New rule.
4712 * posix/bug-regex36.c: New file.
4713
51a7380b
WN
47142014-06-19 Will Newton <will.newton@linaro.org>
4715
4716 * malloc/malloc.c (systrim): If extra is zero then return
4717 early.
4718
91b84fe5
SP
47192014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4720
4721 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4722
f940b965
RE
47232014-06-19 Richard Earnshaw <rearnsha@arm.com>
4724
4725 * sysdeps/aarch64/strchr.S: New file.
4726
4ba7a00f
JM
47272014-06-18 Joseph Myers <joseph@codesourcery.com>
4728
4729 [BZ #17022]
4730 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4731 from arguments -2 or below.
4732 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4733 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4734
b3a9f56b
AS
47352014-06-18 Andreas Schwab <schwab@suse.de>
4736
4737 [BZ #17062]
4738 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4739 of a bracket expr not to run off the end of the string.
4740 * posix/Makefile (tests): Add tst-fnmatch3.
4741 * posix/tst-fnmatch3.c: New file.
4742
85d89278
JM
47432014-06-18 Joseph Myers <joseph@codesourcery.com>
4744
4745 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4746 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4747 [$(cross-compiling) = no]: Likewise.
4748 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4749 [$(cross-compiling) = no]: Likewise.
4750
754c5a08
RS
47512014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4752
4753 [BZ #17031]
4754 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4755 double, adjusted for any remainder from the high double.
4756 * math/libm-test.inc (nearbyint): Add tests.
4757 (rint): Likewise.
4758
556f529d
AZ
47592014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4760
4761 * nptl/sysdeps/powerpc/Makefile: Moved ...
4762 * sysdeps/powerpc/nptl/Makefile: ... here.
4763 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4764 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4765 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4766 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4767 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4768 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4769 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4770 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4771 * nptl/sysdeps/powerpc/tls.h: Moved ...
4772 * sysdeps/powerpc/nptl/tls.h: ... here.
4773
91c03c53
JM
47742014-06-16 Joseph Myers <joseph@codesourcery.com>
4775
4776 [BZ #16681]
4777 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4778 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4779 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4780 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4781 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4782 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4783 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4784 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4785 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4786
a76e63c5
AS
47872014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4788
4789 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4790
f2f6d82f
AS
47912014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4792
ea8a15f6
AS
4793 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4794 defined operator.
4795
f2f6d82f
AS
4796 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4797 $TIMEOUTFACTOR.
4798
a7291117
FW
47992014-06-16 Florian Weimer <fweimer@redhat.com>
4800
4801 [BZ #17058]
4802 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4803 non-executed part of the test.
4804
3d7c00e3
AS
48052014-06-16 Andreas Schwab <schwab@suse.de>
4806
4807 * string/bits/string2.h (strdup, strndup): Update feature guard.
4808
6957fb31
DM
48092014-06-14 David S. Miller <davem@davemloft.net>
4810
4811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4812
11b9e55b
AS
48132014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4814
1d2a0492
AS
4815 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4816 that was previously under [RESET_PID].
4817 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4818
11b9e55b
AS
4819 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4820 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4821 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4822 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4823 (__libc_vfork): New strong alias.
4824 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4825
0f6901d0
AK
48262014-06-14 Andi Kleen <ak@linux.intel.com>
4827
4828 * sysdeps/generic/elide.h: New file.
4829
38bbbb9f
SL
48302014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4831
4832 * Makefile (installed-headers): Adjust path of pthread.h header.
4833
45193bb8
RM
48342014-06-13 Roland McGrath <roland@hack.frob.com>
4835
9a25fd1e
RM
4836 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4837 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4838 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4839 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4840
4004f7e4
RM
4841 * nptl/sysdeps/s390/Makefile: Moved ...
4842 * sysdeps/s390/nptl/Makefile: ... here.
4843 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4844 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4845 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4846 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4847 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4848 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4849 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4850 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4851 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4852 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4853 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4854 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4855 * nptl/sysdeps/s390/tls.h: Moved ...
4856 * sysdeps/s390/nptl/tls.h: ... here.
4857
45193bb8
RM
4858 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4859 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4860
f6fdf533
DM
48612014-06-13 David S. Miller <davem@davemloft.net>
4862
4863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4866 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4870 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4871 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4872 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4873 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4874 Remove RESET_PID cpp guards.
4875 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4876 Remove RESET_PID cpp guards.
4877 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4878
f5d71e14
AS
48792014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4880
4881 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4882 __sp to uintptr_t.
4883
b7aa8caa
AK
48842014-06-13 Andi Kleen <ak@linux.intel.com>
4885
4b266200
AZ
4886 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4887 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4888 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4889 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4890 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4891 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4892 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4893 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4894 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4895 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4896 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4897 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4898 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4899 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4900 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4901 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4902 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4903 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4904 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4905 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
4906
4907 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
4908 (pthread_rwlock_rdlock): Add elision.
4909 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4910 (pthread_rwlock_wrlock): Add elision.
4911 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4912 (pthread_rwlock_trywrlock): Add elision.
4913 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4914 (pthread_rwlock_tryrdlock): Add elision.
4915 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4916 (pthread_rwlock_tryrdlock): Add elision unlock.
4917 * nptl/sysdeps/pthread/pthread.h:
4918 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4919 (PTHREAD_RWLOCK_INITIALIZER,
4920 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4921 Handle new elision field.
4922 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4923 * sysdeps/arm/nptl/bits/pthreadtypes.h
4924 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4925 * sysdeps/sh/nptl/bits/pthreadtypes.h
4926 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4927 * sysdeps/tile/nptl/bits/pthreadtypes.h
4928 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4929 * sysdeps/a/nptl/bits/pthreadtypes.h
4930 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4931 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4932 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4933 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4935 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4936 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4937 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4938 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4939 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4940 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4941 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4942 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4943 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4944 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4945 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4946 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4947 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4948 (elision_init): Set try_xbegin to zero when no RTM.
4949 * sysdeps/x86/nptl/bits/pthreadtypes.h
4950 (pthread_rwlock_t): Change __pad1 to __rwelision.
4951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 4952
a832bdd3
AK
49532014-06-13 Andi Kleen <ak@linux.intel.com>
4954
4955 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4956 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4957 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4958 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4959
995a46bb
MI
49602014-06-13 Meador Inge <meadori@codesourcery.com>
4961
4962 [BZ #16996]
03ed7738 4963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
4964 that the cached result has been set before returning it.
4965
45262aee
RM
49662014-06-12 Roland McGrath <roland@hack.frob.com>
4967
febf6cc5
RM
4968 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4969 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4970 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4971 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4972 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4973 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4974
e2682246
RM
4975 * nptl/sysdeps/sparc/Makefile: Moved ...
4976 * sysdeps/sparc/nptl/Makefile: ... here.
4977 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4978 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4979 * nptl/sysdeps/sparc/tls.h: Moved ...
4980 * sysdeps/sparc/nptl/tls.h: ... here.
4981 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4982 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4983 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4984 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4985 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4986 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4987 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4988 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4989 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4990 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4991 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4992 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4993 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4994 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4995 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4996 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4997 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4998 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4999 Update #include.
5000 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5001 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5002 Update #include.
5003 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5004 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5005 Update #include.
5006 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5007 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5008 Update #include.
5009
b0725f43
RM
5010 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5011
b14368b8
RM
5012 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5013 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5014
c5620eb3
RM
5015 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5016 (struct list_links): Type removed.
5017 (struct thread_node, struct timer_node): Replace struct list_links
5018 with struct list_head.
5019 (list_unlink_ip): Likewise.
5020 * sysdeps/pthread/timer_routines.c
5021 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5022 (list_append, list_insbefore): Likewise.
5023 (list_init): Function removed.
5024 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5025 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5026 * sysdeps/pthread/Makefile: ... here, new file.
5027
5028 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5029 * sysdeps/nptl/Implies: ... here.
5030 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5031 * nptl/sysdeps/pthread/list.h: Moved ...
5032 * include/list.h: ... here.
5033 * nptl/sysdeps/pthread/createthread.c: Moved ...
5034 * nptl/createthread.c: ... here.
5035 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5036 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5037 * nptl/pt-longjmp.c: ... here.
5038 * nptl/sysdeps/pthread/Makefile: Moved ...
5039 * sysdeps/nptl/Makefile: ... here.
5040 * nptl/sysdeps/pthread/Subdirs: Moved ...
5041 * sysdeps/nptl/Subdirs: ... here.
5042 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5043 * sysdeps/nptl/aio_misc.h: ... here.
5044 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5045 * sysdeps/nptl/bits/libc-lock.h: ... here.
5046 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5047 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5048 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5049 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5050 * nptl/sysdeps/pthread/configure: Moved ...
5051 * sysdeps/nptl/configure: ... here.
5052 * nptl/sysdeps/pthread/configure.ac: Moved ...
5053 * sysdeps/nptl/configure.ac: ... here.
5054 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5055 * sysdeps/nptl/gai_misc.h: ... here.
5056 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5057 * sysdeps/nptl/librt-cancellation.c: ... here.
5058 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5059 * sysdeps/nptl/malloc-machine.h: ... here.
5060 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5061 * sysdeps/nptl/pthread-functions.h: ... here.
5062 * nptl/sysdeps/pthread/pthread.h: Moved ...
5063 * sysdeps/nptl/pthread.h: ... here.
5064 * nptl/sysdeps/pthread/setxid.h: Moved ...
5065 * sysdeps/nptl/setxid.h: ... here.
5066 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5067 * sysdeps/nptl/sigfillset.c: ... here.
5068 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5069 * sysdeps/nptl/tcb-offsets.h: ... here.
5070 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5071 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5072 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5073 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5074 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5075 * sysdeps/pthread/allocalim.h: ... here.
5076 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5077 * sysdeps/pthread/bits/sigthread.h: ... here.
5078 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5079 * sysdeps/pthread/flockfile.c: ... here.
5080 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5081 * sysdeps/pthread/ftrylockfile.c: ... here.
5082 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5083 * sysdeps/pthread/funlockfile.c: ... here.
5084 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5085 * sysdeps/pthread/posix-timer.h: ... here.
5086 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5087 * sysdeps/pthread/timer_create.c: ... here.
5088 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5089 * sysdeps/pthread/timer_delete.c: ... here.
5090 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5091 * sysdeps/pthread/timer_getoverr.c: ... here.
5092 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5093 * sysdeps/pthread/timer_gettime.c: ... here.
5094 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5095 * sysdeps/pthread/timer_routines.c: ... here.
5096 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5097 * sysdeps/pthread/timer_settime.c: ... here.
5098 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5099 * sysdeps/pthread/tst-timer.c: ... here.
5100 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5101 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5102
e876b090
RM
5103 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5104 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5105
f6b07b3d
RM
5106 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5107 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5108 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5109 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5110 Update #include target.
5111 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5112 * sysdeps/i386/i686/nptl/Makefile: ... here.
5113 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5114 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5115 Update #include target.
5116 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5117 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5118 * nptl/sysdeps/i386/Makefile: Moved ...
5119 * sysdeps/i386/nptl/Makefile: ... here.
5120 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5121 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5122 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5123 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5124 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5125 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5126 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5127 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5128 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5129 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5130 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5131 * nptl/sysdeps/i386/tls.h: Moved ...
5132 * sysdeps/i386/nptl/tls.h: ... here.
5133
45262aee
RM
5134 * sysdeps/sh/Makefile [$(subdir) = csu]
5135 (gen-as-const-headers): Add tcb-offsets.sym.
5136 * nptl/sysdeps/sh/Makefile: File removed.
5137 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5138 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5139 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5140 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5141 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5142 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5143 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5144 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5145 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5146 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5147 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5148 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5149 * nptl/sysdeps/sh/tls.h: Moved ...
5150 * sysdeps/sh/nptl/tls.h: ... here.
5151 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5152 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5153 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5154 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5155 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5156 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5157 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5158 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5159 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5160 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5161 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5162 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5163 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5164 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5165 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5166 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5167 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5168 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5169 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5170 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5171 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5172 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5174 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5176 Moved ...
5177 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5178 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5179 Moved ...
5180 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5181 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5182 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5183 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5184 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5185 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5186 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5187 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5188 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5190 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5191 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5192 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5193 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5194 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5195 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5196 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5197 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5198 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5199
35a5e3e3
SL
52002014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5201
5202 * posix/spawn_faction_addopen.c: Include string.h.
5203
14642b85
RM
52042014-06-11 Roland McGrath <roland@hack.frob.com>
5205
5206 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5207 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5208 * nptl/sysdeps/x86_64/Makefile: Moved ...
5209 * sysdeps/x86_64/nptl/Makefile: ... here.
5210 * nptl/sysdeps/x86_64/configure: Moved ...
5211 * sysdeps/x86_64/nptl/configure: ... here.
5212 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5213 * sysdeps/x86_64/nptl/configure.ac: ... here.
5214 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5215 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5216 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5217 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5218 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5219 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5220 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5221 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5222 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5223 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5224 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5225 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5226 * nptl/sysdeps/x86_64/tls.h: Moved ...
5227 * sysdeps/x86_64/nptl/tls.h: ... here.
5228 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5229 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5230 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5231 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5232
5233 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5234
31c44fea
AZ
52352014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5236
5237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5238
e81a4f9a
JM
52392014-06-11 Joseph Myers <joseph@codesourcery.com>
5240
5241 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5242 type.
5243 [POSIX] (off_t): Likewise.
5244 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5245 [POSIX] (S_ISBLK): Require macro.
5246 [POSIX] (S_ISCHR): Likewise.
5247 [POSIX] (S_ISDIR): Likewise.
5248 [POSIX] (S_ISFIFO): Likewise.
5249 [POSIX] (S_ISREG): Likewise.
5250 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5251 optional-macro.
5252 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5253 type.
5254 [POSIX] (time_t): Likewise.
5255 [POSIX] (timer_t): Likewise.
5256
89e435f3
FW
52572014-06-11 Florian Weimer <fweimer@redhat.com>
5258
5259 [BZ #17048]
5260 * posix/spawn_int.h (struct __spawn_action): Make the path string
5261 non-const to support deallocation.
5262 * posix/spawn_faction_addopen.c
5263 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5264 * posix/spawn_faction_destroy.c
5265 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5266 path in all spawn_do_open actions.
5267 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5268 posix_spawn_file_actions_addopen.
5269
c3a2ebe1
CM
52702014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5271
5272 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5273 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5274 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5275 conditional code always true.
5276 (__libc_vfork): New alias.
5277
9503784a
RM
52782014-06-11 Roland McGrath <roland@hack.frob.com>
5279
c9cab3d2
RM
5280 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5281 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5282
d3996c79
RM
5283 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5284
ba5ec611
RM
5285 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5286 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5287
f12b4814
RM
5288 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5289 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5290
9503784a
RM
5291 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5292 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5293
e23d3d26
VR
52942014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5295
5296 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5297 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5298 multiarch strcmp for PPC64.
5299 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5300 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5302 multiarch optimizations.
5303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5304 (__libc_ifunc_impl_list): Likewise.
5305
42b1161e
SP
53062014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5307
5308 * benchtests/scripts/validate_benchout.py: New script.
5309 * benchtests/Makefile (bench-func): Call it.
5310 * benchtests/scripts/benchout.schema.json: New file.
5311
2d0fc4dc
CM
53122014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5313
4a594c34
AZ
5314 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5315 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5316 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5317 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5318 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5319 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5320 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5321 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5322 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5323 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5324 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5325 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5326 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5327 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5328 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5329 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 5331 Moved ...
4a594c34 5332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 5333 ... here.
4a594c34 5334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 5335 Moved ...
4a594c34
AZ
5336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 5338 Moved ...
4a594c34 5339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 5340 ... here.
4a594c34 5341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 5342 Moved ...
4a594c34 5343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 5344 ... here.
4a594c34 5345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 5346 Moved ...
4a594c34
AZ
5347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 5349 Moved ...
4a594c34 5350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 5351 ... here.
4a594c34 5352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 5353 Moved ...
4a594c34 5354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 5355 ... here.
4a594c34 5356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 5357 Moved ...
4a594c34
AZ
5358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 5360 Moved ...
4a594c34 5361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 5362 ... here.
4a594c34 5363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 5364 Moved ...
4a594c34 5365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 5366 ... here.
4a594c34 5367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 5368 Moved ...
4a594c34 5369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 5370 ... here.
4a594c34 5371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 5372 Moved ...
4a594c34
AZ
5373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 5375 Moved ...
4a594c34 5376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 5377 ... here.
4a594c34 5378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 5379 Moved ...
4a594c34 5380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 5381 ... here.
4a594c34 5382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 5383 Moved ...
4a594c34 5384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 5385 ... here.
4a594c34 5386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 5387 Moved ...
4a594c34
AZ
5388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 5390 Moved ...
4a594c34 5391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 5392 ... here.
4a594c34 5393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 5394 Moved ...
4a594c34 5395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 5396 ... here.
4a594c34 5397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 5398 Moved ...
4a594c34
AZ
5399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 5401 Moved ...
4a594c34 5402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 5403 ... here.
4a594c34 5404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 5405 Moved ...
4a594c34
AZ
5406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 5408 Moved ...
4a594c34
AZ
5409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 5411 Moved ...
4a594c34 5412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 5413 ... here.
4a594c34 5414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 5415 Moved ...
4a594c34 5416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 5417 ... here.
4a594c34 5418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 5419 Moved ...
4a594c34 5420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 5421 ... here.
4a594c34 5422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 5423 Moved ...
4a594c34
AZ
5424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 5426 Moved ...
4a594c34 5427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 5428 ... here.
4a594c34 5429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 5430 Moved ...
4a594c34 5431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 5432 ... here.
4a594c34
AZ
5433 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5434 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5435 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5436 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5437 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 5438 Moved ...
4a594c34 5439 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 5440 ... here.
4a594c34
AZ
5441 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5442 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5443 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5444 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5445 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5446 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5448 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5450 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5451 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5452 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5453 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 5454 Moved ...
4a594c34
AZ
5455 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5456 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 5457 Moved ...
4a594c34
AZ
5458 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5459 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5460 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 5462 Moved ...
4a594c34
AZ
5463 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5464 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5465 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5466 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5467 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5468 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5469 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 5470
0570cfed
W
54712014-06-10 Wilco <wdijkstr@arm.com>
5472
5473 * math/test-fenv-return.c: New file.
5474 * math/Makefile: Add new test test-fenv-return.
5475
f8ba1b56
JM
54762014-06-10 Joseph Myers <joseph@codesourcery.com>
5477
5478 [BZ #17042]
5479 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5480 when x - 1 is zero.
5481 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5482 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5483 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5484 0.0L for an argument of 1.0L.
5485 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5486 Likewise.
5487 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5488 value when x - 1 is zero.
5489 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5490 * sysdeps/i386/fpu/libm-test-ulps: Update.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5492
2c3520d9
BO
54932014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5494
5495 [BZ #15119]
5496 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5497
acaa4d24
RM
54982014-06-09 Roland McGrath <roland@hack.frob.com>
5499
5500 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5501 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5502
962b744d
RM
55032014-06-09 Roland McGrath <roland@hack.frob.com>
5504
d752f0cc
RM
5505 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5506 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5507
34eda6d1
RM
5508 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5509 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5510
50f0a637
RM
5511 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5512 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5513
08f41f04
RM
5514 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5515 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5516
962b744d
RM
5517 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5518 if not already defined.
5519 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5520 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5521 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5522 (TLS_INIT_TP): Use it.
5523 (TLS_DEFINE_INIT_TP): New macro.
5524 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5525
09f19b05
JM
55262014-06-09 Joseph Myers <joseph@codesourcery.com>
5527
5528 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5529 constant.
5530 [POSIX] (IXANY): Likewise.
5531 [POSIX] (OLCUC): Likewise.
5532 [POSIX || POSIX2008] (CBAUD): Do not allow.
5533 [POSIX || POSIX2008] (DEFECHO): Likewise.
5534 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5535 [POSIX || POSIX2008] (ECHOKE): Likewise.
5536 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5537 [POSIX || POSIX2008] (EXTA): Likewise.
5538 [POSIX || POSIX2008] (EXTB): Likewise.
5539 [POSIX || POSIX2008] (FLUSHO): Likewise.
5540 [POSIX || POSIX2008] (LOBLK): Likewise.
5541 [POSIX || POSIX2008] (PENDIN): Likewise.
5542 [POSIX || POSIX2008] (SWTCH): Likewise.
5543 [POSIX || POSIX2008] (VDISCARD): Likewise.
5544 [POSIX || POSIX2008] (VDSUSP): Likewise.
5545 [POSIX || POSIX2008] (VLNEXT): Likewise.
5546 [POSIX || POSIX2008] (VREPRINT): Likewise.
5547 [POSIX || POSIX2008] (VSTATUS): Likewise.
5548 [POSIX || POSIX2008] (VWERASE): Likewise.
5549 (B*): Change to B[0123456789]*.
5550 * conform/data/time.h-data [POSIX || UNIX98]
5551 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5552 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5553 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5554 [POSIX] (tm_*): Do not allow.
5555
686554bf
JM
55562014-06-07 Joseph Myers <joseph@codesourcery.com>
5557
5558 * Makefile (install): Don't set LANGUAGE.
5559 * Makefile.in (install): Likewise.
5560 * assert/Makefile (test-assert-ENV): Remove variable.
5561 (test-assert-perr-ENV): Likewise.
5562 * elf/Makefile (neededtest4-ENV): Likewise.
5563 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5564 [$(cross-compiling) = no]: Don't set LANGUAGE.
5565 * io/ftwtest-sh (LANG): Remove variable.
5566 * libio/Makefile (tst-widetext-ENV): Likewise.
5567 * manual/install.texi (Running make install): Don't refer to
5568 environment settings for make install.
5569 * INSTALL: Regenerated.
5570 * nptl/tst-tls6.sh: Don't set LANG.
5571 * posix/globtest.sh (LANG): Remove variable.
5572 * string/Makefile (tester-ENV): Likewise.
5573 (inl-tester-ENV): Likewise.
5574 (noinl-tester-ENV): Likewise.
5575 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5576 [$(cross-compiling) = no]: Don't set LANGUAGE.
5577 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5578 without explicit environment settings.
5579
68e6b6b1
RM
55802014-06-06 Roland McGrath <roland@hack.frob.com>
5581
5582 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5583 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5584 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5585 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5586
4d3ae034
CM
55872014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5588
5589 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5590 other files in the crypt directory.
5591 * crypt/crypt.c: Remove duplicate includes.
5592 * crypt/crypt-entry.c: Likewise.
5593 * crypt/crypt_util.c: Likewise.
5594
8540f6d2
JM
55952014-06-06 Joseph Myers <joseph@codesourcery.com>
5596
5597 * Makeconfig (run-program-env): New variable.
5598 (run-program-prefix-before-env): Likewise.
5599 (run-program-prefix-after-env): Likewise.
5600 (run-program-prefix): Define in terms of new variables.
5601 (built-program-cmd-before-env): New variable.
5602 (built-program-cmd-after-env): Likewise.
5603 (built-program-cmd): Define in terms of new variables.
5604 (test-program-prefix-before-env): New variable.
5605 (test-program-prefix-after-env): Likewise.
5606 (test-program-prefix): Define in terms of new variables.
5607 (test-program-cmd-before-env): New variable.
5608 (test-program-cmd-after-env): Likewise.
5609 (test-program-cmd): Define in terms of new variables.
5610 * Rules (make-test-out): Use $(run-program-env).
5611 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5612 (help): Do not mention environment variables. Mention
5613 --timeoutfactor option.
5614 (timeoutfactor): New variable.
5615 (blacklist_exports): Remove function.
5616 (exports): Remove variable.
5617 (command): Do not include ${exports}.
5618 * manual/install.texi (Configuring and compiling): Do not mention
5619 test wrappers preserving environment variables. Mention that last
5620 assignment to a variable must take precedence.
5621 * INSTALL: Regenerated.
5622 * benchtests/Makefile (run-bench): Use $(run-program-env).
5623 * catgets/Makefile ($(objpfx)test1.cat): Use
5624 $(built-program-cmd-before-env), $(run-program-env) and
5625 $(built-program-cmd-after-env).
5626 ($(objpfx)test2.cat): Do not specify environment variables
5627 explicitly.
5628 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5629 $(run-program-env) and $(built-program-cmd-after-env).
5630 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5631 $(run-program-env) and $(test-program-cmd-after-env).
5632 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5633 explicitly.
5634 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5635 run_program_env and test_program_cmd_after_env arguments.
5636 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5637 * elf/tst-pathopt.sh: Use run_program_env argument.
5638 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5639 $(test-wrapper-env) and $(run-program-env).
5640 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5641 run_program_env arguments.
5642 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5643 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5644 $(test-program-prefix-before-env), $(run-program-env) and
5645 $(test-program-prefix-after-env).
5646 ($(objpfx)tst-gettext2.out): Likewise.
5647 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5648 run_program_env and test_program_prefix_after_env arguments.
5649 * intl/tst-gettext2.sh: Likewise.
5650 * intl/tst-gettext4.sh: Do not set environment variables
5651 explicitly.
5652 * intl/tst-gettext6.sh: Likewise.
5653 * intl/tst-translit.sh: Likewise.
5654 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5655 $(test-program-prefix-before-env), $(run-program-env) and
5656 $(test-program-prefix-after-env).
5657 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5658 run_program_env and test_program_prefix_after_env arguments.
5659 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5660 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5661 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5662 explicitly with each use of ${test_wrapper_env}.
5663 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5664 $(test-program-prefix-before-env), $(run-program-env) and
5665 $(test-program-prefix-after-env).
5666 * posix/tst-getconf.sh: Do not set environment variables
5667 explicitly.
5668 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5669 run_program_env and test_program_prefix_after_env arguments.
5670 * stdio-common/tst-printf.sh: Do not set environment variables
5671 explicitly.
5672 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5673 $(test-program-prefix-before-env), $(run-program-env) and
5674 $(test-program-prefix-after-env).
5675 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5676 run_program_env and test_program_prefix_after_env arguments.
5677 Split $test calls into $test_pre and $test.
5678 * timezone/Makefile (build-testdata): Use
5679 $(built-program-cmd-before-env), $(run-program-env) and
5680 $(built-program-cmd-after-env).
5681
ed36bfa1
AZ
56822014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5683
5684 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5685 strlen for non SHARED builds.
5686
fc75bf46
SP
56872014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5688
5689 * nptl/allocatestack.c (check_list): Inlined function...
5690 (__reclaim_stacks): ... here.
5691
d89b3d80
OB
56922014-06-05 Ondřej Bílka <neleai@seznam.cz>
5693
5694 [BZ #15698]
5695 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5696 memory overrun.
5697
2bf18041
JM
56982014-06-05 Joseph Myers <joseph@codesourcery.com>
5699
5700 * Rules (make-test-out): Include
5701 LOCPATH=$(common-objpfx)localedata in default environment.
5702 * debug/Makefile (tst-chk1-ENV): Remove variable.
5703 (tst-chk2-ENV): Likewise.
5704 (tst-chk3-ENV): Likewise.
5705 (tst-chk4-ENV): Likewise.
5706 (tst-chk5-ENV): Likewise.
5707 (tst-chk6-ENV): Likewise.
5708 (tst-lfschk1-ENV): Likewise.
5709 (tst-lfschk2-ENV): Likewise.
5710 (tst-lfschk3-ENV): Likewise.
5711 (tst-lfschk4-ENV): Likewise.
5712 (tst-lfschk5-ENV): Likewise.
5713 (tst-lfschk6-ENV): Likewise.
5714 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5715 (tst-iconv7-ENV): Likewise.
5716 * intl/Makefile (LOCPATH-ENV): Likewise.
5717 (tst-codeset-ENV): Likewise.
5718 (tst-gettext3-ENV): Likewise.
5719 (tst-gettext5-ENV): Likewise.
5720 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5721 (tst-fopenloc-ENV): Likewise.
5722 (tst-fgetws-ENV): Remove variable.
5723 (tst-ungetwc1-ENV): Likewise.
5724 (tst-ungetwc2-ENV): Likewise.
5725 (bug-ungetwc2-ENV): Likewise.
5726 (tst-swscanf-ENV): Likewise.
5727 (bug-ftell-ENV): Likewise.
5728 (tst-fgetwc-ENV): Likewise.
5729 (tst-fseek-ENV): Likewise.
5730 (tst-ftell-partial-wide-ENV): Likewise.
5731 (tst-ftell-active-handler-ENV): Likewise.
5732 (tst-ftell-append-ENV): Likewise.
5733 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5734 (tst-regexloc-ENV): Likewise.
5735 (bug-regex1-ENV): Likewise.
5736 (tst-regex-ENV): Likewise.
5737 (tst-regex2-ENV): Likewise.
5738 (bug-regex5-ENV): Likewise.
5739 (bug-regex6-ENV): Likewise.
5740 (bug-regex17-ENV): Likewise.
5741 (bug-regex18-ENV): Likewise.
5742 (bug-regex19-ENV): Likewise.
5743 (bug-regex20-ENV): Likewise.
5744 (bug-regex22-ENV): Likewise.
5745 (bug-regex23-ENV): Likewise.
5746 (bug-regex25-ENV): Likewise.
5747 (bug-regex26-ENV): Likewise.
5748 (bug-regex30-ENV): Likewise.
5749 (bug-regex32-ENV): Likewise.
5750 (bug-regex33-ENV): Likewise.
5751 (bug-regex34-ENV): Likewise.
5752 (bug-regex35-ENV): Likewise.
5753 (tst-rxspencer-ENV): Likewise.
5754 (tst-rxspencer-no-utf8-ENV): Likewise.
5755 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5756 (tst-sscanf-ENV): Likewise.
5757 (tst-swprintf-ENV): Likewise.
5758 (tst-swscanf-ENV): Likewise.
5759 (test-vfprintf-ENV): Likewise.
5760 (scanf13-ENV): Likewise.
5761 (bug14-ENV): Likewise.
5762 (tst-grouping-ENV): Likewise.
5763 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5764 (tst-strtod3-ENV): Likewise.
5765 (tst-strtod4-ENV): Likewise.
5766 (tst-strtod5-ENV): Likewise.
5767 (testmb2-ENV): Likewise./
5768 * string/Makefile (tst-strxfrm-ENV): Likewise.
5769 (tst-strxfrm2-ENV): Likewise.
5770 (bug-strcoll1-ENV): Likewise.
5771 (test-strcasecmp-ENV): Likewise.
5772 (test-strncasecmp-ENV): Likewise.
5773 * time/Makefile (tst-strptime-ENV): Likewise.
5774 (tst-ftime_l-ENV): Likewise.
5775 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5776 (tst-mbrtowc-ENV): Likewise.
5777 (tst-wcrtomb-ENV): Likewise.
5778 (tst-mbrtowc2-ENV): Likewise.
5779 (tst-c16c32-1-ENV): Likewise.
5780 (tst-mbsnrtowcs-ENV): Likewise.
5781
cd1fb604
OB
57822014-06-05 Ondřej Bílka <neleai@seznam.cz>
5783
5784 * manual/resource.texi (How to get information about the memory
5785 subsystem?): Fix typo.
5786 Reported by Peon de la Parra Ivan <peon@keba.com>
5787
b42eca7d
GY
57882014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5789
5790 [BZ #16882]
5791 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5792 (pthread_spin_lock): Branch out of spin loop to proper location.
5793 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5794 (pthread_spin_lock): Likewise.
5795
902b71f9
DM
5796 * nptl/tst-spin4.c: New test.
5797 * nptl/Makefile (tests): Add tst-spin4.
5798
f9d2d032
AS
57992014-06-03 Andreas Schwab <schwab@suse.de>
5800
5801 [BZ #15946]
5802 * resolv/res_send.c (send_dg): Reload file descriptor after
5803 calling reopen.
5804
cf7bfd28
SL
58052014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5806
5807 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5808
111cc714
RH
58092014-06-03 Richard Henderson <rth@redhat.com>
5810
89b4bd6b
RH
5811 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5812 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5813 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5814 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5815 in the SAVE_PID block.
5816 (__libc_vfork): New alias.
71840409 5817 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 5818
111cc714
RH
5819 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5820 child in registers, not on the stack. Remove RESET_PID conditionals.
5821 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5822
ccc39911
MS
58232014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5824
5825 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5826
693096cc
W
58272014-06-03 Wilco <wdijkstr@arm.com>
5828
5829 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5830 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5831 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5832 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5833 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5834 Likewise.
5835
0b4366bc
W
58362014-06-03 Wilco <wdijkstr@arm.com>
5837
5838 * sysdeps/aarch64/fpu/math_private.h
5839 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5840 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5841 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5842 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5843 Fix declarations.
5844
8747cd03
KS
58452014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5846
5847 * crypt/crypt-private.h: Include ufc-crypt.h.
5848 (__b64_from_24bit): Declare extern.
5849 * crypt/crypt_util.c(__b64_from_24bit): New function.
5850 (b64t): New static const variable.
5851 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5852 (b64t): Remove variable.
5853 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5854 * crypt/sha256-crypt.c: Include crypt-private.h.
5855 (b64t): Remove variable.
5856 (__sha256_crypt_r): Remove b64_from_24bit and replace
5857 with __b64_from_24bit.
5858 * crypt/sha512-crypt.c: Likewise.
5859
d936d379
RM
58602014-06-02 Roland McGrath <roland@hack.frob.com>
5861
5862 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5863 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5864 Label the code __libc_vfork rather than __vfork.
5865 [!NOT_IN_libc] (vfork): Define as weak alias.
5866 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5867 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5868 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5869
9fa76613
SP
58702014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 * malloc/malloc.c (malloc_info): Fix format specifier for
5873 n_mmaps.
5874
a88dadbe
W
58752014-06-02 Wilco <wdijkstr@arm.com>
5876
5877 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5878 FPCR write.
5879
c95b3011
W
58802014-06-02 Wilco <wdijkstr@arm.com>
5881
5882 [BZ #17009]
5883 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5884 Rewrite to reduce FPCR/FPSR accesses.
5885
6b4d7a90
DM
58862014-06-01 David S. Miller <davem@davemloft.net>
5887
5888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5889
30f3d07c
DM
58902014-05-31 David S. Miller <davem@davemloft.net>
5891
5892 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5893 to occur in round to nearest mode when |x| >= 2.0
5894
74f31c18
RH
58952014-05-30 Richard Henderson <rth@twiddle.net>
5896
f0712b54
RH
5897 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5898 (PSEUDO_RET_NOERRNO): Remove.
5899 (ret): Don't redefine.
5900 (ret_NOERRNO): Define in terms of ret.
5901 (ret_ERRVAL): Likewise.
5902
74f31c18
RH
5903 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5904 use of PSEUDO_RET; perform the error check directly.
5905
30477995
MM
59062014-05-30 Marko Myllynen <myllynen@redhat.com>
5907
5908 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5909 with __int128_t.
5910
62a58816
SP
59112014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5912
5913 * malloc/malloc (malloc_info): Fix formatting.
5914
4d653a59
SP
59152014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5916 Roland McGrath <roland@hack.frob.com>
5917
5918 * malloc/malloc (malloc_info): Also print mmapped statistics.
5919
5190c17f
RM
59202014-05-30 Roland McGrath <roland@hack.frob.com>
5921
5922 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5923 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5924
987c0269
OB
59252014-05-30 Ondřej Bílka <neleai@seznam.cz>
5926
5927 * malloc/malloc.c (malloc_info): Inline mi_arena.
5928
af4e8ef9
RH
59292014-05-29 Richard Henderson <rth@twiddle.net>
5930
1670e207
RH
5931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5932 Remove comma before expanding ASM_ARGS_##nr.
5933 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5934 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5935 of ASM_ARGS_##nr.
5936 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5937 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5938 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5939 (ASM_ARGS_1): Add leading comma.
5940
11a28aee
RH
5941 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5942 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5943 to __errno_location.
5944 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5945 Remove the expected plt for __errno_location.
5946
a17e5ffb 5947 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 5948 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
5949 call to __read_tp.
5950
b5be4597
RH
5951 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5952 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5953 it and break it down.
5954 (DOCARGS_0, DOCARGS_1): Do nothing.
5955 (DOCARGS_2): Update to store into the new stack frame.
5956 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5957 (UNDOCARGS_1): Update to restore from the new stack frame.
5958 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5959 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5960
645d44ab
RH
5961 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5962 (SINGLE_THREAD_P): New parameter for result regno.
5963 (PSEUDO): Update to match; use cbz instead of beq.
5964
a8b4f04a
RH
5965 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5966 Use ENTRY to define the _nocancel entry point. Share the syscall
5967 and syscall error check paths with the cancel path.
5968 (PSEUDO_END): New.
5969
af4e8ef9
RH
5970 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5971 whitespace; tabs before and after asm mnemonics.
5972
26b0d2e1
EW
59732014-05-29 Eric Wong <normalperson@yhbt.net>
5974
5975 [BZ #15132]
5976 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5977 Call fstat64 or stat64 internally, depending on arguments passed.
5978 Replace stat buffer argument with file descriptor argument.
5979 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5980 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5981 Pass fd to __internal_statvfs instead of calling fstat64.
5982 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5983 Pass fd to __internal_statvfs64 instead of calling fstat64.
5984 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5985 Pass -1 to __internal_statvfs instead of calling stat64.
5986 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5987 Pass -1 to __internal_statvfs64 instead of calling stat64.
5988
1efe2bd9
RM
59892014-05-28 Roland McGrath <roland@hack.frob.com>
5990
0d3b7a19
RM
5991 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5992 that was previously under [RESET_PID].
5993 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5994
1efe2bd9
RM
5995 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5996 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5997
a6bea3ca
RM
59982014-05-27 Roland McGrath <roland@hack.frob.com>
5999
30b6629e
RM
6000 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6001
a6bea3ca
RM
6002 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6003 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6004
3dfb9a5c
OB
60052014-05-27 Ondřej Bílka <neleai@seznam.cz>
6006
6007 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6008
774f9285
AS
60092014-05-27 Andreas Schwab <schwab@suse.de>
6010
6011 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6012 TLS_INIT_TP macro.
6013 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6014 * elf/rtld.c (init_tls, dl_main): Likewise.
6015 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6016 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6017 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6018 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6019 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6020 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6021 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6022 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6023 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6024 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6025 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6026 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6027 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6028 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6029 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6030 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6031 * sysdeps/generic/tls.h: Update description.
6032
36ffe739
WN
60332014-05-27 Will Newton <will.newton@linaro.org>
6034
6035 [BZ #16990]
6036 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6037 and restore r2 rather than just restoring.
6038
2482ae43
SP
60392014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6040
6041 [BZ #16724]
6042 * libio/tst-ftell-append.c: New test case.
6043 * libio/Makefile (tests): Add test case.
6044 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6045 append mode.
6046 * libio/wfileops.c (do_ftell_wide): Likewise.
6047
3d1024e8
AZ
60482014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049
bab90016
AZ
6050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6051
c7a8d667
AZ
6052 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6053 ...
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6056 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6057 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6058 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6059 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6060 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6061 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6062 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6063 Moved ...
6064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6066 Moved ...
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6068 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6069 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6070 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6071 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6072 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6073 ...
6074 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6075 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6076 Moved ...
6077 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6078 here.
6079 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6080 ...
6081 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6082 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6083 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6084
daee7851
AZ
6085 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6086 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6088 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6089
50a40819
AZ
6090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6091 merge into ...
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6094 ...
6095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6097 ...
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6099 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6100 Moved ...
6101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6102 here.
6103 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6104 Moved ...
6105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6107 Moved ...
6108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6109
8464c2a1
AZ
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6111 conditional [RESET_PID].
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6113 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6114 removed.
6115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6116 removed.
6117
3d1024e8
AZ
6118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6119 <tcb-offsets.h>.
6120 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6121 (__libc_vfork): New strong alias.
6122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6123 removed.
6124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6125 Removed.
6126
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6128 <tcb-offsets.h>.
6129 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6130 (__libc_vfork): New strong alias.
6131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6132 removed.
6133 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6134 removed.
6135
fdfd175d
CD
61362014-05-26 Carlos O'Donell <carlos@redhat.com>
6137
6138 * malloc/malloc.c (mi_arena): New function.
6139 (malloc_info): Remove nested function mi_arena. Call non-nosted
6140 function mi_arena.
6141
d298c416
AZ
61422014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6143
6144 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6145 by insrwi.
6146 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6147 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6148 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6149 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6150 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6151 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6152 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6153
b60ea6ff
AS
61542014-05-26 Andreas Schwab <schwab@suse.de>
6155
6156 [BZ #16984]
6157 * locale/programs/repertoire.c (repertoire_read): Add slash
6158 between I18NPATH element and file name.
6159 * locale/programs/locfile.c (locfile_read): Likewise.
6160
67365926
SL
61612014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6162
6163 * nptl/pthread_mutexattr_settype.c
6164 (__pthread_mutexattr_settype):
6165 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6166
f8bdf1f0
SL
61672014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6168
6169 * nptl/tst-mutex5 (do_test):
6170 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6171
15eaf6ff
SP
61722014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6173
6174 * benchtests/README: Document 'init' directive.
6175 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6176 BENCH_INIT.
6177 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6178 (parse_file): Recognize 'init' directive.
6179
75f11331
KM
61802014-05-26 Kyle McMartin <kyle@redhat.com>
6181
6182 [BZ #16796]
6183 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6184 alignment of struct pthread.
6185
c3ec475c
SP
61862014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6187
6188 [BZ #16878]
6189 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6190 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6191 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6192 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6193
82aab97c
RH
61942014-05-25 Richard Henderson <rth@twiddle.net>
6195
aa2f176d
RH
6196 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6197 (SINGLE_THREAD_P_PIC): Remove.
6198 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6199 (SINGLE_THREAD_P_PIC): Remove.
6200
ca3cfa40
RH
6201 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6202 branch to syscall error ...
6203 (PSEUDO): ... here.
6204 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6205 from __local_syscall_error to .Lsyscall_error.
6206 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6207 (SYSCALL_ERROR): Update label name.
6208
6e6c2d01
RH
6209 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6210 Do not use DOARGS/UNDOARGS.
6211 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6212 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6213 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6214 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6215 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6216
c69abcee
RH
6217 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6218 block comment.
6219
82aab97c
RH
6220 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6221 define if !NOT_IN_libc.
6222 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6223 define with non-default symbol versions.
6224
8820e3ac
RH
62252014-05-23 Richard Henderson <rth@twiddle.net>
6226
900e445f
RH
6227 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6228 (vfork, __vfork): Define via compat_symbol.
6229
8820e3ac
RH
6230 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6231 [!HAVE_IFUNC] (vfork_compat): Remove.
6232 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6233
e59252a5
JM
62342014-05-23 Joseph Myers <joseph@codesourcery.com>
6235
6236 [BZ #16978]
6237 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6238 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6239 variable.
6240
132c7f5f
RH
62412014-05-23 Richard Henderson <rth@twiddle.net>
6242
bc89e962
RH
6243 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6244 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6245 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6246 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6247
6248 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6249 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6250 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6251 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6252 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6253 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6254 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6255 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6256 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6257 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6258 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6259 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6260 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6261 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6262 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6263 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6264 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6265 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6266 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6267 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6268 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6269 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6270 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6271 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6272 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6273 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6274 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6275 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6276 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6277 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6278 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6279 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6280 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6281 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6282 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6283 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6284 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6285 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6286 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6287 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6288 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6289 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6290 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6291 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6292 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6293 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6294 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6295 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6296 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6297 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6298 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6299 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6300 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6301 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6302 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6303 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6304
e2fa4bc2
RH
6305 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6306 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6307 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6308 before exiting on error.
6309 (__libc_vfork): New strong alias.
6310 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6311 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6312
279b24e2
RH
6313 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6314 that was previously under [RESET_PID].
6315 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6316
132c7f5f
RH
6317 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6318
b72592e7
JM
63192014-05-23 Joseph Myers <joseph@codesourcery.com>
6320
6321 [BZ #16977]
6322 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6323 value when x - 1 is zero.
6324 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6325 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6326 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6327 0.0L for an argument of 1.0L.
6328 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6329 Likewise.
6330 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6331 value when x - 1 is zero.
6332 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6333 * sysdeps/i386/fpu/libm-test-ulps: Update.
6334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6335
2302d679
RV
63362014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6337
6338 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6339 alphasort and versionsort.
6340
32999d63
AZ
63412014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6342
6343 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6344 macro.
6345 [copysignf]: Likewise.
6346
019324d0
SP
63472014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6348
6349 * crypt/md5-crypt.c: Fix formatting.
6350
34fff5c2
KS
63512014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6352
6353 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6354 (b64_from_24bit): New function.
6355
3d2badac
AZ
63562014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6359 libc_hidden_builtin_def to ifunc.
6360 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6361 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6362
f7bb179f 63632014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
6364
6365 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6366 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6367
4134b50d
JM
63682014-05-21 Joseph Myers <joseph@codesourcery.com>
6369
bb7d0337
JM
6370 * nscd/Depend (linuxthreads): Remove.
6371 (nptl): Add.
6372 * resolv/Depend (linuxthreads): Remove.
6373 * rt/Depend (linuxthreads): Remove.
6374
4134b50d
JM
6375 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6376 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6377 $(common-objpfx)elf/.
6378 (link-libc-before-gnulib): Likewise.
6379 (elfobjdir): Remove variable.
6380 * Makefile (install): Use $(elf-objpfx) instead of
6381 $(common-objpfx)elf/.
6382 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6383 $(elfobjdir)/.
6384 (link-libc-deps): Likewise.
6385 ($(common-objpfx)libc.so): Likewise.
6386 ($(common-objpfx)linkobj/libc.so): Likewise.
6387 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6388 instead of $(common-objpfx)elf/.
6389 (symbolic-link-list): Likewise.
6390 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6391 [$(cross-compiling) = no]: Likewise.
6392 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6393 $(elfobjdir)/.
6394 (static-gnulib-arch): Likewise.
6395 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6396 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6397 $(common-objpfx)elf/.
6398
3612eb8f
RH
63992014-05-21 Richard Henderson <rth@redhat.com>
6400
a6b3657b
RH
6401 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6402 (SINGLE_THREAD_P): Use the correct width load. Fold
6403 into the ldr offset.
6404
3612eb8f
RH
6405 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6406 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6407
175cef41
JM
64082014-05-20 Joseph Myers <joseph@codesourcery.com>
6409
6410 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6411 (libgcc_s_resume): Use __attribute_used__.
6412 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6413 Likewise.
6414
e13bccd3
AZ
64152014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6416
6417 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6418 optimization when used with float constants.
6419
7c112a38
AZ
6420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6421
ae75a883
AJ
64222014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6423
6424 [BZ #16915]
6425 * locale/nl_langinfo_l.c: Make direct reference to every
6426 _nl_current_CATEGORY symbol.
6427 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6428 (tests-static): Add tst-langinfo-static.
6429 (tests-special): Add tst-langinfo-static.out.
6430 ($(objpfx)tst-langinfo.out): Redirect output.
6431 ($(objpfx)tst-langinfo-static.out): New.
6432 * localedata/tst-langinfo.sh: Send output to stdout.
6433 * localedata/tst-langinfo-static.c: New file.
6434
4406c41c
AJ
6435 [BZ #16965]
6436 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6437 when the shift amount is modulo the limb size.
6438
4c0a1e63
RH
64392014-05-20 Richard Henderson <rth@redhat.com>
6440
de9d8f20
RH
6441 [BZ #16967]
6442 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6443 Change type of sa_flags from unsigned int to int.
6444
4c0a1e63
RH
6445 [BZ #16966]
6446 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
6447
6448 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6449
a60339aa
WN
64502014-05-20 Will Newton <will.newton@linaro.org>
6451
6452 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6453 Test the return value of the system call in the nocancel case.
6454
7d05a816
YR
64552014-05-20 Will Newton <will.newton@linaro.org>
6456 Yvan Roux <yvan.roux@linaro.org>
6457
6458 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6459 #include of asm/ptrace.h.
6460 (PTRACE_GET_THREAD_AREA): Remove #undef.
6461 (PTRACE_GETHBPREGS): Likewise.
6462 (PTRACE_SETHBPREGS): Likewise.
6463 (struct user_regs_struct): New structure.
6464 (struct user_fpsimd_struct): New structure.
6465 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6466 #include of asm/ptrace.h and second #include of sys/user.h.
6467 (PTRACE_GET_THREAD_AREA): Remove #undef.
6468 (PTRACE_GETHBPREGS): Likewise.
6469 (PTRACE_SETHBPREGS): Likewise.
6470 (ELF_NGREG): Use new struct user_regs_struct.
6471 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6472
af121e37
AZ
64732014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6474
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6476 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6477
834caf06
JM
64782014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6479
6480 [BZ #16958]
6481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6482 membar to avoid block loads/stores to overlap previous stores.
6483
e184a918
RH
64842014-05-17 Richard Henderson <rth@redhat.com>
6485
6486 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6487 Create the __##syscall_name##_nocancel entry point.
6488 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6489 Remove; let the sysdep-cancel.h code create it.
6490
f56c7a6a
DM
64912014-05-17 David S. Miller <davem@davemloft.net>
6492
6493 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6494 Protect with __USE_GNU.
6495 (TIOCSET_TEMPT): Likewise.
6496 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6497 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6498 these are already provided in bits/ioctl-types.h
6499
f75616b2
RM
65002014-05-16 Roland McGrath <roland@hack.frob.com>
6501
3edeca86
RM
6502 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6503 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6504
f75616b2
RM
6505 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6506 Use wait4 regardless of [__NR_waitpid].
6507
deb0f7f6
MR
65082014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6509
6510 PR libgcc/60166
6511 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6512 (_FP_NANSIGN_Q): Set the quiet bit.
6513
79520f4b
JM
65142014-05-16 Joseph Myers <joseph@codesourcery.com>
6515
6516 * benchtests/Makefile
6517 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6518 not $(common-objpfx)math/libm.so.
6519 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6520 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6521 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6522 $(common-objpfx)dlfcn/libdl.so.
6523 ($(objpfx)tst-audit8): Depend on $(libm), not
6524 $(common-objpfx)math/libm.so.
6525 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6526 not $(common-objpfx)dlfcn/libdl.so.
6527 * math/Makefile
6528 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6529 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6530 [$(build-shared) = yes].
6531 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6532 $(common-objpfx)nptl/libpthread.so.
6533 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6534 $(common-objpfx)math/libm.so$(libm.so-version) or
6535 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6536 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6537 $(common-objpfx)dlfcn/libdl.so.
6538 * setjmp/Makefile (link-libm): Remove variable.
6539 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6540 * stdio-common/Makefile (link-libm): Remove variable.
6541 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6542 * stdlib/Makefile (link-libm): Remove variable.
6543 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6544 ($(objpfx)tst-strtod-round): Likewise.
6545 ($(objpfx)tst-tininess): Likewise.
6546 ($(objpfx)tst-strtod-underflow): Likewise.
6547 ($(objpfx)tst-strtod6): Likewise.
6548 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6549 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6550 $(common-objpfx)dlfcn/libdl.so.
6551
026b0fe4
AZ
65522014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6553
6554 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6555 BSD terminal modes definitions.
6556
def4bcb2
RM
65572014-05-16 Roland McGrath <roland@hack.frob.com>
6558
fe39b021
RM
6559 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6560 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6561
1d1fc46e 6562 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
6563 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6564 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6565 Don't do #include_next.
6566 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6567 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6568 Don't do #include_next.
6569 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6570 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6571 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6572 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6573
c72399fb
AM
65742014-05-16 Allan McRae <allan@archlinux.org>
6575
d51d659d
AM
6576 * po/sv.po: Update Swedish translation from translation project.
6577
c72399fb
AM
6578 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6579 in sed expression.
6580
d0583c40
AJ
65812014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6582
6583 [BZ #16917]
6584 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6585 errno if the TIOCGPTN ioctl fails with an error different than
6586 EINVAL.
6587 * login/tst-ptsname.c: New file.
6588 * login/Makefile (tests): Add tst-ptsname.
6589
d16e6ec7
AJ
6590 [BZ #16943]
6591 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6592 and prlimit64.
6593
cf26a0cb
SP
65942014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6595
6596 [BZ #16849]
6597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6598 herrno to return EAI_AGAIN.
6599
5675da1e
RM
66002014-05-14 Roland McGrath <roland@hack.frob.com>
6601
a5d87b3d
RM
6602 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6603 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6604 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6605 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6606 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6607 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6608 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6609 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6610 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6611 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6612 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6613 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6614 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6615 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6616 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6617 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6618 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6619 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6620 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6621 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6622 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6623 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6624 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6625 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6626 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6627 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6628 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6629 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6630 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6631 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6633 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6635 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6637 Moved ...
6638 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6640 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6642 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6644 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6646 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6648 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6650 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6652 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6654 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6656 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6658 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6660 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6662 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6664 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6666 Moved ...
6667 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6669 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6671 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6673 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6675 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6677 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6679 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6681 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6683 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6685 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6687 Moved ...
6688 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6690 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6691
039890a6
RM
6692 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6693 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6694 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6695 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6696 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6697 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6698 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6699 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6700 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6701 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6702 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6703 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6704 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6705 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6706 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6707 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6708 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6709 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6710 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6711 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6712 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6713 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6714 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6715 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6716 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6717 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6718 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6719 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6720 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6721 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6722 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6723
65c89320
RM
6724 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6725 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6726
348f8e8c
RM
6727 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6728 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6729 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6730 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6731 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6732 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6733 Moved ...
6734 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6735 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6736 Moved ...
6737 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6738 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6739 Moved ...
6740 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6741 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6742 Moved ...
6743 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6744 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6745 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6746 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6747 Moved ...
6748 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6749 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6750 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6751 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6752 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6753 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6754 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6755 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6756 Moved ...
6757 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6758 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6759 Moved ...
6760 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6761 ... here.
6762 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6763 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6764 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6765 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6766 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6767 Moved ...
6768 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6769 ... here.
6770 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6771 Moved ...
6772 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6773 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6774 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6775 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6776 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6777 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6778 Moved ...
6779 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6780 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6781 Moved ...
6782 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6783 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6784 Moved ...
6785 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6786 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6787 Moved ...
6788 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6789 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6790 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6791 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6792 Moved ...
6793 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6794 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6795 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6796 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6797 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6798 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6799 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6800 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6801 Moved ...
6802 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6803 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6804 Moved ...
6805 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6806 ... here.
6807 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6808 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6809 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6810 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6811 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6812 Moved ...
6813 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6814 ... here.
6815 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6816 Moved ...
6817 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6818 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6819 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6820 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6821 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6822 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6823 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6824 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6825 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6826 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6827 Moved ...
6828 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6829 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6830 Moved ...
6831 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6833 Moved ...
6834 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6835 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6836 Moved ...
6837 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6838 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6839 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6840 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6841 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6842 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6843 Moved ...
6844 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6845 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6846 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6847 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6848 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6849 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6850 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6851 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6852 Moved ...
6853 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6855 Moved ...
6856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6857 ... here.
6858 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6859 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6860 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6861 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6862 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6863 Moved ...
6864 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6865 ... here.
6866 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6867 Moved ...
6868 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6869 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6870 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6871 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6872 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6873 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6874 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6875 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6876 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6877 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6878 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6879
5085af05
RM
6880 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6881 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6882
708f0813
RM
6883 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6884 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6885
c96067bc
RM
6886 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6887 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6888 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6889 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6890 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6891 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6892 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6893 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6894 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6895 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6896 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6897 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6898 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6899 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6900 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6901 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6902 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6904 Moved ...
6905 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6906 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6907 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6908 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6909 Moved ...
6910 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6911 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6912 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6913 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6914 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6915 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6916 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6917 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6918 Moved ...
6919 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6920 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6921 Moved ...
6922 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6923 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6924 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6925 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6926 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6928 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6929 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6930 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6931 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6932 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6933 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6934 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6935 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6936 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6937 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6938 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6939
ec136444
RM
6940 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6941 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6942 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6943 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6944 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6945
2fbdf533
RM
6946 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6947 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6948 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6949 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6950 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6951 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6952 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6953 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6954 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6955 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6956
4c68138b
RM
6957 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6959
4eaae765
RM
6960 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6961 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
6962 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6963 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6964 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6965 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6966 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6967 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6968 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6969 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6970 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6971 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6972 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6973 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6974 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6975 Update #include.
6976 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6977 Likewise.
6978 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6979 Likewise.
6980 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6981 Likewise.
6982 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6983 Likewise.
6984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6985 Likewise.
6986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6987 Likewise.
6988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6989 Likewise.
6990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6991 Likewise.
6992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6993 Likewise.
4ef6befa
RM
6994 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6995 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6996 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6997 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
6999 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7000 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7001 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7002 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7003 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7004 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7005 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7006 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7007 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7008 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7009
941d7dfd
RM
7010 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7011 that was previously under [RESET_PID].
7012 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7013 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7014 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7015
1b731c35
RM
7016 * sysdeps/i386/nptl/Implies: New file.
7017 * sysdeps/x86_64/nptl/Implies: New file.
7018 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7019 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7020 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7021 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7022
e2787137
RM
7023 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7024 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7025 (__libc_vfork): New strong alias.
7026 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7027 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7028
7029 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7030 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7031 (__libc_vfork): New strong alias.
7032 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7033 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7034
5675da1e
RM
7035 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7036 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7037 (__libc_vfork): New strong alias.
7038 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7039 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7040 * nptl/pt-vfork.c: New file.
7041 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7042 (libpthread: GLIBC_2.20): New version set (empty).
7043
4f02e2b8
WN
70442014-05-14 Will Newton <will.newton@linaro.org>
7045
7046 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7047 rather than #if.
7048
0bf061d3
JM
70492014-05-14 Joseph Myers <joseph@codesourcery.com>
7050
1a84c3d6
JM
7051 [BZ #16564]
7052 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7053 arguments with exponent 65 or above.
7054 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7055 arguments 0x1p113L or above.
7056 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7057 to arguments 0x1p107L or above.
7058 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7059 positive arguments with exponent 65 or above.
7060 * math/auto-libm-test-in: Add more tests of log1p.
7061 * math/auto-libm-test-out: Regenerated.
7062
01dbacd2
JM
7063 [BZ #16928]
7064 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7065 non-finite arguments is +0.
7066 * math/s_cacosf.c (__cacosf): Likewise.
7067 * math/s_cacosl.c (__cacosl): Likewise.
7068 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7069 * sysdeps/i386/fpu/libm-test-ulps: Update.
7070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7071
913d03c8
JM
7072 [BZ #16927]
7073 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7074 value.
7075 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7076 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7077 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7078 for explicit high bit of mantissa when testing for argument equal
7079 to 1.
7080 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7081 * sysdeps/i386/fpu/libm-test-ulps: Update.
7082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7083
0bf061d3
JM
7084 [BZ #16516]
7085 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7086 (__erf): Scale by 16 instead of 8 in potentially underflowing
7087 case. Ensure exception if result actually underflows.
7088 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7089 (__erff): Scale by 16 instead of 8 in potentially underflowing
7090 case. Ensure exception if result actually underflows.
7091 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7092 (efx8): Remove variable.
7093 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7094 case. Ensure exception if result actually underflows.
7095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7096 (efx8): Remove variable.
7097 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7098 case. Ensure exception if result actually underflows.
7099 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7100 (efx8): Remove variable.
7101 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7102 case. Ensure exception if result actually underflows.
7103 * math/auto-libm-test-in: Add more tests of erf.
7104 * math/auto-libm-test-out: Regenerated.
7105
73ba67cb
AS
71062014-05-14 Andreas Schwab <schwab@suse.de>
7107
3d8c8bff
AS
7108 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7109 Remove code conditionalized on USE___THREAD.
7110
73ba67cb
AS
7111 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7112 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7113 not definedness.
7114
5c521ecd
JM
71152014-05-14 Joseph Myers <joseph@codesourcery.com>
7116
5e7698c6
JM
7117 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7118 Define unconditionally.
7119 (__ASSUME_O_CLOEXEC): Likewise.
7120 (__ASSUME_SOCK_CLOEXEC): Likewise.
7121 (__ASSUME_IN_NONBLOCK): Likewise.
7122 (__ASSUME_PIPE2): Likewise.
7123 (__ASSUME_EVENTFD2): Likewise.
7124 (__ASSUME_SIGNALFD4): Likewise.
7125 (__ASSUME_DUP3): Likewise.
7126 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7127 (__ASSUME_DUP3): Do not define.
7128 (__ASSUME_EVENTFD2): Likewise.
7129 (__ASSUME_IN_NONBLOCK): Likewise.
7130 (__ASSUME_O_CLOEXEC): Likewise.
7131 (__ASSUME_PIPE2): Likewise.
7132 (__ASSUME_SIGNALFD4): Likewise.
7133 (__ASSUME_SOCK_CLOEXEC): Likewise.
7134 (__ASSUME_UTIMES): Undefine.
7135 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7136 (__ASSUME_UTIMES): Do not define.
7137 (__ASSUME_O_CLOEXEC): Likewise.
7138 (__ASSUME_SOCK_CLOEXEC): Likewise.
7139 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7140 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7141 0x020621].
7142 (__ASSUME_PIPE2): Likewise.
7143 (__ASSUME_EVENTFD2): Likewise.
7144 (__ASSUME_SIGNALFD4): Likewise.
7145 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7146 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7147 Do not define.
7148 (__ASSUME_EVENTFD2): Likewise.
7149 (__ASSUME_SIGNALFD4): Likewise.
7150 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7151 (__ASSUME_32BITUIDS): Likewise.
7152 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7153 (__ASSUME_IPC64): Likewise.
7154 (__ASSUME_ST_INO_64_BIT): Likewise.
7155 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7156 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7157 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7158 (__ASSUME_UTIMES): Do not define.
7159 (__ASSUME_PSELECT): Likewise.
7160 (__ASSUME_PPOLL): Likewise.
7161 (__ASSUME_O_CLOEXEC): Likewise.
7162 (__ASSUME_SOCK_CLOEXEC): Likewise.
7163 (__ASSUME_IN_NONBLOCK): Likewise.
7164 (__ASSUME_PIPE2): Likewise.
7165 (__ASSUME_EVENTFD2): Likewise.
7166 (__ASSUME_SIGNALFD4): Likewise.
7167 (__ASSUME_DUP3): Likewise.
7168 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7169 (__ASSUME_UTIMES): Likewise.
7170 (__ASSUME_O_CLOEXEC): Likewise.
7171 (__ASSUME_SOCK_CLOEXEC): Likewise.
7172 (__ASSUME_IN_NONBLOCK): Likewise.
7173 (__ASSUME_PIPE2): Likewise.
7174 (__ASSUME_EVENTFD2): Likewise.
7175 (__ASSUME_SIGNALFD4): Likewise.
7176 (__ASSUME_DUP3): Likewise.
7177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7178 (__ASSUME_UTIMES): Likewise.
7179 (__ASSUME_O_CLOEXEC): Likewise.
7180 (__ASSUME_SOCK_CLOEXEC): Likewise.
7181 (__ASSUME_IN_NONBLOCK): Likewise.
7182 (__ASSUME_PIPE2): Likewise.
7183 (__ASSUME_EVENTFD2): Likewise.
7184 (__ASSUME_SIGNALFD4): Likewise.
7185 (__ASSUME_DUP3): Likewise.
7186 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7187 Likewise.
7188 (__ASSUME_UTIMES): Likewise.
7189 (__ASSUME_EVENTFD2): Likewise.
7190 (__ASSUME_SIGNALFD4): Likewise.
7191 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7192 (__ASSUME_O_CLOEXEC): Likewise.
7193 (__ASSUME_SOCK_CLOEXEC): Likewise.
7194 (__ASSUME_IN_NONBLOCK): Likewise.
7195 (__ASSUME_PIPE2): Likewise.
7196 (__ASSUME_EVENTFD2): Likewise.
7197 (__ASSUME_SIGNALFD4): Likewise.
7198 (__ASSUME_DUP3): Likewise.
7199 (__ASSUME_UTIMES): Undefine.
7200
5c521ecd
JM
7201 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7202 feclearexcept. Remove symbol versioning code.
7203 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7204 symbol versioning code.
7205 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7206 symbol versioning code.
7207 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7208 feupdateenv. Remove symbol versioning code.
7209 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7210 fegetexceptflag. Remove symbol versioning code.
7211 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7212 fesetexceptflag. Remove symbol versioning code.
7213 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7214 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7215 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7216 (__posix_fadvise64_l32): Remove prototype.
7217 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7218 code.
7219
5da9dfad
RM
72202014-05-13 Roland McGrath <roland@hack.frob.com>
7221
7222 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7223 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7224 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7225 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7226
893b4f37
SK
72272014-05-13 Sami Kerola <kerolasa@iki.fi>
7228
7229 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7230 current working directory
7231
e0db6517
RM
72322014-05-13 Roland McGrath <roland@hack.frob.com>
7233
58aa195d
RM
7234 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7235 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7236 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7237 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7238 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7239 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7240 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7241 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7242 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7243 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7244 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7245 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7246 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7247 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7248 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7249 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7250 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7251 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7252 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7253 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7254 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7255 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7256 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7257 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7258 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7259 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7260 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7261 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7262 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7263 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7264 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7265 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7266 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7267 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7268 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7269 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7270 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7271 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7272 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7273 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7274 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7275 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7276
8c6d01f0
RM
7277 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7278 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7279
7280 * sysdeps/unix/sysv/linux/arm/Makefile
7281 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7282 Add rt-aeabi_unwind_cpp_pr1.
7283 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7284 Add nptl-aeabi_unwind_cpp_pr1.
7285 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7286 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7287 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7288 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7289 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7290 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7291
7292 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7293 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7294 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7295 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7296
bba6da4e
RM
7297 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7298 Deconditionalize the code that was previously under [RESET_PID].
7299 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7300
e0db6517
RM
7301 * sysdeps/generic/exit-thread.h: New file.
7302 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7303 * include/unistd.h (__exit_thread): Remove declaration.
7304 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7305 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7306 * csu/libc-start.c: Include <exit-thread.h>.
7307 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7308 * nptl/pthread_create.c: Include <exit-thread.h>.
7309 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7310 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7311 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7312 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7313 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7314 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7315 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7316 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7317 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7318 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7319 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7320 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7321 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7322 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7323 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7324 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7325 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7326
01eb16fd
AS
73272014-05-13 Andreas Schwab <schwab@suse.de>
7328
7329 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7330
637461d9
JM
73312014-05-12 Joseph Myers <joseph@codesourcery.com>
7332
7333 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7334 (__ASSUME_UTIMES): Do not condition on kernel version.
7335 (__ASSUME_PSELECT): Define unconditionally.
7336 (__ASSUME_PPOLL): Likewise.
7337 (__ASSUME_ATFCTS): Likewise.
7338 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7339 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7340 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7341 (__ASSUME_UTIMENSAT): Define unconditionally.
7342 (__ASSUME_PRIVATE_FUTEX): Likewise.
7343 (__ASSUME_FALLOCATE): Likewise.
7344 (__ASSUME_O_CLOEXEC): Likewise.
7345 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7346 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7347 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7348 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7349 (__ASSUME_IN_NONBLOCK): Likewise.
7350 (__ASSUME_PIPE2): Likewise.
7351 (__ASSUME_EVENTFD2): Likewise.
7352 (__ASSUME_SIGNALFD4): Likewise.
7353 (__ASSUME_DUP3): Likewise.
7354 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7355 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7356 (__ASSUME_AT_RANDOM): Likewise.
7357 (__ASSUME_PREADV): Likewise.
7358 (__ASSUME_PWRITEV): Likewise.
7359 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7360 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7361 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7362 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7363 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7364 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7365 (__ASSUME_O_CLOEXEC): Define unconditionally.
7366 (__ASSUME_PSELECT): Do not undefine conditionally.
7367 (__ASSUME_PPOLL): Likewise.
7368 (__ASSUME_ATFCTS): Likewise.
7369 (__ASSUME_SET_ROBUST_LIST): Likewise.
7370 (__ASSUME_UTIMENSAT): Likewise.
7371 (__ASSUME_FDATASYNC): Define unconditionally.
7372 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7373 (__ASSUME_SIGFRAME_V2): Likewise.
7374 )__ASSUME_EVENTFD2): Likewise.
7375 (__ASSUME_SIGNALFD4): Likewise.
7376 (__ASSUME_PSELECT): Do not undefine conditionally.
7377 (__ASSUME_PPOLL): Likewise.
7378 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7379 (__ASSUME_PSELECT): Define unconditionally.
7380 (__ASSUME_PPOLL): Likewise.
7381 (__ASSUME_O_CLOEXEC): Likewise.
7382 (__ASSUME_SOCK_CLOEXEC): Likewise.
7383 (__ASSUME_IN_NONBLOCK): Likewise.
7384 (__ASSUME_PIPE2): Likewise.
7385 (__ASSUME_EVENTFD2): Likewise.
7386 (__ASSUME_SIGNALFD4): Likewise.
7387 (__ASSUME_DUP3): Likewise.
7388 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7389 (__ASSUME_O_CLOEXEC): Likewise.
7390 (__ASSUME_SOCK_CLOEXEC): Likewise.
7391 (__ASSUME_IN_NONBLOCK): Likewise.
7392 (__ASSUME_PIPE2): Likewise.
7393 (__ASSUME_EVENTFD2): Likewise.
7394 (__ASSUME_SIGNALFD4): Likewise.
7395 (__ASSUME_DUP3): Likewise.
7396 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7397 (__ASSUME_EVENTFD2): Likewise.
7398 (__ASSUME_SIGNALFD4): Likewise.
7399 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7400
315eb1d8
AS
74012014-05-12 Andreas Schwab <schwab@suse.de>
7402
7403 [BZ #16932]
7404 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7405 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7406 than maximum RPC packet size.
7407 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7408 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7409 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7410 (_nss_nis_getservbyport_r): Likewise.
7411
91df99f7
WN
74122014-05-12 Will Newton <will.newton@linaro.org>
7413
7414 * malloc/Makefile (tests): Add tst-mallopt.
7415 * malloc/tst-mallopt.c: New file.
7416
0a982a29
RM
74172014-05-09 Roland McGrath <roland@hack.frob.com>
7418
7419 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7420 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7421
0ded08a5
AZ
74222014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7423
7424 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7425 (tst-tlsmod6.so): Likewise.
7426
55d4d550
RM
74272014-05-09 Roland McGrath <roland@hack.frob.com>
7428
7429 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7430
77d08aca
JM
74312014-05-09 Joseph Myers <joseph@codesourcery.com>
7432
7433 [BZ #16064]
7434 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7435 and <dl-procinfo.h>.
7436 (__fegetenv): Save SSE state in envp->__eip if supported.
7437 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7438 envp->__eip if supported.
7439 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7440 and <dl-procinfo.h>.
7441 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7442 __data_offset and __data_selector in environment to 0. Set SSE
7443 state if supported.
7444 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7445 test-fenv-sse.
7446 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7447 -mfpmath=sse.
7448 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7449
28162f4d
WN
74502014-05-09 Will Newton <will.newton@linaro.org>
7451
7452 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7453 and libc_relro_required for ARM.
7454 * sysdeps/arm/preconfigure: Regenerate.
7455
5a414ff7
DV
74562014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7457 Stefan Liebler <stli@linux.vnet.ibm.com>
7458
7459 * config.make.in (enable-lock-elision): New Makefile variable.
7460 * configure.ac: Likewise.
7461 * configure: Regenerate.
7462 * sysdeps/s390/configure.ac:
7463 Add check for gcc transactions support.
7464 * sysdeps/s390/configure: Regenerate.
7465 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7466 Build elision files if enabled.
7467 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7468 Add lock elision support for s390.
7469 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7470 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7471 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7472 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7473 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7474 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7475 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7476 Likewise.
7477 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7478 Likewise.
7479 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7480 Likewise.
7481 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7482 Likewise.
7483 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7484 (__lll_timedlock_elision, __lll_lock_elision)
7485 (__lll_unlock_elision, __lll_trylock_elision)
7486 (lll_timedlock_elision, lll_lock_elision)
7487 (lll_unlock_elision, lll_trylock_elision): Add.
7488 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7489 (pthread_mutex_t): Add lock elision support for s390.
7490
1a2f40e5
W
74912014-05-14 Wilco <wdijkstr@arm.com>
7492
7493 * sysdeps/arm/fclrexcpt.c: Cleanup.
7494 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7495 * sysdeps/arm/feenablxcpt.c: Cleanup.
7496 * sysdeps/arm/fegetenv.c: Cleanup.
7497 * sysdeps/arm/fegetexcept.c: Cleanup.
7498 * sysdeps/arm/fegetround.c: Cleanup.
7499 * sysdeps/arm/feholdexcpt.c: Cleanup.
7500 * sysdeps/arm/fesetenv.c: Cleanup.
7501 * sysdeps/arm/fesetround.c: Cleanup.
7502 * sysdeps/arm/feupdateenv.c: Cleanup.
7503 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7504 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7505 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7506 * sysdeps/arm/ftestexcept.c: Cleanup.
7507 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7508 * sysdeps/arm/setfpucw.c: Cleanup.
7509
f63c86fe
WN
75102014-05-09 Will Newton <will.newton@linaro.org>
7511
7512 * sysdeps/arm/armv7/strcmp.S: New file.
7513 * NEWS: Mention addition of ARMv7 optimized strcmp.
7514
7a1a51b5
RM
75152014-05-08 Roland McGrath <roland@hack.frob.com>
7516
95afbbe5
RM
7517 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7518 look for %.ac rather than %.in.
7519
7520 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7521 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7522 * sysdeps/mach/hurd/configure: Regenerated.
7523 * sysdeps/unix/sysv/linux/configure: Regenerated.
7524
7a1a51b5
RM
7525 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7526
5057ad3b
SE
75272014-05-07 Steve Ellcey <sellcey@mips.com>
7528
7529 [BZ# 16922]
7530 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7531 (LONG_SUB): Ditto.
7532 (PTR_SUB): Ditto.
7533
8dc97517
AS
75342014-05-07 Andreas Schwab <schwab@suse.de>
7535
7536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7537 when skipping over non-matching result from nscd.
7538
ce0c5b8f
OB
75392014-05-07 Ondřej Bílka <neleai@seznam.cz>
7540
7541 [BZ #16876]
7542 * nptl/sockperf.c (client): Check socket return value.
8dc97517 7543
a1189263
OB
7544 [BZ #16877]
7545 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7546 nscd security class.
ce0c5b8f 7547
0f58d252
RM
75482014-05-06 Roland McGrath <roland@hack.frob.com>
7549
7550 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7551 * sysdeps/arm/unwind.h: ... here.
7552
83df9ad0
AJ
75532014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7554
ce0c5b8f
OB
7555 [BZ# 16916]
7556 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7557 Define.
83df9ad0 7558
f360f94a
VR
75592014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7560
7561 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7562 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7563 multiarch strncpy for PPC64.
7564 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7565 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7567 multiarch optimizations.
7568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7569 (__libc_ifunc_impl_list): Likewise.
7570 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7571 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7572 multiarch stpncpy for PPC64.
7573 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7574 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7575
978a41c3
AS
75762014-05-06 Andreas Schwab <schwab@suse.de>
7577
7578 [BZ #16912]
7579 * gmon/mcount.c (_MCOUNT_DECL): Use
7580 atomic_compare_and_exchange_bool_acq instead of
7581 catomic_compare_and_exchange_bool_acq.
7582
eb1ed03d
RM
75832014-05-05 Roland McGrath <roland@hack.frob.com>
7584
fe658845
RM
7585 * elf/Makefile (others, install-bin): Remove pldd.
7586 (pldd-modules): Variable removed.
7587 ($(objpfx)pldd): Target removed.
7588 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7589 (others, install-bin): Append pldd here.
7590 ($(objpfx)pldd): New target.
7591
eb1ed03d
RM
7592 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7593 to 0, so the first #if test emitted later doesn't see it undefined.
7594 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7595 * sysdeps/gnu/errlist.c: Regenerated.
7596
19c4bec0
AZ
75972014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7598
7599 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7600 [libc_hidden_builtin_def]: Define to empty value.
7601 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7602 [libc_hidden_builtin_def]: Likewise.
7603 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7604 [libc_hidden_builtin_def]: Likewise.
7605 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7606 [libc_hidden_builtin_def]: Likewise.
7607 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7608 __redirect_memcpy and define ifunc as default hidden symbol.
7609 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7610 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7611
7776e669
AC
76122014-05-04 Adam Conrad <adconrad@0c3.net>
7613
7614 * locale/iso-4217.def: Reintroduce XDR currency.
7615
d69aeb12
AM
76162014-05-04 Allan McRae <allan@archlinux.org>
7617
7618 * po/eo.po: Update Esperanto translation from translation project.
7619
8f1df5cf
CD
76202014-05-02 Carlos O'Donell <carlos@redhat.com>
7621
7622 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7623 and FEATURE_INDEX_MAX to 1.
7624 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7625
13e402e7
SE
76262014-05-01 Steve Ellcey <sellcey@mips.com>
7627
7628 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7629 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7630 * iconvdata/big5.c (ONE_DIRECTION): Define.
7631 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7632 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7633 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7634 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7635 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7636 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7637 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7638 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7639 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7640 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7641 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7642 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7643 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7644 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7645 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7646 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7647 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7648 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7649 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7650 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7651 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7652 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7653 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7654 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7655 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7656 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7657 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7658 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7659 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7660 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7661 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7662 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7663 * iconvdata/johab.c (ONE_DIRECTION): Define.
7664 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7665 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7666 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7667 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7668 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7669 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7670 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7671 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7672 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7673 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7674
c727f032
RM
76752014-05-01 Roland McGrath <roland@hack.frob.com>
7676
8f2f08d0
RM
7677 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7678 (_IO_JUMPS_OFFSET): Define to 0.
7679
c727f032
RM
7680 * nptl/sysdeps/pthread/bits/libc-lock.h
7681 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7682 (__libc_lock_define_initialized_recursive): Always define using
7683 initializer. Modern compilers treat uninitialized (implicit zero) and
7684 explicit zero initializers the same (i.e. put the datum in bss).
7685
a849e800
AS
76862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7687
7688 * nscd/nscd-client.h: Include <string.h>.
7689
5331255b
DM
76902014-05-01 David S. Miller <davem@davemloft.net>
7691
7692 [BZ #16885]
7693 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7694 multiple zero bytes exist at the end of a string.
7695 Reported by Aurelien Jarno <aurelien@aurel32.net>
7696
7697 * string/test-strcmp.c (check): Add explicit test for situations where
7698 there are multiple zero bytes after the first.
7699
4fdfe821
AS
77002014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7701
7702 [BZ #16890]
7703 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7704 when compiling wprintf.
7705 * stdio-common/tstdiomisc.c (t3): New function.
7706 (main): Call it.
7707
0cdddc25
SE
77082014-05-01 Steve Ellcey <sellcey@mips.com>
7709
7710 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7711 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7712 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7713 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7714
6426d77e
SE
77152014-05-01 Steve Ellcey <sellcey@mips.com>
7716
7717 * stdlib/longlong.h: Updated from GCC.
7718
6d96f5e4
WN
77192014-05-01 Will Newton <will.newton@linaro.org>
7720 Bernard Ogden <bernie.ogden@linaro.org>
7721
7470db0c
WN
7722 * NEWS: Update fixed bug list.
7723
6d96f5e4
WN
7724 [BZ #15119]
7725 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7726
211d653c
DM
77272014-04-30 David S. Miller <davem@davemloft.net>
7728
4fa262fa
DM
7729 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7730 (libc_feholdexcept_setround_sparc_ctx): New function.
7731 (libc_fesetenv_sparc_ctx): Likewise.
7732 (libc_feupdateenv_sparc_ctx): Likewise.
7733 (libc_feholdsetround_sparc_ctx): Likewise.
7734 (libc_feholdexcept_setround_ctx): Define.
7735 (libc_feholdexcept_setroundf_ctx): Likewise.
7736 (libc_feholdexcept_setroundl_ctx): Likewise.
7737 (libc_fesetenv_ctx): Likewise.
7738 (libc_fesetenvf_ctx): Likewise.
7739 (libc_fesetenvl_ctx): Likewise.
7740 (libc_feupdateenv_ctx): Likewise.
7741 (libc_feupdateenvf_ctx): Likewise.
7742 (libc_feupdateenvl_ctx): Likewise.
7743 (libc_feresetround_ctx): Likewise.
7744 (libc_feresetroundf_ctx): Likewise.
7745 (libc_feresetroundl_ctx): Likewise.
7746 (libc_feholdsetround_ctx): Likewise.
7747 (libc_feholdsetroundf_ctx): Likewise.
7748 (libc_feholdsetroundl_ctx): Likewise.
7749
1d3d93ef
DM
7750 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7751 with __USE_GNU instead of XOPEN cpp guards.
7752
8aa583c3
DM
7753 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7754 0.
7755
211d653c
DM
7756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7757 with XOPEN cpp guards.
7758
60c8f1f6
JB
77592014-04-30 Julian Brown <julian@codesourcery.com>
7760
7761 [BZ #16888]
7762 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7763 handling.
7764
9a461d46
JM
77652014-04-30 Joseph Myers <joseph@codesourcery.com>
7766
d0f5b3f8
JM
7767 [BZ #9894]
7768 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7769 Change to 2.6.32.
7770 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7771 * sysdeps/unix/sysv/linux/configure: Regenerated.
7772 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7773 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7774 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7775 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7776 * README: Update reference to required Linux kernel version.
7777 * manual/install.texi (Linux): Update reference to required Linux
7778 kernel headers version.
7779 * INSTALL: Regenerated.
7780
9a461d46
JM
7781 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7782 header inclusion.
7783 [POSIX] (limits.h): Likewise.
7784 [POSIX] (math.h): Likewise.
7785 [POSIX] (sys/wait.h): Likewise.
7786 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7787 function.
7788 [POSIX] (stddef.h): Do not allow header inclusion.
7789
1775babf
AZ
77902014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7791
57f41c40 7792 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 7793
8f630cca
YY
77942014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7795
7796 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7797 Return immediately after lll_futex_wake.
7798
1cdeb237
SP
77992014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7800
bc8f194c
SP
7801 [BZ #16791]
7802 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7803 structure.
7804 (datahead_init_pos): Call datahead_init_common early.
7805 (datahead_init_neg): Likewise.
7806
1cdeb237
SP
7807 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7808 datahead_init_neg): New functions.
7809 * nscd/aicache.c (addhstaiX): Use them.
7810 * nscd/grpcache.c (cache_addgr): Likewise.
7811 * nscd/hstcache.c (cache_addhst): Likewise.
7812 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7813 * nscd/netgroupcache.c (do_notfound): Likewise.
7814 (addgetnetgrentX): Likewise.
7815 (addinnetgrX): Likewise.
7816 * nscd/pwdcache.c (cache_addpw): Likewise.
7817 * nscd/servicescache.c (cache_addserv): Likewise.
7818
16b293a7
SP
78192014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7820 Atsushi Onoe <atsushi@onoe.org>
7821
7822 [BZ #14308]
7823 [BZ #12994]
7824 [BZ #13651]
7825 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7826 one response is valid.
7827 * resolv/res_send.c (send_dg): Check for validity of other
7828 response if the current response is a referral.
7829
a28a9b94
SE
78302014-04-29 Steve Ellcey <sellcey@mips.com>
7831
7832 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7833
2ca180e9
SL
78342014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7835
7836 [BZ #16823]
7837 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7838 Always divide by positive zero when computing -Inf result.
7839 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7840 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7841
18f2945a
AZ
78422014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7843
7844 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7845 FPSCR if value do not change.
7846 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7847 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7848 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7849 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7850 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7851 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7852 function.
7853
5abebba4
CD
78542014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7855
7856 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7857 * sysdeps/unix/sysv/linux/hppa: Move directory from
7858 ports/systeps/unix/sysv/linux/hppa.
7859 * README: Update listing for hppa-*-linux-gnu.
7860
f7ed60c2
OB
78612014-04-28 Ondřej Bílka <neleai@seznam.cz>
7862
fff763a5
OB
7863 [BZ #16754]
7864 * manual/stdio.texi (Hook functions): Fix types of stream hook
7865 functions.
f7ed60c2
OB
7866 [BZ #16854]
7867 * socket/sys/socket.h: Fix typo in comment.
7868
df639d73
WD
78692014-04-28 Wilco <wdijkstr@arm.com>
7870
f7ed60c2 7871 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
7872 * sysdeps/arm/math_private.h: New file.
7873 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7874
48332d82
L
78752014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7876
7877 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7878 with __int128_t.
7879 (La_x86_64_retval): Likewise.
7880
e5e0d9a4
IB
78812014-04-24 Ian Bolton <ian.bolton@arm.com>
7882
7883 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7884 fpsr if value didn't change.
7885 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7886 to fpcr if value didn't change.
7887 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7888 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7889 fpsr or fpcr if value didn't change.
7890 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7891 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7892 fpcr if value didn't change.
7893 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7894 to fpsr if value didn't change.
7895
bacc75f7
SP
78962014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7897
7898 * nptl/tst-sem3.c: Use test-skeleton.c
7899 (main): Rename to do_test. Use return instead of
7900 exit.
7901 * nptl/tst-sem4.c: Use test-skeleton.c
7902 (main): Rename to do_test.
7903
a059d359
DM
79042014-04-22 David S. Miller <davem@davemloft.net>
7905
7906 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7907 (struct sigaction): New struct member __glibc_reserved0, change
7908 type of sa_flags to int.
7909
ea6c92f3
YZ
79102014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7911
7912 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7913 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7914
766c4a36
SP
79152014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7916
7917 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7918 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7919
140cc7ab
VK
79202014-04-22 Will Newton <will.newton@linaro.org>
7921 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7922
7923 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7924 (__longjmp): Add longjmp and longjmp_target SystemTap
7925 probes.
7926 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7927 (__sigsetjmp): Add setjmp SystemTap probe.
7928
c54e5cf7
CD
79292014-04-17 Carlos O'Donell <carlos@redhat.com>
7930
7931 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7932 match manual order.
7933
75ffb047
AZ
79342014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7935
7936 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7937
2cd925f7
AZ
7938 * sysdeps/powerpc/fpu/fenv_private.h
7939 (libc_feholdexcept_setroundl_ctx): Define to
7940 libc_feholdexcept_setround_ppc_ctx.
7941 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7942 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7943 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7944 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7945
39e6cd8d
IB
79462014-04-17 Ian Bolton <ian.bolton@arm.com>
7947
7948 * sysdeps/aarch64/math-tests.h: New file.
7949
f9281df9
SY
79502014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7951
7952 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7953 New.
7954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7955 Check and set bit_AVX2_Usable.
7956 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7957 macro.
7958 (bit_AVX2): Likewise.
7959 (index_AVX2_Usable): Likewise.
7960 (CPUID_AVX2): Likewise.
7961 (HAS_AVX2): Likewise.
7962
37d35007
WN
79632014-04-17 Will Newton <will.newton@linaro.org>
7964
7c677662
WN
7965 * manual/setjmp.texi (System V contexts): Add note that
7966 calling setcontext on a context created by a call to a
7967 signal handler is undefined. Update text to note that
7968 setcontext from a signal handler is possible but not
7969 recommended.
7970
37d35007 7971 [BZ #16629]
e04a4e9d
WN
7972 * stdlib/tst-setcontext.c: Include signal.h.
7973 (main): Check that the signal stack before and
7974 after swapcontext is the same.
7975
37d35007
WN
7976 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7977 Re-implement to restore registers in user code and avoid
7978 rt_sigreturn system call.
7979
423a7160
W
79802014-04-17 Wilco <wdijkstr@arm.com>
7981
7982 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7983 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7984 * math/test-fenv.c: Skip exception trap tests on targets which only
7985 support non-stop mode.
7986
bc93ab29
IB
79872014-04-17 Ian Bolton <ian.bolton@arm.com>
7988 Wilco Dijkstra <wilco.dijkstra@arm.com>
7989
7990 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7991 (libc_feholdsetround_aarch64_ctx)
7992 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7993 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7994 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7995 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7996 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7997 (libc_feresetround_noexl_ctx): Define.
7998
95fc5fa3
RH
79992014-04-16 Richard Henderson <rth@redhat.com>
8000
ddb04724
RH
8001 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8002
d77c0899
RH
8003 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8004 unwind tables.
8005
a3df56fc
RH
8006 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8007 const from the non-libc, non-ldso copy.
8008
95fc5fa3
RH
8009 * sysdeps/alpha/libm-test-ulps: Regenerate.
8010
7e0b6763
IB
80112014-04-16 Ian Bolton <ian.bolton@arm.com>
8012 Wilco Dijkstra <wilco.dijkstra@arm.com>
8013
8014 * sysdeps/aarch64/fpu/math_private.h: New file.
8015
a9ea2e0c
MS
80162014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8017
8018 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8019
ea8ba7cd
IZ
80202014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8021
7e54fd04 8022 [BZ #16275]
ea8ba7cd
IZ
8023 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8024 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8026 Intel MPX bound registers before _dl_profile_fixup.
8027 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8028 registers after _dl_profile_fixup. Save and restore bound
8029 registers bnd0/bnd1 when calling _dl_call_pltexit.
8030 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8031 (LR_BND_OFFSET): Likewise.
8032 (LRV_BND0_OFFSET): Likewise.
8033 (LRV_BND1_OFFSET): Likewise.
8034
9f2a4fbc
ST
80352014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8036
8037 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8038 to...
8039 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8040 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8041 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8042 fields.
9f2a4fbc 8043
fd15a59b
ST
80442014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8045
8046 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8047
f19dfa0a
SL
80482014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8049
8050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8051
4fa8bc3b
SL
80522014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8053
8054 [BZ #14770]
8055 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8056 * sysdeps/s390/configure: Regenerate.
8057
8ea587db
SL
8058 [BZ #16824]
8059 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8060 Set round-to-nearest internally to reduce error accumulation.
8061
aa5f0ff1
AM
80622014-04-16 Alan Modra <amodra@gmail.com>
8063
8064 [BZ #16740]
8065 [BZ #16619]
8066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8067 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8068 * NEWS: Update fixed bug list.
aa5f0ff1 8069
bb9c256f
SP
80702014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8071
8072 * benchtests/Makefile: Depend on libraries in build directory.
8073 (bench-math): Separate out math tests.
8074 (bench-pthread): Separate out pthread tests.
8075 (bench): Include math and pthread tests.
8076
f737dfd0
CD
80772014-04-14 Carlos O'Donell <carlos@redhat.com>
8078
8079 [BZ #16831]
8080 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8081 _dl_debug_initialize.
8082
0699f766
CD
8083 * configure.ac: Remove SELinux header check.
8084 * configure: Regenerate.
8085 * nscd/selinux.c (perms): Array of const char* to permission names.
8086 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8087 default policy. Call string_to_security_class and string_to_av_perm to
8088 translate strings. Enforce default policy and call avs_has_perm with
8089 results of translated strings.
8090
809bd45f
DM
80912014-04-13 David S. Miller <davem@davemloft.net>
8092
8093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8094
89e691f2
AM
80952014-04-12 Allan McRae <allan@archlinux.org>
8096
8097 [BZ #16838]
8098 * manual/string.texi (Collation Functions): Fix qsort argument
8099 order in example.
8100 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8101
9c9daaeb
CM
81022014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8103
8104 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8105 Make the test a no-op if there are no exceptions defined.
8106
95561fb9
PP
81072014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8108
fe8d072c 8109 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
8110 enable-hardcoded-path-in-tests
8111
970c602a
WN
81122014-04-11 Will Newton <will.newton@linaro.org>
8113
8114 * benchtests/Makefile (extra-objs): Add json-lib.o.
8115 (bench-func): Tidy up JSON output.
8116 * benchtests/bench-skeleton.c: Include json-lib.h.
8117 (main): Use JSON library functions to do output of
8118 benchmark results.
8119 * benchtests/bench-timing-type.c (main): Output the
8120 timing type simply, leaving formatting to the user.
8121 * benchtests/json-lib.c: New file.
8122 * benchtests/json-lib.h: Likewise.
8123
36875b06
TR
81242014-04-11 Torvald Riegel <triegel@redhat.com>
8125
8126 [BZ #15215]
8127 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8128 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8129 memory barriers. Add comments.
8130 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8131 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8132 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8133 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8134 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8135 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8136
579db35a
SL
81372014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8138
8139 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8140 * sysdeps/s390/s390-64/configure.ac: ... this ...
8141 * sysdeps/s390/configure.ac: ... to here.
8142 * sysdeps/s390/s390-32/configure: Delete file.
8143 * sysdeps/s390/s390-64/configure: Delete file.
8144 * sysdeps/s390/configure: Regenerate.
8145
c12e9f37
JAPH
81462014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8147
8148 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8149
439bda32
WN
81502014-04-11 Will Newton <will.newton@linaro.org>
8151
8152 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8153 to zero if it is not defined elsewhere. (mtrim): Test
8154 the value of MALLOC_DEBUG with #if rather than #ifdef.
8155
6a5d6ea1
TR
81562014-04-10 Torvald Riegel <triegel@redhat.com>
8157
8158 * benchtests/pthread_once-inputs: New file.
8159 * benchtests/pthread_once-source.c: New file.
8160 * benchtests/README: Update documentation.
8161
a4c75cfd
IZ
81622014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8163 H.J. Lu <hongjiu.lu@intel.com>
8164
7e54fd04 8165 [BZ #16275]
a4c75cfd
IZ
8166 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8167 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8168 * sysdeps/x86_64/configure: Regenerated.
8169 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8170 macro.
8171 (REGISTER_SAVE_RAX): Likewise.
8172 (REGISTER_SAVE_RCX): Likewise.
8173 (REGISTER_SAVE_RDX): Likewise.
8174 (REGISTER_SAVE_RSI): Likewise.
8175 (REGISTER_SAVE_RDI): Likewise.
8176 (REGISTER_SAVE_R8): Likewise.
8177 (REGISTER_SAVE_R9): Likewise.
8178 (REGISTER_SAVE_BND0): Likewise.
8179 (REGISTER_SAVE_BND1): Likewise.
8180 (REGISTER_SAVE_BND2): Likewise.
8181 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8182 bound registers when calling _dl_fixup.
8183
27822ce6
AZ
81842014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8185
8186 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8187 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8188 of its definition.
27822ce6
AZ
8189 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8190 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8191 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8192 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8193 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8194 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8195 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8196
a88ddc90
PTB
81972014-04-09 Peter Brett <peter@peter-b.co.uk>
8198
8199 [BZ #15514]
8200 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8201 pathconf(_PC_NAME_MAX).
8202
01f8eac2
AZ
82032014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8204
8205 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8206 Remove macro usage.
8207 (__PTHREAD_SPINS): Move definition to ...
8208 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8209 (__PTHREAD_SPINS): ... here.
8210 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8211 (__PTHREAD_SPIN): Likewise.
8212 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8213 (__PTHREAD_SPIN): Likewise.
8214 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8215 (__PTHREAD_SPIN): Likewise.
8216 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8217 (__PTHREAD_SPIN): Likewise.
8218 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8219 (__PTHREAD_SPIN): Likewise.
8220 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8221 (__PTHREAD_SPIN): Likewise.
8222 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8223 (__PTHREAD_SPIN): Likewise.
8224 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8225 (__PTHREAD_SPIN): Likewise.
8226 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8227 (__PTHREAD_SPIN): Likewise.
8228 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8229 (__PTHREAD_SPIN): Likewise.
8230 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8231 (__PTHREAD_SPIN): Likewise.
8232 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8233 (__PTHREAD_SPIN): Likewise.
8234
de21c33c
AZ
8235 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8236 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8237 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8238 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8239 imply folder.
8240 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8241 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8242 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8243 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8244 correct imply path.
8245 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8246 strlen symbol for non multi-arch builds.
8247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8248 missing hidden_def and weak_alias.
8249
862c472e
CD
82502014-04-08 Carlos O'Donell <carlos@redhat.com>
8251
8252 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8253
8667f90e
WN
82542014-04-07 Will Newton <will.newton@linaro.org>
8255
8256 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8257 and contents. [!_LIBC] Remove #ifndef and contents.
8258 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8259 * string/memccpy.c (__memccpy): Use ANSI prototype.
8260 * string/memfrob.c (memfrob): Likewise.
8261 * string/strcoll.c (STRCOLL): Likewise.
8262 * string/strlen.c (strlen): Likewise.
8263 * string/strtok.c (STRTOK): Likewise.
8264 * string/strcat.c: Remove unused #include of memcopy.h.
8265 (strcat): Use ANSI prototype.
8266 * string/strchr.c: Remove unused #include of memcopy.h.
8267 (strchr): Use ANSI prototype.
8268 * string/strcmp.c: Remove unused #include of memcopy.h.
8269 (strcmp): Use ANSI prototype.
8270 * string/strcpy.c: Remove unused #include of memcopy.h.
8271 (strcpy): Use ANSI prototype.
8272
7ffa9423
AZ
82732014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8274
8275 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8276 * config.make.in (config-extra-cppflags): Set it from
8277 libc_extra_cppflags.
8278 * configure.ac (libc_extra_cflags): Make it accumulate over
8279 configure fragments.
8280 (libc_extra_cppflags): New flag.
8281 * configure. Regenerate.
8282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
8283 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8284 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
8285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8286
8bd70862
AZ
8287 [BZ #16815]
8288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8289 result for FE_DOWNWARD rounding mode.
8290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8291 Likewise.
8292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8293
d42f3448
CM
82942014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8295
8296 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8297 in function argument name.
8298
1c21d115
DS
82992014-04-03 David Svoboda <svoboda@cert.org>
8300
8301 [BZ #5666]
8302 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8303 explicitly.
8304
fcccd512
RM
83052014-04-03 Roland McGrath <roland@hack.frob.com>
8306
8307 * elf/dl-unmap-segments.h: New file.
8308 * sysdeps/generic/ldsodefs.h
8309 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8310 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8311 * elf/dl-fptr.c: Likewise.
8312 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8313 * sysdeps/aarch64/tlsdesc.c: Likewise.
8314 * sysdeps/arm/tlsdesc.c: Likewise.
8315 * sysdeps/i386/tlsdesc.c: Likewise.
8316 * sysdeps/tile/dl-runtime.c: Likewise.
8317 * sysdeps/x86_64/tlsdesc.c: Likewise.
8318 * elf/dl-load.h: New file.
8319 * elf/dl-load.c: Include it.
8320 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8321 Macros moved to dl-load.h.
8322 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8323 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8324 Use _dl_unmap_segments in place of __munmap.
8325 Break out segment-mapping loop into ...
8326 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8327
f6488e2b
WN
83282014-04-03 Will Newton <will.newton@linaro.org>
8329
8330 * elf/dl-lookup.c (do_lookup_x): Remove comment
8331 referring to nested function and move variable
8332 declarations down to before first use.
8333
6f05bafe
JM
83342014-04-02 Joseph Myers <joseph@codesourcery.com>
8335
a84e78c8
JM
8336 [BZ #16799]
8337 [BZ #16800]
8338 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8339 with 0 numerator.
8340 * math/s_catanf.c (__catanf): Likewise.
8341 * math/s_catanh.c (__catanh): Likewise.
8342 * math/s_catanhf.c (__catanhf): Likewise.
8343 * math/s_catanhl.c (__catanhl): Likewise.
8344 * math/s_catanl.c (__catanl): Likewise.
8345 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8346 by positive zero when computing -Inf result.
8347 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8348 (catanh_test): Likewise.
8349 * sysdeps/i386/fpu/libm-test-ulps: Update.
8350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8351
6f05bafe
JM
8352 [BZ #16789]
8353 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8354 instead of using underflowing value in computing result.
8355 * math/s_clog10.c (__clog10): Likewise.
8356 * math/s_clog10f.c (__clog10f): Likewise.
8357 * math/s_clog10l.c (__clog10l): Likewise.
8358 * math/s_clogf.c (__clogf): Likewise.
8359 * math/s_clogl.c (__clogl): Likewise.
8360 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8361 (clog10_test): Likewise.
8362 * sysdeps/i386/fpu/libm-test-ulps: Update.
8363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8364
b0abbc21
AM
83652014-04-02 Alan Modra <amodra@gmail.com>
8366
8367 [BZ #16739]
8368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8369 output when value is near a power of two. Use int64_t for lx and
8370 remove casts. Use decimal rather than hex exponent constants.
8371 Don't use long double multiplication when double will suffice.
8372 * math/libm-test.inc (nextafter_test_data): Add tests.
8373 * NEWS: Add 16739 and 16786 to bug list.
8374
af6b1797
AM
8375 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8376
483818d7
AM
8377 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8378
f6c55796
WN
83792014-04-01 Will Newton <will.newton@linaro.org>
8380
8381 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8382 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8383
13f7fe35
FW
83842014-04-01 Florian Weimer <fweimer@redhat.com>
8385
8386 [BZ #13347]
8387 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8388 * nptl/tst-setuid2.c: New file.
8389 * nptl/Makefile (xtests): Add tst-setuid2.
8390
c859b32e
AM
83912014-04-01 Alan Modra <amodra@gmail.com>
8392
8393 [BZ #16786]
8394 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8395
54fa2475
JM
83962014-03-31 Joseph Myers <joseph@codesourcery.com>
8397
8795b4a4
JM
8398 [BZ #6803]
8399 [BZ #6804]
8400 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8401 set errno as appropriate.
8402 * math/w_scalbf.c (__scalbf): Likewise.
8403 * math/w_scalbl.c (__scalbl): Likewise.
8404 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8405 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8406 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8407 Add more NaN tests.
8408
54fa2475
JM
8409 [BZ #16349]
8410 * math/w_atan2.c: Include <errno.h>.
8411 (__atan2): Set errno for result underflowing to zero.
8412 * math/w_atan2f.c: Include <errno.h>.
8413 (__atan2f): Set errno for result underflowing to zero.
8414 * math/w_atan2l.c: Include <errno.h>.
8415 (__atan2l): Set errno for result underflowing to zero.
8416 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8417 tests.
8418 * math/auto-libm-test-out: Regenerated.
8419
757d9dd5
AZ
84202014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8421
8422 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8423 Encode instruction correctly in little endian.
8424 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8425 Likewise.
8426 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8427 Likewise.
8428 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8429 Likewise.
8430 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8431 Likewise.
8432
d7a68734
JM
84332014-03-31 Joseph Myers <joseph@codesourcery.com>
8434
47c5adeb
JM
8435 [BZ #9894]
8436 * sysdeps/unix/sysv/linux/kernel-features.h
8437 [__sparc__ && !__arch64__ && !__sparc_v9__]
8438 (__ASSUME_SET_ROBUST_LIST): Do not define.
8439 [__sparc__ && !__arch64__ && !__sparc_v9__]
8440 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8441 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8442 Likewise.
8443 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8444 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8445 (__ASSUME_REQUEUE_PI): Likewise.
8446 (__ASSUME_SET_ROBUST_LIST): Likewise.
8447 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8448 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8449 Undefine.
8450 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8451 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8452 Likewise.
8453 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8454 Likewise.
8455 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8456 Likewise.
8457 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8458 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8459 Undefine.
8460 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8461 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8462 Likewise.
8463
d7a68734
JM
8464 [BZ #16648]
8465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8466 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8467 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8468
c760f5c2
WN
84692014-03-31 Will Newton <will.newton@linaro.org>
8470
8471 * benchtests/Makefile (bench): Add ffs and ffsll to list
8472 of tests.
8473 * benchtests/ffs-inputs: New file.
8474 * benchtests/ffsll-inputs: Likewise.
8475
ea6029b1
JM
84762014-03-29 Joseph Myers <joseph@codesourcery.com>
8477
8478 [BZ #16770]
8479 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8480 too large before casting to int.
8481 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8482 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8483 * math/libm-test.inc (scalb_test_data): Add more tests.
8484
cf806aff
SP
84852014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8486
56737508
SP
8487 * benchtests/Makefile (DETAILED_OPT): New make option.
8488 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8489 set.
8490 * benchtests/bench-skeleton.c: Include stdbool.h.
8491 (main): Store and print timings per input.
8492 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8493 member to each argument value.
8494 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8495 (_print_arg_data): Initialize per-input timing to 0.
8496
cb5e4aad
SP
8497 * benchtests/Makefile (timing-type): New binary.
8498 (bench-clean): Also remove bench-timing-type.
8499 (bench): New target for timing-type.
8500 (bench-func): Print output in JSON format.
8501 * benchtests/bench-skeleton.c (main): Print output in JSON
8502 format.
8503 * benchtests/bench-timing-type.c: New file.
8504 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8505 (TIMING_PRINT_STATS): Remove.
8506 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8507 name separately.
8508
cf806aff
SP
8509 * benchtests/bench-modf.c: Remove.
8510 * benchtests/modf-inputs: New inputs file.
8511
289e0779
JM
85122014-03-28 Joseph Myers <joseph@codesourcery.com>
8513
8514 [BZ #16362]
8515 * math/s_clog10.c (M_PI_LOG10E): New macro.
8516 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8517 imaginary parts are 0.
8518 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8519 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8520 imaginary parts are 0.
8521 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8522 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8523 imaginary parts are 0.
8524 * math/libm-test.inc (clog10_test_data): Update expected results
8525 for when real and imaginary parts are 0.
8526
277ae3f1
PP
85272014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8528
8529 * elf/dl-load.c: Finish conversion of __builtin_expect into
8530 __glibc_{un}likely.
8531
03a7091f
JM
85322014-03-27 Joseph Myers <joseph@codesourcery.com>
8533
8534 [BZ #16348]
8535 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8536 1+x for argument with exponent below -67.
8537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8538 Likewise.
8539 * math/auto-libm-test-in: Add more tests of exp.
8540 * math/auto-libm-test-out: Regenerated.
8541
ea7d8b95
SP
85422014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8543
dd3022d7
SP
8544 [BZ #16759]
8545 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8546 (nscd_getnetgrent): Use it.
8547
ea7d8b95
SP
8548 [BZ #16760]
8549 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8550 of stpcpy.
8551
df5b85da
AK
85522014-03-27 Andi Kleen <ak@linux.intel.com>
8553
57f41c40
AS
8554 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8555 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8556 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8557 (lll_robust_unlock): Remove out of line section. Use cfi
8558 intrinsics.
df5b85da 8559 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
8560 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8561 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8562 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8563 (lll_robust_unlock): Remove out of line section. Use cfi
8564 intrinsics.
df5b85da
AK
8565 (LLL_STUB_UNWIND_INFO*): Remove.
8566
fbd6b5a4
SP
85672014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8568
8569 [BZ #16758]
8570 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8571 blank values.
8572
1b26b855
PP
85732014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8574
8575 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8576
9be36fb8
JM
85772014-03-26 Joseph Myers <joseph@codesourcery.com>
8578
8579 [BZ #16198]
8580 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8581 fnstenv.
8582 * math/test-fenv-preserve.c: New file.
8583 * math/Makefile (tests): Add test-fenv-preserve.
8584
60a2f3c1
WN
85852014-03-26 Will Newton <will.newton@linaro.org>
8586
8587 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8588
a5e5f1e2
RM
85892014-03-25 Roland McGrath <roland@hack.frob.com>
8590
8591 * scripts/versionlist.awk: Partition the version sets and emit all
8592 GLIBC_* (sorted) before all others (sorted).
8593
00f4012a
JM
85942014-03-25 Joseph Myers <joseph@codesourcery.com>
8595
8596 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8597 GLIBC_2.2.5 version.
8598
7bc5a741
AZ
85992014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8600
8601 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8602 calls.
8603
7578473b
AZ
8604 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8605 previous change.
8606
f3f1dab3
AZ
8607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8608
6da36183
AS
86092014-03-25 Andreas Schwab <schwab@suse.de>
8610
8611 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8612 label to be used after in6ailist is initialized.
8613
f3f1dab3 86142014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 8615
7578473b 8616 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
8617 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8618
046651c1
JM
86192014-03-25 Joseph Myers <joseph@codesourcery.com>
8620
8621 [BZ #16357]
8622 [BZ #16599]
8623 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8624 min_plus_half.
8625 (fp_formats): Update initializers.
8626 (init_fp_formats): Initialize new field.
8627 (output_for_one_input_case): Allow underflow for results up to
8628 min_plus_half.
8629 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8630 * math/auto-libm-test-in: Don't mark some underflows from asin and
8631 atanh as spurious.
8632 * math/auto-libm-test-out: Regenerated.
8633 * sysdeps/i386/fpu/libm-test-ulps: Update.
8634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8635
003e49ed
AS
86362014-03-25 Andreas Schwab <schwab@suse.de>
8637
8638 * libio/Makefile (tst-ftell-partial-wide-ENV)
8639 (tst-ftell-active-handler-ENV): Define.
8640
de031874
SL
86412014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8642
8643 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8644
55a81e3b
PP
86452014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8646
8647 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8648
f3426898
JM
86492014-03-24 Joseph Myers <joseph@codesourcery.com>
8650
8651 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8652 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8653 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8654
a42faf59
PP
86552014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8656
8657 [BZ #16634]
a42faf59 8658 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
8659 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8660 (open_path): Change from boolean 'secure' to complete flag 'mode'
8661 (_dl_map_object): Adjust.
a42faf59
PP
8662 * elf/Makefile (tests): Add tst-dlopen-aout.
8663 * elf/tst-dlopen-aout.c: New test.
8664
50936127
SL
86652014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8666
8667 [BZ #16714]
8668 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8669 (struct stat): Rename member pad0 to __glibc_reserved0.
8670
26011b5c
SL
8671 [BZ #16712]
8672 * sysdeps/s390/s390-32/bits/wordsize.h
8673 (__WORDSIZE32_SIZE_ULONG): New define.
8674 * sysdeps/s390/s390-64/bits/wordsize.h
8675 (__WORDSIZE32_SIZE_ULONG): Likewise.
8676 * sysdeps/generic/stdint.h (SIZE_MAX):
8677 Define as UL if __WORDSIZE32_SIZE_ULONG.
8678
a2d86bf1
SL
8679 [BZ #16713]
8680 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8681 (__glibc_reserved0): New variable.
8682 (sa_flags): Change type to int.
8683
78b6eebc
SL
8684 * posix/Makefile (before-compile): Use += before-compile instead
8685 of a :=.
8686
f1399b5a
SL
8687 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8688 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8689
a071766e
AS
86902014-03-20 Andreas Schwab <schwab@suse.de>
8691
8692 [BZ #16743]
8693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8694 non-matching result from nscd.
8695
27c673b8
SP
86962014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8697
8698 * scripts/bench.py: Moved to ...
8699 * benchtests/scripts/bench.py: ... here.
8700 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8701
44152e4b
AS
87022014-03-24 Andreas Schwab <schwab@suse.de>
8703
8704 [BZ #16002]
8705 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8706 alloca_account and account alloca use for struct in6ailist.
8707
b376a11a
JM
87082014-03-24 Joseph Myers <joseph@codesourcery.com>
8709
8710 [BZ #16284]
8711 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8712 rounding mode to recompute results that overflow to infinity or
8713 underflow to zero.
8714 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8715 bug 16284.
8716 * math/auto-libm-test-out: Regenerated.
8717 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8718 (ccosh_test): Likewise.
8719 (csin_test_data): Use plus_oflow.
8720 (csin_test): Use ALL_RM_TEST.
8721 (csinh_test_data): Use plus_oflow.
8722 (csinh_test): Use ALL_RM_TEST.
8723 * sysdeps/i386/fpu/libm-test-ulps: Update.
8724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8725
f7be7376
JM
87262014-03-21 Joseph Myers <joseph@codesourcery.com>
8727
1ca2d03e
JM
8728 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8729 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8730 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8731
f7be7376
JM
8732 [BZ #16731]
8733 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8734 when x - 1 is zero.
8735 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8736 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8737 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8738 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8739 argument is 1.
8740 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8741 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8742 zero.
8743 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8744 * sysdeps/i386/fpu/libm-test-ulps: Update.
8745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8746
fdf4534d
SP
87472014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8748
df26ea53
SP
8749 * scripts/bench.pl: Remove file.
8750 * scripts/bench.py: New benchmark script.
8751 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8752 * benchtests/README: Mention python dependency.
8753 * scripts/pylintrc: New file.
8754 * scripts/pylint: New file.
8755
fdf4534d
SP
8756 * bits/mathdef.h: Use #ifdef instead of #if.
8757 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8758 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8759 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8760 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8761 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8762 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8763
6f23d093
AZ
87642014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8765 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8766
8767 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8769 and strpbrk-ppc64 objects.
8770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8771 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8772 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8773 multiarch strpbrk for POWER7.
8774 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8775 multiarch strpbrk for PPC64.
8776 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8777 ifunc selector.
8778 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8779 strpbrk for POWER7.
8780
8c92dfff
JM
87812014-03-20 Joseph Myers <joseph@codesourcery.com>
8782
8783 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8784 (atan_test): Likewise.
8785 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8786 (atanh_test): Use ALL_RM_TEST.
8787 (atan2_test_data): Likewise.
8788 (cabs_test): Likewise.
8789 (cacosh_test): Likewise.
8790 (carg_test): Likewise.
8791 (casin_test): Likewise.
8792 (casinh_test): Likewise.
8793 (cbrt_test): Likewise.
8794 (csqrt_test): Likewise.
8795 (erf_test): Likewise.
8796 (erfc_test): Likewise.
8797 (pow10_test): Likewise.
8798 (exp2_test): Likewise.
8799 (hypot_test): Likewise.
8800 (j0_test): Likewise.
8801 (j1_test): Likewise.
8802 (lgamma_test): Likewise.
8803 (gamma_test): Likewise.
8804 (sincos_test): Likewise.
8805 (tanh_test): Likewise.
8806 (y0_test): Likewise.
8807 (y1_test): Likewise.
8808 * sysdeps/i386/fpu/libm-test-ulps: Update.
8809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8810
6eaf95cb
AZ
88112014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8812
a387428c
SP
8813 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
8815 and strcspn-ppc64 objects.
8816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8817 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8818 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8819 multiarch strcspn for POWER7.
8820 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8821 multiarch strcspn for PPC64.
8822 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8823 ifunc selector.
8824 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8825 strcspn for POWER7.
8826
ae3a5dff
JM
88272014-03-20 Joseph Myers <joseph@codesourcery.com>
8828
8829 * math/gen-libm-test.pl (generate_testfile): Expect only function
8830 name as argument to AUTO_TESTS_* and pass results for all rounding
8831 modes to parse_args.
8832 (parse_auto_input): Separate inputs of automatic tests from
8833 outputs before storing in %auto_tests.
8834 * math/libm-test.inc (acos_test_data): Update call to
8835 AUTO_TESTS_f_f.
8836 (acos_test): Use ALL_RM_TEST.
8837 (acos_tonearest_test_data): Remove.
8838 (acos_test_tonearest): Likewise.
8839 (acos_towardzero_test_data): Likewise.
8840 (acos_test_towardzero): Likewise.
8841 (acos_downward_test_data): Likewise.
8842 (acos_test_downward): Likewise.
8843 (acos_upward_test_data): Likewise.
8844 (acos_test_upward): Likewise.
8845 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8846 (asin_test_data): Likewise.
8847 (asin_test): Use ALL_RM_TEST.
8848 (asin_tonearest_test_data): Remove.
8849 (asin_test_tonearest): Likewise.
8850 (asin_towardzero_test_data): Likewise.
8851 (asin_test_towardzero): Likewise.
8852 (asin_downward_test_data): Likewise.
8853 (asin_test_downward): Likewise.
8854 (asin_upward_test_data): Likewise.
8855 (asin_test_upward): Likewise.
8856 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8857 (atan_test_data): Likewise.
8858 (atanh_test_data): Likewise.
8859 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8860 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8861 (carg_test_data): Likewise.
8862 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8863 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8864 (ccosh_test_data): Likewise.
8865 (cexp_test_data): Likewise.
8866 (clog_test_data): Likewise.
8867 (clog10_test_data): Likewise.
8868 (cos_test_data): Update call to AUTO_TESTS_f_f.
8869 (cos_test): Use ALL_RM_TEST.
8870 (cos_tonearest_test_data): Remove.
8871 (cos_test_tonearest): Likewise.
8872 (cos_towardzero_test_data): Likewise.
8873 (cos_test_towardzero): Likewise.
8874 (cos_downward_test_data): Likewise.
8875 (cos_test_downward): Likewise.
8876 (cos_upward_test_data): Likewise.
8877 (cos_test_upward): Likewise.
8878 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8879 (cosh_test): Use ALL_RM_TEST.
8880 (cosh_tonearest_test_data): Remove.
8881 (cosh_test_tonearest): Likewise.
8882 (cosh_towardzero_test_data): Likewise.
8883 (cosh_test_towardzero): Likewise.
8884 (cosh_downward_test_data): Likewise.
8885 (cosh_test_downward): Likewise.
8886 (cosh_upward_test_data): Likewise.
8887 (cosh_test_upward): Likewise.
8888 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8889 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8890 (ctan_test_data): Likewise.
8891 (ctan_test): Use ALL_RM_TEST.
8892 (ctan_tonearest_test_data): Remove.
8893 (ctan_test_tonearest): Likewise.
8894 (ctan_towardzero_test_data): Likewise.
8895 (ctan_test_towardzero): Likewise.
8896 (ctan_downward_test_data): Likewise.
8897 (ctan_test_downward): Likewise.
8898 (ctan_upward_test_data): Likewise.
8899 (ctan_test_upward): Likewise.
8900 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8901 (ctanh_test): Use ALL_RM_TEST.
8902 (ctanh_tonearest_test_data): Remove.
8903 (ctanh_test_tonearest): Likewise.
8904 (ctanh_towardzero_test_data): Likewise.
8905 (ctanh_test_towardzero): Likewise.
8906 (ctanh_downward_test_data): Likewise.
8907 (ctanh_test_downward): Likewise.
8908 (ctanh_upward_test_data): Likewise.
8909 (ctanh_test_upward): Likewise.
8910 (erf_test_data): Update call to AUTO_TESTS_f_f.
8911 (erfc_test_data): Likewise.
8912 (exp_test_data): Likewise.
8913 (exp_test): Use ALL_RM_TEST.
8914 (exp_tonearest_test_data): Remove.
8915 (exp_test_tonearest): Likewise.
8916 (exp_towardzero_test_data): Likewise.
8917 (exp_test_towardzero): Likewise.
8918 (exp_downward_test_data): Likewise.
8919 (exp_test_downward): Likewise.
8920 (exp_upward_test_data): Likewise.
8921 (exp_test_upward): Likewise.
8922 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8923 (exp10_test): Use ALL_RM_TEST.
8924 (exp10_tonearest_test_data): Remove.
8925 (exp10_test_tonearest): Likewise.
8926 (exp10_towardzero_test_data): Likewise.
8927 (exp10_test_towardzero): Likewise.
8928 (exp10_downward_test_data): Likewise.
8929 (exp10_test_downward): Likewise.
8930 (exp10_upward_test_data): Likewise.
8931 (exp10_test_upward): Likewise.
8932 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8933 (expm1_test_data): Likewise.
8934 (expm1_test): Use ALL_RM_TEST.
8935 (expm1_tonearest_test_data): Remove.
8936 (expm1_test_tonearest): Likewise.
8937 (expm1_towardzero_test_data): Likewise.
8938 (expm1_test_towardzero): Likewise.
8939 (expm1_downward_test_data): Likewise.
8940 (expm1_test_downward): Likewise.
8941 (expm1_upward_test_data): Likewise.
8942 (expm1_test_upward): Likewise.
8943 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8944 (fma_test): Use ALL_RM_TEST.
8945 (fma_towardzero_test_data): Remove.
8946 (fma_test_towardzero): Likewise.
8947 (fma_downward_test_data): Likewise.
8948 (fma_test_downward): Likewise.
8949 (fma_upward_test_data): Likewise.
8950 (fma_test_upward): Likewise.
8951 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8952 (j0_test_data): Update call to AUTO_TESTS_f_f.
8953 (j1_test_data): Likewise.
8954 (jn_test_data): Update call to AUTO_TESTS_if_f.
8955 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8956 (log_test_data): Update call to AUTO_TESTS_f_f.
8957 (log10_test_data): Likewise.
8958 (log1p_test_data): Likewise.
8959 (log2_test_data): Likewise.
8960 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8961 (pow_tonearest_test_data): Likewise.
8962 (sin_test_data): Update call to AUTO_TESTS_f_f.
8963 (sin_test): Use ALL_RM_TEST.
8964 (sin_tonearest_test_data): Remove.
8965 (sin_test_tonearest): Likewise.
8966 (sin_towardzero_test_data): Likewise.
8967 (sin_test_towardzero): Likewise.
8968 (sin_downward_test_data): Likewise.
8969 (sin_test_downward): Likewise.
8970 (sin_upward_test_data): Likewise.
8971 (sin_test_upward): Likewise.
8972 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8973 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8974 (sinh_test): Use ALL_RM_TEST.
8975 (sinh_tonearest_test_data): Remove.
8976 (sinh_test_tonearest): Likewise.
8977 (sinh_towardzero_test_data): Likewise.
8978 (sinh_test_towardzero): Likewise.
8979 (sinh_downward_test_data): Likewise.
8980 (sinh_test_downward): Likewise.
8981 (sinh_upward_test_data): Likewise.
8982 (sinh_test_upward): Likewise.
8983 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8984 (sqrt_test): Use ALL_RM_TEST.
8985 (sqrt_tonearest_test_data): Remove.
8986 (sqrt_test_tonearest): Likewise.
8987 (sqrt_towardzero_test_data): Likewise.
8988 (sqrt_test_towardzero): Likewise.
8989 (sqrt_downward_test_data): Likewise.
8990 (sqrt_test_downward): Likewise.
8991 (sqrt_upward_test_data): Likewise.
8992 (sqrt_test_upward): Likewise.
8993 (tan_test_data): Update call to AUTO_TESTS_f_f.
8994 (tan_test): Use ALL_RM_TEST.
8995 (tan_tonearest_test_data): Remove.
8996 (tan_test_tonearest): Likewise.
8997 (tan_towardzero_test_data): Likewise.
8998 (tan_test_towardzero): Likewise.
8999 (tan_downward_test_data): Likewise.
9000 (tan_test_downward): Likewise.
9001 (tan_upward_test_data): Likewise.
9002 (tan_test_upward): Likewise.
9003 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9004 (tgamma_test_data): Likewise.
9005 (y0_test_data): Likewise.
9006 (y1_test_data): Likewise.
9007 (yn_test_data): Update call to AUTO_TESTS_if_f.
9008 (main): Do not call removed functions.
9009
d71aeee8
JM
90102014-03-19 Joseph Myers <joseph@codesourcery.com>
9011
9012 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9013 (ldexp_test_data): Remove.
9014 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9015 scalbn_test_data.
9016 (scalb_test): Use ALL_RM_TEST.
9017
baaf1ded
AS
90182014-03-19 Andreas Schwab <schwab@suse.de>
9019
9020 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9021
b1115e91
JM
90222014-03-19 Joseph Myers <joseph@codesourcery.com>
9023
9024 [BZ #16649]
9025 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9026 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9027 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9028 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9029 (__ASSUME_PREADV): Undefine.
9030 (__ASSUME_PWRITEV): Likewise.
9031
0283ecca
RM
90322014-03-18 Roland McGrath <roland@hack.frob.com>
9033
7d375303
RM
9034 * bits/mman-linux.h: Add comment about non-Linux use.
9035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9036 bits/mman-linux.h resting place.
9037
0283ecca
RM
9038 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9039 * bits/mman-linux.h: ... here.
9040
aebe1003
AZ
90412014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9042
9043 * conform/conformtest.pl: Add standard definition when calling C
9044 preprocessor on data files.
9045 (checknamespace): Remove unused variable.
9046
b29b6bb8
JM
90472014-03-18 Joseph Myers <joseph@codesourcery.com>
9048
9049 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9050 minus_oflow, plus_uflow and minus_uflow in expected results.
9051 * math/libm-test.inc (scalbn_test_data): Add more tests of
9052 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9053 minus_uflow.
9054 (scalbn_test): Use ALL_RM_TEST.
9055 (scalbln_test_data): Add more tests of negative arguments. Use
9056 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9057 (scalbln_test): Use ALL_RM_TEST.
9058
c8f8fa15
RM
90592014-03-18 Roland McGrath <roland@hack.frob.com>
9060
9061 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9062
fede7a5f
WN
90632014-03-18 Will Newton <will.newton@linaro.org>
9064
9065 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9066 inaccurate comment.
9067
80cf0a58
JM
90682014-03-18 Joseph Myers <joseph@codesourcery.com>
9069
9070 * Makerules [!subdir] (check-abi): Exit with error status if a
9071 test failed.
9072
b3620862
JM
90732014-03-17 Joseph Myers <joseph@codesourcery.com>
9074
9075 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9076 for rint. Include results for all rounding modes.
9077 (nearbyint_test): Use ALL_RM_TEST.
9078 (rint_test_data): Include all tests used for nearbyint.
9079
788bba36
WN
90802014-03-17 Will Newton <will.newton@linaro.org>
9081
04ec140a
WN
9082 * nptl/sysdeps/pthread/pthread.h: Revert previous
9083 change.
9084
7579d8d5
WN
9085 * sysdeps/generic/ldsodefs.h: Revert previous
9086 change.
9087
c15cf13a
WN
9088 * libio/genops.c: Revert previous change.
9089 * libio/libioP.h: Likewise.
9090 * stdio-common/vfprintf.c: Likewise.
9091
d0ac1324
WN
9092 * sysdeps/generic/math_private.h: Revert previous
9093 change.
9094
9290130a
WN
9095 * sysdeps/generic/math_private.h: Check whether
9096 HAVE_RM_CTX is defined with #ifdef rather
9097 than #if.
9098
afb466fc
WN
9099 * argp/argp-fmtstream.h: Check whether
9100 __STRICT_ANSI__ is defined with #ifdef rather
9101 than #if.
9102 * argp/argp.h: Likewise.
9103
f7efd7c3
WN
9104 * libio/genops.c: Check whether
9105 _IO_JUMPS_OFFSET is defined with #ifdef rather
9106 than #if.
9107 * libio/libioP.h: Likewise.
9108 * stdio-common/vfprintf.c: Likewise.
9109
53f1bed3
WN
9110 * sysdeps/generic/ldsodefs.h: Check whether
9111 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9112 than #if.
9113
788bba36
WN
9114 * nptl/sysdeps/pthread/pthread.h: Check
9115 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9116 its value.
9117
fcd89ebe
SP
91182014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9119
ae42bbc5
SP
9120 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9121 setting O_APPEND.
9122 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9123 test case.
9124
ea33158c
SP
9125 [BZ #16680]
9126 * libio/fileops.c (_IO_file_open): Seek to end of file but
9127 don't cache the offset.
9128 (get_file_offset): Remove function.
9129 (do_ftell): Use cached offset when available.
9130 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9131 don't cache the offset.
9132 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9133 case.
9134 (do_one_test): Call it.
9135 (do_ftell_test): Fix up expected old offset for a+ mode.
9136 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9137 available.
9138
b1dbb426
SP
9139 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9140 up test status with function return status.
9141 (do_write_test): Likewise.
9142 (do_append_test): Likewise.
9143
fcd89ebe
SP
9144 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9145 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9146 Remove.
9147
9962a2d3
JM
91482014-03-17 Joseph Myers <joseph@codesourcery.com>
9149
9150 * math/gen-libm-test.pl (parse_args): Handle results specified for
9151 each rounding mode separately.
9152 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9153 tests and results from lrint_tonearest_test_data,
9154 lrint_towardzero_test_data, lrint_downward_test_data and
9155 lrint_upward_test_data.
9156 (lrint_test): Use ALL_RM_TEST.
9157 (lrint_tonearest_test_data): Remove.
9158 (lrint_test_tonearest): Likewise.
9159 (lrint_towardzero_test_data): Likewise.
9160 (lrint_test_towardzero): Likewise.
9161 (lrint_downward_test_data): Likewise.
9162 (lrint_test_downward): Likewise.
9163 (lrint_upward_test_data): Likewise.
9164 (lrint_test_upward): Likewise.
9165 (llrint_test_data): Merge in per-rounding-mode tests and results
9166 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9167 llrint_downward_test_data and llrint_upward_test_data.
9168 (llrint_test): Use ALL_RM_TEST.
9169 (llrint_tonearest_test_data): Remove.
9170 (llrint_test_tonearest): Likewise.
9171 (llrint_towardzero_test_data): Likewise.
9172 (llrint_test_towardzero): Likewise.
9173 (llrint_downward_test_data): Likewise.
9174 (llrint_test_downward): Likewise.
9175 (llrint_upward_test_data): Likewise.
9176 (llrint_test_upward): Likewise.
9177 (rint_test_data): Merge in per-rounding-mode tests and results
9178 from rint_tonearest_test_data, rint_towardzero_test_data,
9179 rint_downward_test_data and rint_upward_test_data. Add
9180 per-rounding-mode results for tests not in those arrays.
9181 (rint_test): Use ALL_RM_TEST.
9182 (rint_tonearest_test_data): Remove.
9183 (rint_test_tonearest): Likewise.
9184 (rint_towardzero_test_data): Likewise.
9185 (rint_test_towardzero): Likewise.
9186 (rint_downward_test_data): Likewise.
9187 (rint_test_downward): Likewise.
9188 (rint_upward_test_data): Likewise.
9189 (rint_test_upward): Likewise.
9190 (main): Don't call removed functions.
9191
5006148e
RM
91922014-03-14 Roland McGrath <roland@hack.frob.com>
9193
9194 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9195 "Compiled on ..." crapola. It is anti-useful.
9196
d6fe5e58
JM
91972014-03-14 Joseph Myers <joseph@codesourcery.com>
9198
9199 * scripts/evaluate-test.sh: Handle fourth argument to determine
9200 whether test run should stop on failure.
9201 * Makeconfig (stop-on-test-failure): New variable.
9202 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9203 $(stop-on-test-failure).
9204 * Makefile (tests): Give a summary of results from testing and
9205 exit with failure status if they include an ERROR or FAIL.
9206 (xtests): Likewise.
9207 * manual/install.texi (Configuring and compiling): Mention
9208 stop-on-test-failure=y.
9209 * INSTALL: Regenerated.
9210
498a2233
RM
92112014-03-14 Roland McGrath <roland@hack.frob.com>
9212
22dbc19d
RM
9213 * scripts/versionlist.awk: New file.
9214 * Makerules [$(build-shared) = yes]
9215 (postclean-generated): Add Versions.def, not Versions.def.v and
9216 Versions.def.v.i.
9217 ($(common-objpfx)Versions.def.v.i): Target removed.
9218 ($(common-objpfx)Versions.def): New target.
9219 ($(common-objpfx)Versions.all): Depend on that rather that
9220 $(common-objpfx)Versions.def.v.
9221 * Versions.def: File removed.
9222
498a2233
RM
9223 * Makeconfig (+gccwarn): Add -Wundef.
9224 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9225 a dl-sysdep.h breaking its contract.
9226 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9227 * include/stackinfo.h: New file.
9228 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9229 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9230 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9231 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9232 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9233 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9234 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9235 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9236 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9237 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9238 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9239 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9240 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9241 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9242 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9243
c7de5025
AZ
92442014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9245
9246 [BZ #16707]
9247 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9248 implementation.
9249 * math/libm-test.inc (round_test_data): Add more tests.
9250
98fb27a3
AZ
9251 [BZ #16706]
9252 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9253 implementation.
9254 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9255
374f7f61
AZ
9256 [BZ #16701]
9257 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9258 implementation.
9259 * math/libm-test.inc (ceil_test_data): Add more tests.
9260
4655c291
AZ
9261 * math/libm-test.inc (trunc_test_data): Add more tests related to
9262 BZ#16414.
9263
d7329d4b
RM
92642014-03-14 Roland McGrath <roland@hack.frob.com>
9265
9266 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9267 with #if rather than #ifdef.
9268 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9269
aa4de9ce
L
92702014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9271
9272 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9273 first. Disable AVX-512 GCC support if assembler doesn't support
9274 it.
9275 * sysdeps/x86_64/configure: Regenerated.
9276
2e03fae7
CD
92772014-03-13 Carlos O'Donell <carlos@redhat.com>
9278
9279 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9280 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9281 (__old_pthread_attr_setstack): Likewise.
9282 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9283 [!_STACK_GROWS_DOWN]: Likewise.
9284
43ca83ec
MF
92852014-03-13 Mike Frysinger <vapier@gentoo.org>
9286
9287 * config.make.in (have-bash2): Delete.
9288 * configure.ac (libc_cv_have_bash2): Delete.
9289 * configure: Regenerate.
9290 * elf/Makefile (common-ldd-rewrite): Rename to ...
9291 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9292 (sh-ldd-rewrite): Delete.
9293 (bash-ldd-rewrite): Delete.
9294 (have-bash2): Delete checks.
57f41c40
AS
9295 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9296 ldd-rewrite.
c66e48b4
MF
9297
9298 * config.make.in (have-ksh): Delete.
9299 (KSH): Delete.
9300 * configure.ac (libc_cv_have_ksh): Delete.
9301 * configure: Regenerate.
9302
b93834ef
MF
9303 * elf/Makefile: Delete $(have-ksh) check.
9304 ($(objpfx)sotruss): Change KSH to BASH.
9305 * elf/sotruss.ksh: Rename to ...
9306 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9307 function style to match POSIX. Drop ksh vim mode setting.
9308
f3a4632a
MF
9309 * manual/time.texi (Specifying the Time Zone with TZ): Change
9310 Tuesday to Thursday.
9311
5896c8bd
MF
9312 * debug/tst-longjmp_chk2.c: Update header comment.
9313 (stackoverflow_handler): Add comment. Call assert on pass value.
9314
2d63a517
IZ
93152014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9316
7e54fd04 9317 [BZ #16194]
2d63a517
IZ
9318 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9319 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9320 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9321 (La_x86_64_vector): Add zmm.
9322 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9323 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9324 ($(objpfx)tst-audit10): New target.
9325 ($(objpfx)tst-audit10.out): Likewise.
9326 (tst-audit10-ENV): New.
9327 (AVX512-CFLAGS): Likewise.
9328 (CFLAGS-tst-audit10.c): Likewise.
9329 (CFLAGS-tst-auditmod10a.c): Likewise.
9330 (CFLAGS-tst-auditmod10b.c): Likewise.
9331 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9332 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9333 * sysdeps/x86_64/configure: Regenerated.
9334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9335 AVX-512 zmm register support.
9336 (_dl_x86_64_save_sse): Likewise.
9337 (_dl_x86_64_restore_sse): Likewise.
9338 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9339 size vector registers.
9340 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9341 (ZMM_SIZE): Likewise.
9342 * sysdeps/x86_64/tst-audit10.c: New file.
9343 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9344 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9345
44c4e5d5
RM
93462014-03-13 Roland McGrath <roland@hack.frob.com>
9347
9348 * configure.ac (HAVE_EHDR_START): New check.
9349 * configure: Regenerated.
9350 * config.h.in (HAVE_EHDR_START): New #undef.
9351 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9352 assuming the lowest-addressed segment maps the start of the file.
9353
acd6e389
JM
93542014-03-13 Joseph Myers <joseph@codesourcery.com>
9355
9356 * INSTALL: Regenerated.
9357
6f918f36
WN
93582014-03-13 Will Newton <will.newton@linaro.org>
9359
9360 * manual/setjmp.texi (System V contexts): Improve
9361 clarity and grammar of documentation.
9362
798212a0
PP
93632014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9364
9365 [BZ #16381]
798212a0 9366 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 9367 (tests-pie): Add tst-pie2.
798212a0
PP
9368 * elf/tst-pie2.c: New file.
9369 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9370 for ET_EXEC.
9371 * elf/rtld.c (map_doit): Load executable as lt_executable.
9372 (dl_main): Likewise.
9373
abe6d90c
JM
93742014-03-12 Joseph Myers <joseph@codesourcery.com>
9375
9376 [BZ #16642]
9377 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9378 (__ASSUME_PSELECT): Undefine.
9379
dd3946c6
AZ
93802014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9381
9382 [BZ #16689]
9383 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9384 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9385 static build.
9386 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9387 selector for static builds.
9388
c44496df
SP
93892014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9390
9391 [BZ #16695]
9392 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9393 key in the buffer.
9394
27c7220a
AZ
93952014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9396
57f41c40
AS
9397 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9398 IFUNC selector for static builds.
27c7220a 9399
600fa361
JM
94002014-03-11 Joseph Myers <joseph@codesourcery.com>
9401
76c96cf7
JM
9402 * sysdeps/mips/math_private.h [__mips_hard_float]
9403 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9404 libc_feresetround_mips_ctx.
9405 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9406 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9407 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9408
600fa361
JM
9409 [BZ #16677]
9410 * math/s_nextafter.c (__nextafter): Do not return value from
9411 overflowing computation.
9412 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9413 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9415 Likewise.
9416 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9417 Likewise.
9418 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9419 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9420
d7706c32
RM
94212014-03-11 Roland McGrath <roland@hack.frob.com>
9422
9423 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9424 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9425 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9426 the new mov targetting sp.
9427
4facea47
AZ
94282014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9429
9430 [BZ #16683]
9431 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9432 Define it for static builds as well.
9433 (NO_BZERO_IMPL): Likewise.
9434
e65caf1f
VR
94352014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9436
9437 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9438 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9439 multiarch strspn for PPC64.
9440 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9441 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9443 (__libc_ifunc_impl_list): Likewise.
9444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9445 multiarch optimizations
9446 * string/strspn.c (strspn): Using macro to redefine symbol name.
9447
ba9cc071
AZ
94482014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9449 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9450
9451 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9452 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9453 multiarch strncat for PPC64.
9454 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9455 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9457 (__libc_ifunc_impl_list): Likewise.
9458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9459 multiarch optimizations
9460
8b4ff974
SP
94612014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9462
9463 [BZ #16639]
9464 * nscd/nscd.service: Make service type forking.
9465
54b46a4b
AZ
94662014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9467
9468 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9469 sign in non default rounding modes.
9470 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9471
e9996ef7
JM
94722014-03-08 Joseph Myers <joseph@codesourcery.com>
9473
9474 * math/libm-test.inc (ALL_RM_TEST): New macro.
9475 (ceil_test): Use ALL_RM_TEST.
9476 (cimag_test): Likewise.
9477 (conj_test): Likewise.
9478 (copysign_test): Likewise.
9479 (cproj_test): Likewise.
9480 (creal_test): Likewise.
9481 (fabs_test): Likewise.
9482 (floor_test): Likewise.
9483 (fmax_test): Likewise.
9484 (fmin_test): Likewise.
9485 (fmod_test): Likewise.
9486 (fpclassify_test): Likewise.
9487 (frexp_test): Likewise.
9488 (ilogb_test): Likewise.
9489 (isfinite_test): Likewise.
9490 (finite_test): Likewise.
9491 (isgreater_test): Likewise.
9492 (isgreaterequal_test): Likewise.
9493 (isinf_test): Likewise.
9494 (isless_test): Likewise.
9495 (islessequal_test): Likewise.
9496 (islessgreater_test): Likewise.
9497 (isnan_test): Likewise.
9498 (isnormal_test): Likewise.
9499 (issignaling_test): Likewise.
9500 (isunordered_test): Likewise.
9501 (logb_test): Likewise.
9502 (logb_downward_test_data): Remove.
9503 (logb_test_downward): Likewise.
9504 (lround_test): Use ALL_RM_TEST.
9505 (llround_test): Likewise.
9506 (modf_test): Likewise.
9507 (nexttoward_test): Likewise.
9508 (remainder_test): Likewise.
9509 (drem_test): Likewise.
9510 (remainder_tonearest_test_data): Likewise.
9511 (remainder_test_tonearest): Likewise.
9512 (drem_test_tonearest): Likewise.
9513 (remainder_towardzero_test_data): Likewise.
9514 (remainder_test_towardzero): Likewise.
9515 (drem_test_towardzero): Likewise.
9516 (remainder_downward_test_data): Likewise.
9517 (remainder_test_downward): Likewise.
9518 (drem_test_downward): Likewise.
9519 (remainder_upward_test_data): Likewise.
9520 (remainder_test_upward): Likewise.
9521 (drem_test_upward): Likewise.
9522 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9523 (round_test): Use ALL_RM_TEST.
9524 (signbit_test): Likewise.
9525 (trunc_test): Likewise.
9526 (significand_test): Likewise.
9527 (main): Don't call removed functions.
9528
bc61d27c
JM
95292014-03-07 Joseph Myers <joseph@codesourcery.com>
9530
5c780849
JM
9531 [BZ #16674]
9532 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9533 || __USE_XOPEN2K8].
9534 (ILL_ILLOPN): Likewise.
9535 (ILL_ILLADR): Likewise.
9536 (ILL_ILLTRP): Likewise.
9537 (ILL_PRVOPC): Likewise.
9538 (ILL_PRVREG): Likewise.
9539 (ILL_COPROC): Likewise.
9540 (ILL_BADSTK): Likewise.
9541 (FPE_INTDIV): Likewise.
9542 (FPE_INTOVF): Likewise.
9543 (FPE_FLTDIV): Likewise.
9544 (FPE_FLTOVF): Likewise.
9545 (FPE_FLTUND): Likewise.
9546 (FPE_FLTRES): Likewise.
9547 (FPE_FLTINV): Likewise.
9548 (FPE_FLTSUB): Likewise.
9549 (SEGV_MAPERR): Likewise.
9550 (SEGV_ACCERR): Likewise.
9551 (BUS_ADRALN): Likewise.
9552 (BUS_ADRERR): Likewise.
9553 (BUS_OBJERR): Likewise.
9554 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9555 (TRAP_TRACE): Likewise.
9556 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9557 __USE_XOPEN2K8].
9558 (CLD_KILLED): Likewise.
9559 (CLD_DUMPED): Likewise.
9560 (CLD_TRAPPED): Likewise.
9561 (CLD_STOPPED): Likewise.
9562 (CLD_CONTINUED): Likewise.
9563 (POLL_IN): Likewise.
9564 (POLL_OUT): Likewise.
9565 (POLL_MSG): Likewise.
9566 (POLL_ERR): Likewise.
9567 (POLL_PRI): Likewise.
9568 (POLL_HUP): Likewise.
9569 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9570 Likewise.
9571 (ILL_ILLOPN): Likewise.
9572 (ILL_ILLADR): Likewise.
9573 (ILL_ILLTRP): Likewise.
9574 (ILL_PRVOPC): Likewise.
9575 (ILL_PRVREG): Likewise.
9576 (ILL_COPROC): Likewise.
9577 (ILL_BADSTK): Likewise.
9578 (FPE_INTDIV): Likewise.
9579 (FPE_INTOVF): Likewise.
9580 (FPE_FLTDIV): Likewise.
9581 (FPE_FLTOVF): Likewise.
9582 (FPE_FLTUND): Likewise.
9583 (FPE_FLTRES): Likewise.
9584 (FPE_FLTINV): Likewise.
9585 (FPE_FLTSUB): Likewise.
9586 (SEGV_MAPERR): Likewise.
9587 (SEGV_ACCERR): Likewise.
9588 (BUS_ADRALN): Likewise.
9589 (BUS_ADRERR): Likewise.
9590 (BUS_OBJERR): Likewise.
9591 (BUS_MCEERR_AR): Likewise.
9592 (BUS_MCEERR_AO): Likewise.
9593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9594 (TRAP_TRACE): Likewise.
9595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9596 __USE_XOPEN2K8].
9597 (CLD_KILLED): Likewise.
9598 (CLD_DUMPED): Likewise.
9599 (CLD_TRAPPED): Likewise.
9600 (CLD_STOPPED): Likewise.
9601 (CLD_CONTINUED): Likewise.
9602 (POLL_IN): Likewise.
9603 (POLL_OUT): Likewise.
9604 (POLL_MSG): Likewise.
9605 (POLL_ERR): Likewise.
9606 (POLL_PRI): Likewise.
9607 (POLL_HUP): Likewise.
9608 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9609 (ILL_ILLOPN): Likewise.
9610 (ILL_ILLADR): Likewise.
9611 (ILL_ILLTRP): Likewise.
9612 (ILL_PRVOPC): Likewise.
9613 (ILL_PRVREG): Likewise.
9614 (ILL_COPROC): Likewise.
9615 (ILL_BADSTK): Likewise.
9616 (FPE_INTDIV): Likewise.
9617 (FPE_INTOVF): Likewise.
9618 (FPE_FLTDIV): Likewise.
9619 (FPE_FLTOVF): Likewise.
9620 (FPE_FLTUND): Likewise.
9621 (FPE_FLTRES): Likewise.
9622 (FPE_FLTINV): Likewise.
9623 (FPE_FLTSUB): Likewise.
9624 (SEGV_MAPERR): Likewise.
9625 (SEGV_ACCERR): Likewise.
9626 (BUS_ADRALN): Likewise.
9627 (BUS_ADRERR): Likewise.
9628 (BUS_OBJERR): Likewise.
9629 (BUS_MCEERR_AR): Likewise.
9630 (BUS_MCEERR_AO): Likewise.
9631 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9632 (TRAP_TRACE): Likewise.
9633 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9634 __USE_XOPEN2K8].
9635 (CLD_KILLED): Likewise.
9636 (CLD_DUMPED): Likewise.
9637 (CLD_TRAPPED): Likewise.
9638 (CLD_STOPPED): Likewise.
9639 (CLD_CONTINUED): Likewise.
9640 (POLL_IN): Likewise.
9641 (POLL_OUT): Likewise.
9642 (POLL_MSG): Likewise.
9643 (POLL_ERR): Likewise.
9644 (POLL_PRI): Likewise.
9645 (POLL_HUP): Likewise.
9646 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9647 Likewise.
9648 (ILL_ILLOPN): Likewise.
9649 (ILL_ILLADR): Likewise.
9650 (ILL_ILLTRP): Likewise.
9651 (ILL_PRVOPC): Likewise.
9652 (ILL_PRVREG): Likewise.
9653 (ILL_COPROC): Likewise.
9654 (ILL_BADSTK): Likewise.
9655 (ILL_BADIADDR): Likewise.
9656 (ILL_BREAK): Likewise.
9657 (FPE_INTDIV): Likewise.
9658 (FPE_INTOVF): Likewise.
9659 (FPE_FLTDIV): Likewise.
9660 (FPE_FLTOVF): Likewise.
9661 (FPE_FLTUND): Likewise.
9662 (FPE_FLTRES): Likewise.
9663 (FPE_FLTINV): Likewise.
9664 (FPE_FLTSUB): Likewise.
9665 (FPE_DECOVF): Likewise.
9666 (FPE_DECDIV): Likewise.
9667 (FPE_DECERR): Likewise.
9668 (FPE_INVASC): Likewise.
9669 (FPE_INVDEC): Likewise.
9670 (SEGV_MAPERR): Likewise.
9671 (SEGV_ACCERR): Likewise.
9672 (SEGV_PSTKOVF): Likewise.
9673 (BUS_ADRALN): Likewise.
9674 (BUS_ADRERR): Likewise.
9675 (BUS_OBJERR): Likewise.
9676 (BUS_MCEERR_AR): Likewise.
9677 (BUS_MCEERR_AO): Likewise.
9678 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9679 (TRAP_TRACE): Likewise.
9680 (TRAP_BRANCH): Likewise.
9681 (TRAP_HWBKPT): Likewise.
9682 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9683 __USE_XOPEN2K8].
9684 (CLD_KILLED): Likewise.
9685 (CLD_DUMPED): Likewise.
9686 (CLD_TRAPPED): Likewise.
9687 (CLD_STOPPED): Likewise.
9688 (CLD_CONTINUED): Likewise.
9689 (POLL_IN): Likewise.
9690 (POLL_OUT): Likewise.
9691 (POLL_MSG): Likewise.
9692 (POLL_ERR): Likewise.
9693 (POLL_PRI): Likewise.
9694 (POLL_HUP): Likewise.
9695 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9696 (ILL_ILLOPN): Likewise.
9697 (ILL_ILLADR): Likewise.
9698 (ILL_ILLTRP): Likewise.
9699 (ILL_PRVOPC): Likewise.
9700 (ILL_PRVREG): Likewise.
9701 (ILL_COPROC): Likewise.
9702 (ILL_BADSTK): Likewise.
9703 (FPE_INTDIV): Likewise.
9704 (FPE_INTOVF): Likewise.
9705 (FPE_FLTDIV): Likewise.
9706 (FPE_FLTOVF): Likewise.
9707 (FPE_FLTUND): Likewise.
9708 (FPE_FLTRES): Likewise.
9709 (FPE_FLTINV): Likewise.
9710 (FPE_FLTSUB): Likewise.
9711 (SEGV_MAPERR): Likewise.
9712 (SEGV_ACCERR): Likewise.
9713 (BUS_ADRALN): Likewise.
9714 (BUS_ADRERR): Likewise.
9715 (BUS_OBJERR): Likewise.
9716 (BUS_MCEERR_AR): Likewise.
9717 (BUS_MCEERR_AO): Likewise.
9718 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9719 (TRAP_TRACE): Likewise.
9720 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9721 __USE_XOPEN2K8].
9722 (CLD_KILLED): Likewise.
9723 (CLD_DUMPED): Likewise.
9724 (CLD_TRAPPED): Likewise.
9725 (CLD_STOPPED): Likewise.
9726 (CLD_CONTINUED): Likewise.
9727 (POLL_IN): Likewise.
9728 (POLL_OUT): Likewise.
9729 (POLL_MSG): Likewise.
9730 (POLL_ERR): Likewise.
9731 (POLL_PRI): Likewise.
9732 (POLL_HUP): Likewise.
9733 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9734 (ILL_ILLOPN): Likewise.
9735 (ILL_ILLADR): Likewise.
9736 (ILL_ILLTRP): Likewise.
9737 (ILL_PRVOPC): Likewise.
9738 (ILL_PRVREG): Likewise.
9739 (ILL_COPROC): Likewise.
9740 (ILL_BADSTK): Likewise.
9741 (FPE_INTDIV): Likewise.
9742 (FPE_INTOVF): Likewise.
9743 (FPE_FLTDIV): Likewise.
9744 (FPE_FLTOVF): Likewise.
9745 (FPE_FLTUND): Likewise.
9746 (FPE_FLTRES): Likewise.
9747 (FPE_FLTINV): Likewise.
9748 (FPE_FLTSUB): Likewise.
9749 (SEGV_MAPERR): Likewise.
9750 (SEGV_ACCERR): Likewise.
9751 (BUS_ADRALN): Likewise.
9752 (BUS_ADRERR): Likewise.
9753 (BUS_OBJERR): Likewise.
9754 (BUS_MCEERR_AR): Likewise.
9755 (BUS_MCEERR_AO): Likewise.
9756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9757 (TRAP_TRACE): Likewise.
9758 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9759 __USE_XOPEN2K8].
9760 (CLD_KILLED): Likewise.
9761 (CLD_DUMPED): Likewise.
9762 (CLD_TRAPPED): Likewise.
9763 (CLD_STOPPED): Likewise.
9764 (CLD_CONTINUED): Likewise.
9765 (POLL_IN): Likewise.
9766 (POLL_OUT): Likewise.
9767 (POLL_MSG): Likewise.
9768 (POLL_ERR): Likewise.
9769 (POLL_PRI): Likewise.
9770 (POLL_HUP): Likewise.
9771 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9772 (ILL_ILLOPN): Likewise.
9773 (ILL_ILLADR): Likewise.
9774 (ILL_ILLTRP): Likewise.
9775 (ILL_PRVOPC): Likewise.
9776 (ILL_PRVREG): Likewise.
9777 (ILL_COPROC): Likewise.
9778 (ILL_BADSTK): Likewise.
9779 (FPE_INTDIV): Likewise.
9780 (FPE_INTOVF): Likewise.
9781 (FPE_FLTDIV): Likewise.
9782 (FPE_FLTOVF): Likewise.
9783 (FPE_FLTUND): Likewise.
9784 (FPE_FLTRES): Likewise.
9785 (FPE_FLTINV): Likewise.
9786 (FPE_FLTSUB): Likewise.
9787 (SEGV_MAPERR): Likewise.
9788 (SEGV_ACCERR): Likewise.
9789 (BUS_ADRALN): Likewise.
9790 (BUS_ADRERR): Likewise.
9791 (BUS_OBJERR): Likewise.
9792 (BUS_MCEERR_AR): Likewise.
9793 (BUS_MCEERR_AO): Likewise.
9794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9795 (TRAP_TRACE): Likewise.
9796 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9797 __USE_XOPEN2K8].
9798 (CLD_KILLED): Likewise.
9799 (CLD_DUMPED): Likewise.
9800 (CLD_TRAPPED): Likewise.
9801 (CLD_STOPPED): Likewise.
9802 (CLD_CONTINUED): Likewise.
9803 (POLL_IN): Likewise.
9804 (POLL_OUT): Likewise.
9805 (POLL_MSG): Likewise.
9806 (POLL_ERR): Likewise.
9807 (POLL_PRI): Likewise.
9808 (POLL_HUP): Likewise.
9809 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9810 (ILL_ILLOPN): Likewise.
9811 (ILL_ILLADR): Likewise.
9812 (ILL_ILLTRP): Likewise.
9813 (ILL_PRVOPC): Likewise.
9814 (ILL_PRVREG): Likewise.
9815 (ILL_COPROC): Likewise.
9816 (ILL_BADSTK): Likewise.
9817 (ILL_DBLFLT): Likewise.
9818 (ILL_HARDWALL): Likewise.
9819 (FPE_INTDIV): Likewise.
9820 (FPE_INTOVF): Likewise.
9821 (FPE_FLTDIV): Likewise.
9822 (FPE_FLTOVF): Likewise.
9823 (FPE_FLTUND): Likewise.
9824 (FPE_FLTRES): Likewise.
9825 (FPE_FLTINV): Likewise.
9826 (FPE_FLTSUB): Likewise.
9827 (SEGV_MAPERR): Likewise.
9828 (SEGV_ACCERR): Likewise.
9829 (BUS_ADRALN): Likewise.
9830 (BUS_ADRERR): Likewise.
9831 (BUS_OBJERR): Likewise.
9832 (BUS_MCEERR_AR): Likewise.
9833 (BUS_MCEERR_AO): Likewise.
9834 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9835 (TRAP_TRACE): Likewise.
9836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9837 __USE_XOPEN2K8].
9838 (CLD_KILLED): Likewise.
9839 (CLD_DUMPED): Likewise.
9840 (CLD_TRAPPED): Likewise.
9841 (CLD_STOPPED): Likewise.
9842 (CLD_CONTINUED): Likewise.
9843 (POLL_IN): Likewise.
9844 (POLL_OUT): Likewise.
9845 (POLL_MSG): Likewise.
9846 (POLL_ERR): Likewise.
9847 (POLL_PRI): Likewise.
9848 (POLL_HUP): Likewise.
9849 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9850 (ILL_ILLOPN): Likewise.
9851 (ILL_ILLADR): Likewise.
9852 (ILL_ILLTRP): Likewise.
9853 (ILL_PRVOPC): Likewise.
9854 (ILL_PRVREG): Likewise.
9855 (ILL_COPROC): Likewise.
9856 (ILL_BADSTK): Likewise.
9857 (FPE_INTDIV): Likewise.
9858 (FPE_INTOVF): Likewise.
9859 (FPE_FLTDIV): Likewise.
9860 (FPE_FLTOVF): Likewise.
9861 (FPE_FLTUND): Likewise.
9862 (FPE_FLTRES): Likewise.
9863 (FPE_FLTINV): Likewise.
9864 (FPE_FLTSUB): Likewise.
9865 (SEGV_MAPERR): Likewise.
9866 (SEGV_ACCERR): Likewise.
9867 (BUS_ADRALN): Likewise.
9868 (BUS_ADRERR): Likewise.
9869 (BUS_OBJERR): Likewise.
9870 (BUS_MCEERR_AR): Likewise.
9871 (BUS_MCEERR_AO): Likewise.
9872 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9873 (TRAP_TRACE): Likewise.
9874 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9875 __USE_XOPEN2K8].
9876 (CLD_KILLED): Likewise.
9877 (CLD_DUMPED): Likewise.
9878 (CLD_TRAPPED): Likewise.
9879 (CLD_STOPPED): Likewise.
9880 (CLD_CONTINUED): Likewise.
9881 (POLL_IN): Likewise.
9882 (POLL_OUT): Likewise.
9883 (POLL_MSG): Likewise.
9884 (POLL_ERR): Likewise.
9885 (POLL_PRI): Likewise.
9886 (POLL_HUP): Likewise.
9887 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9888 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9889
bc61d27c
JM
9890 [BZ #16670]
9891 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9892 before #include of <time.h>.
9893 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9894 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9895 (test-xfail-UNIX98/sched.h/conform): Likewise.
9896
302949e2
MS
98972014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9898
9899 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9900 error absence of trapping exception support.
9901 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9902
a00f522a
JM
99032014-03-07 Joseph Myers <joseph@codesourcery.com>
9904
6f99f280
JM
9905 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9906 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9907 * timezone/Makefile (testdata): Move definition above include of
9908 Rules.
9909 (test-zones): New variable.
9910 (tests-special): Add zone files.
9911 (build-testdata): Use $(evaluate-test).
9912
0b20a9e8
JM
9913 * elf/Makefile (tests-special): Rename tests to end with .out.
9914 ($(objpfx)noload-mem): Likewise.
9915 ($(objpfx)tst-leaks1-mem): Likewise.
9916 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9917 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9918 $(objpfx)test-iconvconfig.out.
9919 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9920 set -e inside subshell and redirect output to file.
9921 * iconvdata/Makefile (generated): Rename tests to end with .out.
9922 Correct type.
9923 (tests-special): Rename tests to end with .out.
9924 ($(objpfx)mtrace-tst-loading): Likewise.
9925 * intl/Makefile (generated): Likewise.
9926 (tests-special): Likewise.
9927 ($(objpfx)mtrace-tst-gettext): Likewise.
9928 * misc/Makefile (generated): Likewise.
9929 (tests-special): Likewise.
9930 ($(objpfx)tst-error1-mem): Likewise.
9931 * nptl/Makefile (tests-special): Likewise.
9932 ($(objpfx)tst-stack3-mem): Likewise.
9933 (generated): Likewise.
9934 * posix/Makefile (generated): Likewise.
9935 (tests-special): Likewise.
9936 (xtests-special): Likewise.
9937 ($(objpfx)tst-fnmatch-mem): Likewise.
9938 ($(objpfx)bug-regex2-mem): Likewise.
9939 ($(objpfx)bug-regex14-mem): Likewise.
9940 ($(objpfx)bug-regex21-mem): Likewise.
9941 ($(objpfx)bug-regex31-mem): Likewise.
9942 ($(objpfx)tst-vfork3-mem): Likewise.
9943 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9944 ($(objpfx)tst-pcre-mem): Likewise.
9945 ($(objpfx)tst-boost-mem): Likewise.
9946 ($(objpfx)bug-ga2-mem): Likewise.
9947 ($(objpfx)bug-glob2-mem): Likewise.
9948 * resolv/Makefile (generate): Likewise.
9949 (tests-special): Likewise.
9950 (xtests-special): Likewise.
9951 (generated): Likewise.
9952 ($(objpfx)mtrace-tst-leaks): Likewise.
9953 ($(objpfx)mtrace-tst-leaks2): Likewise.
9954
265d52ab
JM
9955 * scripts/merge-test-results.sh: New file.
9956 * Makefile (tests-special-notdir): New variable.
9957 (tests): Run merge-test-results.sh.
9958 (xtests): Likewise.
9959 * Rules (tests-special-notdir): New variable.
9960 (xtests-special-notdir): Likewise.
9961 (tests): Run merge-test-results.sh
9962 (xtests): Likewise.
9963
54ee292d
JM
9964 * Makeconfig (test-xfail-name): New variable.
9965 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9966 compute variable name for expected failures.
9967 * conform/Makefile (conformtest-headers-data): New variable.
9968 (conformtest-standards): Likewise.
9969 (conformtest-headers-ISO): Likewise.
9970 (conformtest-headers-ISO99): Likewise.
9971 (conformtest-headers-ISO11): Likewise.
9972 (conformtest-headers-POSIX): Likewise.
9973 (conformtest-headers-XPG3): Likewise.
9974 (conformtest-headers-XPG4): Likewise.
9975 (conformtest-headers-UNIX98): Likewise.
9976 (conformtest-headers-XOPEN2K): Likewise.
9977 (conformtest-headers-POSIX2008): Likewise.
9978 (conformtest-headers-XOPEN2K8): Likewise.
9979 (conformtest-header-list-base): Likewise.
9980 (conformtest-header-list-tests): Likewise.
9981 (conformtest-header-base): Likewise.
9982 (conformtest-header-tests): Likewise.
9983 (tests-special): Add $(conformtest-header-list-tests). If
9984 [$(fast-check) && !$(cross-compiling)], add
9985 $(conformtest-header-tests) instead of
9986 $(objpfx)run-conformtest.out.
9987 (generated): Add $(conformtest-header-list-base). If
9988 [$(fast-check) && !$(cross-compiling)], add
9989 $(conformtest-header-base). Remove previous setting.
9990 ($(conformtest-header-list-tests)): New target.
9991 (test-xfail-run-conformtest): Remove variable.
9992 ($(objpfx)run-conformtest.out): Remove target.
9993 (test-xfail-ISO11/complex.h/conform): New variable.
9994 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9995 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9996 (test-xfail-XPG3/varargs.h/conform): Likewise.
9997 (test-xfail-XPG4/varargs.h/conform): Likewise.
9998 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9999 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10000 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10001 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10002 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10003 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10004 (test-xfail-XPG3/ftw.h/conform): Likewise.
10005 (test-xfail-XPG3/grp.h/conform): Likewise.
10006 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10007 (test-xfail-XPG3/limits.h/conform): Likewise.
10008 (test-xfail-XPG3/pwd.h/conform): Likewise.
10009 (test-xfail-XPG3/search.h/conform): Likewise.
10010 (test-xfail-XPG3/signal.h/conform): Likewise.
10011 (test-xfail-XPG3/stdio.h/conform): Likewise.
10012 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10013 (test-xfail-XPG3/string.h/conform): Likewise.
10014 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10015 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10016 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10017 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10018 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10019 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10020 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10021 (test-xfail-XPG3/termios.h/conform): Likewise.
10022 (test-xfail-XPG3/time.h/conform): Likewise.
10023 (test-xfail-XPG3/unistd.h/conform): Likewise.
10024 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10025 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10026 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10027 (test-xfail-XPG4/netdb.h/conform): Likewise.
10028 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10029 (test-xfail-XPG4/signal.h/conform): Likewise.
10030 (test-xfail-XPG4/stdio.h/conform): Likewise.
10031 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10032 (test-xfail-XPG4/stropts.h/conform): Likewise.
10033 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10034 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10035 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10036 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10037 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10038 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10039 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10040 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10041 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10042 (test-xfail-XPG4/termios.h/conform): Likewise.
10043 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10044 (test-xfail-XPG4/unistd.h/conform): Likewise.
10045 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10046 (test-xfail-POSIX/sched.h/conform): Likewise.
10047 (test-xfail-POSIX/signal.h/conform): Likewise.
10048 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10049 (test-xfail-POSIX/tar.h/conform): Likewise.
10050 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10051 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10052 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10053 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10054 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10055 (test-xfail-UNIX98/sched.h/conform): Likewise.
10056 (test-xfail-UNIX98/signal.h/conform): Likewise.
10057 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10058 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10059 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10060 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10061 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10062 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10063 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10064 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10065 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10066 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10067 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10068 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10069 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10070 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10071 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10072 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10073 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10074 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10075 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10076 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10077 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10078 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10079 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10080 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10081 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10082 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10083 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10084 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10085 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10086 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10087 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10088 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10089 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10090 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10091 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10092 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10093 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10094 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10095 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10096 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10097 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10098 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10099 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10100 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10101 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10102 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10103 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10104 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10105 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10106 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10107 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10108 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10109 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10110 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10111 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10112 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10113 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10114 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10115 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10116 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10117 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10118 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10119 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10120 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10121 (conformtest-cc-flags): Likewise.
10122 ($(conformtest-header-tests): New target.
10123 * conform/check-header-lists.sh: New file.
10124 * conform/run-conformtest.sh: Remove.
10125
a00f522a
JM
10126 * conform/conformtest.pl: Allow ' and \ in values given for
10127 constants.
10128 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10129 inclusion.
10130 [POSIX] (sys/types.h): Likewise.
10131 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10132 inclusion.
10133 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10134 inclusion.
10135 * conform/data/signal.h-data (SIGIO): Remove expectation.
10136 [XPG3] (SIGBUS): Do not expect.
10137 [POSIX || XPG3] (SIGPOLL): Likewise.
10138 [POSIX || XPG3] (SIGPROF): Likewise.
10139 [POSIX || XPG3] (SIGSYS): Likewise.
10140 [XPG3] (SIGTRAP): Likewise.
10141 [POSIX || XPG3] (SIGURG): Likewise.
10142 [POSIX || XPG3] (SIGVTALRM): Likewise.
10143 [POSIX || XPG3] (SIGXCPU): Likewise.
10144 [POSIX || XPG3] (SIGXFSZ): Likewise.
10145 [POSIX] (SA_SIGINFO): Expect.
10146 [XPG3] (siginfo_t): Do not expect type or contents.
10147 [POSIX] (si_pid): Do not expect element.
10148 [POSIX] (si_uid): Likewise.
10149 [POSIX] (si_addr): Likewise.
10150 [POSIX] (si_status): Likewise.
10151 [POSIX] (si_band): Likewise.
10152 [XPG4] (si_value): Likewise.
10153 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10154 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10155 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10156 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10157 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10158 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10159 [POSIX || XPG3] (ILL_COPROC): Likewise.
10160 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10161 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10162 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10163 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10164 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10165 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10166 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10167 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10168 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10169 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10170 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10171 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10172 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10173 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10174 [POSIX || XPG3] (CLD_EXITED): Likewise.
10175 [POSIX || XPG3] (CLD_KILLED): Likewise.
10176 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10177 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10178 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10179 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10180 [POSIX || XPG3] (POLL_IN): Likewise.
10181 [POSIX || XPG3] (POLL_OUT): Likewise.
10182 [POSIX || XPG3] (POLL_MSG): Likewise.
10183 [POSIX || XPG3] (POLL_ERR): Likewise.
10184 [POSIX || XPG3] (POLL_PRI): Likewise.
10185 [POSIX || XPG3] (POLL_HUP): Likewise.
10186 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10187 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10188 (SIG*): Do not allow.
10189 [XPG3] (si_*): Likewise.
10190 [XPG3] (SI_*): Likewise.
10191 [XPG3 || XPG4] (sigev_*): Likewise.
10192 [XPG3 || XPG4] (SIGEV_*): Likewise.
10193 [XPG3 || XPG4] (sival_*): Likewise.
10194 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10195 [POSIX || XPG3] (BUS_*): Likewise.
10196 [POSIX || XPG3] (CLD_*): Likewise.
10197 [POSIX || XPG3] (FPE_*): Likewise.
10198 [POSIX || XPG3] (ILL_*): Likewise.
10199 [POSIX || XPG3] (POLL_*): Likewise.
10200 [POSIX || XPG3] (SEGV_*): Likewise.
10201 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10202 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10203 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10204 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10205 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10206 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10207 Specify type and value.
10208 (TVERSLEN): Likewise.
10209 (REGTYPE): Likewise.
10210 (AREGTYPE): Likewise.
10211 (LNKTYPE): Likewise.
10212 (SYMTYPE): Likewise.
10213 (CHRTYPE): Likewise.
10214 (BLKTYPE): Likewise.
10215 (DIRTYPE): Likewise.
10216 (FIFOTYPE): Likewise.
10217 (CONTTYPE): Likewise.
10218 (TSUID): Likewise.
10219 (TSGID): Likewise.
10220 (TSVTX): Likewise.
10221 (TUREAD): Likewise.
10222 (TUWRITE): Likewise.
10223 (TUEXEC): Likewise.
10224 (TGREAD): Likewise.
10225 (TGWRITE): Likewise.
10226 (TGEXEC): Likewise.
10227 (TOREAD): Likewise.
10228 (TOWRITE): Likewise.
10229 (TOEXEC): Likewise.
10230 [POSIX] (TSVTX): Expect constant.
10231
aa97dee1
JM
102322014-03-06 Joseph Myers <joseph@codesourcery.com>
10233
f214606a
JM
10234 * Makefile (tests): Change dependencies to ....
10235 (tests-special): ... additions to this variable.
10236 (tests): Depend on $(tests-special).
10237 * Makerules (check-abi-list): New variable.
10238 (check-abi): Depend on $(check-abi-list).
10239 [$(subdir) = elf] (tests-special): Add
10240 $(objpfx)check-abi-libc.out.
10241 [$(build-shared) = yes && subdir] (tests-special): Add
10242 $(check-abi-list).
10243 [$(build-shared) = yes && subdir] (tests): Do not depend on
10244 check-abi.
10245 * Rules (tests): Depend on $(tests-special).
10246 (xtests): Depend on $(xtests-special).
10247 * catgets/Makefile (tests): Change dependencies to ....
10248 (tests-special): ... additions to this variable.
10249 * conform/Makefile (tests): Change dependencies to ....
10250 (tests-special): ... additions to this variable.
10251 * elf/Makefile (tests): Change dependencies to ....
10252 (tests-special): ... additions to this variable.
10253 * grp/Makefile (tests): Change dependencies to ....
10254 (tests-special): ... additions to this variable.
10255 * iconv/Makefile (xtests): Change dependencies to ....
10256 (xtests-special): ... additions to this variable.
10257 * iconvdata/Makefile (tests): Change dependencies to ....
10258 (tests-special): ... additions to this variable.
10259 * intl/Makefile (tests): Change dependencies to ....
10260 (tests-special): ... additions to this variable. Also add
10261 $(objpfx)tst-gettext.out.
10262 * io/Makefile (tests): Change dependencies to ....
10263 (tests-special): ... additions to this variable.
10264 * libio/Makefile (tests): Change dependencies to ....
10265 (tests-special): ... additions to this variable.
10266 * malloc/Makefile (tests): Change dependencies to ....
10267 (tests-special): ... additions to this variable.
10268 * misc/Makefile (tests): Change dependencies to ....
10269 (tests-special): ... additions to this variable.
10270 * nptl/Makefile (tests): Change dependencies to ....
10271 (tests-special): ... additions to this variable.
10272 * nptl_db/Makefile (tests): Change dependencies to ....
10273 (tests-special): ... additions to this variable.
10274 * posix/Makefile (tests): Change dependencies to ....
10275 (tests-special): ... additions to this variable.
10276 (xtests): Change dependencies to ....
10277 (xtests-special): ... additions to this variable.
10278 * resolv/Makefile (tests): Change dependencies to ....
10279 (tests-special): ... additions to this variable.
10280 (xtests): Change dependencies to ....
10281 (xtests-special): ... additions to this variable.
10282 * stdio-common/Makefile (tests): Change dependencies to ....
10283 (tests-special): ... additions to this variable.
10284 (do-tst-unbputc): Remove target.
10285 (do-tst-printf): Likewise.
10286 * stdlib/Makefile (tests): Change dependencies to ....
10287 (tests-special): ... additions to this variable.
10288 * string/Makefile (tests): Change dependencies to ....
10289 (tests-special): ... additions to this variable.
10290 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10291 (tests-special): ... additions to this variable.
10292
81700b53
JM
10293 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10294 whole file.
10295 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10296 whole file.
10297 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10298 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10299
2ea18461
JM
10300 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10301 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10302 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10303 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10304 * conform/data/libgen.h-data [XPG3]: Likewise.
10305 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10306 * conform/data/ndbm.h-data [XPG3]: Likewise.
10307 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10308 * conform/data/netdb.h-data [XPG3]: Likewise.
10309 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10310 * conform/data/poll.h-data [XPG3]: Likewise.
10311 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10312 * conform/data/strings.h-data [XPG3]: Likewise.
10313 * conform/data/stropts.h-data [XPG3]: Likewise.
10314 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10315 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10316 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10317 Likewise.
10318 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10319 * conform/data/sys/time.h-data [XPG3]: Likewise.
10320 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10321 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10322 * conform/data/sys/un.h-data [XPG3]: Likewise.
10323 * conform/data/syslog.h-data [XPG3]: Likewise.
10324 * conform/data/ucontext.h-data [XPG3]: Likewise.
10325 * conform/data/utmpx.h-data [XPG3]: Likewise.
10326 * conform/data/varargs.h-data [UNIX98]: Enable file.
10327
355bc986
JM
10328 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10329
215db402
JM
10330 * math/libm-test.inc (struct test_f_f_data): Move expected results
10331 into structure for each rounding mode.
10332 (struct test_ff_f_data): Likewise.
10333 (struct test_ff_f_data_nexttoward): Likewise.
10334 (struct test_fi_f_data): Likewise.
10335 (struct test_fl_f_data): Likewise.
10336 (struct test_if_f_data): Likewise.
10337 (struct test_fff_f_data): Likewise.
10338 (struct test_c_f_data): Likewise.
10339 (struct test_f_f1_data): Likewise.
10340 (struct test_fF_f1_data): Likewise.
10341 (struct test_ffI_f1_data): Likewise.
10342 (struct test_c_c_data): Likewise.
10343 (struct test_cc_c_data): Likewise.
10344 (struct test_f_i_data): Likewise.
10345 (struct test_ff_i_data): Likewise.
10346 (struct test_f_l_data): Likewise.
10347 (struct test_f_L_data): Likewise.
10348 (struct test_fFF_11_data): Likewise.
10349 (RM_): New macro.
10350 (RM_FE_DOWNWARD): Likewise.
10351 (RM_FE_TONEAREST): Likewise.
10352 (RM_FE_TOWARDZERO): Likewise.
10353 (RM_FE_UPWARD): Likewise.
10354 (RUN_TEST_LOOP_f_f): Update references to expected results.
10355 (RUN_TEST_LOOP_2_f): Likewise.
10356 (RUN_TEST_LOOP_fff_f): Likewise.
10357 (RUN_TEST_LOOP_c_f): Likewise.
10358 (RUN_TEST_LOOP_f_f1): Likewise.
10359 (RUN_TEST_LOOP_fF_f1): Likewise.
10360 (RUN_TEST_LOOP_fI_f1): Likewise.
10361 (RUN_TEST_LOOP_ffI_f1): Likewise.
10362 (RUN_TEST_LOOP_c_c): Likewise.
10363 (RUN_TEST_LOOP_cc_c): Likewise.
10364 (RUN_TEST_LOOP_f_i): Likewise.
10365 (RUN_TEST_LOOP_f_i_tg): Likewise.
10366 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10367 (RUN_TEST_LOOP_f_b): Likewise.
10368 (RUN_TEST_LOOP_f_b_tg): Likewise.
10369 (RUN_TEST_LOOP_f_l): Likewise.
10370 (RUN_TEST_LOOP_f_L): Likewise.
10371 (RUN_TEST_LOOP_fFF_11): Likewise.
10372 * math/gen-libm-test.pl (parse_args): Output four copies of
10373 expected results for each test.
10374
67737b8f
JM
10375 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10376 (__ASSUME_UTIMES): Remove.
10377 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10378 (__ASSUME_UTIMES): Likewise.
10379
aa97dee1
JM
10380 * math/gen-auto-libm-tests.c: Update comment on output format.
10381 (output_for_one_input_case): Generate before-rounding and
10382 after-rounding information as conditions on output flags not
10383 floating-point format.
10384 * math/auto-libm-test-out: Regenerated.
10385 * math/gen-libm-test.pl (cond_value): New function.
10386 (or_cond_value): Use cond_value.
10387 (generate_testfile): Handle conditional exceptions.
10388
e6b6a857
JM
103892014-03-05 Joseph Myers <joseph@codesourcery.com>
10390
2f0a0f44
JM
10391 * math/libm-test.inc (max_valid_error): New variable.
10392 (init_max_error): Take new argument specifying whether function
10393 results are exactly determined. Set max_valid_error and bound
10394 other variables for errors based on this argument.
10395 (set_max_error): Do not record results above max_valid_error.
10396 (check_float_internal): Only accept errors of up to 0.5ulps if
10397 also at most max_valid_error.
10398 (START): Take new argument EXACT and pass it to init_max_error.
10399 (acos_test): Update call to START.
10400 (acos_test_tonearest): Likewise.
10401 (acos_test_towardzero): Likewise.
10402 (acos_test_downward): Likewise.
10403 (acos_test_upward): Likewise.
10404 (acosh_test): Likewise.
10405 (asin_test): Likewise.
10406 (asin_test_tonearest): Likewise.
10407 (asin_test_towardzero): Likewise.
10408 (asin_test_downward): Likewise.
10409 (asin_test_upward): Likewise.
10410 (asinh_test): Likewise.
10411 (atan_test): Likewise.
10412 (atanh_test): Likewise.
10413 (atan2_test): Likewise.
10414 (cabs_test): Likewise.
10415 (cacos_test): Likewise.
10416 (cacosh_test): Likewise.
10417 (carg_test): Likewise.
10418 (casin_test): Likewise.
10419 (casinh_test): Likewise.
10420 (catan_test): Likewise.
10421 (catanh_test): Likewise.
10422 (cbrt_test): Likewise.
10423 (ccos_test): Likewise.
10424 (ccosh_test): Likewise.
10425 (ceil_test): Likewise.
10426 (cexp_test): Likewise.
10427 (cimag_test): Likewise.
10428 (clog_test): Likewise.
10429 (clog10_test): Likewise.
10430 (conj_test): Likewise.
10431 (copysign_test): Likewise.
10432 (cos_test): Likewise.
10433 (cos_test_tonearest): Likewise.
10434 (cos_test_towardzero): Likewise.
10435 (cos_test_downward): Likewise.
10436 (cos_test_upward): Likewise.
10437 (cosh_test): Likewise.
10438 (cosh_test_tonearest): Likewise.
10439 (cosh_test_towardzero): Likewise.
10440 (cosh_test_downward): Likewise.
10441 (cosh_test_upward): Likewise.
10442 (cpow_test): Likewise.
10443 (cproj_test): Likewise.
10444 (creal_test): Likewise.
10445 (csin_test): Likewise.
10446 (csinh_test): Likewise.
10447 (csqrt_test): Likewise.
10448 (ctan_test): Likewise.
10449 (ctan_test_tonearest): Likewise.
10450 (ctan_test_towardzero): Likewise.
10451 (ctan_test_downward): Likewise.
10452 (ctan_test_upward): Likewise.
10453 (ctanh_test): Likewise.
10454 (ctanh_test_tonearest): Likewise.
10455 (ctanh_test_towardzero): Likewise.
10456 (ctanh_test_downward): Likewise.
10457 (ctanh_test_upward): Likewise.
10458 (erf_test): Likewise.
10459 (erfc_test): Likewise.
10460 (exp_test): Likewise.
10461 (exp_test_tonearest): Likewise.
10462 (exp_test_towardzero): Likewise.
10463 (exp_test_downward): Likewise.
10464 (exp_test_upward): Likewise.
10465 (exp10_test): Likewise.
10466 (exp10_test_tonearest): Likewise.
10467 (exp10_test_towardzero): Likewise.
10468 (exp10_test_downward): Likewise.
10469 (exp10_test_upward): Likewise.
10470 (pow10_test): Likewise.
10471 (exp2_test): Likewise.
10472 (expm1_test): Likewise.
10473 (expm1_test_tonearest): Likewise.
10474 (expm1_test_towardzero): Likewise.
10475 (expm1_test_downward): Likewise.
10476 (expm1_test_upward): Likewise.
10477 (fabs_test): Likewise.
10478 (fdim_test): Likewise.
10479 (floor_test): Likewise.
10480 (fma_test): Likewise.
10481 (fma_test_towardzero): Likewise.
10482 (fma_test_downward): Likewise.
10483 (fma_test_upward): Likewise.
10484 (fmax_test): Likewise.
10485 (fmin_test): Likewise.
10486 (fmod_test): Likewise.
10487 (fpclassify_test): Likewise.
10488 (frexp_test): Likewise.
10489 (hypot_test): Likewise.
10490 (ilogb_test): Likewise.
10491 (isfinite_test): Likewise.
10492 (finite_test): Likewise.
10493 (isgreater_test): Likewise.
10494 (isgreaterequal_test): Likewise.
10495 (isinf_test): Likewise.
10496 (isless_test): Likewise.
10497 (islessequal_test): Likewise.
10498 (islessgreater_test): Likewise.
10499 (isnan_test): Likewise.
10500 (isnormal_test): Likewise.
10501 (issignaling_test): Likewise.
10502 (isunordered_test): Likewise.
10503 (j0_test): Likewise.
10504 (j1_test): Likewise.
10505 (jn_test): Likewise.
10506 (ldexp_test): Likewise.
10507 (lgamma_test): Likewise.
10508 (gamma_test): Likewise.
10509 (lrint_test): Likewise.
10510 (lrint_test_tonearest): Likewise.
10511 (lrint_test_towardzero): Likewise.
10512 (lrint_test_downward): Likewise.
10513 (lrint_test_upward): Likewise.
10514 (llrint_test): Likewise.
10515 (llrint_test_tonearest): Likewise.
10516 (llrint_test_towardzero): Likewise.
10517 (llrint_test_downward): Likewise.
10518 (llrint_test_upward): Likewise.
10519 (log_test): Likewise.
10520 (log10_test): Likewise.
10521 (log1p_test): Likewise.
10522 (log2_test): Likewise.
10523 (logb_test): Likewise.
10524 (logb_test_downward): Likewise.
10525 (lround_test): Likewise.
10526 (llround_test): Likewise.
10527 (modf_test): Likewise.
10528 (nearbyint_test): Likewise.
10529 (nextafter_test): Likewise.
10530 (nexttoward_test): Likewise.
10531 (pow_test): Likewise.
10532 (pow_test_tonearest): Likewise.
10533 (pow_test_towardzero): Likewise.
10534 (pow_test_downward): Likewise.
10535 (pow_test_upward): Likewise.
10536 (remainder_test): Likewise.
10537 (drem_test): Likewise.
10538 (remainder_test_tonearest): Likewise.
10539 (drem_test_tonearest): Likewise.
10540 (remainder_test_towardzero): Likewise.
10541 (drem_test_towardzero): Likewise.
10542 (remainder_test_downward): Likewise.
10543 (drem_test_downward): Likewise.
10544 (remainder_test_upward): Likewise.
10545 (drem_test_upward): Likewise.
10546 (remquo_test): Likewise.
10547 (rint_test): Likewise.
10548 (rint_test_tonearest): Likewise.
10549 (rint_test_towardzero): Likewise.
10550 (rint_test_downward): Likewise.
10551 (rint_test_upward): Likewise.
10552 (round_test): Likewise.
10553 (scalb_test): Likewise.
10554 (scalbn_test): Likewise.
10555 (scalbln_test): Likewise.
10556 (signbit_test): Likewise.
10557 (sin_test): Likewise.
10558 (sin_test_tonearest): Likewise.
10559 (sin_test_towardzero): Likewise.
10560 (sin_test_downward): Likewise.
10561 (sin_test_upward): Likewise.
10562 (sincos_test): Likewise.
10563 (sinh_test): Likewise.
10564 (sinh_test_tonearest): Likewise.
10565 (sinh_test_towardzero): Likewise.
10566 (sinh_test_downward): Likewise.
10567 (sinh_test_upward): Likewise.
10568 (sqrt_test): Likewise.
10569 (sqrt_test_tonearest): Likewise.
10570 (sqrt_test_towardzero): Likewise.
10571 (sqrt_test_downward): Likewise.
10572 (sqrt_test_upward): Likewise.
10573 (tan_test): Likewise.
10574 (tan_test_tonearest): Likewise.
10575 (tan_test_towardzero): Likewise.
10576 (tan_test_downward): Likewise.
10577 (tan_test_upward): Likewise.
10578 (tanh_test): Likewise.
10579 (tgamma_test): Likewise.
10580 (trunc_test): Likewise.
10581 (y0_test): Likewise.
10582 (y1_test): Likewise.
10583 (yn_test): Likewise.
10584 (significand_test): Likewise.
10585
e6b6a857
JM
10586 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10587 individual tests in comment.
10588 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10589 (prev_max_error): New variable.
10590 (prev_real_max_error): Likewise.
10591 (prev_imag_max_error): Likewise.
10592 (compare_ulp_data): Don't refer to test names in comment.
10593 (find_test_ulps): Remove function.
10594 (find_function_ulps): Likewise.
10595 (find_complex_function_ulps): Likewise.
10596 (init_max_error): Take function name as argument. Look up ulps
10597 for that function.
10598 (print_ulps): Remove function.
10599 (print_max_error): Use prev_max_error instead of calling
10600 find_function_ulps.
10601 (print_complex_max_error): Use prev_real_max_error and
10602 prev_imag_max_error instead of calling find_complex_function_ulps.
10603 (check_float_internal): Take max_ulp parameter instead of calling
10604 find_test_ulps. Don't call print_ulps.
10605 (check_float): Update call to check_float_internal.
10606 (check_complex): Update calls to check_float_internal.
10607 (START): Pass argument to init_max_error.
10608 * math/gen-libm-test.pl (%results): Don't include "kind"
10609 information.
10610 (parse_ulps): Don't handle ulps of individual tests.
10611 (print_ulps_file): Likewise.
10612 (output_ulps): Likewise.
10613 * math/README.libm-test: Update.
10614 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10615 individual tests.
10616 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10617 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10618 * sysdeps/arm/libm-test-ulps: Likewise.
10619 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10620 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10621 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10622 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10623 * sysdeps/microblaze/libm-test-ulps: Likewise.
10624 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10625 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10626 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10627 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10628 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10629 * sysdeps/sh/libm-test-ulps: Likewise.
10630 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10631 * sysdeps/tile/libm-test-ulps: Likewise.
10632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10633
45adef3c
JM
106342014-03-04 Joseph Myers <joseph@codesourcery.com>
10635
10636 * math/libm-test.inc (print_complex_max_error): Check separately
10637 whether real and imaginary errors are within allowed range and
10638 pass 0 to print_complex_function_ulps instead of value within
10639 allowed range.
10640
000232b9
SP
106412014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10642
d4b17258
SP
10643 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10644 formatting.
10645 (get_handles_fopen): Likewise.
10646 (do_write_test): Likewise.
10647
091eff71
SP
10648 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10649
fa3cd248
SP
10650 * libio/fileops.c (do_ftell): Use cached offset when
10651 available.
10652 * libio/iofwide.c (do_ftell_wide): Likewise.
10653 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10654 _IO_file_attach.
10655 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10656
000232b9
SP
10657 [BZ #16532]
10658 * libio/libioP.h (get_file_offset): New function.
10659 * libio/fileops.c (get_file_offset): Likewise.
10660 (do_ftell): Likewise.
10661 (_IO_new_file_seekoff): Split out ftell logic.
10662 * libio/wfileops.c (do_ftell_wide): Likewise.
10663 (_IO_wfile_seekoff): Split out ftell logic.
10664 * libio/tst-ftell-active-handler.c: New test case.
10665 * libio/Makefile (tests): Add it.
10666
116f4d1a
RM
106672014-03-03 Roland McGrath <roland@hack.frob.com>
10668
10669 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10670 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10671
532a6035
SP
106722014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10673
10674 [BZ #16639]
10675 * nscd/connections.c (nscd_init): Call do_exit.
10676 (start_threads): Call do_exit and notify_parent.
10677 (begin_drop_privileges): Call do_exit.
10678 (finish_drop_privileges): Likewise.
10679 * nscd/selinux.c (preserve_capabilities): Likewise.
10680 (install_real_capabilities): Likewise.
10681 (nscd_selinux_enabled): Likewise.
10682 (avc_create_thread): Likewise.
10683 (avc_alloc_lock): Likewise.
10684 (nscd_avc_init): Likewise.
10685 * nscd/nscd.c (parent_fd): New static variable.
10686 (main): Create a pipe between parent and child processes.
10687 Skip closing parent_fd.
10688 (monitor_child): New function.
10689 (do_exit): Likewise.
10690 (notify_parent): Likewise.
10691 * nscd/nscd.h (notify_parent): Likewise.
10692 (do_exit): Likewise.
10693
d6285c9f
CD
106942014-03-03 Carlos O'Donell <carlos@redhat.com>
10695
10696 * malloc/malloc.c (__libc_calloc): Revert last change.
10697
2b85d2a0
AZ
106982014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10699
10700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10701
c7debbdf
RS
107022014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10703
10704 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10706 implementation.
10707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10708 (__libc_ifunc_impl_list): Likewise.
10709 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10710 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10711 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10712 * string/strrchr.c: Define STRRCHR.
10713
235eed86
OB
107142014-02-28 Ondřej Bílka <neleai@seznam.cz>
10715
10716 * benchtest/bench-strtok.c (simple_strtok): Delete.
10717 (strtok_string): Use as benchmark.
10718 * string/strtok (STRTOK): New macro.
10719
8e25d1e7
CD
107202014-02-28 Carlos O'Donell <carlos@redhat.com>
10721
ef563f92
CD
10722 * manual/threads.texi: Add header and standard comments to all
10723 functions.
10724
8e25d1e7
CD
10725 * elf/dl-lookup.c (check_match): New function.
10726 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10727 (do_lookup_x): Remove nested function check_match. Use non-nested
10728 function check_match.
10729
ff71cc37
RM
107302014-02-28 Roland McGrath <roland@hack.frob.com>
10731
f08e9a26
RM
10732 * csu/Makefile (generated, before-compile): Use += rather than =.
10733 * catgets/Makefile (generated, generated-dirs): Likewise.
10734 * debug/Makefile (generated): Likewise.
10735 * dlfcn/Makefile (generated): Likewise.
10736 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10737 * iconvdata/Makefile (before-compile, generated): Likewise.
10738 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10739 * libio/Makefile (generated): Likewise.
10740 * malloc/Makefile (generated): Likewise.
10741 * manual/Makefile (generated, generated-dirs): Likewise.
10742 * misc/Makefile (generated): Likewise.
10743 * posix/Makefile (generated): Likewise.
10744 * resolv/Makefile (generated): Likewise.
10745 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10746 * timezone/Makefile (generated, generated-dirs): Likewise.
10747
ff71cc37
RM
10748 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10749
fe13a20c
AZ
107502014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10751
57f41c40
AS
10752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10753 power8 implementation.
10754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10755 file: POWER8 llround ifunc implementation.
10756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10757 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
10758 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10759 POWER8 llround implementation.
10760
57f41c40
AS
10761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10762 power8 implementation.
10763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10764 file: POWER8 llrint ifunc implementation.
10765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10766 Add POWER8 implementation.
1ad8950a
AZ
10767 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10768 POWER8 llrint implementation.
10769
57f41c40
AS
10770 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10771 power8 implementation.
10772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10773 file: POWER8 finite ifunc implementation.
10774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10775 Add POWER8 implementation.
cac626d6
AZ
10776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10777 Likewise.
10778 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10779 POWER8 finite implementation.
10780 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10781
57f41c40
AS
10782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10783 power8 implementation.
10784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10785 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
10786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10787 POWER8 implementation.
10788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10789 Likewise.
57f41c40
AS
10790 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10791 isinf implementation.
4393fc11
AZ
10792 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10793
57f41c40
AS
10794 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10795 (INIT_ARCH): Add hwcap2 initialization.
10796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10797 power8 implementation.
10798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10799 file: POWER8 isnan ifunc implementation.
487972ae
AZ
10800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10801 POWER8 implementation.
10802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10803 Likewise.
57f41c40
AS
10804 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10805 isnan implementation.
487972ae
AZ
10806 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10807
7d92b787
JY
108082014-02-27 Joey Ye <joey.ye@arm.com>
10809
10810 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10811 (_FP_NANFRAC_Q): Set to zero.
10812
1cadc858
SP
108132014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10814
10815 [BZ #16623]
10816 * math/auto-libm-test-in: New test inputs.
10817 * math/auto-libm-test-out: Regenerate.
10818 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10819 and DA.
10820 (__cos): Likewise.
10821 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10822
f8c17e79
JM
108232014-02-27 Joseph Myers <joseph@codesourcery.com>
10824
10825 * scripts/evaluate-test.sh: Take new argument indicating whether
10826 failure is expected.
10827 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10828 indicating whether failure is expected.
10829 * conform/Makefile (test-xfail-run-conformtest): New variable.
10830 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10831 level.
10832 * posix/Makefile (test-xfail-annexc): New variable.
10833 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10834
a5f891ac
JM
108352014-02-26 Joseph Myers <joseph@codesourcery.com>
10836
10837 * argp/Makefile: Include Makeconfig immediately after defining
10838 subdir.
10839 * assert/Makefile: Likewise.
10840 * benchtests/Makefile: Likewise.
10841 * catgets/Makefile: Likewise.
10842 * conform/Makefile: Likewise.
10843 * crypt/Makefile: Likewise.
10844 * csu/Makefile: Likewise.
10845 (all): Remove target.
10846 * ctype/Makefile: Include Makeconfig immediately after defining
10847 subdir.
10848 * debug/Makefile: Likewise.
10849 * dirent/Makefile: Likewise.
10850 * dlfcn/Makefile: Likewise.
10851 * gmon/Makefile: Likewise.
10852 * gnulib/Makefile: Likewise.
10853 * grp/Makefile: Likewise.
10854 * gshadow/Makefile: Likewise.
10855 * hesiod/Makefile: Likewise.
10856 * hurd/Makefile: Likewise.
10857 (all): Remove target.
10858 * iconvdata/Makefile: Include Makeconfig immediately after
10859 defining subdir.
10860 * inet/Makefile: Likewise.
10861 * intl/Makefile: Likewise.
10862 * io/Makefile: Likewise.
10863 * libio/Makefile: Likewise.
10864 (all): Remove target.
10865 * locale/Makefile: Include Makeconfig immediately after defining
10866 subdir.
10867 * login/Makefile: Likewise.
10868 * mach/Makefile: Likewise.
10869 (all): Remove target.
10870 * malloc/Makefile: Include Makeconfig immediately after defining
10871 subdir.
10872 (all): Remove target.
10873 * manual/Makefile: Include Makeconfig immediately after defining
10874 subdir.
10875 * math/Makefile: Likewise.
10876 * misc/Makefile: Likewise.
10877 * nis/Makefile: Likewise.
10878 * nss/Makefile: Likewise.
10879 * po/Makefile: Likewise.
10880 (all): Remove target.
10881 * posix/Makefile: Include Makeconfig immediately after defining
10882 subdir.
10883 * pwd/Makefile: Likewise.
10884 * resolv/Makefile: Likewise.
10885 * resource/Makefile: Likewise.
10886 * rt/Makefile: Likewise.
10887 * setjmp/Makefile: Likewise.
10888 * shadow/Makefile: Likewise.
10889 * signal/Makefile: Likewise.
10890 * socket/Makefile: Likewise.
10891 * soft-fp/Makefile: Likewise.
10892 * stdio-common/Makefile: Likewise.
10893 * stdlib/Makefile: Likewise.
10894 * streams/Makefile: Likewise.
10895 * string/Makefile: Likewise.
10896 * sunrpc/Makefile: Likewise.
10897 (all): Remove target.
10898 * sysvipc/Makefile: Include Makeconfig immediately after defining
10899 subdir.
10900 * termios/Makefile: Likewise.
10901 * time/Makefile: Likewise.
10902 * timezone/Makefile: Likewise.
10903 (all): Remove target.
10904 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10905 subdir.
10906 * wctype/Makefile: Likewise.
10907
5b456e9d
SE
109082014-02-26 Steve Ellcey <sellcey@mips.com>
10909
10910 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10911 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10912 (libc_feholdexcept_setround_mips): Ditto.
10913 (libc_feholdsetround): New.
10914 (libc_feholdsetroundf): New.
10915 (libc_feholdsetroundl): New.
10916 (libc_feupdateenv_test_mips): New.
10917 (libc_feupdateenv_test): New.
10918 (libc_feupdateenv_testf): New.
10919 (libc_feupdateenv_testl): New.
10920 (libc_feresetround): New.
10921 (libc_feresetroundf): New.
10922 (libc_feresetroundl): New.
10923 (libc_fetestexcept_mips): New.
10924 (libc_fetestexcept): New.
10925 (libc_fetestexceptf): New.
10926 (libc_fetestexceptl): New.
10927 (HAVE_RM_CTX): New.
10928 (libc_feholdexcept_setround_mips_ctx): New.
10929 (libc_feholdexcept_setround_ctx): New.
10930 (libc_feholdexcept_setroundf_ctx): New.
10931 (libc_feholdexcept_setroundl_ctx): New.
10932 (libc_fesetenv_mips_ctx): New.
10933 (libc_fesetenv_ctx): New.
10934 (libc_fesetenv_ctxf): New.
10935 (libc_fesetenv_ctxl): New.
10936 (libc_feupdateenv_mips_ctx): New.
10937 (libc_feupdateenv_ctx): New.
10938 (libc_feupdateenvf_ctx): New.
10939 (libc_feupdateenvl_ctx): New.
10940 (libc_feholdsetround_mips_ctx): New.
10941 (libc_feholdsetround_ctx): New.
10942 (libc_feholdsetroundf_ctx): New.
10943 (libc_feholdsetroundl_ctx): New.
10944 (libc_feresetround_mips_ctx): New.
10945 (libc_feresetround_ctx): New.
10946 (libc_feresetroundf_ctx): New.
10947 (libc_feresetroundl_ctx): New.
10948
085d0e35
CD
109492014-02-26 Carlos O'Donell <carlos@redhat.com>
10950
f067bf1f
CD
10951 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10952
085d0e35
CD
10953 * manual/ipc.texi: New file.
10954 * manual/Makefile (chapters): Add ipc.
10955 * manual/job.texi: Add "Inter-Process Communication" to next.
10956 * manual/process.texi: Add "Inter-Process Communication" to prev.
10957
86e58c08
AZ
109582014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10959
10960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10961
4248f0da
OB
109622014-02-26 Ondřej Bílka <neleai@seznam.cz>
10963
10964 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10965
cf822e3c
OB
10966 * manual/arith.texi: Fix spaces after sentences.
10967 * manual/charset.texi: Likewise.
10968 * manual/errno.texi: Likewise.
10969 * manual/install.texi: Likewise.
10970 * manual/llio.texi: Likewise.
10971 * manual/locale.texi: Likewise.
10972 * manual/maint.texi: Likewise.
10973 * manual/math.texi: Likewise.
10974 * manual/memory.texi: Likewise.
10975 * manual/message.texi: Likewise.
10976 * manual/probes.texi: Likewise.
10977 * manual/resource.texi: Likewise.
10978 * manual/signal.texi: Likewise.
10979 * manual/socket.texi: Likewise.
10980 * manual/stdio.texi: Likewise.
10981 * manual/string.texi: Likewise.
10982 * manual/time.texi: Likewise.
10983 * manual/users.texi: Likewise.
10984
ade40b10
CD
109852014-02-25 Carlos O'Donell <carlos@redhat.com>
10986
10987 [BZ #16632]
10988 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10989 _DEFAULT_SOURCE is defined.
10990
d0503676
CD
109912014-02-25 Ulrich Drepper <drepper@gmail.com>
10992 Carlos O'Donell <carlos@redhat.com>
10993
10994 [BZ #16613]
10995 * elf/dl-tls.c (_dl_count_modids): New function.
10996 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10997 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10998 audit library and increment generation counter.
10999 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11000 * elf/tst-audit9.c: New file.
11001 * elf/tst-auditmod9a.c: New file.
11002 * elf/tst-auditmod9b.c: New file.
11003 * elf/Makefile: Add rules to build and run tst-audit9.
11004
4cbf380c
FW
110052014-02-25 Florian Weimer <fweimer@redhat.com>
11006
11007 [BZ #15347]
11008 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11009
80a56cc3
WN
110102014-02-25 Will Newton <will.newton@linaro.org>
11011
11012 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11013 (__longjmp): Restore sp and lr before restoring callee
11014 saved registers. Add longjmp and longjmp_target
11015 SystemTap probe point.
11016 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11017 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11018 Define to zero to match jmpbuf layout.
11019 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11020 (__sigsetjmp): Save sp and lr before saving callee
11021 saved registers. Add setjmp SystemTap probe point.
11022
3ea0f74e
SL
110232014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11024
11025 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11026
b04acb26
AS
110272014-02-24 Andreas Schwab <schwab@suse.de>
11028
11029 [BZ #15804]
11030 * elf/pldd.c (wait_for_ptrace_stop): New function.
11031 (main): Call it after attaching.
11032
098ad55c
RM
110332014-02-22 Roland McGrath <roland@hack.frob.com>
11034
d4ec6ae1
RM
11035 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11036 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11037 Versions files is now verboten.
11038 * hurd/Versions (libc: GLIBC_2.0):
11039 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11040 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11041 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11042 * mach/Versions: Likewise.
11043
098ad55c
RM
11044 * csu/Versions: Remove unused %include.
11045 * resolv/Versions: Likewise.
11046
acd7f096
JM
110472014-02-21 Joseph Myers <joseph@codesourcery.com>
11048
f0881698
JM
11049 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11050 ($(objpfx)check-local-headers.out): Likewise.
11051 ($(objpfx)begin-end-check.out): Likewise.
11052 * Makerules (check-abi-%.out): Likewise.
11053 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11054 ($(objpfx)test2.cat): Likewise.
11055 ($(objpfx)de/libc.cat): Likewise.
11056 ($(objpfx)test-gencat.out): Likewise.
11057 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11058 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11059 ($(objpfx)noload-mem): Likewise.
11060 ($(objpfx)tst-pathopt.out): Likewise.
11061 ($(objpfx)tst-rtld-load-self.out): Likewise.
11062 ($(objpfx)tst-array1-cmp.out): Likewise.
11063 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11064 ($(objpfx)tst-array2-cmp.out): Likewise.
11065 ($(objpfx)tst-array3-cmp.out): Likewise.
11066 ($(objpfx)tst-array4-cmp.out): Likewise.
11067 ($(objpfx)tst-array5-cmp.out): Likewise.
11068 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11069 ($(objpfx)check-textrel.out): Likewise.
11070 ($(objpfx)check-execstack.out): Likewise.
11071 ($(objpfx)check-localplt.out): Likewise.
11072 ($(objpfx)order2-cmp.out): Likewise.
11073 ($(objpfx)tst-leaks1-mem): Likewise.
11074 ($(objpfx)tst-leaks1-static-mem): Likewise.
11075 ($(objpfx)tst-initorder-cmp.out): Likewise.
11076 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11077 ($(objpfx)tst-unused-dep.out): Likewise.
11078 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11079 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11080 * iconv/Makefile (test-iconvconfig): Likewise.
11081 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11082 ($(objpfx)iconv-test.out): Likewise.
11083 ($(objpfx)tst-tables.out): Likewise.
11084 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11085 ($(objpfx)tst-gettext.out): Likewise.
11086 ($(objpfx)tst-translit.out): Likewise.
11087 ($(objpfx)tst-gettext2.out): Likewise.
11088 ($(objpfx)tst-gettext4.out): Likewise.
11089 ($(objpfx)tst-gettext6.out): Likewise.
11090 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11091 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11092 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11093 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11094 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11095 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11096 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11097 ($(objpfx)wordexp-tst.out): Likewise.
11098 ($(objpfx)annexc.out): Likewise.
11099 ($(objpfx)tst-fnmatch-mem): Likewise.
11100 ($(objpfx)bug-regex2-mem): Likewise.
11101 ($(objpfx)bug-regex14-mem): Likewise.
11102 ($(objpfx)bug-regex21-mem): Likewise.
11103 ($(objpfx)bug-regex31-mem): Likewise.
11104 ($(objpfx)tst-vfork3-mem): Likewise.
11105 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11106 ($(objpfx)tst-pcre-mem): Likewise.
11107 ($(objpfx)tst-boost-mem): Likewise.
11108 ($(objpfx)tst-getconf.out): Likewise.
11109 ($(objpfx)bug-ga2-mem): Likewise.
11110 ($(objpfx)bug-glob2-mem): Likewise.
11111 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11112 ($(objpfx)mtrace-tst-leaks2): Likewise.
11113 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11114 ($(objpfx)tst-printf.out): Likewise.
11115 ($(objpfx)tst-setvbuf1.out): Likewise.
11116 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11117 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11118 ($(objpfx)tst-fmtmsg.out): Likewise.
11119 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11120 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11121
acd7f096
JM
11122 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11123 * bits/sigaction.h [__USE_MISC]: Likewise.
11124 * bits/waitstatus.h: Update #endif comments.
11125 * ctype/ctype.h: Likewise.
11126 * dirent/dirent.h: Likewise.
11127 [__USE_MISC]: Remove redundant conditionals.
11128 * grp/grp.h: Update #endif comments.
11129 [__USE_GNU]: Remove redundant conditionals.
11130 [__USE_MISC]: Likewise.
11131 * inet/netinet/in.h [__USE_GNU]: Likewise.
11132 * io/sys/stat.h [__USE_MISC]: Likewise.
11133 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11134 * libio/bits/stdio.h: Update #endif comments.
11135 [__USE_MISC]: Remove redundant conditionals.
11136 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11137 * libio/stdio.h: Update #endif comments.
11138 [__USE_MISC]: Remove redundant conditionals.
11139 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11140 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11141 * math/math.h: Update #else and #endif comments.
11142 [__USE_MISC]: Remove redundant conditionals.
11143 * misc/sys/uio.h: Update #endif comments.
11144 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11145 * posix/glob.h [__USE_MISC]: Likewise.
11146 * posix/sys/types.h: Update #endif comments.
11147 [__USE_MISC]: Remove redundant conditionals.
11148 * posix/sys/wait.h: Update #endif comments.
11149 [__USE_MISC]: Remove redundant conditionals.
11150 * posix/unistd.h: Update #endif comments.
11151 [__USE_MISC]: Remove redundant conditionals.
11152 * pwd/pwd.h [__USE_GNU]: Likewise.
11153 [__USE_MISC]: Likewise.
11154 * resolv/netdb.h [__USE_GNU]: Likewise.
11155 * signal/signal.h: Update #endif comments.
11156 [__USE_MISC]: Remove redundant conditionals.
11157 * stdlib/stdlib.h: Update #else and #endif comments.
11158 [__USE_MISC]: Remove redundant conditionals.
11159 [__USE_GNU]: Likewise.
11160 * string/bits/string2.h [__USE_MISC]: Likewise.
11161 * string/string.h: Update #endif comments.
11162 [__USE_MISC]: Remove redundant conditionals.
11163 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11164 Likewise.
11165 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11166 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11167 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11168 Likewise.
11169 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11170 Likewise.
11171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11172 comments.
11173 [__USE_MISC]: Remove redundant conditionals.
11174 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11175 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11176 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11177 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11178 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11179 Likewise.
11180 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11181 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11182 Likewise.
11183 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11184 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11185 Likewise.
11186 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11187 Likewise.
11188 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11189 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11190 Likewise.
11191 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11192 Likewise.
11193 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11194 * sysdeps/x86/bits/string.h: Update #endif comments.
11195 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11196 conditionals.
11197 * time/sys/time.h: Update #endif comments.
11198 * time/time.h: Likewise.
11199 [__USE_MISC]: Remove redundant conditionals.
11200
a5d82e4e
YG
112012014-02-21 Yury Gribov <y.gribov@samsung.com>
11202
11203 [BZ #16600]
11204 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11205
9a80491d
AS
112062014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11207
11208 * Versions.def (librt): Add GLIBC_2.17.
11209
105fa381
AC
112102014-02-21 Adam Conrad <adconrad@0c3.net>
11211
11212 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11213 synonym for _SYS_AUXV_H to allow direct inclusion.
11214 * sysdeps/sparc/bits/hwcap.h: Likewise.
11215 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11216 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11217 * sysdeps/sparc/sysdep.h: Likewise.
11218
b8cd1c4e
SP
112192014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11220
11221 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11222
bd939d23
RS
112232014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11224
11225 * benchtests/bench-strrchr.c: Print length instead of position.
11226
5d7b57ca
JM
112272014-02-20 Joseph Myers <joseph@codesourcery.com>
11228
bc688c10
JM
11229 [BZ #16611]
11230 * sysdeps/unix/sysv/linux/kernel-features.h
11231 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11232 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11233 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11234 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11235 Likewise.
11236 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11237 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11238 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11239 (__ASSUME_SENDMMSG): Define instead of using previous
11240 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11241 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11242 (__ASSUME_SENDMMSG_SYSCALL): Define.
11243 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11244 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11245 Likewise.
11246 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11247 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11248 Likewise.
11249 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11250 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11251 Likewise.
11252 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11253 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11254 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11255 [__ASSUME_SENDMMSG]: Change conditionals to
11256 [__ASSUME_SENDMMSG_SOCKETCALL].
11257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11258 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11259 Define.
11260 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11261 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11262 Likewise.
11263 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11264 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11265 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11266 [!__ASSUME_SENDMMSG]: Change conditional to
11267 [!__ASSUME_SENDMMSG_SOCKETCALL].
11268 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11269 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11270 Define.
11271
0e31b18c
JM
11272 [BZ #16610]
11273 * sysdeps/unix/sysv/linux/kernel-features.h
11274 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11275 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11276 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11277 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11278 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11279 [__i386__ || __sparc__]
11280 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11281 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11282 (__ASSUME_RECVMMSG): Define instead of using previous
11283 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11284 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11285 (__ASSUME_RECVMMSG_SYSCALL): Define.
11286 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11287 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11288 Likewise.
11289 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11290 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11291 Likewise.
11292 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11293 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11294 Likewise.
11295 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11296 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11297 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11298 [__ASSUME_RECVMMSG]: Change condition to
11299 [__ASSUME_RECVMMSG_SOCKETCALL].
11300 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11301 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11302 Define.
11303 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11304 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11305 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11306 Likewise.
11307 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11308 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11309 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11310 [!__ASSUME_RECVMMSG]: Change condition to
11311 [!__ASSUME_RECVMMSG_SOCKETCALL].
11312 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11313 (__ASSUME_RECVMMSG_SYSCALL): Define.
11314
dd481ccf
JM
11315 [BZ #16609]
11316 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11317 __powerpc__ || __s390__ || __sh__ || __sparc__]
11318 (__ASSUME_SOCKETCALL): Define.
11319 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11320 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11321 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11322 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11323 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11324 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11325 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11326 (__ASSUME_ACCEPT4): Define instead of using previous
11327 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11328 __powerpc__ || __sparc__ || __s390__)] condition.
11329 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11330 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11331 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11332 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11333 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11334 [!__ASSUME_ACCEPT4]: Change condition to
11335 [!__ASSUME_ACCEPT4_SOCKETCALL].
11336 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11337 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11338 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11340 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11341 __ASSUME_ACCEPT4_SYSCALL.
11342 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11343 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11344 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11345 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11346 __ASSUME_ACCEPT4_SYSCALL.
11347 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11348 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11349 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11350 [__ASSUME_ACCEPT4]: Change condition to
11351 [__ASSUME_ACCEPT4_SOCKETCALL].
11352 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11353 (__ASSUME_SOCKETCALL): Define.
11354 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11355 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11356 (__ASSUME_SOCKETCALL): Define.
11357 (__ASSUME_ACCEPT4): Remove.
11358 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11359 Define.
11360 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11361 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11362 Likewise.
11363 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11364 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11365
5d7b57ca
JM
11366 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11367 macro.
11368 (HWCAP_ARM_LPAE): Likewise.
11369 (HWCAP_ARM_EVTSTRM): Likewise.
11370 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11371 Add vpfd32, lpae and evtstrm.
11372 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11373 Increase to 22.
11374
63689d61
JM
113752014-02-19 Joseph Myers <joseph@codesourcery.com>
11376
11377 * math/auto-libm-test-in: Add tests of clog10.
11378 * math/auto-libm-test-out: Regenerated.
11379 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11380 * sysdeps/i386/fpu/libm-test-ulps: Update.
11381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11382
ab09bf61
AS
113832014-02-18 Andreas Schwab <schwab@suse.de>
11384
11385 [BZ #16574]
11386 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11387 Store non-zero if the second buffer was newly allocated.
11388 (send_dg): Likewise.
11389 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11390 to send_vc and send_dg.
11391 (res_nsend): Pass NULL for ansp2_malloced.
11392 * resolv/res_query.c (__libc_res_nquery): Add parameter
11393 answerp2_malloced and pass it down to __libc_res_nsend.
11394 (res_nquery): Pass additional NULL to __libc_res_nquery.
11395 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11396 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11397 second answer buffer if answerp2_malloced was set.
11398 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11399 (__libc_res_nquerydomain): Add parameter
11400 answerp2_malloced and pass it down to __libc_res_nquery.
11401 (res_nquerydomain): Pass additional NULL to
11402 __libc_res_nquerydomain.
11403 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11404 additional NULL to __libc_res_nsend and __libc_res_nquery.
11405 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11406 additional NULL to __libc_res_nsearch.
11407 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11408 parameter of __libc_res_nsearch to check for separately allocated
11409 second buffer.
11410 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11411 __libc_res_nquery.
11412 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11413 additional NULL to __libc_res_nquery.
11414 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11415 __libc_res_nsearch.
11416 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11417 * include/resolv.h: Update prototypes of __libc_res_nquery,
11418 __libc_res_nsearch, __libc_res_nsend.
11419
a4fb7861
JM
114202014-02-18 Joseph Myers <joseph@codesourcery.com>
11421
c6af2d89
JM
11422 * math/auto-libm-test-in: Add tests of fma.
11423 * math/auto-libm-test-out: Regenerated.
11424 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11425 (fma_towardzero_test_data): Likewise.
11426 (fma_downward_test_data): Likewise.
11427 (fma_upward_test_data): Likewise.
11428 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11429 mpc_mode.
11430 (rounding_modes): Add values for new field.
11431 (func_calc_method): Add value mpfr_fff_f.
11432 (func_calc_desc): Add mpfr_fff_f union field.
11433 (test_function): Add field exact_args.
11434 (FUNC): Add macro argument EXACT_ARGS.
11435 (FUNC_mpfr_f_f): Update call to FUNC.
11436 (FUNC_mpfr_f_f): Likewise.
11437 (FUNC_mpfr_ff_f): Likewise.
11438 (FUNC_mpfr_if_f): Likewise.
11439 (FUNC_mpc_c_f): Likewise.
11440 (FUNC_mpc_c_c): Likewise.
11441 (test_functions): Add fma. Update calls to FUNC.
11442 (handle_input_arg): Add argument exact_args.
11443 (add_test): Update call to handle_input_arg.
11444 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11445 (output_for_one_input_case): Update call to calc_generic_results.
11446 Recalculate exact zero results in each rounding mode.
11447
a4fb7861
JM
11448 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11449 non-negative before setting low bit.
11450 * math/auto-libm-test-in: Mark one asin test possibly having
11451 spurious underflow.
11452 * math/auto-libm-test-out: Regenerated.
11453 * sysdeps/i386/fpu/libm-test-ulps: Update.
11454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11455
ef114eaf
DH
114562014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11457
2b7f4f2c
SP
11458 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11459 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11460 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
11461 * README: Add missing listing for microblaze*-*-linux-gnu.
11462
8125aedc
AM
114632014-02-16 Ondřej Bílka <neleai@seznam.cz>
11464
11465 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11466 duplicate code
11467
c70a4b1d
MF
114682014-02-16 Mike Frysinger <vapier@gentoo.org>
11469
11470 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11471 * sysdeps/unix/sysv/linux/ia64: Move directory from
11472 ports/sysdeps/unix/sysv/linux/ia64.
11473 * README: Update listing for ia64-*-linux-gnu.
11474
591aeaf7
TD
114752014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11476 Joseph Myers <joseph@codesourcery.com>
11477
11478 * Makeconfig (test-name): New variable.
11479 (evaluate-test): Likewise.
11480 * Makerules (do-test-clean): Remove .test-result files.
11481 (common-mostlyclean): Likewise.
11482 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11483 * scripts/evaluate-test.sh: New file.
11484
6e89caf1
JM
114852014-02-14 Joseph Myers <joseph@codesourcery.com>
11486
7f98f180
JM
11487 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11488 separate $(objpfx)tst-fopenloc-cmp.out and
11489 $(objpfx)tst-fopenloc-mem.out targets.
11490 (tests): Update dependencies.
11491 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11492 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11493 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11494 (tst-rxspencer-no-utf8-ARGS): New variable.
11495 (tst-rxspencer-no-utf8-ENV): Likewise.
11496 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11497 instead of $(objpfx)tst-rxspencer-mem.
11498 ($(objpfx)tst-rxspencer-mem): Change target to
11499 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11500 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11501 * posix/tst-rxspencer-no-utf8.c: New file.
11502
6e89caf1
JM
11503 * elf/Makefile ($(objpfx)order.out): Remove rule.
11504 [$(run-built-tests) = yes] (tests): Depend on
11505 $(objpfx)order-cmp.out.
11506 ($(objpfx)order-cmp.out): New rule.
11507 [$(run-built-tests) = yes] (tests): Depend on
11508 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11509 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11510 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11511 $(objpfx)tst-array5-static-cmp.out.
11512 ($(objpfx)tst-array1.out): Remove rule.
11513 ($(objpfx)tst-array1-cmp.out): New rule.
11514 ($(objpfx)tst-array1-static.out): Remove rule.
11515 ($(objpfx)tst-array1-static-cmp.out): New rule.
11516 ($(objpfx)tst-array2.out): Remove rule.
11517 ($(objpfx)tst-array2-cmp.out): New rule.
11518 ($(objpfx)tst-array3.out): Remove rule.
11519 ($(objpfx)tst-array3-cmp.out): New rule.
11520 ($(objpfx)tst-array4.out): Remove rule.
11521 ($(objpfx)tst-array4-cmp.out): New rule.
11522 ($(objpfx)tst-array5.out): Remove rule.
11523 ($(objpfx)tst-array5-cmp.out): New rule.
11524 ($(objpfx)tst-array5-static.out): Remove rule.
11525 ($(objpfx)tst-array5-static-cmp.out): New rule.
11526 [$(run-built-tests) = yes] (tests): Depend on
11527 $(objpfx)order2-cmp.out.
11528 ($(objpfx)order2.out): Remove rule.
11529 ($(objpfx)order2-cmp.out): New rule.
11530 ($(objpfx)tst-initorder.out): Remove rule.
11531 [$(run-built-tests) = yes] (tests): Depend on
11532 $(objpfx)tst-initorder-cmp.out.
11533 ($(objpfx)tst-initorder-cmp.out): New rule.
11534 ($(objpfx)tst-initorder2.out): Remove rule.
11535 [$(run-built-tests) = yes] (tests): Depend on
11536 $(objpfx)tst-initorder2-cmp.out.
11537 ($(objpfx)tst-initorder2-cmp.out): New rule.
11538 [$(run-built-tests) = yes] (tests): Depend on
11539 $(objpfx)tst-unused-dep-cmp.out.
11540 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11541 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11542 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11543 on $(objpfx)tst-setvbuf1-cmp.out.
11544 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11545 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11546 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11547 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11548 ($(objpfx)tst-svc.out): Remove rule.
11549 ($(objpfx)tst-svc-cmp.out): New rule.
11550
ed9a38e2
JM
115512014-02-13 Joseph Myers <joseph@codesourcery.com>
11552
11553 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11554 * ctype/ctype.h [__USE_MISC]: Likewise.
11555 * dirent/dirent.h [__USE_MISC]: Likewise.
11556 * grp/grp.h [__USE_MISC]: Likewise.
11557 * io/fcntl.h [__USE_MISC]: Likewise.
11558 * io/sys/stat.h [__USE_MISC]: Likewise.
11559 * libio/stdio.h [__USE_MISC]: Likewise.
11560 * posix/unistd.h [__USE_MISC]: Likewise.
11561 * pwd/pwd.h [__USE_MISC]: Likewise.
11562 * stdlib.h [__USE_MISC]: Likewise.
11563 * string/bits/string2.h [__USE_MISC]: Likewise.
11564 * string/string.h [__USE_MISC]: Likewise.
11565 * time/time.h [__USE_MISC]: Likewise.
11566
d6680619
AS
115672014-02-13 Andreas Schwab <schwab@suse.de>
11568
11569 [BZ #16574]
11570 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11571 second answer buffer if it was separately allocated.
11572
ace614b8
JM
115732014-02-12 Joseph Myers <joseph@codesourcery.com>
11574
743151ae
JM
11575 * sysdeps/mips/math-tests.h: Include <features.h>.
11576 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11577 (ROUNDING_TESTS_long_double): Do not define.
11578 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11579 (EXCEPTION_TESTS_long_double): Likewise.
11580 * sysdeps/mips/mips64/libm-test-ulps: Update.
11581
498afc54
JM
11582 * include/features.h (__USE_BSD): Remove macro definitions.
11583 (__USE_SVID): Likewise.
11584 (_BSD_SOURCE): Likewise.
11585 (_SVID_SOURCE): Likewise.
11586 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11587 from definition of _DEFAULT_SOURCE.
11588 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11589 [_DEFAULT_SOURCE].
11590 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11591 * bits/mman.h [__USE_BSD]: Likewise.
11592 * bits/termios.h [__USE_BSD]: Likewise.
11593 * bits/waitstatus.h [__USE_BSD]: Likewise.
11594 * ctype/ctype.h [__USE_SVID]: Likewise.
11595 * dirent/dirent.h [__USE_BSD]: Likewise.
11596 * grp/grp.h [__USE_SVID]: Likewise.
11597 [__USE_BSD]: Likewise.
11598 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11599 * io/fcntl.h [__USE_BSD]: Likewise.
11600 * io/ftw.h [__USE_BSD]: Likewise.
11601 * io/sys/stat.h [__USE_BSD]: Likewise.
11602 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11603 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11604 * libio/stdio.h [__USE_SVID]: Likewise.
11605 [__USE_BSD]: Likewise.
11606 * math/math.h [__USE_SVID]: Likewise.
11607 [__USE_BSD]: Likewise.
11608 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11609 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11610 * misc/search.h [__USE_SVID]: Likewise.
11611 * misc/sys/mman.h [__USE_BSD]: Likewise.
11612 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11613 * misc/sys/uio.h [__USE_BSD]: Likewise.
11614 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11615 * posix/glob.h [__USE_BSD]: Likewise.
11616 * posix/regex.h [__USE_BSD]: Likewise.
11617 * posix/sys/types.h [__USE_BSD]: Likewise.
11618 [__USE_SVID]: Likewise.
11619 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11620 * posix/sys/wait.h [__USE_BSD]: Likewise.
11621 [__USE_SVID]: Likewise.
11622 * posix/unistd.h [__USE_BSD]: Likewise.
11623 [__USE_SVID]: Likewise.
11624 * pwd/pwd.h [__USE_SVID]: Likewise.
11625 * resolv/netdb.h [__USE_BSD]: Likewise.
11626 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11627 * signal/signal.h [__USE_BSD]: Likewise.
11628 [__USE_SVID]: Likewise.
11629 * socket/sys/socket.h [__USE_BSD]: Likewise.
11630 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11631 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11632 [__USE_SVID]: Likewise.
11633 * string/bits/string2.h [__USE_BSD]: Likewise.
11634 [__USE_SVID]: Likewise.
11635 * string/bits/string3.h [__USE_BSD]: Likewise.
11636 * string/endian.h [__USE_BSD]: Likewise.
11637 * string/string.h [__USE_SVID]: Likewise.
11638 [__USE_BSD]: Likewise.
11639 * string/strings.h [__USE_BSD]: Likewise.
11640 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11641 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11642 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11643 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11644 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11645 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11646 Likewise.
11647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11648 Likewise.
11649 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11650 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11651 Likewise.
11652 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11653 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11654 Likewise.
11655 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11656 Likewise.
11657 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11658 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11659 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11660 Likewise.
11661 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11662 Likewise.
11663 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11664 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11665 * termios/termios.h [__USE_BSD]: Likewise.
11666 * time/sys/time.h [__USE_BSD]: Likewise.
11667 * time/time.h [__USE_BSD]: Likewise.
11668 [__USE_SVID]: Likewise.
11669
dd7b064c
JM
11670 * Makefile (subdir_targets): Remove subdir_lint.out.
11671
a2c4c199
JM
11672 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11673 (do-tst-printf): Likewise.
11674 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11675 $(objpfx)tst-printf.out.
11676
8756f740
JM
11677 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11678
1b6dd3f1
JM
11679 * Makerules (check-abi-%): Change target to
11680 $(objpfx)check-abi-%.out.
11681 (check-abi target): Update dependencies.
11682 (check-abi-pattern variable): Redirect output of diff to $@.
11683 (check-abi variable): Likewise.
11684 * elf/Makefile (check-abi): Update dependencies.
11685
ace614b8
JM
11686 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11687 unused.
11688 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11689 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11690 subnormal range.
11691 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11692 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11693 value has largest subnormal exponent.
11694 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11695 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11696 * sysdeps/aarch64/soft-fp/sfp-machine.h
11697 (_FP_TININESS_AFTER_ROUNDING): New macro.
11698 * sysdeps/alpha/soft-fp/sfp-machine.h
11699 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11700 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11701 Likewise.
11702 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11703 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11704 * sysdeps/mips/soft-fp/sfp-machine.h
11705 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11706 * sysdeps/powerpc/soft-fp/sfp-machine.h
11707 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11708 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11709 Likewise.
11710 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11711 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11712 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11713 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11714 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11715 Likewise.
11716
fbfdf9cb
DAS
117172014-02-12 Dylan Alex Simon <dylan@dylex.net>
11718
11719 [BZ #16545]
11720 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11721 model 1.
11722
68b7efaa
RH
117232014-02-12 Richard Henderson <rth@redhat.com>
11724
c70a4b1d 11725 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
11726 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11727 * sysdeps/unix/sysv/linux/alpha: Move directory from
11728 ports/sysdeps/unix/sysv/linux/alpha.
11729 * README: Update listing for alpha-*-linux-gnu.
11730
cb4a2928
JM
117312014-02-11 Joseph Myers <joseph@codesourcery.com>
11732
c941736c
JM
11733 * include/features.h: Update comment documenting feature test
11734 macros.
11735 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11736 _DEFAULT_SOURCE.
11737 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11738 (_SVID_SOURCE): Likewise.
11739 (_DEFAULT_SOURCE): Update description of default features.
11740 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11741 with _GNU_SOURCE.
11742 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11743 (S_ISVTX): Likewise.
11744 * manual/math.texi (Mathematical Constants): Likewise.
11745 * manual/signal.texi (Interrupted Primitives): Likewise.
11746 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11747 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11748 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11749 Don't refer to _SVID_SOURCE in warning text.
11750
e8d8d7ec
JM
11751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11752
cb4a2928
JM
11753 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11754 already defined.
11755 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11756 * sysdeps/mips/dl-lookup.c: Remove.
11757 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11758
7e6424e3
AK
117592014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11760
11761 [BZ #16447]
11762 * math/auto-libm-test-in: Add testcase for expl.
11763 * math/auto-libm-test-out: Regenerate.
11764 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11765 calculation of unsafe.
11766 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11767
75eff3fe
MS
117682014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11769
11770 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11771 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11772 ports/sysdeps/unix/sysv/linux/aarch64.
11773 * README: Update listing for aarch64*-*-linux-gnu.
11774
d35f1e80
WN
117752014-02-11 Will Newton <will.newton@linaro.org>
11776
11777 * manual/probes.texi (Mathematical Function Probes): Use
11778 "triggered" instead of "hit".
11779
7b3436d4
WN
11780 * manual/probes.texi (Internal Probes): Add documentation
11781 of setjmp, longjmp and longjmp_target probes.
11782
b4f12ca3
WN
11783 * include/stap-probe.h: Add comment about probe argument
11784 format.
11785
c13a72b7
WN
11786 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11787 definition. (tr_where, tr_freehook, tr_mallochook,
11788 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11789
195b8165
DM
117902014-02-11 David S. Miller <davem@davemloft.net>
11791
11792 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11793 processing int_tests.
11794
2ad7600b
JM
117952014-02-10 Joseph Myers <joseph@codesourcery.com>
11796
11797 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11798 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11799 * sysdeps/unix/sysv/linux/mips: Move directory from
11800 ports/sysdeps/unix/sysv/linux/mips.
11801 * README: Update listing for mips-*-linux-gnu and
11802 mips64-*-linux-gnu.
11803
73588a72
AS
118042014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11805
11806 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11807 * sysdeps/unix/sysv/linux/m68k: Move directory from
11808 ports/sysdeps/unix/sysv/linux/m68k.
11809 * README: Update listing for m68k-*-linux-gnu.
11810
4372980f
CM
118112014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11812
11813 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11814 * sysdeps/unix/sysv/linux/generic: Move directory from
11815 ports/sysdeps/unix/sysv/linux/generic.
11816 * sysdeps/unix/sysv/linux/tile: Move directory from
11817 ports/sysdeps/unix/sysv/linux/tile.
11818 * README: Update listing for tile*-*-linux-gnu.
11819
a1ffb40e
OB
118202014-02-10 Ondřej Bílka <neleai@seznam.cz>
11821
57f41c40
AS
11822 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11823 __builtin_expect.
a1ffb40e
OB
11824 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11825 * catgets/open_catalog.c (__open_catalog): Likewise.
11826 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11827 * debug/confstr_chk.c: Likewise.
11828 * debug/fread_chk.c (__fread_chk): Likewise.
11829 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11830 * debug/getgroups_chk.c: Likewise.
11831 * debug/mbsnrtowcs_chk.c: Likewise.
11832 * debug/mbsrtowcs_chk.c: Likewise.
11833 * debug/mbstowcs_chk.c: Likewise.
11834 * debug/memcpy_chk.c: Likewise.
11835 * debug/memmove_chk.c: Likewise.
11836 * debug/mempcpy_chk.c: Likewise.
11837 * debug/memset_chk.c: Likewise.
11838 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11839 * debug/strcat_chk.c (__strcat_chk): Likewise.
11840 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11841 * debug/strncat_chk.c (__strncat_chk): Likewise.
11842 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11843 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11844 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11845 * debug/wcpncpy_chk.c: Likewise.
11846 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11847 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11848 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11849 * debug/wcsncpy_chk.c: Likewise.
11850 * debug/wcsnrtombs_chk.c: Likewise.
11851 * debug/wcsrtombs_chk.c: Likewise.
11852 * debug/wcstombs_chk.c: Likewise.
11853 * debug/wmemcpy_chk.c: Likewise.
11854 * debug/wmemmove_chk.c: Likewise.
11855 * debug/wmempcpy_chk.c: Likewise.
11856 * debug/wmemset_chk.c: Likewise.
11857 * dirent/scandirat.c (SCANDIRAT): Likewise.
11858 * dlfcn/dladdr1.c (dladdr1): Likewise.
11859 * dlfcn/dladdr.c (dladdr): Likewise.
11860 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11861 * dlfcn/dlerror.c (__dlerror): Likewise.
11862 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11863 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11864 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11865 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11866 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11867 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11868 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11869 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11870 Likewise.
11871 * elf/dl-conflict.c: Likewise.
11872 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11873 * elf/dl-dst.h: Likewise.
11874 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11875 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11876 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11877 * elf/dl-init.c (call_init, _dl_init): Likewise.
11878 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
11879 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11880 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11881 Likewise.
a1ffb40e
OB
11882 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11883 Likewise.
11884 * elf/dl-minimal.c (__libc_memalign): Likewise.
11885 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11886 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11887 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11888 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
11889 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11890 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
11891 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11892 * elf/dl-writev.h (_dl_writev): Likewise.
11893 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
11894 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11895 (dl_main): Likewise.
a1ffb40e
OB
11896 * elf/setup-vdso.h (setup_vdso): Likewise.
11897 * grp/compat-initgroups.c (compat_call): Likewise.
11898 * grp/fgetgrent.c (fgetgrent): Likewise.
11899 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11900 * grp/putgrent.c (putgrent): Likewise.
11901 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11902 Likewise.
11903 * hurd/hurdinit.c: Likewise.
11904 * iconvdata/8bit-gap.c (struct): Likewise.
11905 * iconvdata/ansi_x3.110.c : Likewise.
11906 * iconvdata/big5.c : Likewise.
11907 * iconvdata/big5hkscs.c : Likewise.
11908 * iconvdata/cp1255.c: Likewise.
11909 * iconvdata/cp1258.c : Likewise.
11910 * iconvdata/cp932.c : Likewise.
11911 * iconvdata/euc-cn.c: Likewise.
11912 * iconvdata/euc-jisx0213.c : Likewise.
11913 * iconvdata/euc-jp.c: Likewise.
11914 * iconvdata/euc-jp-ms.c : Likewise.
11915 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11916 * iconvdata/gb18030.c : Likewise.
11917 * iconvdata/gbbig5.c (const): Likewise.
11918 * iconvdata/gbgbk.c: Likewise.
11919 * iconvdata/gbk.c : Likewise.
11920 * iconvdata/ibm1364.c : Likewise.
11921 * iconvdata/ibm930.c : Likewise.
11922 * iconvdata/ibm932.c: Likewise.
11923 * iconvdata/ibm933.c : Likewise.
11924 * iconvdata/ibm935.c : Likewise.
11925 * iconvdata/ibm937.c : Likewise.
11926 * iconvdata/ibm939.c : Likewise.
11927 * iconvdata/ibm943.c: Likewise.
11928 * iconvdata/iso_11548-1.c: Likewise.
11929 * iconvdata/iso-2022-cn.c : Likewise.
11930 * iconvdata/iso-2022-cn-ext.c : Likewise.
11931 * iconvdata/iso-2022-jp-3.c: Likewise.
11932 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11933 * iconvdata/iso-2022-kr.c : Likewise.
11934 * iconvdata/iso646.c (gconv_end): Likewise.
11935 * iconvdata/iso_6937-2.c : Likewise.
11936 * iconvdata/iso_6937.c : Likewise.
11937 * iconvdata/iso8859-1.c: Likewise.
11938 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11939 * iconvdata/shift_jisx0213.c : Likewise.
11940 * iconvdata/sjis.c : Likewise.
11941 * iconvdata/t.61.c : Likewise.
11942 * iconvdata/tcvn5712-1.c : Likewise.
11943 * iconvdata/tscii.c: Likewise.
11944 * iconvdata/uhc.c : Likewise.
11945 * iconvdata/unicode.c (gconv_end): Likewise.
11946 * iconvdata/utf-16.c (gconv_end): Likewise.
11947 * iconvdata/utf-32.c (gconv_end): Likewise.
11948 * iconvdata/utf-7.c (base64): Likewise.
11949 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11950 * iconv/gconv_close.c (__gconv_close): Likewise.
11951 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
11952 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11953 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11954 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11955 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11956 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
11957 * iconv/iconv.c (iconv): Likewise.
11958 * iconv/iconv_close.c: Likewise.
11959 * iconv/loop.c (SINGLE): Likewise.
11960 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11961 * include/atomic.h: Likewise.
11962 * inet/inet6_option.c (option_alloc): Likewise.
11963 * intl/bindtextdom.c (set_binding_values): Likewise.
11964 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11965 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11966 * intl/localealias.c (read_alias_file): Likewise.
11967 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
11968 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11969 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
11970 * libio/fmemopen.c (fmemopen): Likewise.
11971 * libio/iofgets.c (_IO_fgets): Likewise.
11972 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11973 * libio/iofgetws.c (fgetws): Likewise.
11974 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11975 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
11976 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11977 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
11978 * locale/findlocale.c (_nl_find_locale): Likewise.
11979 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11980 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11981 Likewise.
11982 * locale/setlocale.c (setlocale): Likewise.
11983 * login/programs/pt_chown.c (main): Likewise.
11984 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11985 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
11986 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11987 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
11988 * math/e_exp2l.c: Likewise.
11989 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11990 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11991 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11992 * math/s_catan.c (__catan): Likewise.
11993 * math/s_catanf.c (__catanf): Likewise.
11994 * math/s_catanh.c (__catanh): Likewise.
11995 * math/s_catanhf.c (__catanhf): Likewise.
11996 * math/s_catanhl.c (__catanhl): Likewise.
11997 * math/s_catanl.c (__catanl): Likewise.
11998 * math/s_ccosh.c (__ccosh): Likewise.
11999 * math/s_ccoshf.c (__ccoshf): Likewise.
12000 * math/s_ccoshl.c (__ccoshl): Likewise.
12001 * math/s_cexp.c (__cexp): Likewise.
12002 * math/s_cexpf.c (__cexpf): Likewise.
12003 * math/s_cexpl.c (__cexpl): Likewise.
12004 * math/s_clog10.c (__clog10): Likewise.
12005 * math/s_clog10f.c (__clog10f): Likewise.
12006 * math/s_clog10l.c (__clog10l): Likewise.
12007 * math/s_clog.c (__clog): Likewise.
12008 * math/s_clogf.c (__clogf): Likewise.
12009 * math/s_clogl.c (__clogl): Likewise.
12010 * math/s_csin.c (__csin): Likewise.
12011 * math/s_csinf.c (__csinf): Likewise.
12012 * math/s_csinh.c (__csinh): Likewise.
12013 * math/s_csinhf.c (__csinhf): Likewise.
12014 * math/s_csinhl.c (__csinhl): Likewise.
12015 * math/s_csinl.c (__csinl): Likewise.
12016 * math/s_csqrt.c (__csqrt): Likewise.
12017 * math/s_csqrtf.c (__csqrtf): Likewise.
12018 * math/s_csqrtl.c (__csqrtl): Likewise.
12019 * math/s_ctan.c (__ctan): Likewise.
12020 * math/s_ctanf.c (__ctanf): Likewise.
12021 * math/s_ctanh.c (__ctanh): Likewise.
12022 * math/s_ctanhf.c (__ctanhf): Likewise.
12023 * math/s_ctanhl.c (__ctanhl): Likewise.
12024 * math/s_ctanl.c (__ctanl): Likewise.
12025 * math/w_pow.c: Likewise.
12026 * math/w_powf.c: Likewise.
12027 * math/w_powl.c: Likewise.
12028 * math/w_scalb.c (sysv_scalb): Likewise.
12029 * math/w_scalbf.c (sysv_scalbf): Likewise.
12030 * math/w_scalbl.c (sysv_scalbl): Likewise.
12031 * misc/error.c (error_tail): Likewise.
12032 * misc/pselect.c (__pselect): Likewise.
12033 * nis/nis_callback.c (__nis_create_callback): Likewise.
12034 * nis/nis_call.c (__nisfind_server): Likewise.
12035 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12036 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12037 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12038 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12039 * nis/nis_lookup.c (nis_lookup): Likewise.
12040 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12041 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12042 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12043 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12044 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12045 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12046 * nis/nss_compat/compat-initgroups.c (add_group)
12047 (internal_getgrent_r): Likewise.
12048 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12049 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12050 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12051 (internal_getspnam_r): Likewise.
12052 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12053 (_nss_nis_getaliasbyname_r): Likewise.
12054 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12055 (_nss_nis_getntohost_r): Likewise.
12056 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12057 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12058 (_nss_nis_getgrgid_r): Likewise.
12059 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12060 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12061 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12062 (_nss_nis_gethostbyname4_r): Likewise.
12063 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12064 (initgroups_netid): Likewise.
a1ffb40e 12065 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12066 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12067 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12068 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12069 (_nss_nis_getprotobynumber_r): Likewise.
12070 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12071 (_nss_nis_getsecretkey): Likewise.
12072 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12073 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12074 (_nss_nis_getpwuid_r): Likewise.
12075 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12076 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12077 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12078 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12079 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12080 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12081 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12082 Likewise.
57f41c40
AS
12083 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12084 (_nss_nisplus_getntohost_r): Likewise.
12085 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12086 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12087 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12088 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12089 Likewise.
57f41c40
AS
12090 * nis/nss_nisplus/nisplus-initgroups.c
12091 (_nss_nisplus_initgroups_dyn): Likewise.
12092 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12093 (_nss_nisplus_getnetbyaddr_r): Likewise.
12094 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12095 (_nss_nisplus_getprotobynumber_r): Likewise.
12096 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12097 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12098 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12099 Likewise.
57f41c40
AS
12100 * nis/nss_nisplus/nisplus-service.c
12101 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12102 (_nss_nisplus_getservbyport_r): Likewise.
12103 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12104 (_nss_nisplus_getspnam_r): Likewise.
12105 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12106 Likewise.
a1ffb40e
OB
12107 * nscd/aicache.c (addhstaiX): Likewise.
12108 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
12109 * nscd/connections.c (register_traced_file, send_ro_fd)
12110 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12111 (main_loop_epoll): Likewise.
a1ffb40e
OB
12112 * nscd/grpcache.c (addgrbyX): Likewise.
12113 * nscd/hstcache.c (addhstbyX): Likewise.
12114 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12115 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
12116 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12117 (addinnetgrX): Likewise.
12118 * nscd/nscd-client.h (__nscd_acquire_maplock)
12119 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
12120 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12121 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12122 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12123 Likewise.
12124 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12125 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
12126 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12127 (__nscd_get_map_ref): Likewise.
a1ffb40e 12128 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
12129 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12130 Likewise.
a1ffb40e
OB
12131 * nscd/pwdcache.c (addpwbyX): Likewise.
12132 * nscd/selinux.c (preserve_capabilities): Likewise.
12133 * nscd/servicescache.c (addservbyX): Likewise.
12134 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12135 * posix/fnmatch.c (fnmatch): Likewise.
12136 * posix/getopt.c (_getopt_internal_r): Likewise.
12137 * posix/glob.c (glob, glob_in_dir): Likewise.
12138 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12139 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12140 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12141 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12142 * resolv/res_init.c: Likewise.
12143 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12144 * resolv/res_query.c (__libc_res_nquery): Likewise.
12145 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12146 Likewise.
12147 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12148 * stdio-common/perror.c (perror): Likewise.
12149 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12150 * stdio-common/tmpnam.c (tmpnam): Likewise.
12151 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12152 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12153 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12154 Likewise.
a1ffb40e
OB
12155 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12156 * stdlib/putenv.c (putenv): Likewise.
12157 * stdlib/setenv.c (__add_to_environ): Likewise.
12158 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12159 * stdlib/strtol_l.c (INTERNAL): Likewise.
12160 * string/memmem.c (memmem): Likewise.
12161 * string/strerror.c (strerror): Likewise.
12162 * string/strnlen.c (__strnlen): Likewise.
12163 * string/test-memmem.c (simple_memmem): Likewise.
12164 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12165 * sunrpc/pm_getport.c (__get_socket): Likewise.
12166 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12167 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12168 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12169 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12170 Likewise.
12171 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12172 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12173 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12174 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12175 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12176 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12177 Likewise.
12178 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12179 Likewise.
a1ffb40e
OB
12180 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12181 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12182 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12183 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12184 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12186 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12187 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12188 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12189 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12190 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12191 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12192 Likewise.
12193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12194 Likewise.
12195 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12196 Likewise.
12197 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12198 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12199 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12201 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12202 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12203 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12204 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12206 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12207 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12210 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
12212 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12213 Likewise.
a1ffb40e
OB
12214 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12215 Likewise.
12216 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12217 Likewise.
12218 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12219 Likewise.
12220 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12221 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12222 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12223 Likewise.
12224 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12225 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12226 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12227 * sysdeps/posix/sleep.c: Likewise.
12228 * sysdeps/posix/tempname.c: Likewise.
12229 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12230 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12231 Likewise.
57f41c40
AS
12232 * sysdeps/powerpc/powerpc32/dl-machine.h
12233 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
12234 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12236 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12237 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12238 Likewise.
12239 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12240 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12241 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12242 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12243 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12244 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12245 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12246 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12247 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12248 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12250 (elf_machine_lazy_rel): Likewise.
a1ffb40e 12251 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12253 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12254 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12255 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12256 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12257 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12258 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12259 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12260 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12262 Likewise.
12263 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12264 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12265 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12266 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12267 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12268 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12269 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12270 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12271 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12272 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12273 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12274 Likewise.
12275 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12276 (__posix_fallocate64_l64): Likewise.
12277 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12278 (posix_fallocate): Likewise.
57f41c40
AS
12279 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12280 Likewise.
a1ffb40e 12281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
12282 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12283 (getifaddrs_internal): Likewise.
a1ffb40e
OB
12284 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12285 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12286 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12287 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12288 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12289 (__posix_fallocate64_l64): Likewise.
12290 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12291 Likewise.
12292 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
12293 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12294 (__get_clockfreq): Likewise.
a1ffb40e
OB
12295 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12296 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12297 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12300 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12301 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12302 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12303 Likewise.
12304 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12305 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12306 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12307 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12308 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12309 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12310 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12311 Likewise.
12312 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12313 (posix_fallocate): Likewise.
12314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12315 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12316 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12317 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12318 (elf_machine_rela, elf_machine_rela_relative)
12319 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12320 * time/asctime.c (asctime_internal): Likewise.
12321 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12322 * time/tzset.c (__tzset_parse_tz): Likewise.
12323 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12324 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12325 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12326 * wcsmbs/wcsmbsload.h: Likewise.
12327
f3d338c9
OB
12328 [BZ #15894]
12329 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12330
57f41c40
AS
12331 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12332 (arena_get2): Remove THREAD_STATS conditionals.
12333 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12334 (__malloc_stats, int): Likewise.
bdfe308a 12335
d674667c
MF
123362014-02-08 Mike Frysinger <vapier@gentoo.org>
12337
12338 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12339 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12340
6349768c
MF
12341 * manual/setjmp.texi: Fix typos/grammar errors.
12342
0b7c7473
MF
12343 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12344 Only return early when n is <= 0. Delete unused return statement.
12345
ac8cc9e3
MF
12346 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12347 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12348 * debug/tst-longjmp_chk3.c: New file.
12349
c5bb8e23
MF
12350 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12351 (test_main): Replace code with set_fortify_handler call.
12352 * debug/test-strcpy_chk.c: Likewise.
12353 * debug/tst-chk1.c: Likewise.
12354 * debug/tst-longjmp_chk.c: Likewise.
12355 * test-skeleton.c: Include fcntl.h & paths.h
12356 (set_fortify_handler): Define.
12357
10444e42
MF
12358 * debug/tst-longjmp_chk.c: Add header comment and include
12359 ../test-skeleton.c.
12360 (do_test): Mark static.
12361 (TEST_FUNCTION): Define.
12362
1e805e8d
MF
12363 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12364 (IP_PMTUDISC_INTERFACE): Likewise.
12365 (IP_MULTICAST_IF): Likewise.
12366 (IP_MULTICAST_TTL): Likewise.
12367 (IP_MULTICAST_LOOP): Likewise.
12368 (IP_ADD_MEMBERSHIP): Likewise.
12369 (IP_DROP_MEMBERSHIP): Likewise.
12370 (IP_UNBLOCK_SOURCE): Likewise.
12371 (IP_BLOCK_SOURCE): Likewise.
12372 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12373 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12374 (IP_MSFILTER): Likewise.
12375 (MCAST_JOIN_GROUP): Likewise.
12376 (MCAST_BLOCK_SOURCE): Likewise.
12377 (MCAST_UNBLOCK_SOURCE): Likewise.
12378 (MCAST_LEAVE_GROUP): Likewise.
12379 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12380 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12381 (MCAST_MSFILTER): Likewise.
12382 (IP_MULTICAST_ALL): Likewise.
12383 (IP_UNICAST_IF): Likewise.
12384
73f79bb7
MF
12385 * timezone/Makefile: Delete $(have-ksh) check.
12386 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12387 * timezone/tzselect.ksh: Add +x mode bits.
12388
8da79b60
MF
12389 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12390 (ANON_INODE_FS_MAGIC): Likewise.
12391 (BDEVFS_MAGIC): Likewise.
12392 (BINFMTFS_MAGIC): Likewise.
12393 (BTRFS_TEST_MAGIC): Likewise.
12394 (CRAMFS_MAGIC_WEND): Likewise.
12395 (DEBUGFS_MAGIC): Likewise.
12396 (ECRYPTFS_SUPER_MAGIC): Likewise.
12397 (EXT3_SUPER_MAGIC): Likewise.
12398 (EXT4_SUPER_MAGIC): Likewise.
12399 (FUTEXFS_SUPER_MAGIC): Likewise.
12400 (HOSTFS_SUPER_MAGIC): Likewise.
12401 (HUGETLBFS_MAGIC): Likewise.
12402 (MINIX3_SUPER_MAGIC): Likewise.
12403 (MTD_INODE_FS_MAGIC): Likewise.
12404 (NILFS_SUPER_MAGIC): Likewise.
12405 (OPENPROM_SUPER_MAGIC): Likewise.
12406 (PIPEFS_MAGIC): Likewise.
12407 (PSTOREFS_MAGIC): Likewise.
12408 (QNX6_SUPER_MAGIC): Likewise.
12409 (RAMFS_MAGIC): Likewise.
12410 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12411 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12412 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12413 (SECURITYFS_MAGIC): Likewise.
12414 (SELINUX_MAGIC): Likewise.
12415 (SMACK_MAGIC): Likewise.
12416 (SOCKFS_MAGIC): Likewise.
12417 (SQUASHFS_MAGIC): Likewise.
12418 (STACK_END_MAGIC): Likewise.
12419 (TMPFS_MAGIC): Likewise.
12420 (USBDEVICE_SUPER_MAGIC): Likewise.
12421 (V9FS_MAGIC): Likewise.
12422 (XENFS_SUPER_MAGIC): Likewise.
12423 (CRAMFS_MAGIC): Fix typo in comment.
12424 (EXT2_SUPER_MAGIC): Update comment.
12425 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12426
464263cc
JM
124272014-02-08 Joseph Myers <joseph@codesourcery.com>
12428
c6bfe5c4
JM
12429 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12430 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12431 * sysdeps/unix/sysv/linux/arm: Move directory from
12432 ports/sysdeps/unix/sysv/linux/arm.
12433 * README: Update listing for arm-*-linux-gnueabi.
12434
464263cc
JM
12435 * README: Remove mention of am33.
12436
32749f6c
RM
124372014-02-07 Roland McGrath <roland@hack.frob.com>
12438
12439 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12440 than the comma operator, to avoid "rhs of comma has no effect"
12441 compiler warnings.
12442 (__sigfillset, __sigandset, __sigorset): Likewise.
12443 * include/signal.h (__sigemptyset): Likewise.
12444 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12445
d5b396c1
AM
124462014-02-07 Allan McRae <allan@archlinux.org>
12447
12448 * version.h (RELEASE): Set to "development".
12449 (VERSION): Set to "2.19.90"
12450 * NEWS: Add 2.20 section.
12451
3bfff2ed
CD
124522014-02-06 Carlos O'Donell <carlos@redhat.com>
12453
12454 [BZ #16529]
12455 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12456
ee7cc385
SP
124572014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12458
12459 * manual/contrib.texi: Update entry for Carlos O'Donell,
12460 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12461
f877c4f2
CD
124622014-02-05 Carlos O'Donell <carlos@rehdat.com>
12463
27e839f6
CD
12464 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12465
f877c4f2
CD
12466 * sysdeps/unix/sysv/linux/kernel-features.h
12467 [__LINUX_KERNEL_VERSION >= 0x020621]
12468 (__ASSUME_PROC_PID_TASK_COMM): Define.
12469
68159946
SP
124702014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12471
ba17cdbd
SP
12472 [BZ #16398]
12473 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12474 conversion when destination buffer does not have enough space.
12475 * libio/tst-ftell-partial-wide.c: New test case.
12476 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12477
68159946
SP
12478 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12479 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12480 Leonard and Allan McRae.
12481
2b528732
DM
124822014-02-04 David S. Miller <davem@davemloft.net>
12483
12484 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12485 32-bit.
12486
0ff82463
AZ
124872014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12488
57f41c40
AS
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12490 New file
c01603f7
AZ
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12492 New file
57f41c40
AS
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12494 New file.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12496 New file.
c01603f7
AZ
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12498 New file.
57f41c40
AS
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12500 New file.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12502 New file.
c01603f7
AZ
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12504 New file.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12506 New file.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12508 New file.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12510 New file.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12512 New file.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12514 New file.
12515
125162014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12517
0ff82463
AZ
12518 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12519 * shlib-versions: Likewise.
12520
1695c773
AZ
125212014-02-04 Roland McGrath <roland@hack.frob.com>
12522 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12523
12524 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12525 (abilist-pattern): New variable, set to %-le.abilist.
12526
12527 * Makerules (abilist-pattern): New variable.
12528 (vpath): Use $(abilist-pattern) in place of %.abilist.
12529 (check-abi-% pattern rule): Likewise.
12530 (check-abi, update-abi): Likewise.
12531
6c0ce4b4
EW
125322014-02-04 Eric Wong <normalperson@yhbt.net>
12533
12534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12535
481e3524
CD
125362014-02-03 Carlos O'Donell <carlos@redhat.com>
12537
12538 * manual/startup.texi: Add next, previous, and top entries for
12539 the `Program Arguments' and `Environment Variables' nodes.
12540
375592d3
AO
125412014-02-03 Alexandre Oliva <aoliva@redhat.com>
12542
12543 * manual/macros.texi: Add comments before MTASC-safety macros.
12544
f54838ba
AO
12545 * manual/users.texi: Document MTASC-safety properties.
12546
57f41c40
AS
12547 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12548 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
12549 @deftypefun, and add @safety note.
12550 * manual/signal.texi: Move comments that analyze the above
12551 functions to their home place.
12552
fd3daba4
AM
125532014-02-03 Allan McRae <allan@archlinux.org>
12554
12555 * po/sl.po: Update Slovenian translation from translation project.
12556
597636d7
AO
125572014-02-02 Alexandre Oliva <aoliva@redhat.com>
12558
12559 * manual/time.texi (timegm): Add missing blank after @c.
12560 Reported by Joseph Myers <joseph@codesourcery.com>.
12561
ee196e3c
AO
125622014-02-01 Alexandre Oliva <aoliva@redhat.com>
12563
12564 * manual/check-safety.sh: New.
12565 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12566
f8d529d5
AO
12567 * manual/terminal.texi: Document MTASC-safety properties.
12568
de55fdf4
AO
12569 * manual/filesys.texi: Document MTASC-safety properties.
12570
c3299c08
AO
12571 * manual/errno.texi: Document MTASC-safety properties.
12572
06e90b14
AO
12573 * manual/intro.texi: Document safety identifiers and
12574 conditionals.
12575
1acd4371
AO
12576 * manual/string.texi (wcstok): Fix prototype.
12577 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12578
23e5b8cb
AO
12579 * manual/time.texi: Document MTASC-safety properties.
12580
11087373
AO
12581 * manual/string.texi: Document MTASC-safety properties.
12582
5da2c93d
AO
12583 * manual/threads.texi: Document MTASC-safety properties.
12584
171e9210
AO
12585 * manual/stdio.texi: Document MTASC-safety properties.
12586
d9e02532
AO
12587 * manual/syslog.texi: Document MTASC-safety properties.
12588
6af8bab7
AO
12589 * manual/sysinfo.texi: Document MTASC-safety properties.
12590
663b02d7
AO
12591 * manual/startup.texi: Document MTASC-safety properties.
12592
973f180b
AO
12593 * manual/socket.texi: Document MTASC-safety properties.
12594
8f3c25c8
AO
12595 * manual/signal.texi: Document MTASC-safety properties.
12596
542210fb
AO
125972014-01-31 Alexandre Oliva <aoliva@redhat.com>
12598
12599 * manual/setjmp.texi: Document MTASC-safety properties.
12600
433c45a2
AO
12601 * manual/search.texi: Document MTASC-safety properties.
12602
c8ce789c
AO
12603 * manual/resource.texi: Document MTASC-safety properties.
12604
19f5d29c
AO
12605 * manual/process.texi: Document MTASC-safety properties.
12606
e2dfb7f4
AO
12607 * manual/platform.texi: Document MTASC-safety properties.
12608
8c1413f5
AO
12609 * manual/pipe.texi: Document MTASC-safety properties.
12610
03483ada
AO
12611 * manual/pattern.texi: Document MTASC-safety properties.
12612
29e7e2df
AO
12613 * manual/message.texi: Document MTASC-safety properties.
12614
9f529d7c
AO
12615 [BZ #12751]
12616 * manual/memory.texi: Document MTASC-safety properties.
12617
27aaa791
AO
12618 * manual/math.texi: Document MTASC-safety properties.
12619
f2d58726
AO
12620 * manual/locale.texi: Document MTASC-safety properties.
12621
2cc3615c
AO
12622 * manual/llio.texi: Document MTASC-safety properties.
12623
d9f0ec97
AO
12624 * manual/libdl.texi: New.
12625
e7c4409a
AO
12626 * manual/lang.texi: Document MTASC-safety properties.
12627
27bdc63c
AO
12628 * manual/job.texi: Document MTASC-safety properties.
12629
a7b90ea9
AO
12630 * manual/getopt.texi: Document MTASC-safety properties.
12631
c49130e3
AO
12632 * manual/ctype.texi: Document MTASC-safety properties.
12633
0d23a5c1
MR
126342014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12635
12636 [BZ #16046]
12637 * csu/libc-tls.c (static_map): Remove variable.
12638 (__libc_setup_tls): Use main executable's link map for TLS data.
12639 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12640 casing for LM_ID_BASE and GL(dl_nns).
12641 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12642 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12643 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12644 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12645 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12646 member.
12647 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12648 l_phnum members.
12649
0037bb60
AO
126502014-01-30 Alexandre Oliva <aoliva@redhat.com>
12651
12652 * manual/debug.texi: Document MTASC-safety properties.
12653
409e00bd
L
126542014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 [BZ #16510]
12657 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12658 of __x86_64__ when disabling x87 inline functions.
12659
86e60666
AO
126602014-01-29 Alexandre Oliva <aoliva@redhat.com>
12661
12662 * manual/charset.texi: Document MTASC-safety properties.
12663
76167637
AO
12664 * manual/crypt.texi: Document MTASC-safety properties.
12665
e567f2a0
AO
12666 * manual/conf.texi: Document MTASC-safety properties.
12667
b719dafd
AO
12668 * manual/arith.texi: Document MTASC-safety properties.
12669
4a16c662
AO
12670 * manual/argp.texi: Document MTASC-safety properties.
12671
0a57b83e
AO
12672 * manual/macros.texi: Introduce macros to document multi
12673 thread, asynchronous signal and asynchronous cancellation
12674 safety properties.
12675 * manual/intro.texi: Introduce the properties themselves.
12676
feab2397
KK
126772014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12678
12679 * sysdeps/sh/sh4/Makefile: New file.
12680
1c0d11bc
AS
126812014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12682
12683 * math/gen-libm-test.pl ($srcdir): New variable.
12684 ($auto_input): Use it.
12685
af37a8a3
SP
126862014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12687
d7b00f98
SP
12688 [BZ #16506]
12689 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12690 access beyond array bounds when parsing netgroups file.
12691
af37a8a3
SP
12692 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12693 the old buffer before realloc.
12694
0c00f062
AM
126952014-01-27 Allan McRae <allan@archlinux.org>
12696
12697 * po/fr.po: Update French translation from translation project.
12698
7d69a1b0
KK
126992014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12700
12701 * sysdeps/sh/libm-test-ulps: Regenerate.
12702
6e697ff7
DM
127032014-01-24 David S. Miller <davem@davemloft.net>
12704
12705 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12706
9cadb35c
KK
127072014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12708
12709 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12710 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12711
5d41dadf
SP
127122013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12713
12714 [BZ #16474]
12715 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12716 string pointers after reallocation.
12717
0bad441c
KK
127182014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12719
12720 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12721 __SH4A__ instead of __SH_FPU_ANY__.
12722
7007c661
KK
127232014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12724
12725 * sysdeps/sh/fpu_control.h: New file.
12726 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12727 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12728 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12729 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12730 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12731 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12732 * sysdeps/sh/sys/ucontext.h: Remove.
12733 * sysdeps/sh/sys: Remove directory.
12734
0f0c35e4
AK
127352014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12736
12737 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12738 s390/sys/ucontext.h.
12739 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12740 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12741
4959e284
L
127422014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12743
12744 [BZ #15605]
12745 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12746
d98720e0
AZ
127472014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12748
12749 [BZ#16431]
12750 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12751 Adjust the vDSO correctly for internal calls.
12752 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12753
91cbd0bc
AM
127542014-01-20 Allan McRae <allan@archlinux.org>
12755
12756 * po/ca.po: Update Catalan translation from translation project.
12757
7a02cfad
MF
127582014-01-16 Mike Frysinger <vapier@gentoo.org>
12759
12760 * sysdeps/s390/sotruss-lib.c: New file.
12761
736c304a
AZ
127622014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12763
12764 [BZ#16430]
6e077ee5 12765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
12766 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12767 local calls issues by not having a PLT stub required for IFUNC calls.
12768 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12769
94d0cea0
JM
127702014-01-16 Joseph Myers <joseph@codesourcery.com>
12771
12772 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12773 * math/test-fpucw-static.c: Likewise.
12774
980cb518
SP
127752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12776
12777 [BZ #16453]
12778 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12779
2393fc01
AZ
127802014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12781
12782 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12783 implementation for powerpc.
12784
d359bcc2
OB
127852014-01-15 Ondřej Bílka <neleai@seznam.cz>
12786
12787 [BZ #14782]
12788 * sysdeps/posix/system.c (__libc_system): Do not enable
12789 asynchronous cancellation.
12790
7beb48cb
AK
127912014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12792
12793 [BZ #16427]
12794 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12795 handling only for numbers special also in the IEEE case.
12796
c20d5bf5
AK
127972014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12798
12799 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12800
e83bd4ee
AM
128012014-01-11 Allan McRae <allan@archlinux.org>
12802
76d0ea69
AM
12803 * po/bg.po: Update Bulgarian translation from translation project.
12804
e83bd4ee
AM
12805 * po/de.po: Update German translation from translation project.
12806
bc2ba20a
RM
128072014-01-10 Roland McGrath <roland@hack.frob.com>
12808
12809 * sysdeps/generic/gcc-compat.h: New file.
12810
649ecea2
SP
128112014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12812
12813 * benchtests/asin-inputs: Correct slow inputs.
12814 * benchtests/acos-inputs: Likewise.
12815
1b19c006
AM
128162014-01-10 Allan McRae <allan@archlinux.org>
12817
a46dab08
AM
12818 * po:sv.po: Update Swedish translation from translation project.
12819
421df74a
AM
12820 * po/vi.po: Update Vietnamese translation from translation project.
12821
d61c51a7
AM
12822 * po/eo.po: Update Esperanto translation from translation project.
12823
0339a319
AM
12824 * po/cs.po: Update Czech translation from translation project.
12825
94ad3e99
AM
12826 * po/nl.po: Update Dutch translation from translation project.
12827
e349ca71
AM
12828 * po/pl.po: Update Polish translation from translation project.
12829
ddf930c1
AM
12830 * po/ru.po: Update Russian translation from translation project.
12831
1b19c006
AM
12832 * po/uk.po: Update Ukrainian translation from translation project.
12833
9f236c49
BM
128342014-01-08 Brooks Moses <bmoses@google.com>
12835
12836 * elf/dl-load.c: Fix comment typo.
12837
cd6701cf
CD
128382014-01-08 Carlos O'Donell <carlos@redhat.com>
12839
12840 * po/header.pot: Rename to...
12841 * po/pot.header: ... this.
12842 * po/Makefile: Use pot.header.
12843
66671c84
YK
128442014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12845 Maxim Kuvyrkov <maxim@kugelworks.com>
12846
12847 [BZ #16394]
cd6701cf
CD
12848 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12849 SRC and DEST against LEN.
66671c84 12850
38f34581
AZ
128512014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12852
12853 [BZ #16414]
12854 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12855 implementation.
12856 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12857
128582014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
12859
12860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12861
4c327f2a
JM
128622014-01-08 Joseph Myers <joseph@codesourcery.com>
12863
12864 [BZ #16408]
12865 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12866 for large positive arguments.
12867
b821f414
JM
128682014-01-07 Joseph Myers <joseph@codesourcery.com>
12869
1f0f2067
JM
12870 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12871
a5a326f6
JM
12872 * math/auto-libm-test-in: Mark various tests with
12873 xfail-rounding:ldbl-128ibm.
12874 * math/auto-libm-test-out: Regenerated.
12875
b821f414
JM
12876 [BZ #16407]
12877 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12878 Increase overflow threshold.
12879
94c8a4bc
OB
128802014-01-07 Ondřej Bílka <neleai@seznam.cz>
12881
12882 [BZ #14286]
12883 * stdio-common/vfprintf.c: Check for integer overflow.
12884
87ded0c3
AK
128852014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12886
12887 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12888 the first argument and return value of __tls_get_addr_internal.
12889
c5eebdd0
AK
128902014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12891
12892 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12893 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12894
05d138ef
AK
128952014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12896
12897 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12898 * sysdeps/s390/rtld-global-offsets.sym: New file.
12899 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12900 GLIBC_2.19 symbol.
12901 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12902 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12903 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12904 ... this.
12905 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12906 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12907 ... this.
12908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12909 Regenerate.
12910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12911 Regenerate.
12912 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12913 halfs of GPRs for high_gprs contexts.
12914 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12915 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12916 field.
12917 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12918 uc_flags field.
12919 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12920 64 bit versions:
12921 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12922 for high GPRs (uc_high_gprs) and for future extensions
12923 (__reserved).
12924 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12925 for future extensions (__reserved).
12926 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12927 64 bit versions:
12928 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12929 SC_HIGHGPRS offset definition.
12930 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12931 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12932
93a45ff1
AK
12933 * Versions.def: Add GLIBC_2.19 for libpthread.
12934 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12935 siglongjmp for libpthread with GLIBC_2.19 symver.
12936 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12937 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12938 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12939 * sysdeps/s390/__longjmp.c: New file.
12940 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12941 * sysdeps/s390/longjmp.c: New file.
12942 * sysdeps/s390/setjmp.S: New file.
12943 * sysdeps/s390/sigjmp.S: New file.
12944 * sysdeps/s390/v1-longjmp.c: New file.
12945 * sysdeps/s390/v1-setjmp.h: New file.
12946 * sysdeps/s390/v1-sigjmp.c: New file.
12947 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12948 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12949 GLIBC_2.19 version.
12950 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12951 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12952 versioned symbols for ____longjmp_chk.
12953 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12954 Likewise.
12955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12956 Regenerate.
12957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12958 Regenerate.
12959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12960 Regenerate.
12961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12962 Regenerate.
12963 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12964 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12965 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12966 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12967 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12968 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12969 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12970 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12971 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12972 * sysdeps/s390/rtld-__longjmp.c: New file.
12973 * sysdeps/s390/rtld-setjmp.S: New file.
12974
eb3fc44b
JM
129752014-01-06 Joseph Myers <joseph@codesourcery.com>
12976
12977 [BZ #16400]
12978 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12979 Return -__logl (x) for small positive arguments without evaluating
12980 a polynomial.
12981
9341dde4
MF
129822014-01-06 Mike Frysinger <vapier@gentoo.org>
12983
12984 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12985 Rename to ...
12986 (__ptrace_peeksiginfo_args): ... this.
12987 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12989 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12990
4cff0293
AM
129912014-01-06 Allan McRae <allan@archlinux.org>
12992
12993 * inet/netinet/in.h: Fix typo in comment.
12994
75595dcf
AJ
129952014-01-05 Andreas Jaeger <aj@suse.de>
12996
12997 * sysdeps/i386/fpu/libm-test-ulps: Update.
12998
79c1e109
AM
129992014-01-05 Allan McRae <allan@archlinux.org>
13000
dd804818
AM
13001 * po/libc.pot: Regenerated.
13002
79c1e109
AM
13003 * malloc/memusagestat.c: Fix gettext call formatting.
13004
0c813d1f
SK
130052014-01-04 Sami Kerola <kerolasa@iki.fi>
13006
13007 * nscd/nscd.c: Improve usage() output.
13008
20f4a8d9
MF
130092014-01-04 Mike Frysinger <vapier@gentoo.org>
13010
13011 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13012 * sysdeps/unix/sysv/linux/configure: Regenerated.
13013 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13014 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13015
22562bb2
JM
130162014-01-03 Joseph Myers <joseph@codesourcery.com>
13017
13018 [BZ #16390]
13019 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13020 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13021
d7ad2d9b
AZ
130222014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13023
13024 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13025 extra tokens at end of #undef directive.
13026 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13027 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13028 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13029
7dd009d8
JM
130302014-01-03 Joseph Myers <joseph@codesourcery.com>
13031
24db925a
JM
13032 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13033
7dd009d8
JM
13034 * math/auto-libm-test-in: Mark various tests with
13035 xfail-rounding:ldbl-128ibm.
13036 * math/auto-libm-test-out: Regenerated.
13037
396e3ecf
JM
130382014-01-02 Joseph Myers <joseph@codesourcery.com>
13039
819e5d50
JM
13040 [BZ #16386]
13041 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13042 numbers with subnormal high part when calculating exponent.
13043
90b6a1e5
JM
13044 [BZ #16385]
13045 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13046 fabs.
13047
396e3ecf
JM
13048 [BZ #16384]
13049 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13050 M_LN2l.
13051 (__ieee754_acoshl): Use __log1pl not __log1p.
13052
6c8dbf00
OB
130532013-01-02 Ondřej Bílka <neleai@seznam.cz>
13054
57f41c40
AS
13055 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13056 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13057 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13058 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13059 (reused_arena, arena_get2): Convert to GNU style.
13060 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13061 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13062 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13063 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13064 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13065 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13066 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13067 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13068 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13069 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13070 * malloc/malloc.h: Likewise.
57f41c40
AS
13071 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13072 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13073 * malloc/mcheck.h: Likewise.
57f41c40
AS
13074 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13075 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13076 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13077 * malloc/morecore.c (__default_morecore): Likewise.
13078 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13079 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13080 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13081 (print_and_abort): Likewise.
6c8dbf00
OB
13082 * malloc/obstack.h: Likewise.
13083 * malloc/set-freeres.c (__libc_freeres): Likewise.
13084 * malloc/tst-mallocstate.c (main): Likewise.
13085 * malloc/tst-mtrace.c (main): Likewise.
13086 * malloc/tst-realloc.c (do_test): Likewise.
13087
d4124212
SP
130882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13089
9a3c6a6f
SP
13090 [BZ #16366]
13091 * nscd/netgroupcache.c (do_notfound): New function.
13092 (addgetnetgrentX): Use it.
13093
d4124212
SP
13094 [BZ # 16365]
13095 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13096 NSS_STATUS_NOTFOUND.
13097
97b9a009
JM
130982014-01-01 Joseph Myers <joseph@codesourcery.com>
13099
13100 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13102
d4697bc9
AM
131032014-01-01 Allan McRae <allan@archlinux.org>
13104
ddb3687f
AM
13105 * scripts/update-copyrights: Update configure input file suffix.
13106
88726d48
AM
13107 * NEWS: Update copyright year.
13108 * catgets/gencat.c: Likewise.
13109 * csu/version.c: Likewise.
13110 * debug/catchsegv.sh: Likewise.
13111 * debug/pcprofiledump.c: Likewise.
13112 * debug/xtrace.sh: Likewise.
13113 * elf/ldconfig.c: Likewise.
13114 * elf/ldd.bash.in: Likewise.
13115 * elf/pldd.c: Likewise.
13116 * elf/sotruss.ksh: Likewise.
13117 * elf/sprof.c: Likewise.
13118 * iconv/iconv_prog.c: Likewise.
13119 * iconv/iconvconfig.c: Likewise.
13120 * locale/programs/locale.c: Likewise.
13121 * locale/programs/localedef.c: Likewise.
13122 * login/programs/pt_chown.c: Likewise.
13123 * malloc/memusage.sh: Likewise.
13124 * malloc/memusagestat.c: Likewise.
13125 * malloc/mtrace.pl: Likewise.
13126 * manual/libc.texinfo: Likewise.
13127 * nscd/nscd.c: Likewise.
13128 * nss/getent.c: Likewise.
13129 * nss/makedb.c: Likewise.
13130 * posix/getconf.c: Likewise.
13131 * scripts/test-installation.pl: Likewise.
13132
d4697bc9
AM
13133 * All files with FSF copyright notices: Update copyright dates
13134 using scripts/update-copyrights.
13135 * intl/plural.c: Regenerated.
13136 * locale/programs/charmap-kw.h: Likewise.
13137 * locale/programs/locfile-kw.h: Likewise.
13138
c8590f9d
MF
131392013-12-31 Mike Frysinger <vapier@gentoo.org>
13140
13141 * sysdeps/unix/sysv/linux/configure: Regenerated.
13142 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13143 the linux/fanotify.h header.
13144 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13145 HAVE_LINUX_FANOTIFY_H is defined.
13146
b19221b9
SP
131472013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13148
dd1d85e5
SP
13149 * benchtests/cos-inputs: New inputs.
13150 * benchtests/sin-inputs: Likewise.
13151
1acbb90f
SP
13152 * benchtests/atan-inputs: New inputs. Fix name of multiple
13153 precision fallback inputs.
13154
4c012ed3
SP
13155 * benchtests/atanh-inputs: New inputs.
13156 * benchtests/tanh-inputs: Likewise.
13157
eff98324
SP
13158 * benchtests/acosh-inputs: New inputs.
13159 * benchtests/asinh-inputs: Likewise.
13160
ce641152
SP
13161 * benchtests/cosh-inputs: New inputs.
13162 * benchtests/sinh-inputs: Likewise.
13163
b19221b9
SP
13164 * benchtests/acos-inputs: Add more inputs.
13165 * benchtests/asin-inputs: Likewise.
13166
030a4976 131672013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13168
030a4976 13169 [BZ #16375]
9dcc8f11
VS
13170 * manual/arith.texi: Fix spelling.
13171 * manual/charset.texi: Likewise.
13172 * manual/errno.texi: Likewise.
13173 * manual/filesys.texi: Likewise.
13174 * manual/lang.texi: Likewise.
13175 * manual/llio.texi: Likewise.
13176 * manual/locale.texi: Likewise.
13177 * manual/message.texi: Likewise.
13178 * manual/resource.texi: Likewise.
13179 * manual/search.texi: Likewise.
13180 * manual/setjmp.texi: Likewise.
13181 * manual/stdio.texi: Likewise.
13182 * manual/string.texi: Likewise.
13183 * manual/sysinfo.texi: Likewise.
13184 * manual/time.texi: Likewise.
13185
11520a57
CD
131862013-12-27 Carlos O'Donell <carlos@redhat.com>
13187
13188 * po/sl.po: New file.
13189
471103ae
MF
131902013-12-27 Mike Frysinger <vapier@gentoo.org>
13191
13192 * .gitignore: Add core/.gdbinit/.gdb_history.
13193
6c9642ed
AM
131942013-12-27 Allan McRae <allan@archlinux.org>
13195
13196 [BZ #16369]
13197 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13198 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13199
3f637079
BM
132002013-12-24 Brooks Moses <bmoses@google.com>
13201
13202 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13203 all compilers that claim C++98 compliance, not just GCC.
13204 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13205 Likewise.
13206
abc26e99
MK
132072013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13208
13209 * NEWS: Restore accidentally deleted bug-fix entries.
13210
362b47fe
MK
132112013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13212 Ondřej Bílka <neleai@seznam.cz>
13213
13214 [BZ #15073]
13215 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 13216 have_lock.
362b47fe 13217
b9bcbbcb
OB
132182013-12-23 Ondřej Bílka <neleai@seznam.cz>
13219
13220 [BZ #12986]
13221 * manual/stdio.texi (String Input Conversions): Clarify that character
13222 classes are not supported.
13223
fb55fcd2
AZ
132242013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13225
13226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13227
ef7344f0
JM
132282013-12-22 Joseph Myers <joseph@codesourcery.com>
13229
4f40e4b3
JM
13230 [BZ #16337]
13231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13232 Calculate results for small negative arguments directly rather
13233 than using reflection formula with special underflow handling.
13234
ef7344f0
JM
13235 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13236 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13237 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13238 (fchflags): Likewise.
13239 (revoke): Likewise.
13240 (setlogin): Likewise.
13241 (sigaltstack): Likewise.
13242 (wait4): Likewise.
13243 (sigblock): Remove.
13244 (sigsetmask): Likewise.
13245 (wait3): Likewise.
13246 (waitpid): Likewise.
13247 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13248 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13249 file.
13250 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13251 * sysdeps/unix/bsd/Makefile: ... here.
13252 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13253 * sysdeps/unix/bsd/Versions: ... here.
13254 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13255 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13256 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13257 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13258 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13259 * sysdeps/unix/bsd/sigblock.c: ... here.
13260 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13261 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13262 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13263 * sysdeps/unix/bsd/sigvec.c: ... here.
13264 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13265 * sysdeps/unix/bsd/tcdrain.c: ... here.
13266 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13267 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13268 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13269 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13270 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13271 * sysdeps/unix/bsd/wait.c: ... here.
13272 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13273 * sysdeps/unix/bsd/wait3.c: ... here.
13274 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13275 * sysdeps/unix/bsd/waitpid.c: ... here.
13276
5b0626b9
JM
132772013-12-21 Joseph Myers <joseph@codesourcery.com>
13278
13279 [BZ #16356]
13280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13281 round-to-nearest for [!USE_AS_EXPM1L].
13282 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13283 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13284 more tests of exp and exp10. Expect some exp10 tests to miss
13285 exceptions or fail in directed rounding modes.
13286 * math/auto-libm-test-out: Regenerated.
13287 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13288 (exp10_test_tonearest): New function.
13289 (exp10_towardzero_test_data): New array.
13290 (exp10_test_towardzero): New function.
13291 (exp10_downward_test_data): New array.
13292 (exp10_test_downward): New function.
13293 (exp10_upward_test_data): New array.
13294 (exp10_test_upward): New function.
13295 (main): Call the new functions.
13296 * sysdeps/i386/fpu/libm-test-ulps: Update.
13297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13298
7fda5682
JM
132992013-12-20 Joseph Myers <joseph@codesourcery.com>
13300
31e3a405
JM
13301 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13302 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13303 * math/auto-libm-test-out: Regenerated.
13304 * math/libm-test.inc (acosh_test_data): Add more tests.
13305 (atanh_test_data): Likewise.
13306 (ceil_test_data): Likewise.
13307 (copysign_test_data): Likewise.
13308 * sysdeps/i386/fpu/libm-test-ulps: Update.
13309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13310
85bff96a
JM
13311 * timezone/checktab.awk: Update from tzcode 2013i.
13312 * timezone/private.h: Likewise.
13313 * timezone/scheck.c: Likewise.
13314 * timezone/tzfile.h: Likewise.
13315 * timezone/tzselect.ksh: Likewise.
13316 * timezone/zdump.c: Likewise.
13317 * timezone/zic.c: Likewise.
13318
b7867a3b
JM
13319 * math/auto-libm-test-in: Add tests of cpow.
13320 * math/auto-libm-test-out: Regenerated.
13321 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 13322 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
13323 mpc_cc_c.
13324 (func_calc_desc): Add mpc_cc_c union field.
13325 (test_functions): Add cpow.
13326 (special_fill_2pi): New function.
13327 (special_real_inputs): Add 2pi.
13328 (calc_generic_results): Handle mpc_cc_c.
13329 * sysdeps/i386/fpu/libm-test-ulps: Update.
13330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13331
7fda5682
JM
13332 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13333 csqrt, ctan and ctanh.
13334 * math/auto-libm-test-out: Regenerated.
13335 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13336 (TEST_COND_x86): Likewise.
13337 (ccos_test_data): Use AUTO_TESTS_c_c.
13338 (ccosh_test_data): Likewise.
13339 (cexp_test_data): Likewise.
13340 (clog_test_data): Likewise.
13341 (csqrt_test_data): Likewise.
13342 (ctan_test_data): Likewise.
13343 (ctan_tonearest_test_data): Likewise.
13344 (ctan_towardzero_test_data): Likewise.
13345 (ctan_downward_test_data): Likewise.
13346 (ctan_upward_test_data): Likewise.
13347 (ctanh_test_data): Likewise.
13348 (ctanh_tonearest_test_data): Likewise.
13349 (ctanh_towardzero_test_data): Likewise.
13350 (ctanh_downward_test_data): Likewise.
13351 (ctanh_upward_test_data): Likewise.
13352 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13353 mpc_c_c.
13354 (func_calc_desc): Add mpc_c_c union field.
13355 (FUNC_mpc_c_c): New macro.
13356 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13357 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13358 ctanh.
13359 (special_fill_min_subnorm_p120): New function.
13360 (special_real_inputs): Add min_subnorm_p120.
13361 (calc_generic_results): Handle mpc_c_c.
13362 * sysdeps/i386/fpu/libm-test-ulps: Update.
13363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13364
5ff8d60e
SP
133652013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13366
57f41c40
AS
13367 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13368 (do_sin_slow): New functions.
13369 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13370 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 13371
84ba214c
SP
13372 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13373 Use M to change sign of result instead of X. Assume X is
13374 positive.
13375 (csloww1): Likewise.
13376 (__sin): Adjust.
13377 (__cos): Adjust.
13378
975195e4
SP
13379 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13380 arguments A and DA.
13381 (__sin): Adjust.
13382 (__cos): Likewise.
13383
5ff8d60e
SP
13384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13385 (__cos): Likewise.
13386 (sloww1): Don't adjust sign of DX.
13387 (csloww1): Likewise.
13388 (sloww2): Use X directly and don't adjust sign of DX.
13389 (csloww2): Likewise.
13390
eb983568
JM
133912013-12-19 Joseph Myers <joseph@codesourcery.com>
13392
64a17f1a
JM
13393 * math/auto-libm-test-in: Add tests of cabs and carg.
13394 * math/auto-libm-test-out: Regenerated.
13395 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13396 (carg_test_data): Likewise.
13397 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13398 mpc_c_f.
13399 (func_calc_desc): Add mpc_c_f union field.
13400 (test_functions): Add cabs and carg.
13401 (calc_generic_results): Handle mpc_c_f.
13402
eb983568
JM
13403 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13404 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13405 as a macro and a compat symbol.
13406 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13407 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13408 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13409 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13410 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13411 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13412 not use .hidden.
13413 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13414 Likewise.
13415 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13416 Likewise.
13417 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13418 Likewise.
13419 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13420 Likewise.
13421 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13422 Likewise.
13423 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13424 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13425 from GLIBC_2.3.2.
13426
6eeb678a
AZ
134272013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13428
13429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13430
6f6fc482
JM
134312013-12-19 Joseph Myers <joseph@codesourcery.com>
13432
21fea2e2
JM
13433 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13434 trailing whitespace removed.
13435 * scripts/config.guess: Update to version 2013-11-29.
13436 * scripts/config.sub: Update to version 2013-10-01.
13437
6f6fc482
JM
13438 * math/auto-libm-test-in: Add tests of sincos.
13439 * math/auto-libm-test-out: Regenerated.
13440 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13441 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13442 mpfr_f_11.
13443 (func_calc_desc): Add mpfr_f_11 union field.
13444 (test_functions): Add sincos.
13445 (calc_generic_results): Handle mpfr_f_11.
13446 * sysdeps/i386/fpu/libm-test-ulps: Update.
13447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13448
83f5c32d
AS
134492013-12-19 Andreas Schwab <schwab@suse.de>
13450
13451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13452 CALL_MCOUNT.
13453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13455 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13456
c688b419
JM
134572013-12-19 Joseph Myers <joseph@codesourcery.com>
13458
335ee092
JM
13459 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13460 * sysdeps/i386/fpu/libm-test-ulps: Update.
13461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13462
f88acd39
JM
13463 [BZ #16293]
13464 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13465 round-to-nearest mode when using frndint.
13466 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13467 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13468 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13469 Likewise.
13470 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13471 sinh test to fail.
13472 * math/auto-libm-test-out: Regenerated.
13473 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13474 (TEST_COND_x86): Likewise.
13475 (expm1_tonearest_test_data): New array.
13476 (expm1_test_tonearest): New function.
13477 (expm1_towardzero_test_data): New array.
13478 (expm1_test_towardzero): New function.
13479 (expm1_downward_test_data): New array.
13480 (expm1_test_downward): New function.
13481 (expm1_upward_test_data): New array.
13482 (expm1_test_upward): New function.
13483 (main): Run the new test functions.
13484 * sysdeps/i386/fpu/libm-test-ulps: Update.
13485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13486
c688b419
JM
13487 * include/features.h: Update comment documenting feature test
13488 macros. Mention _DEFAULT_SOURCE in comment.
13489 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13490 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13491 _BSD_SOURCE and _SVID_SOURCE.
13492 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13493 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13494 !_SVID_SOURCE]: Likewise.
13495 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13496 (__USE_POSIX_IMPLICITLY): Define.
13497 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13498 (_POSIX_SOURCE): Undefine and redefine.
13499 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13500 (_POSIX_C_SOURCE): Likewise.
13501 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13502 (Feature Test Macros): Update documentation of default features.
13503
9f6e964c
RS
135042013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13505
13506 * benchtests/Makefile: Add bench-strtok.
13507 * benchtests/bench-strtok.c: New file: strtok benchtest.
13508
ee0a148a
AM
135092013-12-19 Allan McRae <allan@archlinux.org>
13510
13511 * manual/install.texi: Suppress menu for plain text output.
13512 * INSTALL: Regenerated.
13513
b9ab448f
BM
135142013-12-18 Brooks Moses <bmoses@google.com>
13515
13516 [BZ #15846]
13517 * misc/getauxval.c: Include errno.h.
13518 (__getauxval): Set errno to ENOENT if the requested type is not
13519 found.
13520 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13521 don't declare with __attribute_const__.
13522 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13523 * manual/startup.texi: Document that getauxval sets errno.
13524
23776487
JM
135252013-12-18 Joseph Myers <joseph@codesourcery.com>
13526
f889953b
JM
13527 * math/auto-libm-test-in: Add tests of jn and yn.
13528 * math/auto-libm-test-out: Regenerated.
13529 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13530 (yn_test_data): Likewise.
13531 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13532 mpfr_if_f.
13533 (func_calc_desc): Add mpfr_if_f union field.
13534 (FUNC_mpfr_if_f): New macro.
13535 (test_functions): Add jn and yn.
13536 (calc_generic_results): Assert type of second input for
13537 mpfr_ff_f. Handle mpfr_if_f.
13538 (output_for_one_input_case): Disable all checking for arguments
13539 fitting floating-point types in case of an integer argument.
13540 * sysdeps/i386/fpu/libm-test-ulps: Update.
13541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13542
23776487
JM
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13544 Don't expect fegetround reference in libm.so.
13545
cb756c6d
MS
135462013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13547
13548 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13549 $(config-cflags-nofma).
13550
2dec468f
JM
135512013-12-18 Joseph Myers <joseph@codesourcery.com>
13552
5953eb3a
JM
13553 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13554 * math/auto-libm-test-out: Regenerated.
13555
2dec468f
JM
13556 [BZ #16338]
13557 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13558 to determine exponent and adjust argument to have exponent of -1.
13559 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13560 log2.
13561 * math/auto-libm-test-out: Regenerated.
13562 * sysdeps/i386/fpu/libm-test-ulps: Update.
13563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13564
4d84e6ad
OB
135652013-12-18 Ondřej Bílka <neleai@seznam.cz>
13566
13567 * manual/probes.texi: Remove cases when per-thread arenas are
13568 disabled.
13569
1818483b
AS
135702013-12-18 Andreas Schwab <schwab@suse.de>
13571
13572 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13573 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13574 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13575 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13576 * sysdeps/i386/i686/multiarch/Makefile: Update.
13577 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13578
25de95bf
JM
135792013-12-17 Joseph Myers <joseph@codesourcery.com>
13580
13581 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13582 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13583
674762d9
PE
135842013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13585
ed27ed83 13586 [BZ #15968]
0748546f
PE
13587 Support TZ transition times < 00:00:00.
13588 This is needed for version-3 tz-format files; it supports time
13589 stamps past 2037 for America/Godthab (the only entry in the tz
13590 database for which this change is relevant).
13591 * manual/time.texi (TZ Variable): Document transition times
13592 from -167:59:59 through -00:00:01.
13593 * time/tzset.c (tz_rule): Time of day is now signed.
13594 (__tzset_parse_tz): Parse negative time of day.
13595
4480e934
PE
13596 Document TZ transition times >= 25:00:00.
13597 * manual/time.texi (TZ Variable): Document transition times from
13598 25:00:00 through 167:59:59. These are already supported, and this
13599 support will help with version-3 tz-format files.
13600
69947401
PE
13601 * manual/time.texi (TZ Variable): Modernize North America example
13602 to reflect current (i.e., 2007-and-later) daylight saving rules.
13603
674762d9
PE
13604 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13605
7011c262
JM
136062013-12-17 Joseph Myers <joseph@codesourcery.com>
13607
2fc6557e
JM
13608 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13609 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13612 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13613 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13614 * sysdeps/unix/bsd/clock.c: Likewise.
13615 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13616 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13617 * sysdeps/unix/bsd/init-posix.c: Likewise.
13618 * sysdeps/unix/bsd/poll.c: Likewise.
13619 * sysdeps/unix/bsd/ptsname.c: Likewise.
13620 * sysdeps/unix/bsd/seekdir.c: Likewise.
13621 * sysdeps/unix/bsd/setegid.c: Likewise.
13622 * sysdeps/unix/bsd/seteuid.c: Likewise.
13623 * sysdeps/unix/bsd/setgid.c: Likewise.
13624 * sysdeps/unix/bsd/setrgid.c: Likewise.
13625 * sysdeps/unix/bsd/setruid.c: Likewise.
13626 * sysdeps/unix/bsd/setsid.c: Likewise.
13627 * sysdeps/unix/bsd/setuid.c: Likewise.
13628 * sysdeps/unix/bsd/sigaction.c: Likewise.
13629 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13630 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13631 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13632 * sysdeps/unix/bsd/telldir.c: Likewise.
13633 * sysdeps/unix/bsd/times.c: Likewise.
13634 * sysdeps/unix/bsd/usleep.c: Likewise.
13635
029c7b25
JM
13636 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13637 ($(objpfx)libbsd-compat.a): Remove rule.
13638
7011c262
JM
13639 * include/features.h (__FAVOR_BSD): Do not define.
13640 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13641 features conflicting with POSIX.
13642 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13643 (_BSD_SOURCE): Remove description of not being a subset of other
13644 feature test macros.
13645 * manual/job.texi (getpgrp): Do not document BSD version.
13646 (getpgid): Do not document by reference to BSD getpgrp.
13647 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13648 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13649 * signal/signal.h [__FAVOR_BSD]: Likewise.
13650 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13651 instead of making contents conditional on [__FAVOR_BSD].
13652 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13653
affb6f78
AZ
136542013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13655
13656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13657
c88769dd
JM
136582013-12-17 Joseph Myers <joseph@codesourcery.com>
13659
6432a540
JM
13660 [BZ #16314]
13661 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13662 values below 2**-450, not 2**-500.
13663 * math/auto-libm-test-in: Don't allow spurious underflow from
13664 hypot.
13665 * math/auto-libm-test-out: Regenerated.
13666
c88769dd
JM
13667 [BZ #16316]
13668 [BZ #16330]
13669 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13670 values of ha and hb and sort them after adjusting subnormal
13671 arguments.
13672 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13673 Likewise.
13674 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13675 values of ea and eb and sort them after adjusting subnormal
13676 arguments.
13677 * math/auto-libm-test-in: Do not expect some hypot tests of
13678 subnormals to fail. Add more hypot tests.
13679 * math/auto-libm-test-out: Regenerated.
13680
29618f6b
KK
136812013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13682
13683 [BZ #13304]
13684 * sysdeps/sh/s_fma.c: New file.
13685 * sysdeps/sh/s_fmaf.c: New file.
13686 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13687 version.
13688 * sysdeps/sh/Implies: Add sh/soft-fp.
13689
eacfdfbf
RM
136902013-12-16 Roland McGrath <roland@hack.frob.com>
13691
13692 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13693 level of indirection to members `objname', `errstring', `malloced'.
13694 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13695 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13696 it as the __longjmp argument (just pass 1 instead).
13697 (_dl_catch_error): Initialize C with argument pointers and address of
13698 volatile local ERRCODE rather than copying values out of C at return.
13699
ff362e5b
JM
137002013-12-16 Joseph Myers <joseph@codesourcery.com>
13701
13702 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13703 * math/auto-libm-test-out: Regenerated.
13704 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13705 (hypot_test_data): Likewise.
13706 (pow_test_data): Likewise.
13707 (pow_tonearest_test_data): Likewise.
13708 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13709 mpfr_ff_f.
13710 (func_calc_desc): Add mpfr_ff_f union field.
13711 (FUNC_mpfr_ff_f): New macro.
13712 (test_functions): Add atan2, hypot and pow.
13713 (special_fill_min): New function.
13714 (special_fill_minus_min): Likewise.
13715 (special_fill_min_subnorm): Likewise.
13716 (special_fill_minus_min_subnorm): Likewise.
13717 (special_real_inputs): Add min, -min, min_subnorm and
13718 -min_subnorm.
13719 (calc_generic_results): Handle mpfr_ff_f.
13720 * sysdeps/i386/fpu/libm-test-ulps: Update.
13721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13722
5764c27f
WN
137232013-12-16 Will Newton <will.newton@linaro.org>
13724
13725 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13726 (Aligned Memory Blocks): Add documentation for aligned_alloc
13727 and suggest it as an alternative to posix_memalign.
13728 (Hooks for Malloc): Document __memalign_hook is also called
13729 for aligned_alloc. (Summary of Malloc): Add summary for
13730 aligned alloc. Document __memalign_hook is also called
13731 for aligned_alloc.
13732
0a096e44
WN
137332013-12-16 Will Newton <will.newton@linaro.org>
13734
13735 * manual/memory.texi (Malloc Examples): Clarify default
13736 alignment documentation. Suggest posix_memalign rather
13737 than memalign or valloc.
13738 (Aligned Memory Blocks): Remove suggestion to use memalign
13739 or valloc. Remove obsolete comment about BSD.
13740 Document memalign errno values and mark the function obsolete.
13741 Document posix_memalign returned error codes. Mark valloc
13742 as obsolete. (Hooks for Malloc): __memalign_hook is also
13743 called for posix_memalign and valloc.
13744 (Summary of Malloc): Add posix_memalign to function summary.
13745 __memalign_hook is also called for posix_memalign and valloc.
13746
8d561986
SP
137472013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13748
13749 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13750 TAYLOR_SIN.
13751 (__sin): Adjust.
13752 (__cos): Likewise.
13753 (sloww): Use mynumber union. Expand ternary operator into
13754 if-else statements.
13755 (cslow): use mynumber union.
13756
73616a74
AM
137572013-12-16 Allan McRae <allan@archlinux.org>
13758
9e8ac24b
AM
13759 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13760 * configure: Regenerated.
13761
6f8e37eb
AM
13762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13763
8894bad3
AM
13764 [BZ #14120]
13765 * configure.ac: Added --enable-maintainer-mode. Check for
13766 autoconf when enabled.
13767 * configure: Regenerated.
13768
73616a74
AM
13769 * nscd/nscd.service: New file.
13770 * nscd/nscd.tmpfiles: New file.
13771
584b18eb
OB
137722013-12-14 Ondřej Bílka <neleai@seznam.cz>
13773
13774 [BZ #12100]
13775 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13776 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13777 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13778 (strstr): Add __strstr_sse2_unaligned ifunc.
13779 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13780 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13781 (strcasestr): Remove __strcasestr_sse42 ifunc.
13782 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13785
8a5c7897
KK
137862013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13787
13788 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13789 * sysdeps/sh/bits/fenv.h: ... here.
13790 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13791
fd712ef3
AZ
137922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13793
13794 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13795
42fcb46c
AZ
13796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13797 hypotf multiarch implementations.
13798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13799 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13800 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13801 multiarch hypot for PPC64.
13802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13805 multiarch hypotf for PPC64.
13806
83efded4
AZ
13807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13808 modff multiarch implementations.
13809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13812 multiarch modf for PPC64.
13813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13816 multiarch modff for PPC64.
13817
43e246d2
AZ
13818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13819 and logl multiarch implementations.
13820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13823 multiarch logb for PPC64.
13824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13827 multiarch logb for PPC64.
13828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13831 multiarch logb for PPC64.
13832
8fdad123
AZ
13833 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13834 isinff multiarch implementation.
13835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13836 file.
13837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13839 multiarch isinf for PPC64.
13840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13841 file.
13842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13843 multiarch isinff for PPC64.
13844
1481d706
AZ
13845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13846 finitef multiarch implementation.
13847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13848 file.
13849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13851 multiarch finite for PPC64.
13852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13853 file.
13854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13855 multiarch finitef for PPC64.
13856
5ccd5fc8
AZ
13857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13858 lrint multiarch implementation.
13859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13860 file.
13861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13863 multiarch llrint for PPC64.
13864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13865 multiarch lrint for PPC64.
13866
2568f3fa
AZ
13867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13868 copysignf multiarch implementation.
13869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13870 file.
13871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13872 file.
13873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13874 multiarch copysign for PPC64.
13875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13876 multiarch copysignf for PPC64.
13877
1cb341fd
AZ
13878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13879 multiarch implementation.
13880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13881 file.
13882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13883 file.
13884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13885 file.
13886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13887 file.
13888 multiarch llround for PPC64.
13889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13890 multiarch trunc for PPC64.
13891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13892 multiarch truncf for PPC64.
13893
59a3e194
AZ
13894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13895 multiarch implementation.
13896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13897 file.
13898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13899 file.
13900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13901 file.
13902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13903 file.
13904 multiarch llround for PPC64.
13905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13906 multiarch round for PPC64.
13907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13908 multiarch roundf for PPC64.
13909
357fd3b4
AZ
13910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13911 multiarch implementation.
13912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13913 file.
13914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13915 file.
13916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13917 file.
13918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13919 file.
13920 multiarch llround for PPC64.
13921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13922 multiarch floor for PPC64.
13923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13924 multiarch floorf for PPC64.
13925
96770f12
AZ
13926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13927 multiarch implementation.
13928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13929 file.
13930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13931 file.
13932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13933 file.
13934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13935 file.
13936 multiarch llround for PPC64.
13937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13938 multiarch ceil for PPC64.
13939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13940 multiarch ceilf for PPC64.
13941
c3627f6e
AZ
13942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13943 multiarch implementation.
13944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13945 file.
13946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13947 file.
13948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13949 file.
13950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13951 multiarch llround for PPC64.
13952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13953 multiarch lround for PPC64.
13954
b2284ad7
AZ
13955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13956 multiarch implementation.
13957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13960 file.
13961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13964 multiarch isnan for PPC64.
13965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13966 multiarch isnanf for PPC64.
13967
69bbc63d
AZ
13968 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13969 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13970 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13971 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13972 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13974
c24517c9
AZ
13975 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13976 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13979
a52374e8
AZ
13980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13981 multiarch implementations.
13982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13983 (__libc_ifunc_impl_list): Likewise.
13984 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13985 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13986 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13987 multiarch stpcpy for PPC64.
13988
7f5ec113
AZ
13989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13990 multiarch implementations.
13991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13992 (__libc_ifunc_impl_list): Likewise.
13993 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13994 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13995 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13996 multiarch strcpy for PPC64.
13997
e28bcd42
AZ
13998 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13999 redefine function name.
14000 (_wordcopy_fwd_dest_aligned): Likewise.
14001 (_wordcopy_bwd_aligned): Likewise.
14002 (_wordcopy_bwd_dest_aligned): Likewise.
14003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14004 multiarch implementations.
14005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14006 (__libc_ifunc_impl_list): Likewise.
14007 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14008 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14009 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14010 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14011 multiarch wcscpy for PPC64.
14012
92cacfce
AZ
14013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14014 multiarch implementations.
14015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14016 (__libc_ifunc_impl_list): Likewise.
14017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14019 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14020 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14021 multiarch wcscpy for PPC64.
14022
7b714620
AZ
14023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14024 multiarch implementations.
14025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14026 (__libc_ifunc_impl_list): Likewise.
14027 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14028 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14029 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14030 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14031 multiarch wcsrchr for PPC64.
14032
16fd2ae3
AZ
14033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14034 multiarch implementations.
14035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14036 (__libc_ifunc_impl_list): Likewise.
14037 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14038 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14039 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14040 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14041 multiarch wcschr for PPC64.
14042
9ee2969b
AZ
14043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14044 multiarch implementations.
14045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14046 (__libc_ifunc_impl_list): Likewise.
14047 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14048 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14049 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14050 multiarch strchrnul for PPC64.
14051
372dc060
AZ
14052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14053 implementations.
14054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14055 (__libc_ifunc_impl_list): Likewise.
14056 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14057 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14058 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14059 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14060 strchr for PPC64.
14061
24c2c3b9
AZ
14062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14063 implementations.
14064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14065 (__libc_ifunc_impl_list): Likewise.
14066 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14067 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14068 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14069 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14070 strncmp for PPC64.
14071
1c92d9a0
AZ
14072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14073 multiarch implementations.
14074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14075 (__libc_ifunc_impl_list): Likewise.
14076 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14077 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14078 strncasecmp for PPC64.
14079 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14080 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14081 multiarch strncasecmp_l for PPC64.
14082
17de3ee3
AZ
14083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14084 multiarch implementations.
14085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14086 (__libc_ifunc_impl_list): Likewise.
14087 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14089 multiarch strcasecmp for PPC64.
14090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14091 file.
14092 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14093 multiarch strcasecmp_l for PPC64.
14094
62982bf9
AZ
14095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14096 implementations.
14097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14098 (__libc_ifunc_impl_list): Likewise.
14099 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14100 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14101 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14102 strnlen for PPC64.
14103
a65f4904
AZ
14104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14105 implementations.
14106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14107 (__libc_ifunc_impl_list): Likewise.
14108 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14109 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14110 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14111 strlen for PPC64.
14112
1fd005ad
AZ
14113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14114 implementations.
14115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14116 (__libc_ifunc_impl_list): Likewise.
14117 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14118 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14119 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14120 rawmemrchr for PPC64.
14121
cd05ba91
AZ
14122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14123 implementation.
14124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14125 (__libc_ifunc_impl_list): Likewise.
14126 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14127 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14128 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14129 memrchr for PPC64.
14130
870f8676
AZ
14131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14132 implementation.
14133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14134 (__libc_ifunc_impl_list): Likewise.
14135 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14136 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14137 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14138 memchr for PPC64.
14139
f00be62b
AZ
14140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14141 implementation.
14142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14143 (__libc_ifunc_impl_list): Likewise.
14144 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14145 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14146 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14147 mempcpy for PPC64.
14148
8a29a3d0
AZ
14149 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14150 avoid cretion of __bzero symbol.
14151 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14152 Likewise.
14153 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14154 Likewise.
14155 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14156 Likewise.
14157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14158 multiarch implementations.
14159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14160 (__libc_ifunc_impl_list): Likewise.
14161 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14162 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14163 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14164 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14165 bzero for PPC32.
14166 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14167 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14168 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14169 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14170 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14171 memset for PPC64.
14172 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14173
07253fcf
AZ
14174 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14176 implementations.
14177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14178 (__libc_ifunc_impl_list): Likewise.
14179 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14180 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14181 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14182 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14183 memcmp for PPC64.
14184
b5beafbc
AZ
14185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14186 multiarch for POWER/PPC64.
14187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14188 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14189 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14190 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14191 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14192 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14193 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14194 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14195 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14196 memcpy for PPC64.
14197
5e6a4d4b
AZ
14198 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14199 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14200 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14201 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14202 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14203 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14204 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14205 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14206 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14207 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14208 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14209 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14210 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14211 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14212 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14220
ddfab6dc
KK
142212013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14222
14223 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14224
19b5525e
SP
142252013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14226
14227 * benchtests/Makefile (bench): Add exp2 and log2.
14228 (LDLIBS-bench-exp2): Add -lm.
14229 (LDLIBS-bench-log2): Likewise.
14230 * benchtests/exp2-inputs: New inputs file.
14231 * benchtests/log2-inputs: New inputs file.
14232 * benchtests/log-inputs: Add new inputs.
14233 * benchtests/tan-inputs: Likewise.
14234
196f7f5d
SP
142352013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14236
7a74607f
SP
14237 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14238 definition...
57f41c40
AS
14239 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14240 (csloww2): ... from here.
7a74607f 14241
196f7f5d
SP
14242 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14243 instead of structures.
14244 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14245 (POLYNOMIAL): Likewise.
14246 (TAYLOR_SLOW): Likewise.
14247 (__sin): Likewise.
14248 (__cos): Likewise.
14249 (slow1): Likewise.
14250 (slow2): Likewise.
14251 (sloww): Likewise.
14252 (sloww1); Likewise.
14253 (sloww2): Likewise.
14254 (bsloww1): Likewise.
14255 (bsloww2): Likewise.
14256 (cslow2): Likewise.
14257 (csloww): Likewise.
14258 (csloww1): Likewise.
14259 (csloww2): Likewise.
14260
0dfa665c
OB
142612013-12-10 Ondřej Bílka <neleai@seznam.cz>
14262
14263 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
14264 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14265 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
14266 * malloc/hooks.c (realloc_check): Likewise.
14267
5782a80f
OB
14268 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14269 * malloc/arena.c: Remove PER_THREAD conditional.
14270 [!PER_THREAD]: Remove code.
14271 (ptmalloc_unlock_all2): Likewise.
14272 (ptmalloc_init): Likewise.
14273 (_int_new_arena): Likewise.
14274 (arena_get2): Likewise.
14275 * malloc/hooks.c (__malloc_get_state): Likewise.
14276 (__malloc_set_state): Likewise.
14277 * malloc/malloc.c: Likewise.
14278 (struct malloc_state): Likewise.
14279 (struct malloc_par): Likewise.
14280 (__libc_realloc): Likewise.
14281 (__libc_mallopt): Likewise.
14282
aeb95445
AZ
142832013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14284
14285 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14286
e8349efd
OB
142872013-12-09 Ondřej Bílka <neleai@seznam.cz>
14288
14289 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14290 macro to a function. Check for zero perturb_byte.
14291 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14292
f3eeb3fc 14293 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
14294 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14295 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
14296 force_reg by atomic_forced_read.
14297 * malloc/arena.c (ptmalloc_init): Likewise.
14298 * malloc/hooks.c (top_check): Likewise.
14299
be2f9009
AZ
143002013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14301
14302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14303
e7b914bd
MT
143042013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14305
14306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14307
9f0be4f8
JM
143082013-12-08 Joseph Myers <joseph@codesourcery.com>
14309
14310 * math/auto-libm-test-in: Add tests of lgamma.
14311 * math/auto-libm-test-out: Regenerated.
14312 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14313 (M_LOG_2_SQRT_PIl): Likewise.
14314 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14315 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14316 mpfr_f_f1.
14317 (func_calc_desc): Add mpfr_f_f1 union field.
14318 (ARGS1): New macro.
14319 (ARGS2): Likewise.
14320 (ARGS3): Likewise.
14321 (ARGS4): Likewise.
14322 (RET1): Likewise.
14323 (RET2): Likewise.
14324 (CALC): Likewise.
14325 (FUNC): Likewise.
14326 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14327 (test_functions): Add lgamma.
14328 (calc_generic_results): Handle mpfr_f_f1.
14329 * sysdeps/i386/fpu/libm-test-ulps: Update.
14330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14331
24eeafdb
AZ
143322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14333
14334 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14335 __mpn_add_n for PowerPC64/POWER7.
14336 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14337 __mpn_sub_n for PowerPC64/POWER7.
14338
4a2c0fd4
AZ
14339 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14340 __mpn_addmul_1 for PowerPC64.
14341 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14342 __mpn_submul_1 for PowerPC64.
14343 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14344 for PowerPC64.
14345 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14346 for PowerPC64.
14347
4b5b548c
FS
143482013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14349
14350 [BZ #15089]
14351 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14352
0a3ac0aa
AZ
143532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14354
14355 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14356
ccdc8438
AZ
14357 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14358 add multiarch folders.
14359 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14360 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14361 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14362 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14363 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14364 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14365 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14366 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14367 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14368 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14369 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14376
2e973d99
AZ
14377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14378 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14380 New file.
14381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14382 New file.
14383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14384 multiarch __ieee754_hypot for PowerPC32.
14385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14386 New file.
14387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14388 New file.
14389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14390 multiarch __ieee754_hypotf for PowerPC32.
14391
2d9470b2
AZ
14392 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14393 long_double_symbol only if __logbl is defined.
14394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14395 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14397 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14399 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14401 path for implementation.
14402 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14403 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14405 logb, and logbl multiarch implementations for PowerPC32.
14406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14407 file.
14408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14409 file.
14410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14411 multiarch logb for PowerPC32.
14412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14413 file.
14414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14415 file.
14416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14417 multiarch logbf for PowerPC32.
14418 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14420 file.
14421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14422 multiarch logbl implementation for PowerPC32.
14423
5212ffce
AZ
14424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14425 and modff multiarch implementations.
14426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14427 New file.
14428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14429 New file.
14430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14431 multiarch modf for PowerPC32.
14432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14433 New file.
14434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14435 New file.
14436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14437 multiarch modff for PowerPC32.
14438
79dccf31
AZ
14439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14440 and lrintf multiarch implementations.
14441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14442 New file.
14443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14444 New file.
14445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14446 multiarch lrint for PowerPC32.
14447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14448 file: multiarch lrintf for PowerPC32.
14449
deb66480
AZ
14450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14451 and lroundf multiarch implementations.
14452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14453 New file.
14454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14455 New file.
14456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14457 New file.
14458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14459 multiarch lround for PowerPC32.
14460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14461 file: multiarch lroundf for PowerPC32.
14462
264b036b
AZ
14463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14464 copysign and copysignf multiarch implementations.
14465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14466 New file.
14467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14468 New file.
14469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14470 file: multiarch copysign for PowerPC32.
14471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14472 file: multiarch copysignf for PowerPC32.
14473
d47db6c9
AZ
14474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14475 and truncf multiarch implementations.
14476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14477 New file.
14478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14479 file.
14480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14481 multiarch trunc for PowerPC32.
14482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14483 New file.
14484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14485 New file.
14486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14487 multiarch truncf for PowerPC32.
14488
ddb60b5a
AZ
14489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14490 and roundf multiarch implementations.
14491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14492 New file.
14493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14494 file.
14495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14496 multiarch round for PowerPC32.
14497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14498 New file.
14499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14500 New file.
14501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14502 multiarch roundf for PowerPC32.
14503
bedcf49b
AZ
14504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14505 and floorf multiarch implementations.
14506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14507 New file.
14508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14509 file.
14510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14511 multiarch floor for PowerPC32.
14512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14513 New file.
14514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14515 New file.
14516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14517 multiarch floorf for PowerPC32.
14518
35ae5b40
AZ
14519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14520 and ceilf multiarch implementations.
14521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14522 New file.
14523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14524 file.
14525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14526 multiarch ceil for PowerPC32.
14527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14528 New file.
14529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14530 file.
14531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14532 multiarch ceilf for PowerPC32.
14533
ae1a4cd9
AZ
14534 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14535 is defined.
14536 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14537 FINITEF is defined.
14538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14539 and finitef multiarch implementations.
14540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14541 New file.
14542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14543 file.
14544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14545 multiarch finite for PowerPC32.
14546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14547 New file.
14548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14549 file: multiarch finitef for PowerPC32.
14550
64fffd65
AZ
14551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14552 and isinff multiarch implementations.
14553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14554 file.
14555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14556 file.
14557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14558 multiarch isinf for PowerPC32.
14559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14560 New file.
14561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14562 multiarch isinff for PowerPC32.
14563
8e4e7ba2
AZ
14564 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14565 alias when __isnan is defined.
14566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14567 and isnanf multiarch implementations.
14568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14569 file.
14570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14571 file.
14572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14573 file.
14574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14575 file.
14576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14577 multiarch isnan for PowerPC32.
14578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14579 New file.
14580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14581 New file.
14582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14583 multiarch isnanf for PowerPC32.
14584
ddba588e
AZ
14585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14586 and sqrtf multiarch implementations.
14587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14588 file.
14589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14590 file.
14591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14592 multiarch sqrt for PowerPC32.
14593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14594 file.
14595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14596 file.
14597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14598 multiarch sqrtf for PowerPC32.
14599
0f96a2f0
AZ
14600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14601 and llroundf multiarch implementations.
14602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14603 New file.
14604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14605 New file.
14606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14607 New file.
14608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14609 file: multiarch llround for PowerPC32.
14610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14611 file: multiarch llroundf for PowerPC32.
14612
c9b5d79e
AZ
14613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14614 multiarch PowerPC32 fpu implementations.
14615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14616 New file.
14617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14618 New file.
14619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14620 multiarch llrint for PowerPC32.
14621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14622 New file.
14623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14624 New file.
14625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14626 file.
14627
9cbb3aab
AZ
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14629
ea5a72f8
AZ
14630 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14631 file.
14632 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14633 file.
14634 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14635 file.
14636 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14637 multiarch wordcopy for PPC32.
14638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14639 wordcopy objects.
14640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14641 (__libc_ifunc_impl_list): Likewise.
14642 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14643 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14644 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14645 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14646 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14647 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14648
93be09e7
AZ
14649 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14651 file.
14652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14653 file.
14654 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14655 file.
14656 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14657 multiarch wcscpy for PPC32.
14658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14659 multiarch objects.
14660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14661 (__libc_ifunc_impl_list): Likewise.
14662 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14663 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14664 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14665 sysdeps/powerpc/power6/wcscpy.c.
14666
bb04e529
AZ
14667 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14668 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14669 file.
14670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14671 file.
14672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14673 file.
14674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14675 multiarch wcsrchr for PPC32.
14676 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14677 multiarch objects.
14678 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14679 (__libc_ifunc_impl_list): Likewise.
14680 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14681 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14682 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14683 sysdeps/powerpc/power6/wcsrchr.c.
14684
05b5cd1c
AZ
14685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14686 file.
14687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14688 file.
14689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14691 multiarch wcschr for PPc32.
14692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14693 multiarch objects.
14694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14695 (__libc_ifunc_impl_list): Likewise.
14696 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14697 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14698 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14699 sysdeps/powerpc/power6/wcschr.c.
14700
ba964147
AZ
14701 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14702 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14703 file.
14704 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14705 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14706 file: multiarch strchr for PPC32.
14707 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14708 multiarch objects.
14709 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14710 (__libc_ifunc_impl_list): Likewise.
14711
31c81aaa
AZ
14712 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14713 name.
14714 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14715 file.
14716 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14717 file.
14718 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14719 multiarch strchrnul for PPC32.
14720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14721 multiarch objects.
14722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14723 (__libc_ifunc_impl_list): Likewise.
14724
0d0607d9
AZ
14725 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14726 file.
14727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14728 multiarch strncasecmp for PPC32.
14729 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14730 file.
14731 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14732 multiarch strncasecmp_l for PPC32.
14733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14734 strncasecmp multiarch objects.
14735 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14736 (__libc_ifunc_impl_list): Likewise.
14737
4dfd5c86
AZ
14738 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14739 file.
14740 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14741 multiarch strncasecmp for PPC32.
14742 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14743 New file.
14744 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14745 multiarch strcasecmp_l for PPC32.
14746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14747 multiarch objects.
14748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14749 (__libc_ifunc_impl_list): Likewise.
14750
a19e01a3
AZ
14751 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14752 file.
14753 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14754 file.
14755 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14756 multiarch strncmp for PPC32.
14757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14758 multiarch objects.
14759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14760 (__libc_ifunc_impl_list): Likewise.
14761
ae9cf7a2
AZ
14762 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14763 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14764 file.
14765 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14766 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14768 multiarch objects.
14769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14770 (__libc_ifunc_impl_list): Likewise.
14771
3148bb7d
AZ
14772 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14773 file.
14774 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14775 file.
14776 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14778 multiarch objects.
14779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14780 (__libc_ifunc_impl_list): Likewise.
14781
7af8b946
AZ
14782 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14783 file.
14784 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14785 file.
14786 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14787 multiarch rawmemchr for PPC32.
14788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14789 multiarch objects.
14790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14791 (__libc_ifunc_impl_list): Likewise.
14792
03a6aa6a
AZ
14793 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14794 file.
14795 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14796 file.
14797 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14798 file: memrchr multiarch for PPC32.
14799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14800 multiarch objects.
14801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14802 (__libc_ifunc_impl_list): Likewise.
14803
1c62e6d9
AZ
14804 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14805 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14806 file.
14807 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14808 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14809 multiarch memchr for PPC32.
14810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14811 multiarch objects.
14812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14813 (__libc_ifunc_impl_list): Likewise.
14814
87da8bdb
AZ
14815 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14816 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14817 file.
14818 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14819 file.
14820 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14821 file: multiarch mempcpy for PPC32.
14822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14823 multiarch objects.
14824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14825 (__libc_ifunc_impl_list): Likewise.
14826
20ed4714
AZ
14827 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14828 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14829 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14830 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14831 multiarch bzero for PPC32.
14832 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14833 file.
14834 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14835 file.
14836 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14837 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14838 file: multiarch memset for PPC32.
14839 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14841 memset multiarch objects.
14842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14843 (__libc_ifunc_impl_list): Likewise.
14844
ab3e3a46
AZ
14845 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14846 file.
14847 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14848 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14849 memcmp for PPC32.
14850 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14852 multiarch objects.
14853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14854 (__libc_ifunc_impl_list): Likewise.
14855
930de6f0
AZ
14856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14857 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14859 file.
14860 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14861 file.
14862 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14863 file.
14864 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14865 multiarch memcpy for PPC32.
14866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14867 multiarch objects.
14868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14869 (__libc_ifunc_impl_list): Likewise.
14870
4c628e00
AZ
14871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14872 support multiarch for POWER/PPC32.
14873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14874 Likewise.
14875 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14877 Implies file to make multiarch folder appers before the fpu and
14878 default folder for power4 configuration.
14879
f4479220
SP
148802013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14881
14882 * scripts/bench.pl: Append volatile keyword to type.
14883
8517800f
KK
148842013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14885
14886 * sysdeps/sh/sotruss-lib.c: New file.
14887 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14888
180138f1
AZ
148892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14890
14891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14892
bbf37bdc
JM
148932013-12-05 Joseph Myers <joseph@codesourcery.com>
14894
e47cc4e0
JM
14895 [BZ #6810]
14896 * math/w_tgamma.c: Include <errno.h>.
14897 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14898 * math/w_tgammaf.c: Include <errno.h>.
14899 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14900 * math/w_tgammal.c: Include <errno.h>.
14901 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14902 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14903 underflow. Add more tgamma tests.
14904 * math/auto-libm-test-out: Regenerated.
14905 * sysdeps/i386/fpu/libm-test-ulps: Update.
14906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14907
bbf37bdc
JM
14908 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14909 sin, sinh, tan, tanh, tgamma, y0 and y1.
14910 * math/auto-libm-test-out: Regenerated.
14911 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14912 (TEST_COND_x86): Likewise.
14913 (M_E2l): Remove macro.
14914 (M_E3l): Likewise.
14915 (M_2_SQRT_PIl): Likewise.
14916 (M_SQRT_PIl): Likewise.
14917 (M_1_DIV_El): Likewise.
14918 (log_test_data): Use AUTO_TESTS_f_f.
14919 (log10_test_data): Likewise.
14920 (log1p_test_data): Likewise.
14921 (log2_test_data): Likewise.
14922 (sin_test_data): Likewise.
14923 (sin_tonearest_test_data): Likewise.
14924 (sin_towardzero_test_data): Likewise.
14925 (sin_downward_test_data): Likewise.
14926 (sin_upward_test_data): Likewise.
14927 (sinh_test_data): Likewise.
14928 (sinh_tonearest_test_data): Likewise.
14929 (sinh_towardzero_test_data): Likewise.
14930 (sinh_downward_test_data): Likewise.
14931 (sinh_upward_test_data): Likewise.
14932 (tan_test_data): Likewise.
14933 (tan_tonearest_test_data): Likewise.
14934 (tan_towardzero_test_data): Likewise.
14935 (tan_downward_test_data): Likewise.
14936 (tan_upward_test_data): Likewise.
14937 (tanh_test_data): Likewise.
14938 (tgamma_test_data): Likewise.
14939 (y0_test_data): Likewise.
14940 (y1_test_data): Likewise.
14941 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14942 (special_real_inputs): Add pi/4.
14943 * sysdeps/i386/fpu/libm-test-ulps: Update.
14944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14945
eb5ad6b9
AZ
149462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14947
14948 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14949 "longjmp_target" static probes.
14950 (__longjmp): Rename to __longjmp_symbol.
14951 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14952 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14953 on which longjmp to generate.
14954 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14955 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14956 probe.
14957 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14958 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14959 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14960 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14961 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14962 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14964 __longjmp_symbol based on which __longjmp to generate.
14965 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14966 probe.
14967 (setjmp): Rename to setjmp_symbol.
14968 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14969 (_setjmp): Rename to _setjmp_symbol.
14970 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14971 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14972 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14973 which setjmp to generate.
14974 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14975 "longjmp_target" static probes.
14976
d136c6dc
SP
149772013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14978
9298ecba
SP
14979 * benchtests/README: Add note about output arguments.
14980 * benchtests/bench-sincos.c: Remove file.
14981 * benchtests/sincos-inputs: New file.
14982 * scripts/bench.pl: Identify output arguments and define
14983 static variables for them.
14984
232983e9
SP
14985 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14986
d136c6dc
SP
14987 [BZ #15941]
14988 * Makefile (INSTALL): Add install-plain.texi as the primary
14989 dependency.
14990 * manual/install-plain.texi: New file.
14991 * manual/install.texi: Include node directive only for
14992 non-plaintext output.
14993
699ff837
JM
149942013-12-04 Joseph Myers <joseph@codesourcery.com>
14995
ab07cea8
JM
14996 * stdlib/longlong.h: Update from GCC.
14997
699ff837
JM
14998 [BZ #6807]
14999 [BZ #15901]
15000 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15001 * math/w_j0f.c (y0f): Likewise.
15002 * math/w_j0l.c (__y0l): Likewise.
15003 * math/w_j1.c (y1): Likewise.
15004 * math/w_j1f.c (y1f): Likewise.
15005 * math/w_j1l.c (__y1l): Likewise
15006 * math/w_jn.c (yn): Likewise.
15007 * math/w_jnf.c (ynf): Likewise.
15008 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15009 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15010 value for Bessel function domain errors outside _SVID_ mode.
15011 Adjust sign of return value for yn (negative integer, 0).
15012 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15013 by zero in return for negative x and set sign appropriately for
15014 negative n.
15015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15016 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15017 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15018 expectations in error cases.
15019 (y1_test_data): Likewise.
15020 (yn_test_data): Likewise.
15021 * sysdeps/i386/fpu/libm-test-ulps: Update.
15022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15023
5b118558
UW
150242013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15025
15026 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15027 "64" to "64-v1". Add "64-v2".
15028 (abi-64-options): Rename to ...
15029 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15030 (abi-64-condition): Rename to ...
15031 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15032 (abi-64-ld-soname): Rename to ...
15033 (abi-64-v1-ld-soname): ... this.
15034 (abi-64-v2-options): Define.
15035 (abi-64-v2-condition): Likewise.
15036 (abi-64-v2-ld-soname): Likewise.
15037 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15038 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15042
61cd8fe4
UW
150432013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15044 Alan Modra <amodra@gmail.com>
15045
15046 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15047 New versions for use with the ELFv2 ABI.
15048 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15049 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15050 declaration.
15051 (struct La_ppc64v2_retval): Likewise.
15052 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15053 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15054 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15055 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15056 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15057 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15058 Do not save or restore CR.
15059 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15060 (_dl_profile_resolve): Do no save or restore CR. Support extended
15061 return values for ELFv2 ABI. Fix location of FPR return registers.
15062 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15063 updated values for _CALL_ELF == 2.
15064 (La_regs, La_retval, int_retval): Likewise.
15065
8b8a692c
UW
150662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15067
15068 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15069 (FRAME_MIN_SIZE_PARM): Likewise.
15070 (FRAME_BACKCHAIN): Likewise.
15071 (FRAME_CR_SAVE): Likewise.
15072 (FRAME_LR_SAVE): Likewise.
15073 (FRAME_TOC_SAVE): Likewise.
15074 (FRAME_PARM_SAVE): Likewise.
15075 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15076 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15077 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15078 (call_mcount_parm_offset): New macro.
15079 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15080 (PROF): Use symbolic stack frame offsets.
15081 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15082 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15083 Redefine in terms of FRAME_MIN_SIZE.
15084 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15085 (_dl_profile_resolve): Likewise. Update comment.
15086 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15087 symbols stack frame offsets.
15088 (__sigsetjmp): Likewise.
15089 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15090 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15091 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15092 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15093
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15095 (FRAME_BACKCHAIN): Remove.
15096 (FRAME_CR_SAVE): Likewise.
15097 (FRAME_LR_SAVE): Likewise.
15098 (FRAME_COMPILER_DW): Likewise.
15099 (FRAME_LINKER_DW): Likewise.
15100 (FRAME_TOC_SAVE): Likewise.
15101 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
15102 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15103 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15104 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
15105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15106 (CHECK_SP): Use symbolic stack frame offsets.
15107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15108 zone" instead of caller's parameter save area for temp storage.
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15110 Likewise. Also, use symbolic stack frame offsets.
15111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15112 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15113 our own stack frame instead of the caller's.
15114 (__socket): Use symbolic stack frame offsets.
15115
122b66de
UW
151162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15117 Alan Modra <amodra@gmail.com>
15118
15119 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15120 Define.
57f41c40
AS
15121 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15122 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
15123 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15124 New function.
15125 (elf_machine_fixup_plt): Call it.
15126 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15127 reloc arguments.
15128 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
15129 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15130 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15131 r2 before calling target.
15132
696caf1d
UW
151332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15134 Alan Modra <amodra@gmail.com>
15135
15136 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15137 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15138 versions of macros to support ELFv2 ABI.
15139 (LOCALENTRY): New macro.
15140 (ENTRY, EALIGN): Use it.
15141 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15142 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15143 fall through into ENTRY entry point.
15144 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15145 Only define if _CALL_ELF != 2.
15146
15147 (elf_machine_matches_host): Verify ABI version matches.
15148 (RTLD_START): Use LOCALENTRY.
15149 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15150 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15151 (PLT_ENTRY_WORDS): New macro.
15152 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15153 (elf_machine_runtime_setup): Support ELFv2 ABI.
15154 (elf_machine_fixup_plt): Likewise.
15155 (elf_machine_plt_conflict): Likewise.
15156 (resolve_ifunc): Likewise.
15157 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15158 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15159 Likewise.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15161 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15163 (makecontext): Support ELFv2 ABI.
15164 * elf/elf.h (EF_PPC64_ABI): Define.
15165
d31beafa
UW
151662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15167
57f41c40
AS
15168 * sysdeps/powerpc/powerpc64/sysdep.h
15169 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15170 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15171 (ENTRY) [ASSEMBLER]: ... but instead here ...
15172 (EALIGN) [ASSEMBLER]: ... and here.
15173 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15174 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15175 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15176 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15177 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15178 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15179 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15180 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15182 Use PPC64_LOAD_FUNCPTR.
15183
b525166b
UW
15184 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15185
7ec07d9a
AM
151862013-12-04 Alan Modra <amodra@gmail.com>
15187
15188 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15189 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15190 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15191 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15192
15193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15194 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15195 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15196 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15197 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15198 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15199
5162e7dd
UW
152002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15201
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15203 (__makecontext): Fix incorrect CFI when backtracing out of
15204 context created via makecontext.
15205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15206 (__setcontext): Fix incorrect CFI during switch to new context.
15207 (__novec_setcontext): Likewise.
15208
19e3372b
OB
152092013-12-04 Ondřej Bílka <neleai@seznam.cz>
15210
15211 [BZ #4772]
15212 * time/strptime_l.c (__strptime_internal): Allow modifiers
15213 in strptime.
15214 * time/tst-strptime.c (day_tests): Add testcase.
15215
ecaf142d
SP
152162013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15217
15218 * scripts/bench.pl: Skip over blank lines.
15219
fbf964ae
PE
152202013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15221
15222 [BZ #926]
15223 * manual/time.texi (Calendar Time): Clarify what timezone functions
15224 use.
15225
fa60a674
AZ
152262013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15227
15228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15229
d674f0ef
OB
152302013-12-04 Ondřej Bílka <neleai@seznam.cz>
15231
15232 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15233 implementation.
15234 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15235 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15236 * debug/memset_chk.c (__memset_chk): Likewise.
15237 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15238 * debug/strncpy_chk.c: Likewise.
15239
17dea188
JM
152402013-12-03 Joseph Myers <joseph@codesourcery.com>
15241
749008ff
JM
15242 [BZ #15268]
15243 [BZ #15425]
15244 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15245 (__ieee754_exp): For possibly underflowing results, check size of
15246 result and force underflow exception if required.
15247 * math/auto-libm-test-in: Add more tests of exp.
15248 * math/auto-libm-test-out: Regenerated.
15249 * sysdeps/i386/fpu/libm-test-ulps: Update.
15250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15251
17dea188
JM
15252 [BZ #16283]
15253 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15254 * math/w_exp2f.c (__exp2f): Likewise.
15255 * math/w_exp2l.c (__exp2l): Likewise.
15256 * math/auto-libm-test-in: Do not allow missing errno on exp2
15257 underflow.
15258 * math/auto-libm-test-out: Regenerated.
15259
b20de2c3
OB
152602013-12-03 Ondřej Bílka <neleai@seznam.cz>
15261
15262 [BZ #16274]
15263 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15264 handle filename validation.
15265 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15266 (do_open): Delete.
15267
d8e2dbe3
JM
152682013-12-03 Joseph Myers <joseph@codesourcery.com>
15269
34e16df5
JM
15270 [BZ #6786]
15271 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15272 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15273 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15274 <float.h>.
15275 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15277 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15279 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15280 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15281 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15282 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15283 Add more erfc tests.
15284 * math/auto-libm-test-out: Regenerated.
15285 * sysdeps/i386/fpu/libm-test-ulps: Update.
15286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15287
d8e2dbe3
JM
15288 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15289 exp2, expm1, j0 and j1.
15290 * math/auto-libm-test-out: Regenerated.
15291 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15292 (erfc_test_data): Likewise.
15293 (exp_test_data): Likewise.
15294 (exp_tonearest_test_data): Likewise.
15295 (exp_towardzero_test_data): Likewise.
15296 (exp_downward_test_data): Likewise.
15297 (exp_upward_test_data): Likewise.
15298 (exp10_test_data): Likewise.
15299 (exp2_test_data): Likewise.
15300 (expm1_test_data): Likewise.
15301 (j0_test_data): Likewise.
15302 (j1_test_data): Likewise.
15303 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15304 (input_flag_type): Add flag_xfail_rounding.
15305 (input_flags): Add xfail-rounding.
15306 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15307 (output_for_one_input_case): Handle flag_xfail_rounding.
15308 * sysdeps/i386/fpu/libm-test-ulps: Update.
15309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310
18d14251
AJ
153112013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15312
3d2e6075 15313 [BZ #16289]
18d14251
AJ
15314 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15315 division by 0.
15316
520d437b
SP
153172013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15318
15319 [BZ #16195]
15320 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15321 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15322 (STAP_PROBE0): New macro.
15323 (STAP_PROBE1): Likewise.
15324 (STAP_PROBE2): Likewise.
15325 (STAP_PROBE3): Likewise.
15326 (STAP_PROBE4): Likewise.
15327
416e0145
OB
153282013-12-02 Ondřej Bílka <neleai@seznam.cz>
15329
15330 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15331
9d17796a
SE
153322013-12-02 Steve Ellcey <sellcey@mips.com>
15333
15334 * benchtests/Makefile (bench): Add sqrt.
15335 (LDLIBS-bench-sqrt): New.
15336 * benchtests/sqrt-input: New.
15337
f524d6a8
PS
153382013-12-02 Pavel Simerda <psimerda@redhat.com>
15339
639a0ef8
PS
15340 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15341 (GAIH_EAI): Likewise.
15342 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15343 (gaih_inet): Likewise.
15344 (getaddrinfo): Don't use GAIH_EAI.
15345
f524d6a8
PS
15346 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15347 (struct gaih): Remove definition.
15348
df3aedaf
SP
153492013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15350
15351 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15352 Use HERRNOP directly.
15353
1ab19dec
AZ
153542013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15355
b42ad38d 15356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 15357
176b0c79
JM
153582013-11-30 Joseph Myers <joseph@codesourcery.com>
15359
15360 * math/gen-auto-libm-tests.c (test_functions): Add more
15361 single-argument functions.
15362 (special_fill_pi_2): New function.
15363 (special_fill_minus_pi_2): Likewise.
15364 (special_fill_pi_6): Likewise.
15365 (special_fill_minus_pi_6): Likewise.
15366 (special_fill_pi_3): Likewise.
15367 (special_fill_2pi_3): Likewise.
15368 (special_fill_e): Likewise.
15369 (special_fill_1_e): Likewise.
15370 (special_fill_e_minus_1): Likewise.
15371 (special_real_inputs): Add more special inputs.
15372 (output_for_one_input_case): Do not require ERANGE on underflow to
15373 zero if round-to-nearest result does not underflow to zero, unless
15374 exact results required.
15375 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15376 atan, atanh, cbrt, cos and cosh.
15377 * math/auto-libm-test-out: Regenerated.
15378 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15379 (acos_tonearest_test_data): Likewise.
15380 (acos_towardzero_test_data): Likewise.
15381 (acos_downward_test_data): Likewise.
15382 (acos_upward_test_data): Likewise.
15383 (acosh_test_data): Likewise.
15384 (asin_test_data): Likewise.
15385 (asin_tonearest_test_data): Likewise.
15386 (asin_towardzero_test_data): Likewise.
15387 (asin_upward_test_data): Likewise.
15388 (asinh_test_data): Likewise.
15389 (atan_test_data): Likewise.
15390 (atanh_test_data): Likewise.
15391 (cbrt_test_data): Likewise.
15392 (cos_test_data): Likewise.
15393 (cos_tonearest_test_data): Likewise.
15394 (cos_towardzero_test_data): Likewise.
15395 (cos_downward_test_data): Likewise.
15396 (cos_upward_test_data): Likewise.
15397 (cosh_test_data): Likewise.
15398 (cosh_tonearest_test_data): Likewise.
15399 (cosh_towardzero_test_data): Likewise.
15400 (cosh_downward_test_data): Likewise.
15401 (cosh_upward_test_data): Likewise.
15402 * sysdeps/i386/fpu/libm-test-ulps: Update.
15403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15404
ffb536d0
JM
154052013-11-29 Joseph Myers <joseph@codesourcery.com>
15406
2a77a467
JM
15407 [BZ #6787]
15408 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15409 * math/w_exp10f.c (__exp10f): Likewise.
15410 * math/w_exp10l.c (__exp10l): Likewise.
15411 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15412 errno settings in existing tests.
15413
ea3bc4e8
JM
15414 [BZ #14032]
15415 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15416 precision control set to double precision.
15417 * sysdeps/i386/fpu/w_sqrt.c: New file.
15418 * math/auto-libm-test-in: Add more tests.
15419 * math/auto-libm-test-out: Update.
15420
0712c9d8
JM
15421 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15422 (sqrt_test_tonearest): New function.
15423 (sqrt_towardzero_test_data): New variable.
15424 (sqrt_test_towardzero): New function.
15425 (sqrt_downward_test_data): New variable.
15426 (sqrt_test_downward): New function.
15427 (sqrt_upward_test_data): New variable.
15428 (sqrt_test_upward): New function.
15429 (main): Call the new functions.
15430
ffb536d0
JM
15431 * math/gen-auto-libm-tests.c: New file.
15432 * math/auto-libm-test-in: Likewise.
15433 * math/auto-libm-test-out: New generated file.
15434 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15435 variables.
15436 (%beautify): Add generated representations of zero.
15437 (top level): Set $auto_input and call parse_auto_input.
15438 (beautify): Remove trailing "f" from hex float constants.
15439 (parse_args): Handle XFAIL_TEST.
15440 (convert_condition): New function.
15441 (or_value): Likewise.
15442 (or_cond_value): Likewise.
15443 (generate_testfile): Handle AUTO_TESTS_* lines.
15444 (parse_auto_input): New function.
15445 * math/libm-test.inc (XFAIL_TEST): New macro.
15446 (ERRNO_UNCHANGED): Update value.
15447 (ERRNO_EDOM): Likewise.
15448 (ERRNO_ERANGE): Likewise.
15449 (IGNORE_RESULT): Likewise.
15450 (TEST_COND_flt_32): New macro.
15451 (TEST_COND_dbl_64): Likewise.
15452 (TEST_COND_ldbl_96_intel): Likewise.
15453 (TEST_COND_ldbl_96_m68k): Likewise.
15454 (TEST_COND_ldbl_128): Likewise.
15455 (TEST_COND_ldbl_128ibm): Likewise.
15456 (TEST_COND_long32): Likewise.
15457 (TEST_COND_long64): Likewise.
15458 (TEST_COND_before_rounding): Likewise.
15459 (TEST_COND_after_rounding): Likewise.
15460 (enable_test): Handle XFAIL_TEST flag.
15461 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15462 with finite results.
15463 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15464 auto-libm-test-out.
15465
acd98a8e
AK
154662013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15467 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15468
15469 [BZ #16214]
15470 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15471 __tls_get_addr_internal instead of __tls_get_offset in order to
15472 avoid GOT pointer dependency. Make rtld export
15473 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15474 __tls_get_addr since we are a __tls_get_offset platform.
15475 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15476 GOT pointer being set up before.
15477 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15478
3c1c46a6
JM
154792013-11-28 Joseph Myers <joseph@codesourcery.com>
15480
7475aef5
JM
15481 * manual/math.texi (Errors in Math Functions): Document accuracy
15482 goals.
15483
8bca7cd8
JM
15484 [BZ #15004]
15485 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15486 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15487 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15488 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15489 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15491 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15492 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15496 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15497 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15501
91a1f3fe
JM
15502 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15503 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15504 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15505 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15506 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15507 Likewise.
15508 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15509 Likewise.
15510 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15511 Likewise.
15512 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15513 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15514 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15515 atomic-feupdateenv and flt-rounds.
15516 * sysdeps/powerpc/nofpu/Versions (libc): Add
15517 __atomic_feholdexcept, __atomic_feclearexcept,
15518 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15519 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15520 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15521 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15522 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15523 here.
15524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15525 Update.
15526
c5df7609
JM
15527 * manual/arith.texi (FP Exceptions): Document that exceptions may
15528 not be raised when matherr is used.
15529 (Math Error Reporting): Document overflow in directed rounding
15530 modes. Document that errno may not be set when finite values are
15531 returned on overflow. Document intent to set errno on underflow
15532 only for underflow to zero.
15533
3c1c46a6
JM
15534 [BZ #16271]
15535 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15536 round-to-nearest then adjust result for other rounding modes.
15537 * include/fenv.h (fegetround): Use libm_hidden_proto.
15538 * math/fegetround.c (fegetround): Use libm_hidden_def.
15539 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15540 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15541 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15542 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15543 Likewise.
15544 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15545 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15546 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15547 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15548
5a4c6d53
SP
155492013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15550
15551 [BZ #16077]
15552 * nss/Versions (libnss_files): Add
15553 _nss_files_gethostbyname3_r.
15554 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15555 New function.
15556 (HOST_DB_LOOKUP): Remove macro.
15557 (_nss_files_gethostbyname_r): Implement function without the
15558 HOST_DB_LOOKUP macro.
15559 (_nss_files_gethostbyname2_r): Likewise.
15560
897b98ba
OB
155612013-11-28 Ondřej Bílka <neleai@seznam.cz>
15562
15563 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15564
6f476861
UB
155652013-11-26 Uros Bizjak <ubizjak@gmail.com>
15566
15567 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15568 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15569 warning.
15570
bd12ab55
AZ
155712013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15572
15573 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15574 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15575 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15576 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15577 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15578 __fe_nomask_env_priv and attribute_hidden.
15579 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15580 (libc_feupdateenv_test_ppc): Likewise.
15581 (libc_feresetround_ppc): Likewise.
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15583 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15584 compat_symbol macro.
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15586 (__fe_nomask_env): Likewise.
15587 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15588
52bb6543
OB
155892013-11-26 Ondřej Bílka <neleai@seznam.cz>
15590
15591 * string/Makefile: Remove ifunc tests.
15592 * string/test-string.h: Define TEST_IFUNC.
15593 * string/test-bcopy-ifunc.c: Remove.
15594 * string/test-bzero-ifunc.c: Likewise.
15595 * string/test-memccpy-ifunc.c: Likewise.
15596 * string/test-memchr-ifunc.c: Likewise.
15597 * string/test-memcmp-ifunc.c: Likewise.
15598 * string/test-memcpy-ifunc.c: Likewise.
15599 * string/test-memmem-ifunc.c: Likewise.
15600 * string/test-memmove-ifunc.c: Likewise.
15601 * string/test-mempcpy-ifunc.c: Likewise.
15602 * string/test-memrchr-ifunc.c: Likewise.
15603 * string/test-memset-ifunc.c: Likewise.
15604 * string/test-rawmemchr-ifunc.c: Likewise.
15605 * string/test-stpcpy-ifunc.c: Likewise.
15606 * string/test-stpncpy-ifunc.c: Likewise.
15607 * string/test-strcasecmp-ifunc.c: Likewise.
15608 * string/test-strcasestr-ifunc.c: Likewise.
15609 * string/test-strcat-ifunc.c: Likewise.
15610 * string/test-strchr-ifunc.c: Likewise.
15611 * string/test-strchrnul-ifunc.c: Likewise.
15612 * string/test-strcmp-ifunc.c: Likewise.
15613 * string/test-strcpy-ifunc.c: Likewise.
15614 * string/test-strcspn-ifunc.c: Likewise.
15615 * string/test-strlen-ifunc.c: Likewise.
15616 * string/test-strncasecmp-ifunc.c: Likewise.
15617 * string/test-strncat-ifunc.c: Likewise.
15618 * string/test-strncmp-ifunc.c: Likewise.
15619 * string/test-strncpy-ifunc.c: Likewise.
15620 * string/test-strnlen-ifunc.c: Likewise.
15621 * string/test-strpbrk-ifunc.c: Likewise.
15622 * string/test-strrchr-ifunc.c: Likewise.
15623 * string/test-strspn-ifunc.c: Likewise.
15624 * string/test-strstr-ifunc.c: Likewise.
15625
ab260039 156262013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
15627
15628 * benchtests/Makefile: Remove ifunc tests.
15629 * benchtests/bench-string.h: Define TEST_IFUNC.
15630 * benchtests/bench-bcopy-ifunc.c: Remove.
15631 * benchtests/bench-bzero-ifunc.c: Likewise.
15632 * benchtests/bench-memccpy-ifunc.c: Likewise.
15633 * benchtests/bench-memchr-ifunc.c: Likewise.
15634 * benchtests/bench-memcmp-ifunc.c: Likewise.
15635 * benchtests/bench-memcpy-ifunc.c: Likewise.
15636 * benchtests/bench-memmem-ifunc.c: Likewise.
15637 * benchtests/bench-memmove-ifunc.c: Likewise.
15638 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15639 * benchtests/bench-memrchr-ifunc.c: Likewise.
15640 * benchtests/bench-memset-ifunc.c: Likewise.
15641 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15642 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15643 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15644 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15645 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15646 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15647 * benchtests/bench-strcat-ifunc.c: Likewise.
15648 * benchtests/bench-strchr-ifunc.c: Likewise.
15649 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15650 * benchtests/bench-strcmp-ifunc.c: Likewise.
15651 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15652 * benchtests/bench-strcpy-ifunc.c: Likewise.
15653 * benchtests/bench-strcspn-ifunc.c: Likewise.
15654 * benchtests/bench-strlen-ifunc.c: Likewise.
15655 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15656 * benchtests/bench-strncat-ifunc.c: Likewise.
15657 * benchtests/bench-strncmp-ifunc.c: Likewise.
15658 * benchtests/bench-strncpy-ifunc.c: Likewise.
15659 * benchtests/bench-strnlen-ifunc.c: Likewise.
15660 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15661 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 15662 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
15663 * benchtests/bench-strspn-ifunc.c: Likewise.
15664 * benchtests/bench-strstr-ifunc.c: Likewise.
15665
156662013-11-26 Ondřej Bílka <neleai@seznam.cz>
15667
ab260039
OB
15668 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15669
d1d9eaf4 156702013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 15671
d1d9eaf4
OB
15672 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15673 * rt/aio.h: Likewise.
15674 * sysdeps/gnu/bits/utmp.h: Likewise.
15675 * sysdeps/gnu/bits/utmpx.h: Likewise.
15676 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15677 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15678 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15679 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15680 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15681 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15682 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15683 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15684 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15685 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15686 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15687 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15688 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15690 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15691 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15692 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15693 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15694 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15695 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15696 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15697 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15698 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15699 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15700 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15702 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15703 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15704 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15705 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15706 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15707 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15708 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15709 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15710 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15711 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15712 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15713 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15714 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15715 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15716 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15717 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15718
a7624ed9
CD
157192013-11-25 Carlos O'Donell <carlos@redhat.com>
15720
15721 [BZ #16245]
15722 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15723 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15724
63cfe52b
JM
157252013-11-25 Joseph Myers <joseph@codesourcery.com>
15726
15727 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15728 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15729 Likewise.
15730
41e8926a
AZ
157312013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15732
15733 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15734 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15735 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15736 (__fesetround): Remove define.
15737 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15738 rounding and exceptions handling.
15739 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15740 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15741 (__fe_nomask_env): Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15743 __fegetround instead of fegetround.
15744 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15745 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15746
6851bd4d
RM
157472013-11-21 Roland McGrath <roland@hack.frob.com>
15748
070906ff
RM
15749 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15750 it's there.
15751
6851bd4d
RM
15752 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15753
84ae135d
MI
157542013-11-21 Meador Inge <meadori@codesourcery.com>
15755
15756 [BZ #11157]
15757 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15758 (encrypt_r): Likewise.
15759 * malloc/obstack.h (obstack_free): Likewise.
15760 * posix/unistd.h (encrypt): Likewise.
15761
daf75146
GM
157622013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15763
15764 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15765 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15766 DL_CALL_DT_FINI() that call the functions directly.
15767 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15768 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15769 * elf/dl-fini.c: Likewise.
15770
10ad46bc
OB
157712013-11-20 Ondřej Bílka <neleai@seznam.cz>
15772
15773 * malloc/hooks.c (memalign_check): Add alignment rounding.
15774 * malloc/malloc.c (_mid_memalign): New function.
15775 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15776 Implement by calling _mid_memalign.
15777 * manual/probes.texi (Memory Allocation Probes): Remove
15778 memory_valloc_retry and memory_pvalloc_retry.
15779
f3fd2628
SP
157802013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15781
4712799f
SP
15782 * locale/programs/locarchive.c (open_archive): Add const
15783 qualifier to ARCHIVEFNAME and copy default fname to
15784 DEFAULT_FNAME.
15785
0417b20f
SP
15786 [BZ #15601]
15787 * libio/tst-widetext.input: Rename Oriya to Odia.
15788 * locale/iso-639.def: Likewise.
15789
f3fd2628
SP
15790 * manual/probes.texi (Mathematical Function Probes): Add
15791 documentation for sin, cos, asin and acos probes.
15792 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15793 (__sin32): Add slowasin probe.
15794 (__cos32): Add slowacos probe.
15795 (__mpsin): Add slowsin probe.
15796 (__mpcos): Add slowcos probe.
15797
73c1ce4f
JM
157982013-11-19 Joseph Myers <joseph@codesourcery.com>
15799
15800 [BZ #15483]
15801 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15802 thread-local __sim_exceptions_thread and global
15803 __sim_exceptions_global.
15804 (__sim_disabled_exceptions): Change to thread-local
15805 __sim_disabled_exceptions_thread and global
15806 __sim_disabled_exceptions_global.
15807 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15808 and global __sim_round_mode_global.
15809 (__simulate_exceptions): Use thread-local floating-point state and
15810 set global state from it as needed.
15811 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15812 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15813 __sim_round_mode_thread.
15814 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15815 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15816 and global __sim_exceptions_global.
15817 (__sim_disabled_exceptions): Change to thread-local
15818 __sim_disabled_exceptions_thread and global
15819 __sim_disabled_exceptions_global.
15820 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15821 and global __sim_round_mode_global.
15822 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15823 (SIM_SET_GLOBAL): Likewise.
15824 * sysdeps/powerpc/soft-fp/sfp-machine.h
15825 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15826 __sim_round_mode_thread.
15827 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15828 __sim_disabled_exceptions_thread.
15829 (__sim_exceptions): Change to __sim_exceptions_thread.
15830 (__sim_disabled_exceptions): Change to
15831 __sim_disabled_exceptions_thread.
15832 (__sim_round_mode): Change to __sim_round_mode_thread.
15833 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15834 thread-local floating-point state and set global state from it as
15835 needed.
15836 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15837 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15838 (__sim_disabled_exceptions): Remove extern declaration.
15839 (feenableexcept): Use thread-local floating-point state and set
15840 global state from it as needed.
15841 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15842 extern declaration.
15843 (__sim_disabled_exceptions): Likewise.
15844 (__sim_round_mode): Likewise.
15845 (__fegetenv): Use thread-local floating-point state.
15846 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15847 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15848 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15849 floating-point state and set global state from it as needed.
15850 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15851 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15852 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15853 Likewise.
15854 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15855 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15856 Likewise.
15857 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15858 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15859 Use __sim_round_mode_thread.
15860 * math/test-fenv-tls.c: New file.
15861 * math/Makefile (tests): Add test-fenv-tls.
15862 ($(objpfx)test-fenv-tls): Depend on
15863 $(common-objpfx)nptl/libpthread.so.
15864
b5449b12
AS
158652013-11-19 Andreas Schwab <schwab@suse.de>
15866
15867 * locale/programs/locale.c (show_info): Decode wordarray elements.
15868 * locale/categories.def (LC_MONETARY): Add element for
15869 _NL_MONETARY_CRNCYSTR.
15870 * locale/C-monetary.c (conversion_rate): New variable.
15871 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15872 element.
15873
e186536b
CM
158742013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15875
15876 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15877 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15878
5c349950
PP
158792013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15880
15881 * elf/Makefile (tst-auxv): New test.
15882 * elf/tst-auxv.c: New
15883 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15884
699df45b
JM
158852013-11-18 Joseph Myers <joseph@codesourcery.com>
15886
15887 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15888 (hidden_proto): Caller changed.
15889 (hidden_tls_proto): New macro.
15890 (libc_hidden_tls_proto): Likewise.
15891 (rtld_hidden_tls_proto): Likewise.
15892 (libm_hidden_tls_proto): Likewise.
15893 (libresolv_hidden_tls_proto): Likewise.
15894 (librt_hidden_tls_proto): Likewise.
15895 (libdl_hidden_tls_proto): Likewise.
15896 (libnss_files_hidden_tls_proto): Likewise.
15897 (libnsl_hidden_tls_proto): Likewise.
15898 (libnss_nisplus_hidden_tls_proto): Likewise.
15899 (libutil_hidden_tls_proto): Likewise.
15900
b7589107
OB
159012013-11-18 Ondřej Bílka <neleai@seznam.cz>
15902
15903 [BZ #10253]
15904 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15905 (decompose_rpath): Defer expansion to fillin_rpath.
15906 (_dl_init_paths): Pass linkmap to fillin_rpath.
15907
250c23bd
RS
159082013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15909
15910 * benchtests/Makefile: Add strsep.
15911 * benchtests/bench-strsep.c: New file: strsep benchtest.
15912 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15913
a7931fcf
AS
159142013-11-18 Andreas Schwab <schwab@suse.de>
15915
15916 * locale/programs/locale.c (show_info) [case byte]: Check for
15917 '\377' instead of '\177'.
15918 * locale/C-monetary.c (not_available): Always use "\377".
15919 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15920 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15921 detect unavailable sign_posn locale elements.
15922 * locale/localeconv.c (__localeconv): For grouping and
15923 mon_grouping handle "\177" and "\377" like no grouping.
15924 (INT_ELEM): New macro. Use it to set all numeric members.
15925 * locale/programs/ld-monetary.c (monetary_read)
15926 <tok_mon_grouping>: Normalize single -1 to the empty string.
15927 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15928 Likewise.
15929
728dab0e
OB
159302013-11-07 Ondřej Bílka <neleai@seznam.cz>
15931
15932 [BZ #16055]
15933 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15934 when we match (nil).
15935 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15936
66294491
JM
159372013-11-16 Joseph Myers <joseph@codesourcery.com>
15938
ce665817
JM
15939 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15940 (NO_TEST_INLINE): Update value.
15941 (ERRNO_UNCHANGED): Likewise.
15942 (ERRNO_EDOM): Likewise.
15943 (ERRNO_ERANGE): Likewise.
15944 (IGNORE_RESULT): Likewise.
15945 (check_float_internal): Check signs of NaN results if
15946 TEST_NAN_SIGN used.
15947 (check_complex): Pass TEST_NAN_SIGN flag through to second
15948 check_float_internal call.
15949 (copysign_test_data): Add tests with quiet NaNs as second
15950 argument. Use TEST_NAN_SIGN.
15951 (fabs_test_data): Add test of negative quiet NaN argument. Use
15952 TEST_NAN_SIGN.
15953 (signbit_test_data): Add tests of quiet NaN argument.
15954 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15955
ee1466a9
JM
15956 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15957 $ignore_result.
15958 (parse_args): Handle function results specified as IGNORE.
15959 * math/libm-test.inc (IGNORE_RESULT): New macro.
15960 (check_float_internal): Do not check numerical result if flag
15961 IGNORE_RESULT set.
15962 (check_complex): Pass through IGNORE_RESULT to second
15963 check_float_internal call.
15964 (check_int): Do not check numerical result if flag IGNORE_RESULT
15965 set.
15966 (check_long): Likewise.
15967 (check_bool): Likewise.
15968 (check_longlong): Likewise.
15969 (lrint_test_data): Add tests of infinite and NaN arguments.
15970 (lrint_tonearest_test_data): Likewise.
15971 (lrint_towardzero_test_data): Likewise.
15972 (lrint_downward_test_data): Likewise.
15973 (lrint_upward_test_data): Likewise.
15974 (llrint_test_data): Likewise.
15975 (llrint_tonearest_test_data): Likewise.
15976 (llrint_towardzero_test_data): Likewise.
15977 (llrint_downward_test_data): Likewise.
15978 (llrint_upward_test_data): Likewise.
15979 (lround_test_data): Likewise.
15980 (llround_test_data): Likewise.
15981
14407b7e
JM
15982 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15983 (ERRNO_UNCHANGED): Update value.
15984 (ERRNO_EDOM): Likewise.
15985 (ERRNO_ERANGE): Likewise.
15986 (NO_TEST_INLINE_FLOAT): New macro.
15987 (NO_TEST_INLINE_DOUBLE): Likewise.
15988 (enable_test): New function.
15989 (RUN_TEST_f_f): Check enable_test before running test.
15990 (RUN_TEST_2_f): Likewise.
15991 (RUN_TEST_fff_f): Likewise.
15992 (RUN_TEST_c_f): Likewise.
15993 (RUN_TEST_f_f1): Likewise.
15994 (RUN_TEST_fF_f1): Likewise.
15995 (RUN_TEST_fI_f1): Likewise.
15996 (RUN_TEST_ffI_f1): Likewise.
15997 (RUN_TEST_c_c): Likewise.
15998 (RUN_TEST_cc_c): Likewise.
15999 (RUN_TEST_f_i): Likewise.
16000 (RUN_TEST_f_i_tg): Likewise.
16001 (RUN_TEST_ff_i_tg): Likewise.
16002 (RUN_TEST_f_b): Likewise.
16003 (RUN_TEST_f_b_tg): Likewise.
16004 (RUN_TEST_f_l): Likewise.
16005 (RUN_TEST_f_L): Likewise.
16006 (RUN_TEST_fFF_11): Likewise.
16007 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16008 conditionals.
16009 (cosh_test_data): Likewise.
16010 (exp_test_data): Likewise.
16011 (expm1_test_data): Likewise.
16012 (hypot_test_data): Likewise.
16013 (pow_test_data): Likewise.
16014 (sinh_test_data): Likewise.
16015 (tanh_test_data): Likewise.
16016 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16017 flags argument.
16018
ca07f197
JM
16019 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16020 tests with quiet NaN input and output.
16021 (acosh_test_data): Likewise.
16022 (asin_test_data): Likewise.
16023 (asinh_test_data): Likewise.
16024 (atan_test_data): Likewise.
16025 (atanh_test_data): Likewise.
16026 (atan2_test_data): Likewise.
16027 (cbrt_test_data): Likewise.
16028 (cos_test_data): Likewise.
16029 (cosh_test_data): Likewise.
16030 (erf_test_data): Likewise.
16031 (erfc_test_data): Likewise.
16032 (exp_test_data): Likewise.
16033 (exp10_test_data): Likewise.
16034 (exp2_test_data): Likewise.
16035 (expm1_test_data): Likewise.
16036 (hypot_test_data): Likewise.
16037 (j0_test_data): Likewise.
16038 (j1_test_data): Likewise.
16039 (jn_test_data): Likewise.
16040 (lgamma_test_data): Likewise.
16041 (log_test_data): Likewise.
16042 (log10_test_data): Likewise.
16043 (log1p_test_data): Likewise.
16044 (log2_test_data): Likewise.
16045 (pow_test_data): Likewise.
16046 (scalb_test_data): Likewise.
16047 (sin_test_data): Likewise.
16048 (sincos_test_data): Likewise.
16049 (sinh_test_data): Likewise.
16050 (tan_test_data): Likewise.
16051 (tanh_test_data): Likewise.
16052 (tgamma_test_data): Likewise.
16053 (y0_test_data): Likewise.
16054 (y1_test_data): Likewise.
16055 (yn_test_data): Likewise.
16056
66294491
JM
16057 [BZ #16167]
16058 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16059 argument being NaN and avoid computations with second argument in
16060 that case.
16061 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16062 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16063 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16064
1820b143
CL
160652013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16066
16067 * locale/iso-639.def: Add Chitwani Tharu (the).
16068
714bd261
AS
160692013-11-14 Andreas Schwab <schwab@suse.de>
16070
16071 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16072 word instead of empty string.
16073
7ab44563
AZ
160742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16075
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16077 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16079 (__fe_nomask_env): Likewise.
16080
e8470ea2
SE
160812013-11-13 Steve Ellcey <sellcey@mips.com>
16082
16083 * benchtests/bench-timing.h: Include time.h.
16084
17c1d9f0
L
160852013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16086
16087 [BZ #15997]
16088 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16089 to 3.4.0 for x32.
16090 * sysdeps/unix/sysv/linux/configure: Regenerated.
16091
9310c284
JM
160922013-11-13 Joseph Myers <joseph@codesourcery.com>
16093
16094 [BZ #16151]
16095 * stdlib/strtod_l.c (round_and_return): Do not consider
16096 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16097 exponent one less than half the least subnormal exponent.
16098 * stdlib/test-strtod-round-data: Add more tests.
16099 * stdlib/tst-strtod-round.c (tests): Regenerated.
16100
7a2ad8cf
AZ
161012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16102
16103 [BZ #14143]
16104 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16105 (__fe_mask_env): Likewise.
16106 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16107 libm_hidden_proto and add function prototype.
16108 (__fe_mask_env): Add function prototype.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16110 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16112 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16114 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16115
50727aa7
MS
161162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16117
b2f386c1 16118 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
16119 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16120
a615be46
MS
161212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16122
16123 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16124 of htab_find_slot().
16125
7ddace62
DM
161262013-11-11 David S. Miller <davem@davemloft.net>
16127
16128 [BZ #16150]
16129 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16130 symbol in the non-vis3 case in static builds.
16131 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16132 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16133 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16134 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16135
9182aa67
JK
161362013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16137
16138 [BZ #387]
16139 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16140 it is empty.
16141
450a2e2d
AZ
161422013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16143
b2f386c1
SP
16144 * benchtests/Makefile: Add bench-strtod.
16145 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16146
8ec3f656
AS
161472013-11-11 Andreas Schwab <schwab@suse.de>
16148
16149 [BZ #16153]
16150 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16151 terminating NUL in key length.
16152
76a9b998
AZ
161532013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16154
16155 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16156 Add artificial ODP entry for vDSO symbol for PPC64.
16157 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16158 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16159
e4368156
OB
161602013-11-07 Ondřej Bílka <neleai@seznam.cz>
16161
16162 [BZ #15374]
16163 * nss/getent.c (services_keys): Recognize services starting with digit.
16164
8d6bb57c
DM
161652013-11-06 David S. Miller <davem@davemloft.net>
16166
16167 [BZ #15985]
16168 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16169 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16170
e256c421
WN
161712013-11-06 Will Newton <will.newton@linaro.org>
16172
16173 * manual/memory.texi (Malloc Examples): Remove register
16174 keyword from examples.
16175
f6e12daa 161762013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16177
f6e12daa 16178 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16179
9d880655
AS
161802013-11-04 Joseph Myers <joseph@codesourcery.com>
16181
fd2f9486 16182 [BZ #6981]
9d880655
AS
16183 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16184 depending on [__GCC_IEC_559 > 0].
16185 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16186 depending on [__GCC_IEC_559_COMPLEX > 0].
16187
ae129d3c
CL
161882013-11-03 Chris Leonard <cjl@sugarlabs.org>
16189
16190 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16191 to iso-639.def.
16192
4a15c2a4 161932013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
16194
16195 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16196
8b35e35d
OB
161972013-11-01 Ondřej Bílka <neleai@seznam.cz>
16198
16199 [BZ #16112]
16200 * malloc/malloc (malloc_info): Do not handle first bin as
16201 special case.
16202
1d70fd6c
CL
162032013-11-01 Chris Leonard <cjl@sugarlabs.org>
16204
16205 * locale/iso-639.def: Add Central Nahuatl (nhn).
16206
8c5c2600
BH
162072013-11-01 Bruno Haible <bruno@clisp.org>
16208
16209 [BZ #7003]
16210 * manual/math.texi (BSD Random): Specify range upper bound as
16211 in POSIX.
16212
da5579c2
CL
162132013-10-31 Chris Leonard <cjl@sugarlabs.org>
16214
16215 * locale/iso-639.def: Add Meadow Mari (mhr).
16216
5d30d853
OB
162172013-10-31 Ondřej Bílka <neleai@seznam.cz>
16218
16219 [BZ #14752], [BZ #15763]
16220 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16221 Validate name.
16222 * rt/tst_shm.c: Add test for escaping directory.
16223
a4966c61
AS
162242013-10-31 Andreas Schwab <schwab@suse.de>
16225
8a43e768 16226 [BZ #15917]
a4966c61
AS
16227 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16228 followed by 'x' as part of digit sequence.
16229 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16230
28d708c4
MAP
162312013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16232
16233 [BZ #16037]
16234 * configure.ac: allow GNU Make 4.0 and greater.
16235 * configure: Regenerated.
16236
a56ee40b
WN
162372013-10-30 Will Newton <will.newton@linaro.org>
16238
16239 [BZ #16038]
16240 * malloc/hooks.c (memalign_check): Limit alignment to the
16241 maximum representable power of two.
16242 * malloc/malloc.c (__libc_memalign): Likewise.
16243 * malloc/tst-memalign.c (do_test): Add test for very
16244 large alignment values.
16245 * malloc/tst-posix_memalign.c (do_test): Likewise.
16246
c6e4925d
OB
162472013-10-30 Ondřej Bílka <neleai@seznam.cz>
16248
16249 [BZ #11087]
16250 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16251 (munmap_chunk): Likewise.
16252 (mremap_chunk): Likewise.
16253
162542013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 16255
8a43e768 16256 [BZ #15799]
bbea82f7
OB
16257 * stdlib/div.c (div): Remove obsolete code.
16258 * stdlib/ldiv.c (ldiv): Likewise.
16259 * stdlib/lldiv.c (lldiv): Likewise.
16260
977f4b31
SP
162612013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16262
16263 [BZ #16071]
16264 * nss/nss_files/files-XXX.c (get_contents_ret): New
16265 enumerator.
16266 (get_contents): New function.
16267 (internal_getent): Use it. Expand size of LINEBUFLEN.
16268
cb8a6dbd
MF
162692013-10-30 Mike Frysinger <vapier@gentoo.org>
16270
16271 * configure.in: Moved to ...
16272 * configure.ac: ... here. Change reference to configure.in
16273 to configure.ac.
16274 * sysdeps/arm/preconfigure.ac: ... here.
16275 configure.in to configure.ac.
16276 * sysdeps/gnu/configure.in: Moved to ...
16277 * sysdeps/gnu/configure.ac: ... here.
16278 * sysdeps/i386/configure.in: Moved to ...
16279 * sysdeps/i386/configure.ac: ... here.
16280 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16281 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16282 * sysdeps/mach/configure.in: Moved to ...
16283 * sysdeps/mach/configure.ac: ... here.
16284 * sysdeps/mach/hurd/configure.in: Moved to ...
16285 * sysdeps/mach/hurd/configure.ac: ... here.
16286 * sysdeps/powerpc/configure.in: Moved to ...
16287 * sysdeps/powerpc/configure.ac: ... here.
16288 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16289 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16290 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16291 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16292 * sysdeps/s390/s390-32/configure.in: Moved to ...
16293 * sysdeps/s390/s390-32/configure.ac: ... here.
16294 * sysdeps/s390/s390-64/configure.in: Moved to ...
16295 * sysdeps/s390/s390-64/configure.ac: ... here.
16296 * sysdeps/sh/configure.in: Moved to ...
16297 * sysdeps/sh/configure.ac: ... here.
16298 * sysdeps/sparc/configure.in: Moved to ...
16299 * sysdeps/sparc/configure.ac: ... here.
16300 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16301 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16302 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16303 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16304 * sysdeps/x86_64/configure.in: Moved to ...
16305 * sysdeps/x86_64/configure.ac: ... here.
16306 * sysdeps/x86_64/preconfigure.in: Moved to ...
16307 * sysdeps/x86_64/preconfigure.ac: ... here.
16308 * aclocal.m4: Change reference to configure.in to configure.ac.
16309 * config.h.in: Likewise.
16310 * manual/install.texi: Likewise.
16311 * manual/maint.texi: Likewise.
16312 * Makefile: Likewise.
16313 * malloc/Makefile: Likewise.
16314 * nscd/Makefile: Likewise.
16315 * Makeconfig: Change reference to configure.in and
16316 preconfigure.in to configure.ac and preconfigure.ac
16317 respectively.
16318 * INSTALL: Regenerated.
16319 * configure: Likewise.
16320 * sysdeps/gnu/configure: Likewise.
16321 * sysdeps/i386/configure: Likewise.
16322 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16323 * sysdeps/mach/configure: Likewise.
16324 * sysdeps/mach/hurd/configure: Likewise.
16325 * sysdeps/powerpc/configure: Likewise.
16326 * sysdeps/powerpc/powerpc32/configure: Likewise.
16327 * sysdeps/powerpc/powerpc64/configure: Likewise.
16328 * sysdeps/s390/s390-32/configure: Likewise.
16329 * sysdeps/s390/s390-64/configure: Likewise.
16330 * sysdeps/sh/configure: Likewise.
16331 * sysdeps/sparc/configure: Likewise.
16332 * sysdeps/unix/sysv/linux/configure: Likewise.
16333 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16334 * sysdeps/x86_64/configure: Likewise.
16335 * sysdeps/x86_64/preconfigure: Likewise.
16336
36a4953a
AS
163372013-10-29 Andreas Schwab <schwab@suse.de>
16338
16339 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16340
c79a1204
SP
163412013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16342
dfa1b402
SP
16343 * benchtests/pow-inputs: Add new inputs.
16344
54f73d9c
SP
16345 * benchtests/exp-inputs: Add new inputs.
16346
c79a1204
SP
16347 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16348 conditional check for return value.
16349 (__cos32): Likewise.
16350
67beb545 163512013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
16352
16353 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16354 to provide a boost for large inputs with word alignment.
16355 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16356 implementation based on optimized PPC64 strcpy.
16357 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16358 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16359 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16360 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16361
151659f6
OB
163622013-10-25 Ondřej Bílka <neleai@seznam.cz>
16363
482a077e 16364 [BZ #2801]
151659f6
OB
16365 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16366
10b0f26b
OB
163672013-10-25 Ondřej Bílka <neleai@seznam.cz>
16368
16369 [BZ #14876]
16370 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16371 * time/tst-strptime.c (day_tests): Add testcase.
16372
ca42d35e
OB
163732013-10-25 Ondřej Bílka <neleai@seznam.cz>
16374
482a077e 16375 [BZ #14029]
ca42d35e
OB
16376 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16377
52e6d801
FB
163782013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16379
16380 [BZ #16074]
16381 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16382 MAP_FAILED on error.
16383
7cbcdb36
SP
163842013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16385
16386 [BZ #16072]
16387 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16388 heap for large requests.
16389
894f3f10
AM
163902013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16391
16392 [BZ #9954]
16393 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16394 result if the result has no associated interface.
16395 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16396 interface for all 127.X.Y.Z addresses.
16397
b85545a6
CL
163982013-10-24 Chris Leonard <cjl@sugarlabs.org>
16399
16400 * locale/iso-639.def: Add Ligurian (lij)
16401
d1f23d46
OB
164022013-10-21 Ondřej Bílka <neleai@seznam.cz>
16403
16404 [BZ #15825]
16405 * sunrpc/rpc_main.c: Document rpcgen -5.
16406
4db5b08f
MS
164072013-10-19 Michael Stahl <mstahl@redhat.com>
16408
16409 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16410
a471e96a
OB
164112013-10-19 Ondřej Bílka <neleai@seznam.cz>
16412
d1f23d46 16413 [BZ #10278]
a471e96a
OB
16414 * posix/glob.c: Match only directories when trailing slash is present.
16415 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16416 (main): Add testcase.
16417
45c30c61
OB
164182013-10-19 Ondřej Bílka <neleai@seznam.cz>
16419
16420 [BZ #15670]
16421 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16422
484c12fb
CD
164232013-10-18 Carlos O'Donell <carlos@redhat.com>
16424
3d7dc513
CD
16425 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16426 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16427 AUTH_DES and cindex for FIPS 140-2.
16428 (DES Encryption): Add cindex FIPS 46-3.
16429
484c12fb
CD
16430 * locale/locarchive.h (struct locarhandle): Add fname.
16431 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16432 if an optional argument was specified to --list-archive,
16433 otherwise NULL.
16434 * locale/programs/locarchive.c (show_archive_content): Take new
16435 argument fname and pass it via ah.fname to open_archive.
16436 * locale/programs/localedef.h: Update decl.
16437 (open_archive): If AH->fname is non-null, open that file
16438 rather than the default file name, and don't ignore ENOENT.
16439 (create_archive): Set AH.fname to NULL.
16440 (delete_locales_from_archive): Likewise.
16441 (add_locales_to_archive): Likewise.
16442 * locale/programs/locfile.c (write_all_categories): Likewise.
16443
3c8325fb
JM
164442013-10-18 Joseph Myers <joseph@codesourcery.com>
16445 Aldy Hernandez <aldyh@redhat.com>
16446
16447 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16448 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16449 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16450 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16451 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16452 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16453 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16454 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16455 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16456 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16457 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16458 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16459 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16460 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16461 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16462 Likewise.
16463 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16464 Likewise.
16465 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16466 Likewise.
16467 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16468 Likewise.
16469 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16470 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16471 Likewise.
16472 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16473 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16474 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16475 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16476 Likewise.
16477 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16478 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16479 * sysdeps/powerpc/preconfigure: Likewise.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16481 Likewise.
16482 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16483 Replace contents of file by #include of <fenv_libc.h>.
16484 * sysdeps/powerpc/soft-fp/sfp-machine.h
16485 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16486 and <sys/prctl.h>.
16487 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16488 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16489 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16490 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16491 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16492 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16494 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16495 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16496 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16497 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16498 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16500 Allow copysignl PLT reference to be missing.
16501
5abe0682
RS
165022013-10-18 Richard Sandiford <richard@codesourcery.com>
16503 Joseph Myers <joseph@codesourcery.com
16504
16505 [BZ #15948]
16506 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16507 single character.
16508 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16509
c7738d08
SP
165102013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16511
16512 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16513 * elf/tst-tls1.c: Likewise.
16514 * elf/tst-tls10.h: Likewise.
16515 * elf/tst-tls14.c: Likewise.
16516 * elf/tst-tls2.c: Likewise.
16517 * elf/tst-tls3.c: Likewise.
16518 * elf/tst-tls4.c: Likewise.
16519 * elf/tst-tls5.c: Likewise.
16520 * elf/tst-tls6.c: Likewise.
16521 * elf/tst-tls7.c: Likewise.
16522 * elf/tst-tls8.c: Likewise.
16523 * elf/tst-tls9.c: Likewise.
16524 * elf/tst-tlsmod1.c: Likewise.
16525 * elf/tst-tlsmod13.c: Likewise.
16526 * elf/tst-tlsmod13a.c: Likewise.
16527 * elf/tst-tlsmod14a.c: Likewise.
16528 * elf/tst-tlsmod16a.c: Likewise.
16529 * elf/tst-tlsmod16b.c: Likewise.
16530 * elf/tst-tlsmod2.c: Likewise.
16531 * elf/tst-tlsmod3.c: Likewise.
16532 * elf/tst-tlsmod4.c: Likewise.
16533 * elf/tst-tlsmod5.c: Likewise.
16534 * elf/tst-tlsmod6.c: Likewise.
16535
0bfcf2c7
OB
165362013-10-18 Ondřej Bílka <neleai@seznam.cz>
16537
16538 [BZ #12486]
16539 * malloc/malloc.c: remove checks for statistics.
16540
264aad1e
OB
165412013-10-17 Ondřej Bílka <neleai@seznam.cz>
16542
16543 [BZ #15277]
16544 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16545 * inet/tst-network.c: Add testcase.
16546
b957ced8
AS
165472013-10-17 Andreas Schwab <schwab@suse.de>
16548
16549 [BZ #15218]
16550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16551 to determine canonical name.
16552
c5d5d574
OB
165532013-10-17 Ondřej Bílka <neleai@seznam.cz>
16554
16555 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16556 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16579 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16580 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16585 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16613
e5c2c2d0
JM
166142013-10-17 Joseph Myers <joseph@codesourcery.com>
16615
16616 [BZ #16041]
16617 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16618 make result into a quiet NaN.
16619
51ca9e29
JM
166202013-10-16 Joseph Myers <joseph@codesourcery.com>
16621
16622 * soft-fp/adddf3.c: Fix horizontal whitespace.
16623 * soft-fp/addsf3.c: Likewise.
16624 * soft-fp/addtf3.c: Likewise.
16625 * soft-fp/divdf3.c: Likewise.
16626 * soft-fp/divsf3.c: Likewise.
16627 * soft-fp/divtf3.c: Likewise.
16628 * soft-fp/double.h: Likewise.
16629 * soft-fp/eqdf2.c: Likewise.
16630 * soft-fp/eqsf2.c: Likewise.
16631 * soft-fp/eqtf2.c: Likewise.
16632 * soft-fp/extenddftf2.c: Likewise.
16633 * soft-fp/extended.h: Likewise.
16634 * soft-fp/extendsfdf2.c: Likewise.
16635 * soft-fp/extendsftf2.c: Likewise.
16636 * soft-fp/extendxftf2.c: Likewise.
16637 * soft-fp/fixdfdi.c: Likewise.
16638 * soft-fp/fixdfsi.c: Likewise.
16639 * soft-fp/fixdfti.c: Likewise.
16640 * soft-fp/fixsfdi.c: Likewise.
16641 * soft-fp/fixsfsi.c: Likewise.
16642 * soft-fp/fixsfti.c: Likewise.
16643 * soft-fp/fixtfdi.c: Likewise.
16644 * soft-fp/fixtfsi.c: Likewise.
16645 * soft-fp/fixtfti.c: Likewise.
16646 * soft-fp/fixunsdfdi.c: Likewise.
16647 * soft-fp/fixunsdfsi.c: Likewise.
16648 * soft-fp/fixunsdfti.c: Likewise.
16649 * soft-fp/fixunssfdi.c: Likewise.
16650 * soft-fp/fixunssfsi.c: Likewise.
16651 * soft-fp/fixunssfti.c: Likewise.
16652 * soft-fp/fixunstfdi.c: Likewise.
16653 * soft-fp/fixunstfsi.c: Likewise.
16654 * soft-fp/fixunstfti.c: Likewise.
16655 * soft-fp/floatdidf.c: Likewise.
16656 * soft-fp/floatdisf.c: Likewise.
16657 * soft-fp/floatditf.c: Likewise.
16658 * soft-fp/floatsidf.c: Likewise.
16659 * soft-fp/floatsisf.c: Likewise.
16660 * soft-fp/floatsitf.c: Likewise.
16661 * soft-fp/floattidf.c: Likewise.
16662 * soft-fp/floattisf.c: Likewise.
16663 * soft-fp/floattitf.c: Likewise.
16664 * soft-fp/floatundidf.c: Likewise.
16665 * soft-fp/floatundisf.c: Likewise.
16666 * soft-fp/floatunditf.c: Likewise.
16667 * soft-fp/floatunsidf.c: Likewise.
16668 * soft-fp/floatunsisf.c: Likewise.
16669 * soft-fp/floatunsitf.c: Likewise.
16670 * soft-fp/floatuntidf.c: Likewise.
16671 * soft-fp/floatuntisf.c: Likewise.
16672 * soft-fp/floatuntitf.c: Likewise.
16673 * soft-fp/fmadf4.c: Likewise.
16674 * soft-fp/fmasf4.c: Likewise.
16675 * soft-fp/fmatf4.c: Likewise.
16676 * soft-fp/gedf2.c: Likewise.
16677 * soft-fp/gesf2.c: Likewise.
16678 * soft-fp/getf2.c: Likewise.
16679 * soft-fp/ledf2.c: Likewise.
16680 * soft-fp/lesf2.c: Likewise.
16681 * soft-fp/letf2.c: Likewise.
16682 * soft-fp/muldf3.c: Likewise.
16683 * soft-fp/mulsf3.c: Likewise.
16684 * soft-fp/multf3.c: Likewise.
16685 * soft-fp/negdf2.c: Likewise.
16686 * soft-fp/negsf2.c: Likewise.
16687 * soft-fp/negtf2.c: Likewise.
16688 * soft-fp/op-1.h: Likewise.
16689 * soft-fp/op-2.h: Likewise.
16690 * soft-fp/op-4.h: Likewise.
16691 * soft-fp/op-8.h: Likewise.
16692 * soft-fp/op-common.h: Likewise.
16693 * soft-fp/quad.h: Likewise.
16694 * soft-fp/single.h: Likewise.
16695 * soft-fp/soft-fp.h: Likewise.
16696 * soft-fp/sqrtdf2.c: Likewise.
16697 * soft-fp/sqrtsf2.c: Likewise.
16698 * soft-fp/sqrttf2.c: Likewise.
16699 * soft-fp/subdf3.c: Likewise.
16700 * soft-fp/subsf3.c: Likewise.
16701 * soft-fp/subtf3.c: Likewise.
16702 * soft-fp/truncdfsf2.c: Likewise.
16703 * soft-fp/trunctfdf2.c: Likewise.
16704 * soft-fp/trunctfsf2.c: Likewise.
16705 * soft-fp/trunctfxf2.c: Likewise.
16706 * soft-fp/unorddf2.c: Likewise.
16707 * soft-fp/unordsf2.c: Likewise.
16708 * soft-fp/unordtf2.c: Likewise.
16709
9ebb0332
JM
167102013-10-15 Joseph Myers <joseph@codesourcery.com>
16711
16712 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16713 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16714
4b1a6d8b
OB
167152013-10-15 Ondřej Bílka <neleai@seznam.cz>
16716
16717 * elf/dl-libc.c: Clear initfini list after freeing.
16718
1e145589
JM
167192013-10-14 Joseph Myers <joseph@codesourcery.com>
16720
16721 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16722 * soft-fp/addsf3.c: Likewise.
16723 * soft-fp/addtf3.c: Likewise.
16724 * soft-fp/divdf3.c: Likewise.
16725 * soft-fp/divsf3.c: Likewise.
16726 * soft-fp/divtf3.c: Likewise.
16727 * soft-fp/double.h: Likewise.
16728 * soft-fp/eqdf2.c: Likewise.
16729 * soft-fp/eqsf2.c: Likewise.
16730 * soft-fp/eqtf2.c: Likewise.
16731 * soft-fp/extenddftf2.c: Likewise.
16732 * soft-fp/extended.h: Likewise.
16733 * soft-fp/extendsfdf2.c: Likewise.
16734 * soft-fp/extendsftf2.c: Likewise.
16735 * soft-fp/extendxftf2.c: Likewise.
16736 * soft-fp/fixdfdi.c: Likewise.
16737 * soft-fp/fixdfsi.c: Likewise.
16738 * soft-fp/fixdfti.c: Likewise.
16739 * soft-fp/fixsfdi.c: Likewise.
16740 * soft-fp/fixsfsi.c: Likewise.
16741 * soft-fp/fixsfti.c: Likewise.
16742 * soft-fp/fixtfdi.c: Likewise.
16743 * soft-fp/fixtfsi.c: Likewise.
16744 * soft-fp/fixtfti.c: Likewise.
16745 * soft-fp/fixunsdfdi.c: Likewise.
16746 * soft-fp/fixunsdfsi.c: Likewise.
16747 * soft-fp/fixunsdfti.c: Likewise.
16748 * soft-fp/fixunssfdi.c: Likewise.
16749 * soft-fp/fixunssfsi.c: Likewise.
16750 * soft-fp/fixunssfti.c: Likewise.
16751 * soft-fp/fixunstfdi.c: Likewise.
16752 * soft-fp/fixunstfsi.c: Likewise.
16753 * soft-fp/fixunstfti.c: Likewise.
16754 * soft-fp/floatdidf.c: Likewise.
16755 * soft-fp/floatdisf.c: Likewise.
16756 * soft-fp/floatditf.c: Likewise.
16757 * soft-fp/floatsidf.c: Likewise.
16758 * soft-fp/floatsisf.c: Likewise.
16759 * soft-fp/floatsitf.c: Likewise.
16760 * soft-fp/floattidf.c: Likewise.
16761 * soft-fp/floattisf.c: Likewise.
16762 * soft-fp/floattitf.c: Likewise.
16763 * soft-fp/floatundidf.c: Likewise.
16764 * soft-fp/floatundisf.c: Likewise.
16765 * soft-fp/floatunsidf.c: Likewise.
16766 * soft-fp/floatunsisf.c: Likewise.
16767 * soft-fp/floatuntidf.c: Likewise.
16768 * soft-fp/floatuntisf.c: Likewise.
16769 * soft-fp/floatuntitf.c: Likewise.
16770 * soft-fp/fmadf4.c: Likewise.
16771 * soft-fp/fmasf4.c: Likewise.
16772 * soft-fp/fmatf4.c: Likewise.
16773 * soft-fp/gedf2.c: Likewise.
16774 * soft-fp/gesf2.c: Likewise.
16775 * soft-fp/getf2.c: Likewise.
16776 * soft-fp/ledf2.c: Likewise.
16777 * soft-fp/lesf2.c: Likewise.
16778 * soft-fp/letf2.c: Likewise.
16779 * soft-fp/muldf3.c: Likewise.
16780 * soft-fp/mulsf3.c: Likewise.
16781 * soft-fp/multf3.c: Likewise.
16782 * soft-fp/negdf2.c: Likewise.
16783 * soft-fp/negsf2.c: Likewise.
16784 * soft-fp/negtf2.c: Likewise.
16785 * soft-fp/op-1.h: Likewise.
16786 * soft-fp/op-2.h: Likewise.
16787 * soft-fp/op-4.h: Likewise.
16788 * soft-fp/op-8.h: Likewise.
16789 * soft-fp/op-common.h: Likewise.
16790 * soft-fp/quad.h: Likewise.
16791 * soft-fp/single.h: Likewise.
16792 * soft-fp/soft-fp.h: Likewise.
16793 * soft-fp/sqrtdf2.c: Likewise.
16794 * soft-fp/sqrtsf2.c: Likewise.
16795 * soft-fp/sqrttf2.c: Likewise.
16796 * soft-fp/subdf3.c: Likewise.
16797 * soft-fp/subsf3.c: Likewise.
16798 * soft-fp/subtf3.c: Likewise.
16799 * soft-fp/truncdfsf2.c: Likewise.
16800 * soft-fp/trunctfdf2.c: Likewise.
16801 * soft-fp/trunctfsf2.c: Likewise.
16802 * soft-fp/trunctfxf2.c: Likewise.
16803 * soft-fp/unorddf2.c: Likewise.
16804 * soft-fp/unordsf2.c: Likewise.
16805 * soft-fp/unordtf2.c: Likewise.
16806
17c48a60
OB
168072013-10-14 Ondřej Bílka <neleai@seznam.cz>
16808
16809 [BZ #15672]
16810 * misc/error.c (error_tail): Fix possible buffer overflow.
16811
cabba934
OB
168122013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16813
16814 [BZ #13028]
16815 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16816 address.
16817
94bf958a
PM
168182013-10-14 P. J. McDermott <pj@pehjota.net>
16819
16820 [BZ #832]
16821 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16822 testing pipefail option.
16823
71b4dea7
JM
168242013-10-12 Joseph Myers <joseph@codesourcery.com>
16825
16826 * soft-fp/double.h: Indent preprocessor directives inside #if.
16827 * soft-fp/extended.h: Likewise.
16828 * soft-fp/op-2.h: Likewise.
16829 * soft-fp/op-4.h: Likewise.
16830 * soft-fp/op-common.h: Likewise.
16831 * soft-fp/quad.h: Likewise.
16832 * soft-fp/single.h: Likewise.
16833 * soft-fp/soft-fp.h: Likewise.
16834
55602758
YC
168352013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16836
16837 * iconv/iconv_prog.c: Fix typos.
16838 * stdio-common/psiginfo-data.h: Likewise.
16839
9cd83302
RT
168402013-10-12 Reuben Thomas <rrt@sc3d.org>
16841
16842 [BZ #15764]
16843 * locale/setlocale.c: Fix typo.
16844
99fd9f47
JM
168452013-10-12 Joseph Myers <joseph@codesourcery.com>
16846
b7ea74f0
JM
16847 [BZ #16036]
16848 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16849 signaling NaN arguments.
16850 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16851 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16852
8a509447
JM
16853 [BZ #14910]
16854 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16855 unordered operands.
16856 * soft-fp/gesf2.c (__gesf2): Likewise.
16857 * soft-fp/getf2.c (__getf2): Likewise.
16858 * soft-fp/ledf2.c (__ledf2): Likewise.
16859 * soft-fp/lesf2.c (__lesf2): Likewise.
16860 * soft-fp/letf2.c (__letf2): Likewise.
16861
98998e9f
JM
16862 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16863 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16864 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16865 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16866 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16867 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16868 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16869 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16870 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16871 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16872 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16873 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16874 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16875 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16876 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16877 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16878 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16879 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16880 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16881 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16882 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16883 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16884 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16885 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16886 * soft-fp/floattidf.c (__floattidf): Likewise.
16887 * soft-fp/floattisf.c (__floattisf): Likewise.
16888 * soft-fp/floattitf.c (__floattitf): Likewise.
16889 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16890 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16891 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16892 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16893 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16894 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16895 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16896 * soft-fp/gesf2.c (__gesf2): Likewise.
16897 * soft-fp/getf2.c (__getf2): Likewise.
16898 * soft-fp/ledf2.c (__ledf2): Likewise.
16899 * soft-fp/lesf2.c (__lesf2): Likewise.
16900 * soft-fp/letf2.c (__letf2): Likewise.
16901
8edc4a11
JM
16902 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16903 Undefine and redefine.
16904 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16905 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16906 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16907 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16908 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16909 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16910 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16911 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16912 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16913 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16914 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16915 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16916 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16917 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16918 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16919
8399acaf
JM
16920 [BZ #16032]
16921 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16922 without decrementing exponent if mantissa >= that for the
16923 denominator, not >.
16924 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16925 denominator, not >. Decrement exponent in < case instead of
16926 incrementing in >= case.
16927 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16928 without decrementing exponent if mantissa >= that for the
16929 denominator, not >.
16930
99fd9f47
JM
16931 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16932 computing saturated result for unsigned overflow.
16933
10e1cf6b
SP
169342013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16935 Jeff Law <law@redhat.com>
16936
16937 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16938 (atan2Mp): Add systemtap probe marker.
16939 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16940 (__ieee754_log): Add systemtap probe marker.
16941 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16942 (atanMp): Add systemtap probe marker.
16943 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16944 (tanMp): Add systemtap probe marker.
16945 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16946 (__slowexp): Add systemtap probe marker.
16947 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16948 (__slowpow): Add systemtap probe marker.
16949 * manual/probes.texi: Document probes.
16950
3d110c7c
EB
169512013-10-11 Eric Biggers <ebiggers3@gmail.com>
16952
16953 [BZ #15362]
16954 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16955 written.
16956 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16957 written.
16958 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16959 written to buffer but not flushed.
16960 * libio/iofwrite_u.c: Likewise.
16961 * libio/iopadn.c: Return bytes returned even if EOF was
16962 encountered.
16963 * libio/iowpadn.c: Likewise.
16964 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16965 if _IO_padn does not write the whole buffer.
16966 [!COMPILE_WPRINTF] (PAD): Likewise.
16967
75b4202a
DM
169682013-10-10 David S. Miller <davem@davemloft.net>
16969
16970 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16971 directory block.
16972
6c6352e6
JM
169732013-10-10 Joseph Myers <joseph@codesourcery.com>
16974
33b853c3
JM
16975 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16976 instead of FSF address.
16977 * soft-fp/fixdfti.c: Likewise.
16978 * soft-fp/fixsfti.c: Likewise.
16979 * soft-fp/fixtfti.c: Likewise.
16980 * soft-fp/fixunsdfti.c: Likewise.
16981 * soft-fp/fixunssfti.c: Likewise.
16982 * soft-fp/fixunstfti.c: Likewise.
16983 * soft-fp/floattidf.c: Likewise.
16984 * soft-fp/floattisf.c: Likewise.
16985 * soft-fp/floattitf.c: Likewise.
16986 * soft-fp/floatuntidf.c: Likewise.
16987 * soft-fp/floatuntisf.c: Likewise.
16988 * soft-fp/floatuntitf.c: Likewise.
16989 * soft-fp/trunctfxf2.c: Likewise.
16990
6c6352e6
JM
16991 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16992 * soft-fp/fixdfti.c: Likewise.
16993 * soft-fp/fixsfti.c: Likewise.
16994 * soft-fp/fixtfti.c: Likewise.
16995 * soft-fp/fixunsdfti.c: Likewise.
16996 * soft-fp/fixunssfti.c: Likewise.
16997 * soft-fp/fixunstfti.c: Likewise.
16998 * soft-fp/floattidf.c: Likewise.
16999 * soft-fp/floattisf.c: Likewise.
17000 * soft-fp/floattitf.c: Likewise.
17001 * soft-fp/floatuntidf.c: Likewise.
17002 * soft-fp/floatuntisf.c: Likewise.
17003 * soft-fp/floatuntitf.c: Likewise.
17004 * soft-fp/trunctfxf2.c: Likewise.
17005
3bf78b71
DM
170062013-10-10 David S. Miller <davem@davemloft.net>
17007
17008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17009
6f10289e
JM
170102013-10-10 Joseph Myers <joseph@codsourcery.com>
17011
bd878fc0
JM
17012 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17013 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17014 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17015 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17016 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17017 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17018 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17019
6f10289e
JM
17020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17021 for NaNs before doing comparisons on argument.
17022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17023 Likewise.
17024
321e2684
WN
170252013-10-10 Will Newton <will.newton@linaro.org>
17026
17027 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17028 passed to _int_memalign does not overflow.
17029
40fefba1
TR
170302013-10-10 Torvald Riegel <triegel@redhat.com>
17031
17032 * scripts/bench.pl: Add include-sources directive.
17033 * benchtests/README: Update documentation.
17034
2ae21ed2
JM
170352013-10-10 Joseph Myers <joseph@codesourcery.com>
17036
dcc2dd3f
JM
17037 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17038 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17039 instead of FP_INIT_ROUNDMODE.
17040 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17041 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17042
2ae21ed2
JM
17043 [BZ #16034]
17044 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17045 copy class of input value.
17046 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17047 not handle exceptions.
17048 * soft-fp/negsf2.c (__negsf2): Likewise.
17049 * soft-fp/negtf2.c (__negtf2): Likewise.
17050 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17051
cb8f9562
JM
170522013-10-09 Joseph Myers <joseph@codesourcery.com>
17053
17054 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17055 semicolon. From Linux kernel.
17056
5b60c59d
AB
170572013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17058
17059 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17060
b86835ca
YC
170612013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17062
17063 [BZ #156]
17064 * manual/socket.texi: Added statement about buffer
17065 for gethostbyname2_r.
17066
e7044ea7
OB
170672013-10-08 Ondřej Bílka <neleai@seznam.cz>
17068
17069 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17070 Use .p2align directive instead, throughout.
17071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17072 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17073 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17074 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17076 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17077 * sysdeps/x86_64/strchr.S: Likewise.
17078 * sysdeps/x86_64/strrchr.S: Likewise.
17079
09544cbc
SP
170802013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17081
88576635
SP
17082 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17083
e7b2d1dd
SP
17084 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17085
09544cbc
SP
17086 * sysdeps/generic/math_private.h (__mpsin1): Remove
17087 declaration.
17088 (__mpcos1): Likewise.
17089 (__mpsin): New argument __range_reduce.
17090 (__mpcos): Likewise.
17091 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17092 (slow): Use __mpsin and __mpcos.
17093 (slow1): Likewise.
17094 (slow2): Likewise.
17095 (sloww): Likewise.
17096 (sloww1): Likewise.
17097 (sloww2): Likewise.
17098 (bsloww): Likewise.
17099 (bsloww1): Likewise.
17100 (bsloww2): Likewise.
17101 (cslow2): Likewise.
17102 (csloww): Likewise.
17103 (csloww1): Likewise.
17104 (csloww2): Likewise.
17105 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17106 range_reduce. Merge in __mpsin1.
17107 (__mpcos): Likewise.
17108 (__mpsin1): Remove.
17109 (__mpcos1): Likewise.
17110
7602d070
JM
171112013-10-07 Joseph Myers <joseph@codesourcery.com>
17112
17113 * locale/loadlocale.c (_nl_intern_locale_data): Use
17114 LOCFILE_ALIGNED_P.
17115 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17116 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17117 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17118 obstack data is appropriately aligned.
17119 (obstack_int32_grow_fast): Likewise.
17120 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17121 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17122 (add_locale_uint32_array): Likewise.
17123
a357259b
SP
171242013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17125
17126 * benchtests/Makefile: Remove ARGLIST and RET variables.
17127 ($(objpfx)bench-%.c): Pass only function name to the script.
17128 * benchtests/README: Update documentation.
17129 * benchtests/acos-inputs: Add new directives.
17130 * benchtests/acosh-inputs: Likewise.
17131 * benchtests/asin-inputs: Likewise.
17132 * benchtests/asinh-inputs: Likewise.
17133 * benchtests/atan-inputs: Likewise.
17134 * benchtests/atanh-inputs: Likewise.
17135 * benchtests/cos-inputs: Likewise.
17136 * benchtests/cosh-inputs: Likewise.
17137 * benchtests/exp-inputs: Likewise.
17138 * benchtests/log-inputs: Likewise.
17139 * benchtests/pow-inputs: Likewise.
17140 * benchtests/rint-inputs: Likewise.
17141 * benchtests/sin-inputs: Likewise.
17142 * benchtests/sinh-inputs: Likewise.
17143 * benchtests/tan-inputs: Likewise.
17144 * benchtests/tanh-inputs: Likewise.
17145 * scripts/bench.pl: Add support for new directives.
17146
9ec1b13d
AM
171472013-10-07 Alan Modra <amodra@gmail.com>
17148
17149 * README: Fix careless merge.
17150
8b7d57cd
AM
171512013-10-05 Alan Modra <amodra@gmail.com>
17152
17153 * NEWS: Mention powerpc64le support and bugs fixed.
17154 * README: Both big-endian and little-endian powerpc64 supported.
17155
7b7bab13
ST
171562013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17157
57f41c40
AS
17158 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17159 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17160 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17161 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17162
d39baad1
RA
171632013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17164
17165 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17166 match prototype.
17167
cd78f7e7
JM
171682013-10-04 Joseph Myers <joseph@codesourcery.com>
17169
29d73d86
JM
17170 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17171 Move -mhard-float appending from
17172 ports/sysdeps/powerpc/powerpc32/Makefile.
17173 [$(with-fp) = yes] (ASFLAGS): Likewise.
17174 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17175 * sysdeps/powerpc/nofpu: Move directory from
17176 ports/sysdeps/powerpc/nofpu.
17177 * sysdeps/powerpc/soft-fp: Move directory from
17178 ports/sysdeps/powerpc/soft-fp.
17179 * sysdeps/powerpc/powerpc32/405: Move directory from
17180 ports/sysdeps/powerpc/powerpc32/405.
17181 * sysdeps/powerpc/powerpc32/440: Move directory from
17182 ports/sysdeps/powerpc/powerpc32/440.
17183 * sysdeps/powerpc/powerpc32/464: Move directory from
17184 ports/sysdeps/powerpc/powerpc32/464.
17185 * sysdeps/powerpc/powerpc32/476: Move directory from
17186 ports/sysdeps/powerpc/powerpc32/476.
17187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17188 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17190 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17192 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17194 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17196 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17197 * README: Update for powerpc-*-linux-gnu software floating point
17198 support in libc.
17199
e246b347
JM
17200 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17201 case to powerpc/powerpc32*.
17202 * sysdeps/unix/sysv/linux/configure: Regenerated.
17203
89c2003e
JM
17204 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17205 (_FPU_MASK_OM): Define as 0x04.
17206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17208 0x00c10080.
17209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17210 0x0000003c.
17211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17212
cd78f7e7
JM
17213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17214 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17215 getcontext_e500.
17216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17217 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17218 setcontext_e500.
17219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17220 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17221 and setcontext_e500.
17222
c755294d
CL
172232013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17224
17225 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17226
e16d221c
SP
172272013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17228
17229 * manual/threads.texi (Default Thread Attributes): Fix typo.
17230
215c7d43
WN
172312013-10-04 Will Newton <will.newton@linaro.org>
17232
17233 * malloc/Makefile: Add tst-memalign.
17234 * malloc/tst-memalign.c: New file.
17235
27d0461b
WN
17236 * malloc/tst-posix_memalign.c: Add comments.
17237 (do_test): Add comments and call free on all potentially
17238 allocated pointers. Add space after cast.
17239
1bc92709
WN
17240 * malloc/tst-pvalloc.c: Add comments.
17241 (do_test): Add comments and call free on all potentially
17242 allocated pointers. Remove duplicate check for NULL pointer.
17243 Add space after cast.
17244
66a9be9d
WN
17245 * malloc/tst-valloc.c: Add comments.
17246 (do_test): Add comments and call free on all potentially
17247 allocated pointers. Remove duplicate check for NULL pointer.
17248 Add space after cast.
17249
4cb81307
AM
172502013-10-04 Alan Modra <amodra@gmail.com>
17251
17252 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17253 Use stdint types in rather than __attribute__((mode())).
17254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17255
f8e3e9f3
AM
172562013-10-04 Alan Modra <amodra@gmail.com>
17257
17258 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17259 Correct handling of unaligned relocs for little-endian.
17260 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17261
8f9ebb08
AM
172622013-10-04 Alan Modra <amodra@gmail.com>
17263
17264 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17265 * configure: Regenerate.
17266 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17267 * shlib-versions: Likewise.
17268
0edf96c2
AM
172692013-10-04 Alan Modra <amodra@gmail.com>
17270
17271 * string/tester.c (test_memrchr): Increment reported test cycle.
17272
e0f7a380
AM
172732013-10-04 Alan Modra <amodra@gmail.com>
17274
17275 * string/test-memcpy.c (do_one_test): When reporting errors, print
17276 string address and don't overrun end of string.
17277
466b0393
AM
172782013-10-04 Alan Modra <amodra@gmail.com>
17279
17280 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17281 insrdi. Make better use of reg selection to speed exit slightly.
17282 Schedule entry path a little better. Remove useless "are we done"
17283 checks on entry to main loop. Handle wrapping around zero address.
17284 Correct main loop count. Handle single left-over word from main
17285 loop inline rather than by using loop_small. Remove extra word
17286 case in loop_small caused by wrong loop count. Add little-endian
17287 support.
17288 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17289 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17290 cache hint.
17291 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17292 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17293 support. Avoid rlwimi.
17294 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17295
3be87c77
AM
172962013-10-04 Alan Modra <amodra@gmail.com>
17297
17298 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 17299 insrdi. Formatting.
3be87c77
AM
17300 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17301 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17302 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17303 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17304 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17305 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17306
759cfef3
AM
173072013-10-04 Alan Modra <amodra@gmail.com>
17308
17309 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17310 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17311 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17312 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17313 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17314 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17315 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17316 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17317 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17318 use of regs. Use power7 mtocrf. Tidy function tails.
17319
fe6e95d7
AM
173202013-10-04 Alan Modra <amodra@gmail.com>
17321
17322 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17323 Formatting. Consistently use rXXX register defines or rN defines.
17324 Use early exit labels that avoid restoring unused non-volatile regs.
17325 Make cr field use more consistent with rWORDn compares. Rename
17326 regs used as shift registers for unaligned loop, using rN defines
17327 for short lifetime/multiple use regs.
17328 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17329 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17330 addi 1,1,64 to pop stack frame. Simplify return value code.
17331 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17332
664318c3
AM
173332013-10-04 Alan Modra <amodra@gmail.com>
17334
17335 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17336 support. Correct typos, formatting. Optimize tail. Use insrdi
17337 rather than rlwimi.
17338 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17339 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17340 little-endian support. Correct typos.
17341 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17342 rather than rlwimi.
17343 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17344 in loop and entry code to keep "and." results.
17345 (strchr): Add little-endian support. Comment. Move cntlzd
17346 earlier in tail.
17347 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17348
43b84013
AM
173492013-10-04 Alan Modra <amodra@gmail.com>
17350
17351 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17352 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17353 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17354 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17355
8a7413f9
AM
173562013-10-04 Alan Modra <amodra@gmail.com>
17357
17358 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17359 (rTMP): Define as r11.
17360 (strcmp): Add little-endian support. Optimise tail.
17361 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17362 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17363 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17364 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17365 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17368
33ee81de
AM
173692013-10-04 Alan Modra <amodra@gmail.com>
17370
17371 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17372 little-endian support. Remove unnecessary "are we done" tests.
17373 Handle "s" wrapping around zero and extremely large "size".
17374 Correct main loop count. Handle single left-over word from main
17375 loop inline rather than by using small_loop. Correct comments.
17376 Delete "zero" tail, use "end_max" instead.
17377 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17378
db9b4570
AM
173792013-10-04 Alan Modra <amodra@gmail.com>
17380
17381 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17382 support. Don't branch over align.
17383 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17384 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17385 support. Rearrange tmp reg use to suit. Comment.
17386 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17387
f7c399cf
AM
173882013-10-04 Alan Modra <amodra@gmail.com>
17389
17390 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17391
0b2c2ace
AM
173922013-10-04 Alan Modra <amodra@gmail.com>
17393
17394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17395 conditional form of branch and link when obtaining pc.
17396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17397
02f04a6c
AM
173982013-10-04 Alan Modra <amodra@gmail.com>
17399
17400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17401 HIWORD/LOWORD.
17402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17404
9b874b2f
AM
174052013-10-04 Alan Modra <amodra@gmail.com>
17406
17407 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17408 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17409 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17410 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17411 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17412 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17413 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17414 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17415 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17416 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17417
be1e5d31
AB
174182013-10-04 Anton Blanchard <anton@au1.ibm.com>
17419 Alistair Popple <alistair@ozlabs.au.ibm.com>
17420 Alan Modra <amodra@gmail.com>
17421
17422 [BZ #15723]
17423 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17424 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17425 _dl_hwcap access for little-endian.
17426 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17427 destroy vmx regs when saving unaligned.
17428 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17429 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17430 destroy vmx regs when saving unaligned.
17431
fef13a78
AM
174322013-10-04 Alan Modra <amodra@gmail.com>
17433
17434 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17435 Don't use a union to pack hi/low value.
17436
76a66d51
AB
174372013-10-04 Anton Blanchard <anton@au1.ibm.com>
17438
17439 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17440 for little-endian.
17441 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17442 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17443 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17444 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17445 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17446
6a31fe7f
AM
174472013-10-04 Alan Modra <amodra@gmail.com>
17448
17449 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17450 constants to usual value for .cst8 section, and remove redundant
17451 high address load.
17452 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17453 constant for 0x1p52. Load little-endian words of double from
17454 correct stack offsets.
17455
7b88401f
AM
174562013-10-04 Alan Modra <amodra@gmail.com>
17457
17458 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17459 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17460 words of double from correct stack offsets.
17461 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17462 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17463 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17465 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17466 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17467 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17468 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17469 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17470 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17471 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17472 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17473 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17474 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17475 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17476 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17477 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17478
9c008155
AM
174792013-10-04 Alan Modra <amodra@gmail.com>
17480
17481 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17482 64-bit int/double union.
17483 (_FPU_SETCW): Likewise.
17484 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17485 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17486
da13146d
AM
174872013-10-04 Alan Modra <amodra@gmail.com>
17488
17489 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17490 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17491
603e8410
AM
174922013-10-04 Alan Modra <amodra@gmail.com>
17493
17494 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17495 use vector int constants.
17496 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17497
4a28b3ca
AB
174982013-10-04 Anton Blanchard <anton@au1.ibm.com>
17499
17500 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17501 array with long long.
17502 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17503 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17504 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17505 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17506 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17507 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17508 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17509 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17510 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17511 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17512 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17513 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17514 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17515
2ca85d2b
AB
175162013-10-04 Anton Blanchard <anton@au1.ibm.com>
17517
17518 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17519 (__signbit): Likewise. Correct for little-endian.
17520 (__signbitl): Call __signbit.
17521 (lrint): Correct for little-endian.
17522 (lrintf): Call lrint.
17523
62a728ae
AM
175242013-10-04 Alan Modra <amodra@gmail.com>
17525
17526 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17527 union 32-bit int array member with 64-bit int array.
17528 (t515, tm256): Double rather than long double.
17529 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17530
32c301df
AM
175312013-10-04 Alan Modra <amodra@gmail.com>
17532
17533 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17534 Delete.
17535 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17536 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17537 version of math_ldbl.h.
17538
650ef4bd
AM
175392013-10-04 Alan Modra <amodra@gmail.com>
17540
17541 [BZ #15734], [BZ #15735]
17542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17543 all uses of ieee875 long double macros and unions. Simplify test
17544 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17545 ldbl_extract_mantissa value for ix,iy exponents. Properly
17546 normalize after ldbl_extract_mantissa, and don't add hidden bit
17547 already handled. Don't treat low word of ieee854 mantissa like
17548 low word of IBM long double and mask off bit when testing for
17549 zero.
17550 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17551 all uses of ieee875 long double macros and unions. Simplify tests
17552 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17553 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17554 two1022, instead use their values. Recognise that tests for large
17555 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17556 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17557 Rewrite all uses of ieee875 long double macros and unions. Simplify
17558 test for 0.0L and nan. Correct negation.
17559 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17560 ieee875 long double macros and unions. Correct output for large
17561 magnitude x. Correct absolute value calculation.
17562 (__erfcl): Likewise.
17563 * math/libm-test.inc: Add tests for errors discovered in IBM long
17564 double versions of fmodl, remainderl, erfl and erfcl.
17565
765714ca
AM
175662013-10-04 Alan Modra <amodra@gmail.com>
17567
17568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17569 all uses of ieee854 long double macros and unions. Simplify tests
17570 for long doubles that are fully specified by the high double.
17571 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17572 Likewise.
17573 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17574 Remove dead code too.
17575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17576 (__ieee754_ynl): Likewise.
17577 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17578 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17579 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17580 Remove dead code too.
17581 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17582 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17583 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17584 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17585 Simplify.
17586 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17587 Simplify.
17588 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17589 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17591 Comment on variable precision.
17592 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17594 Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17596 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17597 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17598 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17599 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17600
4ebd120c
AM
176012013-10-04 Alan Modra <amodra@gmail.com>
17602
17603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17604 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17605 all uses of ieee854 long double macros and unions.
17606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17608 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17609 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17610 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17611 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17612 Likewise.
17613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17614 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17615 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17616 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17617 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17618 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17619 Simplify sign and nan test too.
17620 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17621 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17622 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17623 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17624 Likewise.
17625 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17626 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17627 Likewise.
17628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17629 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17630 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17631 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17632 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17634
1b6adf88
AM
176352013-10-04 Alan Modra <amodra@gmail.com>
17636
17637 * stdio-common/printf_size.c (__printf_size): Don't use
17638 union ieee854_long_double in fpnum union.
17639 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17640 signbit macro to retrieve sign from long double.
17641 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17642 retrieve sign from long double.
17643 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17644 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17645 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17646 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17647 * math/test-misc.c (main): Don't use union ieee854_long_double.
17648
4cf69995
AM
176492013-10-04 Alan Modra <amodra@gmail.com>
17650
17651 [BZ #15680]
17652 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17653 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17654 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17655 calculation. Remove unnecessary test for denormal exponent.
17656 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17657 Correct handling of denormals. Avoid undefined shift behaviour.
17658 Correct normalisation of low mantissa when low double is denormal.
17659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17660 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17661 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17662 Correct normalisation of low mantissa. Test for overflow of high
17663 mantissa and normalise.
17664 (ldbl_nearbyint): Use more readable constant for two52.
17665 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17666 (__mpn_construct_long_double): Fix test for overflow of high
17667 mantissa and correct normalisation. Avoid undefined shift.
17668
9605ca6c
AM
176692013-10-04 Alan Modra <amodra@gmail.com>
17670
17671 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17672 (union ibm_extended_long_double): Define as an array of ieee754_double.
17673 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17674 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17675 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17676 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17680 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17684
975569d0
JM
176852013-10-03 Joseph Myers <joseph@codesourcery.com>
17686
d3d23756
JM
17687 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17688 page size instead of calling getpagesize.
17689
975569d0
JM
17690 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17691 (LOCFILE_ALIGN_MASK): Likewise.
17692 (LOCFILE_ALIGN_UP): Likewise.
17693 (LOCFILE_ALIGNED_P): Likewise.
17694 * locale/programs/ld-collate.c (collate_output): Use the new
17695 macros instead of __alignof__ (int32_t).
17696 * locale/weight.h (findidx): Likewise.
17697
b1fe1f2b
OB
176982013-10-03 Ondřej Bílka <neleai@seznam.cz>
17699
17700 [BZ #431]
17701 * manual/string.texi: Fix strncat and wcsncat.
17702
5f855e35
BM
177032013-10-03 Brooks Moses <bmoses@google.com>
17704
17705 [BZ #15915]
17706 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17707 * Makerules: ...here, and adjust associated comments.
17708
3cef6009
WN
177092013-10-02 Will Newton <will.newton@linaro.org>
17710
17711 * malloc/Makefile: Add tst-pvalloc.
17712 * malloc/tst-pvalloc.c: New file.
17713
7815420b
WN
177142013-10-02 Will Newton <will.newton@linaro.org>
17715
17716 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17717 improve test coverage.
17718
4868b204
WN
177192013-10-02 Will Newton <will.newton@linaro.org>
17720
17721 * malloc/Makefile: Add tst-posix_memalign.
17722 * malloc/tst-posix_memalign.c: New file.
17723
29c793b3
EB
177242013-10-01 Eric Blake <eblake@redhat.com>
17725
17726 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17727 Use __THROWNL rather than __THROW on static functions.
17728
fd967522
PM
177292013-09-30 Petr Machata <pmachata@redhat.com>
17730
17731 * elf/elf.h (R_AARCH64_ABS16): New macro.
17732 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17733 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17734 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17735 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17736 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17737 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17738 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17739 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17740 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17741 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17742 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17743 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17744 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17745 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17746 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17747 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17748 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17749 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17750 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17751 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17752 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17753 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17754 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17755 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17756 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17757 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17758 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17759 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17760 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17761 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17762 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17763 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17764 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17765 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17766 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17767 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17768 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17769 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17770 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17771 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17772 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17773 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17774 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17775 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17776 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17777 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17778 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17779 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17780 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17781 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17782 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17783 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17784 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17785 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17786 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17787 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17788 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17789 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17790 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17791 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17792 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17793 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17794 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17795 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17796 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17797 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17798 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17799 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17800 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17801 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17802 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17803 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17804 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17805 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17806 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17807 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17808 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17809 (R_AARCH64_TLSDESC_LDR): Likewise.
17810 (R_AARCH64_TLSDESC_ADD): Likewise.
17811 (R_AARCH64_TLSDESC_CALL): Likewise.
17812
b2179107
AS
178132013-09-30 Andreas Schwab <schwab@suse.de>
17814
17815 [BZ #15048]
17816 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17817 the nss database lookup.
17818 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17820
47f28d0a
MF
178212013-09-28 Mike Frysinger <vapier@gentoo.org>
17822
17823 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17824
178252013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
17826
17827 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17828 ${Bash-specific parameter/pattern/string} parameter expansion.
17829 * sysdeps/unix/make-syscalls.sh: Likewise.
17830
f4518a17
KK
178312013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17832
17833 * sysdeps/sh/stackguard-macros.h: New file.
17834
dc1a95c7
OB
178352013-09-26 Ondřej Bílka <neleai@seznam.cz>
17836
17837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17839 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17840 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17842 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17843
5ebbff8f
AZ
178442013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17845
17846 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17847 Fix thread ID register.
17848
4fd2cf9f
JM
178492013-09-25 Joseph Myers <joseph@codesourcery.com>
17850
17851 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17852 [POSIX || UNIX98]: Require rather than permitting all symbols from
17853 <time.h>.
17854 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17855 element of struct sched_param.
17856 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17857 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17858 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17859 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17860 constant.
17861
12c22bc4
OL
178622013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17863
17864 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17865 argument calculation.
17866
a03d8ea7
JM
178672013-09-24 Joseph Myers <joseph@codesourcery.com>
17868
17869 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17870 Expect macro.
17871 [POSIX] (pthread_attr_t): Do not require type.
17872 [POSIX] (pthread_cond_t): Likewise.
17873 [POSIX] (pthread_condattr_t): Likewise.
17874 [POSIX] (pthread_key_t): Likewise.
17875 [POSIX] (pthread_mutex_t): Likewise.
17876 [POSIX] (pthread_mutexattr_t): Likewise.
17877 [POSIX] (pthread_once_t): Likewise.
17878 [POSIX] (pthread_t): Likewise.
17879 [POSIX-based standards] (pthread_atfork): Expect function.
17880
6055173a
JM
178812013-09-24 Joseph Myers <joseph@codesourcery.com>
17882 Richard Sandiford <richard@codesourcery.com>
17883
17884 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17885 (swap_endianness_p): New extern variable.
17886 (set_big_endian): New inline function.
17887 (maybe_swap_uint32): Likewise.
17888 (maybe_swap_uint32_array): Likewise.
17889 (maybe_swap_uint32_obstack): Likewise.
17890 * locale/programs/locfile.c: Include <stdbool.h>.
17891 (swap_endianness_p): New variable.
17892 (add_locale_uint32): Call maybe_swap_uint32.
17893 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17894 (write_locale_data): Call maybe_swap_uint32_array.
17895 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17896 maybe_swap_uint32.
17897 (obstack_int32_grow_fast): Likewise.
17898 (output_weightwc): Call maybe_swap_uint32_obstack.
17899 (collate_output): Likewise.
17900 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17901 (OPT_LITTLE_ENDIAN): Likewise.
17902 (options): Add --little-endian and --big-endian options.
17903 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17904 * locale/programs/locarchive.c: Include "locfile.h".
17905 (GET): New macro.
17906 (SET): Likewise.
17907 (INC): Likewise.
17908 (create_archive): Use the new macros to access fields of
17909 structures directly mapped from or written to locale archives.
17910 (oldlocrecentcmp): Likewise.
17911 (enlarge_archive): Likewise.
17912 (insert_name): Likewise.
17913 (add_alias): Likewise.
17914 (add_locale): Likewise.
17915 (delete_locales_from_archive): Likewise.
17916 (show_archive_content): Likewise.
17917 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17918 locale data.
17919
39bf0bb4
RM
179202013-09-24 Roland McGrath <roland@hack.frob.com>
17921
17922 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17923 http://www.gnu.org/doc/freemanuals.texi.
17924 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17925
f02eed10
WN
179262013-09-24 Will Newton <will.newton@linaro.org>
17927
17928 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17929 macro.
17930
a3a6c312
JM
179312013-09-23 Joseph Myers <joseph@codesourcery.com>
17932
17933 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17934 unsigned char.
17935
107375ac
MR
179362013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17937
17938 * manual/threads.texi (POSIX Threads): Fix a typo.
17939
141f3a77
SP
179402013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17941
303e567a
SP
17942 [BZ #14547]
17943 * string/tst-strcoll-overflow.c: New test case.
17944 * string/Makefile (xtests): Add tst-strcoll-overflow.
17945 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17946 cache if string sizes may cause integer overflow.
17947
141f3a77
SP
17948 [BZ #14547]
17949 * string/strcoll_l.c (coll_seq): New members rule, idx,
17950 save_idx and back_us.
17951 (get_next_seq_nocache): New function.
17952 (do_compare_nocache): New function.
17953 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17954 when malloc fails.
17955
c61b4d41
CD
179562013-09-23 Carlos O'Donell <carlos@redhat.com>
17957
0b1f8e35
CD
17958 [BZ #15754]
17959 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17960 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17961 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17962
c61b4d41
CD
17963 [BZ #15754]
17964 * elf/Makefile (tests): Add tst-ptrguard1.
17965 (tests-static): Add tst-ptrguard1-static.
17966 (tst-ptrguard1-ARGS): Define.
17967 (tst-ptrguard1-static-ARGS): Define.
17968 * elf/tst-ptrguard1.c: New file.
17969 * elf/tst-ptrguard1-static.c: New file.
17970 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17971 * sysdeps/i386/stackguard-macros.h: Likewise.
17972 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17973 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17974 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17975 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17976 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17977 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17978
179792013-09-23 Hector Marco <hecmargi@upv.es>
17980 Ismael Ripoll <iripoll@disca.upv.es>
17981 Carlos O'Donell <carlos@redhat.com>
17982
17983 [BZ #15754]
17984 * sysdeps/generic/stackguard-macros.h: Define
17985 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17986 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17987 Define __pointer_chk_guard_local.
17988 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17989 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17990
f5f4e7b4
VV
179912013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17992
17993 [BZ #15859]
17994 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17995
5bb43a43
AS
179962013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17997
17998 * include/string.h (__ffs): Declare as hidden.
17999 * string/ffs.c (__ffs): Define as hidden.
18000 * sysdeps/i386/ffs.c (__ffs): Likewise.
18001 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18002 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18003 * sysdeps/s390/ffs.c (__ffs): Likewise.
18004 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18005
3ea5be54
AO
180062013-09-20 Alexandre Oliva <aoliva@redhat.com>
18007
ffb89e53
AO
18008 * NEWS: Mention malloc probes.
18009
322dea08
AO
18010 * malloc/arena.c (new_heap): New memory_heap_new probe.
18011 (grow_heap): New memory_heap_more probe.
18012 (shrink_heap): New memory_heap_less probe.
18013 (heap_trim): New memory_heap_free probe.
18014 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18015 (systrim): New memory_sbrk_less probe.
18016 * manual/probes.texi: Document them.
18017
655673f3
AO
18018 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18019 * manual/probes.texi: Document it.
18020
35fed6f1
AO
18021 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18022 (__libc_realloc): Add memory_realloc_retry probe.
18023 (__libc_memalign): Add memory_memalign_retry probe.
18024 (__libc_valloc): Add memory_valloc_retry probe.
18025 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18026 (__libc_calloc): Add memory_calloc_retry probe.
18027 * manual/probes.texi: Document them.
18028
6999d38c
AO
18029 * malloc/arena.c (get_free_list): Add probe
18030 memory_arena_reuse_free_list.
18031 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18032 and memory_arena_reuse.
18033 (arena_get2) [!PER_THREAD]: Likewise.
18034 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18035 memory_arena_reuse_realloc.
18036 * manual/probes.texi: Document them.
18037
0653427f
AO
18038 * malloc/malloc.c (__libc_free): Add
18039 memory_mallopt_free_dyn_thresholds probe.
18040 (__libc_mallopt): Add multiple memory_mallopt probes.
18041 * manual/probes.texi: Document them.
18042
3ea5be54
AO
18043 * malloc/malloc.c: Include stap-probe.h.
18044 (__libc_mallopt): Add memory_mallopt probe.
18045 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18046 * manual/probes.texi: New.
18047 * manual/Makefile (chapters): Add probes.
18048 * manual/threads.texi: Set next node.
18049
e35696c3 180502013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18051
e35696c3
CL
18052 [BZ #15963, #13985]
18053 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18054 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18055 Add `Chinese' to `nan' entry name.
18056
4aafb73c
SP
180572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18058
18059 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18060 (POLYNOMIAL): Likewise.
18061 (TAYLOR_SINCOS): Likewise.
18062 (TAYLOR_SLOW): Likewise.
18063 (__sin): Use TAYLOR_SINCOS.
18064 (__cos): Likewise.
18065 (slow): Use TAYLOR_SLOW.
18066 (sloww): Likewise.
18067 (bsloww): Likewise.
18068 (csloww): Likewise.
18069
d84f25c7
LD
180702013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18071
18072 * stdlib/strtod_l.c: Fix buffer overrun.
18073
5eea0404
SP
180742013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18075
7849ff93
SP
18076 * benchtests/Makefile (bench): Add sincos.
18077 * benchtests/bench-sincos.c: New file.
18078
cfa3c886
SP
18079 * math/libm-test.inc (cos_test_data): New test inputs.
18080 (sin_test_data): Likewise.
18081
b348e1e3
SP
18082 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18083 macro.
18084 (__sin): Use it.
18085 (__cos): Likewise.
18086 (slow1): Likewise.
18087 (slow2): Likewise.
18088 (sloww1): Likewise.
18089 (sloww2): Likewise.
18090 (bsloww1): Likewise.
18091 (bsloww2): Likewise.
18092 (cslow2): Likewise.
18093 (csloww1): Likewise.
18094 (csloww2): Likewise.
18095
6cce25f8
SP
18096 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18097 function.
18098 (__sin): Use it.
18099 (__cos): Likewise.
18100
5eea0404
SP
18101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18102 gotos.
18103 (__cos): Likewise.
18104
9c21573c
MR
181052013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18106
18107 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18108 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18109 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18110 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18111 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18112 * elf/cache.c (print_entry): Handle the new cache flags.
18113
24d22e65
JM
181142013-09-18 Joseph Myers <joseph@codesourcery.com>
18115 Aldy Hernandez <aldyh@redhat.com>
18116
18117 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18118 Change condition to [_SOFT_FLOAT].
18119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18131 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18134 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18135 declaration.
18136
d13ef066
JM
181372013-09-18 Joseph Myers <joseph@codesourcery.com>
18138
2e071de0
JM
18139 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18140 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18141 (__longjmp): Use LOAD_GP to load saved GPRs.
18142 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18143 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18144 (__sigsetjmp): Use SAVE_GP to save GPRs.
18145
d13ef066
JM
18146 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18147 Do not append -msoft-float.
18148 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18149
97a0650b
SP
181502013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18151
18152 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18153
11ca09e9
JM
181542013-09-17 Joseph Myers <joseph@codesourcery.com>
18155
18156 [BZ #15966]
18157 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18158 (_FPU_GETCW): Use initial "__" on variable and field names but not
18159 on macro parameter name.
18160 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18161 parentheses around reference to macro parameter.
18162
08ffcf34
RS
181632013-09-13 Richard Sandiford <richard@codesourcery.com>
18164
18165 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18166 prototype.
18167 (ctype_startup): Use uint32_t in cast and sizeof for
18168 ctype->charnames.
18169
ae7080d3
JL
181702013-09-11 Jia Liu <proljc@gmail.com>
18171
18172 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18173 __daddr_t_defined.
18174 [__FreeBSD__]: Likewise.
18175
5905e7b3
OB
181762013-09-11 Ondřej Bílka <neleai@seznam.cz>
18177
18178 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18179 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18180 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18181 (strchr): Remove __strchr_sse42 ifunc selection.
18182 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18183 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18184
b987c776
WN
181852013-09-11 Will Newton <will.newton@linaro.org>
18186
18187 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18188 parameter to RES. Remove hardcoded 1000 value.
18189 * benchtests/bench-skeleton.c (main): Pass RES parameter
18190 to TIMING_INIT and multiply result by 1000.
18191
ddf985af
AZ
181922013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18193
18194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18195
ffdd3181
AS
181962013-09-11 Andreas Schwab <schwab@suse.de>
18197
18198 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18199 if not defined.
18200 (O_TMPFILE) [__USE_GNU]: Define.
18201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18202 Define.
18203
b73ed247
WN
182042013-09-11 Will Newton <will.newton@linaro.org>
18205
18206 [BZ #15857]
18207 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18208 does not overflow.
18209
55e17aad
WN
182102013-09-11 Will Newton <will.newton@linaro.org>
18211
18212 [BZ #15856]
18213 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18214 does not overflow.
18215
1159a193
WN
182162013-09-11 Will Newton <will.newton@linaro.org>
18217
18218 [BZ #15855]
18219 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18220 does not overflow.
18221
5905e7b3 182222013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
18223
18224 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18225 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18229
cdfc721b
AM
182302013-09-10 Allan McRae <allan@archlinux.org>
18231
aa04af00
AM
18232 [BZ #15748]
18233 * manual/arith.texi (Parsing of Floats): Clarify
18234 cross-reference.
18235
cdfc721b
AM
18236 [BZ #15849]
18237 * manual/install.texi (Running make install): Mention
18238 --enable-pt-chown.
18239 * INSTALL: Regenerated.
18240
95e7cf29
MR
182412013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18242
18243 * csu/init-first.c (_init): Remove the !SHARED condition around
18244 FPU control word initialization.
18245 * elf/dl-support.c (_dl_fpu_control): New variable.
18246 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18247 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18248 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18249 * math/test-fpucw-static.c: New file.
18250 * math/test-fpucw-ieee.c: New file.
18251 * math/test-fpucw-ieee-static.c: New file.
18252 * math/Makefile (tests): Add `test-fpucw-ieee' and
18253 `$(tests-static)'.
18254 (tests-static): New variable.
18255 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18256 dependency to...
18257 [($(build-shared),yes)]
18258 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18259 ... this.
18260 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18261 New dependency.
18262
83e43bf0
AM
182632013-09-09 Allan McRae <allan@archlinux.org>
18264
a9f5ce09
AM
18265 [BZ #15939]
18266 * manual/string.texi (Collation Functions): Fix typo in
18267 strcoll example.
18268 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18269
34829bc2
AM
18270 [BZ #15893]
18271 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18272
3932737d
AM
18273 [BZ #15892]
18274 * libio/memstream.c (open_memstream): Fix memory leak.
18275 * libio/wmemstream.c (open_wmemstream): Likewise.
18276
83e43bf0
AM
18277 [BZ #15895]
18278 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18279
0c66b8e9
WN
182802013-09-09 Will Newton <will.newton@linaro.org>
18281
18282 * malloc/Makefile: Add tst-realloc to tests.
18283 * malloc/tst-realloc.c: New file.
18284
f6b00fd1
AM
182852013-09-09 Allan McRae <allan@archlinux.org>
18286
18287 [BZ #15844]
18288 * COPYING: Update from GNU website to fix FSF address.
18289 * COPYING.LIB: Likewise.
18290
eec55e16
DM
182912013-09-06 David S. Miller <davem@davemloft.net>
18292
18293 * po/zh_TW.po: Update Chinese (traditional) translation from
18294 translation project.
18295
1ecbb381
RS
182962013-09-06 Richard Sandiford <richard@codesourcery.com>
18297 Joseph Myers <joseph@codesourcery.com>
18298
18299 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18300 "localeinfo.h".
18301 (obstack_chunk_alloc): New macro.
18302 (obstack_chunk_free): Likewise.
18303 (record_offset): New function.
18304 (init_locale_data): Likewise.
18305 (align_locale_data): Likewise.
18306 (add_locale_empty): Likewise.
18307 (add_locale_raw_data): Likewise.
18308 (add_locale_raw_obstack): Likewise.
18309 (add_locale_string): Likewise.
18310 (add_locale_wstring): Likewise.
18311 (add_locale_uint32): Likewise.
18312 (add_locale_uint32_array): Likewise.
18313 (add_locale_char): Likewise.
18314 (start_locale_structure): Likewise.
18315 (end_locale_structure): Likewise.
18316 (start_locale_prelude): Likewise.
18317 (end_locale_prelude): Likewise.
18318 (write_locale_data): Take locale_file structure rather than an
18319 iovec.
18320 * locale/programs/locfile.h: Include "obstack.h".
18321 (struct locale_file): Change to store locale file contents instead
18322 of header.
18323 (init_locale_data): New prototype.
18324 (align_locale_data): Likewise.
18325 (add_locale_empty): Likewise.
18326 (add_locale_raw_data): Likewise.
18327 (add_locale_raw_obstack): Likewise.
18328 (add_locale_string): Likewise.
18329 (add_locale_wstring): Likewise.
18330 (add_locale_uint32): Likewise.
18331 (add_locale_uint32_array): Likewise.
18332 (add_locale_char): Likewise.
18333 (start_locale_structure): Likewise.
18334 (end_locale_structure): Likewise.
18335 (start_locale_prelude): Likewise.
18336 (end_locale_prelude): Likewise.
18337 (write_locale_data): Update prototype.
18338 * locale/programs/3level.h (struct TABLE): Remove result field.
18339 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18340 Use new locale_file interface.
18341 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18342 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18343 * locale/programs/ld-address.c (address_output): Use new
18344 locale_file interface.
18345 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18346 NO_ADD_LOCALE.
18347 (collate_finish): Don't call collseq_table_finalize.
18348 (collate_output): Use new locale_file interface.
18349 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18350 in file.
18351 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18352 (TABLE): Move defines earlier in file.
18353 (ELEMENT): Likewise.
18354 (DEFAULT): Likewise.
18355 (wctrans_table_add): Move macro and inline function earlier in
18356 file.
18357 (struct wctype_table): Move type earlier in file.
18358 (add_locale_wctype_table): New static prototype.
18359 (struct locale_ctype_t): Use logical types instead of struct iovec
18360 pointers for members.
18361 (ctype_output): Use new locale_file interface.
18362 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18363 new locale_file interface.
18364 (allocate_arrays): Update for use of new locale_file interface.
18365 * locale/programs/ld-identification.c (identification_output): Use
18366 new locale_file interface.
18367 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18368 * locale/programs/ld-messages.c (messages_output): Likewise.
18369 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18370 * locale/programs/ld-name.c (name_output): Likewise.
18371 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18372 * locale/programs/ld-paper.c (paper_output): Likewise.
18373 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18374 * locale/programs/ld-time.c (time_output): Likewise.
18375
e029e2e5
AZ
183762013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18377
18378 * benchtests/Makefile: Add memrchr benchmark.
18379 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18380 benchmark as memrchr.
18381 * benchtests/bench-memrchr-ifunc.c: New file.
18382 * benchtests/bench-memrchr.c: New file.
18383
bbf6e8e4
WN
183842013-09-06 Will Newton <will.newton@linaro.org>
18385
18386 * benchtests/Makefile (string-bench): Add memcpy.
18387
6c82a2f8
CD
183882013-09-05 Carlos O'Donell <carlos@redhat.com>
18389 Cong Wang <amwang@redhat.com>
18390
e732c5f0 18391 [BZ #15850]
6c82a2f8
CD
18392 * sysdeps/unix/sysv/linux/bits/in.h
18393 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18394 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18395 before __USE_KERNEL_IPV6_DEFS uses.
18396 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18397 IPPROTO_BEETPH.
18398 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18399 sockaddr_in6, or ipv6_mreq.
18400
5430fc65
AZ
184012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18402
18403 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18404 memory access for final bytes in some large inputs.
18405 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18406
4660856c
AZ
184072013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18408
18409 * string/test-memrchr.c: New file.
18410 * string/test-memrchr-ifunc.c: New file.
18411 * string/Makefile: Add new memrchr testcase.
18412
bb8ea713
MF
184132013-09-05 Mike Frysinger <vapier@gentoo.org>
18414
18415 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18416 fanotify_init returns EPERM.
18417
b92a20b5
JM
184182013-09-04 Joseph Myers <joseph@codesourcery.com>
18419
18420 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18421 errors.
18422 (top level): Treat second token from macro or constant entries for
18423 allowed headers as allowed.
18424 * include/complex.h: Condition internal declarations on
18425 [!_ISOMAC].
18426 * include/fenv.h: Condition include of <stdbool.h> and internal
18427 declarations on [!_ISOMAC].
7447ccd9
CL
18428
184292013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18430
3e181dda 18431 [BZ #15923]
7447ccd9
CL
18432 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18433
3f2e46a4
JM
184342013-09-04 Joseph Myers <joseph@codesourcery.com>
18435
18436 * configure.in (--enable-versioning): Remove configure option.
18437 (libc_cv_asm_symver_directive): Remove configure test.
18438 (libc_cv_ld_version_script_option): Likewise.
18439 (VERSIONING): Remove variable and AC_SUBST.
18440 (DO_VERSIONING): Remove AC_DEFINE.
18441 * configure: Regenerated.
18442 * config.h.in (DO_VERSIONING): Remove macro.
18443 * Makerules [$(versioning) = yes]: Change conditionals to
18444 [$(build-shared) = yes].
18445 * config.make.in (versioning): Remove variable.
18446 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18447 [$(build-shared) = yes].
18448 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18449 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18450 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18451 [$(build-shared) = yes].
18452 * extra-lib.mk [$(versioning) = yes]: Likewise.
18453 * hurd/Makefile [$(versioning) = yes]: Likewise.
18454 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18455 [SHARED].
18456 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18457 [SHARED].
18458 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18459 [SHARED && !NO_HIDDEN].
18460 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18461 [SHARED].
18462 [SHARED && DO_VERSIONING]: Likewise..
18463 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18464 [$(build-shared) = yes].
18465 * manual/install.texi (--disable-versioning): Remove
18466 documentation.
18467 * INSTALL: Regenerated.
18468 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18469 to [SHARED].
18470 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18471 [$(build-shared) = yes].
18472 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18473 * sysdeps/i386/i686/multiarch/strstr-c.c
18474 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18475 [SHARED && !NO_HIDDEN].
18476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18477 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18478 * sysdeps/powerpc/powerpc32/dl-machine.c
18479 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18480 * sysdeps/powerpc/powerpc32/sysdep.h
18481 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18482 to [SHARED && PIC && !NO_HIDDEN].
18483 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18484 conditional to [SHARED].
18485
44558701
WN
184862013-09-04 Will Newton <will.newton@linaro.org>
18487
18488 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18489 * benchtests/bench-string.h: Include bench-timing.h instead
18490 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18491 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18492 call to HP_TIMING_DIFF_INIT.
18493 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18494 instead of hp-timing.h macros.
18495 * benchtests/bench-memchr.c: Likewise.
18496 * benchtests/bench-memcmp.c: Likewise.
18497 * benchtests/bench-memcpy.c: Likewise.
18498 * benchtests/bench-memmem.c: Likewise.
18499 * benchtests/bench-memmove.c: Likewise.
18500 * benchtests/bench-memset.c: Likewise.
18501 * benchtests/bench-rawmemchr.c: Likewise.
18502 * benchtests/bench-strcasecmp.c: Likewise.
18503 * benchtests/bench-strcasestr.c: Likewise.
18504 * benchtests/bench-strcat.c: Likewise.
18505 * benchtests/bench-strchr.c: Likewise.
18506 * benchtests/bench-strcmp.c: Likewise.
18507 * benchtests/bench-strcpy.c: Likewise.
18508 * benchtests/bench-strcpy_chk.c: Likewise.
18509 * benchtests/bench-strlen.c: Likewise.
18510 * benchtests/bench-strncasecmp.c: Likewise.
18511 * benchtests/bench-strncat.c: Likewise.
18512 * benchtests/bench-strncmp.c: Likewise.
18513 * benchtests/bench-strncpy.c: Likewise.
18514 * benchtests/bench-strnlen.c: Likewise.
18515 * benchtests/bench-strpbrk.c: Likewise.
18516 * benchtests/bench-strrchr.c: Likewise.
18517 * benchtests/bench-strspn.c: Likewise.
18518 * benchtests/bench-strstr.c: Likewise.
18519
cae16d66
WN
185202013-09-04 Will Newton <will.newton@linaro.org>
18521
18522 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18523
ffa3cd7f
JM
185242013-09-03 Joseph Myers <joseph@codesourcery.com>
18525
18526 [BZ #15427]
18527 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18528 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18529 * math/libm-test.inc (lgamma_test_data): Add more tests.
18530 * sysdeps/i386/fpu/libm-test-ulps: Update.
18531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18532
8f02859f
OB
185332013-09-03 Ondřej Bílka <neleai@seznam.cz>
18534
18535 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18536 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18537 Add ifunc.
18538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18539 Add strcmp-sse2-unaligned
18540 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18541
18d43716
MF
185422013-09-02 Mike Frysinger <vapier@gentoo.org>
18543
18544 * Versions.def (libc): Add GLIBC_2.19.
18545
ac444012
MF
185462013-09-02 Mike Frysinger <vapier@gentoo.org>
18547
18548 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18549 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18550
b7835e32
JM
185512013-09-02 Joseph Myers <joseph@codesourcery.com>
18552
18553 [BZ #14155]
18554 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18555 intermediate calculations in recurrence.
18556 (__ieee754_ynf): Likewise.
18557 * math/libm-test.inc (jn_test_data): Do not allow spurious
18558 underflow exception. Add more tests.
18559 (yn_test_data): Add more tests.
18560 * sysdeps/i386/fpu/libm-test-ulps: Update.
18561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18562
8220f4f0
OB
185632013-09-02 Ondřej Bílka <neleai@seznam.cz>
18564
18565 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18566
f24a6d08
OB
185672013-08-30 Ondřej Bílka <neleai@seznam.cz>
18568
18569 * csu/init-first.c: Fix then/than typos.
18570 * locale/programs/ld-collate.c: Likewise.
18571 * locale/programs/linereader.h: Likewise.
18572 * manual/charset.texi: Likewise.
18573 * manual/filesys.texi: Likewise.
18574 * manual/stdio.texi: Likewise.
18575 * manual/string.texi: Likewise.
18576 * stdlib/fmtmsg.c: Likewise.
18577 * sysdeps/i386/stpncpy.S: Likewise.
18578 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18579 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18580 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18581 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18582
382466e0
OB
185832013-08-30 Ondřej Bílka <neleai@seznam.cz>
18584
18585 * elf/dl-open.c: Fix typos.
18586 * iconvdata/gbbig5.c: Likewise.
18587 * iconvdata/iso-2022-jp.c: Likewise.
18588 * iconv/gconv_int.h: Likewise.
18589 * iconv/loop.c: Likewise.
18590 * nis/rpcsvc/nis.h: Likewise.
18591 * resolv/ns_name.c: Likewise.
18592 * stdio-common/vfscanf.c: Likewise.
18593 * streams/stropts.h: Likewise.
18594 * sunrpc/rpc_thread.c: Likewise.
18595 * sysdeps/i386/strpbrk.S: Likewise.
18596 * sysdeps/ieee754/k_standard.c: Likewise.
18597 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18599 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18600 * sysdeps/mach/hurd/profil.c: Likewise.
18601 * sysdeps/s390/dl-procinfo.h: Likewise.
18602 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18603 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18604 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18605 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18606 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18607
0186c6e9
OB
186082013-08-30 Ondřej Bílka <neleai@seznam.cz>
18609
18610 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18612
d4e16af1
OB
186132013-08-29 Ondřej Bílka <neleai@seznam.cz>
18614
18615 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18616 aix specific files.
18617 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18618 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18619 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18620 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18621 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18622 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18623 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18624 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18625
88335980
TS
186262013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18627 Roland McGrath <roland@hack.frob.com>
18628
18629 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18630 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18631
ed479b02
ST
186322013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18633
18634 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18635 __executable_start symbol instead of _start.
18636
f1cc4c86
TS
186372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18638
d821f07c
TS
18639 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18640 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18641 Move macros to...
18642 * sysdeps/gnu/ldsodefs.h: ... this new file.
18643
c54290cf
TS
18644 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18645 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18646 instead of ELFOSABI_LINUX.
18647
0007fc9b 18648 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
18649 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18650 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18651 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18652 Likewise.
18653 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18654 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18655 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18656 Likewise.
18657 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18658 (ibm_extended_long_double): Add ieee_nan member.
18659 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18660 (do_test): New function.
18661
f1cc4c86
TS
18662 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18663 TEST_TRUNC.
18664 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18665 functions, renamed from truncdfsf_test, trunctfsf_test,
18666 trunctfdf_test.
18667 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18668 functions.
18669 (do_test): Run all these.
18670
6f65e668
OB
186712013-08-29 Ondřej Bílka <neleai@seznam.cz>
18672
18673 * argp/argp-help.c: Fix typos.
18674 * argp/argp-parse.c: Likewise.
18675 * debug/backtracesyms.c: Likewise.
18676 * elf/elf.h: Likewise.
18677 * malloc/malloc.c: Likewise.
18678 * nis/nis_print.c: Likewise.
18679 * resolv/res_comp.c: Likewise.
18680 * stdlib/stdlib.h: Likewise.
18681 * sunrpc/clnt_tcp.c: Likewise.
18682 * sunrpc/clnt_udp.c: Likewise.
18683 * sunrpc/clnt_unix.c: Likewise.
18684 * sysdeps/unix/bsd/ptsname.c: Likewise.
18685 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18686 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
18687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18688 Likewise.
18689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18690 Likewise.
18691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18692 Likewise.
6f65e668
OB
18693 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18694
3a309239
SP
186952013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18696
18697 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18699
3b813b29
MF
187002013-08-27 Mike Frysinger <vapier@gentoo.org>
18701
18702 [BZ #15897]
18703 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18704 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18705 ($(objpfx)bug-dl-leaf): New rule.
18706 ($(objpfx)bug-dl-leaf.so): Likewise.
18707 ($(objpfx)bug-dl-leaf.out): Likewise.
18708 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18709 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18710 * dlfcn/bug-dl-leaf.c: New test.
18711 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18712 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18713 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18714 (dlclose): Likewise.
18715 (dlmopen): Likewise.
18716
8cc3269f
RM
187172013-08-27 Roland McGrath <roland@hack.frob.com>
18718
7f9d0034
RM
18719 * include/netdb.h [!_ISOMAC]:
18720 Don't include <tls.h>.
18721 (h_errno, __libc_h_errno): Move declaration and macros out of
18722 [_LIBC_REENTRANT].
18723
fb431262
RM
18724 * include/resolv.h [_RESOLV_H_]:
18725 Don't include <tls.h>.
18726 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18727 * resolv/res_libc.c: Don't include <tls.h>.
18728 (_res): Use __attribute__ ((nocommon)) in place of
18729 __attribute__ ((section (".bss"))).
18730
bd81123a
RM
18731 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18732 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18733
c4e42566
RM
18734 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18735
f890a59b
RM
18736 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18737 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18738
18739 * resolv/res_mkquery.c: Include <sys/time.h>.
18740
5d1f0a09
RM
18741 * inet/ifreq.c: Moved to ...
18742 * sysdeps/unix/ifreq.c: ... here.
18743 * inet/ifreq.c: New file, true stub version.
18744
6fcf28b3
RM
18745 * socket/sa_len.c: New file.
18746 * socket/Makefile (aux): Add it.
18747 * sysdeps/unix/sysv/linux/Makefile
18748 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18749 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18750 and #include <socket/sa_len.c>.
18751 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18752 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18753
e041fb8b
RM
18754 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18755 * bits/socket.h: ... here.
18756
8cc3269f
RM
18757 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18758 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18759 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18760
5d228a43
AS
187612013-08-27 Andreas Schwab <schwab@suse.de>
18762
45b8accc
AS
18763 [BZ #15736]
18764 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18765 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18766 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18767 * string/test-strcasecmp.c (test_main): Run tests in several
18768 locales.
18769 * string/test-strncasecmp.c (test_main): Likewise.
18770
5d228a43
AS
18771 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18772 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18773 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18775 (__strncasecmp_ssse3) [PIC]: Likewise.
18776
59d112a4
RM
187772013-08-26 Roland McGrath <roland@hack.frob.com>
18778
53234cc3
RM
18779 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18780
59d112a4
RM
18781 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18782 instead of explicitly declaring xdecrypt.
18783 * nis/nss_nis/nis-publickey.c: Likewise.
18784
595aba70
SP
187852013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18786
18787 [BZ #15890]
18788 * nscd/aicache.c: Include res_hconf.h.
18789 (addhstaiX): Initialize res_hconf.
18790
ffabd393
AS
187912013-08-26 Andreas Schwab <schwab@suse.de>
18792
18793 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18794 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18795
e0a69f5c
SP
187962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18797
18798 * nscd/aicache.c (addhstaiX): Fix indentation.
18799
8c12f01d
MF
188002013-08-25 Mike Frysinger <vapier@gentoo.org>
18801
18802 * configure.ac: Quote $build_pt_chown test.
18803 * configure: Regenerated.
18804
8fe89494
JM
188052013-08-23 Joseph Myers <joseph@codesourcery.com>
18806
18807 [BZ #15532]
18808 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18809 * math/s_cexpf.c (__cexpf): Likewise.
18810 * math/s_cexpl.c (__cexpl): Likewise.
18811 * math/libm-test.inc (cexp_test_data): Correct expected return
18812 value for NaN + i0. Add another test.
18813
75b181d6
DM
188142013-08-22 David S. Miller <davem@davemloft.net>
18815
18816 * po/ca.po: Update Catalan translation from translation project.
936241e4 18817 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 18818
acd06bb1
JM
188192013-08-21 Joseph Myers <joseph@codesourcery.com>
18820
18821 [BZ #15797]
18822 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18823 is infinite, not alongside NaN test.
18824 * math/s_fdimf.c (__fdimf): Likewise.
18825 * math/s_fdiml.c (__fdiml): Likewise.
18826 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18827 errno is unchanged.
18828
c0c3f78a
OB
188292013-08-21 Ondřej Bílka <neleai@seznam.cz>
18830
18831 * argp/argp-help.c: Fix typos.
18832 * crypt/speeds.c: Likewise.
18833 * csu/check_fds.c: Likewise.
18834 * elf/dl-load.c: Likewise.
18835 * elf/dl-open.c: Likewise.
18836 * elf/reldep3.c: Likewise.
18837 * elf/reldep.c: Likewise.
18838 * elf/sprof.c: Likewise.
18839 * iconv/iconv_charmap.c: Likewise.
18840 * iconv/skeleton.c: Likewise.
18841 * iconv/strtab.c: Likewise.
18842 * io/lockf64.c: Likewise.
18843 * libio/libioP.h: Likewise.
18844 * resolv/gai_notify.c: Likewise.
18845 * resolv/ns_name.c: Likewise.
18846 * resolv/ns_samedomain.c: Likewise.
18847 * resolv/res_send.c: Likewise.
18848 * stdlib/random.c: Likewise.
18849 * sunrpc/rpc/xdr.h: Likewise.
18850 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18851 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18852 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18853 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18854 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18858 * sysdeps/mach/hurd/check_fds.c: Likewise.
18859 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18860 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18862 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18863 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18864 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18865 * sysdeps/pthread/aio_notify.c: Likewise.
18866 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18867 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18868 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18869 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18870 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18871
46ed1038
LD
188722013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18873
18874 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18875 version if bit_Slow_SSE4_2 is set.
18876 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18877 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18878
d400dcac
AZ
188792013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18880
18881 [BZ #15867]
18882 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18883 trampoline stack frame information.
18884 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18886 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18887 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18888 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18889 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18890 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18891 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18892 sa_flags value.
18893 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18894 interrupting a syscall and set with option SA_SIGINFO.
18895
42c8fdd8
JM
188962013-08-20 Joseph Myers <joseph@codesourcery.com>
18897
c980f2f4
JM
18898 [BZ #15531]
18899 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18900 argument is infinite.
18901 * math/s_cprojf.c (__cprojf): Likewise.
18902 * math/s_cprojl.c (__cprojl): Likewise.
18903 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18904 * math/libm-test.inc (cproj_test_data): Add more tests.
18905
0716c4fc
JM
18906 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18907
42c8fdd8
JM
18908 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18909 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18910 size. Use __ffs to determine corresponding shift.
18911
b31469d0
JM
189122013-08-20 Joseph Myers <joseph@codesourcery.com>
18913 Roland McGrath <roland@hack.frob.com>
18914
18915 * Makefile (INSTALL): Remove trailing blank lines from output of
18916 makeinfo.
18917
4e39af6e
AK
189182013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18919
18920 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18921 Align 32 bit compat elf_greg to 8 bytes.
18922
f315524e
AA
189232013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18924
18925 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18926
1326ba1a
SP
189272013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18928
18929 * string/strcoll_l.c (coll_seq): New structure.
18930 (get_next_seq_cached): New function.
18931 (get_next_seq): New function.
18932 (do_compare): New function.
18933 (STRCOLL): Use GNU style definition. Simplify implementation
18934 by using get_next_seq, get_next_seq_cached and do_compare.
18935
91ce4085
FW
189362013-08-16 Florian Weimer <fweimer@redhat.com>
18937
18938 [BZ #14699]
18939 CVE-2013-4237
18940 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18941 member.
18942 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18943 member.
18944 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18945 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18946 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18947 conditional.
18948 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18949 GETDENTS_64BIT_ALIGNED.
18950 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18951 * manual/filesys.texi (Reading/Closing Directory): Document
18952 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18953 strongly.
18954 * manual/conf.texi (Limits for Files): Add portability note to
18955 NAME_MAX, PATH_MAX.
18956 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18957
ca0a6bc4
AS
189582013-08-13 Andreas Schwab <schwab@suse.de>
18959
18960 [BZ #15749]
18961 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18962 of fabs.
18963 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18964 LDBL_MAX_EXP >= 16384]: Add tests for it.
18965
6c1fd795
DM
189662013-08-12 David S. Miller <davem@davemloft.net>
18967
18968 * version.h (RELEASE): Set to "development".
18969 (VERSION): Set to "2.18.90".
18970 * NEWS: Add 2.19 section.
18971
31ad488d
DM
189722013-08-03 David S. Miller <davem@davemloft.net>
18973
18974 * po/ko.po: Update Korean translation from translation project.
18975
db24e684
DM
189762013-08-01 David S. Miller <davem@davemloft.net>
18977
18978 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18979 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18980 Bilka.
18981
f723285b
DM
189822013-07-30 David S. Miller <davem@davemloft.net>
18983
18984 * po/fr.po: Update French translation from translation project.
18985
3cbc52db
DM
189862013-07-28 David S. Miller <davem@davemloft.net>
18987
30bbc0cc
DM
18988 * po/cs.po: Update Czech translation from translation project.
18989
3cbc52db
DM
18990 * po/sv.po: Update Swedish translation from translation project.
18991
d492e6d0
DM
189922013-07-27 David S. Miller <davem@davemloft.net>
18993
f1a7f492
DM
18994 * po/eo.po: Update Esperanto translation from translation project.
18995
90e62a4a
DM
18996 * po/vi.po: Update Vietnamese translation from translation project.
18997
d492e6d0
DM
18998 * po/de.po: Update German translation from translation project.
18999
d4baa62d
DM
190002013-07-26 David S. Miller <davem@davemloft.net>
19001
641aa7b4
DM
19002 * po/bg.po: Update Bulgarian translation from translation project.
19003
d4baa62d
DM
19004 * po/nl.po: Update Dutch translation from translation project.
19005 * po/pl.po: Update Polish translation from translation project.
19006 * po/ru.po: Update Russian translation from translation project.
19007
61a9dcb9
DM
190082013-07-24 David S. Miller <davem@davemloft.net>
19009
19010 * po/libc.pot: Update.
19011
7b1f8b58
AZ
190122013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19013
19014 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19015 variable page size.
19016 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19017 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19018 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19019
a8fc7a03
AK
190202013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19021
19022 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19023
e4608715
CD
190242013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19025 Andreas Schwab <schwab@suse.de>
19026 Roland McGrath <roland@hack.frob.com>
19027 Joseph Myers <joseph@codesourcery.com>
19028 Carlos O'Donell <carlos@redhat.com>
19029
19030 [BZ #15755]
19031 * config.h.in: Define HAVE_PT_CHOWN.
19032 * config.make.in (build-pt-chown): New variable.
19033 * configure.in (--enable-pt_chown): New configure option.
19034 * configure: Regenerate.
19035 * login/Makefile: Include Makeconfig. Build pt_chown only if
19036 build-pt-chown is enabled.
19037 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19038 pt_chown to fix pty ownership.
19039 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19040 CLOSE_ALL_FDS.
19041 * manual/install.texi (Configuring and compiling): Mention
19042 --enable-pt_chown. Add @findex for grantpt.
19043 * INSTALL: Regenerate.
19044
da2d62df
DM
190452013-07-20 David S. Miller <davem@davemloft.net>
19046
19047 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19048 difference between 32-bit and 64-bit.
19049
d7e06450
CD
190502013-07-15 Carlos O'Donell <carlos@redhat.com>
19051
19052 [BZ #15711]
19053 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19054 Avoid system header dependency with -ffreestanding.
19055 ($(objpfx)bits/syscall%d): Likewise.
19056
f959cfd7
DM
190572013-07-13 David S. Miller <davem@davemloft.net>
19058
19059 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19060 underflows from atanl/atan2l due to bug 15319.
19061 (casinh_test_data): Likewise.
19062
c61f8513
DM
190632013-07-07 David S. Miller <davem@davemloft.net>
19064
19065 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19066
72c90ed0
JA
190672013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19068
19069 * sysdeps/i386/fpu/libm-test-ulps: Update.
19070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19071
52dfbe13
SP
190722013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19073
19074 * configure.in (--enable-lock-elision): Fix message text.
19075 * INSTALL: Regenerate.
19076 * configure: Regenerate.
19077
3f169543
AZ
190782013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19079
19080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19081
521c6785
AJ
190822013-07-03 Andreas Jaeger <aj@suse.de>
19083
19084 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19085 define.
19086 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19087 (ptrace_peeksiginfo_args): Add.
19088 (__ptrace_peeksiginfo_flags): Add.
19089 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19090 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19091 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19092
d2cc15cb
AM
190932013-07-03 Allan McRae <allan@archlinux.org>
19094
19095 * sysdeps/i386/fpu/libm-test-ulps: Update.
19096
3aaeeca7
DM
190972013-07-02 David S. Miller <davem@davemloft.net>
19098
19099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19100
5314ed1a
MT
191012013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19102
19103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19104
67338156
JM
191052013-07-02 Joseph Myers <joseph@codesourcery.com>
19106
19107 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19109
1717da59
AK
191102013-07-02 Andi Kleen <ak@linux.intel.com>
19111
19112 * config.h.in (ENABLE_LOCK_ELISION): Add.
19113 * configure.in (--enable-lock-elision): Add option.
19114 * manual/install.texi: Document --enable lock elision.
19115 * configure: Regenerate
19116 * INSTALL: Regenerate.
19117
1c81621c
L
191182013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19119
19120 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19121 SSE4.2 strcasecmp for libc.a.
19122 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19123
77f01ab5
JM
191242013-07-02 Joseph Myers <joseph@codesourcery.com>
19125
19126 [BZ #13304]
19127 * soft-fp/op-common.h (_FP_FMA): New macro.
19128 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19129 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19130 (_FP_MUL_MEAT_1_imm): ... here.
19131 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19132 (_FP_MUL_MEAT_1_wide): ... here.
19133 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19134 (_FP_MUL_MEAT_1_hard): ... here.
19135 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19136 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19137 (_FP_MUL_MEAT_2_wide): ... here.
19138 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19139 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19140 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19141 (_FP_MUL_MEAT_2_gmp): ... here.
19142 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19143 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19144 (_FP_MUL_MEAT_4_wide): ... here.
19145 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19146 (_FP_MUL_MEAT_4_gmp): ... here.
19147 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19148 (_FP_WFRACBITS_DW_S): Likewise.
19149 (_FP_WFRACXBITS_DW_S): Likewise.
19150 (_FP_HIGHBIT_DW_S): Likewise.
19151 (FP_FMA_S): Likewise.
19152 (_FP_FRAC_HIGH_DW_S): Likewise.
19153 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19154 (_FP_WFRACBITS_DW_D): Likewise.
19155 (_FP_WFRACXBITS_DW_D): Likewise.
19156 (_FP_HIGHBIT_DW_D): Likewise.
19157 (FP_FMA_D): Likewise.
19158 (_FP_FRAC_HIGH_DW_D): Likewise.
19159 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19160 (_FP_WFRACBITS_DW_E): Likewise.
19161 (_FP_WFRACXBITS_DW_E): Likewise.
19162 (_FP_HIGHBIT_DW_E): Likewise.
19163 (FP_FMA_E): Likewise.
19164 (_FP_FRAC_HIGH_DW_E): Likewise.
19165 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19166 (_FP_WFRACBITS_DW_Q): Likewise.
19167 (_FP_WFRACXBITS_DW_Q): Likewise.
19168 (_FP_HIGHBIT_DW_Q): Likewise.
19169 (FP_FMA_Q): Likewise.
19170 (_FP_FRAC_HIGH_DW_Q): Likewise.
19171 * soft-fp/fmasf4.c: New file.
19172 * soft-fp/fmadf4.c: Likewise.
19173 * soft-fp/fmatf4.c: Likewise.
19174
6308fd9a
LD
191752013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19176
19177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19178 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19179 Silvermont.
19180 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19181 macro.
19182 (index_Slow_SSE4_2): Likewise.
19183 (index_Prefer_PMINUB_for_stringop): Likewise.
19184 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19185 bit_Slow_SSE4_2 is set.
19186 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19187 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19188
89cd9569
RA
191892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19190
19191 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19192 rtld_global._dl_hwcap2.
19193 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19194 POWER8.
19195 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19196 POWER8 feature descriptions defined in _dl_hwcap2.
19197 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19198 string handling for POWER8 feature bits.
19199 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19200 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19201 _dl_powerpc_cap_flags.
19202 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19203 * sysdeps/powerpc/rtld-global-offsets.sym
19204 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19205 _dl_hwcap2 in the rtld_global_ro structure.
19206
1ae8bfe0
RA
192072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19208
19209 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19210 hardware capabilities in support of AT_HWCAP2.
19211 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19212 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19213 GLRO(dl_hwcap2).
19214 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19215 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19216 explicitly the unknown a_type display mechanism is used.
19217 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19218 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19219 struct member.
19220 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19221 to macro prototype for AT_HWCAP2 support.
19222 * sysdeps/i386/dl-procinfo.h: Likewise.
19223 * sysdeps/s390/dl-procinfo.h: Likewise.
19224 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19225 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19226 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19227 return -1 for unknown a_type display fallback.
19228 * sysdeps/sparc/dl-procinfo.h: Likewise.
19229 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19230 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19231
8fbec010
JM
192322013-06-28 Joseph Myers <joseph@codesourcery.com>
19233
19234 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19235 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19236
0432680e
PY
192372013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19238
19239 [BZ #12492]
19240 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19241 mprotect making __stack_prot writable.
19242
ce61a2ad
NF
192432013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19244 Joseph Myers <joseph@codesourcery.com>
19245
19246 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19247 as being properly aligned.
19248
f91f1c0f
MR
192492013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19250
3d0f5d0c
MR
19251 * dlfcn/modstatic5.c: New file.
19252 * dlfcn/tststatic5.c: New file.
19253 * dlfcn/Makefile (tests): Add tststatic5.
19254 (tests-static): Likewise.
19255 (modules-names): Add modstatic5.
19256 (tststatic5-ENV): New variable.
19257 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19258
f91f1c0f
MR
19259 [BZ #15022]
19260 * elf/dl-support.c (_dl_main_map): New variable.
19261 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19262 (_dl_nns, _dl_load_adds): Set to 1.
19263 (_dl_initial_searchlist): Refer to _dl_main_map.
19264 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19265 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19266 call to _dl_get_origin.
19267 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19268 around call_map.
19269 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19270 * dlfcn/modstatic3.c: New file.
19271 * dlfcn/tststatic3.c: New file.
19272 * dlfcn/tststatic4.c: New file.
19273 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19274 (tests-static): Likewise.
19275 (modules-names): Add modstatic3.
19276 (tststatic3-ENV, tststatic4-ENV): New variables.
19277 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19278 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19279
cbe7d24b
JM
192802013-06-26 Joseph Myers <joseph@codesourcery.com>
19281
19282 * configure.in (CC): Require GCC version 4.4 or later.
19283 * configure: Regenerated.
19284 * manual/install.texi (Tools for Compilation): Update GCC version
19285 requirement.
19286 * INSTALL: Regenerated.
19287
11b8a0e1
LD
192882013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19289
19290 [BZ #15674]
bb5bb87c
L
19291 * string/test-memcmp.c (check2): New.
19292 (main): Call check2.
19293
11b8a0e1
LD
19294 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19295
b0037103
MR
192962013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19297
19298 [BZ #15022]
19299 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19300 over to...
19301 (dl_open_worker) [!SHARED]: ... here.
19302
c18c701d
RA
193032013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19304
19305 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19306
1d17fa5f
RH
193072013-06-25 Richard Henderson <rth@redhat.com>
19308
19309 * locale/programs/locarchive.c: Include <libc-internal.h>
19310
8fcb833a
JM
193112013-06-25 Joseph Myers <joseph@codesourcery.com>
19312
19313 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19314 trailing whitespace removed.
19315
17db6e8d
MF
193162013-06-24 Mike Frysinger <vapier@gentoo.org>
19317
19318 [BZ #10283]
17db6e8d
MF
19319 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19320 * locale/programs/locarchive.c: Include libc-mmap.h.
19321 (prepare_address_space): Take two new outputs (the mmap base and len).
19322 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19323 values.
19324 (create_archive): Declare new mmap base and len values for
19325 prepare_address_space, and store the result in ah.
19326 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19327 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19328 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19329 Declare new mmap base and len values for
19330 prepare_address_space, and store the result in new_ah.
19331 (open_archive): Declare new mmap base and len values for
19332 prepare_address_space, and store the result in ah.
19333 (close_archive): If ah->mmap_base is not NULL, use that and
19334 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19335 * sysdeps/generic/libc-mmap.h: New file.
19336
d605071e
MF
193372013-06-24 Mike Frysinger <vapier@gentoo.org>
19338
19339 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19340 (ALIGN_UP): Likewise.
19341 (PTR_ALIGN_DOWN): Likewise.
19342 (PTR_ALIGN_UP): Likewise.
19343
2f063a6e
RA
193442013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19345
19346 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19347 entry mapped to PPC_PLATFORM_POWER8.
19348 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19349 POWER8.
19350 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19351 (_dl_string_platform): Add case for exporting platform position for
19352 POWER8.
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19354 search path to sysdeps/powerpc/powerpc32/power8 directory.
19355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19356 search path to sysdeps/powerpc/powerpc64/power8 directory.
19357 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19358 power7 directories.
19359 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19360 power7 directories.
19361
a31ee4b3
SP
193622013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19363
a74ca98f
SP
19364 * INSTALL: Regenerate.
19365
a31ee4b3
SP
19366 * nscd/connections.c (nscd_init): Fix comment.
19367
695c378f
JM
193682013-06-22 Joseph Myers <joseph@codesourcery.com>
19369
d8412221
JM
19370 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19371
695c378f
JM
19372 [BZ #15667]
19373 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19374 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19375
d1d54715
MR
193762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19377
19378 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19379 DL_DST_REQ_STATIC.
19380 (DL_DST_REQ_STATIC): Remove macro.
19381
8fdda7af
JM
193822013-06-21 Joseph Myers <joseph@codesourcery.com>
19383
19384 [BZ #7006]
19385 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19386 with a shift of 0 bits.
19387
f3bc5e5a
MR
193882013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19389
19390 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19391 $(tststatic-ENV).
19392
be09e8c9
KK
193932013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19394
19395 [BZ #15655]
19396 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19397
85c2e611
AZ
193982013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19399
19400 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19401 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19402 accepts -fno-tree-loop-distribute-patterns.
19403 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19404 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19405 recursive call.
19406 * string/memset.c (memset): Likewise.
19407 * string/test-memmove.c (simple_memmove): Disable loop transformation
19408 to library calls.
19409 * string/test-memset.c (simple_memset): Likewise.
19410 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19411 * benchtests/bench-memset.c (simple_memset): Likewise.
19412 * configure: Regenerated.
19413
c91e0825
JM
194142013-06-20 Joseph Myers <joseph@codesourcery.com>
19415
b8c792af
JM
19416 * math/test-misc.c (main): Ignore fesetround failure when failures
19417 of subsequent rounding tests would be ignored.
19418
c91e0825
JM
19419 [BZ #15654]
19420 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19421 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19422 * math/fegetenv.c (__fegetenv): Return 0.
19423 * math/fegetexcept.c (fegetexcept): Return 0.
19424 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19425 FE_TONEAREST.
19426 * math/feholdexcpt.c (feholdexcept): Return 0.
19427 * math/fesetenv.c (__fesetenv): Return 0.
19428 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19429 argument FE_TONEAREST.
19430 * math/feupdateenv.c (__feupdateenv): Return 0.
19431 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19432
bfcacbde
RM
194332013-06-18 Roland McGrath <roland@hack.frob.com>
19434
19435 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19436 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19437 ($(objpfx)rtld-%.os rules): Use them.
19438
e55a9b25
AZ
194392013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19440
19441 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19442 fields.
19443
346d65b3
RM
194442013-06-17 Roland McGrath <roland@hack.frob.com>
19445
12086fb4
RM
19446 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19447 length of target pattern, then descending length of dependency pattern.
19448 * configure.in (AWK): Require gawk 3.1.2 or newer.
19449 * manual/install.texi (Tools for Compilation): Say that we do.
19450 * configure: Regenerated.
19451
346d65b3
RM
19452 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19453 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19454 * scripts/sysd-rules.awk: ... this new script.
19455 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19456 than a glob-style pattern.
19457
1a846317
JM
194582013-06-17 Joseph Myers <joseph@codesourcery.com>
19459
19460 * math/test-misc.c (main): Do not treat incorrectly rounded
19461 conversions as failure unless ROUNDING_TESTS passes.
19462
8fc75e6f
JM
194632013-06-15 Joseph Myers <joseph@codesourcery.com>
19464
3711a167
JM
19465 [BZ #15631]
19466 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19467 restore exception state around main square root computation, then
19468 check for inexactness explicitly.
19469
8fc75e6f
JM
19470 * math/libm-test.inc (fma_test_data): Add another test.
19471
61dd6208
SP
194722013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19473
adf23d2c
SP
19474 * manual/threads.texi (Non-POSIX Extensions): New document
19475 node. Document pthread_getattr_default_np and
19476 pthread_setattr_default_np.
19477
61dd6208
SP
19478 * Versions.def (libpthread): Add GLIBC_2.18.
19479 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19481 Likewise.
19482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19483 Likewise.
19484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19485 Likewise.
19486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19487 Likewise.
19488 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19489 Likewise.
19490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19491 Likewise.
19492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19493 Likewise.
19494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19495 Likewise.
19496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19497 Likewise.
19498
d086fc7b
LD
194992013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19500
19501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19502 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19503
747ef469
SP
195042013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19505 H.J. Lu <hjl.tools@gmail.com>
19506
19507 [BZ #15627]
19508 * sysdeps/x86_64/rtld-memset.c: Remove file.
19509 * sysdeps/x86_64/rtld-memset.S: New file.
19510
1b2feed2
JM
195112013-06-14 Joseph Myers <joseph@codesourcery.com>
19512
19513 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19514 (test_in_one_mode): Take arguments for whether the rounding mode
19515 is supported for each floating-point type.
19516 (do_test): Pass new arguments to test_in_one_mode using
19517 ROUNDING_TESTS.
19518
a58ad3f8
RM
195192013-06-13 Roland McGrath <roland@hack.frob.com>
19520
19521 * posix/tst-waitid.c (do_test): Distinguish different instances of
19522 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19523 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19524 before entering the kernel for waitpid.
19525
c204ab28
SP
195262013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19527
19528 * NEWS: Fix note on clock function precision. Text by Roland
19529 McGrath.
19530
f4a29fba
RM
195312013-06-13 Roland McGrath <roland@hack.frob.com>
19532
19533 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19534 it into place only when and if the sanity check passes.
19535
1f24b9ad
JM
195362013-06-13 Joseph Myers <joseph@codesourcery.com>
19537
19538 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19539 output for whether conversion result is exact. Take argument
19540 indicating whether type is IBM long double.
19541 (round_for_all): Change need_exact field to ibm_ld.
19542 * stdlib/tst-strtod-round.c (struct exactness): New type.
19543 (struct test): Change bool ld_ok field to struct exactness exact.
19544 (TEST): Update all definitions for change to field.
19545 (tests): Regenerate array contents.
19546 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19547 field value. Check for IBM long double here.
19548 (do_test): Update calls to test_in_one_mode.
19549
58206c68
SP
195502013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19551
19552 [BZ #12515]
19553 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19554 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19555
2d6f4c5b 195562013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
19557
19558 [BZ #15605]
19559 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19560 generated by the compiler on loop optimizations.
19561 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19562 general definitions.
19563
94f2c076
JM
195642013-06-12 Joseph Myers <joseph@codesourcery.com>
19565
19566 * math/bug-nextafter.c: Include <math-tests.h>.
19567 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19568 the relevant type.
19569 * math/bug-nexttoward.c: Include <math-tests.h>.
19570 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19571 the relevant type.
19572 * math/test-misc.c: Include <math-tests.h>.
19573 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19574 the relevant type.
19575
e0e50a0a
AJ
195762013-06-12 Andreas Jaeger <aj@suse.de>
19577
19578 * po/ia.po: Update Interlingua translation from translation
19579 project.
19580
25061094
SP
195812013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19582
19583 * include/fenv.h: Include stdbool.h.
19584 (struct rm_ctx): New structure.
19585 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19586 Define macro.
19587 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19588 (SET_RESTORE_ROUNDF): Likewise.
19589 (SET_RESTORE_ROUNDL): Likewise.
19590 (SET_RESTORE_ROUND_NOEX): Likewise.
19591 (SET_RESTORE_ROUND_NOEXF): Likewise.
19592 (SET_RESTORE_ROUND_NOEXL): Likewise.
19593 (SET_RESTORE_ROUND_53BIT): Likewise.
19594 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19595 (libc_feresetround_noexf_ctx): Likewise.
19596 (libc_feresetround_noexl_ctx): Likewise.
19597 (libc_feholdsetround_53bit_ctx): Likewise.
19598 (libc_feresetround_53bit_ctx): Likewise.
19599 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19600 (libc_feholdexcept_setround_sse_ctx): New function.
19601 (libc_fesetenv_sse_ctx): Likewise.
19602 (libc_feupdateenv_sse_ctx): Likewise.
19603 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19604 (libc_feholdexcept_setround_387_ctx): Likewise.
19605 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19606 (libc_feholdsetround_387_prec_ctx): Likewise.
19607 (libc_feholdsetround_387_ctx): Likewise.
19608 (libc_feholdsetround_387_53bit_ctx): Likewise.
19609 (libc_feholdsetround_sse_ctx): Likewise.
19610 (libc_feresetround_sse_ctx): Likewise.
19611 (libc_feresetround_387_ctx): Likewise.
19612 (libc_feupdateenv_387_ctx): Likewise.
19613 (libc_feholdexcept_setroundf_ctx): Define macro.
19614 (libc_fesetenvf_ctx): Likewise.
19615 (libc_feupdateenvf_ctx): Likewise.
19616 (libc_feholdsetroundf_ctx): Likewise.
19617 (libc_feresetroundf_ctx): Likewise.
19618 (libc_feholdexcept_setround_ctx): Likewise.
19619 (libc_fesetenv_ctx): Likewise.
19620 (libc_feupdateenv_ctx): Likewise.
19621 (libc_feholdsetround_ctx): Likewise.
19622 (libc_feresetround_ctx): Likewise.
19623 (libc_feholdexcept_setroundl_ctx): Likewise.
19624 (libc_feupdateenvl_ctx): Likewise.
19625 (libc_feholdsetroundl_ctx): Likewise.
19626 (libc_feresetroundl_ctx): Likewise.
19627 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19628 (libc_feresetround_53bit_ctx): Likewise.
19629
59b30555
SP
196302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19631
19632 * locale/iso-639.def: Convert to UTF-8.
19633
f1d73d30
JM
196342013-06-11 Joseph Myers <joseph@codesourcery.com>
19635
19636 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19637 (EXCEPTION_TESTS_double): Likewise.
19638 (EXCEPTION_TESTS_long_double): Likewise.
19639 (EXCEPTION_TESTS): Likewise.
19640 * math/libm-test.inc (test_exceptions): Only test exceptions if
19641 EXCEPTION_TESTS (FLOAT).
19642
94aca5e7
SP
196432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19644
19645 * benchtests/Makefile (string-bench): Add strcpy_chk and
19646 stpcpy_chk.
19647 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19648 * benchtests/bench-stpcpy_chk.c: New file.
19649 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19650 * benchtests/bench-strcpy_chk.c: New file.
19651 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19652 code.
19653 (do_test): Likewise.
19654
fac0c5f2
RA
196552013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19656
19657 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19658 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19659 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19660 with tabs where appropriate.
19661 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19662 dl-procinfo.h.
19663 [PPC_PLATFORM_PPC440]: Likewise.
19664 [PPC_PLATFORM_PPC464]: Likewise.
19665 [PPC_PLATFORM_PPC476]: Likewise.
19666 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19667 ppc464, and ppc476 platform strings merging from ports/
19668 dl-procinfo.h.
19669
f22bc486
AS
196702013-06-11 Andreas Schwab <schwab@suse.de>
19671
19672 [BZ #14991]
19673 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19674 (from_ucs4_idx): Regenerate.
19675 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19676 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19677 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19678 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19679 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19680 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19681 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19682 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19683 from FROM_LOOP and TO_LOOP specific macros.
19684 (BODY): Handle combining characters.
19685 * iconvdata/BIG5HKSCS.irreversible: Update.
19686 * iconvdata/BIG5HKSCS.precomposed: New file.
19687 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19688 characters.
19689 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19690
c1f75dc3
SP
196912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19692
4eacded2
SP
19693 * include/sys/time.h: Fix indentation and add copyright header.
19694
fec799f8
SP
19695 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19696 (do_test): Likewise.
19697 * string/test-memchr.c (do_one_test): Likewise.
19698 (do_test): Likewise.
19699 * string/test-memcmp.c (do_one_test): Likewise.
19700 (do_test): Likewise.
19701 * string/test-memcpy.c (do_one_test): Likewise.
19702 (do_test): Likewise.
19703 * string/test-memmem.c (do_one_test): Likewise.
19704 (do_test): Likewise.
19705 (do_random_tests): Likewise.
19706 * string/test-memmove.c (do_one_test): Likewise.
19707 (do_test): Likewise.
19708 * string/test-memset.c (do_one_test): Likewise.
19709 (do_test): Likewise.
19710 * string/test-rawmemchr.c (do_one_test): Likewise.
19711 (do_test): Likewise.
19712 * string/test-strcasecmp.c (do_one_test): Likewise.
19713 (do_test): Likewise.
19714 * string/test-strcasestr.c (do_one_test): Likewise.
19715 (do_test): Likewise.
19716 * string/test-strcat.c (do_one_test): Likewise.
19717 (do_test): Likewise.
19718 * string/test-strchr.c (do_one_test): Likewise.
19719 (do_test): Likewise.
19720 * string/test-strcmp.c (do_one_test): Likewise.
19721 (do_test): Likewise.
19722 * string/test-strcpy.c (do_one_test): Likewise.
19723 (do_test): Likewise.
19724 * string/test-string.h: Likewise.
19725 (test_init): Likewise.
19726 * string/test-strlen.c (do_one_test): Likewise.
19727 (do_test): Likewise.
19728 * string/test-strncasecmp.c (do_one_test): Likewise.
19729 (do_test): Likewise.
19730 * string/test-strncat.c (do_one_test): Likewise.
19731 (do_test): Likewise.
19732 * string/test-strncmp.c (do_one_test): Likewise.
19733 (do_test_limit): Likewise.
19734 (do_test): Likewise.
19735 * string/test-strncpy.c (do_one_test): Likewise.
19736 (do_test): Likewise.
19737 * string/test-strnlen.c (do_one_test): Likewise.
19738 (do_test): Likewise.
19739 * string/test-strpbrk.c (do_one_test): Likewise.
19740 (do_test): Likewise.
19741 * string/test-strrchr.c (do_one_test): Likewise.
19742 (do_test): Likewise.
19743 * string/test-strspn.c (do_one_test): Likewise.
19744 (do_test): Likewise.
19745 * string/test-strstr.c (do_one_test): Likewise.
19746 (do_test): Likewise.
19747
97020474
SP
19748 * benchtests/Makefile (string-bench): Add string benchmarks.
19749 * benchtests/bench-bcopy-ifunc.c: New file.
19750 * benchtests/bench-bcopy.c: New file.
19751 * benchtests/bench-bzero-ifunc.c: New file.
19752 * benchtests/bench-bzero.c: New file.
19753 * benchtests/bench-memccpy-ifunc.c: New file.
19754 * benchtests/bench-memccpy.c: New file.
19755 * benchtests/bench-memchr-ifunc.c: New file.
19756 * benchtests/bench-memchr.c: New file.
19757 * benchtests/bench-memcmp-ifunc.c: New file.
19758 * benchtests/bench-memcmp.c: New file.
19759 * benchtests/bench-memmem-ifunc.c: New file.
19760 * benchtests/bench-memmem.c: New file.
19761 * benchtests/bench-memmove-ifunc.c: New file.
19762 * benchtests/bench-memmove.c: New file.
19763 * benchtests/bench-mempcpy-ifunc.c: New file.
19764 * benchtests/bench-mempcpy.c: New file.
19765 * benchtests/bench-memset-ifunc.c: New file.
19766 * benchtests/bench-memset.c: New file.
19767 * benchtests/bench-rawmemchr-ifunc.c: New file.
19768 * benchtests/bench-rawmemchr.c: New file.
19769 * benchtests/bench-stpcpy-ifunc.c: New file.
19770 * benchtests/bench-stpcpy.c: New file.
19771 * benchtests/bench-stpncpy-ifunc.c: New file.
19772 * benchtests/bench-stpncpy.c: New file.
19773 * benchtests/bench-strcasecmp-ifunc.c: New file.
19774 * benchtests/bench-strcasecmp.c: New file.
19775 * benchtests/bench-strcasestr-ifunc.c: New file.
19776 * benchtests/bench-strcasestr.c: New file.
19777 * benchtests/bench-strcat-ifunc.c: New file.
19778 * benchtests/bench-strcat.c: New file.
19779 * benchtests/bench-strchr-ifunc.c: New file.
19780 * benchtests/bench-strchr.c: New file.
19781 * benchtests/bench-strchrnul-ifunc.c: New file.
19782 * benchtests/bench-strchrnul.c: New file.
19783 * benchtests/bench-strcmp-ifunc.c: New file.
19784 * benchtests/bench-strcmp.c: New file.
19785 * benchtests/bench-strcpy-ifunc.c: New file.
19786 * benchtests/bench-strcpy.c: New file.
19787 * benchtests/bench-strcspn-ifunc.c: New file.
19788 * benchtests/bench-strcspn.c: New file.
19789 * benchtests/bench-strlen-ifunc.c: New file.
19790 * benchtests/bench-strlen.c: New file.
19791 * benchtests/bench-strncasecmp-ifunc.c: New file.
19792 * benchtests/bench-strncasecmp.c: New file.
19793 * benchtests/bench-strncat-ifunc.c: New file.
19794 * benchtests/bench-strncat.c: New file.
19795 * benchtests/bench-strncmp-ifunc.c: New file.
19796 * benchtests/bench-strncmp.c: New file.
19797 * benchtests/bench-strncpy-ifunc.c: New file.
19798 * benchtests/bench-strncpy.c: New file.
19799 * benchtests/bench-strnlen-ifunc.c: New file.
19800 * benchtests/bench-strnlen.c: New file.
19801 * benchtests/bench-strpbrk-ifunc.c: New file.
19802 * benchtests/bench-strpbrk.c: New file.
19803 * benchtests/bench-strrchr-ifunc.c: New file.
19804 * benchtests/bench-strrchr.c: New file.
19805 * benchtests/bench-strspn-ifunc.c: New file.
19806 * benchtests/bench-strspn.c: New file.
19807 * benchtests/bench-strstr-ifunc.c: New file.
19808 * benchtests/bench-strstr.c: New file.
19809
c1f75dc3
SP
19810 * benchtests/Makefile: Disable parallel execution of targets.
19811 (string-bench): Add memcpy.
19812 (benchset): New variable to store a list of benchmark sets.
19813 (bench-func): Renamed from bench.
19814 (bench-set): New target.
19815 (bench): Depend on bench-func and bench-set.
19816 * benchtests/README: Add section on benchmark sets.
19817 * benchtests/bench-memcpy-ifunc.c: New file.
19818 * benchtests/bench-memcpy.c: New file.
19819 * benchtests/bench-string.h: New file.
19820
50fd745b
AS
198212013-06-11 Andreas Schwab <schwab@suse.de>
19822
19823 [BZ #15577]
19824 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19825 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19826 values in the triple.
19827 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19828 terminator in the group key.
19829
3ee7e9fe
AJ
198302013-06-11 Andreas Jaeger <aj@suse.de>
19831
19832 * po/zh_TW.po: Update Chinese (traditional) translation from
19833 translation project.
19834
89fb6835
SP
198352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19836
19837 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19838 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19839 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19840 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19841 (clock_getcpuclockid): Likewise.
19842 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19843 Add weak_alias and libc_hidden_def.
19844 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19845 * rt/clock_gettime.c (clock_gettime): Rename to
19846 __clock_gettime. Add weak_alias and libc_hidden_def.
19847 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19848 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19849 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19850 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19851 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19852 Likewise.
19853 * rt/clock_settime.c (clock_settime): Rename to
19854 __clock_settime. Add weak_alias and libc_hidden_def.
19855 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19856
0efa6f8b
JM
198572013-06-10 Joseph Myers <joseph@codesourcery.com>
19858
b8c61b4b
JM
19859 * mach/err_boot.sub: Remove trailing whitespace.
19860 * mach/err_ipc.sub: Likewise.
19861 * mach/err_mach.sub: Likewise.
19862
0efa6f8b
JM
19863 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19864 (ROUNDING_TESTS_double): Likewise.
19865 (ROUNDING_TESTS_long_double): Likewise.
19866 (ROUNDING_TESTS): Likewise.
19867 * math/libm-test.inc: Include <math-tests.h>.
19868 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19869 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19870 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19871 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19872
50b818bf
SP
198732013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19874
19875 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19876 of assigning.
19877
60d2f8f3
JM
198782013-06-08 Joseph Myers <joseph@codesourcery.com>
19879
4902d2c3
JM
19880 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19881 otherwise empty TRANS lines.
19882 * sysdeps/gnu/errlist.c: Regenerated.
19883
60d2f8f3
JM
19884 * catgets/gencat.c (error_print): Use (void) in function
19885 definition.
19886 * crypt/crypt_util.c (__init_des): Likewise.
19887 * crypt/speeds.c (Stop): Likewise.
19888 (main): Likewise.
19889 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19890 * inet/ruserpass.c (token): Likewise.
19891 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19892 * intl/localealias.c (extend_alias_table): Likewise.
19893 * intl/plural-exp.c (init_germanic_plural): Likewise.
19894 * libio/fcloseall.c (__fcloseall): Likewise.
19895 * libio/genops.c (_IO_flush_all): Likewise.
19896 (_IO_flush_all_linebuffered): Likewise.
19897 (_IO_cleanup): Likewise.
19898 (_IO_iter_begin): Likewise.
19899 (_IO_iter_end): Likewise.
19900 (_IO_list_lock): Likewise.
19901 (_IO_list_unlock): Likewise.
19902 (_IO_list_resetlock): Likewise.
19903 * libio/getchar.c (getchar): Likewise.
19904 * libio/getchar_u.c (getchar_unlocked): Likewise.
19905 * libio/getwchar.c (getwchar): Likewise.
19906 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19907 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19908 * login/getpt.c (__getpt): Likewise.
19909 * login/tst-utmp.c (main): Likewise.
19910 * malloc/hooks.c (__malloc_check_init): Likewise.
19911 * malloc/malloc.c (__malloc_stats): Likewise.
19912 * malloc/mtrace.c (tr_break): Likewise.
19913 (mtrace): Likewise.
19914 (muntrace): Likewise.
19915 * misc/fstab.c (endfsent): Likewise.
19916 * misc/getclktck.c (__getclktck): Likewise.
19917 * misc/getdtsz.c (__getdtablesize): Likewise.
19918 * misc/gethostid.c (gethostid): Likewise.
19919 * misc/getpagesize.c (__getpagesize): Likewise.
19920 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19921 (__get_nprocs): Likewise.
19922 (__get_phys_pages): Likewise.
19923 (__get_avphys_pages): Likewise.
19924 * misc/getttyent.c (getttyent): Likewise.
19925 (setttyent): Likewise.
19926 (endttyent): Likewise.
19927 * misc/getusershell.c (getusershell): Likewise.
19928 (endusershell): Likewise.
19929 (setusershell): Likewise.
19930 (initshells): Likewise.
19931 * misc/hsearch.c (__hdestroy): Likewise.
19932 * misc/sync.c (sync): Likewise.
19933 * misc/syslog.c (closelog_internal): Likewise.
19934 (closelog): Likewise.
19935 * misc/ttyslot.c (ttyslot): Likewise.
19936 * misc/vhangup.c (vhangup): Likewise.
19937 * posix/fork.c (__fork): Likewise.
19938 * posix/getegid.c (__getegid): Likewise.
19939 * posix/geteuid.c (__geteuid): Likewise.
19940 * posix/getgid.c (__getgid): Likewise.
19941 * posix/getpid.c (__getpid): Likewise.
19942 * posix/getppid.c (__getppid): Likewise.
19943 * posix/getuid.c (__getuid): Likewise.
19944 * posix/pause.c (pause): Likewise.
19945 * posix/setpgrp.c (setpgrp): Likewise.
19946 * posix/setsid.c (__setsid): Likewise.
19947 * posix/test-vfork.c (noop): Likewise.
19948 * resolv/gethnamaddr.c (_endhtent): Likewise.
19949 (_gethtent): Likewise.
19950 (ht_endhostent): Likewise.
19951 (gethostent): Likewise.
19952 (dns_service): Likewise.
19953 * stdlib/drand48.c (drand48): Likewise.
19954 * stdlib/lrand48.c (lrand48): Likewise.
19955 * stdlib/mrand48.c (mrand48): Likewise.
19956 * stdlib/rand.c (rand): Likewise.
19957 * stdlib/random.c (__random): Likewise.
19958 * stdlib/setenv.c (clearenv): Likewise.
19959 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19960 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19961 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19962 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19963 (__get_nprocs): Likewise.
19964 (__get_phys_pages): Likewise.
19965 (__get_avphys_pages): Likewise.
19966 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19967 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19968 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19969 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19970 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19971 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19972 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19973 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19974 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19975 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19976 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19977 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19978 * sysdeps/posix/clock.c (clock): Likewise.
19979 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19980 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19981 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19982 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19983 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19985 (__get_nprocs_conf): Likewise.
19986 (__get_phys_pages): Likewise.
19987 (__get_avphys_pages): Likewise.
19988 * time/clock.c (clock): Likewise.
19989 * time/tzset.c (__tzname_max): Likewise.
19990
2e09a79a
JM
199912013-06-07 Joseph Myers <joseph@codesourcery.com>
19992
19993 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19994 (__bswap_32): Do not use "register".
19995 * crypt/crypt.c (_ufc_doit_r): Likewise.
19996 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19997 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19998 * gmon/gmon.c (__monstartup): Likewise.
19999 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20000 * hurd/hurdmalloc.c (more_memory): Likewise.
20001 (malloc): Likewise.
20002 (free): Likewise.
20003 (realloc): Likewise.
20004 (malloc_fork_prepare): Likewise.
20005 (malloc_fork_parent): Likewise.
20006 (malloc_fork_child): Likewise.
20007 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20008 (_svcauth_des): Likewise.
20009 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20010 * inet/inet_net.c (inet_network): Likewise.
20011 * inet/inet_netof.c (inet_netof): Likewise.
20012 * inet/rcmd.c (__validuser2_sa): Likewise.
20013 * io/fts.c (fts_open): Likewise.
20014 (fts_load): Likewise.
20015 (fts_close): Likewise.
20016 (fts_read): Likewise.
20017 (fts_children): Likewise.
20018 (fts_build): Likewise.
20019 (fts_stat): Likewise.
20020 (fts_sort): Likewise.
20021 (fts_alloc): Likewise.
20022 (fts_lfree): Likewise.
20023 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20024 (_IO_file_xsgetn): Likewise.
20025 (_IO_file_xsgetn_mmap): Likewise.
20026 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20027 (_IO_cookie_write): Likewise.
20028 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20029 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20030 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20031 * malloc/obstack.c (_obstack_begin): Likewise.
20032 (_obstack_begin_1): Likewise.
20033 (_obstack_newchunk): Likewise.
20034 (_obstack_allocated_p): Likewise.
20035 (obstack_free): Likewise.
20036 (_obstack_memory_used): Likewise.
20037 * misc/getttyent.c (getttynam): Likewise.
20038 (getttyent): Likewise.
20039 (skip): Likewise.
20040 (value): Likewise.
20041 * misc/getusershell.c (initshells): Likewise.
20042 * misc/syslog.c (__vsyslog_chk): Likewise.
20043 * misc/ttyslot.c (ttyslot): Likewise.
20044 * nis/nis_hash.c (__nis_hash): Likewise.
20045 * posix/fnmatch_loop.c (FCT): Likewise.
20046 * posix/getconf.c (print_all): Likewise.
20047 (main): Likewise.
20048 * posix/getopt.c (exchange): Likewise.
20049 * posix/glob.c (globfree): Likewise.
20050 (prefix_array): Likewise.
20051 (__glob_pattern_type): Likewise.
20052 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20053 (NS_GET32): Likewise.
20054 (NS_PUT16): Likewise.
20055 (NS_PUT32): Likewise.
20056 * resolv/gethnamaddr.c (getanswer): Likewise.
20057 (gethostbyname2): Likewise.
20058 (gethostbyaddr): Likewise.
20059 (_gethtent): Likewise.
20060 (_gethtbyname2): Likewise.
20061 (_gethtbyaddr): Likewise.
20062 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20063 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20064 * resolv/res_init.c (__res_vinit): Likewise.
20065 (net_mask): Likewise.
20066 * resolv/res_mkquery.c (outchar): Likewise.
20067 (PRINT): Likewise.
20068 * stdio-common/printf_fp.c (outchar): Likewise.
20069 (PRINT): Likewise.
20070 * stdio-common/printf_fphex.c (outchar): Likewise.
20071 (PRINT): Likewise.
20072 * stdio-common/printf_size.c (outchar): Likewise.
20073 (PRINT): Likewise.
20074 * stdio-common/test_rdwr.c (main): Likewise.
20075 * stdio-common/tfformat.c (matches): Likewise.
20076 * stdio-common/vfprintf.c (outchar): Likewise.
20077 (printf_unknown): Likewise.
20078 (buffered_vfprintf): Likewise.
20079 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20080 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20081 (ReadFile): Likewise.
20082 * stdlib/qsort.c (SWAP): Likewise.
20083 (_quicksort): Likewise.
20084 * stdlib/setenv.c (__add_to_environ): Likewise.
20085 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20086 * stdlib/strtol_l.c (__strtol_l): Likewise.
20087 * stdlib/tst-strtod.c (main): Likewise.
20088 * stdlib/tst-strtol.c (main): Likewise.
20089 * stdlib/tst-strtoll.c (main): Likewise.
20090 * string/bits/string2.h (__strcmp_cc): Likewise.
20091 (__strcmp_cg): Likewise.
20092 (__strcspn_c1): Likewise.
20093 (__strcspn_c2): Likewise.
20094 (__strcspn_c3): Likewise.
20095 (__strspn_c1): Likewise.
20096 (__strspn_c2): Likewise.
20097 (__strspn_c3): Likewise.
20098 (__strsep_1c): Likewise.
20099 (__strsep_2c): Likewise.
20100 (__strsep_3c): Likewise.
20101 * string/memccpy.c (__memccpy): Likewise.
20102 * string/stpcpy.c (__stpcpy): Likewise.
20103 * string/strcmp.c (strcmp): Likewise.
20104 * string/strrchr.c (strrchr): Likewise.
20105 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20106 Likewise.
20107 * sysdeps/mach/hurd/getcwd.c
20108 (_hurd_canonicalize_directory_name_internal): Likewise.
20109 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20110 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20111 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20112 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20113 Likewise, in both definitions.
20114 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20115 definitions.
20116 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20117 64] (__bswap_64): Likewise.
20118 * time/test_time.c (main): Likewise.
20119 * time/tzfile.c (__tzfile_read): Likewise.
20120 (__tzfile_compute): Likewise.
20121 * time/tzset.c (__tzset_parse_tz): Likewise.
20122 (tzset_internal): Likewise.
20123 (compute_change): Likewise.
20124 * wcsmbs/wcscat.c (__wcscat): Likewise.
20125 * wcsmbs/wcschr.c (wcschr): Likewise.
20126 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20127 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20128 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20129 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20130 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20131 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20132 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20133 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20134 * wcsmbs/wmemset.c (wmemset): Likewise.
20135
9e54314b
JM
201362013-06-06 Joseph Myers <joseph@codesourcery.com>
20137
20138 * scripts/config.guess: Update to version 2013-05-16.
20139 * scripts/config.sub: Update to version 2013-04-24.
20140 * scripts/install-sh: Update to version 2011-11-20.07.
20141 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20142 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20143
350635a5
OB
201442013-06-06 Ondřej Bílka <neleai@seznam.cz>
20145
20146 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20147 * elf/sln.c: Likewise.
20148 * hurd/hurd/ioctl.h: Likewise.
20149 * hurd/hurdmalloc.c: Likewise.
20150 * hurd/xattr.c: Likewise.
20151 * include/shlib-compat.h: Likewise.
20152 * inet/ruserpass.c: Likewise.
20153 * libio/iofgets_u.c: Likewise.
20154 * libio/iofgetws_u.c: Likewise.
20155 * locale/programs/ld-identification.c: Likewise.
20156 * locale/programs/ld-time.c: Likewise.
20157 * mach/msg-destroy.c: Likewise.
20158 * nss/nss_files/files-netgrp.c: Likewise.
20159 * resolv/res_data.c: Likewise.
20160 * soft-fp/op-1.h: Likewise.
20161 * soft-fp/op-2.h: Likewise.
20162 * soft-fp/op-4.h: Likewise.
20163 * soft-fp/op-common.h: Likewise.
20164 * stdio-common/printf_fphex.c: Likewise.
20165 * stdlib/strtod_l.c: Likewise.
20166 * sunrpc/rpc/clnt.h: Likewise.
20167 * sysdeps/generic/framestate.c: Likewise.
20168 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20169 * sysdeps/i386/bsd-setjmp.S: Likewise.
20170 * sysdeps/i386/__longjmp.S: Likewise.
20171 * sysdeps/i386/setjmp.S: Likewise.
20172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20173 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20174 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20177 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20190 * sysdeps/ieee754/support.c: Likewise.
20191 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20192 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20193 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20194 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20195 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20196 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20197 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20198 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20199 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20200 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20201 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20202 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20203 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20204 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20205 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20206 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20207 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20209
44a988af
OB
202102013-06-05 Ondřej Bílka <neleai@seznam.cz>
20211
25506f09 20212 * posix/transbug.c: Remove executable mode.
44a988af 20213
9c84384c
JM
202142013-06-05 Joseph Myers <joseph@codesourcery.com>
20215
20216 * crypt/speeds.c: Remove trailing whitespace.
20217 * dlfcn/default.c: Likewise.
20218 * elf/ifuncdep2.c: Likewise.
20219 * elf/ifuncmain1.c: Likewise.
20220 * elf/ifuncmain1vis.c: Likewise.
20221 * elf/testobj.h: Likewise.
20222 * elf/tst-stackguard1.c: Likewise.
20223 * gmon/sys/gmon.h: Likewise.
20224 * hurd/hurdmsg.c: Likewise.
20225 * hurd/new-fd.c: Likewise.
20226 * hurd/ports-get.c: Likewise.
20227 * iconvdata/ibm1008_420.c: Likewise.
20228 * inet/tst-getni1.c: Likewise.
20229 * inet/tst-getni2.c: Likewise.
20230 * libio/ioungetc.c: Likewise.
20231 * libio/wfiledoalloc.c: Likewise.
20232 * manual/libm-err-tab.pl: Likewise.
20233 * math/w_dremf.c: Likewise.
20234 * misc/ftruncate.c: Likewise.
20235 * posix/bug-glob2.c: Likewise.
20236 * posix/tst-pcre.c: Likewise.
20237 * posix/wait4.c: Likewise.
20238 * resolv/README: Likewise.
20239 * resolv/res_debug.h: Likewise.
20240 * resolv/tst-inet_ntop.c: Likewise.
20241 * setjmp/bug269-setjmp.c: Likewise.
20242 * soft-fp/extended.h: Likewise.
20243 * soft-fp/op-1.h: Likewise.
20244 * soft-fp/op-2.h: Likewise.
20245 * soft-fp/op-4.h: Likewise.
20246 * soft-fp/op-8.h: Likewise.
20247 * soft-fp/testit.c: Likewise.
20248 * stdio-common/bug16.c: Likewise.
20249 * stdlib/random.c: Likewise.
20250 * sunrpc/rpcsvc/rquota.x: Likewise.
20251 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20252 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20253 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20254 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20255 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20256 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20257 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20258 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20259 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20260 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20261 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20262 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20263 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20264 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20265 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20266 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20267 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20268 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20273 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20275 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20276 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20280 * sysdeps/ieee754/s_lib_version.c: Likewise.
20281 * sysdeps/mach/hurd/check_fds.c: Likewise.
20282 * sysdeps/mach/hurd/getsockname.c: Likewise.
20283 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20284 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20285 * sysdeps/powerpc/bits/link.h: Likewise.
20286 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20287 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20288 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20289 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20290 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20291 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20292 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20293 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20294 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20295 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20296 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20297 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20298 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20299 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20300 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20301 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20302 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20303 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20304 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20305 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20306 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20307 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20309 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20310 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20311 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20312 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20313 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20314 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20315 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20316 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20317 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20318 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20319 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20320 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20321 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20322 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20323 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20324 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20325 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20326 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20327 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20328 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20329 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20330 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20331 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20332 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20333 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20334 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20335 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20338 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20339 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20340 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20341 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20342 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20343 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20344 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20345 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20346 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20347 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20348 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20349 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20350 * sysdeps/powerpc/sysdep.h: Likewise.
20351 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20352 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20353 * sysdeps/sh/dl-trampoline.S: Likewise.
20354 * sysdeps/sh/memset.S: Likewise.
20355 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20356 * sysdeps/sh/strlen.S: Likewise.
20357 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20358 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20359 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20360 * sysdeps/sparc/sparc32/rem.S: Likewise.
20361 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20362 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20363 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20364 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20365 * sysdeps/sparc/sparc32/urem.S: Likewise.
20366 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20367 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20368 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20369 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20370 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20371 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20372 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20373 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20374 * sysdeps/unix/bsd/times.c: Likewise.
20375 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20376 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20380 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20381 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20382 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20383 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20384 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20385 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20386 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20387 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20388 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20389 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20390 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20391 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20392 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20393 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20394 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20395 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20396 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20397 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20398 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20399 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20400 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20401 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20402 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20403 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20404 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20405 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20406 * sysdeps/x86_64/strcspn.S: Likewise.
20407
869378a5
RA
204082013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20409
20410 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20411 generated file. Regenerate properly from gen-translit.pl.
20412 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20413 locale/C-translit.h.
20414
840e2943
AS
204152013-06-05 Andreas Schwab <schwab@suse.de>
20416
20417 [BZ #15100]
20418 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20419 week as 6 instead of -1.
20420 * time/tst-strptime.c (day_tests): Add test case.
20421
4c60cb0c
SP
204222013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20423
20424 * sysdeps/generic/math_private.h
20425 (libc_feholdexcept_setround_53bit): Replace with
20426 libc_feholdsetround_53bit.
20427 (libc_feupdateenv_53bit): Replace with
20428 libc_feresetround_53bit.
20429 (SET_RESTORE_ROUND_53BIT): Adjust.
20430
d180203e
SP
204312013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20432
96df079a
SP
20433 * string/test-strchrnul.c: Add copyright header.
20434
d180203e
SP
20435 * posix/tst-getaddrinfo4.c: Increase test timeout.
20436
8b0ccb2d
CD
204372013-06-03 Carlos O'Donell <carlos@redhat.com>
20438
20439 [BZ #15536]
20440 * math/libm-test.inc (MAX_EXP): Remove
20441 (MIN_EXP): Define.
20442 (ulp): Use MIN_EXP - MANT_DIG.
20443 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20444
3b3c4d40
CD
204452013-05-31 Carlos O'Donell <carlos@redhat.com>
20446
20447 * po/be.po: Revert last change.
20448 * po/zh_CN.po: Likewise.
20449 * po/header.pot: Likewise.
20450
fab7ce3f
JM
204512013-05-31 Joseph Myers <joseph@codesourcery.com>
20452
20453 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20454 link-libc-deps to empty as target-specific variable.
20455 * Makerules (link-libc-args): New variable.
20456 (libc-for-link): Likewise.
20457 (link-libc-deps): Likewise.
20458 (lib%.so): Depend on $(link-libc-deps). Link with
20459 $(link-libc-args).
20460 (build-module): Link with $(link-libc-args).
20461 (build-module-asneeded): Likewise.
20462 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20463 list of objects.
20464 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20465 target-specific variable.
20466 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20467 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20468 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20469 libc.
20470 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20471 libc and ld.so.
20472 ($(objpfx)libpcprofile.so): Likewise.
20473 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20474 libc_nonshared.a.
20475 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20476 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20477 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20478 $(link-libc-deps).
20479 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20480 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20481 * login/Makefile ($(objpfx)libutil.so): Likewise.
20482 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20483 * math/Makefile ($(objpfx)libm.so): Likewise.
20484 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20485 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20486 variable instead of depending directly on libc.
20487 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20488 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20489 $(link-libc-deps).
20490 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20491 libc.
20492 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20493 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20494 ($(objpfx)libanl.so): Likewise.
20495 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20496 ld.so.
20497 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20498 $(link-libc-deps).
20499 * sysdeps/i386/fpu/Makefile: Remove file.
20500 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20501 ($(objpfx)libm.so): Remove dependency on ld.so.
20502
eca5920c
PF
205032013-05-30 Patsy Franklin <pfrankli@redhat.com>
20504
20505 [BZ # 15553]
20506 * nis/yp_xdr.c (XDRMAXNAME): Define.
20507 (XDRMAXRECORD): Define.
20508 (xdr_domainname): Use XDRMAXNAME.
20509 (xdr_mapname): Likewise.
20510 (xdr_peername): Likewise.
20511 (xdr_keydat): Use XDRMAXRECORD.
20512 (xdr_valdat): Likewise.
20513
205142013-05-30 Jeff Law <law@redhat.com>
96945714
JL
20515
20516 [BZ #14256]
20517 * manual/errno.texi (ESTALE): Update to account for more than
20518 just NFS file systems.
20519 * sysdeps/gnu/errlist.c: Regenerated.
20520
b9375348
SP
205212013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20522
20523 [BZ #15465]
20524 * elf/Makefile (tests): Add tst-null-argv.
20525 (modules-names): Add tst-null-argv-lib.
20526 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20527 (tst-null-argv-ENV): Set environment for tst-null-argv.
20528 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20529 (RTLD_PROGNAME): New macro.
20530 * elf/tst-null-argv.c: New test case.
20531 * elf/tst-null-argv-lib.c: Library for test case.
20532 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20533 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20534 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20535 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20536 * elf/dl-init.c (call_init): Likewise.
20537 (_dl_init): Likewise.
20538 * elf/dl-load.c (print_search_path): Likewise.
20539 (_dl_map_object): Likewise.
20540 * elf/dl-lookup.c (do_lookup_x): Likewise.
20541 (add_dependency): Likewise.
20542 (_dl_lookup_symbol_x): Likewise.
20543 (_dl_debug_bindings): Likewise.
20544 * elf/dl-open.c (_dl_show_scope): Likewise.
20545 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20546 * elf/dl-version.c (match_symbol): Likewise.
20547 (_dl_check_map_versions): Likewise.
20548 * elf/rtld.c (dl_main): Likewise.
20549 (print_unresolved): Use RTLD_PROGNAME.
20550 (print_missing_version): Likewise.
20551 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20552 (elf_machine_rela): Likewise.
20553 * sysdeps/powerpc/powerpc32/dl-machine.c
20554 (__process_machine_rela): Likewise.
20555 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20556 Likewise.
20557 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20558 Likewise.
20559 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20560 Likewise.
20561 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20562 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20563 Likewise.
20564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20565 Likewise.
20566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20567
8a9f20c8
CD
205682013-05-28 Carlos O'Donell <carlos@redhat.com>
20569
20570 * po/be.po: Add descriptive title.
20571 * po/zh_CN.po: Likewise.
20572 * po/header.pot: Likewise.
20573
0e60d68e
MF
205742013-05-28 Mike Frysinger <vapier@gentoo.org>
20575
20576 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20577 error message.
20578 (enlarge_archive): Likewise.
20579
56b672e9
BN
205802013-05-28 Ben North <ben@redfrontdoor.org>
20581
20582 * manual/arith.texi (frexp): It is the magnitude of the return
20583 value which lies in [0.5, 1), not the return value itself.
20584
5e056687
AZ
205852013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20586
20587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20588
2b66ef5d
TS
205892013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20590
528c2405
TS
20591 * stdio-common/bug26.c (main): Correct fscanf template.
20592
07b4c13d
TS
20593 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20594 declare _dl_skip_args.
20595
ec9dd97c
TS
20596 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20597 Don't declare.
20598
2b66ef5d
TS
20599 * manual/platform.texi: Add missing @end deftypefun.
20600
4f8dfe27
JM
206012013-05-24 Joseph Myers <joseph@codesourcery.com>
20602
0323d086
JM
20603 [BZ #15529]
20604 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20605 bit of mantissa of 2^16382.
20606 * math/libm-test.inc (hypot_test_data): Add more tests.
20607
dd4259b9
JM
20608 * math/libm-test.inc: Add drem and pow10 to list of tested
20609 functions.
20610 (pow10_test): New function.
20611 (drem_test): Likewise.
20612 (drem_test_tonearest): Likewise.
20613 (drem_test_towardzero): Likewise.
20614 (drem_test_downward): Likewise.
20615 (drem_test_upward): Likewise.
20616 (main): Call the new functions.
20617
4f8dfe27
JM
20618 * math/libm-test.inc (finite_test_data): Remove.
20619 (finite_test): Run tests from isfinite_test_data.
20620 (gamma_test_data): Remove.
20621 (gamma_test): Run tests from lgamma_test_data.
20622 * sysdeps/i386/fpu/libm-test-ulps: Update.
20623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20624
d116b7c4
AZ
206252013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20626
20627 * manual/platform.texi: Add PowerPC PPR function set documentation.
20628 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20629 implementation.
20630
e96e3767
CD
206312013-05-24 Carlos O'Donell <carlos@redhat.com>
20632
20633 * math/libm-test.inc (MAX_EXP): Define.
20634 (ULPDIFF): Define.
20635 (ulp): New function.
20636 (check_float_internal): Use ULPDIFF.
20637 (cpow_test): Disable failing test.
20638 (check_ulp): Test ulp() implemetnation.
20639 (main): Call check_ulp before starting tests.
20640
b679a606
JM
206412013-05-24 Joseph Myers <joseph@codesourcery.com>
20642
e8bdba36
JM
20643 * math/gen-libm-test.pl (generate_testfile): Do not handle
20644 START_DATA and END_DATA.
20645 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20646 END_DATA.
20647 (acos_tonearest_test_data): Likewise.
20648 (acos_towardzero_test_data): Likewise.
20649 (acos_downward_test_data): Likewise.
20650 (acos_upward_test_data): Likewise.
20651 (acosh_test_data): Likewise.
20652 (asin_test_data): Likewise.
20653 (asin_tonearest_test_data): Likewise.
20654 (asin_towardzero_test_data): Likewise.
20655 (asin_downward_test_data): Likewise.
20656 (asin_upward_test_data): Likewise.
20657 (asinh_test_data): Likewise.
20658 (atan_test_data): Likewise.
20659 (atanh_test_data): Likewise.
20660 (atan2_test_data): Likewise.
20661 (cabs_test_data): Likewise.
20662 (cacos_test_data): Likewise.
20663 (cacosh_test_data): Likewise.
20664 (carg_test_data): Likewise.
20665 (casin_test_data): Likewise.
20666 (casinh_test_data): Likewise.
20667 (catan_test_data): Likewise.
20668 (catanh_test_data): Likewise.
20669 (cbrt_test_data): Likewise.
20670 (ccos_test_data): Likewise.
20671 (ccosh_test_data): Likewise.
20672 (ceil_test_data): Likewise.
20673 (cexp_test_data): Likewise.
20674 (cimag_test_data): Likewise.
20675 (clog_test_data): Likewise.
20676 (clog10_test_data): Likewise.
20677 (conj_test_data): Likewise.
20678 (copysign_test_data): Likewise.
20679 (cos_test_data): Likewise.
20680 (cos_tonearest_test_data): Likewise.
20681 (cos_towardzero_test_data): Likewise.
20682 (cos_downward_test_data): Likewise.
20683 (cos_upward_test_data): Likewise.
20684 (cosh_test_data): Likewise.
20685 (cosh_tonearest_test_data): Likewise.
20686 (cosh_towardzero_test_data): Likewise.
20687 (cosh_downward_test_data): Likewise.
20688 (cosh_upward_test_data): Likewise.
20689 (cpow_test_data): Likewise.
20690 (cproj_test_data): Likewise.
20691 (creal_test_data): Likewise.
20692 (csin_test_data): Likewise.
20693 (csinh_test_data): Likewise.
20694 (csqrt_test_data): Likewise.
20695 (ctan_test_data): Likewise.
20696 (ctan_tonearest_test_data): Likewise.
20697 (ctan_towardzero_test_data): Likewise.
20698 (ctan_downward_test_data): Likewise.
20699 (ctan_upward_test_data): Likewise.
20700 (ctanh_test_data): Likewise.
20701 (ctanh_tonearest_test_data): Likewise.
20702 (ctanh_towardzero_test_data): Likewise.
20703 (ctanh_downward_test_data): Likewise.
20704 (ctanh_upward_test_data): Likewise.
20705 (erf_test_data): Likewise.
20706 (erfc_test_data): Likewise.
20707 (exp_test_data): Likewise.
20708 (exp_tonearest_test_data): Likewise.
20709 (exp_towardzero_test_data): Likewise.
20710 (exp_downward_test_data): Likewise.
20711 (exp_upward_test_data): Likewise.
20712 (exp10_test_data): Likewise.
20713 (exp2_test_data): Likewise.
20714 (expm1_test_data): Likewise.
20715 (fabs_test_data): Likewise.
20716 (fdim_test_data): Likewise.
20717 (finite_test_data): Likewise.
20718 (floor_test_data): Likewise.
20719 (fma_test_data): Likewise.
20720 (fma_towardzero_test_data): Likewise.
20721 (fma_downward_test_data): Likewise.
20722 (fma_upward_test_data): Likewise.
20723 (fmax_test_data): Likewise.
20724 (fmin_test_data): Likewise.
20725 (fmod_test_data): Likewise.
20726 (fpclassify_test_data): Likewise.
20727 (frexp_test_data): Likewise.
20728 (gamma_test_data): Likewise.
20729 (hypot_test_data): Likewise.
20730 (ilogb_test_data): Likewise.
20731 (isfinite_test_data): Likewise.
20732 (isgreater_test_data): Likewise.
20733 (isgreaterequal_test_data): Likewise.
20734 (isinf_test_data): Likewise.
20735 (isless_test_data): Likewise.
20736 (islessequal_test_data): Likewise.
20737 (islessgreater_test_data): Likewise.
20738 (isnan_test_data): Likewise.
20739 (isnormal_test_data): Likewise.
20740 (issignaling_test_data): Likewise.
20741 (isunordered_test_data): Likewise.
20742 (j0_test_data): Likewise.
20743 (j1_test_data): Likewise.
20744 (jn_test_data): Likewise.
20745 (ldexp_test_data): Likewise.
20746 (lgamma_test_data): Likewise.
20747 (lrint_test_data): Likewise.
20748 (lrint_tonearest_test_data): Likewise.
20749 (lrint_towardzero_test_data): Likewise.
20750 (lrint_downward_test_data): Likewise.
20751 (lrint_upward_test_data): Likewise.
20752 (llrint_test_data): Likewise.
20753 (llrint_tonearest_test_data): Likewise.
20754 (llrint_towardzero_test_data): Likewise.
20755 (llrint_downward_test_data): Likewise.
20756 (llrint_upward_test_data): Likewise.
20757 (log_test_data): Likewise.
20758 (log10_test_data): Likewise.
20759 (log1p_test_data): Likewise.
20760 (log2_test_data): Likewise.
20761 (logb_test_data): Likewise.
20762 (logb_downward_test_data): Likewise.
20763 (lround_test_data): Likewise.
20764 (llround_test_data): Likewise.
20765 (modf_test_data): Likewise.
20766 (nearbyint_test_data): Likewise.
20767 (nextafter_test_data): Likewise.
20768 (nexttoward_test_data): Likewise.
20769 (pow_test_data): Likewise.
20770 (pow_tonearest_test_data): Likewise.
20771 (pow_towardzero_test_data): Likewise.
20772 (pow_downward_test_data): Likewise.
20773 (pow_upward_test_data): Likewise.
20774 (remainder_test_data): Likewise.
20775 (remainder_tonearest_test_data): Likewise.
20776 (remainder_towardzero_test_data): Likewise.
20777 (remainder_downward_test_data): Likewise.
20778 (remainder_upward_test_data): Likewise.
20779 (remquo_test_data): Likewise.
20780 (rint_test_data): Likewise.
20781 (rint_tonearest_test_data): Likewise.
20782 (rint_towardzero_test_data): Likewise.
20783 (rint_downward_test_data): Likewise.
20784 (rint_upward_test_data): Likewise.
20785 (round_test_data): Likewise.
20786 (scalb_test_data): Likewise.
20787 (scalbn_test_data): Likewise.
20788 (scalbln_test_data): Likewise.
20789 (signbit_test_data): Likewise.
20790 (sin_test_data): Likewise.
20791 (sin_tonearest_test_data): Likewise.
20792 (sin_towardzero_test_data): Likewise.
20793 (sin_downward_test_data): Likewise.
20794 (sin_upward_test_data): Likewise.
20795 (sincos_test_data): Likewise.
20796 (sinh_test_data): Likewise.
20797 (sinh_tonearest_test_data): Likewise.
20798 (sinh_towardzero_test_data): Likewise.
20799 (sinh_downward_test_data): Likewise.
20800 (sinh_upward_test_data): Likewise.
20801 (sqrt_test_data): Likewise.
20802 (tan_test_data): Likewise.
20803 (tan_tonearest_test_data): Likewise.
20804 (tan_towardzero_test_data): Likewise.
20805 (tan_downward_test_data): Likewise.
20806 (tan_upward_test_data): Likewise.
20807 (tanh_test_data): Likewise.
20808 (tgamma_test_data): Likewise.
20809 (trunc_test_data): Likewise.
20810 (y0_test_data): Likewise.
20811 (y1_test_data): Likewise.
20812 (yn_test_data): Likewise.
20813 (significand_test_data): Likewise.
20814
b679a606
JM
20815 * math/gen-libm-test.pl (@functions): Remove variable.
20816 (generate_testfile): Don't handle START and END lines.
20817 * math/libm-test.inc (START): New macro.
20818 (END): Likewise.
20819 (END_COMPLEX): Likewise.
20820 (acos_test): Use END macro without arguments.
20821 (acos_test_tonearest): Likewise.
20822 (acos_test_towardzero): Likewise.
20823 (acos_test_downward): Likewise.
20824 (acos_test_upward): Likewise.
20825 (acosh_test): Likewise.
20826 (asin_test): Likewise.
20827 (asin_test_tonearest): Likewise.
20828 (asin_test_towardzero): Likewise.
20829 (asin_test_downward): Likewise.
20830 (asin_test_upward): Likewise.
20831 (asinh_test): Likewise.
20832 (atan_test): Likewise.
20833 (atanh_test): Likewise.
20834 (atan2_test): Likewise.
20835 (cabs_test): Likewise.
20836 (cacos_test): Use END_COMPLEX macro without arguments.
20837 (cacosh_test): Likewise.
20838 (carg_test): Use END macro without arguments.
20839 (casin_test): Use END_COMPLEX macro without arguments.
20840 (casinh_test): Likewise.
20841 (catan_test): Likewise.
20842 (catanh_test): Likewise.
20843 (cbrt_test): Use END macro without arguments.
20844 (ccos_test): Use END_COMPLEX macro without arguments.
20845 (ccosh_test): Likewise.
20846 (ceil_test): Use END macro without arguments.
20847 (cexp_test): Use END_COMPLEX macro without arguments.
20848 (cimag_test): Use END macro without arguments.
20849 (clog_test): Use END_COMPLEX macro without arguments.
20850 (clog10_test): Likewise.
20851 (conj_test): Likewise.
20852 (copysign_test): Use END macro without arguments.
20853 (cos_test): Likewise.
20854 (cos_test_tonearest): Likewise.
20855 (cos_test_towardzero): Likewise.
20856 (cos_test_downward): Likewise.
20857 (cos_test_upward): Likewise.
20858 (cosh_test): Likewise.
20859 (cosh_test_tonearest): Likewise.
20860 (cosh_test_towardzero): Likewise.
20861 (cosh_test_downward): Likewise.
20862 (cosh_test_upward): Likewise.
20863 (cpow_test): Use END_COMPLEX macro without arguments.
20864 (cproj_test): Likewise.
20865 (creal_test): Use END macro without arguments.
20866 (csin_test): Use END_COMPLEX macro without arguments.
20867 (csinh_test): Likewise.
20868 (csqrt_test): Likewise.
20869 (ctan_test): Likewise.
20870 (ctan_test_tonearest): Likewise.
20871 (ctan_test_towardzero): Likewise.
20872 (ctan_test_downward): Likewise.
20873 (ctan_test_upward): Likewise.
20874 (ctanh_test): Likewise.
20875 (ctanh_test_tonearest): Likewise.
20876 (ctanh_test_towardzero): Likewise.
20877 (ctanh_test_downward): Likewise.
20878 (ctanh_test_upward): Likewise.
20879 (erf_test): Use END macro without arguments.
20880 (erfc_test): Likewise.
20881 (exp_test): Likewise.
20882 (exp_test_tonearest): Likewise.
20883 (exp_test_towardzero): Likewise.
20884 (exp_test_downward): Likewise.
20885 (exp_test_upward): Likewise.
20886 (exp10_test): Likewise.
20887 (exp2_test): Likewise.
20888 (expm1_test): Likewise.
20889 (fabs_test): Likewise.
20890 (fdim_test): Likewise.
20891 (finite_test): Likewise.
20892 (floor_test): Likewise.
20893 (fma_test): Likewise.
20894 (fma_test_towardzero): Likewise.
20895 (fma_test_downward): Likewise.
20896 (fma_test_upward): Likewise.
20897 (fmax_test): Likewise.
20898 (fmin_test): Likewise.
20899 (fmod_test): Likewise.
20900 (fpclassify_test): Likewise.
20901 (frexp_test): Likewise.
20902 (gamma_test): Likewise.
20903 (hypot_test): Likewise.
20904 (ilogb_test): Likewise.
20905 (isfinite_test): Likewise.
20906 (isgreater_test): Likewise.
20907 (isgreaterequal_test): Likewise.
20908 (isinf_test): Likewise.
20909 (isless_test): Likewise.
20910 (islessequal_test): Likewise.
20911 (islessgreater_test): Likewise.
20912 (isnan_test): Likewise.
20913 (isnormal_test): Likewise.
20914 (issignaling_test): Likewise.
20915 (isunordered_test): Likewise.
20916 (j0_test): Likewise.
20917 (j1_test): Likewise.
20918 (jn_test): Likewise.
20919 (ldexp_test): Likewise.
20920 (lgamma_test): Likewise.
20921 (lrint_test): Likewise.
20922 (lrint_test_tonearest): Likewise.
20923 (lrint_test_towardzero): Likewise.
20924 (lrint_test_downward): Likewise.
20925 (lrint_test_upward): Likewise.
20926 (llrint_test): Likewise.
20927 (llrint_test_tonearest): Likewise.
20928 (llrint_test_towardzero): Likewise.
20929 (llrint_test_downward): Likewise.
20930 (llrint_test_upward): Likewise.
20931 (log_test): Likewise.
20932 (log10_test): Likewise.
20933 (log1p_test): Likewise.
20934 (log2_test): Likewise.
20935 (logb_test): Likewise.
20936 (logb_test_downward): Likewise.
20937 (lround_test): Likewise.
20938 (llround_test): Likewise.
20939 (modf_test): Likewise.
20940 (nearbyint_test): Likewise.
20941 (nextafter_test): Likewise.
20942 (nexttoward_test): Likewise.
20943 (pow_test): Likewise.
20944 (pow_test_tonearest): Likewise.
20945 (pow_test_towardzero): Likewise.
20946 (pow_test_downward): Likewise.
20947 (pow_test_upward): Likewise.
20948 (remainder_test): Likewise.
20949 (remainder_test_tonearest): Likewise.
20950 (remainder_test_towardzero): Likewise.
20951 (remainder_test_downward): Likewise.
20952 (remainder_test_upward): Likewise.
20953 (remquo_test): Likewise.
20954 (rint_test): Likewise.
20955 (rint_test_tonearest): Likewise.
20956 (rint_test_towardzero): Likewise.
20957 (rint_test_downward): Likewise.
20958 (rint_test_upward): Likewise.
20959 (round_test): Likewise.
20960 (scalb_test): Likewise.
20961 (scalbn_test): Likewise.
20962 (scalbln_test): Likewise.
20963 (signbit_test): Likewise.
20964 (sin_test): Likewise.
20965 (sin_test_tonearest): Likewise.
20966 (sin_test_towardzero): Likewise.
20967 (sin_test_downward): Likewise.
20968 (sin_test_upward): Likewise.
20969 (sincos_test): Likewise.
20970 (sinh_test): Likewise.
20971 (sinh_test_tonearest): Likewise.
20972 (sinh_test_towardzero): Likewise.
20973 (sinh_test_downward): Likewise.
20974 (sinh_test_upward): Likewise.
20975 (sqrt_test): Likewise.
20976 (tan_test): Likewise.
20977 (tan_test_tonearest): Likewise.
20978 (tan_test_towardzero): Likewise.
20979 (tan_test_downward): Likewise.
20980 (tan_test_upward): Likewise.
20981 (tanh_test): Likewise.
20982 (tgamma_test): Likewise.
20983 (trunc_test): Likewise.
20984 (y0_test): Likewise.
20985 (y1_test): Likewise.
20986 (yn_test): Likewise.
20987 (significand_test): Likewise.
20988
bae143d2
OB
209892013-05-24 Ondřej Bílka <neleai@seznam.cz>
20990
20991 [BZ #15381]
20992 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20993
9323d39b
EM
209942013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20995
d4ea44a0 20996 [BZ #14894]
9323d39b
EM
20997 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20998 __ppc_mdoio and __ppc_mdoom.
20999 * manual/platform.texi: Document new functions __ppc_yield,
21000 __ppc_mdoio and __ppc_mdoom.
21001
13e23af7
CD
210022013-05-22 Carlos O'Donell <carlos@redhat.com>
21003
21004 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21005 (main): Mention "tls" pseudo-hwcap is legacy.
21006 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21007
351fe550
JM
210082013-05-22 Joseph Myers <joseph@codesourcery.com>
21009
21010 * math/gen-libm-test.pl (parse_args): Output only string of
21011 arguments as text for test name, not full call or descriptions of
21012 tests for extra outputs.
21013 (generate_testfile): Do not pass function name to parse_args.
21014 Generate this_func variable from START.
21015 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21016 field to arg_str.
21017 (struct test_ff_f_data): Likewise.
21018 (test_ff_f_data_nexttoward): Likewise.
21019 (struct test_fi_f_data): Likewise.
21020 (struct test_fl_f_data): Likewise.
21021 (struct test_if_f_data): Likewise.
21022 (struct test_fff_f_data): Likewise.
21023 (struct test_c_f_data): Likewise.
21024 (struct test_f_f1_data): Likewise. Remove field extra_name.
21025 (struct test_fF_f1_data): Likewise.
21026 (struct test_ffI_f1_data): Likewise.
21027 (struct test_c_c_data): Rename test_name field to arg_str.
21028 (struct test_cc_c_data): Likewise.
21029 (struct test_f_i_data): Likewise.
21030 (struct test_ff_i_data): Likewise.
21031 (struct test_f_l_data): Likewise.
21032 (struct test_f_L_data): Likewise.
21033 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21034 and extra2_name.
21035 (COMMON_TEST_SETUP): New macro.
21036 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21037 (COMMON_TEST_CLEANUP): Likewise.
21038 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21039 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21040 macros.
21041 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21042 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21043 macros.
21044 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21045 (RUN_TEST_fff_f): Take argument string. Call new setup and
21046 cleanup macros.
21047 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21048 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21049 macros.
21050 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21051 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21052 macros.
21053 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21054 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21055 cleanup macros.
21056 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21057 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21058 cleanup macros.
21059 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21060 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21061 cleanup macros.
21062 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21063 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21064 macros.
21065 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21066 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21067 macros.
21068 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21069 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21070 macros.
21071 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21072 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21073 cleanup macros.
21074 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21075 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21076 cleanup macros.
21077 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21078 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21079 macros.
21080 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21081 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21082 cleanup macros.
21083 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21084 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21085 macros.
21086 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21087 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21088 macros.
21089 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21090 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21091 cleanup macros.
21092 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21093
85118d4d
EBM
210942013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21095
21096 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21097 to _sifields.sigfault.
21098 (si_addr_lsb): Define new macro.
21099 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21100 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21101 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21102
7a44c18f
CD
211032013-05-03 Carlos O'Donell <carlos at redhat.com>
21104
21105 [BZ #15441]
21106 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21107 returns -1.
21108 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21109 null return -1.
21110 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21111 loading the domain.
21112
b50a7181
JM
211132013-05-22 Joseph Myers <joseph@codesourcery.com>
21114
21115 * math/gen-libm-test.pl (parse_args): Do not include expected
21116 result in test name.
21117 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21118 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21119 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21120 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21121 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21123
051063c8
SP
211242013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21125
3ce9e010
SP
21126 * benchtests/Makefile: Sort function entries.
21127
051063c8
SP
21128 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21129 tanh, asinh, acosh, atanh.
21130 * benchtests/acos-inputs: New file.
21131 * benchtests/acosh-inputs: New file.
21132 * benchtests/asin-inputs: New file.
21133 * benchtests/asinh-inputs: New file.
21134 * benchtests/atanh-inputs: New file.
21135 * benchtests/cosh-inputs: New file.
21136 * benchtests/log-inputs: New file.
21137 * benchtests/sinh-inputs: New file.
21138 * benchtests/tanh-inputs: New file.
21139
47c22455
DL
211402013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21141
21142 [BZ #15339]
21143 * posix/tst-getaddrinfo4.c: New test.
21144 * posix/Makefile (tests): Add it.
21145
3d04f5db
SP
211462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21147
21148 [BZ #15339]
21149 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21150 when no services were used.
21151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21152 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21153
d5dd6189
AS
211542013-05-21 Andreas Schwab <schwab@suse.de>
21155
21156 [BZ #15014]
21157 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21158 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21159 successful.
21160 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21161 redundant variable declarations and reallocation of buffer when
21162 parsing as IPv6 address. Always set NSS status when called from
21163 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21164 buffer too small. Correct computation of needed size.
21165 * nss/Makefile (tests): Add test-digits-dots.
21166 * nss/test-digits-dots.c: New test.
21167
fef94eab
SP
211682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21169
21170 * benchtests/Makefile: Remove instructions for adding
21171 benchmark tests.
21172 * benchtests/README: New file to explain how to execute and
21173 enhance the benchmark tests.
21174
e39adf43
AS
211752013-05-21 Andreas Schwab <schwab@suse.de>
21176
21177 [BZ #15493]
21178 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21179 * setjmp/tst-sigsetjmp.c: New test.
21180
b2b671b6
OB
211812013-05-20 Ondřej Bílka <neleai@seznam.cz>
21182
21183 * sysdeps/x86_64/memset.S (memset): New implementation.
21184 (__bzero): Likewise.
21185 (__memset_tail): New function.
21186
2d48b41c
OB
211872013-05-20 Ondřej Bílka <neleai@seznam.cz>
21188
21189 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21190 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21191 __memcpy_sse2_unaligned ifunc selection.
21192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21193 Add memcpy-sse2-unaligned.S.
21194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21195 Add: __memcpy_sse2_unaligned.
21196
f16cc3eb
JM
211972013-05-19 Joseph Myers <joseph@codesourcery.com>
21198
3e694268
JM
21199 [BZ #15490]
21200 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21201 math_force_eval before restoring floating-point envrionment.
21202 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21203 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21204 Likewise.
21205 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21206 <math_private.h>.
21207 (__nearbyintl): Use math_force_eval before restoring
21208 floating-point environment.
21209 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21210
db62a907
JM
21211 * math/gen-libm-test.pl (special_functions): Remove.
21212 (parse_args): Don't handle TEST_extra. Handle functions with no
21213 return value.
21214 * math/libm-test.inc (struct test_sincos_data): Replace with
21215 struct test_fFF_11_data.
21216 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21217 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21218 (sincos_test_data): Change element type to struct
21219 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21220 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21221 RUN_TEST_LOOP_sincos.
21222 * math/README.libm-test: Don't mention special handling of
21223 individual functions.
21224 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21226 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21227 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21228 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21230
f16cc3eb
JM
21231 * math/gen-libm-test.pl (get_variable): Remove function.
21232 (parse_args): Don't show pointer parameters to call in test
21233 names. Use "extra output N" in test names for extra outputs
21234 rather than naming variables.
21235
3779b5b6
JM
212362013-05-18 Joseph Myers <joseph@codesourcery.com>
21237
2ee094ff
JM
21238 [BZ #15488]
21239 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21240 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21241 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21242 double tests.
21243 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21244 disable.
21245 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21246 check_long_double.
21247
3779b5b6
JM
21248 * math/gen-libm-test.pl (@tests): Remove variable.
21249 ($count): Likewise.
21250 (new_test): Remove function.
21251 (show_exceptions): New function.
21252 (special_functions): Use show_exceptions instead of new_test.
21253 (parse_args): Likewise.
21254 (generate_testfile): Pass only function name in generated call to
21255 print_max_error or print_complex_max_error.
21256 (get_ulps): Do not handle complex tests specially.
21257 (output_test): Rename to ...
21258 (get_all_ulps_for_test): ... this. Return a string rather than
21259 printing to a file. Require ulps to be present.
21260 (output_ulps): Generate arrays rather than #defines.
21261 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21262 (struct ulp_data): New type.
21263 (BUILD_COMPLEX_ULP): Remove macro.
21264 (compare_ulp_data): New function.
21265 (find_ulps): Likewise.
21266 (find_test_ulps): Likewise.
21267 (find_function_ulps): Likewise.
21268 (find_complex_function_ulps): Likewise.
21269 (print_max_error): Determine allowed ulps using
21270 find_function_ulps.
21271 (print_complex_max_error): Determine allowed ulps using
21272 find_complex_function_ulps.
21273 (check_float_internal): Determine max ulps using find_test_ulps.
21274 (check_float): Do not take max_ulp parameter. Update call to
21275 check_float_internal.
21276 (check_complex): Likewise.
21277 (check_int): Do not take max_ulp parameter.
21278 (check_long): Likewise.
21279 (check_bool): Likewise.
21280 (check_longlong): Likewise.
21281 (struct test_f_f_data): Remove max_ulp field.
21282 (struct test_ff_f_data): Likewise.
21283 (struct test_ff_f_data_nexttoward): Likewise.
21284 (struct test_fi_f_data): Likewise.
21285 (struct test_fl_f_data): Likewise.
21286 (struct test_if_f_data): Likewise.
21287 (struct test_fff_f_data): Likewise.
21288 (struct test_c_f_data): Likewise.
21289 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21290 (struct test_fF_f1_data): Likewise.
21291 (struct test_ffI_f1_data): Likewise.
21292 (struct test_c_c_data): Remove max_ulp field.
21293 (struct test_cc_c_data): Likewise.
21294 (struct test_f_i_data): Likewise.
21295 (struct test_ff_i_data): Likewise.
21296 (struct test_f_l_data): Likewise.
21297 (struct test_f_L_data): Likewise.
21298 (struct test_sincos_data): Likewise.
21299 (RUN_TEST_f_f): Do not handle ulps.
21300 (RUN_TEST_LOOP_f_f): Likewise.
21301 (RUN_TEST_2_f): Likewise.
21302 (RUN_TEST_LOOP_2_f): Likewise.
21303 (RUN_TEST_fff_f): Likewise.
21304 (RUN_TEST_LOOP_fff_f): Likewise.
21305 (RUN_TEST_c_f): Likewise.
21306 (RUN_TEST_LOOP_c_f): Likewise.
21307 (RUN_TEST_f_f1): Likewise.
21308 (RUN_TEST_LOOP_f_f1): Likewise.
21309 (RUN_TEST_fF_f1): Likewise.
21310 (RUN_TEST_LOOP_fF_f1): Likewise.
21311 (RUN_TEST_fI_f1): Likewise.
21312 (RUN_TEST_LOOP_fI_f1): Likewise.
21313 (RUN_TEST_ffI_f1): Likewise.
21314 (RUN_TEST_LOOP_ffI_f1): Likewise.
21315 (RUN_TEST_c_c): Likewise.
21316 (RUN_TEST_LOOP_c_c): Likewise.
21317 (RUN_TEST_cc_c): Likewise.
21318 (RUN_TEST_LOOP_cc_c): Likewise.
21319 (RUN_TEST_f_i): Likewise.
21320 (RUN_TEST_LOOP_f_i): Likewise.
21321 (RUN_TEST_f_i_tg): Likewise.
21322 (RUN_TEST_LOOP_f_i_tg): Likewise.
21323 (RUN_TEST_ff_i_tg): Likewise.
21324 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21325 (RUN_TEST_f_b): Likewise.
21326 (RUN_TEST_LOOP_f_b): Likewise.
21327 (RUN_TEST_f_b_tg): Likewise.
21328 (RUN_TEST_LOOP_f_b_tg): Likewise.
21329 (RUN_TEST_f_l): Likewise.
21330 (RUN_TEST_LOOP_f_l): Likewise.
21331 (RUN_TEST_f_L): Likewise.
21332 (RUN_TEST_LOOP_f_L): Likewise.
21333 (RUN_TEST_sincos): Likewise.
21334 (RUN_TEST_LOOP_sincos): Likewise.
21335
8269107f
JM
213362013-05-17 Joseph Myers <joseph@codesourcery.com>
21337
bb38759d
JM
21338 [BZ #15480]
21339 [BZ #15485]
21340 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21341 main case of finite arguments, set rounding mode to FE_TONEAREST
21342 and discard exceptions.
21343 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21344 exceptions.
21345 (remainder_tonearest_test_data): New variable.
21346 (remainder_test_tonearest): New function.
21347 (remainder_towardzero_test_data): New variable.
21348 (remainder_test_towardzero): New function.
21349 (remainder_downward_test_data): New variable.
21350 (remainder_test_downward): New function.
21351 (remainder_upward_test_data): New variable.
21352 (remainder_test_upward): New function.
21353 (main): Call the new test functions.
21354
a00bdcf0
JM
21355 * math/libm-test.inc (struct test_f_f1_data): Remove field
21356 extra_init.
21357 (struct test_fF_f1_data): Likewise.
21358 (struct test_ffI_f1_data): Likewise.
21359 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21360 based on value of EXTRA_EXPECTED.
21361 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21362 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21363 EXTRA_VAR based on value of EXTRA_EXPECTED.
21364 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21365 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21366 EXTRA_VAR based on value of EXTRA_EXPECTED.
21367 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21368 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21369 EXTRA_VAR based on value of EXTRA_EXPECTED.
21370 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21371 * math/gen-libm-test.pl (parse_args): Don't output initializers
21372 for extra output values.
21373
de407f79
JM
21374 * math/libm-test.inc (check_int): Expect result to be exactly
21375 equal to expected value and do not handle ulps.
21376 (check_long): Likewise.
21377 (check_longlong): Likewise.
21378
8269107f
JM
21379 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21380 exceptions.
21381 (cimag_test_data): Likewise.
21382 (conj_test_data): Likewise.
21383 (copysign_test_data): Likewise.
21384 (cproj_test_data): Likewise.
21385 (creal_test_data): Likewise.
21386 (fabs_test_data): Likewise.
21387 (fdim_test_data): Likewise.
21388 (finite_test_data): Likewise.
21389 (floor_test_data): Likewise.
21390 (fmax_test_data): Likewise.
21391 (fmin_test_data): Likewise.
21392 (fmod_test_data): Likewise.
21393 (fpclassify_test_data): Likewise.
21394 (frexp_test_data): Likewise.
21395 (ilogb_test_data): Likewise.
21396 (isfinite_test_data): Likewise.
21397 (isgreater_test_data): Likewise.
21398 (isgreaterequal_test_data): Likewise.
21399 (isinf_test_data): Likewise.
21400 (isless_test_data): Likewise.
21401 (islessequal_test_data): Likewise.
21402 (islessgreater_test_data): Likewise.
21403 (isnan_test_data): Likewise.
21404 (isnormal_test_data): Likewise.
21405 (issignaling_test_data): Likewise.
21406 (isunordered_test_data): Likewise.
21407 (ldexp_test_data): Likewise.
21408 (lrint_test_data): Likewise.
21409 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21410 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21411 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21412 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21413 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21414 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21415 test input.
21416 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21417 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21418 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21419 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21420 that test input.
21421 (lrint_downward_test_data): Test for "inexact" exceptions.
21422 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21423 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21424 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21425 test input.
21426 (lrint_upward_test_data): Test for "inexact" exceptions.
21427 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21428 test input.
21429 (llrint_test_data): Test for "inexact" exceptions.
21430 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21431 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21432 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21433 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21434 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21435 (llrint_downward_test_data): Test for "inexact" exceptions.
21436 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21437 (llrint_upward_test_data): Test for "inexact" exceptions.
21438 (logb_test_data): Likewise.
21439 (logb_downward_test_data): Likewise.
21440 (nextafter_test_data): Likewise.
21441 (nexttoward_test_data): Likewise.
21442 (remainder_test_data): Likewise.
21443 (remquo_test_data): Likewise.
21444 (scalbn_test_data): Likewise.
21445 (scalbln_test_data): Likewise.
21446 (signbit_test_data): Likewise.
21447 (sqrt_test_data): Likewise.
21448 (significand_test_data): Likewise.
21449
48a18de1
SP
214502013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21451
21452 [BZ #15424]
21453 * benchtests/bench-modf.c (struct args): Mark arg0 as
21454 volatile.
21455 * scripts/bench.pl: Mark members of struct args as volatile.
21456
13d3b41a
AZ
214572013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21458
68191c1d 21459 [BZ # 15497]
13d3b41a
AZ
21460 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21461 negative infinity on POWER6 or lower.
21462 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21463
2848b105
MR
214642013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21465
21466 [BZ #15442]
21467 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21468 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21469 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21470 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21471 (_FP_SETQNAN): New macro.
21472 (_FP_SETQNAN_SEMIRAW): Likewise.
21473 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21474 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21475 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21476 (FP_EXTEND): Use _FP_FRAC_SNANP.
21477 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21478 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21479 into account.
21480 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21481 New macro.
21482 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21483 Likewise.
21484
323e5cb7
JM
214852013-05-16 Joseph Myers <joseph@codesourcery.com>
21486
c58b274f
JM
21487 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21488 with DIVIDE_BY_ZERO_EXCEPTION.
21489 (gamma_test_data): Likewise.
21490 (lgamma_test_data): Likewise.
21491 (log_test_data): Likewise.
21492 (log10_test_data): Likewise.
21493 (log2_test_data): Likewise.
21494 (tgamma_test_data): Likewise.
21495
0ab34904
JM
21496 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21497 (acos_test_tonearest): Likewise.
21498 (acos_test_towardzero): Likewise.
21499 (acos_test_downward): Likewise.
21500 (acos_test_upward): Likewise.
21501 (acosh_test): Likewise.
21502 (asin_test): Likewise.
21503 (asin_test_tonearest): Likewise.
21504 (asin_test_towardzero): Likewise.
21505 (asin_test_downward): Likewise.
21506 (asin_test_upward): Likewise.
21507 (asinh_test): Likewise.
21508 (atan_test): Likewise.
21509 (atanh_test): Likewise.
21510 (atan2_test): Likewise.
21511 (cabs_test): Likewise.
21512 (cacos_test): Likewise.
21513 (cacosh_test): Likewise.
21514 (casin_test): Likewise.
21515 (casinh_test): Likewise.
21516 (catan_test): Likewise.
21517 (catanh_test): Likewise.
21518 (cbrt_test): Likewise.
21519 (ccos_test): Likewise.
21520 (ccosh_test): Likewise.
21521 (cexp_test): Likewise.
21522 (clog_test): Likewise.
21523 (clog10_test): Likewise.
21524 (cos_test): Likewise.
21525 (cos_test_tonearest): Likewise.
21526 (cos_test_towardzero): Likewise.
21527 (cos_test_downward): Likewise.
21528 (cos_test_upward): Likewise.
21529 (cosh_test): Likewise.
21530 (cosh_test_tonearest): Likewise.
21531 (cosh_test_towardzero): Likewise.
21532 (cosh_test_downward): Likewise.
21533 (cosh_test_upward): Likewise.
21534 (cpow_test): Likewise.
21535 (csin_test): Likewise.
21536 (csinh_test): Likewise.
21537 (csqrt_test): Likewise.
21538 (ctan_test): Likewise.
21539 (ctan_test_tonearest): Likewise.
21540 (ctan_test_towardzero): Likewise.
21541 (ctan_test_downward): Likewise.
21542 (ctan_test_upward): Likewise.
21543 (ctanh_test): Likewise.
21544 (ctanh_test_tonearest): Likewise.
21545 (ctanh_test_towardzero): Likewise.
21546 (ctanh_test_downward): Likewise.
21547 (ctanh_test_upward): Likewise.
21548 (erf_test): Likewise.
21549 (erfc_test): Likewise.
21550 (exp_test): Likewise.
21551 (exp_test_tonearest): Likewise.
21552 (exp_test_towardzero): Likewise.
21553 (exp_test_downward): Likewise.
21554 (exp_test_upward): Likewise.
21555 (exp10_test): Likewise.
21556 (exp2_test): Likewise.
21557 (expm1_test): Likewise.
21558 (fmod_test): Likewise.
21559 (gamma_test): Likewise.
21560 (hypot_test): Likewise.
21561 (j0_test): Likewise.
21562 (j1_test): Likewise.
21563 (jn_test): Likewise.
21564 (lgamma_test): Likewise.
21565 (log_test): Likewise.
21566 (log10_test): Likewise.
21567 (log1p_test): Likewise.
21568 (log2_test): Likewise.
21569 (logb_test_downward): Likewise.
21570 (pow_test): Likewise.
21571 (pow_test_tonearest): Likewise.
21572 (pow_test_towardzero): Likewise.
21573 (pow_test_downward): Likewise.
21574 (pow_test_upward): Likewise.
21575 (remainder_test): Likewise.
21576 (remquo_test): Likewise.
21577 (sin_test): Likewise.
21578 (sin_test_tonearest): Likewise.
21579 (sin_test_towardzero): Likewise.
21580 (sin_test_downward): Likewise.
21581 (sin_test_upward): Likewise.
21582 (sincos_test): Likewise.
21583 (sinh_test): Likewise.
21584 (sinh_test_tonearest): Likewise.
21585 (sinh_test_towardzero): Likewise.
21586 (sinh_test_downward): Likewise.
21587 (sinh_test_upward): Likewise.
21588 (sqrt_test): Likewise.
21589 (tan_test): Likewise.
21590 (tan_test_tonearest): Likewise.
21591 (tan_test_towardzero): Likewise.
21592 (tan_test_downward): Likewise.
21593 (tan_test_upward): Likewise.
21594 (tanh_test): Likewise.
21595 (tgamma_test): Likewise.
21596 (y0_test): Likewise.
21597 (y1_test): Likewise.
21598 (yn_test): Likewise.
21599
323e5cb7
JM
21600 * math/gen-libm-test.pl (adjust_arg): Remove function.
21601 (special_function): Remove argument $in_func. Only handle
21602 generating output for tables of tests, not inside functions.
21603 (parse_args): Likewise.
21604 (generate_testfile): Remove variable $in_func. Update call to
21605 parse_args.
21606 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21607 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21608 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21609 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21610 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21611 (MAX_VALUE_INIT): Rename macro to max_value.
21612 (MIN_VALUE_INIT): Rename macro to min_value.
21613 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21614 (plus_zero): Remove variable.
21615 (minus_zero): Likewise.
21616 (plus_infty): Likewise.
21617 (minus_infty): Likewise.
21618 (qnan_value): Likewise.
21619 (max_value): Likewise.
21620 (min_value): Likewise.
21621 (min_subnorm_value): Likewise.
21622
e054f494
RA
216232013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21624
21625 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21626 uint64_t or uint32_t usage.
21627 * crypt/sha256-block.c: Likewise.
21628 * crypt/sha256-crypt.c: Likewise.
21629 * crypt/sha256.c: Likewise.
21630 * crypt/sha512-block.c: Likewise.
21631 * crypt/sha512-crypt.c: Likewise.
21632 * crypt/sha512.c: Likewise.
21633 * debug/backtrace-tst.c: Likewise.
21634 * debug/pcprofiledump.c: Likewise.
21635 * elf/cache.c: Likewise.
21636 * elf/dl-cache.c: Likewise.
21637 * elf/dl-misc.c: Likewise.
21638 * elf/dl-profile.c: Likewise.
21639 * elf/dl-support.c: Likewise.
21640 * elf/ldconfig.c: Likewise.
21641 * elf/sprof.c: Likewise.
21642 * iconv/dummy-repertoire.c: Likewise.
21643 * iconv/iconv_charmap.c: Likewise.
21644 * iconv/skeleton.c: Likewise.
21645 * iconvdata/8bit-generic.c: Likewise.
21646 * iconvdata/cp737.h: Likewise.
21647 * iconvdata/cp775.h: Likewise.
21648 * iconvdata/ibm1008.h: Likewise.
21649 * iconvdata/ibm1025.h: Likewise.
21650 * iconvdata/ibm1046.h: Likewise.
21651 * iconvdata/ibm1097.h: Likewise.
21652 * iconvdata/ibm1112.h: Likewise.
21653 * iconvdata/ibm1122.h: Likewise.
21654 * iconvdata/ibm1123.h: Likewise.
21655 * iconvdata/ibm1124.h: Likewise.
21656 * iconvdata/ibm1129.h: Likewise.
21657 * iconvdata/ibm1130.h: Likewise.
21658 * iconvdata/ibm1132.h: Likewise.
21659 * iconvdata/ibm1133.h: Likewise.
21660 * iconvdata/ibm1137.h: Likewise.
21661 * iconvdata/ibm1140.h: Likewise.
21662 * iconvdata/ibm1141.h: Likewise.
21663 * iconvdata/ibm1142.h: Likewise.
21664 * iconvdata/ibm1143.h: Likewise.
21665 * iconvdata/ibm1144.h: Likewise.
21666 * iconvdata/ibm1145.h: Likewise.
21667 * iconvdata/ibm1146.h: Likewise.
21668 * iconvdata/ibm1147.h: Likewise.
21669 * iconvdata/ibm1148.h: Likewise.
21670 * iconvdata/ibm1149.h: Likewise.
21671 * iconvdata/ibm1153.h: Likewise.
21672 * iconvdata/ibm1154.h: Likewise.
21673 * iconvdata/ibm1155.h: Likewise.
21674 * iconvdata/ibm1156.h: Likewise.
21675 * iconvdata/ibm1157.h: Likewise.
21676 * iconvdata/ibm1158.h: Likewise.
21677 * iconvdata/ibm1160.h: Likewise.
21678 * iconvdata/ibm1161.h: Likewise.
21679 * iconvdata/ibm1162.h: Likewise.
21680 * iconvdata/ibm1163.h: Likewise.
21681 * iconvdata/ibm1164.h: Likewise.
21682 * iconvdata/ibm1166.h: Likewise.
21683 * iconvdata/ibm1167.h: Likewise.
21684 * iconvdata/ibm12712.h: Likewise.
21685 * iconvdata/ibm1390.h: Likewise.
21686 * iconvdata/ibm1399.h: Likewise.
21687 * iconvdata/ibm16804.h: Likewise.
21688 * iconvdata/ibm4517.h: Likewise.
21689 * iconvdata/ibm4899.h: Likewise.
21690 * iconvdata/ibm4909.h: Likewise.
21691 * iconvdata/ibm4971.h: Likewise.
21692 * iconvdata/ibm5347.h: Likewise.
21693 * iconvdata/ibm803.h: Likewise.
21694 * iconvdata/ibm856.h: Likewise.
21695 * iconvdata/ibm901.h: Likewise.
21696 * iconvdata/ibm902.h: Likewise.
21697 * iconvdata/ibm9030.h: Likewise.
21698 * iconvdata/ibm9066.h: Likewise.
21699 * iconvdata/ibm921.h: Likewise.
21700 * iconvdata/ibm922.h: Likewise.
21701 * iconvdata/ibm9448.h: Likewise.
21702 * iconvdata/isiri-3342.h: Likewise.
21703 * iconvdata/jis0201.h: Likewise.
21704 * include/link.h: Likewise.
21705 * include/netdb.h: Likewise.
21706 * inet/check_native.c: Likewise.
21707 * inet/check_pf.c: Likewise.
21708 * inet/getipv4sourcefilter.c: Likewise.
21709 * inet/getnameinfo.c: Likewise.
21710 * inet/getsourcefilter.c: Likewise.
21711 * inet/htonl.c: Likewise.
21712 * inet/setipv4sourcefilter.c: Likewise.
21713 * inet/setsourcefilter.c: Likewise.
21714 * inet/test-inet6_opt.c: Likewise.
21715 * inet/tst-network.c: Likewise.
21716 * locale/C-collate.c: Likewise.
21717 * locale/C-ctype.c: Likewise.
21718 * locale/C-time.c: Likewise.
21719 * locale/C-translit.h: Likewise.
21720 * locale/loadarchive.c: Likewise.
21721 * locale/programs/3level.h: Likewise.
21722 * locale/programs/charmap.c: Likewise.
21723 * locale/programs/charmap.h: Likewise.
21724 * locale/programs/ld-address.c: Likewise.
21725 * locale/programs/ld-collate.c: Likewise.
21726 * locale/programs/ld-ctype.c: Likewise.
21727 * locale/programs/ld-identification.c: Likewise.
21728 * locale/programs/ld-measurement.c: Likewise.
21729 * locale/programs/ld-messages.c: Likewise.
21730 * locale/programs/ld-monetary.c: Likewise.
21731 * locale/programs/ld-name.c: Likewise.
21732 * locale/programs/ld-numeric.c: Likewise.
21733 * locale/programs/ld-paper.c: Likewise.
21734 * locale/programs/ld-telephone.c: Likewise.
21735 * locale/programs/ld-time.c: Likewise.
21736 * locale/programs/linereader.c: Likewise.
21737 * locale/programs/locale.c: Likewise.
21738 * locale/programs/locarchive.c: Likewise.
21739 * locale/programs/locfile.h: Likewise.
21740 * locale/programs/repertoire.c: Likewise.
21741 * locale/programs/simple-hash.c: Likewise.
21742 * locale/programs/simple-hash.h: Likewise.
21743 * malloc/memusage.c: Likewise.
21744 * malloc/memusagestat.c: Likewise.
21745 * nis/nis_defaults.c: Likewise.
21746 * nis/nis_hash.c: Likewise.
21747 * nis/nis_print.c: Likewise.
21748 * nis/nis_xdr.c: Likewise.
21749 * nscd/connections.c: Likewise.
21750 * nscd/hstcache.c: Likewise.
21751 * nscd/nscd_gethst_r.c: Likewise.
21752 * nscd/nscd_getserv_r.c: Likewise.
21753 * nscd/nscd_helper.c: Likewise.
21754 * nscd/servicescache.c: Likewise.
21755 * nss/makedb.c: Likewise.
21756 * nss/nss_db/db-XXX.c: Likewise.
21757 * nss/nss_db/db-initgroups.c: Likewise.
21758 * nss/nss_db/db-netgrp.c: Likewise.
21759 * nss/nss_files/files-network.c: Likewise.
21760 * nss/nss_files/files-parse.c: Likewise.
21761 * posix/bug-regex5.c: Likewise.
21762 * posix/fnmatch_loop.c: Likewise.
21763 * posix/regcomp.c: Likewise.
21764 * posix/regexec.c: Likewise.
21765 * posix/tst-rfc3484-2.c: Likewise.
21766 * posix/tst-rfc3484-3.c: Likewise.
21767 * posix/tst-rfc3484.c: Likewise.
21768 * resolv/nss_dns/dns-canon.c: Likewise.
21769 * resolv/nss_dns/dns-network.c: Likewise.
21770 * resolv/res_init.c: Likewise.
21771 * resolv/res_mkquery.c: Likewise.
21772 * resolv/tst-aton.c: Likewise.
21773 * stdlib/cxa_atexit.c: Likewise.
21774 * stdlib/cxa_finalize.c: Likewise.
21775 * stdlib/gen-fpioconst.c: Likewise.
21776 * stdlib/strtol_l.c: Likewise.
21777 * string/tst-endian.c: Likewise.
21778 * sunrpc/auth_des.c: Likewise.
21779 * sunrpc/clnt_udp.c: Likewise.
21780 * sunrpc/rtime.c: Likewise.
21781 * sunrpc/svcauth_des.c: Likewise.
21782 * sunrpc/xdr.c: Likewise.
21783 * sunrpc/xdr_intXX_t.c: Likewise.
21784 * sunrpc/xdr_rec.c: Likewise.
21785 * sysdeps/generic/ldconfig.h: Likewise.
21786 * sysdeps/generic/ldsodefs.h: Likewise.
21787 * sysdeps/generic/memusage.h: Likewise.
21788 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21791 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21798 * sysdeps/posix/getaddrinfo.c: Likewise.
21799 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21801 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21802 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21803 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21804 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21805 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21806 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21807 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21808 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21809 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21810 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21811 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21812 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21813 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21814 * sysdeps/x86_64/dl-tls.h: Likewise.
21815 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21816 * time/alt_digit.c: Likewise.
21817 * time/era.c: Likewise.
21818 * wcsmbs/tst-c16c32-1.c: Likewise.
21819
8c75f674
JM
218202013-05-16 Joseph Myers <joseph@codesourcery.com>
21821
21822 * math/libm-test.inc (struct test_sincos_data): New type.
21823 (RUN_TEST_LOOP_sincos): New macro.
21824 (sincos_test_data): New variable.
21825 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21826
e6e49e59
RH
218272013-05-16 Richard Henderson <rth@redhat.com>
21828
21829 * math/atest-exp2.c (LIMB64): New macro.
21830 (CONSTSZ): New macro.
21831 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21832 (hexdig): Move ...
21833 (print_mpn_fp): ... to function scope.
21834 (read_mpn_hex): Remove.
21835 (get_log2): Remove.
21836 (exp2_mpn): Use mp_log2.
21837 (main): Use mp_exp1.
21838
15c7c18d
JM
218392013-05-16 Joseph Myers <joseph@codesourcery.com>
21840
105a07df
JM
21841 * math/libm-test.inc: Remove comment about not testing "inexact"
21842 exceptions.
21843 (INEXACT_EXCEPTION): New macro.
21844 (NO_INEXACT_EXCEPTION): Likewise.
21845 (INVALID_EXCEPTION_OK): Update value.
21846 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21847 (OVERFLOW_EXCEPTION_OK): Likewise.
21848 (UNDERFLOW_EXCEPTION_OK): Likewise.
21849 (IGNORE_ZERO_INF_SIGN): Likewise.
21850 (ERRNO_UNCHANGED): Likewise.
21851 (ERRNO_EDOM): Likewise.
21852 (ERRNO_ERANGE): Likewise.
21853 (test_exceptions): Handle testing "inexact" exceptions.
21854 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21855 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21856 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21857 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21858 INEXACT_EXCEPTION.
21859 (rint_towardzero_test_data): Likewise.
21860 (rint_downward_test_data): Likewise.
21861 (rint_upward_test_data): Likewise.
21862
e9eee333
JM
21863 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21864 with OVERFLOW_EXCEPTION.
21865 (exp10_test_data): Likewise.
21866 (exp2_test_data): Likewise.
21867 (expm1_test_data): Likewise.
21868 (lgamma_test_data): Likewise.
21869 (pow_test_data): Likewise.
21870 (tgamma_test_data): Likewise.
21871 (yn_test_data): Remove duplicate test of overflow.
21872
1c38ff73
JM
21873 * math/libm-test.inc (struct test_cc_c_data): New type.
21874 (RUN_TEST_LOOP_cc_c): New macro.
21875 (cpow_test_data): New variable.
21876 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21877
15c7c18d
JM
21878 * math/libm-test.inc (struct test_f_L_data): New type.
21879 (RUN_TEST_LOOP_f_L): New macro.
21880 (llrint_test_data): New variable.
21881 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21882 (llrint_tonearest_test_data): New variable.
21883 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21884 (llrint_towardzero_test_data): New variable.
21885 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21886 (llrint_downward_test_data): New variable.
21887 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21888 (llrint_upward_test_data): New variable.
21889 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21890 (llround_test_data): New variable.
21891 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21892
f137ff13
PC
218932013-05-13 Peter Collingbourne <pcc@google.com>
21894
21895 * math/atest-exp2.c (get_log2): Remove const attribute.
21896
3608cb24
JM
218972013-05-15 Joseph Myers <joseph@codesourcery.com>
21898
21899 * math/libm-test.inc (struct test_f_l_data): New type.
21900 (RUN_TEST_LOOP_f_l): New macro.
21901 (lrint_test_data): New variable.
21902 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21903 (lrint_tonearest_test_data): New variable.
21904 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21905 (lrint_towardzero_test_data): New variable.
21906 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21907 (lrint_downward_test_data): New variable.
21908 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21909 (lrint_upward_test_data): New variable.
21910 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21911 (lround_test_data): New variable.
21912 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21913
39b1f617
PC
219142013-05-15 Peter Collingbourne <pcc@google.com>
21915
1deff3dc
PC
21916 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21917 (EXTRACT_WORDS64) Use where appropriate.
21918 (INSERT_WORDS64) Likewise.
21919
791f3ba0
PC
21920 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21921 constraints with x constraints.
21922 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21923
39b1f617
PC
21924 * malloc/obstack.c (_obstack_compat): Add initializer.
21925
12fba011
EM
219262013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21927
21928 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21929 si_trapno and add si_addr_lsb to _sifields.sigfault.
21930 (si_trapno): Remove macro.
21931 (si_addr_lsb): Define new macro.
21932 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21933
d369f531
JM
219342013-05-15 Joseph Myers <joseph@codesourcery.com>
21935
b861c6c4
JM
21936 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21937 instead of TEST_f_l.
21938 (llrint_test_tonearest): Likewise.
21939 (llrint_test_towardzero): Likewise.
21940 (llrint_test_downward): Likewise.
21941 (llrint_test_upward): Likewise.
21942 (llround_test): Likewise.
21943
7abeee12
JM
21944 * math/libm-test.inc (struct test_f_i_data): Add comment.
21945 (RUN_TEST_LOOP_f_b): New macro.
21946 (RUN_TEST_LOOP_f_b_tg): Likewise.
21947 (finite_test_data): New variable.
21948 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21949 (isfinite_test_data): New variable.
21950 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21951 (isinf_test_data): New variable.
21952 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21953 (isnan_test_data): New variable.
21954 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21955 (isnormal_test_data): New variable.
21956 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21957 (issignaling_test_data): New variable.
21958 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21959 (signbit_test_data): New variable.
21960 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21961
cbe8c4d3
JM
21962 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21963 with INVALID_EXCEPTION.
21964 (acosh_test_data): Likewise.
21965 (asin_test_data): Likewise.
21966 (atanh_test_data): Likewise.
21967 (fmod_test_data): Likewise.
21968 (log_test_data): Likewise.
21969 (log10_test_data): Likewise.
21970 (log2_test_data): Likewise.
21971 (pow_test_data): Likewise.
21972 (sqrt_test_data): Likewise.
21973 (y0_test_data): Likewise.
21974 (y1_test_data): Likewise.
21975 (yn_test_data): Likewise.
21976
5575c0e5
JM
21977 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21978 function contents.
21979
d369f531
JM
21980 * math/libm-test.inc (struct test_ff_i_data): New type.
21981 (RUN_TEST_LOOP_ff_i_tg): New macro.
21982 (isgreater_test_data): New variable.
21983 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21984 (isgreaterequal_test_data): New variable.
21985 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21986 (isless_test_data): New variable.
21987 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21988 (islessequal_test_data): New variable.
21989 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21990 (islessgreater_test_data): New variable.
21991 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21992 (isunordered_test_data): New variable.
21993 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21994
781fd748
DM
219952013-05-14 David S. Miller <davem@davemloft.net>
21996
21997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21998
87aa21df
JM
219992013-05-14 Joseph Myers <joseph@codesourcery.com>
22000
5e908270
JM
22001 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22002
f71172e5
JM
22003 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22004 extra_test to int.
22005 (struct test_f_i_data): Change type of max_ulp to int.
22006
8cfa635a
JM
22007 * math/libm-test.inc (test_ffI_f1_data): New type.
22008 (RUN_TEST_LOOP_ffI_f1): New macro.
22009 (remquo_test_data): New variable.
22010 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22011
2bcb36b2
JM
22012 * setjmp/tst-setjmp-fp.c: New file.
22013 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22014 (link-libm): New variable.
22015 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22016
acbd839a
JM
22017 * math/libm-test.inc (struct test_f_i_data): New type.
22018 (RUN_TEST_LOOP_f_i): New macro.
22019 (RUN_TEST_LOOP_f_i_tg): Likewise.
22020 (fpclassify_test_data): New variable.
22021 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22022 (ilogb_test_data): New variable.
22023 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22024
e414d745
JM
22025 * math/libm-test.inc (scalbln_test): Correct function name in END
22026 call.
22027
d9c2a0fd
JM
22028 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22029 (RUN_TEST_LOOP_fI_f1): New macro.
22030 (frexp_test_data): New variable.
22031 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22032
9dc9095d
JM
22033 * math/libm-test.inc (struct test_fF_f1_data): New type.
22034 (RUN_TEST_LOOP_fF_f1): New macro.
22035 (modf_test_data): New variable.
22036 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22037
87aa21df
JM
22038 * math/libm-test.inc (struct test_f_f1_data): New type.
22039 (RUN_TEST_LOOP_f_f1): New macro.
22040 (gamma_test_data): New variable.
22041 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22042 (lgamma_test_data): New variable.
22043 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22044
141af660
CD
220452013-05-13 Carlos O'Donell <carlos@redhat.com>
22046
22047 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22048 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22049 (main): Comment "tls" pseudo-hwcap.
22050
6d33265c
JM
220512013-05-13 Joseph Myers <joseph@codesourcery.com>
22052
68fc074c
JM
22053 * math/libm-test.inc (struct test_fl_f_data): New type.
22054 (RUN_TEST_LOOP_fl_f): New variable.
22055 (scalbln_test_data): New variable.
22056 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22057
243216e1
JM
22058 * math/libm-test.inc (struct test_fi_f_data): New type.
22059 (RUN_TEST_LOOP_fi_f): New macro.
22060 (ldexp_test_data): New variable.
22061 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22062 (scalbn_test_data): New variable.
22063 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22064
6a1992e2
JM
22065 * math/libm-test.inc (struct test_c_f_data): New type.
22066 (RUN_TEST_LOOP_c_f): New macro.
22067 (cabs_test_data): New variable.
22068 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22069 (carg_test_data): New variable.
22070 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22071 (cimag_test_data): New variable.
22072 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22073 (creal_test_data): New variable.
22074 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22075
0e400df5
JM
22076 * math/libm-test.inc (struct test_if_f_data): New type.
22077 (RUN_TEST_LOOP_if_f): New macro.
22078 (jn_test_data): New variable.
22079 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22080 (yn_test_data): New variable.
22081 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22082
6d33265c
JM
22083 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22084
f98ece5f
AZ
220852013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22086
22087 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22088 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22089
0f7d347b
SP
220902013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22091
43fe811b
SP
22092 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22093 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22094 (bench-deps): Add bench-timing.h.
22095 * benchtests-bench-skeleton.c: Include bench-timing.h.
22096 (main): Use TIMING_* macros instead of clock_gettime.
22097 * benchtests/bench-timing.h: New file.
22098
0f7d347b
SP
22099 [BZ #14582]
22100 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22101 Renamed from _LIB_VERSION.
22102 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22103
601a3a5f
JM
221042013-05-12 Joseph Myers <joseph@codesourcery.com>
22105
4f184d30
JM
22106 * math/libm-test.inc (struct test_fff_f_data): New type.
22107 (RUN_TEST_LOOP_fff_f): New macro.
22108 (fma_test_data): New variable.
22109 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22110 (fma_towardzero_test_data): New variable.
22111 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22112 (fma_downward_test_data): New variable.
22113 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22114 (fma_upward_test_data): New variable.
22115 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22116
08198877
JM
22117 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22118 (struct test_c_c_data): New type.
22119 (RUN_TEST_LOOP_c_c): New macro.
22120 (cacos_test_data): New variable.
22121 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22122 (cacosh_test_data): New variable.
22123 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22124 (casin_test_data): New variable.
22125 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22126 (casinh_test_data): New variable.
22127 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22128 (catan_test_data): New variable.
22129 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22130 (catanh_test_data): New variable.
22131 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22132 (ccos_test_data): New variable.
22133 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22134 (ccosh_test_data): New variable.
22135 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22136 (cexp_test_data): New variable.
22137 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22138 (clog_test_data): New variable.
22139 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22140 (clog10_test_data): New variable.
22141 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22142 (conj_test_data): New variable.
22143 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22144 (cproj_test_data): New variable.
22145 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22146 (csin_test_data): New variable.
22147 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22148 (csinh_test_data): New variable.
22149 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22150 (csqrt_test_data): New variable.
22151 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22152 (ctan_test_data): New variable.
22153 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22154 (ctan_tonearest_test_data): New variable.
22155 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22156 (ctan_towardzero_test_data): New variable.
22157 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22158 (ctan_downward_test_data): New variable.
22159 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22160 (ctan_upward_test_data): New variable.
22161 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22162 (ctanh_test_data): New variable.
22163 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22164 (ctanh_tonearest_test_data): New variable.
22165 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22166 (ctanh_towardzero_test_data): New variable.
22167 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22168 (ctanh_downward_test_data): New variable.
22169 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22170 (ctanh_upward_test_data): New variable.
22171 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22172 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22173 of BUILD_COMPLEX.
22174
601a3a5f
JM
22175 * math/libm-test.inc (struct test_ff_f_data): New type.
22176 (struct test_ff_f_data_nexttoward): Likewise.
22177 (RUN_TEST_LOOP_2_f): New macro.
22178 (RUN_TEST_LOOP_ff_f): Likewise.
22179 (atan2_test_data): New variable.
22180 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22181 (copysign_test_data): New variable.
22182 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22183 (fdim_test_data): New variable.
22184 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22185 (fmax_test_data): New variable.
22186 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22187 (fmin_test_data): New variable.
22188 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22189 (fmod_test_data): New variable.
22190 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22191 (hypot_test_data): New variable.
22192 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22193 (nextafter_test_data): New variable.
22194 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22195 (nexttoward_test_data): New variable.
22196 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22197 (pow_test_data): New variable.
22198 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22199 (pow_tonearest_test_data): New variable.
22200 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22201 (pow_towardzero_test_data): New variable.
22202 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22203 (pow_downward_test_data): New variable.
22204 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22205 (pow_upward_test_data): New variable.
22206 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22207 (remainder_test_data): New variable.
22208 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22209 (scalb_test_data): New variable.
22210 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22211 * sysdeps/i386/fpu/libm-test-ulps: Update.
22212
74c57478
JM
222132013-05-11 Joseph Myers <joseph@codesourcery.com>
22214
8329e4da
JM
22215 * math/libm-test.inc (fma_test): Use max_value instead of local
22216 variable fltmax.
22217 (nextafter_test): Likewise.
22218
74c57478
JM
22219 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22220 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22221 (acos_downward_test_data): New variable.
22222 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22223 (acos_upward_test_data): New variable.
22224 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22225 (acosh_test_data): New variable.
22226 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22227 (asin_test_data): New variable.
22228 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22229 (asin_tonearest_test_data): New variable.
22230 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22231 (asin_towardzero_test_data): New variable.
22232 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22233 (asin_downward_test_data): New variable.
22234 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22235 (asin_upward_test_data): New variable.
22236 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22237 (asinh_test_data): New variable.
22238 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22239 (atan_test_data): New variable.
22240 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22241 (atanh_test_data): New variable.
22242 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22243 (cbrt_test_data): New variable.
22244 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22245 (ceil_test_data): New variable.
22246 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22247 (cos_test_data): New variable.
22248 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22249 (cos_tonearest_test_data): New variable.
22250 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22251 (cos_towardzero_test_data): New variable.
22252 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22253 (cos_downward_test_data): New variable.
22254 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22255 (cos_upward_test_data): New variable.
22256 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22257 (cosh_test_data): New variable.
22258 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22259 (cosh_tonearest_test_data): New variable.
22260 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22261 (cosh_towardzero_test_data): New variable.
22262 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22263 (cosh_downward_test_data): New variable.
22264 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22265 (cosh_upward_test_data): New variable.
22266 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22267 (erf_test_data): New variable.
22268 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22269 (erfc_test_data): New variable.
22270 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22271 (exp_test_data): New variable.
22272 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22273 (exp_tonearest_test_data): New variable.
22274 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22275 (exp_towardzero_test_data): New variable.
22276 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22277 (exp_downward_test_data): New variable.
22278 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22279 (exp_upward_test_data): New variable.
22280 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22281 (exp10_test_data): New variable.
22282 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22283 (exp2_test_data): New variable.
22284 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22285 (expm1_test_data): New variable.
22286 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22287 (fabs_test_data): New variable.
22288 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22289 (floor_test_data): New variable.
22290 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22291 (j0_test_data): New variable.
22292 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22293 (j1_test_data): New variable.
22294 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22295 (log_test_data): New variable.
22296 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22297 (log10_test_data): New variable.
22298 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22299 (log1p_test_data): New variable.
22300 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22301 (log2_test_data): New variable.
22302 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22303 (logb_test_data): New variable.
22304 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22305 (logb_downward_test_data): New variable.
22306 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22307 (nearbyint_test_data): New variable.
22308 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22309 (rint_test_data): New variable.
22310 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22311 (rint_tonearest_test_data): New variable.
22312 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22313 (rint_towardzero_test_data): New variable.
22314 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22315 (rint_downward_test_data): New variable.
22316 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22317 (rint_upward_test_data): New variable.
22318 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22319 (round_test_data): New variable.
22320 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22321 (sin_test_data): New variable.
22322 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22323 (sin_tonearest_test_data): New variable.
22324 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22325 (sin_towardzero_test_data): New variable.
22326 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22327 (sin_downward_test_data): New variable.
22328 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22329 (sin_upward_test_data): New variable.
22330 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22331 (sinh_test_data): New variable.
22332 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22333 (sinh_tonearest_test_data): New variable.
22334 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22335 (sinh_towardzero_test_data): New variable.
22336 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22337 (sinh_downward_test_data): New variable.
22338 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22339 (sinh_upward_test_data): New variable.
22340 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22341 (sqrt_test_data): New variable.
22342 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22343 (tan_test_data): New variable.
22344 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22345 (tan_tonearest_test_data): New variable.
22346 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22347 (tan_towardzero_test_data): New variable.
22348 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22349 (tan_downward_test_data): New variable.
22350 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22351 (tan_upward_test_data): New variable.
22352 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22353 (tanh_test_data): New variable.
22354 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22355 (tgamma_test_data): New variable.
22356 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22357 (trunc_test_data): New variable.
22358 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22359 (y0_test_data): New variable.
22360 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22361 (y1_test_data): New variable.
22362 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22363 (significand_test_data): New variable.
22364 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22365
7187d844
CG
223662013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22367
22368 [BZ #12387]
22369 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22370
f63fae73
PT
223712013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22372
22373 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22374
8a67a4b3
AJ
223752013-05-10 Andreas Jaeger <aj@suse.de>
22376
22377 [BZ #15448]
22378 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22379 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22380
51df539d
JM
223812013-05-10 Joseph Myers <joseph@codesourcery.com>
22382
22383 * math/gen-libm-test.pl (adjust_arg): New function.
22384 (special_functions): Handle generating output in both functions
22385 and arrays.
22386 (parse_args): Likewise.
22387 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22388 $in_func argument to parse_args.
22389 * math/libm-test.inc (struct test_f_f_data): New type.
22390 (IF_ROUND_INIT_): New macro.
22391 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22392 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22393 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22394 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22395 (ROUND_RESTORE_): Likewise.
22396 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22397 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22398 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22399 (ROUND_RESTORE_FE_UPWARD): Likewise.
22400 (RUN_TEST_LOOP_f_f): New macro.
22401 (acos_test_data): New variable.
22402 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22403 (acos_tonearest_test_data): New variable.
22404 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22405
5c637fe5
SP
224062013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22407
22408 * benchtests/bench-skeleton.c (startup): Fix coding style.
22409
ab2b9461
JM
224102013-05-10 Joseph Myers <joseph@codesourcery.com>
22411
22412 [BZ #6809]
22413 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22414 negative infinity argument.
22415 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22416 negative infinity argument.
22417 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22418 negative infinity argument.
22419 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22420 domain errors.
22421
4c0fe6fe
FW
224222013-05-10 Florian Weimer <fweimer@redhat.com>
22423
22424 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22425 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22426 * iconv/iconv_prog.c (main): Likewise.
22427 * locale/programs/charmap-dir.c (charmap_readdir)
22428 (fopen_uncompressed): Likewise.
22429 * locale/programs/locfile.c (siblings_uncached)
22430 (write_locale_data): Use lstat64 instead of lstat.
22431 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22432 stat.
22433
a3375d29
AJ
224342013-05-10 Andreas Jaeger <aj@suse.de>
22435
22436 [BZ #15395]
22437 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22438 localization.
22439 Include <locale.h>.
22440
36129722
CD
224412013-05-09 Carlos O'Donell <carlos@redhat.com>
22442
22443 * elf/dl-close.c (_dl_close_worker): Add comments.
22444
faa7f811
JM
224452013-05-09 Joseph Myers <joseph@codesourcery.com>
22446
ed41ffef
JM
22447 [BZ #15359]
22448 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22449 high part of pi/2.
22450 (__ieee754_rem_pio2l): Update comments.
22451
d0213cd0
JM
22452 [BZ #15429]
22453 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22454 high part of pi/2.
22455 (__ieee754_rem_pio2l): Update comments.
22456
0d3e777a
JM
22457 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22458 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22459
24f56066
JM
22460 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22461 M_PI_4l.
22462
faa7f811
JM
22463 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22464 (M_PI_34_LOG10El): Likewise.
22465 (M_PI2_LOG10El): Likewise.
22466 (M_PI4_LOG10El): Likewise.
22467 (M_PI_LOG10El): Likewise.
22468
e9a5e0fd
AZ
224692013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22470
22471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22472
d8cd06db
JM
224732013-05-08 Joseph Myers <joseph@codesourcery.com>
22474
a0d9f9d7
JM
22475 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22476 (MINUS_ZERO_INIT): Likewise.
22477 (PLUS_INFTY_INIT): Likewise.
22478 (MINUS_INFTY_INIT): Likewise.
22479 (QNAN_VALUE_INIT): Likewise.
22480 (MAX_VALUE_INIT): Likewise.
22481 (MIN_VALUE_INIT): Likewise.
22482 (MIN_SUBNORM_VALUE_INIT): Likewise.
22483 (plus_zero): Initialize with PLUS_ZERO_INIT.
22484 (minus_zero): Initialize with MINUS_ZERO_INIT.
22485 (plus_infty): Initialize with PLUS_INFTY_INIT.
22486 (minus_infty): Initialize with MINUS_INFTY_INIT.
22487 (qnan_value): Initialize with QNAN_VALUE_INIT.
22488 (max_value): Initialize with MAX_VALUE_INIT.
22489 (min_value): Initialize with MIN_VALUE_INIT.
22490 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22491
ae08db3b
JM
22492 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22493 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22494 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22495 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22496
f44bf14a
JM
22497 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22498 (RUN_TEST_2_f): Likewise.
22499 (RUN_TEST_ff_f): Likewise.
22500 (RUN_TEST_fi_f): Likewise.
22501 (RUN_TEST_fl_f): Likewise.
22502 (RUN_TEST_fff_f): Likewise.
22503 (RUN_TEST_c_f): Likewise.
22504 (RUN_TEST_f_f1): Likewise.
22505 (RUN_TEST_fF_f1): Likewise.
22506 (RUN_TEST_fI_f1): Likewise.
22507 (RUN_TEST_ffI_f1): Likewise.
22508 (RUN_TEST_c_c): Likewise.
22509 (RUN_TEST_cc_c): Likewise.
22510 (RUN_TEST_f_i): Likewise.
22511 (RUN_TEST_f_i_tg): Likewise.
22512 (RUN_TEST_ff_i_tg): Likewise.
22513 (RUN_TEST_f_b): Likewise.
22514 (RUN_TEST_f_b_tg): Likewise.
22515 (RUN_TEST_f_l): Likewise.
22516 (RUN_TEST_f_L): Likewise.
22517 (RUN_TEST_sincos): Likewise.
22518 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22519 whether to show exceptions. Do not include ");\n" in return
22520 value.
22521 (special_functions): Output call to RUN_TEST_sincos instead of
22522 check_float calls. Update calls to new_test.
22523 (parse_args): Output call to single RUN_TEST_* macro instead of
22524 check_* calls and other assignments. Update calls to new_test.
22525
d8cd06db
JM
22526 [BZ #2546]
22527 [BZ #2560]
22528 [BZ #5159]
22529 [BZ #15426]
22530 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22531 input to result for tgamma overflow.
22532 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22533 (gamma_coeff): New variable.
22534 (NCOEFF): New macro.
22535 (gamma_positive): New function.
22536 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22537 underflow here. Use gamma_positive instead of exp (lgamma) for
22538 other arguments.
22539 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22540 (gamma_coeff): New variable.
22541 (NCOEFF): New macro.
22542 (gammaf_positive): New function.
22543 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22544 underflow here. Use gamma_positive instead of exp (lgamma) for
22545 other arguments.
22546 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22547 (gamma_coeff): New variable.
22548 (NCOEFF): New macro.
22549 (gammal_positive): New function.
22550 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22551 underflow here. Use gamma_positive instead of exp (lgamma) for
22552 other arguments.
22553 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22554 (gamma_coeff): New variable.
22555 (NCOEFF): New macro.
22556 (gammal_positive): New function.
22557 (__ieee754_gammal_r): Handle positive infinity, overflow and
22558 underflow here. Handle NaN the same as positive infinity. Remove
22559 check x < 0xffffffff for negative integers. Use gamma_positive
22560 instead of exp (lgamma) for other arguments.
22561 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22562 (gamma_coeff): New variable.
22563 (NCOEFF): New macro.
22564 (gammal_positive): New function.
22565 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22566 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22570 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22571 * sysdeps/generic/math_private.h (__gamma_productf): New
22572 prototype.
22573 (__gamma_product): Likewise.
22574 (__gamma_productl): Likewise.
22575 * math/Makefile (libm-calls): Add gamma_product.
22576 * math/libm-test.inc (tgamma_test): Add more tests.
22577 * sysdeps/i386/fpu/libm-test-ulps: Update.
22578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22579
bb7cf681
OB
225802013-05-08 Ondřej Bílka <neleai@seznam.cz>
22581
22582 * benchtests/bench-skeleton.c (main): Preheat CPU.
22583
ba853947
AJ
225842013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22585
22586 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22587
8347c74c
RM
225882013-05-07 Roland McGrath <roland@hack.frob.com>
22589
22590 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22591 and _dl_skip_args_internal.
22592
e8dd4791
CD
225932013-05-07 Carlos O'Donell <carlos@redhat.com>
22594
22595 * manual/message.texi (Message Translation): Talk about users.
22596 Message to key mapping impacts design.
22597
c7405830
RM
225982013-05-06 Roland McGrath <roland@hack.frob.com>
22599
a9173057
RM
22600 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22601
976e2f03
RM
22602 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22603
9723ffc5
RM
22604 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22605 * sysdeps/wordsize-64/glob64.c: ... here.
22606
962e6658
RM
22607 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22608 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22609 New macros.
22610
ee586a6d
RM
22611 * debug/getlogin_r_chk.c: Moved to ...
22612 * login/getlogin_r_chk.c: ... here.
22613 * debug/Makefile (routines): Move getlogin_r_chk to ...
22614 * login/Makefile (routines): ... here.
22615 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22616 * login/Versions (libc: GLIBC_2.4): ... here.
22617
355f9165
RM
22618 * io/poll.c (__poll): Renamed from poll.
22619 Add libc_hidden_def.
22620 (poll): Define as weak alias.
22621
bd9ffde6
RM
22622 * debug/ptsname_r_chk.c: Moved to ...
22623 * login/ptsname_r_chk.c: ... here.
22624 * debug/Makefile (routines): Move ptsname_r_chk to ...
22625 * login/Makefile (routines): ... here.
22626 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22627 * login/Versions (libc: GLIBC_2.4): ... here.
22628
8fb16a04
RM
22629 * posix/getlogin.c: Moved to ...
22630 * login/getlogin.c: ... here.
22631 * posix/getlogin_r.c: Moved to ...
22632 * login/getlogin_r.c: ... here.
22633 * posix/getlogin_r.c: Moved to ...
22634 * login/getlogin_r.c: ... here.
22635 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22636 * login/Makefile (routines): ... here.
22637 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22638 * login/Versions (libc: GLIBC_2.0): ... here.
22639
b99b892f
RM
22640 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22641 (setrlimit): Define as weak alias.
22642
c7405830
RM
22643 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22644 Call __ names for open, ftruncate, and close.
22645 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22646 (truncate): Define as weak alias.
22647
5bf96de5
JM
226482013-05-06 Joseph Myers <joseph@codesourcery.com>
22649
9ea3513c
JM
22650 * math/gen-libm-test.pl (parse_args): Initialize x before each
22651 test of frexp, modf and remquo.
22652
5bf96de5
JM
22653 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22654 test signgam value.
22655
16e616a7
AZ
226562013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22657
22658 [BZ #15418]
22659 [BZ #15419]
22660 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22661 internal tests.
22662 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22663
d5e82754
RM
226642013-05-06 Roland McGrath <roland@hack.frob.com>
22665
22666 * elf/dl-writev.h: New file.
22667 * elf/dl-misc.c: Include it.
22668 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22669 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22670
a7548d41
JM
226712013-05-04 Joseph Myers <joseph@codesourcery.com>
22672
b7dab1e4
JM
22673 * math/libm-test.inc (noXFails): Remove variable.
22674 (noXPasses): Likewise.
22675 (BUILD_COMPLEX_INT): Remove macro.
22676 (print_screen): Remove xfail argument.
22677 (print_screen_max_error): Likewise.
22678 (update_stats): Likewise.
22679 (print_max_error): Likewise. Update calls to other affected
22680 functions.
22681 (print_complex_max_error): Likewise.
22682 (test_single_exception): Update calls to print_screen.
22683 (test_single_errno): Likewise.
22684 (check_float_internal): Remove xfail argument. Update calls to
22685 other affected functions.
22686 (check_float): Likewise.
22687 (check_complex): Likewise.
22688 (check_int): Likewise.
22689 (check_long): Likewise.
22690 (check_bool): Likewise.
22691 (check_longlong): Likewise.
22692 (main): Don't print noXFails and noXPasses.
22693 * math/gen-libm-test.pl (top level): Don't mention expected
22694 failure handling in comment.
22695 (new_test): Don't handle expected failures.
22696 (parse_args): Don't mention expected failure handling in comment.
22697 (generate_testfile): Don't handle expected failures.
22698 (parse_ulps): Likewise.
22699 (print_ulps_file): Likewise.
22700 (get_failure): Remove function.
22701 (output_test): Don't handle expected failures.
22702 * make/README.libm-test: Don't mention expected failure handling.
22703
a7548d41
JM
22704 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22705 (minus_zero): Likewise.
22706 (plus_infty): Likewise.
22707 (minus_infty): Likewise.
22708 (qnan_value): Likewise.
22709 (max_value): Likewise.
22710 (min_value): Likewise.
22711 (min_subnorm_value): Likewise.
22712 (initialize): Do not initialize those variables dynamically.
22713
60bfd54c
RM
227142013-05-03 Roland McGrath <roland@hack.frob.com>
22715
cc0e6ed8
RM
22716 * io/open.c (__open_2): Moved to ...
22717 * io/open_2.c: ... this new file.
22718 * io/open64.c (__open64_2): Moved to ...
22719 * io/open64_2.c: ... this new file.
22720 * io/openat.c (__openat_2): Moved to ...
22721 * io/openat_2.c: ... this new file.
22722 * io/openat64.c (__openat64_2): Moved to ...
22723 * io/openat64_2.c: ... this new file.
22724 * io/Makefile (routines): Add them.
22725 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22726 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22727 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22728 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22729 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22730 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22731 (__openat64): Add hidden_ver.
22732 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22733 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22734
60bfd54c
RM
22735 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22736 Separately conditionalize setting of GLRO(dl_sysinfo) so
22737 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22738 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22739
83e7640f
AZ
227402013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22741
22742 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22743 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22744 definition.
22745 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22746 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22747 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22748 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22749 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22750
d5dc2af3
JM
227512013-05-03 Joseph Myers <joseph@codesourcery.com>
22752
c31a5b1e
JM
22753 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22754 test signgam value.
22755
d5dc2af3
JM
22756 * math/libm-test.inc (hypot_test): Do not use
22757 IGNORE_ZERO_INF_SIGN.
22758
164fd39d
AJ
227592013-05-03 Andreas Jaeger <aj@suse.de>
22760
22761 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22762 Linux 3.9.
22763 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22764 (PF_MAX): Adjust for VSOCK change.
22765
8237f48c
AZ
227662013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22767
22768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22769
9df02941
CD
227702013-05-02 Carlos O'Donell <carlos@redhat.com>
22771
22772 [BZ #15264]
22773 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22774 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22775 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22776
d422395e
DM
227772013-05-02 David S. Miller <davem@davemloft.net>
22778
22779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22780
a07c5731
OB
227812013-05-01 Ondřej Bílka <neleai@seznam.cz>
22782
22783 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22784
1324e37f
RM
227852013-05-01 Roland McGrath <roland@hack.frob.com>
22786
22787 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22788
0695940b
RS
227892013-05-01 Richard Smith <richard@metafoo.co.uk>
22790
bb5f27ad 22791 [BZ #14952]
0695940b
RS
22792 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22793 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22794 Use __attribute__ ((__gnu_inline__)).
22795 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22796 Don't use __attribute__ ((__gnu_inline__)).
22797
10de07f5
JM
227982013-05-01 Joseph Myers <joseph@codesourcery.com>
22799
22800 [BZ #15423]
22801 * math/s_catan.c (__catan): Handle small real or imaginary part of
22802 input specially to avoid spurious underflow.
22803 * math/s_catanf.c (__catanf): Likewise.
22804 * math/s_catanh.c (__catanh): Likewise.
22805 * math/s_catanhf.c (__catanhf): Likewise.
22806 * math/s_catanhl.c (__catanhl): Likewise.
22807 * math/s_catanl.c (__catanl): Likewise.
22808 * math/libm-test.inc (catan_test): Add more tests.
22809 (catanh_test): Likewise.
22810 * sysdeps/i386/fpu/libm-test-ulps: Update.
22811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22812
cb4d5414
AZ
228132013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22814
22815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22816
caf84319
JM
228172013-04-30 Joseph Myers <joseph@codesourcery.com>
22818
22819 [BZ #15416]
22820 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22821 accurately for denominator in atan2.
22822 * math/s_catanf.c (__catanf): Likewise.
22823 * math/s_catanh.c (__catanh): Likewise.
22824 * math/s_catanhf.c (__catanhf): Likewise.
22825 * math/s_catanhl.c (__catanhl): Likewise.
22826 * math/s_catanl.c (__catanl): Likewise.
22827 * math/libm-test.inc (catan_test): Add more tests.
22828 (catanh_test): Likewise.
22829 * sysdeps/i386/fpu/libm-test-ulps: Update.
22830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22831
d569c6ee
SP
228322013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22833
6dbe713d
SP
22834 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22835
f0ee064b
SP
22836 * benchtests/Makefile (bench): Remove slow benchmarks.
22837 * benchtests/atan-inputs: Add slow benchmark inputs.
22838 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22839 (BENCH_FUNC): Accept variant offset.
22840 (VARIANT): Define.
22841 * benchtests/bench-skeleton.c (main): Run benchmark for each
22842 variant.
22843 * benchtests/cos-inputs: Add slow benchmark inputs.
22844 * benchtests/exp-inputs: Likewise.
22845 * benchtests/pow-inputs: Likewise.
22846 * benchtests/sin-inputs: Likewise.
22847 * benchtests/slowatan-inputs: Remove.
22848 * benchtests/slowatan.c: Remove.
22849 * benchtests/slowcos-inputs: Remove.
22850 * benchtests/slowcos.c: Remove.
22851 * benchtests/slowexp-inputs: Remove.
22852 * benchtests/slowexp.c: Remove.
22853 * benchtests/slowpow-inputs: Remove.
22854 * benchtests/slowpow.c: Remove.
22855 * benchtests/slowsin-inputs: Remove.
22856 * benchtests/slowsin.c: Remove.
22857 * benchtests/slowtan-inputs: Remove.
22858 * benchtests/slowtan.c: Remove.
22859 * benchtests/tan-inputs: Add slow benchmark inputs.
22860 * scripts/bench.pl: Parse comments and directives.
22861
d569c6ee
SP
22862 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22863 in CPPFLAGS.
22864 ($(objpfx)bench-%.c): Remove *-ITER.
22865 * benchtests/bench-modf.c: Remove definition of ITER.
22866 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22867 (main): Loop for DURATION seconds instead of fixed number of
22868 iterations.
22869 * scripts/bench.pl: Don't expect iterations in parameters.
22870
a6a242fe
RM
228712013-04-29 Roland McGrath <roland@hack.frob.com>
22872
22873 * io/fchdir.c (__fchdir): Renamed from fchdir.
22874 (fchdir): Define as weak alias.
22875
f2da7793
JM
228762013-04-29 Joseph Myers <joseph@codesourcery.com>
22877
22878 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22879 (ERRNO_EDOM): Likewise.
22880 (ERRNO_ERANGE): Likewise.
22881 (noErrnoTests): New variable.
22882 (init_max_error): Set errno to 0.
22883 (test_single_errno): New function.
22884 (test_errno): Likewise.
22885 (check_float_internal): Call test_errno. Set errno to 0.
22886 (check_complex): Refer to errno tests in comment.
22887 (check_int): Call test_errno. Set errno to 0.
22888 (check_long): Likewise.
22889 (check_bool): Likewise.
22890 (check_longlong): Likewise.
22891 (cos_test): Use ERRNO_* flags for errno tests instead of
22892 check_int.
22893 (expm1_test): Likewise.
22894 (fmod_test): Likewise.
22895 (ilogb_test): Likewise.
22896 (lgamma_test): Likewise.
22897 (pow_test): Likewise.
22898 (remainder_test): Likewise.
22899 (sin_test): Likewise.
22900 (tan_test): Likewise.
22901 (yn_test): Likewise.
22902 (initialize): Set errno to 0.
22903 (main): Print number of errno tests.
22904 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22905
b1a36ceb
AJ
229062013-04-29 Andreas Jaeger <aj@suse.de>
22907
c3ed8088
AJ
22908 [BZ #15084]
22909 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22910 and RES_USEVC.
22911
f1a24198
AJ
22912 [BZ #15085]
22913 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22914 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22915 unimplemented.
22916
9ce3b2cb
AJ
22917 [BZ #15380]
22918 * stdlib/random.c (__initstate): Return NULL if
22919 __initstate fails.
22920
f1a24198 22921 [BZ #15086]
b1a36ceb
AJ
22922 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22923 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22924 RES_SNGLKUPREOP.
22925
7e7b6f36
AZ
229262013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22927
22928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22929
4d14f449
JM
229302013-04-29 Joseph Myers <joseph@codesourcery.com>
22931
22932 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22933 of individual tests.
22934 (casin_test): Likewise.
22935 (casinh_test): Likewise.
22936
5b4217d7
JM
229372013-04-27 Joseph Myers <joseph@codesourcery.com>
22938
22939 [BZ #15409]
22940 * math/s_catan.c (__catan): Handle arguments with large real or
22941 imaginary part separately without squaring.
22942 * math/s_catanf.c (__catanf): Likewise.
22943 * math/s_catanh.c (__catanh): Likewise.
22944 * math/s_catanhf.c (__catanhf): Likewise.
22945 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22946 and redefine.
22947 (__catanhl): Handle arguments with large real or imaginary part
22948 separately without squaring.
22949 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22950 and redefine.
22951 (__catanl): Handle arguments with large real or imaginary part
22952 separately without squaring.
22953 * math/libm-test.inc (catan_test): Add more tests.
22954 (catanh_test): Likewise.
22955 * sysdeps/i386/fpu/libm-test-ulps: Update.
22956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22957
4220c3ef
AJ
229582013-04-27 Andreas Jaeger <aj@suse.de>
22959
22960 [BZ #15007]
22961 * stdlib/stdlib.h: Update guards for qecvt.
22962 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22963 <stdlib.h>.
22964
4721b2d1
AM
229652013-04-27 Allan McRae <allan@archlinux.org>
22966
22967 * sysdeps/i386/fpu/libm-test-ulps: Update.
22968
f0302940
JM
229692013-04-26 Joseph Myers <joseph@codesourcery.com>
22970
9457fd95
JM
22971 [BZ #15406]
22972 * math/s_catan.c: Include <float.h>.
22973 (__catan): Ensure underflow exception occurs for underflowed
22974 result.
22975 * math/s_catanf.c: Include <float.h>.
22976 (__catanf): Ensure underflow exception occurs for underflowed
22977 result.
22978 * math/s_catanh.c: Include <float.h>.
22979 (__catanh): Ensure underflow exception occurs for underflowed
22980 result.
22981 * math/s_catanhf.c: Include <float.h>.
22982 (__catanhf): Ensure underflow exception occurs for underflowed
22983 result.
22984 * math/s_catanhl.c: Include <float.h>.
22985 (__catanhl): Ensure underflow exception occurs for underflowed
22986 result.
22987 * math/s_catanl.c: Include <float.h>.
22988 (__catanl): Ensure underflow exception occurs for underflowed
22989 result.
22990 * math/libm-test.inc (catan_test): Add more tests.
22991 (catanh_test): Likewise.
22992
f0302940
JM
22993 [BZ #15405]
22994 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22995 underflowed result.
22996 * math/s_ccoshf.c (__ccoshf): Likewise.
22997 * math/s_ccoshl.c (__ccoshl): Likewise.
22998 * math/s_csin.c (__csin): Likewise.
22999 * math/s_csinf.c (__csinf): Likewise.
23000 * math/s_csinh.c (__csinh): Likewise.
23001 * math/s_csinhf.c (__csinhf): Likewise.
23002 * math/s_csinhl.c (__csinhl): Likewise.
23003 * math/s_csinl.c (__csinl): Likewise.
23004 * math/libm-test.inc (ccos_test): Add more tests.
23005 (ccosh_test): Likewise.
23006 (csin_test): Likewise.
23007 (csinh_test): Likewise.
23008
aa630f59
AZ
230092013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23010
23011 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23012 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23013 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23014 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23015 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23016 powerpc/power5+/fpu folders.
23017 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23018
23019
1b835983
MT
230202013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23021
23022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23023
73709b26
JM
230242013-04-25 Joseph Myers <joseph@codesourcery.com>
23025
23026 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23027 additions to variable.
23028 [$(config-machine) = x86_64] (modules-names): Likewise.
23029 ($(objpfx)tst-audit3): Remove dependency.
23030 ($(objpfx)tst-audit3.out): Likewise.
23031 ($(objpfx)tst-audit4): Likewise.
23032 ($(objpfx)tst-audit4.out): Likewise.
23033 ($(objpfx)tst-audit5): Likewise.
23034 ($(objpfx)tst-audit5.out): Likewise.
23035 ($(objpfx)tst-audit6): Likewise.
23036 ($(objpfx)tst-audit6.out): Likewise.
23037 ($(objpfx)tst-audit7): Likewise.
23038 ($(objpfx)tst-audit7.out): Likewise.
23039 (tst-audit3-ENV): Remove variable.
23040 (tst-audit4-ENV): Likewise.
23041 (tst-audit5-ENV): Likewise.
23042 (tst-audit6-ENV): Likewise.
23043 (tst-audit7-ENV): Likewise.
23044 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23045 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23046 addition to variable.
23047 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23048 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23049 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23050 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23051 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23052 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23053 tst-audit3, tst-audit4 and tst-audit5.
23054 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23055 tst-audit6 and tst-audit7.
23056 [$(subdir) = elf] (modules-names): Add audit modules for those
23057 tests.
23058 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23059 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23060 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23061 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23062 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23063 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23064 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23065 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23066 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23067 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23068 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23069 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23070 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23071 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23072 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23073 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23074 Likewise.
23075 [$(subdir) = elf && $(config-cflags-avx) = yes]
23076 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23077 [$(subdir) = elf && $(config-cflags-avx) = yes]
23078 (CFLAGS-tst-auditmod4a.c): Likewise.
23079 [$(subdir) = elf && $(config-cflags-avx) = yes]
23080 (CFLAGS-tst-auditmod4b.c): Likewise.
23081 [$(subdir) = elf && $(config-cflags-avx) = yes]
23082 (CFLAGS-tst-auditmod6b.c): Likewise.
23083 [$(subdir) = elf && $(config-cflags-avx) = yes]
23084 (CFLAGS-tst-auditmod6c.c): Likewise.
23085 [$(subdir) = elf && $(config-cflags-avx) = yes]
23086 (CFLAGS-tst-auditmod7b.c): Likewise.
23087 * elf/tst-audit3.c: Move to ...
23088 * sysdeps/x86_64/tst-audit3.c: ... here.
23089 * elf/tst-audit4.c: Move to ...
23090 * sysdeps/x86_64/tst-audit4.c: ... here.
23091 * elf/tst-audit5.c: Move to ...
23092 * sysdeps/x86_64/tst-audit5.c: ... here.
23093 * elf/tst-audit6.c: Move to ...
23094 * sysdeps/x86_64/tst-audit6.c: ... here.
23095 * elf/tst-audit7.c: Move to ...
23096 * sysdeps/x86_64/tst-audit7.c: ... here.
23097 * elf/tst-auditmod3a.c: Move to ...
23098 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23099 * elf/tst-auditmod3b.c: Move to ...
23100 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23101 * elf/tst-auditmod4a.c: Move to ...
23102 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23103 * elf/tst-auditmod4b.c: Move to ...
23104 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23105 * elf/tst-auditmod5a.c: Move to ...
23106 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23107 * elf/tst-auditmod5b.c: Move to ...
23108 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23109 * elf/tst-auditmod6a.c: Move to ...
23110 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23111 * elf/tst-auditmod6b.c: Move to ...
23112 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23113 * elf/tst-auditmod6c.c: Move to ...
23114 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23115 * elf/tst-auditmod7a.c: Move to ...
23116 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23117 * elf/tst-auditmod7b.c: Move to ...
23118 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23119
1ef74943
PP
231202013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23121
23122 [BZ #15366]
23123 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23124 define unconditionally.
23125 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23126 define unconditionally.
23127 (INT8_C, INT16_C, etc.): Likewise.
23128
93fd48c5
MR
231292013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23130
ae9552cf
MR
23131 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23132 __ehdr_start with hidden visibility.
23133
93fd48c5
MR
23134 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23135
418601aa
CD
231362013-04-24 Carlos O'Donell <carlos@redhat.com>
23137
23138 * math/libm-test.inc (cos_test): Use accurate hex constants.
23139 (sincost_test): Likewise.
23140
2f38fbfe
JM
231412013-04-24 Joseph Myers <joseph@codesourcery.com>
23142
5e221800
JM
23143 * math/libm-test.inc (catan_test): Add more tests.
23144 (catanh_test): Likewise.
23145
77f143fd
JM
23146 * math/s_catanf.c (__catanf): Use suffixed floating-point
23147 constants.
23148 * math/s_catanhf.c (__catanhf): Likewise.
23149 * math/s_catanhl.c (__catanhl): Likewise.
23150 * math/s_catanl.c (__catanl): Likewise.
23151
2f38fbfe
JM
23152 [BZ #15394]
23153 * math/s_catan.c (__catan): Calculate imaginary part of result
23154 with log1p not log unless computing log of number close to 0.
23155 * math/s_catanf.c (__catanf): Likewise.
23156 * math/s_catanl.c (__catanl): Likewise.
23157 * math/s_catanh.c (__catanh): Calculate real part of result with
23158 log1p not log unless computing log of number close to 0.
23159 * math/s_catanhf.c (__catanhf): Likewise.
23160 * math/s_catanhl.c (__catanhl): Likewise.
23161 * math/libm-test.inc (catan_test): Add more tests.
23162 (catanh_test): Likewise.
23163 * sysdeps/i386/fpu/libm-test-ulps: Update.
23164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23165
45d69176
SP
231662013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23167
23168 * benchtests/Makefile: Mention files in which fast and slow
23169 paths of math functions are implemented.
23170
87f51853
RM
231712013-04-23 Roland McGrath <roland@hack.frob.com>
23172
23173 * sysdeps/posix/timespec_get.c: New file.
23174
3c026539
AZ
231752013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23176
23177 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23178 POWER.
23179 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23180 for POWER.
23181 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23182 powerpc/power5/fpu folders.
23183 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23184 * benchtests/Makefile: Add modf testcase.
23185 * benchtests/bench-modf.c: New file: Benchmark test for mo
23186
ff491d14
SP
231872013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23188
23189 [BZ #14888]
23190 * time/Makefile (tests): Add tst-strptime-whitespace.
23191 * time/strptime_l.c (get_number): Use ISSPACE.
23192 (__strptime_internal): Likewise.
23193 * time/tst-strptime-whitespace.c: New test case.
23194
7ed3f4e8
AS
231952013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23196
23197 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23198 member.
23199 (_nss_files_init): Set it here.
23200
5c95f7b6
HC
232012013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23202
23203 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23204 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23205 unsigned.
23206
d34c9158
JBG
232072013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23208
23209 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23210
2169712d
SP
232112013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23212
23213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23214 size just once.
23215
29c5de99
DM
232162013-04-21 David S. Miller <davem@davemloft.net>
23217
23218 * po/ru.po: Update Russion translation from translation project.
23219
ccdad15d
AC
232202013-04-17 Adam Conrad <adconrad@0c3.net>
23221
23222 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23223 and setfsgid.
23224
0f122b8d
CD
232252013-04-17 Carlos O'Donell <carlos@redhat.com>
23226
5c5b07da 23227 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 23228 * configure: Regenerate.
5c5b07da 23229 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
23230 Add example to error message.
23231 * sysdeps/i386/configure: Regenerate.
23232
037714dd
SP
232332013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23234
23235 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23236 slowtan.
23237 * benchtests/cos-inputs: New file.
23238 * benchtests/slowcos-inputs: New file.
23239 * benchtests/slowcos.c: New file.
23240 * benchtests/slowtan-inputs: New file.
23241 * benchtests/slowtan.c: New file.
23242 * benchtests/tan-inputs: New file.
23243
e913141d
RM
232442013-04-16 Roland McGrath <roland@hack.frob.com>
23245
23246 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23247 considered kosher.
23248
a2964074
SP
232492013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23250
4856bcd2
SP
23251 * benchtests/Makefile: Include cppflags-iterator.mk to add
23252 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23253
a2964074
SP
23254 * Makefile.in (bench-clean): New target.
23255 * benchtests/Makefile (bench-clean): Likewise.
23256
9fbf9aca
DH
232572013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23258
23259 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23260
207d1e2a
TS
232612013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23262
23263 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23264
306dfba9
AS
232652013-04-15 Andreas Schwab <schwab@suse.de>
23266
23267 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23269 * nscd/pwdcache.c (cache_addpw): Likewise.
23270 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23271 more than recsize.
23272
206a6699
SP
232732013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23274
23275 * benchtests/Makefile (bench): Write all output to
23276 bench-out.tmp together.
23277
0582f6b3
AS
232782013-04-15 Andreas Schwab <schwab@suse.de>
23279
23280 * nscd/nscd.c (main): Don't fork again after closing files.
23281
acb4325f
SP
232822013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23283
5cb26d0a
SP
23284 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23285
acb4325f
SP
23286 * benchtests/Rules (bench-deps): Collect dependencies into a
23287 single variable. Add Makefile to dependencies.
23288 ($(objpfx)bench-%.c): Depend on bench-deps.
23289
47792506
RM
232902013-04-12 Roland McGrath <roland@hack.frob.com>
23291 Xavier Roche <roche+kml2@exalead.com>
23292
23293 [BZ #15361]
23294 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23295 just that it's a file descriptor.
23296 * manual/llio.texi (Synchronizing AIO Operations): Update description
23297 for EBADF error from aio_fsync.
23298
8fc1bee5
SP
232992013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23300
23301 * Rules (bench): Move target definition...
23302 * benchtests/Makefile: ... here.
23303
aba5e333
CD
233042013-04-11 Carlos O'Donell <carlos@redhat.com>
23305
23306 * math/libm-test.inc (cos_test): Fix PI/2 test.
23307 (sincos_test): Likewise.
23308 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23309 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23310
273cdee8
AS
233112013-04-11 Andreas Schwab <schwab@suse.de>
23312
6ecec3b6
AS
23313 [BZ #13988]
23314 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23315 accept exponent character only when digits were seen.
23316 * stdio-common/Makefile (tests): Add bug26.
23317 * stdio-common/bug26.c: New file.
23318
273cdee8
AS
23319 [BZ #14293]
23320 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23321 non-freeable.
23322
8da491f5
SP
233232013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23324
01dc6df9
SP
23325 * Makeconfig (rtld-prefix): Define built linker prefix.
23326 * Rules (run-bench): Use it.
23327 * math/Makefile (run-regen-ulps): Likewise.
23328
8da491f5
SP
23329 * Rules (bench): Remove eval.
23330
abe7f530
SP
233312013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23332 Roland McGrath <roland@hack.frob.com>
23333 Ondrej Bilka <neleai@seznam.cz>
23334
23335 [BZ #15346]
23336 * time/getdate.c: Include ctype.h and alloca.h.
23337 (__getdate_r): Trim leading and trailing spaces of input.
23338 * time/tst-getdate.c (tests): Add tests with leading and
23339 trailing spaces.
23340
61c23e62
RM
233412013-04-08 Roland McGrath <roland@hack.frob.com>
23342
23343 [BZ #14280]
23344 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23345 when computing value.
23346
7208a313
CD
233472013-04-06 Carlos O'Donell <carlos@redhat.com>
23348
085b2d41
CD
23349 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23350 Use testrun.sh to run libm tests.
23351
7208a313
CD
23352 [BZ #15309]
23353 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23354
872c0acd
MM
233552013-04-06 Marko Myllynen <myllynen@redhat.com>
23356
23357 [BZ #15264]
23358 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23359
26510bdd
CD
233602013-04-06 Carlos O'Donell <carlos@redhat.com>
23361
23362 * Makefile.in (regen-ulps): New target.
23363 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23364 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23365 [ifneq (no,$(PERL)] (regen-ulps): New target.
23366 [ifeq (no,$(PERL)] (regen-ulps): New target.
23367 * math/libm-test.inc (ulps_file_name): Define.
23368 (output_dir): New variable.
23369 (options): Add "output-dir" option.
23370 (parse_opt): Handle 'o' case.
23371 (main): If output_dir is non-NULL use it as a prefix
23372 otherwise use "".
23373 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23374
a01f19c8
CD
233752013-04-06 Carlos O'Donell <carlos@redhat.com>
23376
23377 [BZ #10060, #10062]
23378 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23379 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23380 fail configure if __sync_val_compare_and_swap is not inlined.
23381 * sysdeps/i386/configure: Regenerate.
23382 * configure.in: Build for i686 when configured for i386.
23383 * configure: Regenerate.
23384 * README: Remove i386 reference.
23385
b7a329a5
CD
233862013-04-06 Carlos O'Donell <carlos@redhat.com>
23387
23388 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23389 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23390
bf0f50df
TS
233912013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23392
ee091edf
TS
23393 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23394 (lmsnanval): New variables.
23395 (F): Add conversion tests.
23396 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23397 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23398
a8b792d6
TS
23399 * stdio-common/tstdiomisc.c (F): Properly collect individual
23400 tests' results.
23401
a1cbf437
TS
23402 [BZ #14686, #15336]
23403 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23404 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23405 Instead, use input NaN values or generate a qNaN by arithmetic
23406 operation. Also fix bugs to comply with the standard.
23407 * math/libm-test.inc (remainder_test): Add more tests.
23408
8b43a0c9
TS
23409 [BZ #15335, #15342]
23410 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23411 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23412 input NaN values or generate a qNaN by arithmetic operation.
23413
d91da4ce
TS
23414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23415 unreachable code.
23416
bf0f50df
TS
23417 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23418 definitions.
23419
05e166c8
JM
234202013-04-03 Joseph Myers <joseph@codesourcery.com>
23421
23422 [BZ #14478]
23423 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23424 underflowed result.
23425 * math/s_cexpf.c (__cexpf): Likewise.
23426 * math/s_cexpl.c (__cexpl): Likewise.
23427 * math/libm-test.inc (cexp_test): Add more tests.
23428
1cef1b19
AS
234292013-04-03 Andreas Schwab <schwab@suse.de>
23430
23431 [BZ #15330]
23432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23433 order arrays from heap if bigger than alloca cutoff.
23434
74d87055
TS
234352013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23436
23437 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23438 (SNAN_TESTS_double): Refer to GCC PR56831.
23439 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23440 GCC PR56828.
23441
d755bba4
SP
234422013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23443
90d5d5bb
SP
23444 * Rules (bench): Move bench.out after the run is complete.
23445
73e0cd5d
SP
23446 * Rules (bench): Echo currently running benchmark.
23447
64aabd4b
SP
23448 * benchtests/Makefile (bench): Add atan and slowatan.
23449 * benchtests/atan-inputs: New file.
23450 * benchtests/slowatan-inputs: New file.
23451 * benchtests/slowatan.c: New file.
23452
c871eccd
SP
23453 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23455 its value.
23456
d755bba4
SP
23457 [BZ #15305]
23458 * sysdeps/unix/sysv/linux/kernel-features.h
23459 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23460 __ASSUME_XFS_RESTRICTED_CHOWN.
23461 * sysdeps/unix/sysv/linux/pathconf.c
23462 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23463 Save and restore errno.
23464
52ce4860
JM
234652013-04-02 Joseph Myers <joseph@codesourcery.com>
23466
23467 [BZ #15327]
23468 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23469 arguments using __kernel_casinh.
23470 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23471 arguments using __kernel_casinhf.
23472 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23473 arguments using __kernel_casinhl.
23474 * math/libm-test.inc (cacosh_test): Add more tests.
23475 * sysdeps/i386/fpu/libm-test-ulps: Update.
23476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23477
81f311c2
SP
234782013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23479
e7906a47
SP
23480 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23482
92e3664b
SP
23483 * bench/Makefile (bench): Add sin and slowsin.
23484 * benchtests/sin-inputs: New file.
23485 * benchtests/slowsin-inputs: New file.
23486 * benchtests/slowsin.c: New file.
23487
81f311c2
SP
23488 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23489 (bench): Add slowexp and slowpow.
23490 (exp-ITER): Increase iterations.
23491 (pow-ITER): Likewise.
23492 * benchtests/exp-inputs: Change input.
23493 * benchtests/pow-inputs: Likewise.
23494 * benchtests/slowexp-inputs: New file.
23495 * benchtests/slowexp.c: New file.
23496 * benchtests/slowpow-inputs: New file.
23497 * benchtests/slowpow.c: New file.
23498
ab0f1aa9
AZ
234992013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23500
23501 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23502 instructions.
23503 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23504 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23505 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23506 * benchtests/Makefile: Add rint benchtest.
23507 * benchtests/rint-inputs: Input for rint benchtest.
23508
57267616
TS
235092013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23510
23511 * Versions.def (libm): Add GLIBC_2.18.
23512 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23513 hidden libm prototypes.
23514 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23515 * math/Makefile (libm-calls): Add s_issignaling.
23516 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23517 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23518 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23519 declaration.
23520 * math/math.h [__USE_GNU] (issignaling): New macro.
23521 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23522 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23523 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23524 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23527 * manual/arith.texi (issignaling): New section.
23528 * manual/libm-err-tab.pl (@all_functions): Update comment.
23529 * math/gen-libm-test.pl (parse_args): Apply special handling for
23530 issignaling.
23531 * math/libm-test.inc (print_float, issignaling_test): New
23532 functions.
23533 (check_float_internal): Add issignaling checks.
23534 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23535 default definition.
23536 * sysdeps/powerpc/math-tests.h: New file.
23537 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23538 tests.
23539 * math/test-snan.c (TEST_FUNC): Likewise.
23540
6142896d
DM
235412013-03-30 David S. Miller <davem@davemloft.net>
23542
23543 * po/de.po: Update from translation team.
23544
ccc8cadf
JM
235452013-03-30 Joseph Myers <joseph@codesourcery.com>
23546
23547 [BZ #10357]
23548 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23549 imaginary part less than 1.0 and real part less than 0.5
23550 specially.
23551 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23552 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23553 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23554 (cacos_test): Add more tests.
23555 (casin_test): Likewise.
23556 (casinh_test): Likewise.
23557 * sysdeps/i386/fpu/libm-test-ulps: Update.
23558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23559
0f6a8d4b
SP
235602013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23561
0d1029de
SP
23562 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23563 ONE with its value.
23564
c2d94018
SP
23565 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23566 (__pow_mp): Replace ONE and MONE with their values.
23567 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23569 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23570 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23571 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23572 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23573
27ec37f1
SP
23574 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23575
a64d7e0e
SP
23576 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23577 (__pow_mp): Replace ZERO and MZERO with their values.
23578 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23579 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23580 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23582 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23583 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23584 (__sqr): Likewise.
23585
d26dd3eb
SP
23586 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23587
0f6a8d4b
SP
23588 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23589
e57b0c61
RM
235902013-03-28 Roland McGrath <roland@hack.frob.com>
23591
23592 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23593 Declare with __attribute__ ((weak)).
23594 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23595 Call __call_tls_dtors only if it's not NULL.
23596
356b3480
RM
235972013-03-28 Roland McGrath <roland@hack.frob.com>
23598
288f7d79
RM
23599 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23600 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23601 magic __ehdr_start linker symbol if it's defined.
23602 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23603 them up here if it was already done.
23604
dc0a0263
RM
23605 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23606 (_dl_aux_init): Use const in cast when setting it.
23607 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23608 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23609 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23610
3d3436ae
RM
23611 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23612 Declare them here.
23613 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23614 * csu/libc-tls.c: Nor here.
23615 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23616
356b3480
RM
23617 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23618 (__libc_message): Never call vsyslog.
23619
b0f1246a
AM
236202013-03-28 Alan Modra <amodra@gmail.com>
23621
23622 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23623 Define as empty.
23624 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23625 Likewise.
23626
fbbe2b9a
AZ
236272013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23628
23629 [BZ #15214]
23630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23631 underflow.
23632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23633
1728ab37
SP
236342013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23635
7a86be6e
SP
23636 [BZ #15304]
23637 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23638 Don't add gid passed as argument.
23639
1728ab37
SP
23640 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23641
3a7182a1
JM
236422013-03-27 Joseph Myers <joseph@codesourcery.com>
23643
23644 [BZ #15307]
23645 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23646 imaginary part between 1.0 and 1.5 and real part less than 0.5
23647 specially.
23648 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23649 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23650 * math/libm-test.inc (cacos_test): Add more tests.
23651 (casin_test): Likewise.
23652 (casinh_test): Likewise.
23653 * sysdeps/i386/fpu/libm-test-ulps: Update.
23654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23655
6f2e90e7
SP
236562013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23657
5739f705
SP
23658 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23659 constants.
23660 (norm): Likewise.
23661 (denorm): Likewise.
23662 (__dbl_mp): Likewise.
23663 (add_magnitudes): Likewise.
23664 (sub_magnitudes): Likewise.
23665 (__add): Likewise.
23666 (__sub): Likewise.
23667 (__mul): Likewise.
23668 (__sqr): Likewise.
23669 (__inv): Likewise.
23670 (__dvd): Likewise.
23671
e375e83d
SP
23672 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23673 commented code.
23674 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23675 (__dubcos): Likewise.
23676 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23677 (__ieee754_acos): Likewise.
23678 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23679 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23680 (__exp1): Likewise.
23681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23683 (log1): Likewise.
23684 (my_log2): Likewise.
23685 (checkint): Likewise.
23686 * sysdeps/ieee754/dbl-64/e_remainder.c
23687 (__ieee754_remainder): Likewise.
23688 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23689 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23690 (bsloww): Likewise.
23691 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23692
6f2e90e7
SP
23693 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23694 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23695 MANTISSA_STORE_T to store computations on mantissa. Use
23696 macros for rounding and division.
23697 (denorm): Likewise.
23698 (__dbl_mp): Likewise.
23699 (add_magnitudes): Likewise.
23700 (sub_magnitudes): Likewise.
23701 (__mul): Likewise.
23702 (__sqr): Likewise.
23703 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23704 powers of two in terms of TWOPOW macro.
23705 (mp_no): Make type of mantissa as MANTISSA_T.
23706 [!RADIXI]: Define RADIXI.
23707 [!TWO52]: Define TWO52.
23708 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23709
fce14d4e
AZ
237102013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23711
23712 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23713 llroundl symbol when building for PPC32.
23714
9ad027fb
MW
237152013-03-24 Mark H Weaver <mhw@netris.org>
23716
23717 * manual/arith.texi (Normalization Functions): Fix prototypes for
23718 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23719
e42a38dd
AZ
237202013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23721
23722 [BZ #13889]
23723 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23724 high value to check if expl overflow.
23725 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23726 to check for underflow and overflow.
23727 * math/libm-test.inc: Add exp test.
23728
2e0fb521
DL
237292013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23730
23731 [BZ #11120]
23732 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23733 with NOT_IN_libc.
23734
b5784d95
AZ
237352013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23736
23737 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23738 symbol.
23739
5aa4a1a1
TS
237402013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23741
bdef0be7
TS
23742 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23743 wrap blocks consisting of several statements.
23744
5aa4a1a1
TS
23745 * sysdeps/generic/math-tests.h: New file.
23746 * sysdeps/i386/fpu/math-tests.h: Likewise.
23747 * math/test-snan.c: Include it.
23748 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23749
98c48fe5
JM
237502013-03-21 Joseph Myers <joseph@codesourcery.com>
23751
23752 [BZ #15285]
23753 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23754 (__ieee754_j0l): Do not improve calculations using cos of twice
23755 input for inputs above LDBL_MAX / 2.0L.
23756 (__ieee754_y0l): Likewise.
23757 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23758 (__ieee754_j1l): Do not improve calculations using cos of twice
23759 input for inputs above LDBL_MAX / 2.0L.
23760 (__ieee754_y1l): Likewise.
23761 * math/libm-test.inc (j0_test): Add another test.
23762 (j1_test): Likewise.
23763 (y0_test): Likewise.
23764 (y1_test): Likewise.
23765 * sysdeps/i386/fpu/libm-test-ulps: Update.
23766
3775a8bc
SP
237672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23768
23769 * Rules ($(objpfx)bench-%.c): Include code from a C source
23770 file.
23771
0a1b2ae6
JM
237722013-03-21 Joseph Myers <joseph@codesourcery.com>
23773
23774 [BZ #15287]
23775 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23776 imaginary part 1.0 and real part less than 0.5 specially.
23777 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23778 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23779 * math/libm-test.inc (cacos_test): Add more tests.
23780 (casin_test): Likewise.
23781 (casinh_test): Likewise.
23782 * sysdeps/i386/fpu/libm-test-ulps: Update.
23783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23784
b33d4ce4
SP
237852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23786
23787 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23788 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23789
bef0b507
JM
237902013-03-20 Joseph Myers <joseph@codesourcery.com>
23791
23792 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23793 * config.make.in (config-cflags-sse4): Remove variable.
23794 (config-cflags-avx): Likewise.
23795 (config-cflags-sse2avx): Likewise.
23796 (config-cflags-novzeroupper): Likewise.
23797 (config-asflags-i686): Likewise.
23798 (have-mfma4): Likewise.
23799 (have-as-vis3): Likewise.
23800 (MIG): Likewise.
23801 * configure.in (MIG): Do not AC_SUBST.
23802 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23803 (libc_cv_cc_sse4): Do not AC_SUBST.
23804 (libc_cv_cc_avx): Likewise.
23805 (libc_cv_cc_sse2avx): Likewise.
23806 (libc_cv_cc_novzeroupper): Likewise.
23807 (libc_cv_cc_fma4): Likewise.
23808 (libc_cv_as_i686): Likewise.
23809 (libc_cv_sparc_as_vis3): Likewise.
23810 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23811 LIBC_CONFIG_VAR.
23812 (config-asflags-i686): Likewise.
23813 (config-cflags-avx): Likewise.
23814 (config-cflags-sse2avx): Likewise.
23815 (have-mfma4): Likewise.
23816 (config-cflags-novzeroupper): Likewise.
23817 * sysdeps/mach/configure.in (MIG): Likewise.
23818 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23819 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23820 LIBC_CONFIG_VAR.
23821 (config-cflags-avx): Likewise.
23822 (config-cflags-sse2avx): Likewise.
23823 (have-mfma4): Likewise.
23824 (config-cflags-novzeroupper): Likewise.
23825 * configure: Regenerated.
23826 * sysdeps/i386/configure: Likewise.
23827 * sysdeps/mach/configure: Likewise.
23828 * sysdeps/sparc/configure: Likewise.
23829 * sysdeps/x86_64/configure: Likewise.
23830
912cc4b3
RM
238312013-03-20 Roland McGrath <roland@hack.frob.com>
23832
23833 [BZ #14812]
23834 * locale/programs/localedef.c (options): Put N_ translation marker
23835 on argument names, not just descriptions.
23836
04eed2b0
MS
238372013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23838
23839 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23840
a065ceff
OB
238412013-03-20 Ondřej Bílka <neleai@seznam.cz>
23842
9bb2a810 23843 [BZ #14176]
a065ceff
OB
23844 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23845
a600e5ce
RM
238462013-03-19 Roland McGrath <roland@hack.frob.com>
23847
23848 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23849 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23850 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23851 [!BEFORE_ABORT] (before_abort): New function.
23852 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23853 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23854 (writev_for_fatal): New function.
23855 (WRITEV_FOR_FATAL): New macro; call that.
23856 (backtrace_and_maps): New function.
23857 (BEFORE_ABORT): New macro; call that.
23858 (struct str_list): Type removed.
23859 (__libc_message, __libc_fatal): Functions removed.
23860 Include <sysdeps/posix/libc_fatal.c> instead.
23861
6b18bea6
JM
238622013-03-19 Joseph Myers <joseph@codesourcery.com>
23863
23864 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23865 constants.
23866 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23867 double constants.
23868
aaa8cb4b
AS
238692013-03-19 Andreas Schwab <schwab@suse.de>
23870
44673770
AS
23871 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23872 * sysdeps/gnu/configure: Regenerate.
23873
aaa8cb4b
AS
23874 * configure.in: Substitute libc_cv_rtlddir.
23875 * configure: Regenerate.
23876 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23877 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23878 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23879 * elf/Makefile (install-others, CFLAGS-interp.c)
23880 (ldso_install, common-ldd-rewrite): Likewise.
23881 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23882 $(inst_slibdir)/$(rtld-installed-name).
23883 * scripts/rellns-sh: Add -p option.
23884 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23885 for source.
23886
d3cfc668
SP
238872013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23888
23889 * manual/nptl.texi: Renamed to ...
23890 * manual/threads.texi: ... this.
23891 * manual/Makefile (chapters): Update.
23892
0e2b9cdd
RM
238932013-03-18 Roland McGrath <roland@hack.frob.com>
23894
23895 [BZ #14812]
23896 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23897 on argument names, not just descriptions.
0e2b9cdd
RM
23898 * malloc/memusagestat.c (options): Likewise.
23899 * nss/getent.c (options): Likewise.
63270c24
RM
23900
239012013-03-18 Benno Schulenberg <bensberg@justemail.net>
23902
23903 [BZ #14812]
23904 * iconv/iconv_prog.c (options): Put N_ translation marker
23905 on argument names, not just descriptions.
23906 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 23907
b2e1393c
OB
239082013-03-18 Ondrej Bilka <neleai@seznam.cz>
23909
23910 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23911 implementation which is faster on all x86_64 architectures.
23912 Tested on AMD, Intel Nehalem, SNB, IVB.
23913 * sysdeps/x86_64/strnlen.S: Likewise.
23914
23915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23916 Remove all multiarch strlen and strnlen versions.
23917 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23918 Remove strlen and strnlen related parts.
23919
23920 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23921 Inline strlen part.
23922 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23923
23924 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23925 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23926 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23927 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23928 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23929 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23930
ec4ff04d
CD
239312013-03-17 Carlos O'Donell <carlos@redhat.com>
23932
23933 * manual/memory.texi (Malloc Tunable Parameters):
23934 Sort parameters alphabetically. Add comments for missing entries.
23935
cd18e90a
DM
239362013-03-17 David S. Miller <davem@davemloft.net>
23937
23938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23939
2a185d32
JM
239402013-03-16 Joseph Myers <joseph@codesourcery.com>
23941
d2f9799e
JM
23942 [BZ #15283]
23943 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23944 for arguments at most half maximum finite value.
23945 * math/libm-test.inc (j0_test): Add more tests.
23946 (j1_test): Likewise.
23947 (y0_test): Likewise.
23948 (y1_test): Likewise.
23949 * sysdeps/i386/fpu/libm-test-ulps: Update.
23950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23951
2a185d32
JM
23952 [BZ #14155]
23953 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23954 1 / x and functions P and Q for arguments above 0x1p256L.
23955 (__ieee754_y0l): Likewise.
23956 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23957 (__ieee754_y1l): Likewise.
23958 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23959 (j1_test): Likewise.
23960 (y0_test): Likewise.
23961 (y1_test): Likewise.
23962
6cbec759
TS
239632013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23964
23965 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23966 variable.
23967
bc16e260
RM
239682013-03-15 Roland McGrath <roland@hack.frob.com>
23969
aefc9b8c
RM
23970 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23971 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23972 zero since it's initialized to EXEC_PAGESIZE.
23973
bc16e260
RM
23974 * sysdeps/unix/sysv/linux/ldsodefs.h
23975 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23976 * sysdeps/generic/ldsodefs.h: ... here.
23977
a57da955
TS
239782013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23979
af00a34d
TS
23980 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23981
495ded2c
TS
23982 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23983 math/test-snan.c.
23984 * math/test-snan.c: Renamed from
23985 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23986 * math/Makefile (tests): Add test-snan.
23987 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23988 test-powerpc-snan.
23989
777b0332
TS
23990 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23991 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23992 functions.
23993 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23994 __builtin_nan family of functions.
23995 * math/libm-test.inc (initialize): Initialize qnan_value with
23996 __builtin_nan family of functions.
23997 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23998 Remove variables.
23999 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24000 Remove functions.
24001 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24002 storage class. Initialize qNaN_var and sNaN_var with
24003 __builtin_nan and __builtin_nans families of functions,
24004 respectively.
24005
64d063b8
TS
24006 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24007 (sqrt_test): Remove duplicate test with qNaN input.
24008 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24009 (round_test, signbit_test, significand_test): Note missing +/-Inf
24010 as well as qNaN tests.
24011
67e971f1
TS
24012 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24013 qNaN_var. Fix a few strings, too.
24014 * math/libm-test.inc (nan_value): Rename to qnan_value.
24015 * math/gen-libm-test.pl (%beautify): Adjust to that.
24016 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24017 * math/test-misc.c (main): Likewise.
24018 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24019 to __qnan_bytes, and __qnan_union, respectively.
24020 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24021 Likewise.
24022 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24023 and lqnanval, respectively.
24024 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24025 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24026 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24027 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24028
64487e12
TS
24029 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24030 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24031 doubles.
24032
e015e27b
TS
24033 * math/test-misc.c (main): Fix copy'n'pastos.
24034 * misc/tst-efgcvt.c (special): Likewise.
24035
a57da955
TS
24036 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24037 Remove declarations.
24038
1e380345
SP
240392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24040
24041 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24042 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24043 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24044 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24045
ef26eece
AZ
240462013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24047
24048 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24049 macro to return vdso values correctly in IFUNC implementations.
24050 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24051 Optimization by using IFUNC.
24052
8cfdb7e0
SP
240532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24054 Richard Henderson <rth@redhat.com>
24055 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24056
24057 * Makefile.in (bench): New target.
24058 * NEWS: Mention the benchmark framework.
24059 * Rules (bench): Likewise.
24060 (binaries-bench): Generate binaries for functions to
24061 benchmark.
24062 * benchtests/Makefile: New makefile for benchmark tests.
24063 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24064 programs.
24065 * benchtests/exp-inputs: New input file for EXP function.
24066 * benchtests/pow-inputs: New input file for POW function.
24067 * scripts/bench.pl: New script to generate source files for
24068 benchmark programs.
24069
bcda9880
SP
240702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24071
d22ca8cd
SP
24072 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24073 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24074 computations on mantissa. Use macros for rounding and
24075 division.
24076 (denorm): Likewise.
24077 (__dbl_mp): Likewise.
24078 (add_magnitudes): Likewise.
24079 (sub_magnitudes): Likewise.
24080 (__mul): Likewise.
24081 (__sqr): Likewise.
24082 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24083 powers of two in terms of TWOPOW macro.
24084 (mp_no): Make type of mantissa as MANTISSA_T.
24085 [!RADIXI]: Define RADIXI.
24086 [!TWO52]: Define TWO52.
24087 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24088
bcda9880
SP
24089 * manual/nptl.texi (cindex): Modify threads to pthreads.
24090
06d5adfb
JM
240912013-03-15 Joseph Myers <joseph@codesourcery.com>
24092
24093 * sysdeps/x86_64/preconfigure: Regenerated.
24094
41c7328e
JM
240952013-03-14 Joseph Myers <joseph@codesourcery.com>
24096
24097 [BZ #14155]
24098 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24099 0x1p28 and above.
24100 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24101 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24102 0x1p28 and above.
24103 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24104 * math/libm-test.inc (j0_test): Do not allow one spurious
24105 underflow exception.
24106 (y1_test): Likewise.
24107
e25cfa60
SP
241082013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24109
0409959c
SP
24110 * manual/Makefile (chapters): Add nptl.
24111 * manual/debug.texi (Debugging Support): Add link to Threads
24112 chapter.
24113 * manual/nptl.texi: New file.
24114
e25cfa60
SP
24115 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24116
58a1335e
PB
241172013-03-14 Petr Baudis <pasky@ucw.cz>
24118
24119 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24120 for non-NULL pointer before the memory validity test. Pointed
24121 out by Holger Brunck <holger.brunck@keymile.com>.
24122
9dc7c64f
AS
241232013-03-13 Andreas Schwab <schwab@suse.de>
24124
24125 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24126 instead of .os.
24127
54206aa6
JM
241282013-03-13 Joseph Myers <joseph@codesourcery.com>
24129
24130 * timezone/zic.c: Update from tzcode 2013b.
24131
e98cdb38
CD
241322013-03-12 Carlos O'Donell <carlos@redhat.com>
24133
24134 * manual/install.texi (Configuring and compiling):
24135 Mention i686 and i586.
24136 * INSTALL: Regenerate.
24137
9967e003
RM
241382013-03-12 Roland McGrath <roland@hack.frob.com>
24139
24140 * sysdeps/init_array/elf-init.c: New file.
24141 * csu/elf-init.c
24142 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24143 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24144
24145 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24146 __gmon_start__ as global, but as static with a .preinit_array pointer.
24147 * sysdeps/init_array/gmon-start.c: New file. Use that.
24148 * sysdeps/init_array/crti.S: New file, empty except for comments.
24149 * sysdeps/init_array/crtn.S: Likewise.
24150
e6b5a293 241512013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24152
24153 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24154 definining bcopy.
80f844c9
OB
24155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24156 Remove Prefer_SSE_for_memop.
24157 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24158 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24159 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24161 memset-x86-64.
80f844c9 24162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24163 Remove bzero, memset ifunc support.
80f844c9
OB
24164 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24165 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24166 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24167 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24168
fb6b0fcb
AS
241692013-03-11 Andreas Schwab <schwab@suse.de>
24170
24171 [BZ #15234]
24172 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24173 by SHLIB_COMPAT.
24174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24175 (GLIBC_2.16): Remove pthread_atfork.
24176
3e6bd4b1
PP
241772013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24178
24179 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24180 (ptestcases.h): Likewise.
24181
222d7f00
RM
241822013-03-08 Roland McGrath <roland@hack.frob.com>
24183
24184 * Makeconfig ($(common-objpfx)config.status): Depend on
24185 sysdeps/*/preconfigure{,.in} too.
24186
1ba4f030
JM
241872013-03-08 Joseph Myers <joseph@codesourcery.com>
24188
a222d91a
JM
24189 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24190 (__free_hook): Use void * instead of __malloc_ptr_t.
24191 (__malloc_hook): Likewise.
24192 (__realloc_hook): Likewise.
24193 (__memalign_hook): Likewise.
24194 (__after_morecore_hook): Likewise.
24195 * malloc/arena.c (save_malloc_hook): Likewise.
24196 (save_free_hook): Likewise.
24197 * malloc/hooks.c (malloc_hook_ini): Likewise.
24198 (realloc_hook_ini): Likewise.
24199 (memalign_hook_ini): Likewise.
24200 * malloc/malloc.c (malloc_hook_ini): Likewise.
24201 (realloc_hook_ini): Likewise.
24202 (memalign_hook_ini): Likewise.
24203 (__free_hook): Likewise.
24204 (__malloc_hook): Likewise.
24205 (__realloc_hook): Likewise.
24206 (__memalign_hook): Likewise.
24207 (__libc_malloc): Likewise.
24208 (__libc_free): Likewise.
24209 (__libc_realloc): Likewise.
24210 (__libc_memalign): Likewise.
24211 (__libc_valloc): Likewise.
24212 (__libc_pvalloc): Likewise.
24213 (__libc_calloc): Likewise.
24214 (__posix_memalign): Likewise.
24215 * malloc/morecore.c (__sbrk): Likewise.
24216 (__default_morecore): Likewise.
24217
5cc45e10
JM
24218 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24219
dd54b864
JM
24220 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24221 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24222 __malloc_ptrdiff_t.
24223
1ba4f030
JM
24224 * malloc/malloc.h (__malloc_size_t): Remove macro.
24225 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24226 __malloc_size_t.
24227 (old_memalign_hook): Likewise.
24228 (old_realloc_hook): Likewise.
24229 (struct hdr): Likewise.
24230 (flood): Likewise.
24231 (mallochook): Likewise.
24232 (memalignhook): Likewise.
24233 (reallochook): Likewise.
24234 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24235 (tr_old_realloc_hook): Likewise.
24236 (tr_old_memalign_hook): Likewise.
24237 (tr_mallochook): Likewise.
24238 (tr_reallochook): Likewise.
24239 (tr_memalignhook): Likewise.
24240
edf66e57
AZ
242412013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24242
24243 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24244 default_ldbl_pack and using as default implementation.
24245 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24246 implementation.
24247 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24248 redundant definition.
24249 (ldbl_insert_mantissa): Likewise.
24250 (ldbl_canonicalize): Likewise.
24251 (ldbl_nearbyint): Likewise.
24252 (ldbl_pack): Rename to ldbl_pack_ppc.
24253 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24254 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24255 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24256
6d9145d8
SP
242572013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24258
24259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24260 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24261 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24262 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24264 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24265 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24266 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24267
4dd4e157
AJ
242682013-03-07 Andreas Jaeger <aj@suse.de>
24269
24270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24271 bits/mman-linux.h.
24272
adbb8027
SP
242732013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24274
ce544b5b
SP
24275 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24276 Include mpa.h and declare __MPEXP.
24277 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24278 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24279 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24280 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24281 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24282 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24283 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24284
4cc149fd
SP
24285 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24286 (__slowpow): Use long double EXPL and LOGL functions to
24287 compute POW.
24288 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24289 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24290 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24291 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24292 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24293 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24294
e6ebd4a7
SP
24295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24296 intermediate variable to calculate exponent.
24297 (__sqr): Likewise.
24298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24299 Likewise.
24300 (__sqr): Likewise.
24301
82a9811d
SP
24302 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24303 [!NO__SQR]: Define __sqr.
24304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24305 and NO__SQR. Remove all code except __mul and __sqr. Include
24306 sysdeps/ieee754/dbl-64/mpa.c.
24307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24308
adbb8027
SP
24309 [BZ #12723]
24310 * posix/Makefile (tests): Add tst-pathconf.
24311 * posix/tst-pathconf.c: New test case.
24312 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24313 _PC_PIPE_BUF.
24314 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24315
39120df9
PF
243162013-03-06 Patsy Franklin <pfrankli@redhat.com>
24317
24318 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24319
67525cb8
AJ
243202013-03-06 Andreas Jaeger <aj@suse.de>
24321
664a9ce4
AJ
24322 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24323 definition via __MAP_ANONYMOUS.
24324
8e39047d
AJ
24325 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24326 it's not part of Linux headers.
24327
67525cb8
AJ
24328 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24329 (MAP_HUGE_MASK): Define.
24330
24331 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24332 Define.
24333 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24334 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24335 Define.
24336 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24337 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24338 Define.
24339 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24340 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24341 Define.
24342 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24343
24344 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24345 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24346 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24347 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24348 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24349 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24350
24351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24352 Handle f2fs.
24353
24354 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24355 Handle f2fs and efivarfs.
24356
24357 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24358 f2fs.
24359
24360 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24361 (EFIVARFS_MAGIC): Add.
24362 (F2FS_LINK_MAX): Add.
24363
e1b42695
PP
243642013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24365
24366 * stdio-common/vfprintf.c: Replace __builtin_expect with
24367 __glibc_unlikely.
24368
2d67d91a
JM
243692013-03-06 Joseph Myers <joseph@codesourcery.com>
24370
24371 [BZ #13550]
24372 * sysdeps/generic/bp-sym.h: Remove file.
24373 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24374 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24375 <bp-sym.h> and <bp-asm.h>.
24376 (__longjmp): Don't use BP_SYM.
24377 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24378 and <bp-asm.h>.
24379 (memcpy): Don't use BP_SYM.
24380 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24381 <bp-sym.h> and <bp-asm.h>.
24382 (memcpy): Don't use BP_SYM.
24383 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24384 <bp-asm.h>.
24385 (memcpy): Don't use BP_SYM.
24386 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24387 <bp-asm.h>.
24388 (memset): Don't use BP_SYM.
24389 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24390 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24391 (__bzero): Don't use BP_SYM.
24392 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24393 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24394 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24395 <bp-sym.h> and <bp-asm.h>.
24396 (memcmp): Don't use BP_SYM. Remove comment about bounded
24397 pointers.
24398 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24399 <bp-sym.h> and <bp-asm.h>.
24400 (memcpy): Don't use BP_SYM.
24401 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24402 <bp-sym.h> and <bp-asm.h>.
24403 (memset): Don't use BP_SYM.
24404 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24405 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24406 (__bzero): Don't use BP_SYM.
24407 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24408 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24410 <bp-sym.h> and <bp-asm.h>.
24411 (strncmp): Don't use BP_SYM. Remove comment about bounded
24412 pointers.
24413 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24414 <bp-sym.h> and <bp-asm.h>.
24415 (memcpy): Don't use BP_SYM.
24416 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24417 <bp-sym.h> and <bp-asm.h>.
24418 (memset): Don't use BP_SYM.
24419 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24420 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24421 (__bzero): Don't use BP_SYM.
24422 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24423 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24424 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24425 <bp-sym.h> and <bp-asm.h>.
24426 (__memchr): Don't use BP_SYM.
24427 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24428 <bp-sym.h> and <bp-asm.h>.
24429 (memcmp): Don't use BP_SYM. Remove comment about bounded
24430 pointers.
24431 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24432 <bp-sym.h> and <bp-asm.h>.
24433 (memcpy): Don't use BP_SYM.
24434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24435 <bp-sym.h> and <bp-asm.h>.
24436 (__mempcpy): Don't use BP_SYM.
24437 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24438 <bp-sym.h> and <bp-asm.h>.
24439 (__memrchr): Don't use BP_SYM.
24440 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24441 <bp-sym.h> and <bp-asm.h>.
24442 (memset): Don't use BP_SYM.
24443 (__bzero): Likewise.
24444 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24445 <bp-sym.h> and <bp-asm.h>.
24446 (__rawmemchr): Don't use BP_SYM.
24447 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24448 <bp-sym.h> and <bp-asm.h>.
24449 (__STRCMP): Don't use BP_SYM.
24450 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24451 <bp-sym.h> and <bp-asm.h>.
24452 (strchr): Don't use BP_SYM.
24453 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24454 <bp-sym.h> and <bp-asm.h>.
24455 (__strchrnul): Don't use BP_SYM.
24456 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24457 <bp-sym.h> and <bp-asm.h>.
24458 (strlen): Don't use BP_SYM.
24459 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24460 <bp-sym.h> and <bp-asm.h>.
24461 (strncmp): Don't use BP_SYM. Remove comment about bounded
24462 pointers.
24463 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24464 <bp-sym.h> and <bp-asm.h>.
24465 (__strnlen): Don't use BP_SYM.
24466 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24467 <bp-sym.h> and <bp-asm.h>.
24468 (__GI__setjmp): Don't use BP_SYM.
24469 (_setjmp): Likewise.
24470 (__sigsetjmp): Likewise.
24471 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24472 (L(start_addresses)): Don't use BP_SYM.
24473 (_start): Likewise.
24474 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24475 <bp-asm.h>.
24476 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24477 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24478 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24479 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24480 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24481 <bp-asm.h>.
24482 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24483 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24484 about bounded pointers.
24485 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24486 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24487 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24488 <bp-asm.h>.
24489 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24490 about bounded pointers. Remove GKM FIXME comments.
24491 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24492 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24493 <bp-asm.h>.
24494 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24495 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24496 Remove GKM FIXME comments.
24497 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24498 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24499 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24500 <bp-asm.h>.
24501 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24502 about bounded pointers. Remove GKM FIXME comment.
24503 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24504 and <bp-asm.h>.
24505 (strncmp): Don't use BP_SYM. Remove comment about bounded
24506 pointers.
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24508 <bp-sym.h> and <bp-asm.h>.
24509 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24511 <bp-sym.h> and <bp-asm.h>.
24512 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24513 comment.
24514
cdcf361f
PP
245152013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24516
24517 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24518 call free(NULL).
24519
3c4a2b15
DM
245202013-03-05 David S. Miller <davem@davemloft.net>
24521
24522 * po/es.po: Update from translation team.
24523
cdcf361f 245242013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
24525
24526 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24527 <bits/mman-linux.h>.
24528 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24529 is fine.
24530 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24531 <bits/mman-linux.h> to end of file.
24532 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24533 is fine.
24534 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24535 <bits/mman-linux.h> to end of file.
24536 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24537 is fine.
24538 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24539 <bits/mman-linux.h> to end of file.
24540
24541 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24542 (MCL_CURRENT, MCL_FUTURE): Define here.
24543
5f67c04f
AK
245442013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24545
8a4473cc 24546 [BZ #15232]
5f67c04f
AK
24547 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24548 attribute_hidden.
24549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24550
c3e94a95
AK
245512013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24552
24553 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24554 fourth parameter needed for rt_sigprocmask syscall.
24555 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24556 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24557 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24558 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24559 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24560 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24561
cfb6382a
JM
245622013-03-04 Joseph Myers <joseph@codesourcery.com>
24563
24564 [BZ #13550]
24565 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24566 comment about bounded pointers.
24567 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24568 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24569
539d8e01
AJ
245702013-03-04 Andreas Jaeger <aj@suse.de>
24571
24572 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24573 common definitions.
24574
24575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24576 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24577 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24579 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
24580 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24581
2e167a70 245822013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
24583
24584 [BZ #15055]
24585 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24586 __ieee754_sqrl instead of __sqrl.
24587
68508633
JM
245882013-03-01 Joseph Myers <joseph@codesourcery.com>
24589
24590 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24591 * sysdeps/powerpc/fpu_control.h: ... here.
24592 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24593 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24594 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24595 * sysdeps/powerpc/bits/mathinline.h: ... here.
24596
7775448e
RM
245972013-03-01 Roland McGrath <roland@hack.frob.com>
24598
24599 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24600 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24601 to just [NEED_DL_SYSINFO_DSO].
24602 * elf/dl-support.c: Likewise.
24603 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24604 * elf/rtld.c (dl_main): Likewise.
24605 * elf/setup-vdso.h (setup_vdso): Likewise.
24606 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24607 * sysdeps/unix/sysv/linux/dl-sysdep.c
24608 (_dl_discover_osversion): Likewise.
24609
4e9b5995
CD
246102013-03-01 Carlos O'Donell <carlos@redhat.com>
24611
24612 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24613 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24614
e23872c8
SP
246152013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24616
e5c74c63
SP
24617 * NEWS: Mention libm performance improvements and non-x86 PI
24618 futex support.
24619
e23872c8
SP
24620 * csu/libc-start.c (__pthread_initialize_minimal): Change
24621 function arguments.
24622 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24623
b5510883
JM
246242013-02-28 Joseph Myers <joseph@codesourcery.com>
24625
24626 [BZ #13550]
24627 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24628 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24629 <bp-sym.h> and <bp-asm.h>.
24630 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24631 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24632 and <bp-asm.h>.
24633 (memcpy): Don't use BP_SYM.
24634 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24635 <bp-asm.h>.
24636 (__mpn_add_n): Don't use BP_SYM.
24637 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24638 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24639 and <bp-asm.h>.
24640 (__mpn_addmul_1): Don't use BP_SYM.
24641 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24642 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24643 <bp-sym.h>.
24644 (_setjmp): Don't use BP_SYM.
24645 (__novmx_setjmp): Likewise.
24646 (__GI__setjmp): Likewise.
24647 (__vmx_setjmp): Likewise.
24648 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24649 <bp-sym.h>.
24650 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24651 (__bzero): Don't use BP_SYM.
24652 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24653 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24654 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24655 <bp-sym.h> and <bp-asm.h>.
24656 (memcpy): Don't use BP_SYM.
24657 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24658 <bp-sym.h> and <bp-asm.h>.
24659 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24660 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24661 <bp-sym.h> and <bp-asm.h>.
24662 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24663 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24664 <bp-asm.h>.
24665 (__mpn_lshift): Don't use BP_SYM.
24666 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24667 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24668 <bp-asm.h>.
24669 (memset): Don't use BP_SYM.
24670 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24671 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24672 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24673 <bp-asm.h>.
24674 (__mpn_mul_1): Don't use BP_SYM.
24675 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24676 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24677 <bp-sym.h> and <bp-asm.h>.
24678 (memcmp): Don't use BP_SYM.
24679 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24680 <bp-sym.h> and <bp-asm.h>.
24681 (memcpy): Don't use BP_SYM.
24682 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24683 <bp-sym.h> and <bp-asm.h>.
24684 (memset): Don't use BP_SYM.
24685 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24686 <bp-sym.h> and <bp-asm.h>.
24687 (strncmp): Don't use BP_SYM.
24688 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24689 <bp-sym.h> and <bp-asm.h>.
24690 (memcpy): Don't use BP_SYM.
24691 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24692 <bp-sym.h> and <bp-asm.h>.
24693 (memset): Don't use BP_SYM.
24694 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24695 <bp-sym.h> and <bp-asm.h>.
24696 (__memchr): Don't use BP_SYM.
24697 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24698 <bp-sym.h> and <bp-asm.h>.
24699 (memcmp): Don't use BP_SYM.
24700 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24701 <bp-sym.h> and <bp-asm.h>.
24702 (memcpy): Don't use BP_SYM.
24703 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24704 <bp-sym.h> and <bp-asm.h>.
24705 (__mempcpy): Don't use BP_SYM.
24706 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24707 <bp-sym.h> and <bp-asm.h>.
24708 (__memrchr): Don't use BP_SYM.
24709 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24710 <bp-sym.h> and <bp-asm.h>.
24711 (memset): Don't use BP_SYM.
24712 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24713 <bp-sym.h> and <bp-asm.h>.
24714 (__rawmemchr): Don't use BP_SYM.
24715 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24716 <bp-sym.h> and <bp-asm.h>.
24717 (__STRCMP): Don't use BP_SYM.
24718 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24719 <bp-sym.h> and <bp-asm.h>.
24720 (strchr): Don't use BP_SYM.
24721 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24722 <bp-sym.h> and <bp-asm.h>.
24723 (__strchrnul): Don't use BP_SYM.
24724 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24725 <bp-sym.h> and <bp-asm.h>.
24726 (strlen): Don't use BP_SYM.
24727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24728 <bp-sym.h> and <bp-asm.h>.
24729 (strncmp): Don't use BP_SYM.
24730 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24731 <bp-sym.h> and <bp-asm.h>.
24732 (__strnlen): Don't use BP_SYM.
24733 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24734 <bp-asm.h>.
24735 (__mpn_rshift): Don't use BP_SYM.
24736 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24737 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24738 <bp-sym.h> and <bp-asm.h>.
24739 (__sigsetjmp): Don't use BP_SYM.
24740 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24741 (L(start_addresses)): Don't use BP_SYM.
24742 (_start): Likewise.
24743 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24744 <bp-asm.h>.
24745 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24746 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24747 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24748 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24749 <bp-asm.h>.
24750 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24751 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24752 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24753 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24754 <bp-asm.h>.
24755 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24756 comments.
24757 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24758 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24759 <bp-asm.h>.
24760 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24761 FIXME comments.
24762 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24763 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24764 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24765 <bp-asm.h>.
24766 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24767 comment.
24768 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24769 and <bp-asm.h>.
24770 (strncmp): Don't use BP_SYM,
24771 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24772 <bp-asm.h>.
24773 (__mpn_sub_n): Don't use BP_SYM.
24774 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24775 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24776 and <bp-asm.h>.
24777 (__mpn_submul_1): Don't use BP_SYM.
24778 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24780 <bp-sym.h> and <bp-asm.h>.
24781 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24783 <bp-sym.h> and <bp-asm.h>.
24784 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24785 comment.
24786
8d19fe64
SP
247872013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24788
24789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24790 Use ZK to minimize writes to Z.
24791 (sub_magnitudes): Simplify code a bit.
24792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24793 Use ZK to minimize writes to Z.
24794 (sub_magnitudes): Simplify code a bit.
24795
85bd816a
RM
247962013-02-27 Roland McGrath <roland@hack.frob.com>
24797
24798 * csu/gmon-start.c: Add special exception to license text.
24799
b5977bf2
RH
248002013-02-27 Richard Henderson <rth@redhat.com>
24801
24802 * scripts/config.guess: Update from config.git.
24803 * scripts/config.sub: Likewise.
24804
11d6e2f2
SP
248052013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24806
09c14ed2
SP
24807 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24808
a688864e
SP
24809 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24810
6295157a
SP
24811 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24812
b8de2202
SP
24813 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24814
11d6e2f2
SP
24815 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24816
7e80ddb8
RM
248172013-02-26 Roland McGrath <roland@hack.frob.com>
24818
24819 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24820 [$(build-shared = yes].
7e80ddb8 24821
7da6d9ed
SP
248222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24823
45f05884
SP
24824 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24825 (__mul): Reduce iterations for calculating mantissa.
24826
2236d359
SP
24827 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24828 MPTWO.
24829 (__mpranred): Likewise.
24830
7da6d9ed
SP
24831 [BZ #15160]
24832 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24833 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24834
b7688c42
PE
248352013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24836
24837 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24838 Define __attribute__.
24839
53a5c423
SP
248402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24841
24842 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24843 unused.
24844 * posix/regex_internal.h (__attribute): Remove.
24845 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24846 (re_string_context_at): Likewise.
24847 (bitset_not): Use __attribute__ and mark function as possibly
24848 unused.
24849 (bitset_merge): Likewise.
24850 (bitset_mask): Likewise.
24851 (re_string_char_size_at): Likewise.
24852 (re_string_wchar_at): Likewise.
24853 (re_string_elem_size_at): Likewise.
24854
60f5a8b5
SP
248552013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24856
2a983a2e
SP
24857 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24858 code.
24859 (cc32): Likewise.
24860
e69804d1
SP
24861 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24862 (__acr): Likewise.
24863 (__cpy): Likewise.
24864 (norm): Likewise.
24865 (denorm): Likewise.
24866 (__dbl_mp): Likewise.
24867 (add_magnitudes): Likewise.
24868 (sub_magnitudes): Likewise.
24869 (__mul): Likewise.
24870 (__inv): Likewise.
24871
2f22a1e8
SP
24872 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24873 style.
24874
8930ddc7
SP
24875 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24876 style.
24877
dc60cb11
SP
24878 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24879 code.
24880
60f5a8b5
SP
24881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24882 up changes with default code.
24883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24884 Likewise.
24885
b4d1fd33
AM
248862013-02-24 Allan McRae <allan@archlinux.org>
24887
faf6f8bc
AM
24888 * manual/socket.texi (The Internet Namespace): Order menu items
24889 to match that in the file.
24890
b4d1fd33
AM
24891 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24892 node listing of the info page menu.
24893
2366713d
JM
248942013-02-21 Joseph Myers <joseph@codesourcery.com>
24895
24896 [BZ #13550]
24897 * sysdeps/i386/bp-asm.h: Remove file.
24898 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24899 (PARMS): Do not use macros from bp-asm.h.
24900 (S1): Likewise.
24901 (S2): Likewise.
24902 (SIZE): Likewise.
24903 (__mpn_add_n): Do not use BP_SYM
24904 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24905 "bp-asm.h".
24906 (PARMS): Do not use macros from bp-asm.h.
24907 (S1): Likewise.
24908 (SIZE): Likewise.
24909 (__mpn_addmul_1): Do not use BP_SYM
24910 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24911 "bp-asm.h".
24912 (PARMS): Do not use macros from bp-asm.h.
24913 (SIGMSK): Likewise.
24914 (_setjmp): Likewise. Do not use BP_SYM.
24915 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24916 "bp-asm.h".
24917 (PARMS): Do not use macros from bp-asm.h.
24918 (SIGMSK): Likewise.
24919 (setjmp): Likewise. Do not use BP_SYM.
24920 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24921 "bp-asm.h".
24922 (PARMS): Do not use macros from bp-asm.h.
24923 (__frexp): Do not use BP_SYM.
24924 (frexp): Likewise.
24925 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24926 "bp-asm.h".
24927 (PARMS): Do not use macros from bp-asm.h.
24928 (__frexpf): Do not use BP_SYM.
24929 (frexpf): Likewise.
24930 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24931 "bp-asm.h".
24932 (PARMS): Do not use macros from bp-asm.h.
24933 (__frexpl): Do not use BP_SYM.
24934 (frexpl): Likewise.
24935 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24936 "bp-asm.h".
24937 (PARMS): Do not use macros from bp-asm.h.
24938 (__remquo): Do not use BP_SYM.
24939 (remquo): Likewise.
24940 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24941 "bp-asm.h".
24942 (PARMS): Do not use macros from bp-asm.h.
24943 (__remquof): Do not use BP_SYM.
24944 (remquof): Likewise.
24945 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24946 "bp-asm.h".
24947 (PARMS): Do not use macros from bp-asm.h.
24948 (__remquol): Do not use BP_SYM.
24949 (remquol): Likewise.
24950 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24951 "bp-asm.h".
24952 (PARMS): Do not use macros from bp-asm.h.
24953 (DEST): Likewise.
24954 (SRC): Likewise.
24955 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24956 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24957 "bp-asm.h".
24958 (PARMS): Do not use macros from bp-asm.h.
24959 (strlen): Do not use BP_SYM.
24960 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24961 "bp-asm.h".
24962 (PARMS): Do not use macros from bp-asm.h.
24963 (S1): Likewise.
24964 (S2): Likewise.
24965 (SIZE): Likewise.
24966 (__mpn_add_n): Do not use BP_SYM.
24967 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24968 "bp-asm.h".
24969 (PARMS): Do not use macros from bp-asm.h.
24970 (S1): Likewise.
24971 (SIZE): Likewise.
24972 (__mpn_addmul_1): Do not use BP_SYM.
24973 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24974 weak_alias.
24975 (bzero): Likewise.
24976 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24977 "bp-asm.h".
24978 (PARMS): Do not use macros from bp-asm.h.
24979 (S): Likewise.
24980 (SIZE): Likewise.
24981 (__mpn_lshift): Do not use BP_SYM.
24982 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24983 "bp-asm.h".
24984 (PARMS): Do not use macros from bp-asm.h.
24985 (DEST): Likewise.
24986 (SRC): Likewise.
24987 (LEN): Likewise.
24988 (memcpy): Likewise. Do not use BP_SYM.
24989 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24990 libc_hidden_def and weak_alias.
24991 (mempcpy): Do not use BP_SYM in weak_alias.
24992 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24993 "bp-asm.h".
24994 (PARMS): Do not use macros from bp-asm.h.
24995 (DEST): Likewise.
24996 (LEN): Likewise.
24997 [!BZERO_P] (CHR): Likewise.
24998 (memset): Likewise. Do not use BP_SYM.
24999 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25000 "bp-asm.h".
25001 (PARMS): Do not use macros from bp-asm.h.
25002 (S1): Likewise.
25003 (SIZE): Likewise.
25004 (__mpn_mul_1): Do not use BP_SYM.
25005 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25006 "bp-asm.h".
25007 (PARMS): Do not use macros from bp-asm.h.
25008 (S): Likewise.
25009 (SIZE): Likewise.
25010 (__mpn_rshift): Do not use BP_SYM.
25011 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25012 "bp-asm.h".
25013 (PARMS): Do not use macros from bp-asm.h.
25014 (STR): Likewise.
25015 (CHR): Likewise.
25016 (strchr): Likewise. Do not use BP_SYM.
25017 (index): Do not use BP_SYM in weak_alias.
25018 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25019 "bp-asm.h".
25020 (PARMS): Do not use macros from bp-asm.h.
25021 (DEST): Likewise.
25022 (SRC): Likewise.
25023 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25024 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25025 "bp-asm.h".
25026 (PARMS): Do not use macros from bp-asm.h.
25027 (strlen): Do not use BP_SYM.
25028 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25029 "bp-asm.h".
25030 (PARMS): Do not use macros from bp-asm.h.
25031 (S1): Likewise.
25032 (S2): Likewise.
25033 (SIZE): Likewise.
25034 (__mpn_sub_n): Do not use BP_SYM.
25035 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25036 "bp-asm.h".
25037 (PARMS): Do not use macros from bp-asm.h.
25038 (S1): Likewise.
25039 (SIZE): Likewise.
25040 (__mpn_submul_1): Do not use BP_SYM.
25041 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25042 "bp-asm.h".
25043 (PARMS): Do not use macros from bp-asm.h.
25044 (S1): Likewise.
25045 (S2): Likewise.
25046 (SIZE): Likewise.
25047 (__mpn_add_n): Do not use BP_SYM.
25048 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25049 weak_alias.
25050 (bzero): Likewise.
25051 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25052 "bp-asm.h".
25053 (PARMS): Do not use macros from bp-asm.h.
25054 (BLK2): Likewise.
25055 (LEN): Likewise.
25056 (memcmp): Do not use BP_SYM.
25057 (bcmp): Do not use BP_SYM in weak_alias.
25058 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25059 "bp-asm.h".
25060 (PARMS): Do not use macros from bp-asm.h.
25061 (DEST): Likewise.
25062 (SRC): Likewise.
25063 (LEN): Likewise.
25064 (memcpy): Likewise. Do not use BP_SYM.
25065 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25066 "bp-asm.h".
25067 (PARMS): Do not use macros from bp-asm.h.
25068 (DEST): Likewise.
25069 (SRC): Likewise.
25070 (LEN): Likewise.
25071 (memmove): Likewise. Do not use BP_SYM.
25072 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25073 "bp-asm.h".
25074 (PARMS): Do not use macros from bp-asm.h.
25075 (DEST): Likewise.
25076 (SRC): Likewise.
25077 (LEN): Likewise.
25078 (__mempcpy): Likewise. Do not use BP_SYM.
25079 (mempcpy): Do not use BP_SYM in weak_alias.
25080 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25081 "bp-asm.h".
25082 (PARMS): Do not use macros from bp-asm.h.
25083 (DEST): Likewise.
25084 (LEN): Likewise.
25085 [!BZERO_P] (CHR): Likewise.
25086 (memset): Likewise. Do not use BP_SYM.
25087 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25088 "bp-asm.h".
25089 (PARMS): Do not use macros from bp-asm.h.
25090 (STR2): Likewise.
25091 (strcmp): Do not use BP_SYM.
25092 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25093 "bp-asm.h".
25094 (PARMS): Do not use macros from bp-asm.h.
25095 (STR): Likewise.
25096 (DELIM): Likewise.
25097 [USE_AS_STRTOK_R] (SAVE): Likewise.
25098 (FUNCTION): Likewise. Do not use BP_SYM.
25099 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25100 aliases.
25101 (strtok_r): Likewise.
25102 (__GI___strtok_r): Likewise.
25103 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25104 (PARMS): Do not use macros from bp-asm.h.
25105 (S): Likewise.
25106 (SIZE): Likewise.
25107 (__mpn_lshift): Do not use BP_SYM.
25108 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25109 (PARMS): Do not use macros from bp-asm.h.
25110 (STR): Likewise.
25111 (CHR): Likewise.
25112 (__memchr): Do not use BP_SYM.
25113 (memchr): Do not use BP_SYM in weak_alias.
25114 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25115 (PARMS): Do not use macros from bp-asm.h.
25116 (BLK2): Likewise.
25117 (LEN): Likewise.
25118 (memcmp): Do not use BP_SYM.
25119 (bcmp): Do not use BP_SYM in weak_alias.
25120 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25121 (PARMS): Do not use macros from bp-asm.h.
25122 (S1): Likewise.
25123 (SIZE): Likewise.
25124 (__mpn_mul_1): Do not use BP_SYM.
25125 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25126 "bp-asm.h".
25127 (PARMS): Do not use macros from bp-asm.h.
25128 (STR): Likewise.
25129 (CHR): Likewise.
25130 (__rawmemchr): Do not use BP_SYM.
25131 (rawmemchr): Do not use BP_SYM in weak_alias.
25132 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25133 (PARMS): Do not use macros from bp-asm.h.
25134 (S): Likewise.
25135 (SIZE): Likewise.
25136 (__mpn_rshift): Do not use BP_SYM.
25137 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25138 (PARMS): Do not use macros from bp-asm.h.
25139 (SIGMSK): Likewise.
25140 (__sigsetjmp): Likewise. Do not use BP_SYM.
25141 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25142 (_start): Do not use BP_SYM.
25143 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25144 (PARMS): Do not use macros from bp-asm.h.
25145 (DEST): Likewise.
25146 (SRC): Likewise.
25147 (__stpcpy): Likewise. Do not use BP_SYM.
25148 (stpcpy): Do not use BP_SYM in weak_alias.
25149 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25150 "bp-asm.h".
25151 (PARMS): Do not use macros from bp-asm.h.
25152 (DEST): Likewise.
25153 (SRC): Likewise.
25154 (LEN): Likewise.
25155 (__stpncpy): Likewise. Do not use BP_SYM.
25156 (stpncpy): Do not use BP_SYM in weak_alias.
25157 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25158 (PARMS): Do not use macros from bp-asm.h.
25159 (STR): Likewise.
25160 (CHR): Likewise.
25161 (strchr): Likewise. Do not use BP_SYM.
25162 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25163 "bp-asm.h".
25164 (PARMS): Do not use macros from bp-asm.h.
25165 (STR): Likewise.
25166 (CHR): Likewise.
25167 (__strchrnul): Likewise. Do not use BP_SYM.
25168 (strchrnul): Do not use BP_SYM in weak_alias.
25169 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25170 "bp-asm.h".
25171 (PARMS): Do not use macros from bp-asm.h.
25172 (STOP): Likewise.
25173 (strcspn): Do not use BP_SYM.
25174 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25175 "bp-asm.h".
25176 (PARMS): Do not use macros from bp-asm.h.
25177 (STR): Likewise.
25178 (STOP): Likewise.
25179 (strpbrk): Likewise. Do not use BP_SYM.
25180 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25181 "bp-asm.h".
25182 (PARMS): Do not use macros from bp-asm.h.
25183 (STR): Likewise.
25184 (CHR): Likewise.
25185 (strrchr): Likewise. Do not use BP_SYM.
25186 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25187 (PARMS): Do not use macros from bp-asm.h.
25188 (SKIP): Likewise.
25189 (strspn): Do not use BP_SYM.
25190 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25191 (PARMS): Do not use macros from bp-asm.h.
25192 (STR): Likewise.
25193 (DELIM): Likewise.
25194 (SAVE): Likewise.
25195 (FUNCTION): Likewise. Do not use BP_SYM.
25196 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25197 aliases.
25198 (strtok_r): Likewise.
25199 (__GI___strtok_r): Likewise.
25200 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25201 (PARMS): Do not use macros from bp-asm.h.
25202 (S1): Likewise.
25203 (S2): Likewise.
25204 (SIZE): Likewise.
25205 (__mpn_sub_n): Do not use BP_SYM.
25206 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25207 "bp-asm.h".
25208 (PARMS): Do not use macros from bp-asm.h.
25209 (S1): Likewise.
25210 (SIZE): Likewise.
25211 (__mpn_submul_1): Do not use BP_SYM.
25212 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25213 <bp-sym.h>.
25214 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25215 and <bp-asm.h>.
25216 (PARMS): Do not use macros from bp-asm.h.
25217 (FLAGS): Likewise.
25218 (PTID): Likewise.
25219 (TLS): Likewise.
25220 (CTID): Likewise.
25221 (__clone): Do not use BP_SYM.
25222 (clone): Do not use BP_SYM in weak_alias.
25223 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25224 and <bp-asm.h>.
25225 (PARMS): Do not use macros from bp-asm.h.
25226 (LEN): Likewise.
25227 (__mmap64): Do not use BP_SYM.
25228 (mmap64): Do not use BP_SYM in weak_alias.
25229 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25230 <bp-sym.h> and <bp-asm.h>.
25231 (PARMS): Do not use macros from bp-asm.h.
25232 (__posix_fadvise64_l64): Do not use BP_SYM.
25233 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25234 (PARMS): Do not use macros from bp-asm.h.
25235 (NSOPS): Likewise.
25236 (semtimedop): Do not use BP_SYM.
25237 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25238 and <bp-asm.h>.
25239
582a3cff
AM
252402013-02-21 Allan McRae <allan@archlinux.org>
25241
25242 * manual/message.texi (Charset conversion in gettext):
25243 Move @end statement to beginning of line.
25244
bab8a695
SP
252452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25246
80945231
SP
25247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25248 static.
25249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25250 Likewise.
25251
bab8a695
SP
25252 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25253 (denorm): Likewise.
25254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25256
e21d7aa7
AK
252572013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25258
25259 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25260 tail-call to the resolved function if pltexit isn't needed.
25261
4c7a4263
SP
252622013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25263
25264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25265 or Y being zero as being unlikely.
25266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25267 Likewise.
25268
41f49342
CD
252692013-02-20 Carlos O'Donell <carlos@redhat.com>
25270
25271 * manual/nss.texi (System Databases and Name Service Switch):
25272 Remove frobnicate @pxref.
25273
50022a93
TS
252742013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25275
25276 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25277 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25278
08cbd996
PM
252792013-02-20 Petr Machata <pmachata@redhat.com>
25280
25281 * elf/elf.h (R_ARM_TARGET1): New macro.
25282 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25283 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25284 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25285 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25286 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25287 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25288 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25289 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25290 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25291 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25292 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25293 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25294 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25295 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25296 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25297 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25298 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25299 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25300 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25301 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25302 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25303 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25304 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25305 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25306 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25307 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25308 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25309 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25310 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25311 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25312 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25313 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25314 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25315 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25316 (R_ARM_THM_GOT_BREL12): Likewise.
25317 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25318 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25319 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25320 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25321 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25322 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25323 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25324 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25325 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25326
c7b275d6
TS
253272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25328
25329 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25330 __attribute_used__ to __attribute__ ((unused)).
25331
20cd7fb3
SP
253322013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25333
25334 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25335 powerpc mpa.c.
25336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25337 comment formatting.
25338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25339
92945b52
JM
253402013-02-19 Joseph Myers <joseph@codesourcery.com>
25341
25342 [BZ #13550]
25343 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25344 Remove macro.
25345 (ENTER): Remove both macro definitions.
25346 (LEAVE): Likewise.
25347 (CHECK_BOUNDS_LOW): Likewise.
25348 (CHECK_BOUNDS_HIGH): Likewise.
25349 (CHECK_BOUNDS_BOTH): Likewise.
25350 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25351 (RETURN_BOUNDED_POINTER): Likewise.
25352 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25353 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25354 (POP_ERRNO_LOCATION_RETURN): Likewise.
25355 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25356 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25357 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25358 macros.
25359 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25360 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25361 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25362 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25363 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25364 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25365 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25366 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25367 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25368 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25369 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25370 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25371 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25372 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25373 removed macros.
25374 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25375 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25376 macros.
25377 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25378 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25379 * sysdeps/i386/i586/memset.S (memset): Likewise.
25380 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25381 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25382 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25383 macros.
25384 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25385 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25386 Change uses of L(2) to L(out).
25387 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25388 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25389 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25390 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25391 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25392 removed macros.
25393 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25394 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25395 macros.
25396 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25397 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25398 (RETURN): Do not use macro LEAVE.
25399 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25400 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25401 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25402 * sysdeps/i386/i686/memset.S (memset): Likewise.
25403 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25404 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25405 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25406 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25407 Likewise.
25408 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25409 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25410 L(1_2) and L(1_3) into L(1).
25411 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25412 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25413 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25414 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25415 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25416 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25417 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25418 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25419 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25420 macros.
25421 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25422 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25423 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25424 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25425 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25426 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25427 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25428 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25429 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25430 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25431 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25432 * sysdeps/i386/strspn.S (strspn): Likewise.
25433 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25434 conditional code.
25435 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25436 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25437 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25438 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25439 L(1_3) into L(1_1).
25440 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25441 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25442 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25443 macros.
25444 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25445
2389741a
JJ
254462013-02-19 Jakub Jelinek <jakub@redhat.com>
25447
25448 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25449 macro.
25450
2016b3cd
SP
254512013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25452
e4f22324
SP
25453 * math/atest-exp.c (exp_mpn): Remove ROUND.
25454 * math/atest-exp2.c (exp_mpn): Likewise.
25455 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25456
2016b3cd
SP
25457 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25458 * stdlib/tst-tls-atexit-lib.c: Likewise.
25459 * stdlib/tst-tls-atexit.c: Likewise.
25460
4be9b544
MF
254612013-02-18 Mike Frysinger <vapier@gentoo.org>
25462
25463 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25464 and __attribute_alloc_size__.
25465
2f62b9ee
MF
254662013-02-18 Mike Frysinger <vapier@gentoo.org>
25467
25468 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25469 __attribute_alloc_size__.
25470 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25471 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25472
6ff444c4
MF
254732013-02-18 Mike Frysinger <vapier@gentoo.org>
25474
25475 * include/programs/xmalloc.h: New file.
25476 * catgets/gencat.c: Include it.
25477 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25478 * elf/pldd.c: Likewise.
25479 * iconv/iconv_charmap.c: Likewise.
25480 * iconv/iconvconfig.c: Likewise.
25481 * iconv/strtab.c: Likewise.
25482 * locale/programs/locale.c: Likewise.
25483 * locale/programs/localedef.h: Likewise.
25484 * locale/programs/simple-hash.c: Likewise.
25485 * nscd/nscd.h: Likewise.
25486 * nss/makedb.c: Likewise.
25487 * sysdeps/generic/ldconfig.h: Likewise.
25488
be179c8a
SP
254892013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25490
ba384f6e
SP
25491 * Versions.def: Add GLIBC_2.18.
25492 * include/link.h (struct link_map): New member l_tls_dtor_count.
25493 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25494 (__call_tls_dtors): Likewise.
25495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25496 __cxa_thread_atexit_impl.
25497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25498 Likewise.
25499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25500 Likewise.
25501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25502 Likewise.
25503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25504 Likewise.
25505 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25507 Likewise.
25508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25509 Likewise.
25510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25512 Likewise.
25513 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25514 (tests): Add test case tst-tls-atexit.
25515 (modules-names): Add shared library for tst-tls-atexit.
85891aca 25516 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
25517 (GLIBC_PRIVATE): Add __call_tls_dtors.
25518 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25519 for libstdc++.
25520 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25521 * stdlib/tst-tls-atexit.c: New test case.
25522 * stdlib/tst-tls-atexit-lib.c: New test case.
25523
ffaa74cf 25524 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 25525
be179c8a
SP
25526 * elf/Versions (ld): Add _dl_find_dso_for_object.
25527 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25528 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25529 (dl_open_worker): Use _dl_find_dso_for_object.
25530 * elf/dl-sym.c (do_sym): Likewise.
25531 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25532
f78b5caa
AK
255332013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25534
25535 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25536 Syntactic changes only.
25537 (_dl_runtime_profile): Do a tail-call to the resolved function.
25538
29691210
JM
255392013-02-17 Joseph Myers <joseph@codesourcery.com>
25540
25541 [BZ #13550]
25542 * sysdeps/x86_64/bp-asm.h: Remove file.
25543 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25544 <bp-sym.h> and <bp-asm.h>.
25545 (__clone): Do not use BP_SYM.
25546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25547 <bp-sym.h> and <bp-asm.h>.
25548 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25549 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25550 "bp-asm.h".
25551 (_setjmp): Do not use BP_SYM.
25552 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25553 "bp-asm.h".
25554 (setjmp): Do not use BP_SYM.
25555 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25556 libc_hidden_def.
25557 (mempcpy): Do not use BP_SYM in weak_alias.
25558 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25559 "bp-asm.h".
25560 (strchr): Do not use BP_SYM.
25561 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25562 "bp-asm.h".
25563 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25564 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25565 (_start): Do not use BP_SYM.
25566 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25567 "bp-asm.h".
25568 (strcat): Do not use BP_SYM.
25569 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25570 "bp-asm.h".
25571 (STRCMP): Do not use BP_SYM.
25572 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25573 "bp-asm.h".
25574 (STRCPY): Do not use BP_SYM.
25575 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25576 "bp-asm.h".
25577 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25578 "bp-asm.h".
25579 (FUNCTION): Do not use BP_SYM.
25580 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25581 weak_alias.
25582 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25583
f238fd19
AJ
255842013-02-17 Andreas Jaeger <aj@suse.de>
25585
25586 * time/Versions: Sort entries.
25587 * string/Versions: Likewise.
25588 * resolv/Versions: Likewise.
25589 * posix/Versions: Likewise.
25590 * iconv/Versions: Likewise.
25591 * elf/Versions: Likewise.
25592 * wcsmbs/Versions: Likewise.
25593
bd07f23c 255942013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 25595
22af19f9
SP
25596 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25597 loop termination condition.
25598
4709fe76
SP
25599 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25600 variable to calculate EZ.
25601 (__sqr): Likewise.
2d0e0f29
SP
25602
25603 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25604 the lower precision input.
25605
daaa7713
JM
256062013-02-15 Joseph Myers <joseph@codesourcery.com>
25607
25608 [BZ #13550]
25609 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25610 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25611 (run-via-rtld-prefix): Do not handle %-bp tests.
25612 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25613 (all-object-suffixes): Remove .ob.
25614 (bppfx): Remove variable.
25615 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25616 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25617 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25618 [$(build-bounded) = yes] (libtype.ob): Likewise.
25619 * Makerules (elide-routines.ob): Remove variable.
25620 (do-tests-clean): Do not handle *-bp.out.
25621 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25622 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25623 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25624 (tests): Do not include $(tests-bp.out).
25625 (xtests): Do not include $(xtests-bp.out).
25626 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25627 [$(build-bounded) = yes] ($(addprefix
25628 $(objpfx),$(binaries-bounded))): Remove rule.
25629 ($(objpfx)%-bp.out): Remove rule.
25630 * config.make.in (build-bounded): Remove variable.
25631 * crypt/Makefile [$(build-bounded) = yes]
25632 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25633 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25634 append to variable.
25635 [$(build-bounded) = yes] (install-lib): Likewise.
25636 [$(build-bounded) = yes] (generated): Likewise.
25637 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25638 Remove rule.
25639 * intl/Makefile [$(build-bounded) = yes]
25640 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25641 * math/Makefile [$(build-bounded) = yes]
25642 ($(tests:%=$(objpfx)%-bp): Likewise.
25643 * misc/Makefile [$(build-bounded) = yes]
25644 ($(objpfx)tst-tsearch-bp): Likewise.
25645 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25646 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25647 Remove dependency.
25648 * string/Makefile (o-objects.ob): Remove variable.
25649 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25650 (CFLAGS-.ob): Remove variable.
25651 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25652 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25653 both definitions of variable.
25654 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25655 (ASFLAGS-.ob): Remove variable.
25656
e97ed6dd
JM
256572013-02-14 Joseph Myers <joseph@codesourcery.com>
25658
2bdd4ca6
JM
25659 [BZ #13550]
25660 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25661 Remove __BOUNDED_POINTERS__ from condition.
25662 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25663 * string/bits/string2.h [!__NO_STRING_INLINES &&
25664 !__BOUNDED_POINTERS__]: Likewise.
25665 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25666 Likewise.
25667 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25668 Remove conditional code.
25669 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25670 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25671 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25672 condition.
25673
e97ed6dd
JM
25674 [BZ #13550]
25675 * csu/libc-start.c: Do not include <bp-sym.h>.
25676 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25677 * elf/dl-open.c: Do not include <bp-sym.h>.
25678 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25679 * math/fegetenv.c: Do not include <bp-sym.h>.
25680 (fegetenv): Do not use BP_SYM in versioned symbols.
25681 * nptl/sysdeps/pthread/bits/libc-lockP.h
25682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25683 <bp-sym.h>.
25684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25685 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25687 (__pthread_mutex_destroy): Likewise.
25688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25689 (__pthread_mutex_lock): Likewise.
25690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25691 (__pthread_mutex_trylock): Likewise.
25692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25693 (__pthread_mutex_unlock): Likewise.
25694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25695 (__pthread_mutexattr_init): Likewise.
25696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25697 (__pthread_mutexattr_destroy): Likewise.
25698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25699 (__pthread_mutexattr_settype): Likewise.
25700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25701 (__pthread_rwlock_init): Likewise.
25702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25703 (__pthread_rwlock_destroy): Likewise.
25704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25705 (__pthread_rwlock_rdlock): Likewise.
25706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25707 (__pthread_rwlock_tryrdlock): Likewise.
25708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25709 (__pthread_rwlock_wrlock): Likewise.
25710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25711 (__pthread_rwlock_trywrlock): Likewise.
25712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25713 (__pthread_rwlock_unlock): Likewise.
25714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25715 (__pthread_key_create): Likewise.
25716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25717 (__pthread_setspecific): Likewise.
25718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25719 (__pthread_getspecific): Likewise.
25720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25721 Likewise.
25722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25723 (_pthread_cleanup_push_defer): Likewise.
25724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25725 (_pthread_cleanup_pop_restore): Likewise.
25726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25727 (pthread_setcancelstate): Likewise.
25728 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25729 <bp-sym.h>.
25730 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25731 (memchr): Do not use BP_SYM in weak_alias.
25732 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25733 (fegetenv): Do not use BP_SYM in versioned symbols.
25734 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25735 (fesetenv): Do not use BP_SYM in versioned symbols.
25736 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25737 (feupdateenv): Do not use BP_SYM in versioned symbols.
25738 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25739 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25740 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25741 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25742 (open64): Do not use BP_SYM in weak_alias.
25743 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25744 (fegetenv): Do not use BP_SYM in versioned symbols.
25745 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25746 (fesetenv): Do not use BP_SYM in versioned symbols.
25747 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25748 (feupdateenv): Do not use BP_SYM in versioned symbols.
25749 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25750 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25751 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25752 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25753 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25754 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25755 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25756 <bp-sym.h>.
25757 (__libc_start_main): Do not use BP_SYM.
25758
d6752ccd
SP
257592013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25760
cb57ce60
SP
25761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25762 redundant return line.
25763 (norm): Likewise.
25764 (denorm): Likewise.
25765 (dbl_mp): Likewise.
25766 (sub_magnitudes): Likewise.
25767 (__add): Likewise.
25768 (__sub): Likewise.
25769 (__mul): Likewise.
25770 (__inv): Likewise.
25771 (__dvd): Likewise.
25772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25773 (norm): Likewise.
25774 (denorm): Likewise.
25775 (dbl_mp): Likewise.
25776 (sub_magnitudes): Likewise.
25777 (__add): Likewise.
25778 (__sub): Likewise.
25779 (__mul): Likewise.
25780 (__inv): Likewise.
25781 (__dvd): Likewise.
25782
f414520d
SP
25783 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25784 instead of __mul.
25785 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25786 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25787 (cc32): Likewise.
25788
d6752ccd
SP
25789 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25790 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25792 of __mul for squares.
25793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25794 function
25795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25796 Likewise.
25797 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25798 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25799
70d9946a
JM
258002013-02-13 Joseph Myers <joseph@codesourcery.com>
25801
25802 [BZ #13550]
25803 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25804 code.
25805 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25806 prototype or function definition. Rename ubp_* variables and
25807 parameters. Remove argv definitions conditional on
25808 [__BOUNDED_POINTERS__].
25809 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25810 * elf/dl-runtime.c (_dl_fixup): Likewise.
25811 * include/set-hooks.h (RUN_HOOK): Likewise.
25812 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25813 definition.
25814 * string/strcpy.c (strcpy): Do not use __unbounded.
25815 * sysdeps/generic/frame.h (struct layout): Likewise.
25816 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25817 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25818 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25819 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25820 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25821 (__backtrace): Likewise.
25822 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25823 use __ptrvalue.
25824 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25825 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25826 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25827 Likewise.
25828 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25829 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25830 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25831 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25832 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25833 Do not use __unbounded.
25834 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25835 Rename __unboundedrlimits parameter to rlimits in prototype.
25836 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25837 Do not use __unbounded.
25838 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25839 not use __ptrvalue.
25840 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25841 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25842 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25843 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25844 __ptrvalue or __unbounded.
25845 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25846 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25847 use __unbounded.
25848 (__new_msgctl): Do not use __ptrvalue.
25849 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25850 __unbounded.
25851 (__libc_msgrcv): Do not use __ptrvalue.
25852 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25853 startup_info): Do not use __unbounded.
25854 (__libc_start_main): Likewise. Rename ubp_* variables and
25855 parameters. Remove argv definitions conditional on
25856 [__BOUNDED_POINTERS__].
25857 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25858 __ptrvalue.
25859 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25860 use __unbounded.
25861 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25862 or __ptrvalue.
25863 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25864 use __unbounded.
25865 (__new_shmctl): Do not use __ptrvalue.
25866 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25867 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25868 Likewise.
25869 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25870 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25871 (__libc_sigaction): Likewise.
25872 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25873 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25874 Likewise.
25875 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25876
cc7834d6
OB
258772013-02-13 Ondřej Bílka <neleai@seznam.cz>
25878
ffb1ec7b 25879 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
25880
25881 * string/mempcpy.c: Implement by calling memcpy.
25882
bdf02814
SP
258832013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25884
c2af38aa
SP
25885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25886
4e92d59e
SP
25887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25888 evaluation.
25889
909279a5
SP
25890 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25891 values in the mantissa.
25892
bdf02814
SP
25893 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25894 minimize writes to Z.
25895 (sub_magnitudes): Simplify code a bit.
25896
cd525923
RM
258972013-02-12 Roland McGrath <roland@hack.frob.com>
25898
25899 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25900 from the message. The linker prefixes all warnings with that already.
25901
7e2f0d2d
AS
259022013-02-12 Andreas Schwab <schwab@suse.de>
25903
a445af0b
AS
25904 [BZ #15078]
25905 * posix/regexec.c (extend_buffers): Add parameter min_len.
25906 (check_matching): Pass minimum needed length.
25907 (clean_state_log_if_needed): Likewise.
25908 (get_subexp): Likewise.
25909 * posix/Makefile (tests): Add bug-regex34.
25910 (bug-regex34-ENV): Define.
25911 * posix/bug-regex34.c: New file.
25912
7e2f0d2d
AS
25913 [BZ #11561]
25914 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25915 elements compare against the byte sequence of it, not its name.
25916 * posix/Makefile (tests): Add bug-regex35.
25917 (bug-regex35-ENV): Define.
25918 * posix/bug-regex35.c: New file.
25919
a175b684
TV
259202013-02-11 Tom de Vries <tom@codesourcery.com>
25921
25922 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25923 comment.
25924 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25925 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25926 (CHECK_EOL): Add undef.
25927
310998fe 259282013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
25929
25930 * bits/stdlib-bsearch.h: New file.
25931 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 25932 * stdlib/stdlib.h: Likewise.
41eda41d 25933
8ded91fb
RM
259342013-02-11 Roland McGrath <roland@hack.frob.com>
25935
25936 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25937 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25938 declaration.
25939 * manual/search.texi (Array Search Function): Add missing const in
25940 lfind prototype.
25941 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25942 declaration to use rlim_t.
25943 (Basic Scheduling Functions): Remove erroneous const from
25944 sched_getparam prototype. Remove erroneous * from
25945 sched_get_priority_max and sched_get_priority_min prototypes.
25946 (Resource Usage): Fix summary @comment on vtimes to refer to
25947 sys/vtimes.h rather than vtimes.h.
25948 Add missing *s in vtimes prototype.
25949 (Limits on Resources): Fix ulimit prototype to return long int.
25950 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25951 prototypes to use long int rather than double.
25952 (BSD Random): Fix initstate and setstate to use char *, not void *.
25953 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25954 prototype to make second argument 'struct aiocb64 *const[]'.
25955 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25956 (Status of AIO Operations): Remove erroneous const in aio_return and
25957 aio_return64 prototypes.
25958 (Synchronizing I/O): Fix sync prototype to return void.
25959 * manual/startup.texi (Suboptions): Remove an erroneous const in
25960 getsubopt prototype.
25961 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25962 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25963 use size_t rather than int.
25964 (Scanning All Users): Likewise for getpwent_r.
25965 (Setting Groups): Add missing const to setgroups prototype.
25966 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25967 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25968 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25969 'const void *' rather than 'const char *'.
25970 (Host Address Functions): Likewise for inet_ntop.
25971 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25972 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25973 ssize_t for return value.
25974 (Sending Data): Likewise for send, sendto, sendmsg.
25975 (Socket Option Functions): Add a missing const in setsockopt prototype.
25976 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25977 use wchar_t for the argument.
25978 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25979 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25980 take no arguments.
25981 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25982 double/float/long double for second argument.
25983 Fix return types of significand, significandf, significandl.
25984 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25985 argument in fchmod prototype.
25986 (File Owner): Use uid_t and gid_t in fchown prototype.
25987 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25988 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25989 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25990 use 'const struct dirent **' as argument types to CMP function pointer
25991 argument.
25992 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25993 (File Times): Fix summary magic @comment for struct utimbuf and utime
25994 to refer to utime.h, not time.h.
25995 * manual/string.texi (Argz Functions): Add missing const in
25996 argz_extract and argz_next prototypes.
25997 (Finding Tokens in a String): Likewise for basename.
25998 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25999 (Copying and Concatenation): Fix typo in wmemmove prototype.
26000 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26001 (Signal Stack): Remove erroneous const in sigstack prototype.
26002 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26003 prototype.
26004 (Simple Calendar Time): Likewise for stime.
26005 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26006 prototype.
26007 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26008 say sys/sysctl.h instead.
26009 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26010 and vsyslog prototypes.
26011
fe77fe6d
TV
260122013-02-11 Tom de Vries <tom@codesourcery.com>
26013
26014 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26015 Remove.
26016
3a09b620
RM
260172013-02-11 Roland McGrath <roland@hack.frob.com>
26018
26019 * misc/sys/mman.h: Fix typo in mremap comment.
26020
550a0b89
RM
260212013-02-08 Roland McGrath <roland@hack.frob.com>
26022
26023 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26024 the '\0' terminator.
26025
a2da1673
JM
260262013-02-08 Joseph Myers <joseph@codesourcery.com>
26027
26028 [BZ #13550]
26029 * debug/segfault.c: Don't include <bp-checks.h>.
26030 * sysdeps/generic/bp-checks.h: Remove file.
26031 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26032 (__GETDENTS): Don't use CHECK_N.
26033 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26034 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26035 (__getgroups): Don't use CHECK_N.
26036 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26037 (setgroups): Don't use CHECK_N.
26038 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26039 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26040 (__libc_msgrcv): Don't use CHECK_N.
26041 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26042 (__libc_msgsnd): Don't use CHECK_N.
26043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26044 <bp-checks.h>.
26045 (__libc_pread): Don't use CHECK_N.
26046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26047 include <bp-checks.h>.
26048 (__libc_pread64): Don't use CHECK_N.
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26050 include <bp-checks.h>.
26051 (__libc_pwrite): Don't use CHECK_N.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26053 include <bp-checks.h>.
26054 (__libc_pwrite64): Don't use CHECK_N.
26055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26056 <bp-checks.h>.
26057 (__libc_pread): Don't use CHECK_N.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26059 include <bp-checks.h>.
26060 (__libc_pread64): Don't use CHECK_N.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26062 include <bp-checks.h>.
26063 (__libc_pwrite): Don't use CHECK_N.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26065 include <bp-checks.h>.
26066 (__libc_pwrite64): Don't use CHECK_N.
26067 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26068 (do_pread): Don't use CHECK_N.
26069 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26070 (do_pread64): Don't use CHECK_N.
26071 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26072 (do_pwrite): Don't use CHECK_N.
26073 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26074 (do_pwrite64): Don't use CHECK_N.
26075 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26076 (__libc_readv): Don't use CHECK_N.
26077 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26078 (semop): Don't use CHECK_N.
26079 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26080 <bp-checks.h>.
26081 (semtimedop): Don't use CHECK_N.
26082 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26083 (__libc_pread): Don't use CHECK_N.
26084 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26085 <bp-checks.h>.
26086 (__libc_pread64): Don't use CHECK_N.
26087 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26088 <bp-checks.h>.
26089 (__libc_pwrite): Don't use CHECK_N.
26090 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26091 <bp-checks.h>.
26092 (__libc_pwrite64): Don't use CHECK_N.
26093 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26094 <bp-checks.h>.
26095 (__libc_msgrcv): Don't use CHECK_N.
26096 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26097 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26098 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26099 (__libc_writev): Don't use CHECK_N.
26100
b84660a8
RM
261012013-02-08 Roland McGrath <roland@hack.frob.com>
26102
7f3e75f8
RM
26103 * string/strcpy.c: Removed unused variable.
26104
b84660a8
RM
26105 * Makeconfig (+sysdep-includes): Define with := rather than =.
26106 Use an existing include/ subdir of each sysdeps dir before it.
26107
471514d3
CD
261082013-02-08 Carlos O'Donell <carlos@redhat.com>
26109
26110 * nscd/connection.c (register_traced_file): Comment function.
26111 [HAVE_INOTIFY] (union __inev): Define.
26112 [HAVE_INOTIFY] (inotify_check_files): New function.
26113 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26114 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26115 clear_db_cache.
26116 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26117
b2d3c3be
CD
261182013-02-08 Carlos O'Donell <carlos@redhat.com>
26119
26120 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26121 loaded if not already and that a failure is permanent.
26122
b39949d2
CD
261232013-02-08 Carlos O'Donell <carlos@redhat.com>
26124
ddacd1db 26125 [BZ #15006]
b39949d2
CD
26126 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26127 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26128
b2c9eff4
JM
261292013-02-08 Joseph Myers <joseph@codesourcery.com>
26130
f3aae3f3
JM
26131 [BZ #13550]
26132 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26133 (CHECK_1_NULL_OK): Likewise.
26134 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26135 (__fxstat): Do not use CHECK_1.
26136 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26137 <bp-checks.h>.
26138 (___fxstat64): Do not use CHECK_1.
26139 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26140 <bp-checks.h>.
26141 (__fxstatat): Do not use CHECK_1.
26142 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26143 <bp-checks.h>.
26144 (__fxstatat64): Do not use CHECK_1.
26145 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26146 <bp-checks.h>.
26147 (__fxstat): Do not use CHECK_1.
26148 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26149 <bp-checks.h>.
26150 (__fxstatat): Do not use CHECK_1.
26151 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26152 <bp-checks.h>.
26153 (__getresgid): Do not use CHECK_1.
26154 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26155 <bp-checks.h>.
26156 (__getresuid): Do not use CHECK_1.
26157 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26158 <bp-checks.h>.
26159 (__lxstat): Do not use CHECK_1.
26160 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26161 <bp-checks.h>.
26162 (__old_msgctl): Do not use CHECK_1.
26163 (__new_msgctl): Likewise.
26164 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26165 <bp-checks.h>.
26166 (__new_setrlimit): Do not use CHECK_1.
26167 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26168 <bp-checks.h>.
26169 (__old_shmctl): Do not use CHECK_1.
26170 (__new_shmctl): Likewise.
26171 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26172 <bp-checks.h>.
26173 (__xstat): Do not use CHECK_1.
26174 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26175 (__lxstat): Do not use CHECK_1.
26176 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26177 <bp-checks.h>.
26178 (___lxstat64): Do not use CHECK_1.
26179 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26180 (__old_msgctl): Do not use CHECK_1.
26181 (__new_msgctl): Likewise.
26182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26183 <bp-checks.h>.
26184 (__gettimeofday): Do not use CHECK_1.
26185 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26186 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26187 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26188 <bp-checks.h>.
26189 (__gettimeofday): Do not use CHECK_1.
26190 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26191 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26192 (__new_shmctl): Do not use CHECK_1.
26193 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26194 <bp-checks.h>.
26195 (do_sigtimedwait): Do not use CHECK_1.
26196 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26197 <bp-checks.h>.
26198 (do_sigwaitinfo): Do not use CHECK_1.
26199 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26200 <bp-checks.h>.
26201 (msgctl): Do not use CHECK_1.
26202 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26203 <bp-checks.h>.
26204 (shmctl): Do not use CHECK_1.
26205 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26206 (ustat): Do not use CHECK_1.
26207 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26208 <bp-checks.h>.
26209 (__fxstat): Do not use CHECK_1.
26210 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26211 <bp-checks.h>.
26212 (__fxstatat): Do not use CHECK_1.
26213 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26214 <bp-checks.h>.
26215 (__lxstat): Do not use CHECK_1.
26216 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26217 <bp-checks.h>.
26218 (__xstat): Do not use CHECK_1.
26219 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26220 (__xstat): Do not use CHECK_1.
26221 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26222 (___xstat64): Do not use CHECK_1.
26223
b2c9eff4
JM
26224 [BZ #13550]
26225 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26226 definitions.
26227 (CHECK_BOUNDS_HIGH): Likewise.
26228 * string/strcpy.c: Do not include <bp-checks.h>.
26229 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26230
f1d70dad
RM
262312013-02-07 Roland McGrath <roland@hack.frob.com>
26232
26233 * nscd/nscd-client.h (__nscd_drop_map_ref):
26234 Add __attribute__ ((unused)).
26235 * nis/nss-nisplus.h (niserr2nss): Likewise.
26236
26237 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26238 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26239
26240 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26241 Remove inline keyword.
26242 * include/rounding-mode.h (round_away): Likewise.
26243 * libio/wfileops.c (adjust_wide_data): Likewise.
26244 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26245 (__m128i_strloadu_tolower): Likewise.
26246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26247 (__m128i_strloadu_tolower): Likewise.
26248 * time/mktime.c (ydhms_diff): Likewise.
26249 * locale/elem-hash.h (elem_hash): Likewise.
26250 * locale/setlocale.c (setdata): Likewise.
26251 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26252 (re_string_wchar_at): Likewise.
26253 (bitset_not, bitset_merge, bitset_mask): Likewise.
26254 [!(__GNUC__ > 3)] (inline): Remove macro.
26255 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26256 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26257 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26258 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26259 * string/memcmp.c (memcmp_bytes): Likewise.
26260 * locale/programs/locarchive.c (compute_hashval): Likewise.
26261 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26262 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26263 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26264 * nss/getent.c (print_rpc, print_protocols): Likewise.
26265 (print_passwd, print_group, print_aliases): Likewise.
26266 * nis/nss-nisplus.h (niserr2nss): Likewise.
26267 * nscd/connections.c (restart_p): Likewise.
26268 Change return type to bool.
26269
eab55bfb
RM
262702013-02-05 Roland McGrath <roland@hack.frob.com>
26271
7bd642f5
RM
26272 * Makeconfig (all-Depend-files): Add existing
26273 $(sorted-subdirs:=/Depend) files.
26274 (all-subdirs): Remove nss.
26275 * sysdeps/unix/inet/Subdirs: Add it here instead.
26276 * hesiod/Depend: New file.
26277
573c29b2
RM
26278 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26279 instead of calling alloca.
26280
b2e25af0
RM
26281 * io/lseek.c (__lseek): Rename to __libc_lseek.
26282 Define __lseek as an alias.
26283
eab55bfb
RM
26284 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26285
9a0d1941
CD
262862013-02-04 Carlos O'Donell <carlos@redhat.com>
26287
26288 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26289 else clause and remove check for non-standard endianness.
26290
b83bbec4
DM
262912013-02-04 David S. Miller <davem@davemloft.net>
26292
26293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26294
6277fdab
JM
262952013-02-04 Joseph Myers <joseph@codesourcery.com>
26296
26297 [BZ #13550]
26298 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26299 (__ubp_memchr): Remove prototype.
26300 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26301 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26302 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26303 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26304 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26305 Remove alias.
26306 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26307 (__ubp_memchr): Likewise.
26308 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26309 (__ubp_memchr): Likewise.
26310 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26311 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26312 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26313 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26314 CHECK_STRING.
26315 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26316 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26317 (__getcwd): Do not use CHECK_STRING.
26318 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26319 <bp-checks.h>.
26320 (__real_chown): Do not use CHECK_STRING.
26321 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26322 <bp-checks.h>.
26323 (fchownat): Do not use CHECK_STRING.
26324 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26325 CHECK_STRING.
26326 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26327 <bp-checks.h>.
26328 (__lchown): Do not use CHECK_STRING.
26329 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26330 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26331 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26332 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26334 include <bp-checks.h>.
26335 (truncate64): Do not use CHECK_STRING.
26336 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26337 <bp-checks.h>.
26338 (__real_chown): Do not use CHECK_STRING.
26339 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26340 <bp-checks.h>.
26341 (__lchown): Do not use CHECK_STRING.
26342 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26343 <bp-checks.h>.
26344 (__chown): Do not use CHECK_STRING.
26345 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26346 <bp-checks.h>.
26347 (truncate64): Do not use CHECK_STRING.
26348 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26349 Likewise.
26350 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26351 (__xmknod): Do not use CHECK_STRING.
26352 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26353 <bp-checks.h>.
26354 (__xmknodat): Do not use CHECK_STRING.
26355 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26356 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26357
903ae060
AS
263582013-02-04 Andreas Schwab <schwab@suse.de>
26359
26360 [BZ #14142]
26361 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26362 * include/netdb.h: Likewise for h_errno.
26363 * elf/tst-stackguard1.c: Include <tls.h>.
26364
542f9466
JK
263652013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26366
26367 * elf/link.h (struct link_map): Extend the l_addr comment.
26368 * include/link.h (struct link_map): Likewise.
26369
e782a927
JM
263702013-02-01 Joseph Myers <joseph@codesourcery.com>
26371
26372 [BZ #13550]
26373 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26374 (BOUNDED_1): Remove macro.
26375 * debug/backtrace.c: Don't include <bp-checks.h>.
26376 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26377 (__backtrace): Likewise.
26378 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26379 <bp-checks.h>.
26380 (__backtrace): Don't use BOUNDED_1.
26381 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26382 <bp-checks.h>.
26383 (__backtrace): Don't use BOUNDED_1.
26384 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26385 (__backtrace): Don't use BOUNDED_1.
26386 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26387 (shmat): Don't use BOUNDED_N.
26388
8cf28c5e
JM
263892013-01-31 Joseph Myers <joseph@codesourcery.com>
26390
3a7ac8a0
JM
26391 [BZ #13550]
26392 * sysdeps/generic/bp-start.h: Remove file.
26393 * csu/libc-start.c: Don't include <bp-start.h>.
26394 (LIBC_START_MAIN): Set up __environ directly instead of using
26395 INIT_ARGV_and_ENVIRON.
26396 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26397 <bp-start.h>.
26398
f3499f95
JM
26399 [BZ #13550]
26400 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26401 definitions.
26402 (CHECK_FCNTL): Likewise.
26403 (CHECK_N_PAGES): Likewise.
26404
32a45bea
JM
26405 [BZ #13550]
26406 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26407 definitions.
26408 (CHECK_SIGSET_NULL_OK): Likewise.
26409 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26410 <bp-checks.h>.
26411 (sigpending): Don't use CHECK_SIGSET.
26412 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26413 <bp-checks.h>.
26414 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26415 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26416 <bp-checks.h>.
26417 (do_sigsuspend): Don't use CHECK_SIGSET.
26418 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26419 use CHECK_SIGSET.
26420 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26421 (do_sigwait): Don't use CHECK_SIGSET.
26422 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26423 use CHECK_SIGSET.
26424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26425 include <bp-checks.h>.
26426 (sigpending): Don't use CHECK_SIGSET.
26427 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26428 include <bp-checks.h>.
26429 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26430 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26431 <bp-checks.h>.
26432 (sigpending): Don't use CHECK_SIGSET.
26433 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26434 <bp-checks.h>.
26435 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26436
2e8a5c8c
JM
26437 [BZ #13550]
26438 * sysdeps/generic/bp-semctl.h: Remove file.
26439 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26440 <bp-checks.h> and <bp-semctl.h>.
26441 (__old_semctl): Don't use CHECK_SEMCTL.
26442 (__new_semctl): Likewise.
26443 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26444 and <bp-semctl.h>.
26445 (__old_semctl): Don't use CHECK_SEMCTL.
26446 (__new_semctl): Likewise.
26447 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26448 <bp-checks.h> and <bp-semctl.h>.
26449 (__old_semctl): Don't use CHECK_SEMCTL.
26450 (__new_semctl): Likewise.
26451 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26452 <bp-checks.h> and <bp-semctl.h>.
26453 (semctl): Don't use CHECK_SEMCTL.
26454
c2d54929
JM
26455 [BZ #13550]
26456 * Makerules (elide-bp-thunks): Remove variable.
26457 (elide-routines.oS): Don't use $(elide-bp-thunks).
26458 (elide-routines.os): Likewise.
26459 (elide-routines.o): Likewise.
26460 (elide-routines.op): Likewise.
26461 (elide-routines.og): Likewise.
26462 (objects): Don't use $(bp-thunks).
26463 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26464 include.
26465 (common-generated): Do not add s-proto-bp.d.
26466 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26467 (int): Likewise.
26468 (typ): Likewise.
26469 Do not generate makefile rules for bounded-pointer thunks.
26470 * sysdeps/generic/bp-thunks.h: Remove file.
26471 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26472 * sysdeps/unix/s-proto-bp.S: Likewise.
26473
8cf28c5e
JM
26474 [BZ #15062]
26475 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26476 parts of result separately when argument is not close to line from
26477 -i to i and one part of argument is small.
26478 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26479 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26480 * math/libm-test.inc (cacos_test): Add more tests.
26481 (casin_test): Likewise.
26482 (casinh_test): Likewise.
26483 * sysdeps/i386/fpu/libm-test-ulps: Update.
26484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26485
c4e33b8d
DM
264862013-01-31 David S. Miller <davem@davemloft.net>
26487
26488 * po/de.po: Update from translation team.
26489
3b60b421
MK
264902013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26491
26492 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26493
bb931195
TS
264942013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26495
b5a5da23
TS
26496 * configure.in (_AC_PROG_CC_C89): New definition.
26497 * configure: Regenerate.
26498
bb931195
TS
26499 * configure.in (AC_PROG_CPP): New definition.
26500 * configure: Regenerate.
26501
8c53a12c
JM
265022013-01-23 Joseph Myers <joseph@codesourcery.com>
26503
26504 * debug/tst-backtrace.h: New file.
26505 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26506 (ret): Remove variable.
26507 (x): Likewise.
26508 (FAIL): Remove macro.
26509 (NO_INLINE): Likewise.
26510 (fn1): Use match function instead of strstr.
26511 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26512 (ret): Remove variable.
26513 (x): Likewise.
26514 (FAIL): Remove macro.
26515 (NO_INLINE): Likewise.
26516 (fn): Use match function instead of strstr.
26517 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26518 (ret): Remove variable.
26519 (x): Likewise.
26520 (FAIL): Remove macro.
26521 (NO_INLINE): Likewise.
26522 (handle_signal): Use match function instead of strstr.
26523 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26524 (ret): Remove variable.
26525 (x): Likewise.
26526 (FAIL): Remove macro.
26527 (NO_INLINE): Likewise.
26528 (handle_signal): Use match function instead of strstr.
26529
4858fa2a
RM
265302013-01-23 Roland McGrath <roland@hack.frob.com>
26531
26532 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26533
bae8e7f5
DM
265342013-01-23 David S. Miller <davem@davemloft.net>
26535
26536 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26537 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26538 argument of CAS if possible.
26539 * sysdeps/sparc/sparc64/bits/atomic.h
26540 (__arch_compare_and_exchange_val_32_acq): Likewise.
26541 (__arch_compare_and_exchange_val_64_acq): Likewise.
26542
9cbbc4ae
PT
265432013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26544
26545 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26546 * sysdeps/posix/ulimit.c: ... this.
92a601b8 26547 Include <limits.h>.
67b3f58c 26548 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 26549
5655a0b5
AC
265502013-01-23 Adam Conrad <adconrad@0c3.net>
26551
26552 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26553 (LDFLAGS-tst-array5): Likewise.
26554
052aff95
JM
265552013-01-23 Joseph Myers <joseph@codesourcery.com>
26556
26557 [BZ #15036]
26558 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26559 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26560 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26561 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26562
7c1e01aa
DM
265632013-01-21 David S. Miller <davem@davemloft.net>
26564
26565 * sysdeps/sparc/backtrace.c: New file.
26566 * sysdeps/sparc/sparc32/backtrace.h: New file.
26567 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26568 * sysdeps/sparc/sparc64/backtrace.h: New file.
26569 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26570 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26571 -funwind-tables.
26572
ab087e0a
AS
265732013-01-21 Andreas Schwab <schwab@suse.de>
26574
26575 [BZ #15020]
26576 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26577 closed its stdout.
26578
ed689c2f
AS
265792013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26580
26581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26582 "mpa2.h".
26583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26584
31d470ac
JM
265852013-01-18 Joseph Myers <joseph@codesourcery.com>
26586 Mark Mitchell <mark@codesourcery.com>
26587 Tom de Vries <tom@codesourcery.com>
26588 Paul Pluzhnikov <ppluzhnikov@google.com>
26589
26590 * debug/tst-backtrace2.c: New file.
26591 * debug/tst-backtrace3.c: Likewise.
26592 * debug/tst-backtrace4.c: Likewise.
26593 * debug/tst-backtrace5.c: Likewise.
26594 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26595 (CFLAGS-tst-backtrace3.c): Likewise.
26596 (CFLAGS-tst-backtrace4.c): Likewise.
26597 (CFLAGS-tst-backtrace5.c): Likewise.
26598 (LDFLAGS-tst-backtrace2): Likewise.
26599 (LDFLAGS-tst-backtrace3): Likewise.
26600 (LDFLAGS-tst-backtrace4): Likewise.
26601 (LDFLAGS-tst-backtrace5): Likewise.
26602 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26603 tst-backtrace4 and tst-backtrace5.
26604
90567f30 266052013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
26606 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26607
26608 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26609 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26610 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26611 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26613 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26614 "+r" and remove output regs list as redundant. Add explicit inline
26615 asm to specify register of return val to work around compiler codegen
26616 bug. Remove (int) cast on return value. Add return type parameter to
26617 use in macro so that this macro does not truncate return value for
26618 64-bit values.
26619 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26620 pass to INTERNAL_VSYSCALL_NCS.
26621 (INLINE_VSYSCALL): Add 'long int' as return type to
26622 INTERNAL_VSYSCALL_NCS macro invocation.
26623 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26624 INTERNAL_VSYSCALL_NCS macro invocation.
26625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26626
d3b9ea61
SP
266272013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26628
0b57daeb
SP
26629 [BZ #14496]
26630 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26631 Fix application of SIMD FP exception mask.
26632
caa99d06
SP
26633 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26634 mp_no from a power of two.
26635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26636 __mpexp_twomm1. Use __pow_mp.
26637
d3b9ea61
SP
26638 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26639 multiplication.
26640
1dbaee3c
DM
266412013-01-17 David S. Miller <davem@davemloft.net>
26642
26643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26644
728d7b43
JM
266452013-01-17 Joseph Myers <joseph@codesourcery.com>
26646
26647 [BZ #15023]
26648 * include/complex.h: Condition contents on [!_COMPLEX_H].
26649 (__kernel_casinhf): New prototype.
26650 (__kernel_casinh): Likewise.
26651 (__kernel_casinhl): Likewise.
26652 * math/Makefile (libm_calls): Add k_casinh.
26653 * math/k_casinh.c: New file.
26654 * math/k_casinhf.c: Likewise.
26655 * math/k_casinhl.c: Likewise.
26656 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26657 finite nonzero arguments.
26658 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26659 finite nonzero arguments.
26660 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26661 finite nonzero arguments.
26662 * math/s_casinh.c: Do not include <float.h>.
26663 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26664 * math/s_casinhf.c: Do not include <float.h>.
26665 (__casinhf): Move code for finite nonzero arguments to
26666 k_casinhf.c.
26667 * math/s_casinhl.c: Do not include <float.h>.
26668 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26669 redefine.
26670 (__casinhl): Move code for finite nonzero arguments to
26671 k_casinhl.c.
26672 * math/libm-test.inc (cacos_test): Add more tests.
26673 * sysdeps/i386/fpu/libm-test-ulps: Update.
26674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26675
2a26ef3a
PT
266762013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26677
26678 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26679 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26680 [!HAVE_MREMAP]: Remove [defined linux] case.
26681 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26682
a897655d
SP
266832013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26684
26685 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26686
881ebe89 266872013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
26688
26689 * elf/elf.h (R_386_SIZE32): New relocation.
26690 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26691 R_386_SIZE32.
26692 (elf_machine_rela): Likewise.
26693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26694 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26695
59981e9b
JM
266962013-01-17 Joseph Myers <joseph@codesourcery.com>
26697
26698 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26699 (FP_FAST_FMA): Do not define.
26700 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26701 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26702 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26703 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26704 !_SOFT_FLOAT]: Likewise.
26705 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26706 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26707 value.
26708 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26709 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26710 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26711 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26712 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26713 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26714 file.
26715
cfa8054f
AS
267162013-01-16 Andreas Schwab <schwab@suse.de>
26717
26718 [BZ #14327]
26719 * include/stdlib.h (__mktemp): Add declaration.
26720 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26721 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26722
dd930cc5
SP
267232013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26724
881ebe89
SP
26725 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26726 definitions.
26727 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26728 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26729 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26730 definitions here.
26731 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26732 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26733 definitions.
26734 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26735 and ONE.
26736 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26737 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26738 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26739 definitions.
26740 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26741 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26742 definitions.
26743 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 26744
dd930cc5
SP
26745 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26746
c19a9f89
DM
267472013-01-15 David S. Miller <davem@davemloft.net>
26748
1aa61767
DM
26749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26750 trunc{,f} to libm-sysdep_routes.
26751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26753 file.
26754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26756 file.
26757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26758 file.
26759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26761 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26762 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26763 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26764 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26765 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26766 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26767
c42d5e98
DM
26768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26769 nearbyint{,f} to libm-sysdep_routes.
26770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26772 New file.
26773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26774 file.
26775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26776 New file.
26777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26778 file.
26779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26781 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26782 file.
26783 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26784 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26785 file.
26786 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26787 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26788 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26789
c19a9f89
DM
26790 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26791 libc_feholdexcept and libc_fesetenv.
26792
357679d2
MF
267932013-01-15 Mike Frysinger <vapier@gentoo.org>
26794
26795 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26796
65a82e3d
DM
267972013-01-14 David S. Miller <davem@davemloft.net>
26798
8b954ab9
DM
26799 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26800 (SPARC_ASM_VIS2_IFUNC): Likewise.
26801 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26803 use of 'siam' instruction.
26804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26805 Likewise.
26806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26807 Likewise.
26808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26809 Likewise.
26810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26815 file.
26816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26817 file.
26818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26819 file.
26820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26821 file.
26822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26827 new VIS2 routines.
26828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26831 Likewise.
26832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26837 routines to libm-sysdep_routines.
26838 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26839
65a82e3d
DM
26840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26841 fdim/fdimf to libm-sysdep_routines.
26842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26843 file.
26844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26846 file.
26847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26850 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26851 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26852 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26853 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26854
e34ab705
SP
268552013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26856
2a91b573
SP
26857 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26858 to optimize copies.
26859
1066a534
SP
26860 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26863
e34ab705
SP
26864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26865 local variable MPTWO.
26866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26867 Likewise.
26868
aba5e596
MF
268692013-01-13 Mike Frysinger <vapier@gentoo.org>
26870
26871 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26872 GLOB_NOESCAPE.
26873
e557e9e5
MF
268742013-01-13 Mike Frysinger <vapier@gentoo.org>
26875
26876 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26877
0428cec9
MF
268782013-01-13 Mike Frysinger <vapier@gentoo.org>
26879
26880 * manual/pattern.texi (glob_t): Document gl_flags.
26881 (glob64_t): Likewise.
26882
8794a964
DM
268832013-01-11 David S. Miller <davem@davemloft.net>
26884
66438c3f
RM
26885 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26886 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26887 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
26888 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26889 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26890 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26891 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26892 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26893 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26894 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26895 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26896 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26897 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26898
4ae4244d
DM
26899 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26900 sparc V9 rather than using V8 code.
26901 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26902 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26903
8794a964
DM
26904 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26905 Move to...
26906 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26907 Here.
26908
6270516e
RM
269092013-01-11 Roland McGrath <roland@hack.frob.com>
26910
26911 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26912 not in the main loop.
26913 * configure: Regenerated.
26914
6a57d931
JM
269152013-01-11 Joseph Myers <joseph@codesourcery.com>
26916
26917 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26918 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26919 to just #else.
26920 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26921 [!__GLIBC_HAVE_LONG_LONG] case.
26922 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26923 condition to just #else.
26924 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26925 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26926 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26927 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26928 unconditional.
26929 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26930 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26931 #elif condition to just #else.
26932 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26933 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26934 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26935 #elif condition to just #else.
26936
0e8529e9
SE
269372013-01-11 Steve Ellcey <sellcey@mips.com>
26938
26939 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26940 (EF_MIPS_ARCH_64): Fix value.
26941 (EF_MIPS_ARCH_32R2): New.
26942 (EF_MIPS_ARCH_64R2): New.
26943
740b3dbe
L
269442013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26945
26946 * Makeconfig (+link-pie-before-libc): New.
26947 (+link-pie-after-libc): Likewise.
26948 (+link-pie-tests): Likewise.
26949 (+link-pie): Rewritten.
26950 (link-before-libc): Remove $(config-LDFLAGS).
26951 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26952 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26953 (config-LDFLAGS): Renamed to ...
26954 (rtld-LDFLAGS): This.
26955 (rtld-tests-LDFLAGS): New macro.
26956 (link-libc-rpath-link): Likewise.
26957 (link-libc-tests-rpath-link): Likewise.
26958 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26959 (link-libc): Prepand $(link-libc-rpath-link).
26960 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26961 (test-program-prefix): New macro.
26962 (test-via-rtld-prefix): Likewise.
26963 (test-program-cmd): Likewise.
26964 (host-test-program-cmd): Likewise.
26965 * Makefile ($(common-objpfx)testrun.sh): Replace
26966 $(run-program-prefix) with $(test-program-prefix).
26967 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26968 $(rtld-LDFLAGS).
26969 ($(common-objpfx)shlib.lds): Likewise.
26970 (build-module-helper): Likewise.
26971 ($(common-objpfx)format.lds): Likewise.
26972 * Rules (binaries-pie-tests): New.
26973 (binaries-pie-notests): Likewise.
26974 (binaries-pie): Rewritten.
26975 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26976 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26977 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26978 (make-test-out): Replace $(host-built-program-cmd) with
26979 $(host-test-program-cmd).
26980 * config.make.in (build-hardcoded-path-in-tests): New variable.
26981 * configure.in (--enable-hardcoded-path-in-tests): New configure
26982 option.
26983 (hardcoded_path_in_tests): New AC_SUBST.
26984 * configure: Regenerated.
26985 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26986 $(built-program-cmd) with $(test-program-cmd).
26987 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26988 (test_program_cmd): This.
26989 * elf/Makefile ($(objpfx)order.out): Run test with
26990 $(test-program-prefix).
26991 ($(objpfx)order2.out): Likewise.
26992 ($(objpfx)tst-initorder.out): Likewise.
26993 ($(objpfx)tst-initorder2.out): Likewise.
26994 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26995 $(test-program-cmd).
26996 ($(objpfx)tst-array1-static.out): Likewise.
26997 ($(objpfx)tst-array2.out): Likewise.
26998 ($(objpfx)tst-array3.out): Likewise.
26999 ($(objpfx)tst-array4.out): Likewise.
27000 ($(objpfx)tst-array5.out): Likewise.
27001 ($(objpfx)tst-array5-static.out): Likewise.
27002 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27003 $(test-program-cmd).
27004 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27005 $(run-program-prefix) with $(test-program-prefix).
27006 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27007 (test_program_prefix): This.
27008 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27009 $(run-program-prefix) with $(test-program-prefix).
27010 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27011 (test_program_prefix): This.
27012 * iconvdata/tst-tables.sh: Likewise.
27013 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27014 $(run-program-prefix) with $(test-program-prefix).
27015 ($(objpfx)tst-translit.out): Likewise.
27016 ($(objpfx)tst-gettext2.out): Likewise.
27017 ($(objpfx)tst-gettext4.out): Likewise.
27018 ($(objpfx)tst-gettext6.out): Likewise.
27019 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27020 (test_program_prefix): This.
27021 * intl/tst-gettext2.sh: Likewise.
27022 * intl/tst-gettext4.sh Likewise.
27023 * intl/tst-gettext6.sh: Likewise.
27024 * intl/tst-translit.sh: Likewise.
27025 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27026 with $(test-program-cmd).
27027 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27028 $(run-program-prefix) with $(test-program-prefix).
27029 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27030 (test_program_prefix): This.
27031 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27032 $(run-program-prefix) with $(test-program-prefix).
27033 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27034 (test_program_prefix): This.
27035 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27036 * posix/Makefile ($(objpfx)globtest.out): Replace
27037 $(run-via-rtld-prefix) and $(test-wrapper) with
27038 $(test-program-prefix) and $(test-via-rtld-prefix).
27039 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27040 $(test-program-prefix).
27041 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27042 $(host-test-program-cmd).
27043 (tst-spawn-ARGS): Likewise.
27044 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27045 $(test-program-prefix).
27046 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27047 (test_via_rtld_prefix): This.
27048 (test_wrapper): Renamed to ...
27049 (test_program_prefix): This.
27050 (run_program_prefix): Replaced by test_program_prefix.
27051 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27052 (test_program_prefix): This.
27053 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27054 with $(host-test-program-cmd).
27055 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27056 $(run-program-prefix) with $(test-program-prefix).
27057 ($(objpfx)tst-printf.out): Likewise.
27058 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27059 $(test-program-cmd).
27060 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27061 (test_program_prefix): This.
27062 * stdio-common/tst-unbputc.sh: Likewise.
27063 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27064 $(run-program-prefix) with $(test-program-prefix).
27065 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27066 (test_program_prefix): This.
27067 * string/Makefile ($(objpfx)tst-svc.out): Replace
27068 $(built-program-cmd) with $(test-program-cmd).
27069
c6fe55cf
AJ
270702013-01-11 Andreas Jaeger <aj@suse.de>
27071
27072 [BZ #15003]
27073 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27074 value. Sync with Linux 3.7.
27075
9e6919c8
DM
270762013-01-10 David S. Miller <davem@davemloft.net>
27077
27078 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27079 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27080 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27081
1c9f1a02
RM
270822013-01-10 Roland McGrath <roland@hack.frob.com>
27083
27084 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27085 never set.
27086 * configure: Regenerated.
27087
b9de2dde
DM
270882013-01-10 David S. Miller <davem@davemloft.net>
27089
27090 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27091 sparc V9 rather than using V8 code.
27092 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27093 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27094
e7f68ef4
RM
270952013-01-10 Roland McGrath <roland@hack.frob.com>
27096
27097 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27098 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27099 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27100 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27101 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27102 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27103 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27104 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27105 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27106 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27107 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27108 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27109 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27110 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27111 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27112 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27113 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27114 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27115 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27116 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27117 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27118 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27119 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27120 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27121 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27122 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27123 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27124
5a47cc9c
DM
271252013-01-10 David S. Miller <davem@davemloft.net>
27126
27127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27128
4cf8f209
L
271292013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27130
27131 * posix/Makefile (tests-static): New variable.
27132 (tests): Add $(tests-static).
27133 (tst-exec-static-ARGS): New variable.
27134 (tst-spawn-static-ARGS): Likewise.
27135 * posix/tst-exec-static.c: New file.
27136 * posix/tst-spawn-static.c: Likewise.
27137 * posix/tst-exec.c: Support run directly.
27138 * posix/tst-spawn.c: Likewise.
27139
fed0faa1
JM
271402013-01-10 Joseph Myers <joseph@codesourcery.com>
27141
828beb13
JM
27142 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27143 long.
27144 * math/bits/mathcalls.h (llrint): Likewise.
27145 (llround): Likewise.
27146 * stdlib/stdlib.h (struct drand48_data): Likewise.
27147 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27148 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27149 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27150 Likewise.
27151 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27152 Likewise.
27153 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27154 (elf_greg_t): Likewise.
27155 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27156 (__jmp_buf): Likewise.
27157 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27158 definitions.
27159 (llrint): Likewise, for all definitions.
27160 (llrintl): Likewise.
27161
fed0faa1
JM
27162 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27163 Remove [__GNUC__] condition.
27164 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27165 condition to just [__USE_ISOC99].
27166 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27167
1a20cb20
L
271682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27169
27170 [BZ #14200]
27171 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27172 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27173 defined.
27174 (_POSIX_V6_ILP32_OFF32): Likewise.
27175 (_XBS5_ILP32_OFF32): Likewise.
27176 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27177 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27178
751b85f7
SP
271792013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27180
7490eb81
SP
27181 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27182
751b85f7
SP
27183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27184 doubles __mpexp_twomm1. Adjust usage.
27185 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27186 Remove.
27187
988197f0
AS
271882013-01-10 Andreas Schwab <schwab@suse.de>
27189
27190 [BZ #14964]
27191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27192 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27193
e83d7298
DM
271942013-01-09 David S. Miller <davem@davemloft.net>
27195
034ed64b 27196 [BZ #15003]
57f41c40
AS
27197 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27198 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27199 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27200 (TCP_FASTOPEN): Define.
e83d7298
DM
27201 (tcp_repair_opt): New structure.
27202 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27203 enum values.
57f41c40
AS
27204 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27205 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27206 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
27207 (tcp_cookie_transactions): New structure.
27208
d5e0b9bd
AB
272092013-01-09 Anton Blanchard <anton@samba.org>
27210
27211 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27212 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27214 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27215
0c07e3ea
JM
272162013-01-09 Joseph Myers <joseph@codesourcery.com>
27217
27218 * include/features.h (__USE_ANSI): Remove.
27219
232f7002
RM
272202013-01-09 Roland McGrath <roland@hack.frob.com>
27221
ad98e30c
RM
27222 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27223
232f7002
RM
27224 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27225
950c99ca
SP
272262013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27227
b5792741
SP
27228 * sysdeps/s390/fpu/libm-test-ulps: Update.
27229
47cf2278
SP
27230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27231
950c99ca
SP
27232 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27233 (__acr): Likewise.
27234 (__cpy): Likewise.
27235 (norm): Likewise.
27236 (denorm): Likewise.
27237 (__mp_dbl): Likewise.
27238 (__dbl_mp): Likewise.
27239 (add_magnitudes): Likewise.
27240 (sub_magnitudes): Likewise.
27241 (__add): Likewise.
27242 (__sub): Likewise.
27243 (__mul): Likewise.
27244 (__inv): Likewise.
27245 (__dvd): Likewise.
27246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27247 (__acr): Likewise.
27248 (__cpy): Likewise.
27249 (norm): Likewise.
27250 (denorm): Likewise.
27251 (__mp_dbl): Likewise.
27252 (__dbl_mp): Likewise.
27253 (add_magnitudes): Likewise.
27254 (sub_magnitudes): Likewise.
27255 (__add): Likewise.
27256 (__sub): Likewise.
27257 (__mul): Likewise.
27258 (__inv): Likewise.
27259 (__dvd): Likewise.
27260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27261 (__acr): Likewise.
27262 (__cpy): Likewise.
27263 (norm): Likewise.
27264 (denorm): Likewise.
27265 (__mp_dbl): Likewise.
27266 (__dbl_mp): Likewise.
27267 (add_magnitudes): Likewise.
27268 (sub_magnitudes): Likewise.
27269 (__add): Likewise.
27270 (__sub): Likewise.
27271 (__mul): Likewise.
27272 (__inv): Likewise.
27273 (__dvd): Likewise.
27274
eede9df9
JM
272752013-01-08 Joseph Myers <joseph@codesourcery.com>
27276
27277 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27278 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27279 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27280 2 && __USE_EXTERN_INLINES]: Likewise.
27281
c40ea3d9
AJ
272822013-01-08 Andreas Jaeger <aj@suse.de>
27283
27284 [BZ# 14985]
27285 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27286 Remove.
27287 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27288 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27289
2ccdea26
AB
272902013-01-07 Anton Blanchard <anton@samba.org>
27291
27292 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27293 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27294 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27295 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27296 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27297 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27298 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27299 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27301 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27302 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27303 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27304 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27306 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27307 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27308 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27309 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27310 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27311 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27312 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27313 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27314 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27315 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27317 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27318 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27319 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27320 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27321 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27322 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27324 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27325 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27326 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27327 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27328 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27329 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27330 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27331 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27332 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27333 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27334 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27335
a9708fed
JM
273362013-01-07 Joseph Myers <joseph@codesourcery.com>
27337
375607b9
JM
27338 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27339 (__MALLOC_PMT): Likewise.
27340 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27341 [__GNUC__], only on [_LIBC].
27342 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27343 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27344 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27345 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27346 forward declaration.
27347 (realloc_hook_ini): Likewise.
27348 (memalign_hook_ini): Likewise.
27349 (__libc_memalign): Do not use __MALLOC_PMT in variable
27350 declaration.
27351 (__libc_valloc): Likewise.
27352 (__libc_pvalloc): Likewise.
27353 (__libc_calloc): Likewise.
27354 (__posix_memalign): Likewise.
27355
a9708fed
JM
27356 [BZ #14996]
27357 * math/s_casinh.c: Include <float.h>.
27358 (__casinh): Do not do computation with squaring and square root
27359 for large arguments.
27360 * math/s_casinhf.c: Include <float.h>.
27361 (__casinhf): Do not do computation with squaring and square root
27362 for large arguments.
27363 * math/s_casinhl.c: Include <float.h>.
27364 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27365 (__casinhl): Do not do computation with squaring and square root
27366 for large arguments.
27367 * math/libm-test.inc (casin_test): Add more tests.
27368 (casinh_test): Likewise.
27369 * sysdeps/i386/fpu/libm-test-ulps: Update.
27370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27371
afec409a
L
273722013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27373
27374 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27375 (__x86_64_raw_data_cache_size): Likewise.
27376 (__x86_64_data_cache_size_half): Likewise.
27377 (__x86_64_raw_data_cache_size_half): Likewise.
27378 (__x86_64_shared_cache_size): Likewise.
27379 (__x86_64_raw_shared_cache_size): Likewise.
27380 (__x86_64_shared_cache_size_half): Likewise.
27381 (__x86_64_raw_shared_cache_size_half): Likewise.
27382 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27383 to ...
27384 (__x86_data_cache_size): This.
27385 (__x86_64_raw_data_cache_size): Renamed to ...
27386 (__x86_raw_data_cache_size): This.
27387 (__x86_64_data_cache_size_half): Renamed to ...
27388 (__x86_data_cache_size_half): This.
27389 (__x86_64_raw_data_cache_size_half): Renamed to ...
27390 (__x86_raw_data_cache_size_half): This.
27391 (__x86_64_shared_cache_size): Renamed to ...
27392 (__x86_shared_cache_size): This.
27393 (__x86_64_raw_shared_cache_size): Renamed to ...
27394 (__x86_raw_shared_cache_size): This.
27395 (__x86_64_shared_cache_size_half): Renamed to ...
27396 (__x86_shared_cache_size_half): This.
27397 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27398 (__x86_raw_shared_cache_size_half): This.
27399 * sysdeps/x86_64/memcpy.S: Updated.
27400 * sysdeps/x86_64/memset.S: Likewise.
27401 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27402 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27403 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27404
0b3986d0
DM
274052013-01-04 David S. Miller <davem@davemloft.net>
27406
27407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27408
e47686e9
AS
274092013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27410
d643bac1
AS
27411 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27412 1 to avoid redefinition warning.
27413 (__USE_GNU): Don't define.
27414 (init_signaling_nan): Protoize.
27415
e47686e9
AS
27416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27417
b18decba
SP
274182013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27419
fffb407f
SP
27420 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27422 (__cpymn): Likewise.
27423 (norm): Remove commented code.
27424 (denorm): Likewise.
27425 (__mp_dbl): Likewise.
27426 (__inv): Likewise.
27427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27428 (__cpymn): Likewise.
27429 (norm): Remove commented code.
27430 (denorm): Likewise.
27431 (__mp_dbl): Likewise.
27432 (__inv): Likewise.
27433
b18decba
SP
27434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27435 mp_no value for 1.0 and 2.0.
27436 (norm): Use RADIXI instead of radixi.d.
27437 (denorm): Likewise.
27438 (__mul): Use 0.0 instead of zero.d.
27439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27440 mp_no value for 1.0 and 2.0.
27441 (norm): Use RADIXI instead of radixi.d.
27442 (denorm): Likewise.
27443 (__mul): Use 0.0 instead of zero.d.
27444
cdc1c96f
JM
274452013-01-04 Joseph Myers <joseph@codesourcery.com>
27446
27447 [BZ #14994]
27448 * math/s_casinh.c (__casinh): Reduce finite argument to first
27449 quadrant then set signs of results at the end.
27450 * math/s_casinhf.c (__casinhf): Likewise.
27451 * math/s_casinhl.c (__casinhl): Likewise.
27452 * math/libm-test.inc (casin_test): Add more tests.
27453 (casinh_test): Likewise.
27454 * sysdeps/i386/fpu/libm-test-ulps: Update.
27455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27456
302913e1
SP
274572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27458
6420d207
SP
27459 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27460
a9e48ab4
SP
27461 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27462
b7837264
SP
27463 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27464 declarations.
27465 (denorm): Likewise.
27466 (__mp_dbl): Likewise.
27467 (__inv): Likewise.
27468
f8af25d2
SP
27469 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27470 and adjust the header comment.
27471
302913e1
SP
27472 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27473 variable name from declaration.
27474
5d7dd1ca
L
274752013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27476
27477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27478 Initialize COMMON_CPUID_INDEX_7 element.
27479 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27480 (CPUID_RTM): Likewise.
27481 (HAS_RTM): Likewise.
27482 (COMMON_CPUID_INDEX_7): New enum.
27483
2f5f40f4
AS
274842013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27485
27486 [BZ #14981]
27487 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27488 size is zero, record memory as freed.
27489
4056f4a0
AJ
274902013-01-03 Andreas Jaeger <aj@suse.de>
27491
27492 * po/ia.po: Add new Interlingua translation.
27493
ab15736f 274942012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
27495
27496 * locale/programs/localedef.c: Fix description of '--posix' flag.
27497
568035b7
JM
274982013-01-02 Joseph Myers <joseph@codesourcery.com>
27499
e6898b8d
JM
27500 * NEWS: Update dates in second copyright notice.
27501 * README: Update copyright dates in example.
27502 * manual/libc.texinfo: Update copyright dates.
27503 * scripts/test-installation.pl: Update copyright date in --version
27504 output.
27505
0e2f9562
JM
27506 * hurd/ctty-input.c: Fix copyright notice formatting.
27507 * hurd/ctty-output.c: Likewise.
27508 * hurd/dtable.c: Likewise.
27509 * hurd/hurd-raise.c: Likewise.
27510 * hurd/hurdprio.c: Likewise.
27511 * hurd/msgportdemux.c: Likewise.
27512 * misc/sys/file.h: Likewise.
27513 * misc/sys/ioctl.h: Likewise.
27514 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27515 * sysdeps/mach/hurd/chdir.c: Likewise.
27516 * sysdeps/mach/hurd/fchdir.c: Likewise.
27517 * sysdeps/mach/hurd/rename.c: Likewise.
27518 * sysdeps/mach/hurd/rmdir.c: Likewise.
27519 * sysdeps/mach/hurd/seekdir.c: Likewise.
27520 * sysdeps/mach/hurd/setsid.c: Likewise.
27521 * sysdeps/posix/wait3.c: Likewise.
27522
568035b7
JM
27523 * All files with FSF copyright notices: Update copyright dates
27524 using scripts/update-copyrights.
27525 * intl/plural.c: Regenerated.
27526 * locale/programs/charmap-kw.h: Likewise.
27527 * locale/programs/locfile-kw.h: Likewise.
27528
da08f647
SP
275292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27530
0f5477af
SP
27531 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27532 four values.
27533
44e0d4c2
SP
27534 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27535 calculation loop and add branch prediction.
27536
4d55b4e5
SP
27537 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27538 check access beyond bounds of m1np.
27539
da08f647
SP
27540 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27541 MPTWO.
27542 (__inv): Remove local variable MPTWO to use the global
27543 constant.
27544 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27546 variable MPTWO.
27547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27548 MP3HALFS static const.
27549
8e051029
DM
275502013-01-01 David S. Miller <davem@davemloft.net>
27551
27552 * po/ca.po: Update from translation team.
27553
f4cf5f2d
JM
275542013-01-01 Joseph Myers <joseph@codesourcery.com>
27555
27556 * scripts/update-copyrights: New file.
27557 * Makeconfig: Reformat copyright notice.
27558 * ctype/ctype.h: Likewise.
27559 * debug/swprintf_chk.c: Likewise.
27560 * elf/dl-cache.c: Likewise.
27561 * elf/dl-debug.c: Likewise.
27562 * elf/dl-object.c: Likewise.
27563 * grp/initgroups.c: Likewise.
27564 * hurd/Makefile: Likewise.
27565 * hurd/hurd/signal.h: Likewise.
27566 * hurd/hurdfault.c: Likewise.
27567 * hurd/hurdioctl.c: Likewise.
27568 * hurd/hurdlookup.c: Likewise.
27569 * hurd/intr-msg.c: Likewise.
27570 * iconv/gconv_open.c: Likewise.
27571 * libio/swprintf.c: Likewise.
27572 * locale/lc-ctype.c: Likewise.
27573 * locale/nl_langinfo.c: Likewise.
27574 * mach/Machrules: Likewise.
27575 * mach/Makefile: Likewise.
27576 * malloc/obstack.h: Likewise.
27577 * manual/Makefile: Likewise.
27578 * manual/tsort.awk: Likewise.
27579 * misc/bits/stab.def: Likewise.
27580 * nis/nis_print_group_entry.c: Likewise.
27581 * nis/nis_table.c: Likewise.
27582 * nis/nss_compat/compat-pwd.c: Likewise.
27583 * nis/nss_compat/compat-spwd.c: Likewise.
27584 * po/Makefile: Likewise.
27585 * posix/fnmatch.c: Likewise.
27586 * posix/regex.h: Likewise.
27587 * resolv/Makefile: Likewise.
27588 * resolv/nss_dns/dns-network.c: Likewise.
27589 * resolv/res_hconf.c: Likewise.
27590 * scripts/gen-sorted.awk: Likewise.
27591 * soft-fp/soft-fp.h: Likewise.
27592 * stdio-common/printf.h: Likewise.
27593 * stdlib/monetary.h: Likewise.
27594 * stdlib/random.c: Likewise.
27595 * stdlib/random_r.c: Likewise.
27596 * sysdeps/generic/Makefile: Likewise.
27597 * sysdeps/gnu/Makefile: Likewise.
27598 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27600 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27602 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27606 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27608 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27609 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27613 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27617 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27618 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27619 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27620 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27621 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27622 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27623 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27624 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27626 * sysdeps/mach/hurd/errnos.awk: Likewise.
27627 * sysdeps/mach/hurd/fork.c: Likewise.
27628 * sysdeps/mach/hurd/getcwd.c: Likewise.
27629 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27630 * sysdeps/mach/hurd/mmap.c: Likewise.
27631 * sysdeps/mach/hurd/utimes.c: Likewise.
27632 * sysdeps/mach/hurd/xmknod.c: Likewise.
27633 * sysdeps/posix/profil.c: Likewise.
27634 * sysdeps/posix/readdir_r.c: Likewise.
27635 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27636 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27637 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27638 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27640 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27641 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27642 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27644 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27645 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27646 * sysdeps/pthread/lio_listio.c: Likewise.
27647 * sysdeps/sparc/dl-procinfo.h: Likewise.
27648 * sysdeps/unix/i386/sysdep.S: Likewise.
27649 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27650 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27651 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27652 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27654 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27655 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27656 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27657 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27658 * sysdeps/wordsize-32/divdi3.c: Likewise.
27659 * time/sys/time.h: Likewise.
27660 * wcsmbs/Makefile: Likewise.
27661
0549fbba
DM
276622013-01-01 David S. Miller <davem@davemloft.net>
27663
a141f1a7
DM
27664 * po/fr.po: Update from translation team.
27665
0549fbba
DM
27666 * catgets/gencat.c: Update copyright year.
27667 * csu/version.c: Likewise.
27668 * debug/catchsegv.sh: Likewise.
27669 * debug/pcprofiledump.c: Likewise.
27670 * debug/xtrace.sh: Likewise.
27671 * elf/ldconfig.c: Likewise.
27672 * elf/ldd.bash.in: Likewise.
27673 * elf/pldd.c: Likewise.
27674 * elf/sotruss.ksh: Likewise.
27675 * elf/sprof.c: Likewise.
27676 * iconv/iconv_prog.c: Likewise.
27677 * iconv/iconvconfig.c: Likewise.
27678 * locale/programs/locale.c: Likewise.
27679 * locale/programs/localedef.c: Likewise.
27680 * login/programs/pt_chown.c: Likewise.
27681 * malloc/memusage.sh: Likewise.
27682 * malloc/memusagestat.c: Likewise.
27683 * malloc/mtrace.pl: Likewise.
27684 * nscd/nscd.c: Likewise.
27685 * nss/getent.c: Likewise.
27686 * nss/makedb.c: Likewise.
27687 * posix/getconf.c: Likewise.
27688
18ea052c
SP
276892012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27690
27691 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27692 numbers.
27693
9c89fca6
MF
276942012-12-30 Mike Frysinger <vapier@gentoo.org>
27695
27696 * math/bits/mathcalls.h (modf): Use __nonnull.
27697
085ec079
SP
276982012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27699
27700 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27701 (split): Use macro CN instead of the bare value.
27702 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27703 could be used.
27704 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27705 instead of the bare value.
27706 (power1): Likewise.
27707
6d9f97e1
SP
277082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27709
d63f73be
SP
27710 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27711 __ATAN_TWOM.
27712 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27713
6d9f97e1
SP
27714 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27715 their values.
27716 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27717 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27718 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27719 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27720
4c4febf5
AJ
277212012-12-28 Andreas Jaeger <aj@suse.de>
27722
af5843ef
AJ
27723 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27724 values are from Linux 3.7.
27725
4c4febf5
AJ
27726 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27727 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27728
99136f82
SP
277292012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27730
2f216c3c 27731 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
27732 TRUE case.
27733
99136f82
SP
27734 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27735 (norm): Likewise.
27736 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27737 variables with preprocessor constants.
27738 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27739 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27740 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27741
7fffbdff
BH
277422012-12-27 Bruno Haible <bruno@clisp.org>
27743
27744 [BZ #14317]
27745 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27746 only if needed.
27747
b76eb5f0
SP
277482012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27749
31a7fe5c
SP
27750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27751 and use variable directly.
27752 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27753
b76eb5f0
SP
27754 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27755 MPONE.
27756 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27757 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27758 variable MPONE.
27759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27761 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27762 include directive. Remove local variable MPONE.
27763 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27764 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27765 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27766
2c8bfe7d
DM
277672012-12-25 David S. Miller <davem@davemloft.net>
27768
27769 * version.h (RELEASE): Set to "development".
27770 (VERSION): Set to "2.17.90".
27771 * NEWS: Add 2.18 section.
27772
147d03b0
DM
277732012-12-21 David S. Miller <davem@davemloft.net>
27774
27775 * po/hr.po: Update from translation team.
27776
a8ebb2b9
AK
277772012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27778
27779 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27780
95b4f1b6
SE
277812012-12-19 Steve Ellcey <sellcey@mips.com>
27782
b2d94007 27783 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 27784
cedb2a90
MS
277852012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27786
27787 * manual/contrib.texi (Contributors): Spelling correction.
27788
bbf527d6
DM
277892012-12-15 David S. Miller <davem@davemloft.net>
27790
27791 * po/ru.po: Update from translation team.
27792
bc38c906
DM
277932012-12-13 David S. Miller <davem@davemloft.net>
27794
85429b1a
DM
27795 * NEWS: Mention IFUNC testsuite enhancements.
27796
d283e353
DM
27797 * po/pl.po: Update from translation team.
27798 * po/bg.po: Likewise.
27799
bc38c906
DM
27800 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27801 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27802
a181b0d7
DM
278032012-12-11 David S. Miller <davem@davemloft.net>
27804
4641d57e
DM
27805 * po/sv.po: Update from translation team.
27806
f7bc6495
DM
27807 * po/vi.po: Update from translation team.
27808
6fc9048f
DM
27809 * po/cs.po: Update from translation team.
27810
a181b0d7
DM
27811 * po/de.po: Update from translation team.
27812 * po/eo.po: Likewise.
27813 * po/nl.po: Likewise.
27814
f70bfe80
SP
278152012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27816
3c8b4190
SP
27817 [BZ #14246]
27818 * manual/argp.texi (Argp Helper Functions): Move node to follow
27819 Argp Parsing State.
27820
f70bfe80
SP
27821 [BZ #14872]
27822 * manual/conf.texi (Limits on File System Capacity): Mention if
27823 terminating null is included in the max size.
27824
188f0adf
AJ
278252012-12-10 Andreas Jaeger <aj@suse.de>
27826
27827 * po/cs.po: Update from translation team.
27828
56e7d3ad
SP
278292012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27830
27831 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27832 void pointer and cast to uintptr_t.
27833 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27834 path.
27835 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27836 * sysdeps/s390/s390-64/memset.S: Likewise.
27837
76f2d2ea 278382012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
27839
27840 [BZ #14833]
27841 * menual/message.texi (Message Translation): Fix typos.
27842 (Helper programs for gettext): Likewise.
27843
67cbf9a2
AS
278442012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27845
27846 [BZ #14898]
27847 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27848 Change to -1.
27849
682d0e9a
DM
278502012-12-07 David S. Miller <davem@davemloft.net>
27851
27852 * po/libc.pot: Update.
27853
573cd484
RH
278542012-12-07 Richard Henderson <rth@redhat.com>
27855
7e9da188 27856 [BZ #10114]
573cd484
RH
27857 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27858 normal/normal case to before the switch.
27859 (_FP_DIV): Likewise.
27860
e933a943
MF
278612012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27862 Mike Frysinger <vapier@gentoo.org>
27863
27864 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27865 check for __NR_fadvise64_64.
27866
82123268
CM
278672012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27868
27869 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27870 0, not just to plain "0" as a statement.
27871 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27872 with cw.
27873
d9814526
JM
278742012-12-06 Joseph Myers <joseph@codesourcery.com>
27875
27876 * NEWS: Use sourceware.org in Bugzilla URL.
27877
7728c574
SP
278782012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27879
f16946dd
SP
27880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27881 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27882
5704bbcb
SP
27883 * stdio-common/tst-put-error.c (do_test): Add newline to the
27884 padded test to ensure flush.
27885
17aa0516
JL
278862012-12-05 Jeff Law <law@redhat.com>
27887
27888 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27889
363313b5
JM
278902012-12-05 Joseph Myers <joseph@codesourcery.com>
27891
effbd42a
JM
27892 * README: Don't refer to ports add-on as distributed separately.
27893 Mention AArch64 in list of systems supported in the ports add-on.
27894
87600365
JM
27895 * LICENSES: Add more non-FSF copyright and license notices.
27896
a0d7066a
JM
27897 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27898 ((unused)).
27899
66ca5a5b
JM
27900 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27901
363313b5
JM
27902 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27903 10000 as width of padded output.
27904
b37984ad
JM
279052012-12-04 Joseph Myers <joseph@codesourcery.com>
27906
9003570a
JM
27907 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27908
b37984ad
JM
27909 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27910 variable LX with __attribute__ ((unused)).
27911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27912 Likewise.
27913 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27914 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27916 with __attribute__ ((unused)).
27917
c8df52ec
DM
279182012-12-04 David S. Miller <davem@abraco.davemloft.net>
27919
27920 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27921
b3b099af
JM
279222012-12-04 Joseph Myers <joseph@codesourcery.com>
27923
c33aa6e3
JM
27924 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27925 (CFLAGS-nldbl-acos.c): New variable.
27926 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27927 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27928 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27929 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27930 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27931 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27932 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27933 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27934 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27935 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27936 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27937 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27938 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27939 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27940 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27941 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27942 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27943 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27944 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27945 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27946 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27947 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27948 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27949 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27950 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27951 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27952 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27953 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27954 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27955 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27956 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27957 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27958 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27959 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27960 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27961 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27962 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27963 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27964 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27965 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27966 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27967 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27968 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27969 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27970 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27971 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27972 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27973 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27974 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27975 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27976 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27977 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27978 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27979 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27980 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27981 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27982 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27983 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27984 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27985 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27986 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27987 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27988 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27989 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27990 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27991 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27992 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27993 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27994 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27995 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27996 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27997 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27998 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27999 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28000 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28001 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28002 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28003 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28004 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28005 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28006 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28007 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28008 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28009 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28010 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28011 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28012 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28013 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28014 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28015 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28016 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28017 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28018 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28019 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28020 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28021 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28022 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28023
20f0018d
JM
28024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28025 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28026
b3b099af
JM
28027 [BZ #14914]
28028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28029 whole low double instead of just low 47 bits when splitting values
28030 into two parts.
28031
029264d1
AM
280322012-12-03 Allan McRae <allan@archlinux.org>
28033
28034 * manual/stdio.texi (Predefined Printf Handlers): Remove
28035 @hsep and @vsep usage.
28036
c9d6789e
MF
280372012-12-03 Mike Frysinger <vapier@gentoo.org>
28038
28039 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28040 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28041
4b7634a5
JL
280422012-12-03 Jeff Law <law@redhat.com>
28043
28044 * time/sys/time.h (settimeofday): Do not mark TV argument
28045 as __nonnull.
28046
eb6cbd24
MF
280472012-12-01 Mike Frysinger <vapier@gentoo.org>
28048
28049 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28050 when currently writing and seek to current position when not.
28051 * libio/Makefile (tests): Remove bug-fclose1.
28052 * libio/bug-fclose1.c: Delete.
28053
f638872a
JM
280542012-12-01 Joseph Myers <joseph@codesourcery.com>
28055
28056 * manual/arith.texi (feenableexcept): Fix typo.
28057 (fedisableexcept): Likewise.
28058
48085d14
RM
280592012-11-30 Roland McGrath <roland@hack.frob.com>
28060
28061 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28062 second, differently-typed declaration, rather than a cast.
28063
1a538b9f
SP
280642012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28065
28066 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28067 * include/rpc/svc.h: ... here.
28068
d07f2ff1 280692012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28070
28071 [BZ #13013]
28072 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28073 depending n and resplen2 to catch cases where answer
28074 equals answerp2.
28075
c93ec1f0
CD
280762012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28077
28078 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28079 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28080
37db69de
MF
280812012-11-29 Mike Frysinger <vapier@gentoo.org>
28082
28083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28084
e10c4e4f
RM
280852012-11-29 Roland McGrath <roland@hack.frob.com>
28086
28087 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28088
2af1b328
JL
280892012-11-28 Jeff Law <law@redhat.com>
28090
28091 [BZ #13761]
28092 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28093 dataset_temporary. Track alloca usage into alloca_used.
28094 If dataset is large allocate and release it via malloc/free.
28095
111db5b1
FW
280962012-06-04 Florian Weimer <fweimer@redhat.com>
28097
f06cc227 28098 [BZ #14197]
111db5b1
FW
28099 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28100
dd694abd
DM
281012012-11-28 David S. Miller <davem@davemloft.net>
28102
28103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28104
9984dd01
JM
281052012-11-28 Joseph Myers <joseph@codesourcery.com>
28106
28107 [BZ #14803]
28108 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28109 of pi/2 rounded to nearest to 64 bits.
28110 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28111 nearest to 64 bits.
28112 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28113 bits.
28114
14bc93a9
JL
281152012-11-28 Jeff Law <law@redhat.com>
28116 Martin Osvald <mosvald@redhat.com>
28117
28118 [BZ #14889]
28119 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28120 * sunrpc/svc.c: Include time.h.
28121 (__svc_accept_failed): New function.
28122 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28123 any reason other than EINTR, call __svc_accept_failed.
28124 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28125 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28126
e3c6aa3a
AS
281272012-11-28 Andreas Schwab <schwab@suse.de>
28128
28129 * scripts/abilist.awk: Also handle indirect functions in .opd
28130 section.
28131
1bead169
JM
281322012-11-28 Joseph Myers <joseph@codesourcery.com>
28133
28134 [BZ #13881]
28135 * sysdeps/x86/fpu/powl_helper.c: New file.
28136 * sysdeps/x86/fpu/Makefile: Likewise.
28137 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28138 (p3): New object.
28139 (__ieee754_powl): Use __powl_helper for finite arguments except
28140 integer exponents below 8.
28141 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28142 (p3): New object.
28143 (__ieee754_powl): Use __powl_helper for finite arguments except
28144 integer exponents below 8.
28145 * math/libm-test.inc (pow_test): Add more tests and enable some
28146 previously disabled tests.
28147 * sysdeps/i386/fpu/libm-test-ulps: Update.
28148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28149
0817d63d
SP
281502012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28151 Carlos O'Donell <carlos_odonell@mentor.com>
28152
28153 * nss/makedb.c (is_prime): Assert that input is odd and greater
28154 than 4. Note that fact in a comment too.
28155 (next_prime): Add 4 to input.
28156
de2fd463
SP
281572012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28158
28159 [BZ #11741]
28160 * libio/Makefile (tests): Add test case tst-fwrite-error.
28161 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28162 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28163 * libio/tst-fwrite-error.c: New test case.
28164
c515fb51
L
281652012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28168 before casting to void *.
28169 * include/libc-internal.h (__pointer_type): New macro.
28170 (__integer_if_pointer_type_sub): Likewise.
28171 (__integer_if_pointer_type): Likewise.
28172 (cast_to_integer): Likewise.
28173 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28174 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28175 before casting to atomic64_t.
28176 (atomic_exchange_acq): Likewise.
28177 (__arch_exchange_and_add_body): Likewise.
28178 (__arch_add_body): Likewise.
28179 (atomic_add_negative): Likewise.
28180 (atomic_add_zero): Likewise.
28181
4cf77aa9
JM
281822012-11-26 Joseph Myers <joseph@codesourcery.com>
28183
28184 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28185 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28186 (add_fdes): Likewise.
28187 (linear_search_fdes): Likewise.
28188 (binary_search_unencoded_fdes): Likewise.
28189
d260b3b4
AS
281902012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28191
28192 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28193
67060746
AC
281942012-11-24 Adam Conrad <adconrad@0c3.net>
28195
28196 * configure.in: Autodetect C++ header directories.
28197 * configure: Regenerated.
28198
800938a1
MF
281992012-11-23 Mike Frysinger <vapier@gentoo.org>
28200
28201 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28202
4e6e34e6
AS
282032012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28204
28205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28206
7c7feb47
JM
282072012-11-22 Joseph Myers <joseph@codesourcery.com>
28208
7184dcdf
JM
28209 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28210 LDBL_MANT_DIG == 106]: Disable some tests.
28211 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28212 Likewise.
28213 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28214 Likewise.
28215
0a42601f
JM
28216 [BZ #14871]
28217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28218 input for small inputs. Return +/- pi/2 for large inputs.
28219 * math/libm-test.inc (atan_test): Add more tests.
28220
79c9b9fe
JM
28221 * sysdeps/generic/unwind-dw2-fde-glibc.c
28222 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28223 __attribute__ ((unused)).
28224
c60d3bf2
JM
28225 [BZ #14645]
28226 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28227 x * y if x and y are nonzero and z is zero.
28228
ef1e0867
JM
28229 [BZ #14811]
28230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28231 nonzero exponents with absolute value below 0x1p-117 to +/-
28232 0x1p-117.
28233
1468ded3
JM
28234 [BZ #14869]
28235 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28236 up arguments below 2**-450, not just those below 2**-500.
28237 * math/libm-test.inc (hypot_test): Add another test.
28238
8e27e3cc
JM
28239 [BZ #14868]
28240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28241 Return a+b for ratio over 2**120, not 2**60.
28242 * math/libm-test.inc (hypot_test): Add another test.
28243
c9c0279b
JM
28244 * math/libm-test.inc (clog_test): Use
28245 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28246 (clog10_test): Likewise.
28247
7c7feb47
JM
28248 [BZ #6778]
28249 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28250
fff1530e
AS
282512012-11-22 Andreas Schwab <schwab@suse.de>
28252
28253 * sysdeps/i386/fpu/libm-test-ulps: Update.
28254
94558d30
PT
282552012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28256
28257 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28258 printf output with newline.
28259
7e1be741
L
282602012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28261
6bfea974
L
28262 [BZ #14865]
28263 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28264 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28265 -z nodlopen, -z initfirst and -z execstack support.
28266 * configure: Regenerated.
28267
7e1be741
L
28268 * elf/elf.h (DF_1_NODIRECT): New macro.
28269 (DF_1_IGNMULDEF): Likewise.
28270 (DF_1_NOKSYMS): Likewise.
28271 (DF_1_NOHDR): Likewise.
28272 (DF_1_EDITED): Likewise.
28273 (DF_1_NORELOC): Likewise.
28274 (DF_1_SYMINTPOSE): Likewise.
28275 (DF_1_GLOBAUDIT): Likewise.
28276 (DF_1_SINGLETON): Likewise.
28277 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28278 DT_1_SUPPORTED_MASK bits.
28279 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28280
105ce2ce
CD
282812012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28282
28283 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28284
123be9de
TS
282852012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28286
d072f3f7
TS
28287 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28288 macro.
28289
123be9de
TS
28290 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28291 (sendmmsg): Move declarations...
28292 * socket/sys/socket.h: ... here.
28293 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28294 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28295 include it from...
28296 * socket/recvmmsg.c: ... this new file.
28297 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28298 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28299 definition of __sendmmsg hidden.
28300 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28301 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28302 Move ENOSYS stub into and include it from...
28303 * socket/sendmmsg.c: ... this new file.
28304 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28305 (sysdep_routines): Move recvmmsg and sendmmsg...
28306 * socket/Makefile (routines): ... here.
28307 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28308 (GLIBC_PRIVATE): Add __sendmmsg.
28309 * include/sys/socket.h (__sendmmsg): Add declarations.
28310 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28311 sendmmsg.
28312
cf9a5d18
JM
283132012-11-20 Joseph Myers <joseph@codesourcery.com>
28314
28315 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28316 variable I1 with __attribute__ ((unused)).
28317 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28318
ecd4caf9
JM
283192012-11-19 Joseph Myers <joseph@codesourcery.com>
28320
be14d48f
JM
28321 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28322 DUMMY variables with __attribute__ ((unused)).
28323
ecd4caf9
JM
28324 * bits/byteswap.h: Include <bits/types.h>.
28325 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28326
986cab95
PT
283272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28328
28329 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28330 string_t. Do not manually set errno.
28331 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28332 length with __strnlen. Make sure to both set errno and return it on
28333 failure.
28334
6d33cc9d
DM
283352012-11-19 David S. Miller <davem@davemloft.net>
28336
28337 With help from Joseph Myers.
28338 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28339 very large arguments properly.
28340 * math/libm-test.inc (atan_test): New tests.
28341 (atan2_test): New tests.
28342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28344
ee663277
JM
283452012-11-19 Joseph Myers <joseph@codesourcery.com>
28346
877f2d8e
JM
28347 [BZ #14856]
28348 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28349 Define to 3.
28350
116fc08a
JM
28351 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28352 [POSIX] (EADDRNOTAVAIL): Likewise.
28353 [POSIX] (EAFNOSUPPORT): Likewise.
28354 [POSIX] (EALREADY): Likewise.
28355 [POSIX] (ECONNABORTED): Likewise.
28356 [POSIX] (ECONNREFUSED): Likewise.
28357 [POSIX] (ECONNRESET): Likewise.
28358 [POSIX] (EDESTADDRREQ): Likewise.
28359 [POSIX] (EDQUOT): Likewise.
28360 [POSIX] (EHOSTUNREACH): Likewise.
28361 [POSIX] (EIDRM): Likewise.
28362 [POSIX] (EISCONN): Likewise.
28363 [POSIX] (ELOOP): Likewise.
28364 [POSIX] (EMULTIHOP): Likewise.
28365 [POSIX] (ENETDOWN): Likewise.
28366 [POSIX] (ENETUNREACH): Likewise.
28367 [POSIX] (ENOBUFS): Likewise.
28368 [POSIX] (ENODATA): Likewise.
28369 [POSIX] (ENOLINK): Likewise.
28370 [POSIX] (ENOMSG): Likewise.
28371 [POSIX] (ENOPROTOOPT): Likewise.
28372 [POSIX] (ENOSR): Likewise.
28373 [POSIX] (ENOSTR): Likewise.
28374 [POSIX] (ENOTCONN): Likewise.
28375 [POSIX] (ENOTSOCK): Likewise.
28376 [POSIX] (EOPNOTSUPP): Likewise.
28377 [POSIX] (EOVERFLOW): Likewise.
28378 [POSIX] (EPROTO): Likewise.
28379 [POSIX] (EPROTONOSUPPORT): Likewise.
28380 [POSIX] (EPROTOTYPE): Likewise.
28381 [POSIX] (ESTALE): Likewise.
28382 [POSIX] (ETIME): Likewise.
28383 [POSIX] (ETXTBSY): Likewise.
28384 [POSIX] (EWOULDBLOCK): Likewise.
28385 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28386 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28387 [POSIX] (SEEK_CUR): Likewise.
28388 [POSIX] (SEEK_END): Likewise.
28389 [POSIX || UNIX98] (mode_t): Do not require.
28390 [POSIX] (off_t): Likewise.
28391 [POSIX] (pid_t): Likewise.
28392 [POSIX] (sys/stat.h): Do not allow header.
28393 [POSIX] (unistd.h): Likewise.
28394 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28395 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28396 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28397 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28398 require.
28399 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28400 sigevent): Specify elements.
28401 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28402 entry.
28403 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28404 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28405
a483863f
JM
28406 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28407 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28408 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28409 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28410 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28411 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28412 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28413 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28414 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28415 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28416 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28417 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28418 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28419 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28420 Likewise.
28421 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28422 Likewise.
28423 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28424 Likewise.
28425 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28426 Likewise.
28427 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28428 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28429 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28430 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28431 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28432 Specify lower bound on value.
28433 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28434 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28435 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28436 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28437 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28438 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28439 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28440 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28441 value.
28442 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28443 as optional.
28444 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28445 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28446 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28447 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28448 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28449 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28450 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28451 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28452 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28453 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28454 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28455 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28456 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28457 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28458 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28459 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28460 entry.
28461 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28462 optional.
28463 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28464 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28465 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28466 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28467 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28468 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28469 Likewise.
28470 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28471 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28472 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28473 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28474 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28475 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28476 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28477 as optional.
28478 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28479 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28480 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28481 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28482 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28483 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28484 specify as optional.
28485 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28486 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28487 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28488 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28489 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28490 [XPG3] (NL_LANGMAX): Likewise.
28491 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28492 [POSIX || XPG3] (NL_NMAX): Likewise.
28493 [POSIX || XPG3] (NL_SETMAX): Likewise.
28494 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28495 [XPG3] (NZERO): Likewise.
28496 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28497 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28498 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28499 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28500 (REG_ERANGE): Expect.
28501 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28502 optional-constant.
28503 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28504 Use (void) in prototype.
28505 [POSIX] (*_t): Allow.
28506 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28507 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28508 (WRDE_BADVAL): Expect.
28509
5ba924e3
JM
28510 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28511 expect.
28512 [XPG3 || XPG4] (O_RSYNC): Likewise.
28513 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28514 Likewise.
28515 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28516 [XPG3 || XPG4] (sigqueue): Likewise.
28517 [XPG3 || XPG4] (sigtimedwait): Likewise.
28518 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28519 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28520 [XPG3 || XPG4] (vsnprintf): Likewise.
28521 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28522 Likewise.
28523 [XPG3 || XPG4] (blksize_t): Likewise.
28524 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28525 Likewise.
28526 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28527 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28528 [XPG3 || XPG4] (struct itimerspec): Likewise.
28529 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28530 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28531 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28532 [XPG3 || XPG4] (clockid_t): Likewise.
28533 [XPG3 || XPG4] (timer_t): Likewise.
28534 [XPG3 || XPG4] (clock_getres): Likewise.
28535 [XPG3 || XPG4] (clock_gettime): Likewise.
28536 [XPG3 || XPG4] (clock_settime): Likewise.
28537 [XPG3 || XPG4] (nanosleep): Likewise.
28538 [XPG3 || XPG4] (timer_create): Likewise.
28539 [XPG3 || XPG4] (timer_delete): Likewise.
28540 [XPG3 || XPG4] (timer_gettime): Likewise.
28541 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28542 [XPG3 || XPG4] (timer_settime): Likewise.
28543 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28544 [XPG3 || XPG4] (getlogin_r): Likewise.
28545 [XPG3 || XPG4] (pread): Likewise.
28546 [XPG3 || XPG4] (pthread_atfork): Likewise.
28547 [XPG3 || XPG4] (pwrite): Likewise.
28548
ee663277
JM
28549 [BZ #14835]
28550 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28551 <bits/siginfo.h>.
28552
942caa16
PT
285532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28554
e19af380
PT
28555 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28556 finalizing MALLSTREAM.
28557
942caa16
PT
28558 * sysdeps/mach/hurd/syncfs.c: New file.
28559
cfde9b46
SP
285602012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28561
28562 [BZ #14719]
28563 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28564 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28565 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28566 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28567 (_nss_dns_gethostbyname4_r): Likewise.
28568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28569 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28570
f6da27e5
PH
285712012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28572
28573 [BZ #13763]
28574 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28575
6665d4a2
SM
285762012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28577
1f51ee92
SM
28578 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28579 * elf/cache.c (print_entry): Print ",AArch64" for
28580 FLAG_AARCH64_LIB64
28581
6665d4a2
SM
28582 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28583 * elf/cache.c (print_entry): Print ",hard-float" for
28584 FLAG_ARM_LIBHF.
28585
05b227bd
DM
285862012-11-18 David S. Miller <davem@davemloft.net>
28587
28588 With help from Joseph Myers.
28589 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28590 cutoff to 2**-13.
28591 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28592 cutoff to 2**-25.
28593 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28594 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28595 small.
28596 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28597 * math/libm-test.inc (y0_test): New tests.
28598 (y1_test): New tests.
28599 * sysdeps/i386/fpu/libm-test-ulps: Update.
28600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28602
786b0b67
AS
286032012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28604
28605 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28606 64-bit targets.
28607 * configure: Regenerated.
28608
8e18b86d
DM
286092012-11-17 David S. Miller <davem@davemloft.net>
28610
28611 [BZ #14811]
28612 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28613 nonzero exponents with absolute value below 0x1p-128 to +/-
28614 0x1p-128.
28615
531f1ae0
JM
286162012-11-17 Joseph Myers <joseph@codesourcery.com>
28617
12df29e2
JM
28618 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28619
150dc1a0
JM
28620 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28621
531f1ae0
JM
28622 * posix/getconf-speclist.c: New file.
28623 * posix/posix-envs.def: Likewise.
28624 * posix/confstr.c (START_ENV_GROUP): New macro.
28625 (END_ENV_GROUP): Likewise.
28626 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28627 (KNOWN_PRESENT_ENV_STRING): Likewise.
28628 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28629 (UNKNOWN_ENVIRONMENT): Likewise.
28630 (confstr): Include posix-envs.def instead of handling
28631 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28632 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28633 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28634 (END_ENV_GROUP): Likewise.
28635 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28636 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28637 (UNKNOWN_ENVIRONMENT): Likewise.
28638 (__sysconf): Include posix-envs.def instead of handling associated
28639 cases directly here.
28640 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28641 preprocessing getconf-speclist.c rather than running getconf or
28642 generating empty file.
28643
a93f9cbc
PT
286442012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28645
28646 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28647
d64d9f87
AL
286482012-11-16 Andrej Lajovic <natrij@gmail.com>
28649
28650 [BZ #14672]
28651 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28652
447885eb
DM
286532012-11-16 David S. Miller <davem@davemloft.net>
28654
28655 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28656 smaller than LDBL_EPSILON/2.0L, just return xm1.
28657
bcbf9830
L
286582012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28659
28660 * elf/tst-array1.c (init): Set constructor priority to 1000.
28661 (fini): Set destructor priority to 1000.
28662 * elf/tst-array2dep.c: Likewise.
28663
2b766585
SP
286642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28665
28666 [BZ #11741]
28667 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28668 (_IO_new_file_xsputn): Also return EOF if none of the input
28669 data was written when overflow failed.
28670 * libio/iopadn.c (_IO_padn): Likewise.
28671 * libio/iowpadn.c (_IO_wpadn): Likewise.
28672 * stdio-common/tst-put-error.c: Add copyright notice.
28673 (do_test): Add case for printing padded string.
28674 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28675 _IO_padn returned error.
28676 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28677 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28678 return EOF.
28679
b1848fde
SP
286802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28681
28682 * libio/libioP.h: Add comment note that the references to C++
28683 bits are now obsolete.
28684
2fd89785
MS
286852012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28686
28687 * math/libm-test.inc (check_complex): Use asprintf.
28688
e3ea5409
JM
286892012-11-14 Joseph Myers <joseph@codesourcery.com>
28690
28691 * debug/pcprofiledump.c (print_version): Update copyright year.
28692 * malloc/memusagestat.c (print_version): Likewise.
28693
2e64d265
L
286942012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28695
28696 [BZ #14831]
28697 * elf/Makefile (tests): Add tst-audit8.
28698 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28699 ($(objpfx)tst-audit8.out): New target.
28700 (tst-audit8-ENV): New variable.
28701 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28702 audit if l_reloc_result is NULL.
28703 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28704 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28705 * elf/tst-audit8.c: New file.
28706
c485e4d2
MS
287072012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28708
28709 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28710 * misc/Makefile (CFLAGS-select.c): Define.
28711 * posix/Makefile (CFLAGS-pause.c): Define.
28712
3a0d900a
DM
287132012-11-13 David S. Miller <davem@davemloft.net>
28714
28715 * crypt/Makefile: Move test targets after toplevel Rules
28716 inclusion. Grab any necessary sysdep routines when linking.
28717 * crypt/md5.c (md5_process_block): Remove define, we will always
28718 name it __md5_process_block.
28719 (md5_finish_ctx): Update md5_process_block call.
28720 (md5_stream): Likewise.
28721 (md5_process_bytes): Likewise.
28722 (md5_process_block): Rename to __md5_process_block and move to ...
28723 * crypt/md5-block.c: ... here.
28724 * crypt/sha256.c (sha256_process_block): Move to ...
28725 * crypt/sha256-block.c: ... here.
28726 * crypt/sha512.c (sha512_process_block): Move to ...
28727 * crypt/sha512-block.c: ... here.
28728 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28729 path.
28730 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28731 * sysdeps/sparc/sparc64/multiarch/Makefile
28732 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28733 crypt subdir.
28734 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28735 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28736 multiarch changes.
28737 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28738 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28739 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28740 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28741 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28742 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28743 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28744 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28745 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28746 file.
28747 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28748 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28749 file.
28750 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28751
8ca89318
JM
287522012-11-13 Joseph Myers <joseph@codesourcery.com>
28753
e27d476a
JM
28754 * timezone/tzselect.ksh: Update from tzcode git revision
28755 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28756 * timezone/zdump.c: Likewise.
28757 * timezone/zic.c: Likewise.
28758 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28759 in TZVERSION setting, not $(PKGVERSION).
28760 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28761 REPORT_BUGS_TO settings.
28762
8ca89318
JM
28763 [BZ #14838]
28764 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28765 macro.
28766
47594329
MS
287672012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28768
28769 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28770 detection to immediately after _FP_ROUND().
28771 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28772 bits are 0.
28773
640ac3f1
DM
287742012-11-11 David S. Miller <davem@davemloft.net>
28775
28776 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28777 inttypes.h
28778 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28779 __close rather than their public counterparts.
28780
3d2577bb
JM
287812012-11-10 Joseph Myers <joseph@codesourcery.com>
28782
28783 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28784 file.
28785 [UNIX98] (sem_timedwait): Do not expect.
28786 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28787 [XPG4 || UNIX98] (sockatmark): Do not expect.
28788 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28789 (clock_getcpuclockid): Do not expect.
28790 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28791 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28792 Do not expect.
28793 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28794 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28795 [UNIX98] (vwscanf): Likewise.
28796 [UNIX98] (vswscanf): Likewise.
28797
fb1ae1ee
JM
287982012-11-09 Joseph Myers <joseph@codesourcery.com>
28799
9ec6f8bd
JM
28800 * timezone/version.h: Remove file.
28801 * timezone/README: Do not refer to version.h.
28802 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28803 $(objpfx)version.h.
28804 ($(objpfx)zdump.o): Likewise.
c3f81911 28805 ($(objpfx)version.h): New target.
9ec6f8bd 28806
0aa8f8a1
JM
28807 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28808 2012i.
28809 * timezone/README: Don't mention modification to tzselect.ksh.
28810 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28811 work on unmodified tzselect.ksh. Substitute version numbers in
28812 tzselect.ksh.
28813
4e87147f
JM
28814 * Makefile (format-me): Remove.
28815 (INSTALL): Adjust indentation. Use commands directly instead of
28816 using $(format-me).
28817
8b748aed
JM
28818 * aclocal.m4 (ACX_PKGVERSION): New macro.
28819 (ACX_BUGURL): Likewise.
28820 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28821 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28822 (REPORT_BUGS_TO): Likewise.
28823 * configure: Regenerated.
28824 * config.h.in (PKGVERSION): New macro.
28825 (REPORT_BUGS_TO): Likewise.
28826 * config.make.in (PKGVERSION): New variable.
28827 (PKGVERSION_TEXI): Likewise.
28828 (REPORT_BUGS_TO): Likewise.
28829 (REPORT_BUGS_TEXI): Likewise.
28830 * Makefile (format-me): Use -I$(common-objpfx)manual.
28831 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28832 ($(common-objpfx)manual/%): New target.
28833 (manual/%): Remove target.
28834 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28835 (print_version): Use PKGVERSION.
28836 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28837 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28838 and REPORT_BUGS_TO.
28839 ($(objpfx)xtrace): Likewise.
28840 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28841 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28842 (print_version): Use PKGVERSION.
28843 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28844 (do_version): Use PKGVERSION.
28845 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28846 REPORT_BUGS_TO.
28847 (common-ldd-rewrite): Likewise.
28848 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28849 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28850 (print_version): Use PKGVERSION.
28851 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28852 * elf/pldd.c (argp_program_bug_address): Remove variable.
28853 (more_help): New function.
28854 (argp): Use more_help.
28855 (print_version): Use PKGVERSION.
28856 * elf/sln.c (main): Use PKGVERSION.
28857 (usage): Use REPORT_BUGS_TO.
28858 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28859 (top level): Use PKGVERSION.
28860 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28861 (print_version): Use PKGVERSION.
28862 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28863 (print_version): Use PKGVERSION.
28864 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28865 (print_version): Use PKGVERSION.
28866 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28867 (print_version): Use PKGVERSION.
28868 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28869 (print_version): Use PKGVERSION.
28870 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28871 (print_version): Use PKGVERSION.
28872 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28873 and BUGURL.
28874 ($(objpfx)memusage): Likewise.
28875 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28876 (do_version): Use PKGVERSION.
28877 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28878 (print_version): Use PKGVERSION.
28879 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28880 ($PKGVERSION): New variable.
28881 ($REPORT_BUGS_TO): Likewise.
28882 (usage): Use $REPORT_BUGS_TO.
28883 (top level): Use $PKGVERSION.
28884 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28885 ($(objpfx)pkgvers.texi): New rule.
28886 ($(objpfx)stamp-pkgvers): Likewise.
28887 * manual/install.texi: Include pkgvers.texi.
28888 (--with-pkgversion): Document new configure option.
28889 (--with-bugurl): Likewise.
28890 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28891 than necessarily for this particular distribution. Use
28892 REPORT_BUGS_TO for where to report bugs.
28893 * INSTALL: Regenerated.
28894 * manual/libc.texinfo: Include pkgvers.texi.
28895 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28896 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28897 (print_version): Use PKGVERSION.
28898 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28899 (print_version): Use PKGVERSION.
28900 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28901 (print_version): Use PKGVERSION.
28902 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28903 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28904 macro.
28905 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28906 (print_version): Use PKGVERSION.
28907 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28908 (print_version): Use PKGVERSION.
28909 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28910 and PKGVERSION.
28911
92e4b6a9
JM
28912 * timezone/checktab.awk: Update from tzcode 2012i.
28913 * timezone/ialloc.c: Likewise.
28914 * timezone/private.h: Likewise.
28915 * timezone/scheck.c: Likewise.
28916 * timezone/tzfile.h: Likewise.
28917 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28918 (TZVERSION): Hardcode tzcode version number.
28919 * timezone/zdump.c: Update from tzcode 2012i.
28920 * timezone/zic.c: Likewise.
28921 * timezone/version.h: New file.
28922 * timezone/README: Describe version.h. Update upstream location.
28923
9bde902c
JM
28924 [BZ #14824]
28925 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28926 (mktemp): Enable declaration.
28927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28928 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28931 Likewise.
28932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28933 Likewise.
28934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28935 Likewise.
28936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28937 Likewise.
28938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28939 Likewise.
28940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28941 Likewise.
28942
fb1ae1ee
JM
28943 [BZ #14821]
28944 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28945 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28946 for copies of such integer values.
28947 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28948 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28949
2c1adbcb
AJ
289502012-11-09 Andreas Jaeger <aj@suse.de>
28951
28952 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28953 definitions and declarations that are provided by
28954 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28955
d0f8457e
AK
289562012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28957
3a235abb 28958 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
28959 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28960 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28961 definition.
28962
57241e26
MS
289632012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28964
28965 * elf/elf.h: Update comment before AArch64 relocations.
28966
60e8270d
DM
289672012-11-07 David S. Miller <davem@davemloft.net>
28968
28969 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28970 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28971 (__start_context): Declare.
28972 (__makecontext_ret): Delete.
28973 (__makecontext): Hook up __start_context instead of
28974 __makecontext_ret.
28975 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28976 (sysdep_routines): Add __start_context when in stdlib.
28977
0fbb0fbc
JM
289782012-11-07 Joseph Myers <joseph@codesourcery.com>
28979
28980 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28981 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28982 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28983 hardcoded "nm".
28984 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28985 (READELF): New variable. Use it instead of hardcoded "readelf".
28986
eb48db7e
L
289872012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28988
28989 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28990 * sysdeps/x86/Makefile: Here.
28991 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28992 * sysdeps/x86/tst-xmmymm.sh: This.
28993
05bcf62a
JM
289942012-11-07 Joseph Myers <joseph@codesourcery.com>
28995
c4b6cf53
JM
28996 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28997 expectations.
28998 [UNIX98] (pthread_barrier_t): Do not expect.
28999 [UNIX98] (pthread_barrierattr_t): Likewise.
29000 [UNIX98] (pthread_spinlock_t): Likewise.
29001 [UNIX98] (pthread_barrier_destroy): Likewise.
29002 [UNIX98] (pthread_barrier_init): Likewise.
29003 [UNIX98] (pthread_barrier_wait): Likewise.
29004 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29005 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29006 [UNIX98] (pthread_barrierattr_init): Likewise.
29007 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29008 [UNIX98] (pthread_getcpuclockid): Likewise.
29009 [UNIX98] (pthread_mutex_timedlock): Likewise.
29010 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29011 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29012 [UNIX98] (pthread_sigmask): Likewise.
29013 [UNIX98] (pthread_spin_destroy): Likewise.
29014 [UNIX98] (pthread_spin_init): Likewise.
29015 [UNIX98] (pthread_spin_lock): Likewise.
29016 [UNIX98] (pthread_spin_trylock): Likewise.
29017 [UNIX98] (pthread_spin_unlock): Likewise.
29018 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29019 Do not expect.
29020 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29021 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29022 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29023 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29024 [XPG3 || XPG4] (pthread_key_t): Likewise.
29025 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29026 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29027 [XPG3 || XPG4] (pthread_once_t): Likewise.
29028 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29029 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29030 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29031 [XPG3 || XPG4] (pthread_t): Likewise.
29032
cbe6e120
JM
29033 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29034 not expect.
29035 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29036
1b126443
JM
29037 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29038 Change function return type to int.
29039
b961a573
JM
29040 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29041 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29042 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29043 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29044 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29045 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29046 [!POSIX] (posix_madvise): Likewise.
29047 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29048 && !UNIX98].
29049 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29050 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29051 (mode_t): Likewise.
29052 (posix_mem_offset): Likewise.
29053 (posix_typed_mem_get_info): Likewise.
29054 (posix_typed_mem_open): Likewise.
29055
9e188909
JM
29056 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29057 Change condition to [XOPEN2K8].
29058
05bcf62a
JM
29059 * conform/conformtest.pl: Preprocess allow-header data with -x c
29060 instead of from stdin.
29061 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29062 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29063 [C99-based standards] (cerfc): Likewise.
29064 [C99-based standards] (cexp2): Likewise.
29065 [C99-based standards] (cexpm1): Likewise.
29066 [C99-based standards] (clog10): Likewise.
29067 [C99-based standards] (clog1p): Likewise.
29068 [C99-based standards] (clog2): Likewise.
29069 [C99-based standards] (clgamma): Likewise.
29070 [C99-based standards] (ctgamma): Likewise.
29071 [C99-based standards] (cerff): Likewise.
29072 [C99-based standards] (cerfcf): Likewise.
29073 [C99-based standards] (cexp2f): Likewise.
29074 [C99-based standards] (cexpm1f): Likewise.
29075 [C99-based standards] (clog10f): Likewise.
29076 [C99-based standards] (clog1pf): Likewise.
29077 [C99-based standards] (clog2f): Likewise.
29078 [C99-based standards] (clgammaf): Likewise.
29079 [C99-based standards] (ctgammaf): Likewise.
29080 [C99-based standards] (cerfl): Likewise.
29081 [C99-based standards] (cerfcl): Likewise.
29082 [C99-based standards] (cexp2l): Likewise.
29083 [C99-based standards] (cexpm1l): Likewise.
29084 [C99-based standards] (clog10l): Likewise.
29085 [C99-based standards] (clog1pl): Likewise.
29086 [C99-based standards] (clog2l): Likewise.
29087 [C99-based standards] (clgammal): Likewise.
29088 [C99-based standards] (ctgammal): Likewise.
29089 * conform/data/inttypes.h-data [C99-based standards]: Include
29090 stdint.h-data. Remove all expectations for stdint.h contents.
29091 [C99-based standards] (PRI*): Do not allow.
29092 [C99-based standards] (SCN*): Likewise.
29093 [C99-based standards] (*_t): Likewise.
29094 [C99-based-standards] (PRId8): Expect macro.
29095 [C99-based-standards] (PRIi8): Likewise.
29096 [C99-based-standards] (PRIo8): Likewise.
29097 [C99-based-standards] (PRIu8): Likewise.
29098 [C99-based-standards] (PRIx8): Likewise.
29099 [C99-based-standards] (PRIX8): Likewise.
29100 [C99-based-standards] (SCNd8): Likewise.
29101 [C99-based-standards] (SCNi8): Likewise.
29102 [C99-based-standards] (SCNo8): Likewise.
29103 [C99-based-standards] (SCNu8): Likewise.
29104 [C99-based-standards] (SCNx8): Likewise.
29105 [C99-based-standards] (PRIdLEAST8): Likewise.
29106 [C99-based-standards] (PRIiLEAST8): Likewise.
29107 [C99-based-standards] (PRIoLEAST8): Likewise.
29108 [C99-based-standards] (PRIuLEAST8): Likewise.
29109 [C99-based-standards] (PRIxLEAST8): Likewise.
29110 [C99-based-standards] (PRIXLEAST8): Likewise.
29111 [C99-based-standards] (SCNdLEAST8): Likewise.
29112 [C99-based-standards] (SCNiLEAST8): Likewise.
29113 [C99-based-standards] (SCNoLEAST8): Likewise.
29114 [C99-based-standards] (SCNuLEAST8): Likewise.
29115 [C99-based-standards] (SCNxLEAST8): Likewise.
29116 [C99-based-standards] (PRIdFAST8): Likewise.
29117 [C99-based-standards] (PRIiFAST8): Likewise.
29118 [C99-based-standards] (PRIoFAST8): Likewise.
29119 [C99-based-standards] (PRIuFAST8): Likewise.
29120 [C99-based-standards] (PRIxFAST8): Likewise.
29121 [C99-based-standards] (PRIXFAST8): Likewise.
29122 [C99-based-standards] (SCNdFAST8): Likewise.
29123 [C99-based-standards] (SCNiFAST8): Likewise.
29124 [C99-based-standards] (SCNoFAST8): Likewise.
29125 [C99-based-standards] (SCNuFAST8): Likewise.
29126 [C99-based-standards] (SCNxFAST8): Likewise.
29127 [C99-based-standards] (PRId16): Likewise.
29128 [C99-based-standards] (PRIi16): Likewise.
29129 [C99-based-standards] (PRIo16): Likewise.
29130 [C99-based-standards] (PRIu16): Likewise.
29131 [C99-based-standards] (PRIx16): Likewise.
29132 [C99-based-standards] (PRIX16): Likewise.
29133 [C99-based-standards] (SCNd16): Likewise.
29134 [C99-based-standards] (SCNi16): Likewise.
29135 [C99-based-standards] (SCNo16): Likewise.
29136 [C99-based-standards] (SCNu16): Likewise.
29137 [C99-based-standards] (SCNx16): Likewise.
29138 [C99-based-standards] (PRIdLEAST16): Likewise.
29139 [C99-based-standards] (PRIiLEAST16): Likewise.
29140 [C99-based-standards] (PRIoLEAST16): Likewise.
29141 [C99-based-standards] (PRIuLEAST16): Likewise.
29142 [C99-based-standards] (PRIxLEAST16): Likewise.
29143 [C99-based-standards] (PRIXLEAST16): Likewise.
29144 [C99-based-standards] (SCNdLEAST16): Likewise.
29145 [C99-based-standards] (SCNiLEAST16): Likewise.
29146 [C99-based-standards] (SCNoLEAST16): Likewise.
29147 [C99-based-standards] (SCNuLEAST16): Likewise.
29148 [C99-based-standards] (SCNxLEAST16): Likewise.
29149 [C99-based-standards] (PRIdFAST16): Likewise.
29150 [C99-based-standards] (PRIiFAST16): Likewise.
29151 [C99-based-standards] (PRIoFAST16): Likewise.
29152 [C99-based-standards] (PRIuFAST16): Likewise.
29153 [C99-based-standards] (PRIxFAST16): Likewise.
29154 [C99-based-standards] (PRIXFAST16): Likewise.
29155 [C99-based-standards] (SCNdFAST16): Likewise.
29156 [C99-based-standards] (SCNiFAST16): Likewise.
29157 [C99-based-standards] (SCNoFAST16): Likewise.
29158 [C99-based-standards] (SCNuFAST16): Likewise.
29159 [C99-based-standards] (SCNxFAST16): Likewise.
29160 [C99-based-standards] (PRId32): Likewise.
29161 [C99-based-standards] (PRIi32): Likewise.
29162 [C99-based-standards] (PRIo32): Likewise.
29163 [C99-based-standards] (PRIu32): Likewise.
29164 [C99-based-standards] (PRIx32): Likewise.
29165 [C99-based-standards] (PRIX32): Likewise.
29166 [C99-based-standards] (SCNd32): Likewise.
29167 [C99-based-standards] (SCNi32): Likewise.
29168 [C99-based-standards] (SCNo32): Likewise.
29169 [C99-based-standards] (SCNu32): Likewise.
29170 [C99-based-standards] (SCNx32): Likewise.
29171 [C99-based-standards] (PRIdLEAST32): Likewise.
29172 [C99-based-standards] (PRIiLEAST32): Likewise.
29173 [C99-based-standards] (PRIoLEAST32): Likewise.
29174 [C99-based-standards] (PRIuLEAST32): Likewise.
29175 [C99-based-standards] (PRIxLEAST32): Likewise.
29176 [C99-based-standards] (PRIXLEAST32): Likewise.
29177 [C99-based-standards] (SCNdLEAST32): Likewise.
29178 [C99-based-standards] (SCNiLEAST32): Likewise.
29179 [C99-based-standards] (SCNoLEAST32): Likewise.
29180 [C99-based-standards] (SCNuLEAST32): Likewise.
29181 [C99-based-standards] (SCNxLEAST32): Likewise.
29182 [C99-based-standards] (PRIdFAST32): Likewise.
29183 [C99-based-standards] (PRIiFAST32): Likewise.
29184 [C99-based-standards] (PRIoFAST32): Likewise.
29185 [C99-based-standards] (PRIuFAST32): Likewise.
29186 [C99-based-standards] (PRIxFAST32): Likewise.
29187 [C99-based-standards] (PRIXFAST32): Likewise.
29188 [C99-based-standards] (SCNdFAST32): Likewise.
29189 [C99-based-standards] (SCNiFAST32): Likewise.
29190 [C99-based-standards] (SCNoFAST32): Likewise.
29191 [C99-based-standards] (SCNuFAST32): Likewise.
29192 [C99-based-standards] (SCNxFAST32): Likewise.
29193 [C99-based-standards] (PRId64): Likewise.
29194 [C99-based-standards] (PRIi64): Likewise.
29195 [C99-based-standards] (PRIo64): Likewise.
29196 [C99-based-standards] (PRIu64): Likewise.
29197 [C99-based-standards] (PRIx64): Likewise.
29198 [C99-based-standards] (PRIX64): Likewise.
29199 [C99-based-standards] (SCNd64): Likewise.
29200 [C99-based-standards] (SCNi64): Likewise.
29201 [C99-based-standards] (SCNo64): Likewise.
29202 [C99-based-standards] (SCNu64): Likewise.
29203 [C99-based-standards] (SCNx64): Likewise.
29204 [C99-based-standards] (PRIdLEAST64): Likewise.
29205 [C99-based-standards] (PRIiLEAST64): Likewise.
29206 [C99-based-standards] (PRIoLEAST64): Likewise.
29207 [C99-based-standards] (PRIuLEAST64): Likewise.
29208 [C99-based-standards] (PRIxLEAST64): Likewise.
29209 [C99-based-standards] (PRIXLEAST64): Likewise.
29210 [C99-based-standards] (SCNdLEAST64): Likewise.
29211 [C99-based-standards] (SCNiLEAST64): Likewise.
29212 [C99-based-standards] (SCNoLEAST64): Likewise.
29213 [C99-based-standards] (SCNuLEAST64): Likewise.
29214 [C99-based-standards] (SCNxLEAST64): Likewise.
29215 [C99-based-standards] (PRIdFAST64): Likewise.
29216 [C99-based-standards] (PRIiFAST64): Likewise.
29217 [C99-based-standards] (PRIoFAST64): Likewise.
29218 [C99-based-standards] (PRIuFAST64): Likewise.
29219 [C99-based-standards] (PRIxFAST64): Likewise.
29220 [C99-based-standards] (PRIXFAST64): Likewise.
29221 [C99-based-standards] (SCNdFAST64): Likewise.
29222 [C99-based-standards] (SCNiFAST64): Likewise.
29223 [C99-based-standards] (SCNoFAST64): Likewise.
29224 [C99-based-standards] (SCNuFAST64): Likewise.
29225 [C99-based-standards] (SCNxFAST64): Likewise.
29226 [C99-based-standards] (PRIdMAX): Likewise.
29227 [C99-based-standards] (PRIiMAX): Likewise.
29228 [C99-based-standards] (PRIoMAX): Likewise.
29229 [C99-based-standards] (PRIuMAX): Likewise.
29230 [C99-based-standards] (PRIxMAX): Likewise.
29231 [C99-based-standards] (PRIXMAX): Likewise.
29232 [C99-based-standards] (SCNdMAX): Likewise.
29233 [C99-based-standards] (SCNiMAX): Likewise.
29234 [C99-based-standards] (SCNoMAX): Likewise.
29235 [C99-based-standards] (SCNuMAX): Likewise.
29236 [C99-based-standards] (SCNxMAX): Likewise.
29237 [C99-based-standards] (PRIdPTR): Likewise.
29238 [C99-based-standards] (PRIiPTR): Likewise.
29239 [C99-based-standards] (PRIoPTR): Likewise.
29240 [C99-based-standards] (PRIuPTR): Likewise.
29241 [C99-based-standards] (PRIxPTR): Likewise.
29242 [C99-based-standards] (PRIXPTR): Likewise.
29243 [C99-based-standards] (SCNdPTR): Likewise.
29244 [C99-based-standards] (SCNiPTR): Likewise.
29245 [C99-based-standards] (SCNoPTR): Likewise.
29246 [C99-based-standards] (SCNuPTR): Likewise.
29247 [C99-based-standards] (SCNxPTR): Likewise.
29248 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29249 allow.
29250 * conform/data/stdint.h-data: Update comments to clarify
29251 requirements.
29252 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29253 type.
29254 [C99-based standards] (INT8_MAX): Likewise.
29255 [C99-based standards] (INT16_MIN): Likewise.
29256 [C99-based standards] (INT16_MAX): Likewise.
29257 [C99-based standards] (INT32_MIN): Likewise.
29258 [C99-based standards] (INT32_MAX): Likewise.
29259 [C99-based standards] (INT64_MIN): Likewise.
29260 [C99-based standards] (INT64_MAX): Likewise.
29261 [C99-based standards] (UINT8_MAX): Likewise.
29262 [C99-based standards] (UINT16_MAX): Likewise.
29263 [C99-based standards] (UINT32_MAX): Likewise.
29264 [C99-based standards] (UINT64_MAX): Likewise.
29265 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29266 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29267 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29268 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29269 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29270 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29271 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29272 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29273 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29274 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29275 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29276 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29277 [C99-based standards] (INT_FAST8_MIN): Likewise.
29278 [C99-based standards] (INT_FAST8_MAX): Likewise.
29279 [C99-based standards] (INT_FAST16_MIN): Likewise.
29280 [C99-based standards] (INT_FAST16_MAX): Likewise.
29281 [C99-based standards] (INT_FAST32_MIN): Likewise.
29282 [C99-based standards] (INT_FAST32_MAX): Likewise.
29283 [C99-based standards] (INT_FAST64_MIN): Likewise.
29284 [C99-based standards] (INT_FAST64_MAX): Likewise.
29285 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29286 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29287 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29288 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29289 [C99-based standards] (INTPTR_MIN): Likewise.
29290 [C99-based standards] (INTPTR_MAX): Likewise.
29291 [C99-based standards] (UINTPTR_MAX): Likewise.
29292 [C99-based standards] (INTMAX_MIN): Likewise.
29293 [C99-based standards] (INTMAX_MAX): Likewise.
29294 [C99-based standards] (UINTMAX_MAX): Likewise.
29295 [C99-based standards] (PTRDIFF_MIN): Likewise.
29296 [C99-based standards] (PTRDIFF_MAX): Likewise.
29297 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29298 [C99-based standards] (SIZE_MAX): Likewise.
29299 [C99-based standards] (WCHAR_MAX): Likewise.
29300 [C99-based standards] (WINT_MAX): Likewise.
29301 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29302 constraint on value.
29303 [C99-based standards] (WCHAR_MIN): Likewise.
29304 [C99-based standards] (WINT_MIN): Likewise.
29305 [C99-based standards] (*_t): Allow.
29306 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29307 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29308 Include math.h-data and complex.h-data. Remove all expectations
29309 of math.h and complex.h contents.
29310 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29311 at end of line.
29312 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29313 (struct tm): Expect tag.
29314 [C99-based-standards] (wcstof): Expect function.
29315 [C99-based-standards] (wcstold): Likewise.
29316 [C99-based-standards] (wcstoll): Likewise.
29317 [C99-based-standards] (wcstoull): Likewise.
29318 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29319 macro-int-constant. Specify type.
29320 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29321 constraint on value.
29322 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29323 Specify type.
29324 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29325 Specify value.
29326 [ISO C standards]: Do not allow headers.
29327 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29328 wcs[abcdefghijklmnopqrstuvwxyz]*.
29329 [ISO C standards] (*_t): Do not allow.
29330 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29331 Expect function.
29332 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29333 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29334 Specify type.
29335 [ISO C standards]: Do not allow headers.
29336 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29337 is[abcdefghijklmnopqrstuvwxyz]*.
29338 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29339 to[abcdefghijklmnopqrstuvwxyz]*.
29340 [ISO C standards] (*_t): Do not allow.
29341 * conform/data/stdalign.h-data: New file.
29342 * conform/data/stdbool.h-data: Likewise.
29343 * conform/data/stdnoreturn.h-data: Likewise.
29344
7514feb8
RM
293452012-11-07 Roland McGrath <roland@hack.frob.com>
29346
29347 [BZ #14815]
29348 * manual/filesys.texi (Directory Entries): Typo fix.
29349 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29350
19b2ecfc
MS
293512012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29352
29353 * elf/elf.h (EM_AARCH64): New macro.
29354 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29355 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29356 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29357 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29358 (R_AARCH64_TLSDESC): Likewise.
29359 (NT_ARM_TLS): Likewise.
29360 (NT_ARM_HW_BREAK): Likewise.
29361 (NT_ARM_HW_WATCH): Likewise.
29362
60e235ee
JM
293632012-11-07 Joseph Myers <joseph@codesourcery.com>
29364
29365 [BZ #14811]
29366 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29367 (__ieee754_powl): Saturate nonzero exponents with absolute value
29368 below 0x1p-79 to +/- 0x1p-79.
29369 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29370 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29371 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29372 nonzero exponents with absolute value below 0x1p-32 to +/-
29373 0x1p-32.
29374 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29375 (__ieee754_powl): Saturate nonzero exponents with absolute value
29376 below 0x1p-79 to +/- 0x1p-79.
29377 * math/libm-test.inc (pow_test): Add more tests.
29378
0ab234b7
AK
293792012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29380
29381 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29382 _dl_s390_cap_flags with kernel. Increase string length.
29383 (_dl_s390_platforms): Add z196 and zEC12.
29384
45832f74
JM
293852012-11-07 Joseph Myers <joseph@codesourcery.com>
29386
29387 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29388 Change XOPEN21K to XOPEN2K.
29389
19218757
MK
293902012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29391
29392 * string/memmove.c: Use memcpy when possible.
29393
c5f45721
AJ
293942012-11-06 Andreas Jaeger <aj@suse.de>
29395
29396 * po/eo.po: Update from translation team.
29397
82477c28
JM
293982012-11-06 Joseph Myers <joseph@codesourcery.com>
29399
29400 [BZ #14793]
29401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29402 exponent and small x and y exponents, scale x or y up. Increase
29403 by 2 the exponent used in scaling up.
29404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29406 * math/libm-test.inc (fma_test): Add more tests.
29407 (fma_test_towardzero): Likewise.
29408 (fma_test_downward): Likewise.
29409 (fma_test_upward): Likewise.
29410
99252c8c
JM
294112012-11-05 Joseph Myers <joseph@codesourcery.com>
29412
acfa885f
JM
29413 [BZ #14805]
29414 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29415 fenv_t *.
29416
99252c8c
JM
29417 [BZ #14801]
29418 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29419 namespace for names of struct fields.
29420 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29421 fenv_t fields.
29422 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29423 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29424
d6d98dea
ST
294252012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29426
29427 [BZ #3665]
29428 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29429
e10bb107
TS
294302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29431
29432 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29433 PTR_DEMANGLE.
29434
29435 [BZ #5246]
29436 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29437 PTR_DEMANGLE.
29438
a0c2940d
JM
294392012-11-04 Joseph Myers <joseph@codesourcery.com>
29440
29441 [BZ #14797]
29442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29443 definitely overflow as x * y not x * y + z.
29444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29445 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29446 * math/libm-test.inc (fma_test): Add more tests.
29447 (fma_test_towardzero): Likewise.
29448 (fma_test_downward): Likewise.
29449 (fma_test_upward): Likewise.
29450
b830319d
TS
294512012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29452
29453 [BZ #157]
29454
29455 * include/stub-tag.h: Remove file.
29456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29457 '#include' of it.
29458 * manual/maint.texi (Porting): Don't reference it.
29459 * Makerules ($(objpfx)stubs): Likewise.
29460 * dirent/closedir.c: Don't include <stub-tag.h>.
29461 * dirent/dirfd.c: Likewise.
29462 * dirent/fdopendir.c: Likewise.
29463 * dirent/getdents.c: Likewise.
29464 * dirent/getdents64.c: Likewise.
29465 * dirent/opendir.c: Likewise.
29466 * dirent/readdir.c: Likewise.
29467 * dirent/readdir64.c: Likewise.
29468 * dirent/readdir64_r.c: Likewise.
29469 * dirent/readdir_r.c: Likewise.
29470 * dirent/rewinddir.c: Likewise.
29471 * dirent/seekdir.c: Likewise.
29472 * dirent/telldir.c: Likewise.
29473 * gmon/profil.c: Likewise.
29474 * grp/setgroups.c: Likewise.
29475 * inet/if_index.c: Likewise.
29476 * io/access.c: Likewise.
29477 * io/chdir.c: Likewise.
29478 * io/chmod.c: Likewise.
29479 * io/chown.c: Likewise.
29480 * io/close.c: Likewise.
29481 * io/dup.c: Likewise.
29482 * io/dup2.c: Likewise.
29483 * io/dup3.c: Likewise.
29484 * io/euidaccess.c: Likewise.
29485 * io/faccessat.c: Likewise.
29486 * io/fchdir.c: Likewise.
29487 * io/fchmod.c: Likewise.
29488 * io/fchmodat.c: Likewise.
29489 * io/fchown.c: Likewise.
29490 * io/fchownat.c: Likewise.
29491 * io/fcntl.c: Likewise.
29492 * io/flock.c: Likewise.
29493 * io/fstatfs.c: Likewise.
29494 * io/fstatfs64.c: Likewise.
29495 * io/fstatvfs.c: Likewise.
29496 * io/fstatvfs64.c: Likewise.
29497 * io/futimens.c: Likewise.
29498 * io/fxstat.c: Likewise.
29499 * io/fxstat64.c: Likewise.
29500 * io/fxstatat.c: Likewise.
29501 * io/fxstatat64.c: Likewise.
29502 * io/getcwd.c: Likewise.
29503 * io/isatty.c: Likewise.
29504 * io/lchmod.c: Likewise.
29505 * io/lchown.c: Likewise.
29506 * io/link.c: Likewise.
29507 * io/linkat.c: Likewise.
29508 * io/lseek.c: Likewise.
29509 * io/lseek64.c: Likewise.
29510 * io/lxstat64.c: Likewise.
29511 * io/mkdir.c: Likewise.
29512 * io/mkdirat.c: Likewise.
29513 * io/mkfifo.c: Likewise.
29514 * io/mkfifoat.c: Likewise.
29515 * io/open.c: Likewise.
29516 * io/open64.c: Likewise.
29517 * io/openat.c: Likewise.
29518 * io/openat64.c: Likewise.
29519 * io/pipe.c: Likewise.
29520 * io/pipe2.c: Likewise.
29521 * io/poll.c: Likewise.
29522 * io/posix_fadvise.c: Likewise.
29523 * io/posix_fadvise64.c: Likewise.
29524 * io/posix_fallocate.c: Likewise.
29525 * io/posix_fallocate64.c: Likewise.
29526 * io/read.c: Likewise.
29527 * io/readlink.c: Likewise.
29528 * io/readlinkat.c: Likewise.
29529 * io/rmdir.c: Likewise.
29530 * io/sendfile.c: Likewise.
29531 * io/sendfile64.c: Likewise.
29532 * io/statfs.c: Likewise.
29533 * io/statfs64.c: Likewise.
29534 * io/statvfs.c: Likewise.
29535 * io/statvfs64.c: Likewise.
29536 * io/symlink.c: Likewise.
29537 * io/symlinkat.c: Likewise.
29538 * io/ttyname.c: Likewise.
29539 * io/ttyname_r.c: Likewise.
29540 * io/umask.c: Likewise.
29541 * io/unlink.c: Likewise.
29542 * io/unlinkat.c: Likewise.
29543 * io/utime.c: Likewise.
29544 * io/utimensat.c: Likewise.
29545 * io/write.c: Likewise.
29546 * io/xmknod.c: Likewise.
29547 * io/xmknodat.c: Likewise.
29548 * io/xstat.c: Likewise.
29549 * io/xstat64.c: Likewise.
29550 * login/getpt.c: Likewise.
29551 * login/grantpt.c: Likewise.
29552 * login/unlockpt.c: Likewise.
29553 * math/e_acoshl.c: Likewise.
29554 * math/e_acosl.c: Likewise.
29555 * math/e_asinl.c: Likewise.
29556 * math/e_atan2l.c: Likewise.
29557 * math/e_atanhl.c: Likewise.
29558 * math/e_coshl.c: Likewise.
29559 * math/e_expl.c: Likewise.
29560 * math/e_fmodl.c: Likewise.
29561 * math/e_gammal_r.c: Likewise.
29562 * math/e_hypotl.c: Likewise.
29563 * math/e_j0l.c: Likewise.
29564 * math/e_j1l.c: Likewise.
29565 * math/e_jnl.c: Likewise.
29566 * math/e_lgammal_r.c: Likewise.
29567 * math/e_log10l.c: Likewise.
29568 * math/e_log2l.c: Likewise.
29569 * math/e_logl.c: Likewise.
29570 * math/e_powl.c: Likewise.
29571 * math/e_rem_pio2l.c: Likewise.
29572 * math/e_sinhl.c: Likewise.
29573 * math/e_sqrtl.c: Likewise.
29574 * math/fclrexcpt.c: Likewise.
29575 * math/fedisblxcpt.c: Likewise.
29576 * math/feenablxcpt.c: Likewise.
29577 * math/fegetenv.c: Likewise.
29578 * math/fegetexcept.c: Likewise.
29579 * math/fegetround.c: Likewise.
29580 * math/feholdexcpt.c: Likewise.
29581 * math/fesetenv.c: Likewise.
29582 * math/fesetround.c: Likewise.
29583 * math/feupdateenv.c: Likewise.
29584 * math/fgetexcptflg.c: Likewise.
29585 * math/fraiseexcpt.c: Likewise.
29586 * math/fsetexcptflg.c: Likewise.
29587 * math/ftestexcept.c: Likewise.
29588 * math/k_cosl.c: Likewise.
29589 * math/k_rem_pio2l.c: Likewise.
29590 * math/k_sinl.c: Likewise.
29591 * math/k_tanl.c: Likewise.
29592 * math/s_asinhl.c: Likewise.
29593 * math/s_atanl.c: Likewise.
29594 * math/s_cbrtl.c: Likewise.
29595 * math/s_erfl.c: Likewise.
29596 * math/s_expm1l.c: Likewise.
29597 * math/s_log1pl.c: Likewise.
29598 * math/s_tanhl.c: Likewise.
29599 * misc/acct.c: Likewise.
29600 * misc/brk.c: Likewise.
29601 * misc/chflags.c: Likewise.
29602 * misc/chroot.c: Likewise.
29603 * misc/fchflags.c: Likewise.
29604 * misc/fgetxattr.c: Likewise.
29605 * misc/flistxattr.c: Likewise.
29606 * misc/fremovexattr.c: Likewise.
29607 * misc/fsetxattr.c: Likewise.
29608 * misc/fsync.c: Likewise.
29609 * misc/ftruncate.c: Likewise.
29610 * misc/futimes.c: Likewise.
29611 * misc/futimesat.c: Likewise.
29612 * misc/getdomain.c: Likewise.
29613 * misc/getdtsz.c: Likewise.
29614 * misc/gethostid.c: Likewise.
29615 * misc/gethostname.c: Likewise.
29616 * misc/getloadavg.c: Likewise.
29617 * misc/getpagesize.c: Likewise.
29618 * misc/getsysstats.c: Likewise.
29619 * misc/getxattr.c: Likewise.
29620 * misc/gtty.c: Likewise.
29621 * misc/ioctl.c: Likewise.
29622 * misc/lgetxattr.c: Likewise.
29623 * misc/listxattr.c: Likewise.
29624 * misc/llistxattr.c: Likewise.
29625 * misc/lremovexattr.c: Likewise.
29626 * misc/lsetxattr.c: Likewise.
29627 * misc/lutimes.c: Likewise.
29628 * misc/madvise.c: Likewise.
29629 * misc/mincore.c: Likewise.
29630 * misc/mlock.c: Likewise.
29631 * misc/mlockall.c: Likewise.
29632 * misc/mmap.c: Likewise.
29633 * misc/mprotect.c: Likewise.
29634 * misc/msync.c: Likewise.
29635 * misc/munlock.c: Likewise.
29636 * misc/munlockall.c: Likewise.
29637 * misc/munmap.c: Likewise.
29638 * misc/preadv.c: Likewise.
29639 * misc/preadv64.c: Likewise.
29640 * misc/ptrace.c: Likewise.
29641 * misc/pwritev.c: Likewise.
29642 * misc/pwritev64.c: Likewise.
29643 * misc/readv.c: Likewise.
29644 * misc/reboot.c: Likewise.
29645 * misc/remap_file_pages.c: Likewise.
29646 * misc/removexattr.c: Likewise.
29647 * misc/revoke.c: Likewise.
29648 * misc/select.c: Likewise.
29649 * misc/setdomain.c: Likewise.
29650 * misc/setegid.c: Likewise.
29651 * misc/seteuid.c: Likewise.
29652 * misc/sethostid.c: Likewise.
29653 * misc/sethostname.c: Likewise.
29654 * misc/setregid.c: Likewise.
29655 * misc/setreuid.c: Likewise.
29656 * misc/setxattr.c: Likewise.
29657 * misc/sstk.c: Likewise.
29658 * misc/stty.c: Likewise.
29659 * misc/swapoff.c: Likewise.
29660 * misc/swapon.c: Likewise.
29661 * misc/sync.c: Likewise.
29662 * misc/syncfs.c: Likewise.
29663 * misc/syscall.c: Likewise.
29664 * misc/truncate.c: Likewise.
29665 * misc/ualarm.c: Likewise.
29666 * misc/usleep.c: Likewise.
29667 * misc/ustat.c: Likewise.
29668 * misc/utimes.c: Likewise.
29669 * misc/vhangup.c: Likewise.
29670 * misc/writev.c: Likewise.
29671 * posix/_exit.c: Likewise.
29672 * posix/alarm.c: Likewise.
29673 * posix/execve.c: Likewise.
29674 * posix/fexecve.c: Likewise.
29675 * posix/fork.c: Likewise.
29676 * posix/fpathconf.c: Likewise.
29677 * posix/getaddrinfo.c: Likewise.
29678 * posix/getegid.c: Likewise.
29679 * posix/geteuid.c: Likewise.
29680 * posix/getgid.c: Likewise.
29681 * posix/getgroups.c: Likewise.
29682 * posix/getlogin.c: Likewise.
29683 * posix/getlogin_r.c: Likewise.
29684 * posix/getpgid.c: Likewise.
29685 * posix/getpid.c: Likewise.
29686 * posix/getppid.c: Likewise.
29687 * posix/getresgid.c: Likewise.
29688 * posix/getresuid.c: Likewise.
29689 * posix/getsid.c: Likewise.
29690 * posix/getuid.c: Likewise.
29691 * posix/glob64.c: Likewise.
29692 * posix/nanosleep.c: Likewise.
29693 * posix/pathconf.c: Likewise.
29694 * posix/pause.c: Likewise.
29695 * posix/posix_madvise.c: Likewise.
29696 * posix/pread.c: Likewise.
29697 * posix/pread64.c: Likewise.
29698 * posix/pwrite.c: Likewise.
29699 * posix/pwrite64.c: Likewise.
29700 * posix/sched_getaffinity.c: Likewise.
29701 * posix/sched_getp.c: Likewise.
29702 * posix/sched_gets.c: Likewise.
29703 * posix/sched_primax.c: Likewise.
29704 * posix/sched_primin.c: Likewise.
29705 * posix/sched_rr_gi.c: Likewise.
29706 * posix/sched_setaffinity.c: Likewise.
29707 * posix/sched_setp.c: Likewise.
29708 * posix/sched_sets.c: Likewise.
29709 * posix/sched_yield.c: Likewise.
29710 * posix/setgid.c: Likewise.
29711 * posix/setlogin.c: Likewise.
29712 * posix/setpgid.c: Likewise.
29713 * posix/setresgid.c: Likewise.
29714 * posix/setresuid.c: Likewise.
29715 * posix/setsid.c: Likewise.
29716 * posix/setuid.c: Likewise.
29717 * posix/sleep.c: Likewise.
29718 * posix/spawni.c: Likewise.
29719 * posix/sysconf.c: Likewise.
29720 * posix/times.c: Likewise.
29721 * posix/wait.c: Likewise.
29722 * posix/wait3.c: Likewise.
29723 * posix/wait4.c: Likewise.
29724 * posix/waitpid.c: Likewise.
29725 * resolv/gai_sigqueue.c: Likewise.
29726 * resource/getpriority.c: Likewise.
29727 * resource/getrlimit.c: Likewise.
29728 * resource/getrusage.c: Likewise.
29729 * resource/nice.c: Likewise.
29730 * resource/setpriority.c: Likewise.
29731 * resource/setrlimit.c: Likewise.
29732 * resource/ulimit.c: Likewise.
29733 * rt/aio_cancel.c: Likewise.
29734 * rt/aio_fsync.c: Likewise.
29735 * rt/aio_read.c: Likewise.
29736 * rt/aio_sigqueue.c: Likewise.
29737 * rt/aio_suspend.c: Likewise.
29738 * rt/aio_write.c: Likewise.
29739 * rt/clock_getres.c: Likewise.
29740 * rt/clock_gettime.c: Likewise.
29741 * rt/clock_nanosleep.c: Likewise.
29742 * rt/clock_settime.c: Likewise.
29743 * rt/lio_listio.c: Likewise.
29744 * rt/mq_close.c: Likewise.
29745 * rt/mq_getattr.c: Likewise.
29746 * rt/mq_notify.c: Likewise.
29747 * rt/mq_open.c: Likewise.
29748 * rt/mq_receive.c: Likewise.
29749 * rt/mq_send.c: Likewise.
29750 * rt/mq_setattr.c: Likewise.
29751 * rt/mq_timedreceive.c: Likewise.
29752 * rt/mq_timedsend.c: Likewise.
29753 * rt/mq_unlink.c: Likewise.
29754 * rt/shm_open.c: Likewise.
29755 * rt/shm_unlink.c: Likewise.
29756 * rt/timer_create.c: Likewise.
29757 * rt/timer_delete.c: Likewise.
29758 * rt/timer_getoverr.c: Likewise.
29759 * rt/timer_gettime.c: Likewise.
29760 * rt/timer_settime.c: Likewise.
29761 * setjmp/__longjmp.c: Likewise.
29762 * setjmp/setjmp.c: Likewise.
29763 * signal/kill.c: Likewise.
29764 * signal/killpg.c: Likewise.
29765 * signal/raise.c: Likewise.
29766 * signal/sigaction.c: Likewise.
29767 * signal/sigaltstack.c: Likewise.
29768 * signal/sigblock.c: Likewise.
29769 * signal/sigignore.c: Likewise.
29770 * signal/sigintr.c: Likewise.
29771 * signal/signal.c: Likewise.
29772 * signal/sigpause.c: Likewise.
29773 * signal/sigpending.c: Likewise.
29774 * signal/sigqueue.c: Likewise.
29775 * signal/sigreturn.c: Likewise.
29776 * signal/sigset.c: Likewise.
29777 * signal/sigsetmask.c: Likewise.
29778 * signal/sigstack.c: Likewise.
29779 * signal/sigsuspend.c: Likewise.
29780 * signal/sigtimedwait.c: Likewise.
29781 * signal/sigvec.c: Likewise.
29782 * signal/sigwait.c: Likewise.
29783 * signal/sigwaitinfo.c: Likewise.
29784 * signal/sysv_signal.c: Likewise.
29785 * socket/accept.c: Likewise.
29786 * socket/accept4.c: Likewise.
29787 * socket/bind.c: Likewise.
29788 * socket/connect.c: Likewise.
29789 * socket/getpeername.c: Likewise.
29790 * socket/getsockname.c: Likewise.
29791 * socket/getsockopt.c: Likewise.
29792 * socket/isfdtype.c: Likewise.
29793 * socket/listen.c: Likewise.
29794 * socket/recv.c: Likewise.
29795 * socket/recvfrom.c: Likewise.
29796 * socket/recvmsg.c: Likewise.
29797 * socket/send.c: Likewise.
29798 * socket/sendmsg.c: Likewise.
29799 * socket/sendto.c: Likewise.
29800 * socket/setsockopt.c: Likewise.
29801 * socket/shutdown.c: Likewise.
29802 * socket/sockatmark.c: Likewise.
29803 * socket/socket.c: Likewise.
29804 * socket/socketpair.c: Likewise.
29805 * stdio-common/ctermid.c: Likewise.
29806 * stdio-common/cuserid.c: Likewise.
29807 * stdio-common/remove.c: Likewise.
29808 * stdio-common/rename.c: Likewise.
29809 * stdio-common/renameat.c: Likewise.
29810 * stdio-common/tempname.c: Likewise.
29811 * stdlib/getcontext.c: Likewise.
29812 * stdlib/makecontext.c: Likewise.
29813 * stdlib/setcontext.c: Likewise.
29814 * stdlib/swapcontext.c: Likewise.
29815 * stdlib/system.c: Likewise.
29816 * streams/fattach.c: Likewise.
29817 * streams/fdetach.c: Likewise.
29818 * streams/getmsg.c: Likewise.
29819 * streams/getpmsg.c: Likewise.
29820 * streams/putmsg.c: Likewise.
29821 * streams/putpmsg.c: Likewise.
29822 * sysdeps/unix/bsd/getpt.c: Likewise.
29823 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29824 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29825 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29827 Likewise.
29828 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29829 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29830 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29831 * sysvipc/msgctl.c: Likewise.
29832 * sysvipc/msgget.c: Likewise.
29833 * sysvipc/msgrcv.c: Likewise.
29834 * sysvipc/msgsnd.c: Likewise.
29835 * sysvipc/semctl.c: Likewise.
29836 * sysvipc/semget.c: Likewise.
29837 * sysvipc/semop.c: Likewise.
29838 * sysvipc/semtimedop.c: Likewise.
29839 * sysvipc/shmat.c: Likewise.
29840 * sysvipc/shmctl.c: Likewise.
29841 * sysvipc/shmdt.c: Likewise.
29842 * sysvipc/shmget.c: Likewise.
29843 * termios/tcdrain.c: Likewise.
29844 * termios/tcflow.c: Likewise.
29845 * termios/tcflush.c: Likewise.
29846 * termios/tcgetattr.c: Likewise.
29847 * termios/tcgetpgrp.c: Likewise.
29848 * termios/tcsendbrk.c: Likewise.
29849 * termios/tcsetattr.c: Likewise.
29850 * termios/tcsetpgrp.c: Likewise.
29851 * time/adjtime.c: Likewise.
29852 * time/clock.c: Likewise.
29853 * time/getitimer.c: Likewise.
29854 * time/gettimeofday.c: Likewise.
29855 * time/setitimer.c: Likewise.
29856 * time/settimeofday.c: Likewise.
29857 * time/stime.c: Likewise.
29858 * time/time.c: Likewise.
29859
298602012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 29861
a20492cf
PT
29862 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29863 /usr/old/bin.
29864
72e182e3
PT
29865 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29866 instead of spaces.
29867 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29868
fbeafede
JM
298692012-11-03 Joseph Myers <joseph@codesourcery.com>
29870
5b5b04d6
JM
29871 [BZ #14796]
29872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29873 FE_TONEAREST before applying Dekker multiplication and Knuth
29874 addition. Clear inexact exceptions and check for exact zero
29875 results afterwards.
29876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29877 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29879 * math/libm-test.inc (fma_test): Add more tests.
29880 (fma_test_towardzero): Likewise.
29881 (fma_test_downward): Likewise.
29882 (fma_test_upward): Likewise.
29883 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29884 function.
29885 (libc_fesetround): New macro.
29886 (libc_fesetroundf): Likewise.
29887 (libc_fesetroundl): Likewise.
29888 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29889 function.
29890 (libc_fesetround_387): Likewise.
29891 (libc_fesetroundf): New macro.
29892 (libc_fesetround): Likewise.
29893 (libc_fesetroundl): Likewise.
29894 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29895 function.
29896 (libc_fesetroundf): New macro.
29897 (libc_fesetround): Likewise.
29898 (libc_fesetroundl): Likewise.
29899 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29900 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29901 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29902 libm_hidden_ver.
29903 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29904 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29905 libm_hidden_def.
29906 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29907 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29908 libm_hidden_ver.
29909 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29910 libm_hidden_def.
29911
fbeafede
JM
29912 [BZ #3439]
29913 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29914 integer constant usable in #if and use that to give value to enum
29915 constant.
29916 (FE_DIVBYZERO): Likewise.
29917 (FE_UNDERFLOW): Likewise.
29918 (FE_OVERFLOW): Likewise.
29919 (FE_INVALID): Likewise.
29920 (FE_INVALID_SNAN): Likewise.
29921 (FE_INVALID_ISI): Likewise.
29922 (FE_INVALID_IDI): Likewise.
29923 (FE_INVALID_ZDZ): Likewise.
29924 (FE_INVALID_IMZ): Likewise.
29925 (FE_INVALID_COMPARE): Likewise.
29926 (FE_INVALID_SOFTWARE): Likewise.
29927 (FE_INVALID_SQRT): Likewise.
29928 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29929 (FE_TONEAREST): Likewise.
29930 (FE_TOWARDZERO): Likewise.
29931 (FE_UPWARD): Likewise.
29932 (FE_DOWNWARD): Likewise.
29933 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29934 (FE_DIVBYZERO): Likewise.
29935 (FE_OVERFLOW): Likewise.
29936 (FE_UNDERFLOW): Likewise.
29937 (FE_INEXACT): Likewise.
29938 (FE_TONEAREST): Likewise.
29939 (FE_DOWNWARD): Likewise.
29940 (FE_UPWARD): Likewise.
29941 (FE_TOWARDZERO): Likewise.
29942 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29943 (FE_UNDERFLOW): Likewise.
29944 (FE_OVERFLOW): Likewise.
29945 (FE_DIVBYZERO): Likewise.
29946 (FE_INVALID): Likewise.
29947 (FE_TONEAREST): Likewise.
29948 (FE_TOWARDZERO): Likewise.
29949 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29950 (FE_OVERFLOW): Likewise.
29951 (FE_UNDERFLOW): Likewise.
29952 (FE_DIVBYZERO): Likewise.
29953 (FE_INEXACT): Likewise.
29954 (FE_TONEAREST): Likewise.
29955 (FE_TOWARDZERO): Likewise.
29956 (FE_UPWARD): Likewise.
29957 (FE_DOWNWARD): Likewise.
29958 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29959 (FE_DIVBYZERO): Likewise.
29960 (FE_OVERFLOW): Likewise.
29961 (FE_UNDERFLOW): Likewise.
29962 (FE_INEXACT): Likewise.
29963 (FE_TONEAREST): Likewise.
29964 (FE_DOWNWARD): Likewise.
29965 (FE_UPWARD): Likewise.
29966 (FE_TOWARDZERO): Likewise.
29967
105ca950
CM
299682012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29969
29970 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29971
a542b389
AS
299722012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29973
29974 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29975 commands. Quote $PWD.
29976 (blacklist_exports): Don't use remove_newlines. Replace "declare
29977 -x" by "export".
29978 (remove_newlines): Remove.
29979
f62c8abc
L
299802012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29981
29982 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29983 * stdlib/stdlib.h (atof): Moved to ...
29984 * include/bits/stdlib-float.h: Here. New file.
29985 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29986 * stdlib/bits/stdlib-float.h: New file.
29987 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29988 -mno-sse -mno-mmx.
29989 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29990 <xmmintrin.h>.
29991
0155d5b2
JM
299922012-11-02 Joseph Myers <joseph@codesourcery.com>
29993
a68d0680
JM
29994 * conform/conformtest.pl (@headers): Add fenv.h.
29995 * conform/data/fenv.h-data: New file.
29996 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29997 include of <math/fenv.h>.
29998
caf7f573
JM
29999 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30000 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30001 && !UNIX98]. Enables tests for XOPEN2K8.
30002 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30003 POSIX2008]: Likewise.
30004
6c073ad6
JM
30005 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30006 (struct rusage): Do not expect type or its members.
30007
0155d5b2
JM
30008 [BZ #3439]
30009 * math/math.h (FP_NAN): Define macro to integer constant usable in
30010 #if and use that to give value to enum constant.
30011 (FP_INFINITE): Likewise.
30012 (FP_ZERO): Likewise.
30013 (FP_SUBNORMAL): Likewise.
30014 (FP_NORMAL): Likewise.
30015
b5dcacb4
AS
300162012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30017
30018 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30019 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30020 arguments.
30021
f7934be8
RM
300222012-11-02 Roland McGrath <roland@hack.frob.com>
30023
30024 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30025 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30026 autoconf-time if not.
30027 * configure.in: Remove AC_PREREQ.
30028
d7d08bde
TMQMF
300292012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30030
30031 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30032 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30033 of the internal implementation.
30034
dcdae19a
JM
300352012-11-02 Joseph Myers <joseph@codesourcery.com>
30036
30037 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30038 except include of <misc/sys/syslog.h>.
30039
d6cffd3e
AS
300402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30041
30042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30043 function returns with a NULL context exit with zero.
30044
b3563932
TMQMF
300452012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30046
30047 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30048
b288a93d
L
300492012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30050
30051 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30052 (run_program_cmd): This.
30053 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30054 (tst_langinfo): New variable. Use it.
30055
a2421a68
SAS
300562012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30057
30058 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30059 floating point opcodes.
30060
6f796e1b
TS
300612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30062
7402596b
TS
30063 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30064 variable.
30065
d0d4f868
TS
30066 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30067
6f796e1b
TS
30068 * sysdeps/mach/hurd/powerpc: Remove directory.
30069 * sysdeps/mach/powerpc: Likewise.
30070
4da224a2
AS
300712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30072
30073 * scripts/check-local-headers.sh: Ignore c++ headers.
30074
341dd673
TS
300752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30076
30077 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30078 __libc_cleanup_region_start argument.
30079
473611b2
JM
300802012-11-01 Joseph Myers <joseph@codesourcery.com>
30081
30082 [BZ #14784]
30083 [BZ #14785]
30084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30085 x * y using scaling, not as x * y + z.
30086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30087 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30088 * math/libm-test.inc (fma_test): Add more tests.
30089 (fma_test_towardzero): Likewise.
30090 (fma_test_downward): Likewise.
30091 (fma_test_upward): Likewise.
30092
4078da3d
TS
300932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30094
30095 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30096
903252aa
JM
300972012-10-31 Joseph Myers <joseph@codesourcery.com>
30098
30099 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30100 New variable.
30101
cbc818d0
TS
301022012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30103
30104 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30105
5a03cb1e
AS
301062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30107
30108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30109 Fix sort order.
30110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30111 Likewise.
30112
90aff2ff
TMQMF
301132012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30114
30115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30116 Fix the order of the list for glibc 2.17.
30117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30118 Likewise.
30119
1818fcb7
AS
301202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30121
30122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30123
ef82f4da
JM
301242012-10-31 Joseph Myers <joseph@codesourcery.com>
30125
16a0e2ec
JM
30126 [BZ #14610]
30127 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30128 for low part of x being zero before using __atanl (y).
30129 * math/libm-test.inc (atan2_test): Add another test.
30130
0eb69512
JM
30131 * manual/install.texi (Configuring and compiling): Document
30132 general use of test-wrapper and test-wrapper-env.
30133 * INSTALL: Regenerated.
30134
ef82f4da
JM
30135 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30136 (__fma): Do not extract and scale down low bits on after-rounding
30137 systems when result rounded to normal precision would have normal
30138 exponent.
30139 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30140 (__fmal): Do not extract and scale down low bits on after-rounding
30141 systems when result rounded to normal precision would have normal
30142 exponent.
30143 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30144 (__fmal): Do not extract and scale down low bits on after-rounding
30145 systems when result rounded to normal precision would have normal
30146 exponent.
30147 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30148 macro.
30149 (fma_test): Add more tests.
30150 (fma_test_towardzero): Likewise.
30151 (fma_test_downward): Likewise.
30152 (fma_test_upward): Likewise.
30153
954ef0d9
L
301542012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30155
30156 * sysdeps/i386/tininess.h: Renamed to ...
30157 * sysdeps/x86/tininess.h: This.
30158 * sysdeps/x86_64/tininess.h: Removed.
30159
df61ffb2
JM
301602012-10-30 Joseph Myers <joseph@codesourcery.com>
30161
30162 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30163 input. Use $(build-program-cmd).
30164 ($(objpfx)tst-array1-static.out): Likewise.
30165 ($(objpfx)tst-array2.out): Likewise.
30166 ($(objpfx)tst-array3.out): Likewise.
30167 ($(objpfx)tst-array4.out): Likewise.
30168 ($(objpfx)tst-array5.out): Likewise.
30169 ($(objpfx)tst-array5-static.out): Likewise.
30170
01767843
CM
301712012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30172
47cc1490
CM
30173 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30174 if defined.
30175
01767843
CM
30176 * nss/nsswitch.h (nss_interface_function): Provide new
30177 macro for use with NSS functions.
30178 * grp/initgroups.c: Use new macro.
30179 * nss/getXXbyYY.c: Likewise.
30180 * nss/getXXbyYY_r.c: Likewise.
30181 * nss/getXXent.c: Likewise.
30182 * nss/getXXent_r.c: Likewise.
30183 * sysdeps/posix/getaddrinfo.c: Likewise.
30184
8321aa97
AJ
301852012-10-30 Andreas Jaeger <aj@suse.de>
30186
30187 * po/ru.po: Update Russion translation from translation project.
30188
2a27fd6d
JM
301892012-10-30 Joseph Myers <joseph@codesourcery.com>
30190
8627a232
JM
30191 [BZ #14152]
30192 [BZ #14783]
30193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30194 result and shift together with sticky bit instead of replicating
30195 round-to-nearest rounding.
30196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30198 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30199 missing underflow exceptions.
30200 (fma_test_towardzero): Add more tests.
30201 (fma_test_downward): Likewise.
30202 (fma_test_upward): Likewise.
30203
2a27fd6d
JM
30204 [BZ #14047]
30205 * sysdeps/generic/tininess.h: New file.
30206 * sysdeps/i386/tininess.h: Likewise.
30207 * sysdeps/sh/tininess.h: Likewise.
30208 * sysdeps/x86_64/tininess.h: Likewise.
30209 * stdlib/tst-strtod-underflow.c: Likewise.
30210 * stdlib/tst-tininess.c: Likewise.
30211 * stdlib/strtod_l.c: Include <tininess.h>.
30212 (round_and_return): Do not set errno for exact underflow cases.
30213 Force an underflow exception when setting errno for underflow.
30214 Determine underflow based on rounding to normal precision if
30215 TININESS_AFTER_ROUNDING.
30216 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30217 ERANGE for exact underflow cases.
30218 * stdlib/Makefile (tests): Add tst-tininess and
30219 tst-strtod-underflow.
30220 ($(objpfx)tst-tininess): Use $(link-libm).
30221 ($(objpfx)tst-strtod-underflow): Likewise.
30222
e7170363
AJ
302232012-10-30 Andreas Jaeger <aj@suse.de>
30224
e5088dc6
AJ
30225 [BZ#14767]
30226 * elf/Makefile (tests): Remove conditional for have-initfini-array
30227 since this is now always required and the variable does not exist
30228 anymore.
30229 (tests-static): Likewise.
30230 (modules-names): Likewise.
30231
e7170363 30232 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
30233
30234 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30235 merged with constructor/destructor.
30236 (init_array): Likewise.
30237 * elf/tst-array2dep.c (fini_array): Likewise.
30238 (init_array): Likewise.
30239
60457d8a
MF
302402012-10-29 Mike Frysinger <vapier@gentoo.org>
30241
30242 * manual/message.texi: Delete @cartouche tags.
30243
8bece752
PT
302442012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30245
94ce799f
PT
30246 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30247 EOPNOTSUPP.
30248 * sysdeps/mach/hurd/fsync.c: Likewise.
30249
8bece752
PT
30250 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30251 [_POSIX_REALTIME_SIGNALS]: Change condition to
30252 [_POSIX_REALTIME_SIGNALS > 0].
30253
86ebe6b1
AJ
302542012-10-27 Andreas Jaeger <aj@suse.de>
30255
30256 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30257 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30259 [__WORDSIZE != 64]: Likewise.
30260
54399c08
L
302612012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30262
30263 * iconvdata/tst-table.sh: Remove ${SHELL}.
30264 * iconvdata/tst-tables.sh: Likewise.
30265
e2211bed
DM
302662012-10-25 David S. Miller <davem@davemloft.net>
30267
30268 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30269 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30270 of strtoull.
30271
f303f97c
DM
30272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30273 ifunc-impl-list.c
30274 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30275 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30276 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30277 file.
30278
1e9d84cd
RM
302792012-10-25 Roland McGrath <roland@hack.frob.com>
30280
30281 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30282 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30283 __getdirentries.
30284
df381762
JM
302852012-10-25 Joseph Myers <joseph@codesourcery.com>
30286 Jim Blandy <jimb@codesourcery.com>
30287
30288 * scripts/cross-test-ssh.sh: New file.
30289 * manual/install.texi (Configuring and compiling): Document use of
30290 cross-test-ssh.sh.
30291 * INSTALL: Regenerated.
30292
bff64913
PT
302932012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30294
30295 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30296 EOPNOTSUPP.
30297
25fe8932
JM
302982012-10-25 Joseph Myers <joseph@codesourcery.com>
30299
30300 * Makeconfig (run-program-prefix): Fix comment.
30301
cc1290d0
JM
303022012-10-24 Joseph Myers <joseph@codesourcery.com>
30303 Jim Blandy <jimb@codesourcery.com>
30304
30305 * Makeconfig (test-wrapper): New variable,
30306 (test-wrapper-env): Likewise.
30307 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30308 (run-built-tests): Define to yes.
30309 (run-program-prefix): Use $(test-wrapper).
30310 (built-program-cmd): Likewise.
30311 * Rules (make-test-out): Use $(test-wrapper-env) and
30312 $(host-built-program-cmd).
30313 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30314 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30315 tst-pathopt.sh.
30316 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30317 $(test-wrapper-env) to tst-rtld-load-self.sh.
30318 ($(objpfx)order2.out): Use $(test-wrapper).
30319 ($(objpfx)tst-initorder.out): Likewise.
30320 ($(objpfx)tst-initorder2.out): Likewise.
30321 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30322 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30323 (test_wrapper_env): New variable. Use it to run ld.so.
30324 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30325 Use it to run ld.so.
30326 (test_wrapper_env): Likewise.
30327 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30328 $(test-wrapper) to run-iconv-test.sh.
30329 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30330 (ICONV): Use $test_wrapper.
30331 * posix/Makefile ($(objpfx)globtest.out): Pass
30332 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30333 globtest.sh, not $(run-program-prefix).
30334 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30335 (test_wrapper): Likewise.
30336 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30337 set together with run_via_rtld_prefix.
30338 (run_program_prefix): Define in terms of test_wrapper and
30339 run_via_rtld_prefix.
30340
6e6249d0
RM
303412012-10-24 Roland McGrath <roland@hack.frob.com>
30342
30343 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30344 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30345 Targets removed.
30346
30347 [BZ #14743]
30348 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30349 Declare __clock_getres, __clock_gettime, __clock_settime,
30350 __clock_nanosleep, and __clock_getcpuclockid.
30351 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30352 Remove librt_hidden_def (clock_gettime).
30353 * sysdeps/unix/clock_gettime.c: Likewise.
30354 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30355 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30356 * rt/clock_getres.c: Define __clock_getres as an alias.
30357 * sysdeps/posix/clock_getres.c: Likewise.
30358 * rt/clock_settime.c: Define __clock_settime as an alias.
30359 * sysdeps/unix/clock_settime.c: Likewise.
30360 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30361 * sysdeps/unix/clock_nanosleep.c: Likewise.
30362 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30363 * rt/clock-compat.c: New file.
30364 * rt/Makefile (librt-routines): Add clock-compat and move
30365 $(clock-routines) to ...
30366 (routines): ... here, new variable.
30367 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30368 Don't add get_clockfreq here.
30369 * rt/Versions (libc: GLIBC_2.17): New version set.
30370 Add clock_* symbols here.
30371 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30373 (GLIBC_2.17): Add clock_* symbols.
30374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30378 Likewise.
30379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30380 Likewise.
30381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30385 * NEWS: Mention the move.
30386
30387 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30388 Use __open, __read, __close rather than their public counterparts.
30389 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30390 (__get_clockfreq_via_cpuinfo): Likewise.
30391 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30392 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30393
30394 * config.h.in (HAVE_IFUNC): New #undef.
30395 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30396 was successful.
30397 * configure: Regenerated.
30398
0cae3f4b
MF
303992012-10-24 Mike Frysinger <vapier@gentoo.org>
30400
30401 * configure.in: Move READELF check to start of file.
30402 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30403 libc_cv_asm_gnu_indirect_function in the process.
30404 * configure: Regenerated.
30405
8175a253
MF
304062012-10-24 Mike Frysinger <vapier@gentoo.org>
30407
30408 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30409 send the output to /dev/null.
30410 (libc_cv_cc_with_libunwind): Likewise.
30411 (libc_cv_as_noexecstack): Likewise.
30412 * configure: Regenerate.
30413
0708a7d1
JM
304142012-10-24 Joseph Myers <joseph@codesourcery.com>
30415
10b40d85
JM
30416 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30417
0708a7d1
JM
30418 * posix/globtest.sh (TMPDIR): Do not set.
30419 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30420 (testout): Likewise.
30421
9fddec1a
AJ
304222012-10-24 Andreas Jaeger <aj@suse.de>
30423
3a8db22f
AJ
30424 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30425 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30426 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30427 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30428 posix_fadvise64, posix_fallocate64.
30429
9fddec1a
AJ
30430 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30431 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30432 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30433 Likewise.
30434 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30435 Likewise.
30436 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30437
30438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30439 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30440 <bits/fcntl-linux.h>.
30441 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30442
30443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30444 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30445 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30446 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30447 [__WORDSIZE != 64]: Likewise.
30448
ebfd1bbd
JM
304492012-10-23 Joseph Myers <joseph@codesourcery.com>
30450
03ac099f
JM
30451 * Makeconfig (run-built-tests): New variable.
30452 * Rules [$(cross-compiling) = yes]: Change condition to
30453 [$(run-built-tests) = no].
30454 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30455 to [$(run-built-tests) = yes].
30456 * elf/Makefile [$(cross-compiling) = no]: Likewise
30457 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30458 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30459 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30460 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30461 * io/Makefile [$(cross-compiling) = no]: Likewise.
30462 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30463 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30464 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30465 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30466 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30467 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30468 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30469 * string/Makefile [$(cross-compiling) = no]: Likewise.
30470
ebfd1bbd
JM
30471 * posix/Makefile ($(objpfx)globtest.out): Pass
30472 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30473 $(rtld-installed-name).
30474 * posix/globtest.sh (elf_objpfx): Remove variable.
30475 (rtld_installed_name): Likewise.
30476 (library_path): Likewise.
30477 (run_program_prefix): New variable. Use for running globtest
30478 binary.
30479
166bca24
JB
304802012-10-23 Jim Blandy <jimb@codesourcery.com>
30481 Joseph Myers <joseph@codesourcery.com>
30482
30483 * Makeconfig (host-built-program-cmd): New variable.
30484 * elf/Makefile (tst-stackguard1-ARGS): Use
30485 $(host-built-program-cmd).
30486 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30487 (tst-spawn-ARGS): Likewise.
30488 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30489
88866099
JM
304902012-10-23 Joseph Myers <joseph@codesourcery.com>
30491 Jim Blandy <jimb@codesourcery.com>
30492
30493 * Makeconfig (run-via-rtld-prefix): New variable.
30494 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30495 (built-program-cmd): Likewise.
30496
b4b4c296
AJ
304972012-10-22 Andreas Jaeger <aj@suse.de>
30498
30499 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30500 __O_RSYNC if it exists, otherwise to O_SYNC.
30501
6fb54a22
JB
305022012-10-22 Jim Blandy <jimb@codesourcery.com>
30503 Joseph Myers <joseph@codesourcery.com>
30504
30505 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30506 /dev/null.
30507 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30508 from /dev/null
30509 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30510 /dev/null.
30511
481b90b9
AJ
305122012-10-22 Andreas Jaeger <aj@suse.de>
30513
2a0e2669
AJ
30514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30515 Define always.
30516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30517
76e38f9a
AJ
30518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30519 bits/fcntl-linux.h.
30520
7cd37b43
AJ
30521 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30522 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30523
481b90b9
AJ
30524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30525 to __O_LARGEFILE.
30526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30527 to __O_LARGEFILE.
30528
aba75984
JB
305292012-10-21 Jim Blandy <jimb@codesourcery.com>
30530 Joseph Myers <joseph@codesourcery.com>
30531
30532 * config.make.in (NM): New variable.
30533
88d4247f
AJ
305342012-10-21 Andreas Jaeger <aj@suse.de>
30535
30536 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30537 definitions and declarations that are provided by
30538 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30539
f2eed205
L
305402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30541
30542 [BZ #14683]
30543 * elf/Makefile (tests-static): Add tst-leaks1-static.
30544 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30545 ($(objpfx)tst-leaks1-static): New rule.
30546 ($(objpfx)tst-leaks1-static-mem): Likewise.
30547 (tst-leaks1-static-ENV): New macro.
30548 * elf/dl-open.c (dl_open_worker): Check the main application
30549 only if SHARED is defined.
30550 * elf/tst-leaks1-static.c: New file.
30551
335e6931
AJ
305522012-10-20 Andreas Jaeger <aj@suse.de>
30553
30554 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30555 generic values for Linux.
30556 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30557 and declarations that are provided by <bits/fcntl-linux.h> and
30558 include <bits/fcntl-linux.h>.
30559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30561
ac5c94d3
RM
305622012-10-20 Roland McGrath <roland@hack.frob.com>
30563
30564 * io/fcntl.h: Move include of <bits/types.h> to the top and
30565 include it unconditionally.
30566
de54b33a
L
305672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30568
228cfb01
L
30569 * wcsmbs/Makefile (tests-ifunc): New variable.
30570 (tests): Add $(tests-ifunc).
30571 * wcsmbs/test-wcschr-ifunc.c: New file.
30572 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30573 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30574 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30575 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30576 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30577
69f07e5f
L
30578 * string/Makefile (tests-ifunc): New variable.
30579 (tests): Add $(tests-ifunc).
30580 * string/test-memccpy.c (TEST_NAME): New macro.
30581 * string/test-memchr.c (TEST_NAME): Likewise.
30582 * string/test-memcmp.c (TEST_NAME): Likewise.
30583 * string/test-memcpy.c (TEST_NAME): Likewise.
30584 * string/test-memmem.c (TEST_NAME): Likewise.
30585 * string/test-memmove.c (TEST_NAME): Likewise.
30586 * string/test-memset.c (TEST_NAME): Likewise.
30587 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30588 * string/test-stpcpy.c (TEST_NAME): Likewise.
30589 * string/test-stpncpy.c (TEST_NAME): Likewise.
30590 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30591 * string/test-strcasestr.c (TEST_NAME): Likewise.
30592 * string/test-strcat.c (TEST_NAME): Likewise.
30593 * string/test-strchr.c (TEST_NAME): Likewise.
30594 * string/test-strcmp.c(TEST_NAME): Likewise.
30595 * string/test-strcpy.c (TEST_NAME): Likewise.
30596 * string/test-strcspn.c (TEST_NAME): Likewise.
30597 * string/test-strlen.c (TEST_NAME): Likewise.
30598 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30599 * string/test-strncmp.c (TEST_NAME): Likewise.
30600 * string/test-strncpy.c (TEST_NAME): Likewise.
30601 * string/test-strnlen.c (TEST_NAME): Likewise.
30602 * string/test-strpbrk.c (TEST_NAME): Likewise.
30603 * string/test-strrchr.c (TEST_NAME): Likewise.
30604 * string/test-strspn.c (TEST_NAME): Likewise.
30605 * string/test-strstr.c (TEST_NAME): Likewise.
30606 * string/test-bcopy-ifunc.c: New file.
30607 * string/test-bzero-ifunc.c: Likewise.
30608 * string/test-memccpy-ifunc.c: Likewise.
30609 * string/test-memchr-ifunc.c: Likewise.
30610 * string/test-memcmp-ifunc.c: Likewise.
30611 * string/test-memcpy-ifunc.c: Likewise.
30612 * string/test-memmem-ifunc.c: Likewise.
30613 * string/test-memmove-ifunc.c: Likewise.
30614 * string/test-mempcpy-ifunc.c: Likewise.
30615 * string/test-memset-ifunc.c: Likewise.
30616 * string/test-rawmemchr-ifunc.c: Likewise.
30617 * string/test-stpcpy-ifunc.c: Likewise.
30618 * string/test-stpncpy-ifunc.c: Likewise.
30619 * string/test-strcasecmp-ifunc.c: Likewise.
30620 * string/test-strcasestr-ifunc.c: Likewise.
30621 * string/test-strcat-ifunc.c: Likewise.
30622 * string/test-strchr-ifunc.c: Likewise.
30623 * string/test-strchrnul-ifunc.c: Likewise.
30624 * string/test-strcmp-ifunc.c: Likewise.
30625 * string/test-strcpy-ifunc.c: Likewise.
30626 * string/test-strcspn-ifunc.c: Likewise.
30627 * string/test-strlen-ifunc.c: Likewise.
30628 * string/test-strncasecmp-ifunc.c: Likewise.
30629 * string/test-strncat-ifunc.c: Likewise.
30630 * string/test-strncmp-ifunc.c: Likewise.
30631 * string/test-strncpy-ifunc.c: Likewise.
30632 * string/test-strnlen-ifunc.c: Likewise.
30633 * string/test-strpbrk-ifunc.c: Likewise.
30634 * string/test-strrchr-ifunc.c: Likewise.
30635 * string/test-strspn-ifunc.c: Likewise.
30636 * string/test-strstr-ifunc.c: Likewise.
30637
de54b33a
L
30638 * debug/Makefile (tests-ifunc): New variable.
30639 (tests): Add $(tests-ifunc).
30640 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30641 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30642 * debug/test-stpcpy_chk-ifunc.c: New file.
30643 * debug/test-strcpy_chk-ifunc.c: Likewise.
30644
88481c16
SP
306452012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30646
30647 [BZ #13601]
30648 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30649 header is not read in.
30650
135948bd
JM
306512012-10-19 Joseph Myers <joseph@codesourcery.com>
30652
89f1c388
JM
30653 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30654 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30655 directly. Pass built executable to script as
30656 $(built-program-cmd).
30657 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30658 $testprogram without using LD_LIBRARY_PATH and $ldso.
30659
e40a0d21
JM
30660 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30661 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30662 $(rtld-installed-name).
30663 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30664 (rtld_installed_name): Likewise.
30665 (library_path): Likewise.
30666 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30667 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30668 $(run-program-prefix) to tst-tables.sh.
30669 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30670 it to run tst-table-from and tst-table-to.
30671 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30672 Pass it to tst-table.sh.
30673 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30674 $(run-program-prefix) to tst-gettext.sh.
30675 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30676 tst-translit.sh.
30677 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30678 tst-gettext2.sh.
30679 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30680 to run tst-gettext.
30681 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30682 to run tst-gettext2.
30683 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30684 to run tst-translit.
30685 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30686 $(run-program-prefix) to tst-mtrace.sh.
30687 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30688 to run tst-mtrace.
30689 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30690 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30691 $(rtld-installed-name).
30692 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30693 (rtld_installed_name): Likewise.
30694 (run_program_prefix): New variable. Use it to run wordexp-test.
30695
728e272a
JM
30696 * Makeconfig (ARCH): Remove all definitions.
30697 (machine): Likewise.
30698 [ARCH]: Remove conditional code.
30699 [!objdir]: Give error.
30700 [!objdir] (objpfx): Remove.
30701 [!objdir] (common-objpfx): Likewise.
30702 [!objdir] (common-objdir): Likewise.
30703 * configure.in (config_makefile): Remove. Hardcode Makefile in
30704 AC_CONFIG_FILES call.
30705 * configure: Regenerated.
30706
d528cdcf
JM
30707 [BZ #13888]
30708 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30709 or TMPDIR.
30710 (testout): Likewise.
30711
135948bd
JM
30712 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30713 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30714 $(rtld-installed-name).
30715 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30716 (rtld_installed_name): Likwise.
30717 (runit): Remove function.
30718 (run_getconf): New variable, Use it for running getconf binary.
30719
38c78296
L
307202012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30721
30722 [BZ #14716]
30723 * string/test-memmem.c (check_result): New function.
30724 (do_one_test): Use it.
30725 (check1): New function.
30726 (test_main): Use it.
30727
d077f65f
MT
307282012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30729
30730 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30731
ced52c71
JM
307322012-10-18 Joseph Myers <joseph@codesourcery.com>
30733
30734 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30735 (_G_LSEEK64): Likewise.
30736 (_G_MMAP64): Likewise.
30737 (_G_FSTAT64): Likewise.
30738 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30739 (_G_LSEEK64): Likewise.
30740 (_G_MMAP64): Likewise.
30741 (_G_FSTAT64): Likewise.
30742 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30743 unconditional. Call __mmap64 directly.
30744 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30745 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30746 __lseek64 directly.
30747 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30748 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30749 __mmap64 directly.
30750 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30751 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30752 __lseek64 directly.
30753 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30754 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30755 __lseek64 directly.
30756 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30757 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30758 __lseek64 directly.
30759 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30760 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30761 __fxstat64 directly.
30762 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30763 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30764 unconditional.
30765 (freopen64) [!_G_OPEN64]: Remove conditional code.
30766 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30767 unconditional.
30768 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30769 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30770 unconditional.
30771 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30772 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30773 unconditional.
30774 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30775 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30776 unconditional.
30777 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30778 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30779 unconditional.
30780 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30781 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30782 unconditional.
30783 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30784 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30785 unconditional.
30786 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30787
b741de23
SP
307882012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30789
30790 [BZ #12140]
30791 * manual/memory.texi (Malloc Tunable Parameters): Add note
30792 about free list pointers overwriting some perturb bytes.
30793 Wording suggested by Roland McGrath.
30794
f9b9d9c9
JM
307952012-10-17 Joseph Myers <joseph@codesourcery.com>
30796
30797 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30798 (lgamma_test): Likewise.
30799 (tgamma_test): Likewise.
30800
172a631a
FW
308012012-10-16 Florian Weimer <fweimer@redhat.com>
30802
30803 [BZ #14700]
30804 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30805 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30806
e9f37252
MK
308072012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30808
30809 * NEWS: Mention BZ #14716.
30810 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30811 when removing AVAILABLE1_USES_J macro.
30812
d394eb74
L
308132012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30814
30815 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30816 (__bswap_64): __uint64_t for unsigned 64-bit int.
30817
ca38dc17
AS
308182012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30819
30820 * include/string.h (memmem): Declare libc hidden alias.
30821 * string/memmem.c (memmem): Define libc hidden alias.
30822 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30823 __read, __close instead of open, read, close.
30824
9a387d1f
L
308252012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30826
ac49ecaf
L
30827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30828 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30829 global and hidden.
30830 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30831 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30832 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30833 Likewise.
30834 (__rawmemchr_sse2): Likewise.
30835 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30836 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30837 (__strchr_sse2): Likewise.
30838 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30839 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30840 (__strcasecmp_sse2): Likewise.
30841 (__strncasecmp_sse2): Likewise.
30842 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30843 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30844 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30845 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30846 (__strrchr_sse2): Likewise.
30847 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30848 ifunc-impl-list.c.
30849 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30850 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30851 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30852 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30853 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30854 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30855 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30856 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30857 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30858 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30859 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30860 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30861 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30862 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30863 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30864 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30865 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30866 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30867 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30868 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30869 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30870 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30871 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30872 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30873 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30874 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30875 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30876 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30877 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30878 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30879
b090e8ea
L
30880 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30881 global and hidden.
30882 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30883 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30884 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30885 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30886 Likewise.
30887 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30888 Likewise.
30889 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30890 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30891 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30892 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30893 ifunc-impl-list.c.
30894 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30895 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30896 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30897 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30898 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30899 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30900 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30901 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30902 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30903 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30904 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30905 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30906 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30907 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30908 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30909 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30910 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30911 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30912 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30913 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30914 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30915 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30916 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30917 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30918 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30919 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30920 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30921 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30922 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30923 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30924 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30925 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30926 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30927 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30928 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30929 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30930 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30931 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30932 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30933 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30934 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30935
11dd4af6
L
30936 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30937 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30938 * include/ifunc-impl-list.h: New file.
30939 * misc/ifunc-impl-list.c: Likewise.
30940 * misc/Makefile (routines): Add ifunc-impl-list.
30941 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30942 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
30943 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30944 TEST_NAME]: New variables.
11dd4af6
L
30945 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30946 are defined.
30947 (test_init): Call __libc_ifunc_impl_list to initialize
30948 func_list if TEST_IFUNC and TEST_NAME are defined.
30949
9a387d1f
L
30950 * string/Makefile (strop-tests): Add bcopy and bzero.
30951 * string/test-bcopy.c: New file.
30952 * string/test-bzero.c: Likewise.
30953 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30954 defined.
30955 * string/test-memset.c: Support bzero test if TEST_BZERO is
30956 defined.
30957 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30958 __libc_memmove.
30959 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30960 __libc_memset.
30961 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30962 of memset.
30963
472371b9
JM
309642012-10-10 Joseph Myers <joseph@codesourcery.com>
30965
1e4a9536
JM
30966 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30967 * configure: Regenerated.
30968
d173d12e
JM
30969 * Makeconfig (+link-static-before-libc): Don't include
30970 $(link-static-libc).
30971
472371b9
JM
30972 * libio/libio.h (_IO_pos_t): Remove.
30973
89a3ad0b
AO
309742012-10-10 Alexandre Oliva <aoliva@redhat.com>
30975
30976 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30977 McGrath.
30978
e7451425
AO
309792012-10-10 Alexandre Oliva <aoliva@redhat.com>
30980
30981 * crypt/crypt-entry.c: Include fips-private.h.
30982 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30983 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30984 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30985 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30986
4ba74a35
AO
309872012-10-10 Alexandre Oliva <aoliva@redhat.com>
30988
30989 * crypt/crypt-private.h: Include stdbool.h.
30990 (_ufc_setup_salt_r): Return bool.
30991 * crypt/crypt-entry.c: Include errno.h.
30992 (__crypt_r): Return NULL with EINVAL for bad salt.
30993 * crypt/crypt_util.c (bad_for_salt): New.
30994 (_ufc_setup_salt_r): Check that salt is long enough and within
30995 the specified alphabet.
30996 * crypt/badsalttest.c: New file.
30997 * crypt/Makefile (tests): Add it.
30998 ($(objpfx)badsalttest): New.
30999
f96f1242
MK
310002012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31001
31002 * NEWS: Add entry for BZ #14602.
31003
0e8e0c1c
JM
310042012-10-09 Joseph Myers <joseph@codesourcery.com>
31005
31006 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31007 type-generic.
31008 * math/libm-test.inc: Update comment listing what functions and
31009 macros are tested.
31010 (isgreater_test): New function.
31011 (isgreaterequal_test): Likewise.
31012 (isless_test): Likewise.
31013 (islessequal_test): Likewise.
31014 (islessgreater_test): Likewise.
31015 (isunordered_test): Likewise.
31016 (main): Call the new functions.
31017
273edc5e
RM
310182012-10-09 Roland McGrath <roland@hack.frob.com>
31019
b8493de0
RM
31020 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31021 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31022 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31023 * sysdeps/i386/configure: Regenerated.
31024 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31025 * sysdeps/mach/configure: Regenerated.
31026 * sysdeps/mach/hurd/configure: Regenerated.
31027 * sysdeps/powerpc/configure: Regenerated.
31028 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31029 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31030 * sysdeps/s390/s390-32/configure: Regenerated.
31031 * sysdeps/s390/s390-64/configure: Regenerated.
31032 * sysdeps/sh/configure: Regenerated.
31033 * sysdeps/sparc/configure: Regenerated.
31034 * sysdeps/unix/sysv/linux/configure: Regenerated.
31035 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31036 * sysdeps/x86_64/configure: Regenerated.
31037
273edc5e
RM
31038 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31039 defined. Don't check if MAP is NULL.
31040
c8450f70
JM
310412012-10-09 Joseph Myers <joseph@codesourcery.com>
31042
31043 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31044 (_G_stat64): Likewise.
31045 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31046 (_G_stat64): Likewise.
31047 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31048 instead of struct _G_stat64.
31049 * libio/fileops.c (mmap_remap_check): Likewise.
31050 (decide_maybe_mmap): Likewise.
31051 (_IO_new_file_seekoff): Likewise.
31052 (_IO_file_stat): Likewise.
31053 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31054 _G_off64_t.
31055 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31056 instead of struct _G_stat64.
31057 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31058
57e605ba
MK
310592012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31060
31061 [BZ #14602]
31062 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31063 Replace with ...
31064 (CHECK_EOL): New macro.
31065 (two_way_short_needle): Check beginning of haystack for EOL. Use
31066 CHECK_EOL.
31067 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31068 Replace with CHECK_EOL.
31069 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31070 Replace with CHECK_EOL.
31071
ef1bb361
JM
310722012-10-08 Joseph Myers <joseph@codesourcery.com>
31073
31074 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31075 type-generic.
31076 * math/libm-test.inc: Update comment listing what functions and
31077 macros are tested.
31078 (finite_test): New function.
31079 (isinf_test): Likewise.
31080 (isnan_test): Likewise.
31081 (fpclassify_test): Test subnormal input.
31082 (isfinite_test): Likewise.
31083 (isnormal_test): Likewise.
31084 (main): Call the new functions.
31085
55f11534
JN
310862012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31087
31088 [BZ #14660]
31089 * Makerules (%.dynsym): Force C locale when running
31090 $(OBJDUMP) --dynamic-syms.
31091
1ab29350
AS
310922012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31093
31094 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31095 <stdint.h>.
31096
f1ecb7ef
DM
310972012-10-06 David S. Miller <davem@davemloft.net>
31098
31099 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31100 upper 32-bits of the length value in %o2 since we use branch-on-register
31101 tests which consider the entire 64-bit register.
31102
5d41d91a
L
311032012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31104
31105 * string/test-strstr.c (check2): Add a test for page boundary.
31106
3baddb72
DM
311072012-10-05 David S. Miller <davem@davemloft.net>
31108
31109 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31110 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31111 file.
31112 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31113 sysdep_routines.
31114 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31115 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31116 and bzero when HWCAP_SPARC_CRYPTO is present.
31117
9cee5585
L
311182012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31119
d7e0dab9
L
31120 [BZ #14602]
31121 * string/test-strstr.c (check2): New function.
31122 (test_main): Call check2.
31123
03759f47
L
31124 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31125 and bug-strchr1.
31126 * string/bug-strcasestr1.c (do_test): Moved to ...
31127 * string/test-strcasestr.c (check1): Here. New function.
31128 (do_one_test): Break out result checking code into ...
31129 (check_result): This. New function.
31130 (do_one_test): Call check_result.
31131 (test_main): Call check1.
31132 * string/bug-strchr1.c (do_test): Moved to ...
31133 * string/test-strchr.c (check1): Here. New function.
31134 (do_one_test): Break out result checking code into ...
31135 (check_result): This. New function.
31136 (do_one_test): Call check_result.
31137 (test_main): Call check1.
31138 * string/bug-strstr1.c (main): Moved to ...
046f153e 31139 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31140 (do_one_test): Break out result checking code into ...
31141 (check_result): This. New function.
31142 (do_one_test): Call check_result.
31143 (test_main): Call check1.
31144 * string/bug-strcasestr1.c: Removed.
31145 * string/bug-strchr1.c: Likewise.
31146 * string/bug-strstr1.c: Likewise.
31147
53cea63e
L
31148 * elf/Makefile (dl-routines): Add hwcaps.
31149 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31150 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31151 (_dl_important_hwcaps): Moved to ...
31152 * elf/dl-hwcaps.c: Here. New file.
31153 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31154
9cee5585 31155 [BZ #14557]
bb859b06
L
31156 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31157 if IS_IN_rtld isn't defined.
31158
9cee5585
L
31159 * elf/dl-support.c (_dl_sysinfo_map): New.
31160 Include "get-dynamic-info.h" and "setup-vdso.h".
31161 (_dl_non_dynamic_init): Call setup_vdso.
31162 * elf/dynamic-link.h: Don't include <assert.h>.
31163 (elf_get_dynamic_info): Moved to ...
31164 * elf/get-dynamic-info.h: Here. New file.
31165 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31166 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31167 * elf/setup-vdso.h: Here. New file.
31168 * elf/rtld.c: Include "setup-vdso.h".
31169 (dl_main): Call setup_vdso.
31170
23c31b76
JM
311712012-10-05 Joseph Myers <joseph@codesourcery.com>
31172
28234b07
JM
31173 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31174 creal in comment listing functions tested. List finite, isinf,
31175 isnan, isless, islessequal, isgreater, isgreaterequal,
31176 islessgreater, isunordered, lgamma_r and pow10 as functions and
31177 macros not tested. Mention which functions not tested are aliases
31178 for other functions. Fix typo. Note that signs of NaNs are not
31179 tested.
31180
23c31b76
JM
31181 * scripts/config.guess: Update from config.git.
31182 * scripts/config.sub: Likewise.
31183
9043e228
RM
311842012-10-04 Roland McGrath <roland@hack.frob.com>
31185
31186 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31187 * misc/madvise.c (madvise): Renamed to __madvise.
31188 Make madvise a weak alias.
31189 * include/sys/mman.h: Declare __madvise.
31190 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31191 * sysdeps/unix/syscalls.list
31192 (madvise): Make __madvise the strong name, and madvise a weak alias.
31193 * sysdeps/unix/sysv/linux/syscalls.list
31194 (madvise, mmap): Remove redundant entries.
31195 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31196 * malloc/malloc.c (mtrim): Likewise.
31197 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31198
f57f8055
RM
311992012-10-03 Roland McGrath <roland@hack.frob.com>
31200
31201 * sysdeps/mach/hurd/dl-cache.c: File removed.
31202 * config.h.in (USE_LDCONFIG): New #undef.
31203 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31204 * configure: Regenerated.
31205 * elf/Makefile (dl-routines): Add dl-cache only under
31206 [$(use-ldconfig) = yes].
31207 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31208 cache on [USE_LDCONFIG].
31209 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31210 [USE_LDCONFIG].
31211 * elf/rtld.c (dl_main): Likewise.
31212
5bb0c10a
PT
312132012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31214
31215 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31216 _SC_LEVEL4_CACHE_LINESIZE.
31217
010188c6
RM
312182012-10-03 Roland McGrath <roland@hack.frob.com>
31219
31220 * sysdeps/unix/bsd/confstr.h: File removed.
31221
b6c5ec07
AO
312222012-10-02 Alexandre Oliva <aoliva@redhat.com>
31223
31224 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31225 sys/sdt-config.h.
31226
408223d4
RM
312272012-10-02 Roland McGrath <roland@hack.frob.com>
31228
31229 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31230 Make 'mapoff' field ElfW(Off) rather than off_t.
31231
bb9510dc
DL
312322012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31233
fc997c6e
DL
31234 * nscd/Makefile: Remove nscd-cflags and all its users.
31235 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31236 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31237
bb9510dc
DL
31238 [BZ #10631]
31239 * malloc.c (malloc_printerr): Clarify error message.
31240
05699367
L
312412012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31242
31243 [BZ #14648]
31244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31245 Set bit_FMA_Usable if FMA is supported.
31246 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31247 macro.
31248 (bit_FMA4_Usable): Updated.
31249 (index_FMA_Usable): New macro.
31250 (CPUID_FMA): Likewise
31251 (HAS_FMA): Defined with bit_FMA_Usable.
31252
51367701
RM
312532012-10-01 Roland McGrath <roland@hack.frob.com>
31254
31255 * bits/types.h (__swblk_t): Type removed.
31256 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31257 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31259 (__SWBLK_T_TYPE): Likewise.
31260 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31261 (__SWBLK_T_TYPE): Likewise.
31262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31263 (__SWBLK_T_TYPE): Likewise.
31264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31265 (__SWBLK_T_TYPE): Likewise.
31266
4d57bf63 312672012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 31268 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
31269
31270 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31271 (xdr_mapname): Use YPMAXMAP as maxsize.
31272 (xdr_peername): Use YPMAXPEER as maxsize.
31273 (xdr_keydat): Use YPAXRECORD as maxsize.
31274 (xdr_valdat): Use YPMAXRECORD as maxsize.
31275
93c65d43
RM
312762012-10-01 Roland McGrath <roland@hack.frob.com>
31277
497a03d6
RM
31278 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31279
93c65d43
RM
31280 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31281 * csu/init-first.c: ... here.
31282 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31283 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31284 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31285 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31286 * sysdeps/i386/init-first.c: File removed.
31287 * sysdeps/sh/init-first.c: File removed.
31288
bec749fd
JM
312892012-10-01 Joseph Myers <joseph@codesourcery.com>
31290
31291 [BZ #14645]
31292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31293 if x * y might underflow to zero and z is zero.
31294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31296 * math/libm-test.inc (min_subnorm_value): New variable.
31297 (fma_test): Add more tests.
31298 (fma_test_towardzero): Likewise.
31299 (fma_test_downward): Likewise
31300 (fma_test_upward): Likewise.
31301 (initialize): Set min_subnorm_value.
31302
8ec5b013
JM
313032012-09-29 Joseph Myers <joseph@codesourcery.com>
31304
31305 [BZ #14638]
31306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31307 0 + 0.
31308 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31309 mode for addition resulting in exact zero.
31310 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31312 exact 0 + 0.
31313 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31314 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31315 * math/libm-test.inc (fma_test): Add more tests.
31316 (fma_test_towardzero): New function.
31317 (fma_test_downward): Likewise.
31318 (fma_test_upward): Likewise.
31319 (main): Call the new functions.
31320
b1fa802e
DM
313212012-09-28 David S. Miller <davem@davemloft.net>
31322
31323 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31324
d3b9fd9e
RM
313252012-09-28 Roland McGrath <roland@hack.frob.com>
31326
ea4d37b3
RM
31327 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31328 instead of SIGALRM.
31329
ac51c949
RM
31330 * sysdeps/gnu/_G_config.h: Moved to ...
31331 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31332 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31333 * sysdeps/generic/_G_config.h: ... here.
31334
28c195f7
RM
31335 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31336
848917f9
RM
31337 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31338
6bacf05b
RM
31339 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31340 Conditionalize target on [libnss_test1.so-version].
31341
91363dbb
RM
31342 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31343
cc87f7d8
RM
31344 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31345 (elfobjdir): Move out of conditionals.
31346
b1c608fe
RM
31347 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31348 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31349 (__nss_lookup_function): Conditionalize label remove_from_tree on
31350 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 31351
1d9a6d96
DM
313522012-09-28 David S. Miller <davem@davemloft.net>
31353
31354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31355 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31356 file.
31357 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31358 sysdep_routines.
31359 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31361 when HWCAP_SPARC_CRYPTO is present.
31362
72581615
PT
313632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31364
31365 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31366
715a900c
JL
313672012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31368
31369 [BZ #6530]
31370 * stdio-common/vfprintf.c (process_string_arg): Revert
31371 2000-07-22 change.
31372
313732011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31374
31375 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31376 for testcase.
31377 * stdio-common/tst-sprintf.c: Include <locale.h>
31378 (main): Test sprintf's handling of incomplete multibyte
31379 characters.
31380
9bac1d86
L
313812012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31382
31383 * elf/dl-runtime.c (VERSYMIDX): Removed.
31384 * elf/dl-version.c (VERSYMIDX): Likewise.
31385 * elf/do-rel.h (VERSYMIDX): Likewise.
31386 (VALIDX): Likewise.
31387 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31388 * elf/rtld.c (VALIDX): Likewise.
31389 (ADDRIDX): Likewise.
9bac1d86
L
31390 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31391 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31392 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31393 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31394 (VALIDX): Likewise.
31395 (ADDRIDX): Likewise.
9bac1d86 31396
b31606c0
PT
313972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31398
31399 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31400
11541177
JL
314012012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31402
31403 [BZ #11438]
31404 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31405 to global scope.
31406 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31407 addresses are in the same scope as 192.0.2/24.
31408 * posix/gai.conf: Document new scope table defaults.
31409
adb26fae
SP
314102012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31411
31412 [BZ #5298]
31413 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31414 for ftell. Compute offsets from write pointers instead.
31415 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31416
4573c6b0
SP
314172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31418
31419 [BZ #14543]
31420 * libio/Makefile (tests): New test case tst-fseek.
31421 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31422 combination works in wide mode.
31423 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31424 state when the external buffer state changes.
31425
aa9bbfe6
DM
314262012-09-27 David S. Miller <davem@davemloft.net>
31427
31428 [BZ #14376]
31429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31430 pass reloc->r_addend in as the 'high' argument to
31431 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31432
784421e7
DM
31433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31434
c39bc8b8
PT
314352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31436
31437 * rt/tst-aio2.c: Include <pthread.h>.
31438 * rt/tst-aio3.c: Likewise.
31439
1ccc2399
SE
314402012-09-27 Steve Ellcey <sellcey@mips.com>
31441
31442 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31443
31ed4153
L
314442012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31445
25f5f885
L
31446 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31447 contents on [SHARED].
31ed4153 31448
b7bfe116
MP
314492012-09-26 Marek Polacek <polacek@redhat.com>
31450
31451 [BZ #14530]
31452 [BZ #13741]
31453 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31454 for C++ and GCC <4.3 as well as for non GCC compilers.
31455
43c4edba
MT
314562012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31457
31458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31459
6a1bf82f
RM
314602012-09-25 Roland McGrath <roland@hack.frob.com>
31461
31462 * Makefile.in (all, install): Declare with .PHONY.
31463 Reported by Michael Hope <michael.hope@linaro.org>.
31464
8ad11b9a
TMQMF
314652012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31466
31467 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31468 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31469 system header.
31470 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31471 Likewise.
31472 (sydep_routines): Add the new and the internal functions.
31473 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31474 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31476 (GLIBC_2.17): Add the new function.
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31478 (GLIBC_2.17): Likewise.
31479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31480 (GLIBC_2.17): Likewise.
31481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31482 (GLIBC_2.17): Likewise.
31483 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31484
7e2fca8d
AM
314852012-09-25 Alan Modra <amodra@gmail.com>
31486
31487 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31488 Add release barrier before setting once_control to say
31489 initialisation is done. Add hints on lwarx. Use macro in
31490 place of isync.
31491 (clear_once_control): Add release barrier.
31492
b87c4b24
JM
314932012-09-25 Joseph Myers <joseph@codesourcery.com>
31494
d032e0d2
JM
31495 [BZ #13629]
31496 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31497 specially.
31498 * math/s_clog10.c (__clog10): Likewise.
31499 * math/s_clog10f.c (__clog10f): Likewise.
31500 * math/s_clog10l.c (__clog10l): Likewise.
31501 * math/s_clogf.c (__clogf): Likewise.
31502 * math/s_clogl.c (__clogl): Likewise.
31503 * math/Makefile (libm-calls): Add x2y2m1.
31504 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31505 (__x2y2m1): Likewise.
31506 (__x2y2m1l): Likewise.
31507 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31508 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31509 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31510 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31511 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31512 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31513 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31514 * sysdeps/i386/fpu/libm-test-ulps: Update.
31515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31516
b87c4b24
JM
31517 [BZ #14621]
31518 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31519 int as type of variable DEPTH.
31520 (glob): Use size_t instead of int as type of variables NEWCOUNT
31521 and OLD_PATHC.
31522
6d3bf199
LD
315232012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31524
22bf5c17
LD
31525 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31526 Add s_sincosf-sse2.
31527 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31528 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31529 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31530 macros for using routine as __sincosf_ia32.
31531 Use macro for function declaration and weak_alias.
31532 * sysdeps/i386/fpu/libm-test-ulps: Update.
31533
31534 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31536
31537 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
31538 subnormal argument.
31539 * math/s_cexpf.c (__cexpf): Likewise.
31540 * math/s_csinf.c (__csinf): Likewise.
31541 * math/s_csinhf.c (__csinhf): Likewise.
31542 * math/s_ctanf.c (__ctanf): Likewise.
31543 * math/s_ctanhf.c (__ctanhf): Likewise.
31544 * math/s_ccosh.c (__ccoshf): Likewise.
31545 * math/s_cexp.c (__cexpl): Likewise.
31546 * math/s_csin.c (__csin): Likewise.
31547 * math/s_csinh.c (__csinh): Likewise.
31548 * math/s_ctan.c (__ctan): Likewise.
31549 * math/s_ctanh.c (ctanh): Likewise.
31550 * math/s_ccoshl.c (__ccoshl): Likewise.
31551 * math/s_cexpl.c (__cexpl): Likewise.
31552 * math/s_csinl.c (__csinl): Likewise.
31553 * math/s_csinhl.c (__csinhl): Likewise.
31554 * math/s_ctanl.c (__ctanl): Likewise.
31555 * math/s_ctanhl.c (__ctanhl): Likewise.
31556
203e5603
JM
315572012-09-25 Joseph Myers <joseph@codesourcery.com>
31558
31559 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31560 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31561 (_IO_off_t): Define to __off_t, not _G_off_t.
31562 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31563 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31564 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31565 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31566 type of __dummy and __dummy2 fields.
31567 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31568 (_G_ssize_t): Likewise.
31569 (_G_off_t): Likewise.
31570 (_G_pid_t): Likewise.
31571 (_G_uid_t): Likewise.
31572 (_G_wchar_t): Likewise.
31573 (_G_wint_t): Likewise.
31574 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31575 (_G_ssize_t): Likewise.
31576 (_G_off_t): Likewise.
31577 (_G_pid_t): Likewise.
31578 (_G_uid_t): Likewise.
31579 (_G_wchar_t): Likewise.
31580 (_G_wint_t): Likewise.
31581 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31582 (_G_ssize_t): Likewise.
31583 (_G_off_t): Likewise.
31584 (_G_pid_t): Likewise.
31585 (_G_uid_t): Likewise.
31586 (_G_wchar_t): Likewise.
31587 (_G_wint_t): Likewise.
31588
9fab36eb
SP
315892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31590
31591 * malloc/arena.c: Include malloc-sysdep.h.
31592 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31593 is sufficient to shrink the heap or an unmap is needed.
31594 * sysdeps/generic/malloc-sysdep.h: New file. Define
31595 new function check_may_shrink_heap.
31596 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31597 new function check_may_shrink_heap.
31598
2b4f00d1
SP
315992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31600
31601 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31602 comments.
31603
9a9028b1
DL
316042012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31605
57c69bef
DL
31606 * catgets/test-gencat.sh: Add "set -e".
31607 * elf/tst-pathopt.sh: Likewise.
31608 * grp/tst_fgetgrent.sh: Likewise.
31609 * iconvdata/run-iconv-test.sh: Likewise.
31610 * intl/tst-gettext.sh: Likewise.
31611 * intl/tst-gettext2.sh: Likewise.
31612 * intl/tst-gettext4.sh: Likewise.
31613 * intl/tst-gettext6.sh: Likewise.
31614 * intl/tst-translit.sh: Likewise.
31615 * io/ftwtest-sh: Likewise.
31616 * libio/test-freopen.sh: Likewise.
31617 * malloc/tst-mtrace.sh: Likewise.
31618 * posix/globtest.sh: Likewise.
31619 * posix/tst-getconf.sh: Likewise.
31620 * posix/wordexp-tst.sh: Likewise.
31621 * stdio-common/tst-printf.sh: Likewise.
31622 * stdio-common/tst-unbputc.sh: Likewise.
31623 * stdlib/tst-fmtmsg.sh: Likewise.
31624 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31625 * catgets/Makefile: Do not specify -e option when running
31626 testsuite shell scripts.
31627 * elf/Makefile: Likewise.
31628 * grp/Makefile: Likewise.
31629 * iconvdata/Makefile: Likewise.
31630 * intl/Makefile: Likewise.
31631 * io/Makefile: Likewise.
31632 * libio/Makefile: Likewise.
31633 * malloc/Makefile: Likewise.
31634 * posix/Makefile: Likewise.
31635 * stdio-common/Makefile: Likewise.
31636 * stdlib/Makefile: Likewise.
31637 * sysdeps/x86_64/Makefile: Likewise.
31638
9a9028b1
DL
31639 * io/ftwtest-sh: Add copyright header.
31640 * posix/globtest.sh: Likewise.
31641 * posix/tst-getconf.sh: Likewise.
31642 * posix/wordexp-tst.sh: Likewise.
31643 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31644
ced6f16e
L
316452012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31646
94b32c39
L
31647 [BZ #13679]
31648 * Makeconfig (+link): Defined as $(+link-static) if
31649 $(build-shared) isn't yes.
31650 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31651 isn't yes.
31652 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31653
189e935b
L
31654 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31655
ced6f16e
L
31656 [BZ #14562]
31657 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31658 new chunk size with MALLOC_ALIGN_MASK.
31659
a9f8e53a
JM
316602012-09-24 Joseph Myers <joseph@codesourcery.com>
31661
31662 [BZ #5044]
31663 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31664 <rounding-mode.h>.
31665 (__printf_fphex): Determine rounding using get_rounding_mode and
31666 round_away.
31667 * stdio-common/tst-printf-round.c (struct hex_test): New
31668 structure.
31669 (hex_tests): New variable.
31670 (test_hex_in_one_mode): New function.
31671 (do_test): Also run tests for hex float output.
31672
43153109
JM
316732012-09-21 Joseph Myers <joseph@codesourcery.com>
31674
31675 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31676 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31677 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31678 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31679 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31680 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31681 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31682 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31683
8a26625d
JM
316842012-09-20 Joseph Myers <joseph@codesourcery.com>
31685
31686 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31687 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31688 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31689 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31690
f3fd569c
DL
316912012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31692
31693 [BZ #14579]
31694 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31695 mode only.
31696 * elf/tst-rtld-load-self.sh: New test.
31697 * elf/Makefile: Run it.
31698
63bbedd4
JM
316992012-09-18 Joseph Myers <joseph@codesourcery.com>
31700
31701 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31702 (tst-writev-ENV): Remove.
31703 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31704
626f8b6a
CM
317052012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31706
31707 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31708
b7aaa4d6
JM
317092012-09-17 Joseph Myers <joseph@codesourcery.com>
31710
31711 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31712 unconditional.
31713 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31714 Likewise.
31715 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31716 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31717 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31718 Likewise.
31719
65513990
L
317202012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31721
31722 [BZ #14587]
31723 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31724 * config.make.in (have-cpp-asm-debuginfo): Removed.
31725 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31726 * configure: Regenerated.
31727
784761be
JM
317282012-09-14 Joseph Myers <joseph@codesourcery.com>
31729
31730 [BZ #5044]
31731 * stdio-common/printf_fp.c: Include <stdbool.h> and
31732 <rounding-mode.h>.
31733 (___printf_fp): Determine rounding using get_rounding_mode and
31734 round_away.
31735 * stdio-common/tst-printf-round.c: New file.
31736 * stdio-common/Makefile (tests): Add tst-printf-round.
31737 (link-libm): New variable.
31738 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31739
9503345f
L
317402012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31741
31742 [BZ #14576]
31743 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31744 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31745 Likewise.
31746 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31747 Likewise.
31748
ad35fc00
JM
317492012-09-13 Joseph Myers <joseph@codesourcery.com>
31750
31751 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31752 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31753 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31754 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31755
6c9b0f68
JM
317562012-09-12 Joseph Myers <joseph@codesourcery.com>
31757
31758 [BZ #14518]
31759 * include/rounding-mode.h: New file.
31760 * sysdeps/generic/get-rounding-mode.h: Likewise.
31761 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31762 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31763 (MAX_VALUE): New macro.
31764 (MIN_VALUE): Likewise.
31765 (overflow_value): New function.
31766 (underflow_value): Likewise.
31767 (round_and_return): Use overflow_value and underflow_value to
31768 determine return values in overflow and underflow cases. Use
31769 round_away to determine rounding depending on rounding mode.
31770 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31771 determine return values in overflow and underflow cases.
31772 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31773 (struct test_results): New structure.
31774 (struct test): Use struct test_results to store expected results
31775 for all rounding modes.
31776 (TEST): Include expected results for all rounding modes.
31777 (test_in_one_mode): New function.
31778 (do_test): Use test_in_one_mode to compute and check results.
31779 Check results for all rounding modes.
31780 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31781 $(link-libm).
31782
19fcedd5
AM
317832012-12-09 Allan McRae <allan@archlinux.org>
31784
1e9d84cd 31785 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 31786
8bbfd2f1
JM
317872012-09-11 Joseph Myers <joseph@codesourcery.com>
31788
31789 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31790 (_G_int32_t): Likewise.
31791 (_G_uint16_t): Likewise.
31792 (_G_uint32_t): Likewise.
31793 (_G_HAVE_BOOL): Likewise.
31794 (_G_HAVE_ATEXIT): Likewise.
31795 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31796 (_G_HAVE_IO_FILE_OPEN): Likewise.
31797 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31798 (_G_int32_t): Likewise.
31799 (_G_uint16_t): Likewise.
31800 (_G_uint32_t): Likewise.
31801 (_G_HAVE_BOOL): Likewise.
31802 (_G_HAVE_ATEXIT): Likewise.
31803 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31804 (_G_HAVE_IO_FILE_OPEN): Likewise.
31805 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31806 (_G_int32_t): Likewise.
31807 (_G_uint16_t): Likewise.
31808 (_G_uint32_t): Likewise.
31809 (_G_HAVE_BOOL): Likewise.
31810 (_G_HAVE_ATEXIT): Likewise.
31811 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31812 (_G_HAVE_IO_FILE_OPEN): Likewise.
31813
b1dc5912
L
318142012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31815
31816 * csu/libc-tls.c: Update copyright years.
31817
0e886ef9
JM
318182012-09-10 Joseph Myers <joseph@codesourcery.com>
31819
28361c5e
JM
31820 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31821 [!_G_USING_THUNKS]: Remove conditional code.
31822 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31823 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31824
0e886ef9
JM
31825 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31826 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31827 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31828 (_G_VTABLE_LABEL_PREFIX): Likewise.
31829 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31830 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31831 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31832 (_G_VTABLE_LABEL_PREFIX): Likewise.
31833 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31834 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31835 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31836 (_G_VTABLE_LABEL_PREFIX): Likewise.
31837 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31838
bcba7aa2
L
318392012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31840
31841 * libio/Makefile: Include ../Makeconfig before tests.
31842 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31843 only if $(build-shared) is yes.
31844
06585ee8
L
31845 * iconv/gconv_db.c: Update copyright years.
31846
80ccd52c
LD
318472012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31848
31849 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31850 unwind info if defined PIC. Fix special cases description.
31851 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31852
31853 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31854 DP_HI_MASK entry.
31855 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31856
691bc9c1
L
318572012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31858
3d9b46b3
L
31859 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31860
de2139a9
L
31861 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31862 is NULL.
31863
5ca78dd0
L
31864 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31865 (LDLIBS-tst-chk4): This.
31866 (LDFLAGS-tst-chk5): Renamed to ...
31867 (LDLIBS-tst-chk5): This.
31868 (LDFLAGS-tst-chk6): Renamed to ...
31869 (LDLIBS-tst-chk6): This.
31870 (LDFLAGS-tst-lfschk4): Renamed to ...
31871 (LDLIBS-tst-lfschk4): This.
31872 (LDFLAGS-tst-lfschk5): Renamed to ...
31873 (LDLIBS-tst-lfschk5): This.
31874 (LDFLAGS-tst-lfschk6): Renamed to ...
31875 (LDLIBS-tst-lfschk6): This.
31876
691bc9c1
L
31877 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31878 on $(common-objpfx)soversions.mk.
31879
65cafb1c
JM
318802012-09-07 Joseph Myers <joseph@codesourcery.com>
31881
31882 [BZ #10014]
31883 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31884 example host name.
31885
c78ab094
SP
318862012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31887
31888 * malloc/arena.c (arena_get_retry): New function that gets
31889 another arena for the caller to try its request on.
31890 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31891 current arena cannot fulfill the request.
31892 (__libc_memalign): Likewise.
31893 (__libc_memalign): Likewise.
31894 (__libc_pvalloc): Likewise.
31895 (__libc_calloc): Likewise.
31896
01f49f59
JT
318972012-09-05 John Tobey <john.tobey@gmail.com>
31898
31899 [BZ #13542]
31900 * manual/arith.texi (Operations on Complex): Fix description
31901 of carg branch cut.
31902
4c23fed5
JM
319032012-09-06 Joseph Myers <joseph@codesourcery.com>
31904
1d3c8572
JM
31905 [BZ #10014]
31906 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31907 host name.
31908
4c23fed5
JM
31909 [BZ #10038]
31910 * manual/memory.texi (Memory): Make order of menu items match
31911 order of sections.
31912
04570aaa
L
319132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31914
31915 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31916 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31917 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31918
b80af2f4
L
319192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31920
31921 * csu/libc-tls.c (static_dtv): Renamed to ...
31922 (_dl_static_dtv): This. Make it global.
31923 (_dl_initial_dtv): Removed.
31924 (__libc_setup_tls): Updated.
31925 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31926 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31927 DL_INITIAL_DTV.
31928
2abe9f15
PM
319292012-09-06 Petr Machata <pmachata@redhat.com>
31930
31931 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31932 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31933 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31934 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31935
0948c3af
L
319362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31937
31938 [BZ #14545]
31939 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31940 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31941 freeing dtv[-1].
31942
a5055ad1
L
319432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31944
31945 [BZ #14544]
31946 * Makeconfig (link-static-before-libc): Replace $(+prector)
31947 with $(+prectorT).
31948 (link-static-after-libc): Replace $(+postctor) with
31949 $(+postctorT).
31950 (link-bounded): Replace $(+prector)/$(+postctor) with
31951 $(+prectorT)/$(+postctorT).
31952 (+prectorT): New macro.
31953 (+postctorT): Likewise.
31954
ed8c2ecd
JM
319552012-09-06 Joseph Myers <joseph@codesourcery.com>
31956
31957 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31958 (round_str): Handle values above the maximum for IBM long double
31959 as inexact.
31960 * stdlib/tst-strtod-round.c (tests): Regenerated.
31961
14c996c8
AK
319622012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31963
31964 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31965 assembler flag.
31966 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31967 zarch_nohighgprs around the zarch optimized routines.
31968 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31969 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31970 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31971 for zarch.
31972
430d6ce6
DM
319732012-09-05 David S. Miller <davem@davemloft.net>
31974
31975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31976
57f41c40
AS
31977 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31978 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
31979 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31980 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31981 entries.
31982
24d4e01b
AO
319832012-09-05 Alexandre Oliva <aoliva@redhat.com>
31984
31985 * malloc/arena.c: Fold copyright years.
31986 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31987
61d58174
AO
319882012-09-05 Alexandre Oliva <aoliva@redhat.com>
31989
31990 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31991
20196a5e
AO
319922012-09-05 Alexandre Oliva <aoliva@redhat.com>
31993
31994 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31995
5c447383
AO
319962012-09-05 Alexandre Oliva <aoliva@redhat.com>
31997
31998 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31999 change internal state upon failure.
32000
fad64255
AO
320012012-09-05 Alexandre Oliva <aoliva@redhat.com>
32002
32003 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32004 * malloc/memusage.c (mmap): Likewise.
32005 (mmap64, mremap): Likewise. Adjust name in comment.
32006
1ffb8c90
SP
320072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32008
32009 * libio/fileops.c: Fix typos in comments.
32010 * libio/oldfileops.c: Likewise.
32011 * libio/wfileops.c: Likewise.
32012
6ef9cc37
SP
320132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32014
32015 [BZ #1349]
32016 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32017 (tst-malloc-usable-ENV): Set environment for test case.
32018 * malloc/hooks.c (malloc_check_get_size): New function to get
32019 requested size.
32020 * malloc/malloc.c (musable): Use malloc_check_get_size.
32021 * malloc/tst-malloc-usable.c: New test case.
32022
4d038ae3
AS
320232012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32024
32025 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32026
c4e85184
AM
320272012-09-05 Allan McRae <allan@archlinux.org>
32028
b9dafc56 32029 [BZ #13966]
c4e85184
AM
32030 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32031 determine header location.
32032 * configure: Regenerated.
32033
e1343020
AS
320342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32035
32036 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32037 float format.
32038 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32039 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32040 format.
e1343020
AS
32041 (test): Regenerate.
32042
0a9f1987
DM
320432012-09-04 David S. Miller <davem@davemloft.net>
32044
32045 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32046 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32047 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32048
29237804
FW
320492012-09-04 Florian Weimer <fweimer@redhat.com>
32050
32051 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32052 failures.
32053
edb3cb88
FW
32054 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32055
60160d83
JM
320562012-09-04 Joseph Myers <joseph@codesourcery.com>
32057
32058 [BZ #9914]
32059 * libio/iogetdelim.c: Include <limits.h>.
32060 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32061 + len + 1 would overflow.
32062
bcd6c8dc
AJ
320632012-09-03 Andreas Jaeger <aj@suse.de>
32064
32065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32066 * sysdeps/i386/fpu/libm-test-ulps: Update.
32067
4ffffbd2
LD
320682012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32069
32070 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32071 Add s_sinf-sse2, s_conf-sse2.
32072
32073 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32074 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32075 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32076 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32077
32078 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32079 for using routine as __sinf_ia32.
32080 Use macro for function declaration and weak_alias.
32081 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32082 for using routine as __cosf_ia32.
32083 Use macro for function declaration and weak_alias.
32084
32085 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32086 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32087
32088 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32089 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32091
32092 * math/libm-test.inc (cos_test): Add more test cases.
32093 (sin_test): Likewise.
32094 (sincos_test): Likewise.
32095
511fa286
AK
320962012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32097
32098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32099 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32100 hidden.
32101 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32102
5f30cfec
L
321032012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32104
32105 [BZ #14538]
32106 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32107 first element of the GOT.
32108 (elf_machine_load_address): Return the difference between
32109 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32110
0786794f
AM
321112012-09-01 Allan McRae <allan@archlinux.org>
32112
5f30cfec
L
32113 [BZ #13412]
32114 * configure.in (AWK): Require gawk version 3.0 or later.
32115 * configure: Regenerated.
0786794f 32116
26889eac
JM
321172012-09-01 Joseph Myers <joseph@codesourcery.com>
32118
32119 * sysdeps/unix/sysv/linux/kernel-features.h
32120 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32121 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32122 [__NR_clock_getres]: Make code unconditional.
32123 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32124 (clock_getcpuclockid): Remove code left unreachable by removal of
32125 conditionals.
32126 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32127 code unconditional.
32128 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32129 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32130 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32131 Make code unconditional.
32132 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32133 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32134 * sysdeps/unix/sysv/linux/clock_settime.c
32135 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32136 conditional code.
32137 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32138 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32139
d22e28b0
L
321402012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32141
32142 [BZ #14476]
32143 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32144 scripts/test-installation.pl.
32145
32146 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32147 and $ld_so_version if it is set.
32148
050af9c4
SP
321492012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32150
32151 [BZ #14516]
32152 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32153 failure if reading from procfs failed.
32154 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32155
ad845c0b
JM
321562012-08-27 Joseph Myers <joseph@codesourcery.com>
32157
32158 * sysdeps/unix/sysv/linux/kernel-features.h
32159 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32160 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32161 Remove conditional code.
32162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32163 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32164 Remove conditional code.
32165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32166 * sysdeps/unix/sysv/linux/i386/fxstat.c
32167 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32169 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32170 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32172 * sysdeps/unix/sysv/linux/i386/lxstat.c
32173 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32174 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32175 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32176 Remove conditional code.
32177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32178 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32179 Remove conditional code.
32180 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32181 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32182 <kernel-features.h>.
32183 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32184 Remove.
32185 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32186 Remove conditional code.
32187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32188 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32189 Remove conditional.
32190
5dbf56af
MF
321912012-08-27 Mike Frysinger <vapier@gentoo.org>
32192
32193 [BZ #5400]
32194 * NEWS: Add fixed bug number.
32195
d6e70f43
JM
321962012-08-27 Joseph Myers <joseph@codesourcery.com>
32197
7efb4737
JM
32198 [BZ #14519]
32199 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32200 underflowing exponent in case of negative sign.
32201 * stdlib/tst-strtod-round-data: Add more tests.
32202 * stdlib/tst-strtod-round.c (tests): Regenerated.
32203
af92131a
JM
32204 [BZ #3479]
32205 * stdlib/strtod_l.c (NDIG): Remove.
32206 (HEXNDIG): Likewise.
32207 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32208 smallest representable value.
32209 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32210 lie within an exact representation of 1/2 ulp of the result.
32211 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32212 unconditionally.
32213 (TENS_P9_IDX): Define unconditionally.
32214 (TENS_P9_SIZE): Likewise.
32215 (TENS_P10_IDX): Likewise.
32216 (TENS_P10_SIZE): Likewise.
32217 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32218 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32219 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32220 entries for 10^2^13 and 10^2^14.
32221 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32222 (TENS_P13_IDX): Define.
32223 (TENS_P13_SIZE): Likewise.
32224 (TENS_P14_IDX): Likewise.
32225 (TENS_P14_SIZE): Likewise.
32226 (_fpioconst_pow10): Change array size to
32227 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32228 unconditional.
32229 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32230 1024]: Add entries for 10^2^13 and 10^2^14.
32231 [LAST_POW10 > _LAST_POW10]: Remove #error.
32232 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32233 (_fpioconst_pow10): Change array size to
32234 FPIOCONST_POW10_ARRAY_SIZE.
32235 * stdlib/gen-fpioconst.c: New file.
32236 * stdlib/gen-tst-strtod-round.c: Likewise.
32237 * stdlib/tst-strtod-round-data: Likewise.
32238 * stdlib/tst-strtod-round.c: Likewise.
32239 * stdlib/Makefile (tests): Add tst-strtod-round.
32240
d6e70f43
JM
32241 [BZ #14459]
32242 * stdlib/strtod_l.c: Include <stdint.h>.
32243 (NDEBUG): Do not define.
32244 (round_and_return): Change EXPONENT parameter to type intmax_t.
32245 Rearrange calculations to avoid internal overflow possibilities.
32246 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32247 Rearrange calculations to avoid internal overflow possibilities.
32248 Assert that number fits inside MPNSIZE limbs.
32249 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32250 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32251 calculations and add assertions to avoid internal overflow
32252 possibilities. Add casts to avoid signed/unsigned operations.
32253 * stdlib/tst-strtod-overflow.c: New file.
32254 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32255
1f529f7d
MP
322562012-08-25 Marek Polacek <polacek@redhat.com>
32257
32258 * time/time.h: Fix some typos in comments.
32259
59a629f1
RM
322602012-08-23 Roland McGrath <roland@hack.frob.com>
32261
32262 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32263 * posix/tst-rfc3484-2.c: Likewise.
32264 * posix/tst-rfc3484-3.c: Likewise.
32265
d3bafbc9
SM
322662012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32267
32268 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32269 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32270
4efcc022
JM
322712012-08-23 Joseph Myers <joseph@codesourcery.com>
32272
32273 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32274 #include of fxstatat64.c.
32275
3cc3ef96
RM
322762012-08-22 Roland McGrath <roland@hack.frob.com>
32277
f04e2132
RM
32278 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32279 * shadow/getspent_r.c: Likewise.
32280 * shadow/getspnam.c: Likewise.
32281 * shadow/getspnam_r.c: Likewise.
32282 * gshadow/getsgent.c: Likewise.
32283 * gshadow/getsgent_r.c: Likewise.
32284 * gshadow/getsgnam.c: Likewise.
32285 * gshadow/getsgnam_r.c: Likewise.
32286 * inet/getnetbyad.c: Likewise.
32287 * inet/getnetbyad_r.c: Likewise.
32288 * inet/getnetbynm.c: Likewise.
32289 * inet/getnetbynm_r.c: Likewise.
32290 * inet/getnetent.c: Likewise.
32291 * inet/getnetent_r.c: Likewise.
32292 * inet/getproto.c: Likewise.
32293 * inet/getproto_r.c: Likewise.
32294 * inet/getprtent.c: Likewise.
32295 * inet/getprtent_r.c: Likewise.
32296 * inet/getprtname.c: Likewise.
32297 * inet/getprtname_r.c: Likewise.
32298 * inet/getrpcbyname.c: Likewise.
32299 * inet/getrpcbyname_r.c: Likewise.
32300 * inet/getrpcbynumber.c: Likewise.
32301 * inet/getrpcbynumber_r.c: Likewise.
32302 * inet/getrpcent.c: Likewise.
32303 * inet/getrpcent_r.c: Likewise.
32304 * inet/getaliasent.c: Likewise.
32305 * inet/getaliasent_r.c: Likewise.
32306 * inet/getaliasname.c: Likewise.
32307 * inet/getaliasname_r.c: Likewise.
32308 * nscd/getgrgid_r.c: Likewise.
32309 * nscd/getgrnam_r.c: Likewise.
32310 * nscd/gethstbyad_r.c: Likewise.
32311 * nscd/gethstbynm3_r.c: Likewise.
32312 * nscd/getpwnam_r.c: Likewise.
32313 * nscd/getpwuid_r.c: Likewise.
32314 * nscd/getsrvbynm_r.c: Likewise.
32315 * nscd/getsrvbypt_r.c: Likewise.
32316 * nscd/gai.c: Likewise.
32317
c53d909c
RM
32318 * configure.in (build_nscd): New substituted variable, set
32319 by --disable-build-nscd and defaults to $use_nscd.
32320 * configure: Regenerated.
32321 * config.make.in (build-nscd): New substituted variable.
32322 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32323 Change conditional to require [$(build-nscd) = yes] as well.
32324 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32325
3cc3ef96
RM
32326 [BZ# 13696]
32327 * configure.in (use_nscd): New substituted variable, set by
32328 --disable-nscd. If enabled, define USE_NSCD.
32329 * configure: Regenerated.
32330 * config.h.in: Add USE_NSCD.
32331 * config.make.in (use-nscd): New substituted variable.
32332 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32333 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32334 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32335 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32336 (CFLAGS-getgrnam_r.c): Likewise.
32337 (CFLAGS-initgroups.c): Likewise.
32338 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32339 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32340 Variables removed.
32341 * inet/getnetgrent_r.c
32342 (nscd_setnetgrent): New function, broken out of ...
32343 (setnetgrent): ... here. Call it.
32344 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32345 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32346 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32347 * nscd/Makefile (routines, aux): Move definitions after include of
32348 Makeconfig. Conditionalize on [$(use-nscd) != no].
32349 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32350 Conditionalize on [USE_NSCD].
32351 (is_nscd, nscd_init_cb): Likewise.
32352 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32353 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32354 * nss/nss_db/db-init.c: Likewise.
32355 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32356 [USE_NSCD].
32357 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32358 (make_request): Use it.
32359 (cache_valid_p): New function.
32360 (__check_pf): Use it.
32361 * NEWS: Add item for --disable-nscd.
32362
07e51550
DL
323632012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32364
32365 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32366 to support sed >= 4.2.1-20-ga9bf076.
32367 * configure: Regenerated.
32368
35a5b08b
RM
323692012-08-22 Roland McGrath <roland@hack.frob.com>
32370
32371 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32372 Conditionalize whole body on [IREL].
32373
8479f23a
JL
323742012-08-22 Jeff Law <law@redhat.com>
32375
32376 [BZ #14505]
32377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32378 if the family is PF_UNSPEC.
32379
48da0b21
MF
323802012-08-22 Mike Frysinger <vapier@gentoo.org>
32381
32382 * Makerules (lib-version): Rename from V.
32383 (install-lib-nosubdir): Change V to lib-version.
32384
15d0da8c
WS
323852012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32386
32387 [BZ #14252]
32388 * powerpc32/power6/wcschr.c: New file.
32389 * powerpc32/power6/wcscpy.c: New file.
32390 * powerpc32/power6/wcsrchr.c: New file.
32391 * powerpc64/power6/wcschr.c: New file.
32392 * powerpc64/power6/wcscpy.c: New file.
32393 * powerpc64/power6/wcsrchr.c: New file.
32394
bcca0895
MK
323952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32396
32397 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32398 (two_way_short_needle): Use it.
5a4aaa33
RM
32399 * string/strstr.c (AVAILABLE1_USES_J): Define.
32400 * string/strcasestr.c: Likewise.
99677e57
MK
32401
32402 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32403 array references.
32404 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32405
400726de
MK
32406 [BZ #11607]
32407 * NEWS: Add an entry.
32408 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32409 define their defaults.
32410 (two_way_short_needle): Detect end-of-string on-the-fly.
32411 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32412 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32413 * string/bug-strcasestr1.c: New test.
32414 * string/Makefile: Run it.
32415
20a71f2c
MK
324162012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32417
32418 [BZ #11607]
32419 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32420 the first character.
32421
21ad0558
RM
324222012-08-21 Roland McGrath <roland@hack.frob.com>
32423
32424 * csu/elf-init.c (__libc_csu_irel): Function removed.
32425 * csu/libc-start.c (apply_irel): New function.
32426 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32427
0e1d9911
JM
324282012-08-21 Joseph Myers <joseph@codesourcery.com>
32429
32430 * sysdeps/unix/sysv/linux/kernel-features.h
32431 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32432 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32433 <kernel-features.h>.
32434 [__NR_fadvise64_64]: Make code unconditional.
32435 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32436 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32437 !__NR_fadvise64_64)]: Likewise.
32438 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32439 !__NR_fadvise64_64))]: Likewise.
32440 [__NR_fadvise64]: Make code unconditional.
32441 [!__NR_fadvise64]: Remove conditional code.
32442 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32443 <kernel-features.h>.
32444 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32445 unconditional.
32446 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32447 conditional code.
32448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32449 not include <kernel-features.h>.
32450 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32451 unconditional.
32452 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32453 conditional code.
32454 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32455 include <kernel-features.h>.
32456 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32457 unconditional.
32458 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32459 conditional code.
32460
14a50c9d
WS
324612012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32462
32463 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32464 slight instruction rearrangements per scrollpipe analysis.
32465 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32466
c0f4faf0
RM
324672012-08-20 Roland McGrath <roland@hack.frob.com>
32468
696da859
RM
32469 * manual/syslog.texi (syslog; vsyslog, closelog):
32470 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32471 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32472
c0f4faf0
RM
32473 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32474 DSOCAPS to match condition on defining it.
32475
348363b2
JM
324762012-08-20 Joseph Myers <joseph@codesourcery.com>
32477
a35cbf28
JM
32478 * sysdeps/unix/sysv/linux/kernel-features.h
32479 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32481 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32482 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32484 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32485 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32487 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32488 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32489
445f7ecd
JM
32490 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32491 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32492
348363b2
JM
32493 * sysdeps/unix/sysv/linux/kernel-features.h
32494 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32495 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32496 unconditional.
32497 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32498 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32499 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32500 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32501 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32502 Make code unconditional.
32503 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32504 (__mmap64) [!__NR_mmap2]: Likewise.
32505 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32506 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32507 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32508 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32509 [__NR_mmap2]: Make code unconditional.
32510 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32511 (__mmap64) [!__NR_mmap2]: Likewise.
32512
bc5bc0e5
AK
325132012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32514
32515 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32516
88d506de
AJ
325172012-08-18 Andreas Jaeger <aj@suse.de>
32518
32519 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32520
493387d2
MF
325212012-08-18 Mike Frysinger <vapier@gentoo.org>
32522
32523 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32524 * include/unistd.h (__have_sock_cloexec): Likewise.
32525 (__have_pipe2): Likewise.
32526 (__have_dup3): Likewise.
32527
a277af22
MF
325282012-08-18 Mike Frysinger <vapier@gentoo.org>
32529
32530 [BZ #9685]
32531 * include/unistd.h (__have_pipe2): Change define into an extern int.
32532 (__have_dup3): Likewise.
32533 * socket/have_sock_cloexec.c: Include fcntl.h.
32534 (__have_pipe2): New variable.
32535 (__have_dup3): Likewise.
32536
fdab8fd3
MF
325372012-08-17 Mike Frysinger <vapier@gentoo.org>
32538
32539 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32540
31035e80
MP
325412012-08-17 Marek Polacek <polacek@redhat.com>
32542
32543 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32544 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32545
3bd9e993
RM
325462012-08-17 Roland McGrath <roland@hack.frob.com>
32547
c91c505f
RM
32548 * configure.in: Add AC_SUBST for sysheaders.
32549 * configure: Regenerated.
32550 * config.make.in (sysheaders): New substituted variable.
32551
7c6f9d53
RM
32552 * sysdeps/unix/mkfifo.c: Moved ...
32553 * sysdeps/posix/mkfifo.c: ... here.
32554 * sysdeps/unix/mkfifoat.c: Moved ...
32555 * sysdeps/posix/mkfifoat.c: ... here.
32556
32557 * sysdeps/unix/utime.c: Moved ...
32558 * sysdeps/posix/utime.c: ... here.
32559
32560 * sysdeps/unix/time.c: Moved ...
32561 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
32562 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32563 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
32564
32565 * sysdeps/unix/nice.c: Moved ...
32566 * sysdeps/posix/nice.c: ... here.
32567
32568 * sysdeps/unix/alarm.c: Moved ...
32569 * sysdeps/posix/alarm.c: ... here.
32570
3bd9e993
RM
32571 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32572
d1f09384
JL
325732012-08-17 Jeff Law <law@redhat.com>
32574
32575 * intl/Makefile (codeset_mo): New variable.
32576 ($(codeset_mo)): New target.
32577 (tst-codeset.out): Depend on that. Remove explicit rule.
32578 (tst-gettext3.out, tst-gettext5.out): Likewise.
32579 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32580 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32581 * intl/tst-codeset.sh: Remove.
32582 * intl/tst-gettext3.sh: Likewise.
32583 * intl/tst-gettext5.sh: Likewise.
32584
2ae1ae5c
RM
325852012-08-17 Roland McGrath <roland@hack.frob.com>
32586
c31fdb83
RM
32587 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32588 * sysdeps/unix/syscalls.list: ... here.
32589
a0844057
RM
32590 * sysdeps/posix/getaddrinfo.c
32591 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32592 (gaiconf_init, gaiconf_reload): Use them.
32593 [!_STATBUF_ST_NSEC]
32594 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32595 Define using time_t rather than struct timespec.
32596
750c1f2a
RM
32597 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32598 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32599 Macros removed.
32600 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32601 [!NO_THREADS].
32602 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32603 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32604 Likewise.
32605
2ae1ae5c
RM
32606 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32607 __libc_cleanup_push argument.
32608
e66a42f5
RM
32609 * bits/param.h: New file.
32610 * misc/sys/param.h: New file.
32611 * include/sys/param.h: New file.
32612 * misc/Makefile (headers): Add bits/param.h.
32613 * sysdeps/generic/sys/param.h: File removed.
32614 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32615 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32616 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 32617 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 32618
b7c08a66
RM
32619 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32620 last change.
32621
b2e1c562
RM
32622 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32623 [_IO_MTSAFE_IO].
32624 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32625 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32626 New macros.
32627
c75ccd4c
RM
32628 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32629 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32630 rather than -D_IO_MTSAFE_IO conditionally.
32631 * stdio-common/Makefile (CPPFLAGS): Likewise.
32632 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32633 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32634 Use $(libio-mtsafe).
32635 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32636 of -D_IO_MTSAFE_IO.
32637 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32638 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32639 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32640 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32641 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32642 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32643 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32644 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32645 (CFLAGS-fread_u_chk.c): Likewise.
32646 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32647 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32648 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32649 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32650 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32651 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32652 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32653 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32654 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32655
32656 * libio/Makefile: Test [$(libc-reentrant) = yes]
32657 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32658
32659 * Makeconfig
32660 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32661 * sysdeps/pthread/configure: File removed.
32662 * sysdeps/pthread/Makeconfig: New file.
32663 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32664 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32665
d9195db8
GB
326662012-08-16 Gary Benson <gbenson@redhat.com>
32667
32668 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32669 unmapping the first object in a namespace.
32670
86466cd9
RM
326712012-08-16 Roland McGrath <roland@hack.frob.com>
32672
32673 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32674 (__internal_setnetgrent): ... this. Add internal_function to
32675 definition. Add libc_hidden_def.
32676 (setnetgrent): Update caller.
32677 (internal_endnetgrent): Renamed to ...
32678 (__internal_endnetgrent): ... this. Add internal_function to
32679 definition. Add libc_hidden_def.
32680 (endnetgrent): Update caller.
32681 (internal_getnetgrent_r): Renamed to ...
32682 (__internal_getnetgrent_r): ... this. Add internal_function to
32683 definition. Add libc_hidden_def.
32684 (__getnetgrent_r): Update caller.
32685 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32686
c3c8283c
JM
326872012-08-16 Joseph Myers <joseph@codesourcery.com>
32688
32689 * stdlib/longlong.h: Update from GCC.
32690
db1ee0a8
RM
326912012-08-16 Roland McGrath <roland@hack.frob.com>
32692
32693 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32694 on _QL, which is set by umul_ppmm but never used.
32695 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32696 variables, which are set by GMP macros but never used.
32697 * stdio-common/_itowa.c (_itowa): Likewise.
32698 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32699 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32700
30f69637
CD
327012012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32702
32703 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32704 struct La_sh_regs is not constant.
32705 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32706 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32707 and struct La_sparc64_regs are not constant.
32708
93a78ac4
JM
327092012-08-16 Joseph Myers <joseph@codesourcery.com>
32710
32711 * sysdeps/unix/sysv/linux/kernel-features.h
32712 (__ASSUME_POSIX_TIMERS): Remove.
32713 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32714 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32715 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32716 Make code unconditional.
32717 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32718 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32719 Make code unconditional.
32720 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32721 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32722 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32723 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32724 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32725 Make code unconditional.
32726 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32727 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32728 (__libc_missing_posix_timers): Remove.
32729
dd924cd7
RM
327302012-08-15 Roland McGrath <roland@hack.frob.com>
32731
4b4f2771
RM
32732 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32733 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32734
601c888b
RM
32735 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32736
176790a7
RM
32737 * elf/dl-sym.c: Include <stdlib.h>.
32738
329bc018
RM
32739 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32740 constants, which avoids warnings in 32-bit builds.
32741
e04e272d
RM
32742 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32743 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32744
952bf94a
RM
32745 * misc/lseek.c: File moved to ...
32746 * io/lseek.c: ... here.
32747
7c99b50a
RM
32748 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32749
dd924cd7
RM
32750 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32751 shifting LEN more than 31 bits at once.
32752
b3f479a8
LD
327532012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32754
32755 [BZ #14195]
8c4ae0d4
RM
32756 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32757 segmentation fault for a case of two empty input strings.
b3f479a8
LD
32758 * string/test-strncasecmp.c (check1): Renamed to...
32759 (bz12205): ...this.
32760 (bz14195): Add new testcase for two empty input strings and N > 0.
32761 (test_main): Call new testcase, adapt for renamed function.
32762
9c55864e
AJ
327632012-08-15 Andreas Jaeger <aj@suse.de>
32764
32765 [BZ #14090]
32766 * crypt/md5test2.c: New test, based on test supplied by Serge
32767 Belyshev <belyshev@depni.sinp.msu.ru>.
32768 * crypt/Makefile (xtests): Add md5test-giant..
32769 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32770
02dcb6c5
PE
327712012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32772
32773 [BZ #14090]
32774 * crypt/md5.c (md5_process_block): Don't assume the buffer
32775 length is less than 2**32.
32776 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32777 length is less than 2**64.
32778
a3f95dcc
RM
327792012-08-15 Roland McGrath <roland@hack.frob.com>
32780
be75d758
RM
32781 * string/str-two-way.h: Include <sys/param.h>.
32782 (MAX): Macro removed.
32783
7312ca90
RM
32784 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32785 Move #define and #undef of memmove to just before and after
32786 including <string.h>.
32787
9a0a5486
RM
32788 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32789 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32790 and after including <string.h>. Move declarations of
32791 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32792 to before #include "string/memmove.c".
32793
67cc348d
RM
32794 * include/dirent.h: Declare __getdirentries.
32795
a3f95dcc
RM
32796 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32797 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32798
ca98e171
MF
327992012-08-14 Mike Frysinger <vapier@gentoo.org>
32800
32801 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32802 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32803 * sysdeps/i386/configure: Regenerated.
32804 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32805 STABS_CURRENT_FILE, and STABS_FUN.
32806 (END): Remove call to STABS_FUN_END.
32807 (STABS_CURRENT_FILE1): Delete.
32808 (STABS_CURRENT_FILE): Likewise.
32809 (STABS_FUN): Likewise.
32810 (STABS_FUN_END): Likewise.
32811 (STABS_FUN2): Likewise.
32812 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32813 * sysdeps/x86_64/configure: Regenerated.
32814
5908bf46
RM
328152012-08-14 Roland McGrath <roland@hack.frob.com>
32816
32817 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 32818 * elf/dl-lookup.c: Likewise.
5908bf46 32819
f2c05b9e
JM
328202012-08-14 Joseph Myers <joseph@codesourcery.com>
32821
32822 * sysdeps/unix/sysv/linux/kernel-features.h
32823 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32824 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32825 unconditionally.
32826 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32827 unconditionally.
32828 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32829 condition on __ASSUME_CLONE_THREAD_FLAGS.
32830
e11f5155
AJ
328312012-08-14 Andreas Jaeger <aj@suse.de>
32832
32833 * sysdeps/i386/fpu/libm-test-ulps: Update.
32834
51a9ba86
MK
328352012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32836
2fdd4f78
AJ
32837 * include/atomic.h (atomic_exchange_and_add): Split into ...
32838 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32839 New atomic macros.
51a9ba86 32840
ba6cba9e
MT
328412012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32842
32843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32844
42443a47
JL
328452012-08-13 Jeff Law <law@redhat.com>
32846
32847 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32848 null byte in the output string.
32849
121dce05
JM
328502012-08-10 Joseph Myers <joseph@codesourcery.com>
32851
32852 * sysdeps/unix/sysv/linux/kernel-features.h
32853 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32854 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32855 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32857 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32858 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32859 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32860
bf51f568
JL
328612012-08-09 Jeff Law <law@redhat.com>
32862
32863 [BZ #13939]
32864 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32865 When avoid_arena is set, don't retry in the that arena. Pick the
32866 next one, whatever it might be.
32867 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32868 (arena_lock): Pass in new parameter to arena_get2.
32869 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32870 arena_get2.
32871 (__libc_malloc): Unify retrying after main arena failure with
32872 __libc_memalign version.
32873 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32874
f85fa270
L
328752012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32876
32877 [BZ #14166]
32878 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32879 to __redirect_strstr.
32880 (__strstr_sse42): Use typeof __redirect_strstr.
32881 (__strstr_ia32): Likewise.
32882 (__libc_strstr): New prototype.
32883 (strstr): Renamed to ...
32884 (__libc_strstr): This.
32885 (strstr): New strong alias of __libc_strstr.
32886 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32887 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32888 __redirect_time.
32889 Include <time.h>.
32890 (__libc_time): New prototype.
32891 (time_ifunc): Replace time with __libc_time.
32892 (time): New strong alias and hidden definition of __libc_time.
32893 (__GI_time): Remove strong alias.
32894 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32895 Include <stddef.h>.
32896 (memmove): Redefined to __redirect_memmove.
32897 (__memmove_sse2): Use typeof __redirect_memmove.
32898 (__memmove_ssse3): Likewise.
32899 (__memmove_ssse3_back): Likewise.
32900 (__libc_memmove): New prototype.
32901 (memmove): Renamed to ...
32902 (__libc_memmove): This.
32903 (memmove): New strong alias of __libc_memmove.
32904
33b4a91e
MS
329052012-08-08 Mark Salter <msalter@redhat.com>
32906
32907 * elf/elf.h
32908 (R_MN10300_TLS_GD): Define.
32909 (R_MN10300_TLS_LD): Likewise.
32910 (R_MN10300_TLS_LDO): Likewise.
32911 (R_MN10300_TLS_GOTIE): Likewise.
32912 (R_MN10300_TLS_IE): Likewise.
32913 (R_MN10300_TLS_LE): Likewise.
32914 (R_MN10300_TLS_DTPMOD): Likewise.
32915 (R_MN10300_TLS_DTPOFF): Likewise.
32916 (R_MN10300_TLS_TPOFF): Likewise.
32917 (R_MN10300_SYM_DIFF): Likewise.
32918 (R_MN10300_ALIGN): Likewise.
32919 (R_MN10300_NUM): Update.
32920
b36137f1
JM
329212012-08-08 Joseph Myers <joseph@codesourcery.com>
32922
32923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32924 Remove.
32925
cdd915fd
RM
329262012-08-08 Roland McGrath <roland@hack.frob.com>
32927
a2433aac
RM
32928 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32929
cdd915fd
RM
32930 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32931 sysdeps/unix -> sysdeps/posix move.
32932 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32933
bf9b740a
AM
329342012-08-07 Allan McRae <allan@archlinux.org>
32935
32936 [BZ #14303]
32937 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32938 (SUNOS_CPP): Likewise.
32939 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32940 not found.
32941 (open_input): Call CPP using execvp.
32942
93df14ee
JM
329432012-08-07 Joseph Myers <joseph@codesourcery.com>
32944
32945 * sysdeps/unix/sysv/linux/kernel-features.h
32946 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32947 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32948 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32949 (__ASSUME_WAITID_SYSCALL): Likewise.
32950 * sysdeps/unix/sysv/linux/dl-execstack.c
32951 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32952 code unconditional.
32953 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32954 conditional code.
32955 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32956 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32957 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32958 code.
32959 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32960 unconditional.
32961 [__ASSUME_WAITID_SYSCALL]: Likewise.
32962 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32963
d34689de
RM
329642012-08-07 Roland McGrath <roland@hack.frob.com>
32965
a281decc
RM
32966 * sysdeps/unix/closedir.c: Renamed to ...
32967 * sysdeps/posix/closedir.c: ... here.
32968 * sysdeps/unix/dirfd.c: Renamed to ...
32969 * sysdeps/posix/dirfd.c: ... here.
32970 * sysdeps/unix/dirstream.h: Renamed to ...
32971 * sysdeps/posix/dirstream.h: ... here.
32972 * sysdeps/unix/fdopendir.c: Renamed to ...
32973 * sysdeps/posix/fdopendir.c: ... here.
32974 * sysdeps/unix/opendir.c: Renamed to ...
32975 * sysdeps/posix/opendir.c: ... here.
32976 * sysdeps/unix/readdir.c: Renamed to ...
32977 * sysdeps/posix/readdir.c: ... here.
32978 * sysdeps/unix/readdir_r.c: Renamed to ...
32979 * sysdeps/posix/readdir_r.c: ... here.
32980 * sysdeps/unix/rewinddir.c: Renamed to ...
32981 * sysdeps/posix/rewinddir.c: ... here.
32982 * sysdeps/unix/seekdir.c: Renamed to ...
32983 * sysdeps/posix/seekdir.c: ... here.
32984 * sysdeps/unix/telldir.c: Renamed to ...
32985 * sysdeps/posix/telldir.c: ... here.
32986 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32987 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32988 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32989 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32990
22895b47
RM
32991 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32992 * bits/fcntl.h: ... here.
32993
707a53b6
RM
32994 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32995 not 0.
32996 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32997 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32998 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32999 (struct flock): Move l_start, l_len to the beginning.
33000 Use __pid_t for l_pid.
33001 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33002 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33003 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33004 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33005 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33006 [__USE_LARGEFILE64] (struct flock64): New type.
33007 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33008
f0bd3e25
RM
33009 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33010 * bits/dirent.h: ... here.
33011
d34689de
RM
33012 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33013 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33014
6dad2c06
JM
330152012-08-07 Joseph Myers <joseph@codesourcery.com>
33016
33017 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33018 Change from 2.6.0 to 2.6.16.
33019 * sysdeps/unix/sysv/linux/configure: Regenerated.
33020 * sysdeps/unix/sysv/linux/kernel-features.h
33021 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33022 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33023 version.
33024 (__ASSUME_UTIMES): Likewise.
33025 (__ASSUME_CLONE_STOPPED): Remove.
33026 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33027 architectures, not kernel version.
33028 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33029 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33030 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33031 (__ASSUME_WAITID_SYSCALL): Likewise.
33032 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33033 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33034 * README: State 2.6.16 as minimum Linux kernel version. Do not
33035 refer to older versions.
33036
03af9520
RM
330372012-08-06 Roland McGrath <roland@hack.frob.com>
33038
8e49df1d
RM
33039 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33040 Define alphasort64 as an alias.
33041 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33042 Define versionsort64 as an alias.
33043 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33044 Define scandir64 as an alias.
33045 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33046 Define scandirat64 as an alias.
33047 * dirent/alphasort64.c (alphasort64):
33048 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33049 * dirent/versionsort64.c: Likewise.
33050 * dirent/scandir64.c: Likewise.
33051 * dirent/scandirat64.c: Likewise.
33052 * sysdeps/wordsize-64/alphasort.c: File removed.
33053 * sysdeps/wordsize-64/alphasort64.c: File removed.
33054 * sysdeps/wordsize-64/scandir.c: File removed.
33055 * sysdeps/wordsize-64/scandir64.c: File removed.
33056 * sysdeps/wordsize-64/scandirat.c: File removed.
33057 * sysdeps/wordsize-64/scandirat64.c: File removed.
33058 * sysdeps/wordsize-64/versionsort.c: File removed.
33059 * sysdeps/wordsize-64/versionsort64.c: File removed.
33060 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33061 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33062 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33063 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33064 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33065 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33066 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33067 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33068
33069 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33071 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33073 [defined __arch64__ || defined __sparcv9]
33074 (__INO_T_MATCHES_INO64_T): New macro.
33075 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33076 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33077 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33078 * sysdeps/unix/sysv/linux/bits/dirent.h
33079 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33080 (_DIRENT_MATCHES_DIRENT64): New macro.
33081
03af9520
RM
33082 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33083 Define lockf64 as an alias.
33084 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33085 Define fseeko64 as an alias.
33086 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33087 Define ftello64 as an alias.
33088 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33089 Define _IO_fgetpos64 and fgetpos64 as aliases.
33090 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33091 Define _IO_fsetpos64 and fsetpos64 as aliases.
33092 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33093 Conditionalize body on this.
33094 * libio/fseeko64.c: Likewise.
33095 * libio/ftello64.c: Likewise.
33096 * libio/iofgetpos64.c: Likewise.
33097 * libio/iofsetpos64.c: Likewise.
33098 * sysdeps/wordsize-64/lockf.c: File removed.
33099 * sysdeps/wordsize-64/lockf64.c: File removed.
33100 * sysdeps/wordsize-64/fseeko.c: File removed.
33101 * sysdeps/wordsize-64/fseeko64.c: File removed.
33102 * sysdeps/wordsize-64/ftello.c: File removed.
33103 * sysdeps/wordsize-64/ftello64.c: File removed.
33104 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33105 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33106 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33107 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33108 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33109 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33110 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33111 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33112 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33113 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33114 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33115 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33116 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33117 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33118
33119 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33120 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33121 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33123 [defined __arch64__ || defined __sparcv9]
33124 (__OFF_T_MATCHES_OFF64_T): New macro.
33125 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33126 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33128 (__OFF_T_MATCHES_OFF64_T): New macro.
33129
c5757acd
L
331302012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33131
33132 * stdlib/secure-getenv.c (__secure_getenv): Replace
33133 GLIBC_2_16 with GLIBC_2_17.
33134
3a31811e
L
331352012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33136
33137 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33138 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33139
faa2bccb
DM
331402012-08-03 David S. Miller <davem@davemloft.net>
33141
33142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33143
85fe1997
JM
331442012-08-03 Joseph Myers <joseph@codesourcery.com>
33145
33146 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33147 Remove.
33148 (__ASSUME_CORRECT_SI_PID): Likewise.
33149 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33150 (__ASSUME_TMPFS_NAME): Likewise.
33151 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33152 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33153 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33154 (HAVE_AUX_SECURE): Make definition unconditional.
33155 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33156 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33157
4f75b7a0
RM
331582012-08-03 Roland McGrath <roland@hack.frob.com>
33159
33160 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33161 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33162 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33163 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33164 __eloop_threshold instead of SYMLOOP_MAX.
33165
33166 * sysdeps/generic/eloop-threshold.h: New file.
33167 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33168 of MAXSYMLINKS.
33169 * elf/chroot_canon.c (chroot_canon): Likewise.
33170
7aab07e4
JM
331712012-08-03 Joseph Myers <joseph@codesourcery.com>
33172
33173 [BZ #13717]
33174 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33175 Change to 2.6.0 everywhere.
33176 * sysdeps/unix/sysv/linux/configure: Regenerated.
33177 * sysdeps/unix/sysv/linux/kernel-features.h
33178 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33179 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33180 kernel versions.
33181 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33182 (__ASSUME_FUTEX_REQUEUE): Remove.
33183 (__ASSUME_STATFS64): Define unconditionally.
33184 (__ASSUME_AT_SECURE): Likewise.
33185 (__ASSUME_CORRECT_SI_PID): Likewise.
33186 (__ASSUME_TGKILL): Define without depending on kernel version for
33187 i386.
33188 (__ASSUME_UTIMES): Likewise.
33189 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33190 kernel version.
33191 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33192 (__ASSUME_TMPFS_NAME): Likewise.
33193 * README: Update reference to Linux kernel versions.
33194
b67e9372
MP
331952012-08-02 Marek Polacek <polacek@redhat.com>
33196
1f529f7d 33197 [BZ# 14150]
b67e9372
MP
33198 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33199 libc_cv_asm_type_prefix with %.
33200 * configure: Regenerated.
d2441631
RM
33201 * include/libc-symbols.h: Remove comment about
33202 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33203 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33204 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33205 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33206 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33207 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33208 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33209 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33210 * elf/tst-unique2mod1.c: Likewise.
33211 * elf/tst-unique1mod2.c: Likewise.
33212 * elf/tst-unique1mod1.c: Likewise.
33213 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33214 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33215 Replace ASM_TYPE_DIRECTIVE with .type.
33216 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33217 * sysdeps/i386/sysdep.h: Likewise.
33218 * sysdeps/x86_64/sysdep.h: Likewise.
33219 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
33220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33221 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 33222 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
33223 * sysdeps/powerpc/powerpc32/sysdep.h:
33224 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
33225 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33226 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33227 * sysdeps/i386/fpu/e_powf.S: Likewise.
33228 * sysdeps/i386/fpu/e_expl.S: Likewise.
33229 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33230 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33231 * sysdeps/i386/fpu/e_pow.S: Likewise.
33232 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33233 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33234 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33235 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33236 * sysdeps/i386/fpu/e_log2.S: Likewise.
33237 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33238 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33239 * sysdeps/i386/fpu/e_powl.S: Likewise.
33240 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33241 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33242 * sysdeps/i386/fpu/e_logl.S: Likewise.
33243 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33244 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33245 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33246 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33247 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33248 * sysdeps/i386/fpu/e_log.S: Likewise.
33249 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33250 * sysdeps/i386/fpu/e_logf.S: Likewise.
33251 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33252 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33253 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33254 * sysdeps/i386/fpu/e_log10.S: Likewise.
33255 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33256 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33257 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33258 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33259 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33260 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33261 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33262 * sysdeps/i386/i686/strtok.S: Likewise.
33263 * sysdeps/i386/i386-mcount.S: Likewise.
33264 * sysdeps/i386/strtok.S: Likewise.
33265 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33266 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33267 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33268 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33269 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33270 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33271 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33272 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33273 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33274 * sysdeps/x86_64/_mcount.S: Likewise.
33275 * sysdeps/x86_64/strtok.S: Likewise.
33276 * sysdeps/sh/_mcount.S: Likewise.
33277
2747bf9a
RM
332782012-08-01 Roland McGrath <roland@hack.frob.com>
33279
33280 * libio/iofopen.c: Include <fcntl.h>.
33281 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33282 (_IO_fopen64, fopen64): Define as aliases.
33283 * libio/iofopen64.c: Include <fcntl.h>.
33284 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33285 Conditionalize body on this.
33286 * sysdeps/wordsize-64/iofopen.c: File removed.
33287 * sysdeps/wordsize-64/iofopen64.c: File removed.
33288
3fb791b8
MP
332892012-08-01 Marek Polacek <polacek@redhat.com>
33290
33291 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33292 Use dlfcn directly instead of a variable.
33293 (binfmt-subdir): Do not define.
33294 (dlfcn): Likewise.
33295
a9f1039f
JM
332962012-08-01 Joseph Myers <joseph@codesourcery.com>
33297
23bddc06
JM
33298 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33299 Remove all definitions.
33300 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33301 <kernel-features.h>.
33302 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33303 (miss_F_GETOWN_EX): Remove all definitions.
33304 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33305 macro definition.
33306 [!__ASSUME_FCNTL64]: Remove conditional code.
33307 [__ASSUME_FCNTL64]: Make code unconditional.
33308 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33309 <kernel-features.h>.
33310 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33311 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33312 (lockf64) [__NR_fcntl64]: Make code unconditional.
33313 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33314
a9f1039f
JM
33315 * sysdeps/unix/sysv/linux/kernel-features.h
33316 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33317 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33318 Make code unconditional.
33319 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33320 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33322 [__NR_vfork]: Make code unconditional.
33323 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33324 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33326 [__NR_vfork]: Make code unconditional.
33327 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33328 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33329
09c0ee5f
RM
333302012-08-01 Roland McGrath <roland@hack.frob.com>
33331
48aec5b9
RM
33332 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33333 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33334
cd97c966
RM
33335 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33336 Define mkstemp64 as an alias.
3f55550c
RM
33337 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33338 Define mkstemps64 as an alias.
cd97c966
RM
33339 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33340 Define mkostemp64 as an alias.
b8625cfc
RM
33341 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33342 Define mkostemps64 as an alias.
cd97c966
RM
33343 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33344 Conditionalize body on this.
33345 * misc/mkostemp64.c: Likewise.
b8625cfc 33346 * misc/mkostemps64.c: Likewise.
3f55550c 33347 * misc/mkstemps64.c: Likewise.
cd97c966
RM
33348 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33349 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33350 * sysdeps/wordsize-64/mkostemp.c: File removed.
33351 * sysdeps/wordsize-64/mkstemp.c: File removed.
33352 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33353 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33354 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33355 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33356
09c0ee5f
RM
33357 [BZ #14138]
33358 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33359 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33360 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33361 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33362
33363 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33364 compat_symbol macros from <shlib-compat.h> rather than the underlying
33365 default_symbol_version and symbol_version macros, so that DEFAULT
33366 lines in shlib-versions are respected.
33367 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33368
7e66ee51
FW
333692012-08-01 Florian Weimer <fweimer@redhat.com>
33370
33371 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33372 Declare with warn_unused_result.
33373 (setgid, setregid, setegid, setresgid): Likewise.
33374 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33375 Likewise.
33376 * WUR-REPORT: Remove set*id functions.
33377
d2a54255
PT
333782012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33379
33380 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33381
7ecdb005
RM
333822012-07-31 Roland McGrath <roland@hack.frob.com>
33383
b4180a5e 33384 [BZ #10191]
789bd351
RM
33385 * include/sys/socket.h (__libc_accept, __libc_accept4):
33386 Add attribute_hidden.
33387 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33388
40ce302d
RM
33389 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33390 use of PTR_MANGLE.
33391 * inet/getnetgrent_r.c (setup): Likewise.
33392
7ecdb005
RM
33393 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33394
e2eabb2c
DM
333952012-07-31 David S. Miller <davem@davemloft.net>
33396
33397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33398
d0419dbf
JM
333992012-07-31 Joseph Myers <joseph@codesourcery.com>
33400
33401 [BZ #13629]
33402 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33403 value between 1.0 and 2.0 and smaller part has absolute value less
33404 than 1.0.
33405 * math/s_clog10.c (__clog10): Likewise.
33406 * math/s_clog10f.c (__clog10f): Likewise.
33407 * math/s_clog10l.c (__clog10l): Likewise.
33408 * math/s_clogf.c (__clogf): Likewise.
33409 * math/s_clogl.c (__clogl): Likewise.
33410 * math/libm-test.inc (clog_test): Add more tests.
33411 (clog10_test): Likewise.
33412 * sysdeps/i386/fpu/libm-test-ulps: Update.
33413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33414
2bc13872
FW
334152012-07-31 Florian Weimer <fweimer@redhat.com>
33416
33417 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33418 Exit with zero in case no suitable GID is found, and write a
33419 message to standard error.
33420
bea9b193
RM
334212012-07-30 Roland McGrath <roland@hack.frob.com>
33422
33423 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33424 rather than to 1.
33425 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33426 (MAXPATHLEN): Removed.
33427 (NOGROUP, NODEV): New macros.
33428 (setbit, clrbit, isset, isclr): New macros.
33429 (howmany, roundup, powerof2): New macros.
33430 (DEV_BSIZE): New macro.
33431
33432 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33433 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33434
33435 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33436 definition on [!__NO_LONG_DOUBLE_MATH].
33437
33438 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33439 PTR_MANGLE and PTR_DEMANGLE.
33440
33441 * socket/accept4.c (accept4): Rename to __libc_accept4.
33442 Define accept4 as a weak alias.
33443
33444 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33445 on [_DIRENT_HAVE_D_TYPE].
33446 * io/ftw.c (ftw_dir): Likewise.
33447
33448 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33449
33450 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33451
33452 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33453 Use the BSD numbers rather than the arbitrary ones we had.
33454 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33455 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33456 (SIGXCPU, SIGXFSZ): New macros.
33457 (_NSIG): Now 32.
33458
33459 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33460 initializer on [_LIBC_REENTRANT].
33461
33462 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33463 definitions inside [_POSIX_MAPPED_FILES].
33464
33465 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33466
33467 * dirent/opendir.c: Include <fcntl.h>.
33468
33469 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33470 (__libc_getspecific): Likewise.
33471 (__libc_key_create): Likewise.
33472
33473 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33474 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33475 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33476 (tmpfile64): Define as alias.
33477 * sysdeps/wordsize-64/tmpfile.c: File removed.
33478 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33479 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33480 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33481
33482 * stdio-common/vfscanf.c: Include <stdbool.h>.
33483 * nss/makedb.c: Likewise.
33484 * stdio-common/_i18n_number.h: Likewise.
33485 * argp/argp-help.c: Likewise.
33486 * posix/wordexp.c: Likewise.
33487 * sysdeps/posix/spawni.c: Likewise.
33488 * nss/nss_files/files-initgroups.c: Likewise.
33489 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33490 * nss/nss_files/files-initgroups.c: Likewise.
33491 * nss/nss_db/db-netgrp.c: Likewise.
33492 * nss/nss_db/db-initgroups.c: Likewise.
33493 * io/fchmodat.c: Include <sys/stat.h>.
33494
33495 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33496 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33497
33498 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33499 [HAVE_MMAP].
33500
33501 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33502 Add multiple inclusion protection.
33503
e5abc686
DM
335042012-07-27 David S. Miller <davem@davemloft.net>
33505
33506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33507
815e6fa3
GB
335082012-07-27 Gary Benson <gbenson@redhat.com>
33509
33510 [BZ #14298]
33511 * elf/rtld.c: Include <stap-probe.h>.
33512 (dl_main): Added static probes "init_start" and "init_complete".
33513 * elf/dl-load.c: Include <stap-probe.h>.
33514 (lose): Take new parameter "nsid".
33515 Added static probe "map_failed".
33516 (_dl_map_object_from_fd): Pass namespace id to lose.
33517 Added static probe "map_start".
33518 (open_verify): Pass namespace id to lose.
33519 * elf/dl-open.c: Include <stap-probe.h>.
33520 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33521 and "reloc_complete".
33522 * elf/dl-close.c: Include <stap-probe.h>.
33523 (_dl_close_worker): Added static probes "unmap_start" and
33524 "unmap_complete".
33525 * elf/rtld-debugger-interface.txt: New file documenting the above.
33526
9f98c16c
RM
335272012-07-26 Roland McGrath <roland@hack.frob.com>
33528
33529 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33530 rather than a string variable.
33531 * sunrpc/rpc_main.c (h_output): Likewise.
33532 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33533
f3c22df3
PT
335342012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33535
33536 * inet/check_native.c: New file.
33537
3129cfc6
JM
335382012-07-26 Joseph Myers <joseph@codesourcery.com>
33539
da865e95
JM
33540 [BZ #13629]
33541 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33542 if larger part has absolute value 1.0.
33543 * math/s_clog10.c (__clog10): Likewise.
33544 * math/s_clog10f.c (__clog10f): Likewise.
33545 * math/s_clog10l.c (__clog10l): Likewise.
33546 * math/s_clogf.c (__clogf): Likewise.
33547 * math/s_clogl.c (__clogl): Likewise.
33548 * math/libm-test.inc (clog_test): Add more tests.
33549 (clog10_test): Likewise.
33550 * sysdeps/i386/fpu/libm-test-ulps: Update.
33551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33552
3129cfc6
JM
33553 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33554 (pltexit): Likewise.
33555 (La_regs): Likewise.
33556 (La_retval): Likewise.
33557 (int_retval): Likewise.
33558 Update #error for removed macros to refer only to definitions in
33559 tst-audit.h.
33560 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33561 macro.
33562 (pltexit): Likewise.
33563 (La_regs): Likewise.
33564 (La_retval): Likewise.
33565 (int_retval): Likewise.
33566 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33567 macro.
33568 (pltexit): Likewise.
33569 (La_regs): Likewise.
33570 (La_retval): Likewise.
33571 (int_retval): Likewise.
33572 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33573 macro.
33574 (pltexit): Likewise.
33575 (La_regs): Likewise.
33576 (La_retval): Likewise.
33577 (int_retval): Likewise.
33578 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33579 macro.
33580 (pltexit): Likewise.
33581 (La_regs): Likewise.
33582 (La_retval): Likewise.
33583 (int_retval): Likewise.
33584 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33585 macro.
33586 (pltexit): Likewise.
33587 (La_regs): Likewise.
33588 (La_retval): Likewise.
33589 (int_retval): Likewise.
33590 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33591 macro.
33592 (pltexit): Likewise.
33593 (La_regs): Likewise.
33594 (La_retval): Likewise.
33595 (int_retval): Likewise.
33596 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33597 macro definitions in tst-audit.h.
33598 * sysdeps/i386/tst-audit.h: New file.
33599 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33600 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33601 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33602 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33603 * sysdeps/sh/tst-audit.h: Likewise.
33604 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33605 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33606 * sysdeps/x86_64/tst-audit.h: Likewise.
33607
bfc07087
AJ
336082012-07-26 Andreas Jaeger <aj@suse.de>
33609
b1b2aaf8
AJ
33610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33611 ptrace.
33612
33613 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33614 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33615 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33616 PTRACE_O_MASK.
33617 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33618 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33619 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33620
bfc07087
AJ
33621 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33622 value.
33623
33624 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33625 _sigsys.
33626 (si_call_addr, si_syscall, si_arch): Define new macro.
33627 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33628 _sigsys.
33629 (si_call_addr, si_syscall, si_arch): Define new marcro.
33630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33631 _sigsys.
33632 (si_call_addr, si_syscall, si_arch): Define new macro.
33633 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33634 _sigsys.
33635 (si_call_addr, si_syscall, si_arch): Define new macro.
33636
89b4b02f
JM
336372012-07-25 Joseph Myers <joseph@codesourcery.com>
33638
33639 [BZ #13717]
33640 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33641 Change to 2.4.21 where previously 2.4.1.
33642 * sysdeps/unix/sysv/linux/configure: Regenerated.
33643 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33644 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33645 Linux kernel version.
33646 (__ASSUME_STD_AUXV): Remove.
33647 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33648 kernel version.
33649 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33650 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33651 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33652 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33653 (__ASSUME_NETLINK_SUPPORT): Likewise.
33654 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33655 (__no_netlink_support): Remove conditional definition.
33656 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33657 Remove.
33658 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33659 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33660 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33661 (if_nameindex_ioctl): Remove.
33662 (if_nameindex_netlink): Do not handle __no_netlink_support.
33663 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33664 code.
33665 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33666 Remove conditional code.
33667 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33668 code.
33669 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33670 unconditional.
33671 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33672 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33673 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33674 Remove.
33675 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33676 [!__ASSUME_STD_AUXV]: Remove conditional code.
33677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33678 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33679 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33681 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33682 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33683 code.
33684 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33686 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33687 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33688 conditional code.
33689 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33691 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33692 code.
33693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33694 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33695 conditional code.
33696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33697 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33698 code unconditional.
33699 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33700 conditional code.
33701 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33702 unconditional.
33703 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33704 conditional code.
33705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33706 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33707 unconditional.
33708 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33709 conditional code.
33710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33711 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33712 code unconditional.
33713 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33714 conditional code.
33715 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33716 unconditional.
33717 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33718 conditional code.
33719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33720 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33721 code unconditional.
33722 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33723 conditional code.
33724 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33725 unconditional.
33726 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33727 conditional code.
33728
842a39cd
AS
337292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33730
33731 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33732 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33733 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33734 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33735 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33736 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33737 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33738 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33739 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33740 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33741 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33742 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33743 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33744 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33745 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33746 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33747 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33748 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33749 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33751 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33752 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33753 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33754
84b3fd84
FW
337552012-07-25 Florian Weimer <fweimer@redhat.com>
33756
33757 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
33758 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33759 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33760 Introduce __libc_secure_getenv.
0c7936d5
FW
33761 * stdlib/Versions (2.17): Add secure_getenv
33762 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33763 * stdlib/secure-getenv.c: Rename __secure_getenv to
33764 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33765 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
33766 * stdlib/tst-secure-getenv.c: New.
33767 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
33768 * manual/startup.texi (Environment Access): Document
33769 secure_getenv.
84b3fd84
FW
33770 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33771 __libc_secure_getenv.
33772 * inet/ruserpass.c (ruserpass): Likewise.
33773 * malloc/mtrace.c (mtrace): Likewise.
33774 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 33775 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
33776 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33777 * sysdeps/posix/tempname.c: Likewise. Evaluate
33778 HAVE_SECURE_GETENV.
33779 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 33780 __secure_getenv to __libc_secure_getenv.
84b3fd84 33781 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
33782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33783 Likewise.
33784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33785 Likewise.
33786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 33793
56e49b71
JM
337942012-07-25 Joseph Myers <joseph@codesourcery.com>
33795
33796 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33797 (struct La_i86_retval): Likewise.
33798 (struct La_x86_64_regs): Likewise.
33799 (struct La_x86_64_retval): Likewise.
33800 (struct La_x32_regs): Likewise.
33801 (struct La_x32_retval): Likewise.
33802 (struct La_ppc32_regs): Likewise.
33803 (struct La_ppc32_retval): Likewise.
33804 (struct La_ppc64_regs): Likewise.
33805 (struct La_ppc64_retval): Likewise.
33806 (struct La_sh_regs): Likewise.
33807 (struct La_sh_retval): Likewise.
33808 (struct La_s390_32_regs): Likewise.
33809 (struct La_s390_32_retval): Likewise.
33810 (struct La_s390_64_regs): Likewise.
33811 (struct La_s390_64_retval): Likewise.
33812 (struct La_sparc32_regs): Likewise.
33813 (struct La_sparc32_retval): Likewise.
33814 (struct La_sparc64_regs): Likewise.
33815 (struct La_sparc64_retval): Likewise.
33816 (struct audit_ifaces): Remove architecture-specific pltenter and
33817 pltexit members.
33818 * sysdeps/i386/ldsodefs.h: New file.
33819 * sysdeps/powerpc/ldsodefs.h: Likewise.
33820 * sysdeps/s390/ldsodefs.h: Likewise.
33821 * sysdeps/sh/ldsodefs.h: Likewise.
33822 * sysdeps/sparc/ldsodefs.h: Likewise.
33823 * sysdeps/x86_64/ldsodefs.h: Likewise.
33824
354691b7
MP
338252012-07-25 Marek Polacek <polacek@redhat.com>
33826
33827 [BZ #6808]
33828 * math/libm-test.inc (yn_test): Add another test.
33829 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33830 to ERANGE when the result is +-Inf.
33831 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33832 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33833 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33834 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33835
bf9e2071
JM
338362012-07-24 Joseph Myers <joseph@codesourcery.com>
33837
33838 * conform/data/time.h-data (NULL): Use macro-constant. Require
33839 equal to 0.
33840 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33841 clock_t.
33842 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33843
57633811
TS
338442012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33845
33846 * configure.in <sysdeps resolving>: Correct printing
33847 Implies_before.
33848 * configure: Regenerate.
33849
c23c33b0
TS
338502012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33851
33852 * math/w_ilogb.c: Include <limits.h>.
33853 * math/w_ilogbl.c: Likewise.
33854
b5982523
JM
338552012-07-20 Joseph Myers <joseph@codesourcery.com>
33856
33857 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33858 va_copy. Document allowing for unavailable va_copy only as
33859 pre-C99 compatibility.
33860 * manual/string.texi (Copying and Concatenation): Use va_copy
33861 instead of __va_copy in concat example.
33862
ac4ea442
PT
338632012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33864
33865 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33866 (__sendto): Use create_address_port. Initialize APORT and deallocate
33867 it if not null.
33868
f98eafbd
PT
33869 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33870 with O_NOLINK passed to __file_name_lookup.
33871
898c7aab
PT
33872 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33873 with O_NOLINK passed to __file_name_lookup.
33874
0ced335a
PT
33875 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33876 negative N or less than NGIDS.
33877
b3404dbd
PT
33878 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33879 type to string_t. Set ERANGE as errno and return it if NAME is not big
33880 enough. Use memcpy instead of strncpy.
33881
0f48659e
JM
338822012-07-20 Joseph Myers <joseph@codesourcery.com>
33883
33884 * elf/Makefile (check-data): Remove.
33885 (localplt.data): New vpath directive.
33886 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33887 instead of $(check-data).
33888 * scripts/data/localplt-generic.data: Move to ...
33889 * sysdeps/generic/localplt.data: ... here.
33890 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33891 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33892 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33894 ... here.
33895 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33897 ... here.
33898 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33900 ... here.
33901 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33903 ... here.
33904 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33906 ... here.
33907 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33909 ... here.
33910
d37cbdaa
AZ
339112012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33912
33913 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33914 PPC32 and PPC64 files.
33915 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33916 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33917
46f85fc2
AK
339182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33919
33920 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33921 __makecontext_ret to ...
33922 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33923 ... here and call exit if uc_link is NULL. New file.
33924 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33925 __makecontext_ret.S.
33926 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33927 __makecontext_ret to ...
33928 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33929 ... here and call exit if uc_link is NULL. New file.
33930 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33931 __makecontext_ret.S.
33932
08f43f9b
AK
339332012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33934
33935 * elf/elf.h (R_390_IRELATIVE): New definition.
33936 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33937 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33938 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33940 (elf_machine_lazy_rel): Likewise.
33941 * sysdeps/s390/dl-irel.h: New file.
33942 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33943 * sysdeps/s390/s390-64/memset.S: New asm code.
33944 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33945 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33946 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33947 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33948 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33949 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33950 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33951 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33952 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33953 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33954 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33955 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33956 * sysdeps/s390/s390-32/memset.S: New asm code.
33957 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33958
3b05db33
MP
339592012-07-17 Marek Polacek <polacek@redhat.com>
33960
33961 [BZ #14349]
33962 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33963 * sysdeps/s390/s390-64/configure.in: Likewise.
33964 * sysdeps/sparc/configure.in: Likewise.
33965 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33966 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33967 * sysdeps/i386/configure.in: Likewise.
33968 * sysdeps/x86_64/configure.in: Likewise.
33969 * sysdeps/sh/configure.in: Likewise.
33970 * sysdeps/s390/s390-32/configure: Regenerated.
33971 * sysdeps/s390/s390-64/configure: Likewise.
33972 * sysdeps/x86_64/configure: Likewise.
33973 * sysdeps/sh/configure: Likewise.
33974 * sysdeps/powerpc/powerpc64/configure: Likewise.
33975 * sysdeps/powerpc/powerpc32/configure: Likewise.
33976 * sysdeps/sparc/configure: Likwise.
33977 * sysdeps/i386/configure: Likewise.
33978
a66877c6
MP
33979 * elf/dl-open.c: Comment fixes.
33980
cfc82fd8
JM
339812012-07-17 Joseph Myers <joseph@codesourcery.com>
33982
bd29910a
JM
33983 * Makefile [CXX] (check-data): Remove.
33984 [CXX] (c++-types.data): New vpath directive.
33985 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33986 vpath. Do not allow for C++ type data being missing.
33987 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33988 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33989 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33990 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33991 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33992 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33993 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33995 ... here.
33996 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33998 ... here.
33999 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34001 ... here.
34002 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34004 ... here.
34005 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34007 ... here.
34008 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34010 ... here.
34011 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34013 ... here.
34014 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34016
cfc82fd8
JM
34017 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34018 definitions to architecture-specific files.
34019 (TLS_IE): Likewise.
34020 (TLS_LD): Likewise.
34021 (TLS_GD): Likewise.
34022 * sysdeps/i386/tls-macros.h: New file.
34023 * sysdeps/powerpc/tls-macros.h: Likewise.
34024 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34025 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34026 * sysdeps/sh/tls-macros.h: Likewise.
34027 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34028 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34029 * sysdeps/x86_64/tls-macros.h: Likewise.
34030
f7db3170
TS
340312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34032
07cbfc23
TS
34033 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34034 zero value for regular exit case.
34035
f7db3170
TS
34036 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34037 (__start_context): Preserve zero value for regular exit case.
34038
dc97c227
TS
340392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34040 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34041
34042 * manual/setjmp.texi (setcontext): Clarify normal process
34043 termination when uc_link is the null pointer.
34044 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34045 exit call.
34046
d0cd7d02
AS
340472012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34048
34049 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34050 preprocessor. Test for each exception mask separately.
34051
dd318934
AJ
340522012-07-16 Andreas Jaeger <aj@suse.de>
34053
34054 * po/ru.po: Update from translation team.
34055
8048311a
JM
340562012-07-15 Joseph Myers <joseph@codesourcery.com>
34057
34058 * conform/data/string.h-data (NULL): Use macro-constant. Require
34059 equal to 0.
34060 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34061 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34062 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34063 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34065
b637d46e
AJ
340662012-07-13 Andreas Jaeger <aj@suse.de>
34067
34068 * po/fr.po: Update from translation team.
34069
541428fe
MP
340702012-07-12 Marek Polacek <polacek@redhat.com>
34071
34072 [BZ #14173]
34073 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34074 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34075 loop condition.
34076
ec332e94
JM
340772012-07-12 Joseph Myers <joseph@codesourcery.com>
34078
34079 [BZ #13717]
34080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34081 Change to 2.4.1 where previously 2.4.0.
34082 * sysdeps/unix/sysv/linux/configure: Regenerated.
34083 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34084 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34085 version.
34086 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34087 (__ASSUME_AT_CLKTCK): Remove.
34088 (__ASSUME_AT_PAGESIZE): Likewise.
34089 (__ASSUME_AT_XID): Likewise.
34090 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34091 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34092 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34093 unconditionally.
34094 (HAVE_AUX_PAGESIZE): Likewise.
34095 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34096 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34097 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34098
7b6e99be
JB
340992012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34100
34101 [BZ #14307]
34102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34103 the temporary buffer used to invoke __gethostbyname2_r,
34104 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34105 host_data / struct gaih_addrtuple.
34106 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34107 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34108 header file nss/nsswitch.h.
34109 * nss/nsswitch.h (global scope): Add definition of implementation
34110 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34111 resolv/nss_dns/dns-host.c).
34112
608404eb
AJ
341132012-07-11 Andreas Jaeger <aj@suse.de>
34114
34115 * po/fr.po: Update from translation team.
34116
71220aca
AJ
34117 * po/sv.po: Update from translation team
34118 * po/fr.po: Another update from translation team.
34119
28cfe843
AZ
341202012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34121
34122 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34123 for subnormals or multiply small sinh result by itself.
34124 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34126
6b90f981
DM
341272012-07-11 David S. Miller <davem@davemloft.net>
34128
34129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34130
c6825772
AS
341312012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34132
34133 [BZ #14347]
34134 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34135 (INTERNAL_MARK): Shift it here.
34136
7b8e0d49
MP
341372012-07-10 Marek Polacek <polacek@redhat.com>
34138
34139 [BZ #14151]
34140 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34141 libc_cv_asm_global_directive with .globl.
34142 * configure: Regenerated.
34143 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34144 with .globl.
34145 * sysdeps/i386/configure: Regenerated.
34146 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34147 with .globl.
34148 * sysdeps/x86_64/configure: Regenerated.
34149 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34150 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34151 * elf/tst-unique2mod2.c: Likewise.
34152 * elf/tst-unique2mod1.c: Likewise.
34153 * elf/tst-unique1mod2.c: Likewise.
34154 * elf/tst-unique1mod1.c: Likewise.
34155 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34156 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34158 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34159 * sysdeps/mach/sysdep.h: Likewise.
34160 * sysdeps/i386/sysdep.h: Likewise.
34161 * sysdeps/i386/i386-mcount.S: Likewise.
34162 * sysdeps/x86_64/_mcount.S: Likewise.
34163 * sysdeps/x86_64/sysdep.h: Likewise.
34164 * sysdeps/sh/_mcount.S: Likewise.
34165 * sysdeps/sh/sysdep.h: Likewise.
34166 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34167 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34168 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34169 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34170 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34171 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34172 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34173 * locale/localeinfo.h: Likewise.
34174 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34175 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34176
6c55cda3
RM
341772012-07-09 Roland McGrath <roland@hack.frob.com>
34178
34179 [BZ #14336]
34180 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34181 system".
34182 * manual/message.texi (The Uniforum approach): Likewise.
34183 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34184 (glibc iconv Implementation): Likewise.
34185
638a572e
JM
341862012-07-09 Joseph Myers <joseph@codesourcery.com>
34187
34188 [BZ #14337]
34189 * math/s_clog.c (__clog): Avoid scaling a value down where that
34190 could result in underflow.
34191 * math/s_clog10.c (__clog10): Likewise.
34192 * math/s_clog10f.c (__clog10f): Likewise.
34193 * math/s_clog10l.c (__clog10l): Likewise.
34194 * math/s_clogf.c (__clogf): Likewise.
34195 * math/s_clogl.c (__clogl): Likewise.
34196 * math/libm-test.inc (clog_test): Add more tests.
34197 (clog10_test): Likewise.
34198 * sysdeps/i386/fpu/libm-test-ulps: Update.
34199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34200
261f4859
AS
342012012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34202
0abaf3e4
AS
34203 [BZ #14283]
34204 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34205 by 7 not 8 to examine high bit of fractional part.
34206
261f4859
AS
34207 [BZ #14042]
34208 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34209 for call to __mcount_internal.
34210 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34211 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34212 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34213
f17ac40d
JM
342142012-07-06 Joseph Myers <joseph@codesourcery.com>
34215
9ad63c23
JM
34216 [BZ #14154]
34217 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34218 approximation for values within 0x1p-13f of an odd multiple of
34219 pi/4.
34220 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34221 exception. Add more tests.
34222 * sysdeps/i386/fpu/libm-test-ulps: Update.
34223
f17ac40d
JM
34224 [BZ #6778]
34225 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34226 inputs and return -1 for them. Do not check for +Inf in case not
34227 reachable for +Inf.
34228 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34229 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34230 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34231 and return -1 for them. Do not check for +Inf in case not
34232 reachable for +Inf.
34233 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34234 define.
34235 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34236 and return -1 for them. Do not check for +Inf in case not
34237 reachable for +Inf.
34238 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34239 spurious underflow.
34240 * sysdeps/i386/fpu/libm-test-ulps: Update.
34241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34242
fb21f89b
MF
342432012-07-06 Mike Frysinger <vapier@gentoo.org>
34244
34245 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34246
cdfe2c5e
JM
342472012-07-05 Joseph Myers <joseph@codesourcery.com>
34248
34249 [BZ #14157]
34250 [BZ #14331]
34251 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34252 could result in spurious underflow. Scale down values above
34253 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34254 * math/s_csqrtf.c (__csqrtf): Likewise.
34255 * math/s_csqrtl.c (__csqrtl): Likewise.
34256 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34257 spurious underflow.
34258 * sysdeps/i386/fpu/libm-test-ulps: Update.
34259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34260
70d35b67
AS
342612012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34262
704bc459
AS
34263 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34264 xopen-msg.sed.
34265 * catgets/xopen-msg.awk: New file.
34266 * catgets/xopen-msg.sed: Removed.
34267
70d35b67
AS
34268 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34269 po2text.sed.
34270 * intl/po2test.awk: New file.
34271 * intl/po2test.sed: Removed.
34272
ca61cf32
JM
342732012-07-04 Joseph Myers <joseph@codesourcery.com>
34274
34275 [BZ #14328]
34276 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34277 or multiply small sinh result by itself.
34278 * math/s_ctanf.c (__ctanf): Likewise.
34279 * math/s_ctanh.c (__ctanh): Likewise.
34280 * math/s_ctanhf.c (__ctanhf): Likewise.
34281 * math/s_ctanhl.c (__ctanhl): Likewise.
34282 * math/s_ctanl.c (__ctanl): Likewise.
34283 * math/libm-test.inc (ctan_test_tonearest): New function.
34284 (ctan_test_towardzero): Likewise.
34285 (ctan_test_downward): Likewise.
34286 (ctan_test_upward): Likewise.
34287 (ctanh_test_tonearest): Likewise.
34288 (ctanh_test_towardzero): Likewise.
34289 (ctanh_test_downward): Likewise.
34290 (ctanh_test_upward): Likewise.
34291 (main): Call these new functions.
34292 * sysdeps/i386/fpu/libm-test-ulps: Update.
34293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34294
ca48a46a
MF
342952012-07-03 Mike Frysinger <vapier@gentoo.org>
34296
34297 * .gitignore: Delete /ports entry.
34298
9d63d37d
AJ
342992012-07-03 Andreas Jaeger <aj@suse.de>
34300
34301 * po/bg.po: Update from translation team.
34302 * po/cs.po: Likewise.
34303 * po/de.po: Likewise.
34304 * po/hr.po: Likewise.
34305 * po/nl.pl: Likewise.
34306 * po/pl.po: Likewise.
34307 * po/vi.po: Likewise.
34308
370ca3d2
JM
343092012-07-03 Joseph Myers <joseph@codesourcery.com>
34310
95f5a9a8
JM
34311 * Makeconfig [!+link] (+link-before-libc): New variable.
34312 [!+link] (+link-after-libc): Likewise.
34313 [!+link] (+link-tests): Likewise.
34314 [!+link] (+link): Define in terms of $(+link-before-libc) and
34315 $(+link-after-libc).
34316 [!+link-static] (+link-static-before-libc): New variable.
34317 [!+link-static] (+link-static-after-libc): Likewise.
34318 [!+link-static] (+link-static-tests): Likewise.
34319 [!+link-static] (+link-static): Define in terms of
34320 $(+link-static-before-libc) and $(+link-static-after-libc).
34321 [build-shared] (link-libc-before-gnulib): New variable.
34322 [build-shared] (link-libc-tests): Likewise.
34323 [build-shared] (link-libc): Define in terms of
34324 $(link-libc-before-gnulib).
34325 [!build-shared] (link-libc-tests): New variable.
34326 (link-libc-static-tests): New variable.
34327 [!gnulib] (gnulib-arch): New variable.
34328 [!gnulib] (gnulib-tests): Likewise.
34329 [!gnulib] (static-gnulib-arch): Likewise.
34330 [!gnulib] (static-gnulib-tests): Likewise.
34331 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34332 Define with "=" instead of ":=".
34333 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34334 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34335 * Rules (binaries-all-notests): New variable.
34336 (binaries-all-tests): Likewise.
34337 (binaries-static-notests): Likewise.
34338 (binaries-static-tests): Likewise.
34339 (binaries-all): Define using $(binaries-all-notests) and
34340 $(binaries-all-tests).
34341 (binaries-static): Define using $(binaries-static-notests) and
34342 $(binaries-static-tests).
34343 (binaries-shared-tests): New variable.
34344 (binaries-shared-notests): Likewise.
34345 (binaries-shared): Remove variable.
34346 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34347 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34348 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34349 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34350 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34351 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34352 * elf/Makefile (sln-modules): New variable.
34353 (extra-objs): Add $(sln-modules:=.o).
34354 (ldconfig-modules): Add static-stubs.
34355 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34356 * elf/static-stubs.c: New file.
34357
7a845b2c
JM
34358 [BZ #14283]
34359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34360 by 7 not 8 to examine high bit of fractional part. Use volatile
34361 variables when splitting into final array of floats if
34362 __FLT_EVAL_METHOD__ != 0.
34363 * math/libm-test.inc (cos_test): Add another test.
34364 (sin_test): Likewise.
34365 * sysdeps/i386/fpu/libm-test-ulps: Update.
34366
e2283f38
JM
34367 [BZ #14273]
34368 * math/libm-test.inc (cosh_test): Add more tests.
34369
370ca3d2
JM
34370 * version.h (RELEASE): Set to "development".
34371 (VERSION): Set to "2.16.90".
34372
ee9247c3
CD
343732012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34374
34375 * NEWS: Update copyright. Remove last-updated date.
34376 Mention math library bug fixes and timezone data changes.
34377 * README: Mention GNU/Hurd, x32, and HPPA support status.
34378
4648c381
TS
343792012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34380
34381 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34382
aac78a43
AJ
343832012-06-27 Andreas Jaeger <aj@suse.de>
34384
34385 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34386
ed3dbfad
AJ
343872012-06-25 Andreas Jaeger <aj@suse.de>
34388
34389 * sysdeps/s390/fpu/libm-test-ulps: Update.
34390
4d0ee855
AS
343912012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34392 Thomas Schwinge <thomas@codesourcery.com>
34393
34394 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34395 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34397 fanotify_mark.
34398
af1bce34
TS
343992012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34400
a9fa33ba
TS
34401 * sysdeps/mach/start.c: Remove file.
34402 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34403 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34404 * sysdeps/sh/init-first.c: Likewise.
34405
58f902b8
TS
34406 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34407 registers for frame unwinding purposes, add CFI directives.
34408 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34409 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34410 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34411 Likewise.
34412
1518f58b
TS
34413 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34414 __fortify_fail returning.
34415 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34416
db9b5059
TS
34417 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34418 sysdeps/sh/____longjmp_chk.S.
34419 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34420 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34421 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34422 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34423
967705fe
TS
34424 * sysdeps/sh/abort-instr.h: New file.
34425 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34426 process in case exit returns.
34427
a9def8c4
TS
34428 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34429 initialize the GOT register before use.
34430
2a649725
TS
34431 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34432 calculation of ARGC > 4.
34433
af1bce34
TS
34434 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34435 meaningful names to some local labels.
34436
d230f50a
KK
344372012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34438 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34439
34440 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34441 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34442 (__arch_compare_and_exchange_val_16_acq): Likewise.
34443 (__arch_compare_and_exchange_val_32_acq): Likewise.
34444 (atomic_exchange_and_add): Fix gUSA sequence.
34445 (atomic_add): Likewise.
34446 (atomic_add_negative): Likewise.
34447 (atomic_add_zero): Likewise.
34448 (atomic_bit_test_set): Likewise.
34449
0479b305
AS
344502012-06-22 Andreas Schwab <schwab@redhat.com>
34451
34452 [BZ #13579]
34453 * include/link.h (struct link_map): Add l_free_initfini.
34454 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34455 l_initfini.
34456 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34457 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34458 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34459 set.
34460
0e3933b9
CD
344612012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34462
34463 * configure.in: Use AC_LANG_SOURCE.
34464 * configure: Regenerate.
34465
4248b1b1
RM
344662012-06-22 Roland McGrath <roland@hack.frob.com>
34467
34468 * configure.in (libc_cv_localstatedir): New substituted variable.
34469 * configure: Regenerated.
34470 * config.make.in (localstatedir): New variable, substituted from
34471 libc_cv_localstatedir.
34472 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34473 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34474 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34475 * sysdeps/gnu/configure: Regenerated.
34476
006dd861
JL
344772012-06-21 Jeff Law <law@redhat.com>
34478
34479 [BZ #14277]
34480 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34481 free. Simplify list management for _LIBC case.
34482
79662d42
JM
344832012-06-21 Joseph Myers <joseph@codesourcery.com>
34484
b7abb4bf
JM
34485 [BZ #14273]
34486 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34487 Clear sign bit of 64-bit integer value before comparing against
34488 overflow value.
34489
79662d42
JM
34490 * sysdeps/mach/configure: Regenerated.
34491
1f150908
L
344922012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34493
34494 [BZ #14278]
34495 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34496
28363bbf
JL
344972012-06-21 Jeff Law <law@redhat.com>
34498
34499 [BZ #13882]
34500 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34501 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 34502 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
34503 * elf/dl-open.c (dl_open_worker): Likewise.
34504
09615db4
CD
345052012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34506
34507 * scripts/list-sources.sh: Scan PORTS for translations.
34508 * po/libc.pot: Regenerated.
34509
2174c6dd
AJ
345102012-06-21 Andreas Jaeger <aj@suse.de>
34511
34512 [BZ #12194]
34513 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34514 warning.
34515 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34516 * bits/byteswap-16.h (__bswap_16): Likewise.
34517 * bits/byteswap.h (__bswap_constant_16): Likewise.
34518
3ee947b1
L
345192012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34520
34521 [BZ #14117]
a2f34833
L
34522 * sysdeps/i386/fpu_control.h: Removed.
34523 * sysdeps/x86_64/fpu_control.h: Moved to ...
34524 * sysdeps/x86/fpu_control.h: Here.
34525
3ee947b1
L
34526 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34527 (_FPU_SETCW): Likewise.
34528
ed1825f8
L
345292012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34530
25f1282a
L
34531 [BZ #14117]
34532 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34533 * sysdeps/x86/fpu/bits/mathinline.h: This.
34534 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34535
ed1825f8
L
34536 [BZ #14050]
34537 [BZ #14117]
34538 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34539 functions if __x86_64__ is defined.
34540
36d54b74
CLT
345412012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34542
34543 * string/endian.h: Add !__ASSEMBLER__ condition for including
34544 conversion interfaces.
34545
10285c21
JM
345462012-06-15 Joseph Myers <joseph@codesourcery.com>
34547
34548 [BZ #14241]
34549 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34550 of ABS(x) in calculating zero to negative powers other than odd
34551 integers.
34552 * math/libm-test.inc (pow_test): Add more tests.
34553
06c5abbd
AJ
345542012-06-15 Andreas Jaeger <aj@suse.de>
34555
34556 * manual/contrib.texi (Contributors): Update entry of Liubov
34557 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34558 Machado Filho.
34559
a3aeac40
CH
345602012-06-15 Cyril Hrubis <metan@ucw.cz>
34561
34562 * string/string.h: Add __wur to GNU version of strerror_r.
34563
49bdf4c1
L
345642012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34565
34566 [BZ #14229]
34567 * string/Makefile (tests): Add tst-strtok_r.
34568 * string/tst-strtok_r.c: New file.
34569 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34570 RAX_LP/RDX_LP on SAVE_PTR.
34571
834f9b8d
RM
345722012-06-14 Roland McGrath <roland@hack.frob.com>
34573
34574 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34575
75fa1921
JM
345762012-06-14 Joseph Myers <joseph@codesourcery.com>
34577
34578 * libm_test.inc (csqrt_test): Allow more spurious underflow
34579 exceptions.
34580 (j0_test): Likewise.
34581 (j1_test): Likewise.
34582 (y0_test): Likewise.
34583 (y1_test): Likewise.
34584
771766df
CD
345852012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34586
34587 * po/Makefile (libc.pot): Use UTF-8 charset.
34588
ceb9e56b
PP
345892012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34590
34591 [BZ #14210]
34592 Suppress sign-conversion warning from FD_SET.
34593 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34594 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34595 not unsigned long int.
34596 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34597
ddb28975
L
345982012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34599
34600 [BZ #14050]
34601 [BZ #14117]
34602 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34603 __extern_always_inline instead of __extern_inline.
34604 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34605 (__signbit): Likewise.
34606 (__signbitl): Support C++ namespace.
34607 (lrintf): New inline function.
34608 (lrint): Likewise.
34609 (llrintf): Likewise.
34610 (llrint): Likewise.
34611 (fmaxf): Likewise.
34612 (fmax): Likewise.
34613 (fminf): Likewise.
34614 (fmin): Likewise.
34615 (rint): Likewise.
34616 (rintf): Likewise.
34617 (ceil): Likewise.
34618 (ceilf): Likewise.
34619 (floor): Likewise.
34620 (floorf): Likewise.
34621 (nearbyint): Likewise.
34622 (nearbyintf): Likewise.
34623
d7b4fb26
TS
346242012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34625
34626 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34627 non-default versions.
34628
eb55f5c2
RM
346292012-06-11 Roland McGrath <roland@hack.frob.com>
34630
34631 [BZ #14218]
34632 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34633
366af02c
TS
346342012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34635
99ff6e5c
TS
34636 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34637 (FE_UPWARD, FE_DOWNWARD): Don't define.
34638 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34639 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34640
366af02c
TS
34641 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34642 reading it.
34643 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34644 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34645
793ea851
KK
346462012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34647
34648 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34649 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34650 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34651 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34652
a728a38f
L
346532012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34654
34655 [BZ #14117]
c08010c7
L
34656 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34657 * sysdeps/i386/fpu/Implies: New file.
34658 * sysdeps/x86_64/fpu/Implies: Likewise.
34659 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34660 * sysdeps/x86/fpu/bits/fenv.h: This.
34661
a728a38f
L
34662 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34663 __SSE_MATH__.
34664
6e230d11
SP
346652012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34666
34667 [BZ #14134]
34668 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34669 character 0xffff that matches the last element of the
34670 conversion table.
34671
1b671feb
AZ
346722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34673
34674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34675 fmodl commit.
34676
6043738b
AZ
346772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34678
34679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34680 values higher than 25.6283.
34681
34ae0b32
AZ
346822012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34683
34684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34685 subnormal exponent extraction and add some __builtin_expect.
34686 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34687 Fix for subnormal mantissa calculation.
34688
1214ec8f
MF
346892012-06-04 Mike Frysinger <vapier@gentoo.org>
34690
34691 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34692 cpu2 is -1 and errno is not ENOSYS.
34693
f3d1f93c
L
346942012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34695
34696 [BZ #14117]
0e4a3cd7
L
34697 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34698 * sysdeps/x86/bits/string.h: This.
34699 * sysdeps/x86_64/bits/string.h: Removed.
34700
6704c645
L
34701 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34702 if not compiling for x86-64, but compiling for >= i486.
34703
48495318
L
34704 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34705 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34706
14adcbfc
L
34707 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34708 New macro from Linux kernel 3.4.0.
34709 (FP_XSTATE_MAGIC2): Likewise.
34710 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34711 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34712 (struct _fpx_sw_bytes): New struct.
34713 (struct _xsave_hdr): Likewise.
34714 (struct _ymmh_state): Likewise.
34715 (struct _xstate): Likewise.
34716
68e408ab
L
34717 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34718 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34719 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34720 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34721 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34722 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34723
f3d1f93c
L
34724 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34725 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34726 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34727 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34728 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34729 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34730
d9dc34cd
TMQMF
347312012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34732
34733 [BZ #13743]
34734 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34735 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34736 (sysdep_headers): Include sys/platform/ppc.h.
34737 * sysdeps/powerpc/test-gettimebase.c: Test for
34738 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34739 * manual/Makefile (appendices): Include platform.texi.
34740 * manual/contrib.texi (Contributors): Update @node pointers.
34741 * manual/maint.texi (Maintenance): Likewise.
34742 (Platform): New node.
34743 * manual/platform.texi: New file. Document the new features.
34744
4af3879c
SP
347452012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34746 Jakub Jelinek <jakub@redhat.com>
34747
34748 [BZ #14188]
34749 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34750 where __builtin_expect is unavailable.
34751
2fd6ff13
DM
347522012-06-03 David S. Miller <davem@davemloft.net>
34753
34754 * stdlib/longlong.h: Updated from GCC.
34755
173f7220
AS
347562012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34757
34758 [BZ #14042]
34759 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34760 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34761 __mcount_internal.
34762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34763 (GLIBC_2.16): Likewise.
34764
f34a1c6f
L
347652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34766
34767 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34768
88a4576f
JM
347692012-06-01 Joseph Myers <joseph@codesourcery.com>
34770
ea32bcdd
JM
34771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34772 (default-abi): New variable.
34773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34774 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34775 variable.
34776 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34777 Likewise.
34778 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34779 Likewise.
34780 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34781 Likewise.
34782
88a4576f
JM
34783 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34784 definition. Document in comment.
34785
402fe938
DM
347862012-06-01 David S. Miller <davem@davemloft.net>
34787
34788 * stdlib/longlong.h: Updated from GCC.
34789
3553723f
L
347902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34791
34792 [BZ #14117]
3bd872c4
L
34793 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34794 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34795 sys/debugreg.h sys/io.h here.
34796 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34797 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34798 sys/io.h.
34799 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34800 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34801 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34802 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34803 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34804 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34805
3553723f
L
34806 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34807 Define only if __x86_64__ is defined.
34808
4842e4fe
JM
348092012-06-01 Joseph Myers <joseph@codesourcery.com>
34810
c5bfe3d5
JM
34811 [BZ #14048]
34812 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34813 Use int64_t for variable i.
34814 * math/libm-test.inc (fmod_test): Add more tests.
34815
4842e4fe
JM
34816 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34817 z computation is not scheduled after fetestexcept.
34818 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34819 Use math_force_eval instead of asm to ensure calculation scheduled
34820 before exception test.
34821 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34822 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34823
efb73488
AJ
348242012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34825
34826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34827 computation is not scheduled after fetestexcept.
34828
29bcce7c
L
348292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34830
34831 [BZ #14117]
34832 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34833 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34834
73a68f94
AZ
348352012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34836
34837 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34838 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34839
67b6df78
L
348402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34841
edf2933a 34842 [BZ #14117]
ebc64a18
L
34843 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34844 <bits/wordsize.h>.
34845 (__WCHAR_MIN): Support __WORDSIZE == 64.
34846 (__WCHAR_MAX): Likewise.
34847
edf2933a
L
34848 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34849 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34850
57c6cf40
L
34851 [BZ #14183]
34852 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34853 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34854
67b6df78 34855 [BZ #14117]
8eb6281e
L
34856 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34857 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34858
aac639f4
L
34859 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34860 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34861
67b6df78
L
34862 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34863 Defined to 1 if __x86_64__ isn't defined.
34864 (_STAT_VER_LINUX_OLD): New.
34865 (st_atime): Remove duplicate.
34866 (st_mtime): Likewise.
34867 (st_ctime): Likewise.
34868
1c2cfe81
DM
348692012-05-31 David S. Miller <davem@davemloft.net>
34870
34871 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34872 entries.
34873
5be8418c
AS
348742012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34875
e7725326
AS
34876 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34877 gen-libm-test.pl.
34878
5be8418c
AS
34879 [BZ #14132]
34880 * elf/dl-reloc.c: Include <_itoa.h>.
34881 (_dl_reloc_bad_type): Remove use of INTUSE.
34882 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34883 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34884 * stdio-common/psiginfo.c (psiginfo): Likewise.
34885 * stdio-common/psignal.c (psignal): Likewise.
34886 * string/strsignal.c (strsignal): Likewise.
34887 * include/signal.h (_sys_siglist): Declare hidden proto.
34888 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34889 INTVARDEF with libc_hidden_data_def.
34890 * stdio-common/itoa-udigits.c: Likewise.
34891 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34892 (_itoa_lower_digits_internal): Remove declaration.
34893 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34894 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34895 (_sys_sigabbrev_internal): Remove aliases.
34896 (_sys_siglist): Define hidden alias.
34897
507352f1
MT
348982012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34899
34900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34901 bits/sysctl.h.
34902
42bbb1c3
L
349032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34904
34905 [BZ #14117]
6bd784b6
L
34906 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34907 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34908
8bca20f0
L
34909 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34910 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34911 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34912 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34913 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34914 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34915
f9e890a9
L
34916 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34917 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34918 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34919
471101a1
L
34920 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34921 with __addr.
34922 (insw): Likewise.
34923 (insl): Likewise.
34924 (outsb): Likewise.
34925 (outsw): Likewise.
34926 (outsl): Likewise.
34927
6451c862
L
34928 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34929 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34930 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34931
a254b8c9
L
34932 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34933 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34934 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34935 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34936 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34937 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34938
b8dfdd92
L
34939 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34940 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34941
578cd270
L
34942 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34943 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34944
de662f5f
L
34945 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34946 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34947 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34948
25653439
L
34949 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34950 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34951 to ...
34952 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34953
6bad24a0
L
34954 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34955 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34956 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34957
42bbb1c3
L
34958 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34959 for x86-64.
34960 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34961
2d10d547
JM
349622012-05-31 Joseph Myers <joseph@codesourcery.com>
34963
34964 * math/math.h (M_El): Use two more decimal places.
34965 (M_LOG2El): Likewise.
34966 (M_LOG10El): Likewise.
34967 (M_LN2l): Likewise.
34968 (M_LN10l): Likewise.
34969 (M_PIl): Likewise.
34970 (M_PI_2l): Likewise.
34971 (M_PI_4l): Likewise.
34972 (M_1_PIl): Likewise.
34973 (M_2_PIl): Likewise.
34974 (M_2_SQRTPIl): Likewise.
34975 (M_SQRT2l): Likewise.
34976 (M_SQRT1_2l): Likewise.
34977
f230c29b
DM
349782012-05-31 David S. Miller <davem@davemloft.net>
34979
34980 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34981 values between float registers.
34982 * sysdeps/sparc/sparc64/memset.S: Likewise.
34983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34984
fed806c3
MF
349852012-05-31 Mike Frysinger <vapier@gentoo.org>
34986
34987 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34988 -D_FORTIFY_SOURCE=1.
34989 (CPPFLAGS-tst-longjmp_chk.c): Define.
34990 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34991 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34992 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34993 CFLAGS-tst-wchar-h.c.
34994
30917259
MP
349952012-05-31 Marek Polacek <polacek@redhat.com>
34996
34997 [BZ #14132]
34998 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34999 __endmntent_internal): Remove declaration.
35000 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35001 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35002 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35003
1c58d5dc
DM
350042012-05-30 David S. Miller <davem@davemloft.net>
35005
35006 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35007 (___Q_simulate_exceptions): Use real FP ops rather than writing
35008 into the %fsr.
35009 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35010 Likewise.
35011
7dc00e0d
L
350122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35013
35014 [BZ #14117]
0bd53985
L
35015 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35016 * sysdeps/x86/bits/xtitypes.h: This.
35017
3a257e66
L
35018 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35019 * sysdeps/x86/bits/wordsize.h: This.
35020
62f62904
L
35021 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35022 * sysdeps/x86/bits/huge_vall.h: This.
35023
404fe9d9
L
35024 * sysdeps/i386/bits/select.h: Removed.
35025 * sysdeps/x86_64/bits/select.h: Renamed to ...
35026 * sysdeps/x86/bits/select.h: This.
35027
d48d0446
L
35028 * sysdeps/i386/bits/setjmp.h: Removed.
35029 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35030 * sysdeps/x86/bits/setjmp.h: This.
35031
7dc00e0d
L
35032 * sysdeps/i386/bits/mathdef.h: Removed.
35033 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35034 * sysdeps/x86/bits/mathdef.h: This.
35035
03277f8f
AS
350362012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35037
35038 [BZ #14132]
35039 * include/sys/socket.h (__connect_internal)
35040 (__libc_sa_len_internal): Remove declaration.
35041 (__connect, __libc_sa_len): Declare hidden_proto.
35042 (SA_LEN): Remove use of INTUSE.
35043 * socket/connect.c: Add libc_hidden_def.
35044 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35045 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35046 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35047 alias.
35048 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35049 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35050 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35051 of adding _internal alias.
35052
13764867
L
350532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35054
35055 [BZ #14117]
6bd97696
L
35056 * sysdeps/i386/bits/link.h: Removed.
35057 * sysdeps/i386/bits/linkmap.h: Likewise.
35058 * sysdeps/x86_64/bits/link.h: Renamed to ...
35059 * sysdeps/x86/bits/link.h: This.
35060 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35061 * sysdeps/x86/bits/linkmap.h: This.
35062
f726f0bb
L
35063 * sysdeps/i386/bits/endian.h: Removed.
35064 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35065 * sysdeps/x86/bits/endian.h: This.
35066
13764867
L
35067 * sysdeps/i386/bits/byteswap.h: Removed.
35068 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35069 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35070 * sysdeps/x86/bits/byteswap.h: This.
35071 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35072 * sysdeps/x86/bits/byteswap-16.h: This.
35073 * sysdeps/i386/Implies: Add x86.
35074 * sysdeps/x86_64/Implies: Likewise.
35075
ae251b0b
DM
350762012-05-30 David S. Miller <davem@davemloft.net>
35077
35078 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35079 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35080 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35081 (FP_TRAPPING_EXCEPTIONS): Define.
35082 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35083 (FP_TRAPPING_EXCEPTIONS): Define.
35084 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35085 subnormals only when inexact has been signalled or underflow
35086 exceptions are enabled.
35087 (_FP_PACK_CANONICAL): Likewise.
35088
d5c90867
L
350892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35090
35091 [BZ #14183]
35092 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35093 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35094
63f1549e
RH
350952012-05-30 Richard Henderson <rth@twiddle.net>
35096
8d8f2279
RH
35097 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35098 with #ifndef NOT_IN_libc.
35099
63f1549e
RH
35100 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35101 marked to avoid plt entry.
35102
0ab0291b
L
351032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35104
35105 [BZ #14112]
35106 * Makeconfig (default-abi): New macro.
35107 (abi-includes): Likewise.
35108 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35109 $(abi-$(default-abi)-lib-soname) for soname if defined.
35110 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35111 abi-variants.
35112 * Makefile (installed-stubs): Likewise.
35113 * include/stubs-biarch.h: Removed.
35114 * scripts/lib-names.awk: Only handle one library at a time.
35115 * scripts/soversions.awk: Remove WORDSIZE support.
35116 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35117 entries.
35118 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35119 Removed.
35120 (syscall-list-default-condition): Likewise.
35121 (syscall-list-default-condition): Likewise.
35122 (syscall-list-includes): Likewise.
35123 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35124 syscall-list-* with abi-*. Handle undefined abi-variants.
35125 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35126 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35127 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35128 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35129 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35130 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35131 Removed.
35132 (syscall-list-32-options): Likewise.
35133 (syscall-list-32-condition): Likewise.
35134 (syscall-list-64-options): Likewise.
35135 (syscall-list-64-condition): Likewise.
35136 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35137 macro.
35138 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35139 Renamed to ...
35140 (abi-*): This.
35141 (abi-64-ld-soname): New macro.
35142 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35143 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35144 Renamed to ...
35145 (abi-*): This.
35146 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35147 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35148
4da0431d
JM
351492012-05-30 Joseph Myers <joseph@codesourcery.com>
35150
3a85279c
JM
35151 * sysdeps/unix/sysv/linux/kernel-features.h
35152 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35153 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35154 include <kernel-features.h>.
35155 [!__NR_ftruncate64]: Remove conditional code.
35156 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35157 [__NR_ftruncate64]: Make code unconditional.
35158 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35159 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35160 include <kernel-features.h>.
35161 [!__NR_ftruncate64]: Remove conditional code.
35162 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35163 [__NR_ftruncate64]: Make code unconditional.
35164 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35166 include <kernel-features.h>.
35167 [!__NR_ftruncate64]: Remove conditional code.
35168 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35169 [__NR_ftruncate64]: Make code unconditional.
35170 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35172 include <kernel-features.h>.
35173 [!__NR_ftruncate64]: Remove conditional code.
35174 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35175 [__NR_ftruncate64]: Make code unconditional.
35176 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35177
4da0431d
JM
35178 * configure.in (libc_cv_fpie): Weaken to a compile test using
35179 LIBC_TRY_CC_OPTION.
35180 * configure: Regenerated.
35181
11ef492c
AK
351822012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35183
35184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35188 Refreshed.
35189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35195 Refreshed.
35196
d66ef399
DM
351972012-05-27 David S. Miller <davem@davemloft.net>
35198
35199 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35200 (___Q_zero): New.
35201 (__Q_simulate_exceptions): Return void. Change to simulate
35202 exceptions by writing into the %fsr.
35203 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35204 (__Qp_handle_exceptions): Likewise.
35205 (numbers): Delete.
35206 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35207 __Qp_handle_exceptions.
35208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35209 __Qp_handle_exceptions.
35210 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35211 as unused and give dummy FP_RND_NEAREST initializer.
35212 (FP_INHIBIT_RESULTS): Define.
35213 (___Q_simulate_exceptions): Update declaration.
35214 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35215 formatting.
35216 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35217 as unused and give dummy FP_RND_NEAREST initializer.
35218 (__Qp_handle_exceptions): Update declaration.
35219 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35220 formatting.
35221
04fb54b5
TS
352222012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35223
35224 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35225 the temporary FPU control word.
35226 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35227 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35228 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35229 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35230 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35231 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35232 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35233 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35234 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35235 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35236 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35237
3f99608f
KK
352382012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35239
35240 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35241 fields.
35242
65a4de4e
CLT
352432012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35244
35245 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35246 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35247 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35248 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35249 Likewise.
35250 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35251 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35252 Likewise.
35253
15749d40
UD
352542012-05-27 Ulrich Drepper <drepper@gmail.com>
35255
35256 * po/h.po: Update from translation team.
35257
25dbcb27
AS
352582012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35259
3d3f8e55
AS
35260 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35261
25dbcb27
AS
35262 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35263 handling of denormals.
35264 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35265 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35266 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35267 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35268 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35271 Likewise.
35272
7ad47a80 352732012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
35274
35275 [BZ #14152]
35276 * math/libm-test.inc (fma_test): Don't always expect underflow
35277 exception.
35278
9c6ea9fa
SP
352792012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35280
35281 [BZ #12416]
35282 * elf/tst-execstack.c: Include stackinfo.h.
35283 (do_test): Adjust test case to ensure that pthread_getattr_np
35284 behaviour remains the same after marking stack executable.
35285
a8239222
JM
352862012-05-25 Joseph Myers <joseph@codesourcery.com>
35287
35288 * sysdeps/unix/sysv/linux/kernel-features.h
35289 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35290 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35291 kernel-features.h.
35292 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35293 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35294 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35295 kernel-features.h.
35296 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35297 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35298
918b5606
L
352992012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35300
35301 * configure.in: Define the default includes to being none.
35302 * configure: Regenerated.
35303
3a097cc7
RM
353042012-05-25 Roland McGrath <roland@hack.frob.com>
35305
8422c9a5
RM
35306 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35307 * sysdeps/x86_64/setjmp.S: Likewise.
35308 * sysdeps/i386/bsd-setjmp.S: Likewise.
35309 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35310 * sysdeps/i386/setjmp.S: Likewise.
35311 * sysdeps/i386/__longjmp.S: Likewise.
35312 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35313 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35314
3a097cc7
RM
35315 * include/stap-probe.h: New file.
35316 * configure.in: Handle --enable-systemtap.
35317 * configure: Regenerated.
35318 * config.h.in (USE_STAP_PROBE): New #undef.
35319 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35320 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35321 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35322
21708942
JM
353232012-05-25 Joseph Myers <joseph@codesourcery.com>
35324
35325 [BZ #13717]
35326 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35327 to 2.4.0 where earlier.
35328 * sysdeps/unix/sysv/linux/configure: Regenerated.
35329 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35330 <kernel-features.h>.
35331 [__ASSUME_32BITUIDS]: Make code unconditional.
35332 [!__ASSUME_32BITUIDS]: Remove conditional code.
35333 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35334 <kernel-features.h>.
35335 [__ASSUME_32BITUIDS]: Make code unconditional.
35336 [!__ASSUME_32BITUIDS]: Remove conditional code.
35337 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35338 [__ASSUME_32BITUIDS]: Make code unconditional.
35339 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35340 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35341 <kernel-features.h>.
35342 [__ASSUME_32BITUIDS]: Make code unconditional.
35343 [!__ASSUME_32BITUIDS]: Remove conditional code.
35344 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35345 <kernel-features.h>.
35346 [__ASSUME_32BITUIDS]: Make code unconditional.
35347 [!__ASSUME_32BITUIDS]: Remove conditional code.
35348 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35349 <kernel-features.h>.
35350 [__ASSUME_32BITUIDS]: Make code unconditional.
35351 [!__ASSUME_32BITUIDS]: Remove conditional code.
35352 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35353 <kernel-features.h>.
35354 [__ASSUME_32BITUIDS]: Make code unconditional.
35355 [!__ASSUME_32BITUIDS]: Remove conditional code.
35356 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35357 <kernel-features.h>.
35358 [__ASSUME_32BITUIDS]: Make code unconditional.
35359 [!__ASSUME_32BITUIDS]: Remove conditional code.
35360 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35361 <kernel-features.h>.
35362 [__ASSUME_32BITUIDS]: Make code unconditional.
35363 [!__ASSUME_32BITUIDS]: Remove conditional code.
35364 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35365 <kernel-features.h>.
35366 [__ASSUME_32BITUIDS]: Make code unconditional.
35367 [!__ASSUME_32BITUIDS]: Remove conditional code.
35368 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35369 <kernel-features.h>.
35370 [__ASSUME_32BITUIDS]: Make code unconditional.
35371 [!__ASSUME_32BITUIDS]: Remove conditional code.
35372 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35373 <kernel-features.h>.
35374 [__ASSUME_32BITUIDS]: Make code unconditional.
35375 [!__ASSUME_32BITUIDS]: Remove conditional code.
35376 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35377 <kernel-features.h>.
35378 [__ASSUME_32BITUIDS]: Make code unconditional.
35379 [!__ASSUME_32BITUIDS]: Remove conditional code.
35380 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35381 <kernel-features.h>.
35382 [__NR_setresgid] (__setresgid): Do not declare.
35383 [__ASSUME_32BITUIDS]: Make code unconditional.
35384 [!__ASSUME_32BITUIDS]: Remove conditional code.
35385 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35386 <kernel-features.h>.
35387 [__NR_setresuid] (__setresuid): Do not declare.
35388 [__ASSUME_32BITUIDS]: Make code unconditional.
35389 [!__ASSUME_32BITUIDS]: Remove conditional code.
35390 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35391 <kernel-features.h>.
35392 [__ASSUME_32BITUIDS]: Make code unconditional.
35393 [!__ASSUME_32BITUIDS]: Remove conditional code.
35394 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35395 <kernel-features.h>.
35396 [__ASSUME_32BITUIDS]: Make code unconditional.
35397 [!__ASSUME_32BITUIDS]: Remove conditional code.
35398 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35399 <kernel-features.h>.
35400 [__ASSUME_32BITUIDS]: Make code unconditional.
35401 [!__ASSUME_32BITUIDS]: Remove conditional code.
35402 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35403 <kernel-features.h>.
35404 [__ASSUME_32BITUIDS]: Make code unconditional.
35405 [!__ASSUME_32BITUIDS]: Remove conditional code.
35406 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35407 <kernel-features.h>.
35408 [__ASSUME_32BITUIDS]: Make code unconditional.
35409 [!__ASSUME_32BITUIDS]: Remove conditional code.
35410 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35411 <kernel-features.h>.
35412 [__ASSUME_32BITUIDS]: Make code unconditional.
35413 [!__ASSUME_32BITUIDS]: Remove conditional code.
35414 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35415 <kernel-features.h>.
35416 [__ASSUME_32BITUIDS]: Make code unconditional.
35417 [!__ASSUME_32BITUIDS]: Remove conditional code.
35418 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35419 <kernel-features.h>.
35420 [__ASSUME_32BITUIDS]: Make code unconditional.
35421 [!__ASSUME_32BITUIDS]: Remove conditional code.
35422 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35423 <kernel-features.h>.
35424 [__ASSUME_32BITUIDS]: Make code unconditional.
35425 [!__ASSUME_32BITUIDS]: Remove conditional code.
35426 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35427 <kernel-features.h>.
35428 [__ASSUME_32BITUIDS]: Make code unconditional.
35429 [!__ASSUME_32BITUIDS]: Remove conditional code.
35430 * sysdeps/unix/sysv/linux/kernel-features.h
35431 (__ASSUME_SETRESUID_SYSCALL): Remove.
35432 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35433 (__ASSUME_32BITUIDS): Likewise.
35434 (__ASSUME_LDT_WORKS): Likewise.
35435 (__ASSUME_O_DIRECTORY): Likewise.
35436 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35437 architecture but not kernel version.
35438 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35439 (__ASSUME_MMAP2_SYSCALL): Likewise.
35440 (__ASSUME_STAT64_SYSCALL): Likewise.
35441 (__ASSUME_IPC64): Likewise.
35442 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35443 <kernel-features.h>.
35444 [__ASSUME_32BITUIDS]: Make code unconditional.
35445 [!__ASSUME_32BITUIDS]: Remove conditional code.
35446 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35447 <kernel-features.h>.
35448 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35449 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35450 132096]: Remove conditional code.
35451 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35452 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35453 <kernel-features.h>.
35454 [__ASSUME_32BITUIDS]: Make code unconditional.
35455 [!__ASSUME_32BITUIDS]: Remove conditional code.
35456 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35457 <kernel-features.h>.
35458 [__ASSUME_32BITUIDS]: Make code unconditional.
35459 [!__ASSUME_32BITUIDS]: Remove conditional code.
35460 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35461 <kernel-features.h>.
35462 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35463 unconditional.
35464 (__setresgid): Do not declare.
35465 [__ASSUME_32BITUIDS]: Make code unconditional.
35466 [!__ASSUME_32BITUIDS]: Remove conditional code.
35467 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35468 <kernel-features.h>.
35469 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35470 unconditional.
35471 (__setresuid): Do not declare.
35472 [__ASSUME_32BITUIDS]: Make code unconditional.
35473 [!__ASSUME_32BITUIDS]: Remove conditional code.
35474 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35475 <kernel-features.h>.
35476 [__ASSUME_32BITUIDS]: Make code unconditional.
35477 [!__ASSUME_32BITUIDS]: Remove conditional code.
35478 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35479 <kernel-features.h>.
35480 [__ASSUME_32BITUIDS]: Make code unconditional.
35481 [!__ASSUME_32BITUIDS]: Remove conditional code.
35482
a386f1cc
RH
354832012-05-25 Richard Henderson <rth@twiddle.net>
35484
35485 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35486 dl_hwcap to ifunc resolver.
35487 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35488 elf_ifunc_invoke.
35489 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35490 dl_hwcap to ifunc resolver.
35491 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35492
b6550497
JM
354932012-05-24 Joseph Myers <joseph@codesourcery.com>
35494
35495 [BZ #14153]
35496 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35497 for |x| <= 2**-26, not 2**-57.
35498 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35499 exception.
35500
b0bc23a1
JL
355012012-05-24 Jeff Law <law@redhat.com>
35502
35503 * stdio-common/Makefile (tests): Add bug25.
35504 * stdio-common/bug25.c: New test.
35505
347c92e9
L
355062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35507
35508 [BZ #13576]
35509 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35510 multiple of MALLOC_ALIGNMENT in size.
35511 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35512
6bcc8b3f
JM
355132012-05-24 Joseph Myers <joseph@codesourcery.com>
35514
35515 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35516 Require >= 256.
35517 (FILENAME_MAX): Use macro-int-constant.
35518 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35519 (_IOFBF): Use macro-int-constant.
35520 (_IOLBF): Likewise.
35521 (_IONBF): Likewise.
35522 (SEEK_CUR): Likewise.
35523 (SEEK_END): Likewise.
35524 (SEEK_SET): Likewise.
35525 (TMP_MAX): Likewise.
35526 (EOF): Use macro-int-constant. Require < 0.
35527 (NULL): Use macro-constant. Require == 0.
35528 (stdin): Require type to be FILE *.
35529 (stdout): Likewise.
35530 (stderr): Likewise.
35531 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35532 macro-int-constant.
35533 (EXIT_SUCCESS): Likewise.
35534 (NULL): Use macro-constant. Require == 0.
35535 (RAND_MAX): Use macro-int-constant.
35536 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35537 [C99-based standards] (strtof): Require function.
35538 [C99-based standards] (strtold): Likewise.
35539 [C99-based standards] (strtoll): Likewise.
35540 [C99-based standards] (strtoull): Likewise.
35541 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35542 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35543 [ISO || ISO99 || ISO11] (math.h): Likewise.
35544 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35545 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35546 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35547
d18ea0c5
AS
355482012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35549
35550 [BZ #14132]
56d25bb8
AS
35551 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35552 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35553 * intl/dgettext.c (DCGETTEXT): Likewise.
35554 * intl/gettext.c (DCGETTEXT): Likewise.
35555 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35556 * posix/regex_internal.h (gettext): Likewise.
35557 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35558 Remove declaration.
35559 * include/argz.h (__argz_count_internal)
35560 (__argz_stringify_internal): Remove declaration.
35561 (__argz_count, __argz_stringify): Declare hidden proto.
35562 * intl/dcgettext.c: Remove use of INTDEF.
35563 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35564 * string/argz-stringify.c: Likewise.
35565 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35566 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35567 Declare hidden proto.
d18ea0c5
AS
35568 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35569 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35570 Declare hidden proto.
35571 * include/stdio.h (__asprintf_internal): Don't declare.
35572 (__asprintf): Don't define as macro. Declare hidden proto.
35573 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35574 (__fsetlocking): Declare hidden proto.
35575 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35576 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35577 hidden proto.
35578 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35579 (_IO_setlinebuf): Remove use of INTUSE.
35580 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35581 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35582 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35583 Remove declaration.
35584 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35585 (_IO_do_flush): Remove use of INTUSE.
35586 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35587 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35588 (_IO_adjust_column, _IO_least_wmarker)
35589 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35590 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35591 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35592 (_IO_default_doallocate, _IO_wdefault_doallocate)
35593 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35594 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35595 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35596 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35597 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35598 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35599 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35600 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35601 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35602 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35603 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35604 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35605 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35606 proto.
35607 (_IO_flush_all_internal, _IO_adjust_column_internal)
35608 (_IO_default_uflow_internal, _IO_default_finish_internal)
35609 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35610 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35611 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35612 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35613 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35614 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35615 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35616 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35617 (_IO_file_close_internal, _IO_file_close_it_internal)
35618 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35619 (_IO_file_init_internal, _IO_file_attach_internal)
35620 (_IO_file_fopen_internal, _IO_file_read_internal)
35621 (_IO_file_sync_internal, _IO_file_seek_internal)
35622 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35623 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35624 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35625 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35626 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35627 (_IO_list_all_internal, _IO_link_in_internal)
35628 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35629 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35630 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35631 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35632 (_IO_do_write_internal, _IO_padn_internal)
35633 (_IO_getline_info_internal, _IO_getline_internal)
35634 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35635 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35636 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35637 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35638 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35639 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35640 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35641 with libc_hidden_ver, remove use of INTUSE.
35642 * libio/genops.c: Likewise.
35643 * libio/freopen.c: Likewise.
35644 * libio/freopen64.c: Likewise.
35645 * libio/iofclose.c: Likewise.
35646 * libio/iofdopen.c: Likewise.
35647 * libio/iofflush.c: Likewise.
35648 * libio/iofflush_u.c: Likewise.
35649 * libio/iofgets.c: Likewise.
35650 * libio/iofgets_u.c: Likewise.
35651 * libio/iofopen.c: Likewise.
35652 * libio/iofopncook.c: Likewise.
35653 * libio/iofread.c: Likewise.
35654 * libio/iofread_u.c: Likewise.
35655 * libio/ioftell.c: Likewise.
35656 * libio/iofwrite.c: Likewise.
35657 * libio/iogetline.c: Likewise.
35658 * libio/iogets.c: Likewise.
35659 * libio/iogetwline.c: Likewise.
35660 * libio/iopadn.c: Likewise.
35661 * libio/iopopen.c: Likewise.
35662 * libio/ioseekoff.c: Likewise.
35663 * libio/ioseekpos.c: Likewise.
35664 * libio/iosetbuffer.c: Likewise.
35665 * libio/iosetvbuf.c: Likewise.
35666 * libio/ioungetc.c: Likewise.
35667 * libio/ioungetwc.c: Likewise.
35668 * libio/iovdprintf.c: Likewise.
35669 * libio/iovsprintf.c: Likewise.
35670 * libio/iovsscanf.c: Likewise.
35671 * libio/memstream.c: Likewise.
35672 * libio/obprintf.c: Likewise.
35673 * libio/oldfileops.c: Likewise.
35674 * libio/oldiofclose.c: Likewise.
35675 * libio/oldiofdopen.c: Likewise.
35676 * libio/oldiofopen.c: Likewise.
35677 * libio/oldiopopen.c: Likewise.
35678 * libio/oldstdfiles.c: Likewise.
35679 * libio/putc.c: Likewise.
35680 * libio/setbuf.c: Likewise.
35681 * libio/setlinebuf.c: Likewise.
35682 * libio/stdfiles.c: Likewise.
35683 * libio/strops.c: Likewise.
35684 * libio/vasprintf.c: Likewise.
35685 * libio/vscanf.c: Likewise.
35686 * libio/vsnprintf.c: Likewise.
35687 * libio/vswprintf.c: Likewise.
35688 * libio/wfiledoalloc.c: Likewise.
35689 * libio/wfileops.c: Likewise.
35690 * libio/wgenops.c: Likewise.
35691 * libio/wmemstream.c: Likewise.
35692 * libio/wstrops.c: Likewise.
35693 * libio/__fpurge.c: Likewise.
35694 * libio/__fsetlocking.c: Likewise.
35695 * assert/assert.c: Likewise.
35696 * debug/fgets_chk.c: Likewise.
35697 * debug/fgets_u_chk.c: Likewise.
35698 * debug/fread_chk.c: Likewise.
35699 * debug/fread_u_chk.c: Likewise.
35700 * debug/gets_chk.c: Likewise.
35701 * debug/obprintf_chk.c: Likewise.
35702 * debug/vasprintf_chk.c: Likewise.
35703 * debug/vdprintf_chk.c: Likewise.
35704 * debug/vsnprintf_chk.c: Likewise.
35705 * debug/vsprintf_chk.c: Likewise.
35706 * malloc/mtrace.c: Likewise.
35707 * misc/error.c: Likewise.
35708 * misc/syslog.c: Likewise.
35709 * stdio-common/asprintf.c: Likewise.
35710 * stdio-common/fxprintf.c: Likewise.
35711 * stdio-common/getw.c: Likewise.
35712 * stdio-common/isoc99_fscanf.c: Likewise.
35713 * stdio-common/isoc99_scanf.c: Likewise.
35714 * stdio-common/isoc99_vfscanf.c: Likewise.
35715 * stdio-common/isoc99_vscanf.c: Likewise.
35716 * stdio-common/isoc99_vsscanf.c: Likewise.
35717 * stdio-common/printf-prs.c: Likewise.
35718 * stdio-common/printf_fp.c: Likewise.
35719 * stdio-common/printf_fphex.c: Likewise.
35720 * stdio-common/printf_size.c: Likewise.
35721 * stdio-common/putw.c: Likewise.
35722 * stdio-common/scanf.c: Likewise.
35723 * stdio-common/sprintf.c: Likewise.
35724 * stdio-common/tmpfile.c: Likewise.
35725 * stdio-common/vfprintf.c: Likewise.
35726 * stdio-common/vfscanf.c: Likewise.
35727 * stdlib/strfmon_l.c: Likewise.
35728 * sunrpc/openchild.c: Likewise.
35729 * sunrpc/xdr_stdio.c: Likewise.
35730 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35731 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35732
d6c33fda
RM
357332012-05-24 Roland McGrath <roland@hack.frob.com>
35734
c1487492
RM
35735 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35736
35737 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35738 in the third column, to generate for the shared library an IFUNC
35739 that uses _dl_vdso_vsym.
35740 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35741 * Makeconfig (object-suffixes-noshared): New variable.
35742
35743 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35744 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35745 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35746 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35747
d6c33fda
RM
35748 [BZ #14132]
35749 * include/sys/time.h (__gettimeofday): Remove macro.
35750 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35751 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35752 Remove INTDEF.
35753 (__gettimeofday): Add libc_hidden_def.
35754 (gettimeofday): Add libc_hidden_weak.
35755 * sysdeps/mach/gettimeofday.c: Likewise.
35756 * sysdeps/posix/gettimeofday.c: Likewise.
35757 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35758 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35759 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35760 (__gettimeofday_internal): Remove strong_alias.
35761 (__gettimeofday): Add libc_hidden_def.
35762 (gettimeofday): Add libc_hidden_weak.
35763 * sysdeps/unix/syscalls.list (gettimeofday):
35764 Remove __gettimeofday_internal alias.
35765
b5a2bbe6
L
357662012-05-24 Daniel Jacobowitz <drow@false.org>
35767 H.J. Lu <hongjiu.lu@intel.com>
35768
35769 [BZ #12495]
35770 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35771 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35772 (largebin_index_32_big): New.
35773 (largebin_index): Use it for 16-byte alignment.
35774 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35775 correction with front_misalign.
35776
cfba4fda
L
357772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35778
7f907421
L
35779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35781 Likewise.
35782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35783 Likewise.
35784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35785 Likewise.
35786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35787 Likewise.
35788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35789 Likewise.
35790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35791 Likewise.
35792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35793 Likewise.
35794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35795 Likewise.
35796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35797 Likewise.
35798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35799 Likewise.
35800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35801 Likewise.
35802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35803 Likewise.
35804
cfba4fda
L
35805 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35806 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35807
80bad0cc
JM
358082012-05-24 Joseph Myers <joseph@codesourcery.com>
35809
7a25eb06
JM
35810 [BZ #10846]
35811 [BZ #14036]
35812 * math/libm-test.inc (exp_test): Add test from bug 14036.
35813 (pow_test): Add test from bug 10846.
35814
795405f9
JM
35815 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35816 and other flags.
35817 (special_function): Do not include flags in test name.
35818 (parse_args): Likewise.
35819 * sysdeps/i386/fpu/libm-test-ulps: Update.
35820 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35821 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35822 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35824
80bad0cc
JM
35825 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35826 exceptions.
35827 * math/libm-test.inc ("Philosophy"): Update comment about
35828 exception testing.
35829 (UNDERFLOW_EXCEPTION): New macro.
35830 (UNDERFLOW_EXCEPTION_OK): Likewise.
35831 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35832 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35833 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35834 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35835 (INVALID_EXCEPTION_OK): Update value.
35836 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35837 (OVERFLOW_EXCEPTION_OK): Likewise.
35838 (IGNORE_ZERO_INF_SIGN): Likewise.
35839 (test_exceptions): Handle underflow exceptions.
35840 (acos_test): Update for underflow exception expectations.
35841 (cexp_test): Likewise.
35842 (clog_test): Likewise.
35843 (clog10_test): Likewise.
35844 (csqrt_test): Likewise.
35845 (ctan_test): Likewise.
35846 (ctanh_test): Likewise.
35847 (exp_test): Likewise.
35848 (exp10_test): Likewise.
35849 (exp2_test): Likewise.
35850 (expm1_test): Likewise.
35851 (fma_test): Likewise.
35852 (j0_test): Likewise.
35853 (jn_test): Likewise.
35854 (nexttoward_test): Likewise.
35855 (pow_test): Likewise.
35856 (scalbn_test): Likewise.
35857 (scalbln_test): Likewise.
35858 (tan_test): Likewise.
35859 (y1_test): Likewise.
35860 * sysdeps/i386/fpu/libm-test-ulps: Update.
35861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35862
9e0e3d0b
DM
358632012-05-23 David S. Miller <davem@davemloft.net>
35864
35865 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35866 (__libc_sigaction): Remove unused local variables.
35867
ccd0a08f
L
358682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35869
35870 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35871
62bdf9a6
PE
358722012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35873
f8591f80
PE
35874 mktime: avoid signed integer overflow
35875 * time/mktime.c (__mktime_internal): Do not mishandle the case
35876 where diff == INT_MIN.
35877
94c7d826
PE
35878 mktime: simplify computation of average
35879 * time/mktime.c (ranged_convert): Use new time_t_avg function
35880 instead of rolling our own (probably-slower) code.
35881
ce73d683
PE
35882 mktime: do not assume signed right shift propagates sign bit
35883 * time/mktime.c (isdst_differ): New static function.
35884 (__mktime_internal): No need to normalize tm_isdst now.
35885 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35886 tm_isdst values.
35887
72a22e59
PE
35888 mktime: merge another wrapv change from gnulib
35889 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35890 from some compilers.
35891
68605433
PE
35892 mktime: remove incorrect attempt at unusual arithmetics
35893 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35894 The code didn't really work on such machines anyway.
35895 (TYPE_MINIMUM): Assume two's complement.
35896 (twos_complement_arithmetic): Verify that long_int and time_t
35897 are two's complement (or unsigned, in the latter case).
35898
03cf7fe3
PE
35899 mktime: check signed shifts on long_int and time_t, too
35900 * time/mktime.c (SHR): Check that shifts work as desired
35901 on the types long_int and time_t too, as SHR is used on
35902 such types.
35903
f04dfbc2
PE
35904 mktime: do not assume 'long' is wide enough
35905 * time/mktime.c (verify): Move decl up.
35906 (long_int): New type.
35907 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35908 to remove assumption in the code that 'long' is wide enough to
35909 store year values. This assumption is not true on x32 and on
35910 some non-glibc platforms.
35911
62bdf9a6
PE
35912 mktime: merge wrapv change from gnulib
35913 * time/mktime.c (WRAPV): New macro.
35914 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35915 (guess_time_tm, __mktime_internal): Do not assume that signed
35916 integer overflow wraps around; modern compilers generate code
35917 where this assumption is no longer valid.
35918
5e292e4f
L
359192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35920
35921 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35922 Replace "jmp L(pseudo_end)" with "ret".
35923 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35924 Likewise.
35925
8caf8c87
AJ
359262012-05-23 Andreas Jaeger <aj@suse.de>
35927
35928 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35929 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35930
1a09dc56
AJ
359312012-05-23 Andreas Jaeger <aj@suse.de>
35932 Maximilian Attems <max@stro.at>
35933
35934 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35935 New macros.
35936
1c87aba0
L
359372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35938
35939 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35940 code so that pseudo_end is just ret and the stack pointer is
35941 correct also for static library in error case.
35942
40e45bd5
JM
359432012-05-23 Joseph Myers <joseph@codesourcery.com>
35944
c2670533
JM
35945 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35946 move to syscalls.list.
35947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35951
40e45bd5
JM
35952 * manual/install.texi (Running make install): Do not mention Linux
35953 kernel version for which pt_chown is not needed.
35954 (Linux): Do not mention problems with nscd with 2.0 kernels.
35955 * INSTALL: Regenerated.
35956
be08eda5
AJ
359572012-05-23 Andreas Jaeger <aj@suse.de>
35958
35959 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35960 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35961 macro.
35962 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35963 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35964 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35965 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35966 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35967 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35968 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35969 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35970 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35971 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35972 * sysdeps/unix/sysv/linux/bits/in.h
35973 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35974
a6a056bb
RM
359752012-05-22 Roland McGrath <roland@hack.frob.com>
35976
35977 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35978 (PREPARE_VERSION): Just use assert instead, it will be elided
35979 under [NDEBUG] anyway.
35980
c9009328
L
359812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35982
35983 * sysdeps/unix/sysv/linux/Makefile: Include
35984 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 35985 (sysdep_routines): Remove sysctl.
c9009328
L
35986 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35987 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35988 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35989 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35990 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35991
73338355
AJ
359922012-05-22 Andreas Jaeger <aj@suse.de>
35993
35994 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35995 that pseudo_end is just ret and the stack pointer is correct also
35996 for static library in error case.
35997
d44638b0
PP
359982012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35999
36000 [BZ #14122]
36001 * nss/nsswitch.c (defconfig_entries): New variable.
36002 (__nss_database_lookup): Don't leak defconfig entries.
36003 (nss_parse_service_list): Don't leak on error paths.
36004 (free_database_entries): New function.
36005 (free_defconfig): New function.
36006 (free_mem): Move common code to free_database_entries.
36007
31a39bd8
L
360082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36009
da0331a8
L
36010 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36011 Add arch_prctl.
36012 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36013
31a39bd8
L
36014 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36015 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36017 New macro.
36018 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36019 (INTERNAL_SYSCALL_TYPES): Likewise.
36020 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36021 (LOAD_REGS_TYPES_[1-6]): Likewise.
36022 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36023 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36024
45470df3
AZ
360252012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36026
36027 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36028 copysignl for GLIBC_2_0.
36029 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36030 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36032 logbl for GLIBC_2_0.
36033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36034 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36035
98a61bcb
L
360362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36037
a4f6e481
L
36038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36039 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36040
f63d5db6
L
36041 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36042 Use "neg %eax".
36043
98a61bcb
L
36044 * time/mktime.c: Update copyright years.
36045
95770f14
PE
360462012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36047
6226efbd
PE
36048 mktime: merge comment-quoting-style change from gnulib
36049 * time/mktime.c: Quote 'like this' in comments.
36050 The GNU coding standards suggest that we no longer quote `like this',
36051 as "`" and "'" are typically rendered asymmetrically nowadays.
36052 The typical gnulib style is to quote 'like this' when quoting
36053 code, and "like this" when quoting English.
36054
b99e4f78
PE
36055 * time/mktime.c (compile-command): Add "-I.".
36056
643e01e6
PE
36057 mktime: merge mktime-internal.h change from gnulib
36058 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36059
2554247d
PE
36060 mktime: merge time_r change from gnulib
36061 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36062
826dd0ab
PE
36063 mktime: merge DEBUG change from gnulib
36064 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36065 case system <time.h> has a #define.
36066
bd83aabe
PE
36067 mktime: merge <sys/types.h> change from gnulib
36068 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36069 since <time.t> is now guaranteed to define time_t.
36070
95770f14
PE
36071 mktime: merge HAVE_CONFIG_H change from gnulib
36072 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36073
5e1a27a9
L
360742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36075
0e44a77e
L
36076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36077 Use "neg %eax".
36078
5e1a27a9
L
36079 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36080 __rlim_t cast.
36081 (struct rusage): Use anonymous union to pad each field to
36082 __syscall_slong_t.
36083
46259bec
DM
360842012-05-21 David S. Miller <davem@davemloft.net>
36085
36086 * Makefules (o-iterator): Remove .s cases.
36087 (compile-command.s): Delete.
36088 (COMPILE.s): Delete.
36089 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36090
59f0c22e
JM
360912012-05-21 Joseph Myers <joseph@codesourcery.com>
36092
36093 * configure.in (libc_cv_predef_stack_protector): Only consider
36094 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36095 * configure: Regenerated.
36096
20c07380
L
360972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36098
bbb3154b
L
36099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36100 New macro. Use R*LP on int and pointer.
36101 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
36102 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36103 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
36104 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36105
20c07380
L
36106 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36107 [__WORDSIZE_TIME64_COMPAT32] instead of
36108 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36109 (struct utmp): Likewise.
36110 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36111 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36112 Renamed to ...
36113 (__WORDSIZE_TIME64_COMPAT32): This.
36114 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36115 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36116 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36117 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36118 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36119 (__WORDSIZE_TIME64_COMPAT32): New macro.
36120
d8d1017e
AJ
361212012-05-21 Andreas Jaeger <aj@suse.de>
36122
36123 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36124 only if [SHARED]. Add prototype for __wcschr_ia32.
36125
6c7fb145
RM
361262012-05-21 Roland McGrath <roland@hack.frob.com>
36127
36128 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36129 of %rbp unmolested in the jmp_buf while mangling the low bits.
36130 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36131 unmolested high bits of %rbp while demangling the low bits.
36132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36133
66274218
AJ
361342012-05-21 Andreas Jaeger <aj@suse.de>
36135
07c58f8f
AJ
36136 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36137 * sunrpc/svc_simple.c: Use it for registerrpc.
36138 * sunrpc/xcrypt.c: Use it for passwd2des.
36139
66274218
AJ
36140 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36141
61f65140
L
361422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36143
36144 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36145 Don't define if [__SYSCALL_WORDSIZE != 32].
36146 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36147 New macro.
36148
5fefb436
AJ
361492012-05-21 Bruno Haible <bruno@clisp.org>
36150 Andreas Jaeger <aj@suse.de>
36151
36152 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36153 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36154 inptr and inend for must_buffer_ch.
36155 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36156 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36157 * stdio-common/Makefile (tests): Remove bug15.
36158 (bug15-ENV): Remove macro.
36159 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36160 anymore.
36161
d8e272ab
AJ
361622012-05-19 Andreas Jaeger <aj@suse.de>
36163 Roland McGrath <roland@hack.frob.com>
36164
36165 * manual/contrib.texi: Completely rewritten. It contains now an
36166 alphabetical list of contributors and their contributions.
36167
4a56a162
RH
361682012-05-21 Richard Henderson <rth@twiddle.net>
36169
36170 * misc/getauxval.c (__getauxval): Use unsigned long int.
36171 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36172 (getauxval): Use unsigned long int.
36173
d024d23c
L
361742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36175
36176 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36177
cbc00a03
RM
361782012-05-21 Roland McGrath <roland@hack.frob.com>
36179
36180 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36181 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36182 __alignof__ (long double).
36183
478143fa
AZ
361842012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36185
36186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36187
c7683a6d
RH
361882012-05-20 Richard Henderson <rth@twiddle.net>
36189
36190 * misc/getauxval.c: New file.
36191 * misc/sys/auxv.h: New file.
36192 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36193 (routines): Add getauxval.
36194 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36195 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36196 * elf/dl-sysdep.c (_dl_auxv): Remove.
36197 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36198 * elf/dl-support.c (_dl_auxv): New variable.
36199 (_dl_aux_init): Initialize it.
36200 * manual/startup.texi (Auxiliary Vector): New node.
36201 * sysdeps/generic/bits/hwcap.h: New file.
36202 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36203 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36204 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36205 * sysdeps/sparc/sysdep.h: ... here. Include it.
36206 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36207 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
36208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36209 Update.
c7683a6d
RH
36210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36218
a6f1845d
AZ
362192012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36220
36221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36222
cbcbe830
DM
362232012-05-19 David S. Miller <davem@davemloft.net>
36224
36225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36226
e0b16cc2
JM
362272012-05-19 Joseph Myers <joseph@codesourcery.com>
36228
36229 [BZ #14123]
36230 * math/s_ccosh.c: Include <float.h>
36231 (__ccosh): Avoid internal overflow calculating sinh and cosh
36232 values before multiplying by sin and cos values.
36233 * math/s_ccoshf.c: Likewise.
36234 * math/s_ccoshl.c: Likewise.
36235 * math/s_csin.c: Likewise.
36236 * math/s_csinf.c: Likewise.
36237 * math/s_csinl.c: Likewise.
36238 * math/s_csinh.c: Likewise.
36239 * math/s_csinhf.c: Likewise.
36240 * math/s_csinhl.c: Likewise.
36241 * math/libm-test.inc (ccos_test): Add more tests.
36242 (ccosh_test): Likewise.
36243 (csin_test): Likewise.
36244 (csinh_test): Likewise.
36245 * sysdeps/i386/fpu/libm-test-ulps: Update.
36246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36247
6ad13e08
L
362482012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36249
f66f0ce8
L
36250 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36251 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36252
6ad13e08
L
36253 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36254
b1d072a7
JM
362552012-05-19 Joseph Myers <joseph@codesourcery.com>
36256
36257 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36258 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36259 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36260 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36261 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36262 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36263 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36264 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36265 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36266 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36267 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36268 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36269 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36270 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36271 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36272 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36273 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36274 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36275 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36276 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36277 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36278 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36279 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36280 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36281 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36282 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36283 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36284 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36285 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36286 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36287 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36288
9eae47cb
AJ
362892012-05-18 Andreas Jaeger <aj@suse.de>
36290
36291 * csu/.gitignore: Delete.
36292
bb07f69f
L
362932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36294
36295 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36296 (timex): Use __syscall_slong_t.
36297
e6bdb741
AJ
362982012-05-18 Andreas Jaeger <aj@suse.de>
36299 Carlos O'Donell <carlos_odonell@mentor.com>
36300
36301 * manual/install.texi (Configuring and compiling): Update
36302 description about files modified in the source directory.
d6c33fda 36303 * INSTALL: Regenerated.
e6bdb741 36304
1b74487e
L
363052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36306
36307 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36308 value. Use "or" to set return value to -1.
36309 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36310 negate return value.
36311
a88b64b9
TMQMF
363122012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36313
57f41c40
AS
36314 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36315 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
36316 failure if the compiler has Graphite support disabled.
36317 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36318 Likewise.
57f41c40
AS
36319 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36320 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
36321 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36322 Likewise.
36323
3707636e
L
363242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36325
610b8622
L
36326 * sysdeps/x86_64/x32/_itoa.h: New file.
36327
7cd195df
L
36328 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36329 getdents system call only if kernel and user dirents have the
36330 same d_ino and d_off.
36331
94b07d20
L
36332 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36333 LLONG_MAX != LONG_MAX.
36334 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36335 (_fitoa_word): Likewise.
36336
18298070
L
36337 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36338 years.
36339 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36340 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36341 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36342
553c7ea4
L
36343 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36344 include <bits/wordsize.h>. Check __x86_64__ instead of
36345 __WORDSIZE.
36346 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36347 if __x86_64__ is defined. Use anonymous union on fpstate.
36348
3707636e
L
36349 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36350 anonymous union.
36351
b53ef01a
AS
363522012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36353
37fb1dc0
AS
36354 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36355 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36356 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36357 Refer to _rtld_local_ro instead of _rtld_global_ro.
36358 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36359 Likewise.
36360 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36361 Likewise.
36362 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36363 Likewise.
36364 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36365 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36366 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36367
b53ef01a
AS
36368 * sysdeps/powerpc/powerpc32/dl-machine.c
36369 (__elf_machine_runtime_setup) [PROF]: Don't reference
36370 _dl_prof_resolve.
36371
7a185db2
AJ
363722012-05-18 Andreas Jaeger <aj@suse.de>
36373
36374 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36375 function only available for GCCs before 3.4 since GCC 3.4
36376 introduced a builtin.
36377 (lrint): Likewise.
36378 (llrintf): Likewise.
36379 (llrint): Likewise.
36380 (fmaxf): Likewise.
36381 (fmax): Likewise.
36382 (fminf): Likewise.
36383 (fmin): Likewise.
36384 (rint): Likewise.
36385 (rintf): Likewise.
36386 (nearbyint): Likewise.
36387 (nearbyintf): Likewise.
36388 (ceil): Likewise.
36389 (ceilf): Likewise.
36390 (floor): Likewise.
36391 (floorf): Likewise.
36392
3e5aef87
L
363932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36394
428bd707
L
36395 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36396 on both fields and cast pointer to __syscall_ulong_t.
36397
3e5aef87
L
36398 * bits/types.h (__fsword_t): New type.
36399 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36400 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36402 (__FSWORD_T_TYPE): Likewise.
36403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36404 (__FSWORD_T_TYPE): Likewise.
36405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36406 (__FSWORD_T_TYPE): Likewise.
36407 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36408 (__FSWORD_T_TYPE): Likewise.
36409 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36410 __SWORD_TYPE with __fsword_t.
36411 (statfs64): Likewise.
36412
1ba7c3dc
DM
364132012-05-17 David S. Miller <davem@davemloft.net>
36414
36415 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36416
59910343
AJ
364172012-05-17 Andreas Jaeger <aj@suse.de>
36418
36419 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36420 warning.
36421
2e4c1e9e
L
364222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36423
36424 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36425
de7f5ce7
AJ
364262012-05-17 Andreas Jaeger <aj@suse.de>
36427
36428 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36429 when it is used.
36430
286abc3d
CM
364312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36432
36433 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36434
477cc68e
L
364352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36436
36437 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36438 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36439
1a0994f5
CD
364402012-05-17 Andreas Jaeger <aj@suse.de>
36441 Carlos O'Donell <carlos_odonell@mentor.com>
36442
36443 [BZ #14059]
36444 * sysdeps/x86_64/multiarch/init-arch.h
36445 (bit_YMM_Usable): Rename to...
36446 (bit_AVX_Usable): ... this.
36447 (bit_FMA4_Usable): New macro.
36448 (bit_XMM_state): New macro.
36449 (bit_YMM_state): New macro.
36450 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36451 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36452 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36453 (CPUID_OSXSAVE): New macro.
36454 (CPUID_AVX): New macro.
36455 (CPUID_FMA4): New macro.
36456 (index_YMM_Usable): Rename to...
36457 (index_AVX_Usable): ... this.
36458 (HAS_AVX): Use HAS_ARCH_FEATURE.
36459 (HAS_FMA4): Likewise.
36460 (HAS_YMM_USABLE): Remove.
36461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36462 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36463 are present.
36464 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36465 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36466 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36467 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36468 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36469
0af797de
CM
364702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36471
36472 * math/libm-test.c: Support platforms without multiple rounding modes.
36473 * math/bug-nextafter.c: Support platforms without FP exceptions.
36474 * math/bug-nexttoward.c: Likewise.
36475 * math/test-fenv.c: Likewise.
36476 * math/test-misc.c: Likewise.
36477 * stdlib/bug-getcontext.c: Likewise.
36478
e39745ff
AJ
364792012-05-17 Andreas Jaeger <aj@suse.de>
36480
36481 * manual/examples/search.c (critter_cmp): Change signature to
36482 avoid warnings.
36483 * manual/string.texi (Collation Functions): Likewise.
36484
48970aba
L
364852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36486
36487 * bits/types.h: Fold copyright years.
36488 * bits/typesizes.h: Likewise.
36489 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36492 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36493 * time/time.h: Likewise.
36494
bedee953
PP
364952012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36496
36497 [BZ #208]
36498 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36499 in instead of returning them. Return void.
36500 (__libc_mallinfo): Accumulate over all arenas.
36501 (__malloc_stats): Adjust for change in int_mallinfo interface.
36502
61653dfb
RM
365032012-05-16 Roland McGrath <roland@hack.frob.com>
36504
30b99d79
RM
36505 [BZ #10375]
36506 * configure.in (NM): Add AC_CHECK_TOOL for it.
36507 (libc_extra_cflags): New substituted variable.
36508 Check for -fstack-protector being used implicitly.
36509 * configure: Regenerated.
36510 * config.make.in (config-extra-cflags): New variable,
36511 gets @libc_extra_cflags@.
36512 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36513
61653dfb
RM
36514 [BZ #10375]
36515 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36516 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36517 * configure: Regenerated.
36518 * config.make.in (CPPUNDEFS): New substituted variable.
36519 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36520 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36521 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36522
661768bb
L
365232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36524
36525 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36526 (mq_attr): Use __syscall_slong_t.
36527
d4261567
L
365282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36529
36530 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36531 Check __x86_64__ instead of __WORDSIZE.
36532 (_STAT_VER_LINUX): Likewise.
36533 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36534 __syscall_ulong_t and __syscall_slong_t.
36535 (stat64): Likewise.
36536
cf3ff365
L
365372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36538
36539 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36540
76cf3e4d
L
365412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36542
36543 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36544
a637753a
L
365452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36546
36547 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36548 __syscall_ulong_t.
36549
d5e05119
L
36550 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36551 include <bits/wordsize.h>. Check __x86_64__ instead of
36552 __WORDSIZE.
36553 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36554 defined.
36555 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36556
f62ee380
L
36557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36558 include <bits/wordsize.h>. Check __x86_64__ instead of
36559 __WORDSIZE.
36560 (user_regs_struct): Use "__extension__ unsigned long long"
36561 instead of "unsigned long" if __x86_64__ is defined.
36562 (user): Likewise. Pad after pointer field if __ILP32__ is
36563 defined.
36564
4e124ced
JM
365652012-05-16 Joseph Myers <joseph@codesourcery.com>
36566
6a3951a0
JM
36567 * configure.in (makeinfo): Require version 4.5 or later. Allow
36568 versions 5 to 9.
36569 * configure: Regenerated.
36570 * manual/install.texi (texinfo): Increase version requirement to
36571 4.5 or later.
36572 * INSTALL: Regenerated.
36573
4e124ced
JM
36574 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36575
953ca31a
L
365762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36577
36578 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36579
617aca05
L
36580 * sysdeps/x86_64/x32/ffs.c: New file.
36581
5762f7ae
L
36582 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36583 __syscall_ulong_t.
36584 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36585 defined. Use __syscall_ulong_t.
36586 (shminfo): Use __syscall_ulong_t.
36587 (shm_info): Likewise.
36588
a26b6856
L
36589 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36590 __syscall_ulong_t.
36591
cb2b9ef7
L
36592 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36593 <bits/wordsize.h>.
36594 (msgqnum_t): Use __syscall_ulong_t.
36595 (msglen_t): Likewise.
36596 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36597 __syscall_ulong_t.
36598
34683bb0
L
36599 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36600 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36601
84a68786
L
36602 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36603
48baa5f1
L
36604 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36605 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36606
180be88b
L
36607 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36608 __syscall_slong_t.
36609
5e90c8ad
L
36610 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36611 include <bits/wordsize.h>. Check __x86_64__ instead of
36612 __WORDSIZE.
36613
23dfb58b
L
36614 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36615 "unsigned long long int" if __x86_64__ is defined.
36616 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36617
ce5d54b0
L
36618 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36619 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36620 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36621
13dc9eac
L
36622 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36623 <stdint.h>.
36624 (GET_PC): Cast to uintptr_t first.
36625 (GET_FRAME): Likewise.
36626 (GET_STACK): Likewise.
36627
a7895d15
L
36628 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36629 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36630 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36631 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36632 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36633 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36634 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36635 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36636 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36637 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36638 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36639 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36640 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36641 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36642 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36643 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36644 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36645 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36646 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36647 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36648 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36649 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36650 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36651 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36652 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36653 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36654 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36655 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36656 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36657
656416c9
AS
366582012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36659
5bd66283
AS
36660 * Makerules (+depfiles): Also collect depfiles from .oS in
36661 $(extra-objs).
36662 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36663 .oS, $(libnldbl-routines)).
36664
656416c9
AS
36665 * Makerules (native-compile-mkdep-flags): Define.
36666 * sunrpc/Makefile (extra-objs): Add $(addprefix
36667 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36668 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36669 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36670 calling $(make-target-directory).
36671
a46f2169
L
366722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36673
36674 * bits/types.h (__snseconds_t): Removed.
36675 * time/time.h (struct timespec): Replace __snseconds_t with
36676 __syscall_slong_t.
36677 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36678 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36679 Likewise.
36680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36681 (__SNSECONDS_T_TYPE): Likewise.
36682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36683 (__SNSECONDS_T_TYPE): Likewise.
36684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36685 (__SNSECONDS_T_TYPE): Likewise.
36686
6af6528b
L
366872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36688
36689 * sysdeps/mach/hurd/bits/typesizes.h
36690 (__SYSCALL_SLONG_TYPE): New macro.
36691 (__SYSCALL_ULONG_TYPE): Likewise.
36692
de986b56
L
366932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36694
36695 * bits/types.h (__syscall_slong_t): New type.
36696 (__syscall_ulong_t): Likewise.
36697
36698 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36699 (__SYSCALL_ULONG_TYPE): Likewise.
36700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36701 (__SYSCALL_SLONG_TYPE): Likewise.
36702 (__SYSCALL_ULONG_TYPE): Likewise.
36703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36704 (__SYSCALL_SLONG_TYPE): Likewise.
36705 (__SYSCALL_ULONG_TYPE): Likewise.
36706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36707 (__SYSCALL_SLONG_TYPE): Likewise.
36708 (__SYSCALL_ULONG_TYPE): Likewise.
36709
85736dc7
L
367102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36711
36712 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36713 Add sigaltstack-offsets.sym.
36714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36715 <sigaltstack-offsets.h>.
36716 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36717 longjmp_msg pointer.
36718 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36719 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36720 signal stack.
36721 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36722
cc03b296
JM
367232012-05-15 Joseph Myers <joseph@codesourcery.com>
36724
a9538892
JM
36725 * elf/stackguard-macros.h: Remove file.
36726 * sysdeps/generic/stackguard-macros.h: New file.
36727 * sysdeps/i386/stackguard-macros.h: Likewise.
36728 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36729 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36730 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36731 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36732 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36733 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36734 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36735 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36736 <elf/stackguard-macros.h>.
36737
cc03b296
JM
36738 [BZ #14109]
36739 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36740 __aligned__ in attribute.
36741 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36742 (gregset_t): Likewise.
36743
93171016
L
367442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36745
36746 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36747 * sysdeps/x86_64/64/Implies-after: Here. New file.
36748 * sysdeps/x86_64/x32/Implies-after: New file.
36749
d86813a0
L
367502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36751
36752 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36753 and access return value for _dl_profile_fixup. Use R10_LP to
36754 load frame size.
36755
2953ec75
L
367562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36757
36758 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36759
3b550e9e
L
367602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36761
36762 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36763 * sysdeps/x86_64/x32/sysdep.h: New file.
36764
eda41706
L
367652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36766
36767 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36768 * sysdeps/x86_64/setjmp.S: Likewise.
36769
9ea01d93
AZ
367702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36771
36772 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36773 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36774 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36775 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36776 remove unused global constant.
36777
02a91938
CM
367782012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36779
36780 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36781 include of <not-cancel.h>.
36782
6540185f
RM
367832012-05-15 Roland McGrath <roland@hack.frob.com>
36784
36785 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36786
509072a0
AJ
367872012-05-15 Jeff Law <law@redhat.com>
36788 Andreas Jaeger <aj@suse.de>
36789
36790 [BZ #13594]
36791 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36792 out from...
36793 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36794 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36795 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36796 code changing __hst_map_handle.map.
36797
ba75122d
RM
367982012-05-15 Roland McGrath <roland@hack.frob.com>
36799
36800 * configure.in (sysnames): Look for Implies-before and Implies-after
36801 files.
36802 * configure: Regenerated.
36803
890d8bd8
L
368042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36805
36806 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36807 8-byte data alignment with LP_SIZE alignment.
36808
f6ee6623
L
368092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36810
36811 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36812 into R10_LP.
36813
ea2626f6
L
368142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36815
36816 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36817
085f715e
L
368182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36819
36820 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36821 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36822 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36823 Likewise.
36824 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36825
be8498fc
L
368262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36827
36828 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36829 (stackinfo_sub_sp): Likewise.
36830
70bc83b9
L
368312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36832
36833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36834 RAX_LP.
36835
9bc0b730
L
368362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36837
36838 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36839 into R*_LP.
36840
6d2850e7
L
368412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36842
36843 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36844 sizes into R*_LP.
36845
3cb84561
L
368462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36847
36848 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36849
54e2ed81
L
368502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36851
36852 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36853 into R11_LP and load __x86_64_shared_cache_size_half into
36854 R8_LP.
36855
8a17f349
L
368562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36857
36858 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36859 R8_LP.
36860
777b1eea
AZ
368612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36862
36863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36864 logb for POWER7.
36865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36866 logbf for POWER7.
36867 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36868 logbl for POWER7.
36869 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36870 powerpc32/power7/fpu/s_logb.c via #include.
36871 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36872 powerpc32/power7/fpu/s_logbf.c via #include.
36873 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36874 powerpc32/power7/fpu/s_logbl.c via #include.
36875
d20d4ac2
JM
368762012-05-15 Joseph Myers <joseph@codesourcery.com>
36877
36878 * README.libm: Remove file.
36879
6cdef1ab
L
368802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36881
36882 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36883 count for x32. Use R*_LP and omit operand-size suffix.
36884
0b254d8f
L
368852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36886
36887 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36888 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36889 * sysdeps/x86_64/x32/shlib-versions: New file.
36890
ceb809dc
RM
368912012-05-14 Roland McGrath <roland@hack.frob.com>
36892
36893 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36894 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36895 Use _dl_fatal_printf instead.
36896
37f1abd4
JM
368972012-05-14 Joseph Myers <joseph@codesourcery.com>
36898
36899 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36900 set if not set by the user. Do not allow for being unset.
36901 * sysdeps/unix/sysv/linux/configure: Regenerated.
36902
11de3a33
L
369032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36904
36905 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36906 the `q' suffix from lea and replace .quad with ASM_ADDR.
36907
e02f153a
L
369082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36909
36910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36911 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36912 instead of $17.
36913 (PTR_DEMANGLE): Likewise.
36914
520ae0fd
L
369152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36916
36917 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36918 (LP_OP): Likewise.
36919 (ASM_ADDR): Likewise.
36920 (RAX_LP): Likewise.
36921 (RBP_LP): Likewise.
36922 (RBX_LP): Likewise.
36923 (RCX_LP): Likewise.
36924 (RDI_LP): Likewise.
36925 (RSI_LP): Likewise.
36926 (RSP_LP): Likewise.
36927 (R8_LP): Likewise.
36928 (R9_LP): Likewise.
36929 (R10_LP): Likewise.
36930 (R10_LP): Likewise.
36931 (R11_LP): Likewise.
36932 (R12_LP): Likewise.
36933 (R13_LP): Likewise.
36934 (R14_LP): Likewise.
36935 (R15_LP): Likewise.
36936
b985be81
L
369372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36938
36939 * sysdeps/x86_64/x32/dl-machine.h: New file.
36940
6a4888ff
AJ
369412012-05-14 Andreas Jaeger <aj@suse.de>
36942
36943 * manual/Makefile (subdir): Remove export of subdir.
36944 (all): Remove target.
36945 (.PHONY): Remove all from list.
36946 (mkinstalldirs): Remove.
36947 (.PHONY): Remove installdirs from list.
36948 ($(inst_infodir)/libc.info): Use make-target-directory.
36949 (installdirs): Remove.
36950 (subdir_%): Remove.
36951 (glibc-targets): Remove.
36952 (lib): Remove.
36953 (stubs): Remove.
36954 ($(objpfx)stubs ../po/manual.pot): Remove.
36955 ($(objpfx)stamp%): Remove.
36956 (make-target-directory): Remove.
36957 (subdir_install): Remove.
36958 (routines): Remove.
36959 (aux): Remove.
36960 (sources): Remove.
36961 (objects): Remove.
36962 (headers): Remove.
36963
36964 [BZ #13750]
36965 * manual/.gitignore: Remove, it's not needed anymore.
36966 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36967 all files in it.
36968 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36969 directory.
36970 (texis): Renamed to $(objpfx)texis.
36971 (texis-path): New, contains path to generated files.
36972 (chapters.%): Use texis-path for complete path, add extra argument
36973 libc-texinfo.sh.
36974 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36975 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36976 (summary,texi, stamp-summary): Use complete path of
36977 files. Generate files in build dir.
36978 (dir-add.texi): Build in build dir.
36979 (libm-err.texi,stamp-libm-err): Likewise.
36980 (version.texi, stamp-version): Likewise.
36981 (.%c.texi): Likewise.
36982 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36983 (mostlyclean): Remove target.
36984 (realclean): Remove target.
36985 (generated): Add new variable with contents from mostlyclean and
36986 realclean, remove entries duplicated in common-mostlyclean, add
36987 stamp-libm-err and stamp-version.
36988 (generated-dirs): Add libc directory.
36989 ($(inst_infodir)/libc.info): Install files from build dir.
36990
36991 * manual/install.texi (Configuring and compiling): Adjust since
36992 the info files are not part of the tar ball anymore.
36993
7ac77294
AJ
369942012-05-14 Andreas Jaeger <aj@suse.de>
36995
36996 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36997 variable.
36998
ffb7875d
JM
369992012-05-14 Joseph Myers <joseph@codesourcery.com>
37000
37001 [BZ #13717]
37002 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37003 to 2.2.0 where earlier.
37004 * sysdeps/unix/sysv/linux/configure: Regenerated.
37005 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37006 Remove conditional code.
37007 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37008 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37009 Remove conditional code.
37010 [!__NR_lchown]: Likewise.
37011 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37012 [__NR_lchown]: Likewise.
37013 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37014 comment referencing __ASSUME_LCHOWN_SYSCALL.
37015 * sysdeps/unix/sysv/linux/i386/sigaction.c
37016 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37017 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37018 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37019 Remove conditional code.
37020 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37021 (__protocol_available): Remove #if 0 code.
37022 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37023 conditional code.
37024 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37025 * sysdeps/unix/sysv/linux/kernel-features.h
37026 (__ASSUME_GETCWD_SYSCALL): Don't define.
37027 (__ASSUME_REALTIME_SIGNALS): Likewise.
37028 (__ASSUME_PREAD_SYSCALL): Likewise.
37029 (__ASSUME_PWRITE_SYSCALL): Likewise.
37030 (__ASSUME_POLL_SYSCALL): Likewise.
37031 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37032 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37033 non-SPARC.
37034 (__ASSUME_SIOCGIFNAME): Don't define.
37035 (__ASSUME_MSG_NOSIGNAL): Likewise.
37036 (__ASSUME_SENDFILE): Define unconditionally.
37037 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37038 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37039 conditional code.
37040 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37041 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37042 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37043 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37044 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37045 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37046 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37048 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37051 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37054 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37057 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37060 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37061 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37063 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37064 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37066 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37069 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37070 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37071 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37072 Remove conditional code.
37073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37074 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37075 Remove conditional code.
37076 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37077 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37078 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37079 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37080 Remove conditional code.
37081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37082 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37083 Remove conditional code.
37084 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37085 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37086 Remove conditional code.
37087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37088 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37089 Remove conditional code.
37090 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37091 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37092 Remove conditional code.
37093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37094 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37095 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37096 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37097 * sysdeps/unix/sysv/linux/sigaction.c
37098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37100 * sysdeps/unix/sysv/linux/sigpending.c
37101 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37102 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37103 * sysdeps/unix/sysv/linux/sigprocmask.c
37104 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37105 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37106 * sysdeps/unix/sysv/linux/sigsuspend.c
37107 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37108 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37109 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37110 (__libc_missing_rt_sigs): Remove.
37111 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37112 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37113 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37114 Remove conditional code.
37115 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37116 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37117 return 1.
37118 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37119 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37120 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37121 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37122
1bfb7291
AJ
371232012-05-14 Andreas Jaeger <aj@suse.de>
37124
caae5a81
AJ
37125 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37126 it's not used in glibc.
37127 (__coshm1): Likewise.
37128 (__acosh1p): Likewise.
37129 (__sgn): Likewise.
37130
1bfb7291
AJ
37131 * manual/string.texi (Copying and Concatenation): Add missing
37132 variable in concat example.
37133 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37134
c044d724
L
371352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37136
144c5467 37137 [BZ #14103]
c044d724
L
37138 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37139 __builtin_clzl with __builtin_clzll.
37140
2523c62b
L
371412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37142
37143 [BZ #14104]
37144 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37145 libc_freeres_ptr.
37146
d7bb4c42
LD
371472012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37148
37149 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37150 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37151 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37152 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37153
9dc4e1fb
MF
371542012-05-14 Mike Frysinger <vapier@gentoo.org>
37155
37156 * NEWS: Update ia64 info.
37157
c7df0112
AS
371582012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37159
37160 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37161 used as bcopy.
37162
dc70356c
TS
371632012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37164
37165 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37166 * sysdeps/unix/syscalls.list (dup3): Likewise.
37167 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37168 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37169
9fb1a21f
L
371702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37171
37172 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37173 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37174
4822a2a5
L
371752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37176
37177 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37178 thread pointer.
37179 (TLS_IE): Use mov/add instead of movq/addq to load thread
37180 pointer.
37181 (TLS_GD_PREFIX): New.
37182 (TLS_GD): Use it.
37183
842b81d6
DM
371842012-05-11 David S. Miller <davem@davemloft.net>
37185
37186 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37187 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37188 (_FPU_SETCW): Likewise.
37189
1cf463cd
L
371902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37191
37192 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37193 is 32-byte aligned.
37194
60cc4a18
AS
371952012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37196
37197 [BZ #11837]
37198 * iconvdata/gb18030.c: Update tables.
37199 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37200 characters specially.
37201 (BODY for TO_LOOP): Add encoding of missing ranges.
37202
febb44a4
TS
372032012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37204
37205 [BZ #13673]
37206 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37207 * sysdeps/mach/hurd/dup3.c: Likewise.
37208 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37209 * sysdeps/powerpc/memmove.c:: Likewise.
37210
0a10fb9e
L
372112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37212
37213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37214 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37215
df8a552f
L
372162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37217
37218 * elf/elf.h (R_X86_64_RELATIVE64): New.
37219 (R_X86_64_NUM): Updated.
37220 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37221 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37222 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37223 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37224 tst-quad1pie tst-quad2pie
37225 (modules-names): Add tst-quadmod1 tst-quadmod2.
37226 ($(objpfx)tst-quad1): New dependency.
37227 ($(objpfx)tst-quad2): Likewise.
37228 ($(objpfx)tst-quad1pie): Likewise.
37229 ($(objpfx)tst-quad2pie): Likewise.
37230 * sysdeps/x86_64/tst-quad1.c: New file.
37231 * sysdeps/x86_64/tst-quad1pie.c: New file.
37232 * sysdeps/x86_64/tst-quad2.c: Likewise.
37233 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37234 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37235 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37236 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37237 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37238
f34d6f84
ST
372392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37240
f42d41d1
ST
37241 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37242 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37243 * streams/stropts.h (t_scalar_t): Define type.
37244
3c3571fc
ST
37245 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37246 (_PATH_PRESERVE): Set to "/var/lib".
37247 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37248
61f06bd3
ST
37249 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37250 instead of int.
37251
918d4d71
ST
37252 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37253 if __dir_mkfile succeeded.
37254
f34d6f84
ST
37255 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37256 checking for _hurd_dtablesize. Unlock it right after having
37257 finished _hurd_dtable allocation.
37258
10589b4a
TS
372592012-05-10 Thomas Schwinge <thomas@schwinge.name>
37260
674cdbc7
TS
37261 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37262 * sysdeps/mach/hurd/configure: Regenerated.
37263 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37264 special-casing to...
37265 * sysdeps/gnu/configure.in: ... this new file.
37266 * sysdeps/unix/sysv/linux/configure: Regenerated.
37267 * sysdeps/gnu/configure: New generated file.
37268
8e41b99f
TS
37269 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37270 for Linux: use nsec instead of usec, as well as:
37271 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37272 members of type struct timespec.
37273 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37274 New macros.
37275 (struct stat64): Likewise.
37276 (_STATBUF_ST_NSEC): New macro.
37277 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37278
10589b4a
TS
37279 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37280 __strtoul_internal rather than strtoul.
37281
63643c85
PT
372822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37283
37284 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37285 and reject them.
37286
3faebe6a
ST
372872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37288
37289 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37290 which preserves existing values.
37291 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37292
c6474b07
PT
372932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37294
37295 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37296 TIMEOUT values. Return EINVAL for NFDS values either negative or
37297 greater than FD_SETSIZE.
37298
1043890b
ST
372992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37300
37301 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37302 allocated, call __vm_protect to finish enabling the existing space, and
37303 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37304 allocate the remainder.
37305
37ed8b9b
PT
373062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37307
37308 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37309 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37310
db653660
ST
373112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37312
37ed8b9b
PT
37313 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37314 sysdeps/mach/hurd/readlink.c.
b29d4053 37315
db653660
ST
37316 * posix/tst-sysconf.c (posix_options): Only use
37317 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37318 _POSIX_SYNCHRONIZED_IO when they are defined
37319 * sysdeps/mach/hurd/bits/posix_opt.h:
37320 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37321 (_XOPEN_REALTIME): Undefine macro.
37322 (_XOPEN_REALTIME_THREADS): Undefine macro.
37323 (_XOPEN_SHM): Undefine macro.
37324 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37325 macro to -1.
37326 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37327 macro to -1.
37328 (_POSIX_ASYNC_IO): Undefine macro.
37329 (_POSIX_PRIORITIZED_IO): Undefine macro.
37330 (_POSIX_SPIN_LOCKS): Define macro to -1.
37331
ee16e894
ST
37332 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37333 SA_NODEFER, SA_RESETHAND.
37334 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37335 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37336 F_DUPFD_CLOEXEC.
37337
6103ae3b
TS
373382012-05-10 Thomas Schwinge <thomas@schwinge.name>
37339
37340 * elf/Makefile (pldd-modules): Define unconditionally.
37341
80b4e5f3
TS
373422012-05-10 Thomas Schwinge <thomas@schwinge.name>
37343
37344 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37345
edadcbd6
ST
373462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37347
37348 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37349 Return ENOENT when name is empty.
37350 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37351
80694780
TS
373522012-05-10 Thomas Schwinge <thomas@schwinge.name>
37353
1792c087
TS
37354 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37355
80694780
TS
37356 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37357
6b645f0d
ST
373582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37359
80694780
TS
37360 Fix mlock in all cases except non-readable pages.
37361 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37362 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 37363
6b645f0d
ST
37364 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37365 (__mkdir): When path is `/', just fail with EEXIST.
37366 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37367
e468f8a3
TS
373682012-05-10 Thomas Schwinge <thomas@schwinge.name>
37369
37370 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37371 <sys/uio.h> (for writev).
37372 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37373 and <sys/param.h> (for MIN).
37374
a4186cff
PT
373752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37376
37377 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37378 REQUESTED_TIME. Properly set the remaining time and return EINTR
37379 if interrupted.
37380
510bbf14
TS
373812012-05-10 Thomas Schwinge <thomas@schwinge.name>
37382
37383 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37384 Depend on against $(link-rpcuserlibs).
37385
5d5722e8
ST
373862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37387
a4186cff
PT
37388 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37389 (__libc_stack_end): Do not use attribute_relro.
37390 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37391 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 37392 to libthread-provided value.
a4186cff
PT
37393 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37394 attribute_relro.
5d5722e8 37395
37233df9
TS
373962012-05-10 Thomas Schwinge <thomas@schwinge.name>
37397
be971a2b
TS
37398 [BZ #3748]
37399 * bits/libc-lock.h (__libc_once_get): New macro.
37400 * sysdeps/mach/bits/libc-lock.h: Likewise.
37401 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37402 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37403 instead of using implementation details.
37404
37233df9
TS
37405 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37406 * libio/freopen.c: Likewise.
37407 * libio/freopen64.c: Likewise.
37408 * misc/syslog.c: Likewise.
37409 * nscd/connections.c: Likewise.
37410 * nscd/netgroupcache.c: Likewise.
37411 * sysdeps/posix/getcwd.c: Likewise.
37412
38de94a5
RM
374132012-05-10 Roland McGrath <roland@hack.frob.com>
37414
37415 * math/w_ilogbf.c: Add #include <limits.h>.
37416
67530489
ST
374172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37418
a4186cff 37419 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
37420 path instead of returning without unlocking.
37421
67530489
ST
37422 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37423 immediate-write ioctls.
37424 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37425
5aa3a74a
TS
374262012-05-10 Thomas Schwinge <thomas@schwinge.name>
37427
18bad2ae
TS
37428 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37429 __builtin_frame_address instead of making assumptions about the
37430 location of the return address relative to DATA. Force early load of
37431 the return address.
37432 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37433 __builtin_frame_address.
37434
5aa3a74a
TS
37435 dup3 for GNU Hurd.
37436 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37437 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37438 implement dup3 and do some further code clean-ups.
37439 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37440 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37441
ecd0de9a
ST
374422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37443
cd9fa985
ST
37444 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37445
a4186cff
PT
37446 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37447 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37448 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37449 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37450 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37451 d->port.lock.
802ca5a5 37452
a4186cff
PT
37453 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37454 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37455 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 37456
bcf55240
TS
374572012-05-10 Thomas Schwinge <thomas@schwinge.name>
37458
6960eb42
TS
37459 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37460 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37461 definitions.
37462
eb43375f
TS
37463 accept4 for GNU Hurd.
37464 * include/sys/socket.h (__libc_accept4): New prototype.
37465 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37466 to implement __libc_accept4.
37467 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37468 __libc_accept4.
37469 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37470
bcf55240
TS
37471 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37472 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37473 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37474 signal-defines.sym.
37475
6178c55b
ST
374762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37477
a4186cff 37478 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 37479
6f080c2f
TS
374802012-05-10 Thomas Schwinge <thomas@schwinge.name>
37481
37482 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37483 assertion on O_CLOEXEC flag.
37484 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37485 * hurd/intern-fd.c: Likewise.
37486 * hurd/port2fd.c: Likewise.
37487
bcfe3a54
ST
374882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37489
37490 [BZ #3906]
37491 * bits/in.h (IPV6_PKTINFO): Define new macro.
37492 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37493
89c9aa49
AZ
374942012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37495
37496 [BZ #13954]
37497 [BZ #13955]
37498 [BZ #13956]
37499 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37500 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37501 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37502 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37503 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37504 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37505 * math/libm-test.inc (logb_test) : Additional logb tests.
37506
021db4be
AJ
375072012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37508 Andreas Jaeger <aj@suse.de>
37509
37510 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37511 * configure: Regenerated.
37512 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37513 * config.make.in (link-obsolete-rpc): New substituted variable.
37514 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37515 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37516 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37517 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37518 so that libc.a contains the symbols.
37519 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37520 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37521 * sunrpc/auth_none.c: Likewise.
37522 * sunrpc/auth_unix.c: Likewise.
37523 * sunrpc/authdes_prot.c: Likewise.
37524 * sunrpc/authuxprot.c: Likewise.
37525 * sunrpc/clnt_gen.c: Likewise.
37526 * sunrpc/clnt_perr.c: Likewise.
37527 * sunrpc/clnt_raw.c: Likewise.
37528 * sunrpc/clnt_simp.c: Likewise.
37529 * sunrpc/clnt_tcp.c: Likewise.
37530 * sunrpc/clnt_udp.c: Likewise.
37531 * sunrpc/clnt_unix.c: Likewise.
37532 * sunrpc/des_crypt.c: Likewise.
37533 * sunrpc/des_soft.c: Likewise.
37534 * sunrpc/get_myaddr.c: Likewise.
37535 * sunrpc/key_call.c: Likewise.
37536 * sunrpc/key_prot.c: Likewise.
37537 * sunrpc/netname.c: Likewise.
37538 * sunrpc/pm_getmaps.c: Likewise.
37539 * sunrpc/pm_getport.c: Likewise.
37540 * sunrpc/pmap_clnt.c: Likewise.
37541 * sunrpc/pmap_prot.c: Likewise.
37542 * sunrpc/pmap_prot2.c: Likewise.
37543 * sunrpc/pmap_rmt.c: Likewise.
37544 * sunrpc/publickey.c: Likewise.
37545 * sunrpc/rpc_cmsg.c: Likewise.
37546 * sunrpc/rpc_common.c: Likewise.
37547 * sunrpc/rpc_dtable.c: Likewise.
37548 * sunrpc/rpc_prot.c: Likewise.
37549 * sunrpc/rpc_thread.c: Likewise.
37550 * sunrpc/rtime.c: Likewise.
37551 * sunrpc/svc.c: Likewise.
37552 * sunrpc/svc_auth.c: Likewise.
37553 * sunrpc/svc_raw.c: Likewise.
37554 * sunrpc/svc_run.c: Likewise.
37555 * sunrpc/svc_tcp.c: Likewise.
37556 * sunrpc/svc_udp.c: Likewise.
37557 * sunrpc/svc_unix.c: Likewise.
37558 * sunrpc/svcauth_des.c: Likewise.
37559 * sunrpc/xcrypt.c: Likewise.
37560 * sunrpc/xdr.c: Likewise.
37561 * sunrpc/xdr_array.c: Likewise.
37562 * sunrpc/xdr_float.c: Likewise.
37563 * sunrpc/xdr_intXX_t.c: Likewise.
37564 * sunrpc/xdr_mem.c: Likewise.
37565 * sunrpc/xdr_rec.c: Likewise.
37566 * sunrpc/xdr_ref.c: Likewise.
37567 * sunrpc/xdr_sizeof.c: Likewise.
37568 * sunrpc/xdr_stdio.c: Likewise.
37569
b5c086a2
RM
375702012-05-10 Roland McGrath <roland@hack.frob.com>
37571
37572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37573 change. Update copyright years.
37574
6d74dd09
JM
375752012-05-10 Joseph Myers <joseph@codesourcery.com>
37576
37577 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37578
28e72501
MK
375792012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37580 Joseph Myers <joseph@codesourcery.com>
37581 Paul Pluzhnikov <ppluzhnikov@google.com>
37582
37583 [BZ #14012]
37584 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37585 requiring rpcgen.
37586 [cross-compiling] (extra-libs): Likewise.
37587 [cross-compiling] (extra-libs-others): Likewise.
37588 [cross-compiling] (librpcsvc-routines): Likewise.
37589 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37590 [cross-compiling] (omit-deps): Likewise.
37591 (sunrpc-CPPFLAGS): New variable.
37592 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37593 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37594 (cross-rpcgen-objs): New variable.
37595 (extra-objs): Append $(cross-rpcgen-objs).
37596 ($(cross-rpcgen-objs)): New rule.
37597 ($(objpfx)cross-rpcgen): Likewise.
37598 (rpcgen-cmd): Define to use $(built-program-file). Expand
37599 comment.
37600 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37601 ($(objpfx)x%.stmp): Likewise.
37602 * sunrpc/proto.h [IS_IN_build] (_): Define.
37603 [IS_IN_build] (_libc_intl_domainname): Likewise.
37604
c8c59454
L
376052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37606
37607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37608 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37609 and R_X86_64_TPOFF64.
37610
6f27cd16
JM
376112012-05-10 Joseph Myers <joseph@codesourcery.com>
37612
37613 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37614 sysdeps/unix/sysv/syscalls.list.
37615 (stime): Likewise.
37616 (utime): Likewise.
37617 * sysdeps/unix/sysv/syscalls.list: Remove file.
37618
02467e1c
PE
376192012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37620
37621 [BZ #3440]
37622 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37623 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37624 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37625 (__LC_IDENTIFICATION): Make these macros useful in #if
37626 expressions, as required by C99.
37627
da392631
AS
376282012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37629
37630 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37631 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37632 after this.
37633
8115f29b
L
376342012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37635
37636 * stdlib/longlong.h: Updated from GCC.
37637
bdd74070
AJ
376382012-05-09 Andreas Jaeger <aj@suse.de>
37639
edfe0dbe
AJ
37640 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37641 default is first entry.
37642 (run_mode): Set type.
37643 (main): Remove informal message about syslog.
37644 (options): Fix typo.
37645
bcfe3a54
ST
37646 [BZ #14053]
37647 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 37648 to asm.
bcfe3a54
ST
37649 (lrint): Likewise.
37650 (llrintf): Likewise.
37651 (llrint): Likewise.
37652 (rint): Likewise.
37653 (rintf): Likewise.
37654 (nearbyint): Likewise.
37655 (nearbyintf): Likewise.
bdd74070 37656
91d8d69e
AJ
376572012-05-09 Andreas Jaeger <aj@suse.de>
37658 Pedro Alves <palves@redhat.com>
37659
37660 * nscd/nscd.c (run_mode): Use enum.
37661 (main): Cleanup coding style issue.
37662
bb90b80b
AJ
376632012-05-09 Alexandre Oliva <aoliva@redhat.com>
37664 Andreas Jaeger <aj@suse.de>
37665
bcfe3a54
ST
37666 * nscd/nscd.c (go_background): Replaced with...
37667 (run_mode): ... this.
bb90b80b 37668 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
37669 (options): Add -F --foreground.
37670 (main): Implement it.
37671 (parse_opt): Parse it.
bb90b80b 37672
1a4b75a1
AJ
376732012-05-09 Andreas Jaeger <aj@suse.de>
37674
37675 [BZ #14083]
37676 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37677 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37678 -Wconversion warning.
37679 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37680 Likewise.
37681
b1cc2472
JM
376822012-05-09 Joseph Myers <joseph@codesourcery.com>
37683
37684 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37685 == 0.
37686 (LC_ALL): Use macro-int-constant.
37687 (LC_COLLATE): Likewise.
37688 (LC_CTYPE): Likewise.
37689 (LC_MESSAGES): Likewise.
37690 (LC_MONETARY): Likewise.
37691 (LC_NUMERIC): Likewise.
37692 (LC_TIME): Likewise.
37693 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37694 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37696 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37697 Specify type.
37698 [C99-based standards] (float_t): Expect type.
37699 [C99-based standards] (double_t): Expect type.
37700 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37701 type.
37702 [C99-based standards] (HUGE_VALL): Likewise.
37703 [C99-based standards] (INFINITY): Likewise.
37704 [C99-based standards] (NAN): Likewise.
37705 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37706 [C99-based standards] (FP_NAN): Likewise.
37707 [C99-based standards] (FP_NORMAL): Likewise.
37708 [C99-based standards] (FP_SUBNORMAL): Likewise.
37709 [C99-based standards] (FP_ZERO): Likewise.
37710 [C99-based standards] (FP_FAST_FMA): Use
37711 optional-macro-int-constant. Specify type. Require == 1.
37712 [C99-based standards] (FP_FAST_FMAF): Likewise.
37713 [C99-based standards] (FP_FAST_FMAL): Likewise.
37714 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37715 [C99-based standards] (FP_ILOGBNAN): Likewise.
37716 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37717 Specify type.
37718 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37719 [C99-based standards] (math_errhandling): Specify type.
37720 [ISO99 || ISO11] (signgam): Do not allow.
37721 [non-C99-based standards] (copysignf): Do not allow.
37722 [non-C99-based standards] (exp2f): Likewise.
37723 [non-C99-based standards] (log2f): Likewise.
37724 [non-C99-based standards] (modff): Allow.
37725 [non-C99-based standards] (erff): Do not allow.
37726 [non-C99-based standards] (erfcf): Likewise.
37727 [non-C99-based standards] (gammaf): Likewise.
37728 [non-C99-based standards] (hypotf): Likewise.
37729 [non-C99-based standards] (j0f): Likewise.
37730 [non-C99-based standards] (j1f): Likewise.
37731 [non-C99-based standards] (jnf): Likewise.
37732 [non-C99-based standards] (lgammaf): Likewise.
37733 [non-C99-based standards] (tgammaf): Likewise.
37734 [non-C99-based standards] (y0f): Likewise.
37735 [non-C99-based standards] (y1f): Likewise.
37736 [non-C99-based standards] (ynf): Likewise.
37737 [non-C99-based standards] (isnanf): Likewise.
37738 [non-C99-based standards] (acoshf): Likewise.
37739 [non-C99-based standards] (asinhf): Likewise.
37740 [non-C99-based standards] (atanhf): Likewise.
37741 [non-C99-based standards] (cbrtf): Likewise.
37742 [non-C99-based standards] (expm1f): Likewise.
37743 [non-C99-based standards] (ilogbf): Likewise.
37744 [non-C99-based standards] (log1pf): Likewise.
37745 [non-C99-based standards] (logbf): Likewise.
37746 [non-C99-based standards] (nextafterf): Likewise.
37747 [non-C99-based standards] (remainderf): Likewise.
37748 [non-C99-based standards] (rintf): Likewise.
37749 [non-C99-based standards] (scalbf): Likewise.
37750 [non-C99-based standards] (copysignl): Likewise.
37751 [non-C99-based standards] (exp2l): Likewise.
37752 [non-C99-based standards] (log2l): Likewise.
37753 [non-C99-based standards] (modfl): Allow.
37754 [non-C99-based standards] (erfl): Do not allow.
37755 [non-C99-based standards] (erfcl): Likewise.
37756 [non-C99-based standards] (gammal): Likewise.
37757 [non-C99-based standards] (hypotl): Likewise.
37758 [non-C99-based standards] (j0l): Likewise.
37759 [non-C99-based standards] (j1l): Likewise.
37760 [non-C99-based standards] (jnl): Likewise.
37761 [non-C99-based standards] (lgammal): Likewise.
37762 [non-C99-based standards] (tgammal): Likewise.
37763 [non-C99-based standards] (y0l): Likewise.
37764 [non-C99-based standards] (y1l): Likewise.
37765 [non-C99-based standards] (ynl): Likewise.
37766 [non-C99-based standards] (isnanl): Likewise.
37767 [non-C99-based standards] (acoshl): Likewise.
37768 [non-C99-based standards] (asinhl): Likewise.
37769 [non-C99-based standards] (atanhl): Likewise.
37770 [non-C99-based standards] (cbrtl): Likewise.
37771 [non-C99-based standards] (expm1l): Likewise.
37772 [non-C99-based standards] (ilogbl): Likewise.
37773 [non-C99-based standards] (log1pl): Likewise.
37774 [non-C99-based standards] (logbl): Likewise.
37775 [non-C99-based standards] (nextafterl): Likewise.
37776 [non-C99-based standards] (remainderl): Likewise.
37777 [non-C99-based standards] (rintl): Likewise.
37778 [non-C99-based standards] (scalbl): Likewise.
37779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37780 [non-C99-based standards] (FP_*): Do not allow.
37781 [C99-based standards] (FP_*): Change to
37782 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37783 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37784 allow.
37785 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37786 (SIG_ERR): Likewise.
37787 [X/Open-based standards] (SIG_HOLD): Likewise.
37788 (SIG_IGN): Likewise.
37789 (SIGABRT): Use macro-int-constant. Specify type. Require
37790 positive value.
37791 (SIGFPE): Likewise.
37792 (SIGILL): Likewise.
37793 (SIGINT): Likewise.
37794 (SIGSEGV): Likewise.
37795 (SIGTER): Likewise.
37796 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37797 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37798 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37799 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37800 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37801 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37802 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37803 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37804 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37805 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37806 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37807 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37808 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37809 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37810 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37811 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37812 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37813 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37814 [X/Open-based standards] (SIGTRAP): Likewise.
37815 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37816 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37817 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37818 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37819 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37820 allow.
37821
b9f1922d
IW
378222012-05-08 Ian Wienand <ianw@vmware.com>
37823
37824 [BZ #14080]
37825 * time/tzset.c (__tzset_parse_tz): Update default rules for
37826 daylight time changes in the Energy Policy Act of 2005.
37827
1db86e88
AJ
378282012-05-09 Andreas Jaeger <aj@suse.de>
37829
37830 [BZ #13983]
37831 * elf/ldconfig.c (parse_conf): Change string to make clear that
37832 ldconfig only issued a warning if ld.so.conf does not exist.
37833
dee4a4e3
DM
378342012-05-08 David S. Miller <davem@davemloft.net>
37835
ee0db190
DM
37836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37837 movxtod instead of popping the value on the stack.
37838
dee4a4e3
DM
37839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37840
6a43ec98
CD
378412012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37842
37843 * config.h.in: Add HAVE_ARM_PCS_VFP.
37844
05c2c961
RMG
378452012-05-08 Roland Mc Grath <roland@hack.frob.com>
37846
bcfe3a54
ST
37847 [BZ #13979]
37848 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37849 checking but the checks are disabled for any reason.
05c2c961 37850
4b30f61a
L
378512012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37852
37853 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37854 and ELF64_R_TYPE with ELFW(R_TYPE).
37855
eee2bc67
JM
378562012-05-08 Joseph Myers <joseph@codesourcery.com>
37857
7ea5391a
JM
37858 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37859 (ulimit): Likewise.
37860
eee2bc67
JM
37861 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37862 (settimeofday): Likewise.
37863
abb66a67
MF
378642012-05-08 Mike Frysinger <vapier@gentoo.org>
37865
37866 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37867 a struct th_u2 inside the union, and move tu_block/tu_code into
37868 a new th_u3 union of tu_block/tu_code inside of that. Move
37869 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37870 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37871 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37872 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37873 (th_stuff): Change to th_u1.tu_stuff.
37874 (th_data): Define.
37875 (th_msg): Change to th_u1.th_u2.tu_data.
37876
7f18b530
DM
378772012-05-07 David S. Miller <davem@davemloft.net>
37878
05760585
DM
37879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37880
7f18b530
DM
37881 [BZ #14074]
37882 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37883 (SETUP_PIC_REG): Use it.
37884 (SETUP_PIC_REG_LEAF): Use it.
37885
495fd99f
JM
378862012-05-07 Joseph Myers <joseph@codesourcery.com>
37887
37888 [BZ #13885]
37889 [BZ #13923]
37890 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37891 USE_AS_EXPM1L.
37892 (EXPL_FINITE): Likewise.
37893 (FLDLOG): Likewise.
37894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37895 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37896 e_expl.S.
37897 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37898 USE_AS_EXPM1L.
37899 (EXPL_FINITE): Likewise.
37900 (FLDLOG): Likewise.
37901 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37902 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37903 e_expl.S.
37904 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37905 test of -max_value argument for long double.
37906 * sysdeps/i386/fpu/libm-test-ulps: Update.
37907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37908
6693d694
DM
379092012-05-06 David S. Miller <davem@davemloft.net>
37910
37911 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37912 quad soft-float symbols whose references which are compiler
37913 generated.
37914 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37915
6c23e11c
JM
379162012-05-06 Joseph Myers <joseph@codesourcery.com>
37917
d8b82cad
JM
37918 [BZ #13884]
37919 [BZ #13914]
37920 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37921 USE_AS_EXP10L.
37922 (EXPL_FINITE): Likewise.
37923 (FLDLOG): Likewise.
37924 (c0): Likewise.
37925 (c1): Likewise.
37926 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37927 Adjust comments for base varying.
37928 (__expl_finite): Change alias to EXPL_FINITE.
37929 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37930 e_expl.S.
37931 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37932 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37934 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37935 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37936 USE_AS_EXP10L.
37937 (EXPL_FINITE): Likewise.
37938 (FLDLOG): Likewise.
37939 (c0): Likewise.
37940 (c1): Likewise.
37941 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37942 Adjust comments for base varying.
37943 (__expl_finite): Change alias to EXPL_FINITE.
37944 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37945 tests for bugs.
37946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37947
6c23e11c
JM
37948 [BZ #14064]
37949 * math/libm-test.inc (check_float_internal): Correct ulp
37950 calculation for subnormal expected results.
37951
29ba805c
AJ
379522012-05-06 Andreas Jaeger <aj@suse.de>
37953
37954 * Makeconfig (+math-flags): New, set to -frounding-math.
37955 (+cflags): Add +math-flags so that all of glibc gets compiled with
37956 it.
37957
37958 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37959
7b17aeda
JM
379602012-05-05 Joseph Myers <joseph@codesourcery.com>
37961
5779f134
JM
37962 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37963 Disable one test.
37964
41498f4d
JM
37965 [BZ #13787]
37966 [BZ #13922]
37967 [BZ #14036]
37968 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37969 (__ieee754_expl): Allow for and saturate large arguments.
37970 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37971 (u_threshold): Likewise.
37972 (__exp): Call __ieee754_exp before checking for overflow and
37973 underflow.
37974 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37975 (u_threshold): Likewise.
37976 (__expf): Call __ieee754_expf before checking for overflow and
37977 underflow.
37978 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37979 (u_threshold): Likewise.
37980 (__expl): Call __ieee754_expl before checking for overflow and
37981 underflow.
37982 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37983 (__ieee754_expl): Allow for and saturate large arguments.
37984 * math/libm-test.inc (exp_test): Add another test. Do not allow
37985 missing overflow exception on overflow.
37986 (expm1_test): Do not allow missing overflow exception on overflow.
37987
6698b8bf
JM
37988 * sysdeps/i386/fpu/e_expl.c: Move to ...
37989 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37990 rather than using inline asm.
37991 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37992 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37993 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37994
7b17aeda
JM
37995 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37996 (nice): Likewise.
37997 (poll): Likewise.
37998 (signal): Likewise.
37999 (time): Likewise.
38000 (times): Likewise.
38001
f7c85819
JM
380022012-05-04 Joseph Myers <joseph@codesourcery.com>
38003
38004 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38005 sysdeps/unix/common/syscalls.list.
38006 (fchmod): Likewise.
38007 (fchown): Likewise.
38008 (ftruncate): Likewise.
38009 (getrusage): Likewise.
38010 (gettimeofday): Likewise.
38011 (setpgid): Likewise.
38012 (setregid): Likewise.
38013 (setreuid): Likewise.
38014 (sigaction): Likewise.
38015 (truncate): Likewise.
38016 (vhangup): Likewise.
38017 * sysdeps/unix/common/syscalls.list: Remove file.
38018 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38019 * sysdeps/unix/sysv/linux/Implies: Likewise.
38020
336270d0
L
380212012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38022
38023 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38025 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38026 Moved to ...
38027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38028 Here.
38029 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38030 to ...
38031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38032 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38033 to ...
38034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38035 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38036 to ...
38037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38038 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38039 to ...
38040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38041 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38042 to ...
38043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38044 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38045 to ...
38046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38047 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38048 to ...
38049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38050 Here.
38051 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38052 to ...
38053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38054 Here.
38055 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38056 to ...
38057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38058 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38059 Moved to ...
38060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38061 Here.
38062 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38063 to ...
38064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38065
d128e450
JM
380662012-05-04 Joseph Myers <joseph@codesourcery.com>
38067
fa8ee516
JM
38068 * sysdeps/unix/common/bits/dirent.h: Remove file.
38069 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38070
d128e450
JM
38071 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38072 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38073 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38074 * sysdeps/unix/bsd/isatty.c: Likewise.
38075 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38076 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38077 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38078
ff8faaf0 380792012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38080
62881be4 38081 [BZ #13563]
31dc8730
AZ
38082 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38083 long double comparison inaccuracies.
38084 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38086
6fef930c
AS
380872012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38088
38089 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38090 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38091
8f203e6c
JM
380922012-05-04 Joseph Myers <joseph@codesourcery.com>
38093
38094 [BZ #14049]
38095 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38096 nonzero digits before rounding a hex value.
38097 * stdlib/tst-strtod.c (tests): Add another test.
38098
5197d9c2
AK
380992012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38100
38101 * sysdeps/s390/fpu/libm-test-ulps: Update.
38102
f0c1dedf
AJ
381032012-05-03 Andreas Jaeger <aj@suse.de>
38104
38105 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38106 does not get optimized out.
38107 (malloc_opt_barrier): New.
38108
a65ef2ae 381092012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 38110 Roland McGrath <roland@hack.frob.com>
a65ef2ae 38111
2b942cb7 38112 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 38113 intermediate file deletion.
2b942cb7 38114 (generated): Add .symlist files.
a65ef2ae 38115
54b71e02
JM
381162012-05-03 Joseph Myers <joseph@codesourcery.com>
38117
38118 [BZ #13775]
38119 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38120 Redirect under this condition.
38121 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38122 [__USE_GNU] (__dprintf_chk): Not under this condition.
38123 [__USE_GNU] (__vdprintf_chk): Likewise.
38124 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38125 under this condition.
38126 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38127 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38128 [__USE_XOPEN2K8] (vdprintf): Likewise.
38129 [__USE_GNU] (__dprintf_chk): Not under this condition.
38130 [__USE_GNU] (__vdprintf_chk): Likewise.
38131 [__USE_GNU] (dprintf): Likewise.
38132 [__USE_GNU] (vdprintf): Likewise.
38133
d3dfcc41
RM
381342012-05-03 Roland McGrath <roland@hack.frob.com>
38135
38136 * elf/Makefile (common-generated): Set this instead of generated for
38137 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38138 $(all-built-dso)-derived lists.
38139
7ac30cc5
AJ
381402012-05-03 Andreas Jaeger <aj@suse.de>
38141
0c51e550
AJ
38142 * sysdeps/i386/fpu/libm-test-ulps: Update.
38143
7ac30cc5
AJ
38144 * FAQ: Removed.
38145 * FAQ.in: Likewise.
38146 * scripts/gen-FAQ.pl: Likewise.
38147 * manual/install.texi (Installation): Point to online location of
38148 FAQ.
38149 * Makefile (files-for-dist): Remove FAQ.
38150 (FAQ): Remove.
38151
d4c2917f
AM
381522012-05-02 Allan McRae <allan@archlinux.org>
38153
38154 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38155 (LDFLAGS-reldepmod5.so): Likewise.
38156 (LDFLAGS-reldep6mod1.so): Likewise.
38157 (LDFLAGS-reldep6mod4.so): Likewise.
38158 (LDFLAGS-reldep8mod3.so): Likewise.
38159 (LDFLAGS-unload4mod1.so): Likewise.
38160 (LDFLAGS-unload4mod2.so): Likewise.
38161 (LDFLAGS-tst-initorder): Likewise.
38162 (LDFLAGS-tst-initordera2.so): Likewise.
38163 (LDFLAGS-tst-initordera3.so): Likewise.
38164 (LDFLAGS-tst-initordera4.so): Likewise.
38165 (LDFLAGS-tst-initorderb2.so): Likewise.
38166 (LDFLAGS-noload): Likewise.
38167 (LDFLAGS-next): Likewise.
38168 (LDFLAGS-order2mod1.so): Likewise.
38169 (LDFLAGS-order2mod2.so): Likewise.
38170 (LDFLAGS-tst-initorder2): Likewise.
38171 (LDFLAGS-tst-initorder2a.so): Likewise.
38172 (LDFLAGS-tst-initorder2b.so): Likewise.
38173 (LDFLAGS-tst-initorder2c.so): Likewise.
38174 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38175
d77f993f
DM
381762012-05-02 David S. Miller <davem@davemloft.net>
38177
38178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38179
171a70b4
PP
381802012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38181
38182 [BZ #14055]
38183 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38184
0be196ad
AJ
381852012-05-02 Andreas Jaeger <aj@suse.de>
38186
38187 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38188 since we manipulate rounding mode.
38189 (CPPFLAGS-test-idouble.c): Likewise.
38190 (CPPFLAGS-test-ifloat.c): Likewise.
38191 (CFLAGS-test-ldouble.c): Likewise.
38192 (CFLAGS-test-double.c): Likewise.
38193 (CFLAGS-test-float.c): Likewise.
38194 (CFLAGS-test-misc.c): Likewise.
38195 (CFLAGS-test-test-fenv.c): Likewise.
38196
4f9d04aa
AZ
381972012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38198
2b942cb7
RM
38199 [BZ #2550]
38200 [BZ #2570]
38201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38202 comparisons to determine direction to adjust input.
4f9d04aa 38203
82a79e7d
RM
382042012-05-01 Roland McGrath <roland@hack.frob.com>
38205
f5a01ca9
RM
38206 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38207 output to the target.
38208
90fe4186
RM
38209 * scripts/localplt.awk: New file.
38210 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38211 (check-localplt-CFLAGS): Variable removed.
38212 ($(all-built-dso:=.jmprel)): New static pattern rule.
38213 (generated): Add those targets.
38214 (localplt-built-dso): New variable.
38215 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38216
38217 * elf/check-localplt.c: File removed.
38218
82397ed6
RM
38219 * scripts/check-execstack.awk: New file.
38220 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38221 (check-execstack-CFLAGS): Variable removed.
38222 ($(objpfx)check-execstack.h): Target removed.
38223 ($(objpfx)execstack-default): New target.
38224 (generated): Add that instead of check-execstack.h.
38225 ($(all-built-dso:=.phdr)): New static pattern rule.
38226 (generated): Add those targets.
38227 * elf/check-execstack.c: File removed.
38228
82a79e7d
RM
38229 * scripts/check-textrel.awk: New file.
38230 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38231 (check-textrel-CFLAGS): Variable removed.
38232 (all-built-dso): Use := to define.o
38233 ($(all-built-dso:=.dyn)): New static pattern rule.
38234 (generated): Add those targets.
38235 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38236 * config.make.in (READELF): New substituted variable.
38237 * elf/check-textrel.c: File removed.
38238
62fde54f 382392012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 38240
615605c9
JM
38241 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38242 allow.
38243 * conform/data/ctype.h-data [C99-based standards] (isblank):
38244 Expect function.
38245 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38246 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38248 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38249 Specify type. Require positive value.
38250 (EILSEQ): Likewise.
38251 (ERANGE): Likewise.
38252 [ISO || POSIX] (EILSEQ): Do not expect.
38253 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38254 Specify type. Require positive value.
38255 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38256 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38257 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38258 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38259 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38260 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38261 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38262 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38263 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38264 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38265 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38266 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38267 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38268 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38269 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38270 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38271 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38272 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38273 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38274 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38275 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38276 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38277 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38278 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38279 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38280 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38281 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38282 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38283 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38284 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38285 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38286 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38287 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38288 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38289 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38290 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38291 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38292 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38293 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38294 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38295 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38296 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38297 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38298 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38299 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38300 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38301 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38302 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38303 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38304 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38305 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38306 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38307 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38308 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38309 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38310 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38311 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38312 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38313 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38314 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38315 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38316 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38317 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38318 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38319 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38320 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38321 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38322 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38323 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38324 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38325 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38326 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38327 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38328 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38329 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38330 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38331 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38332 Require >= 2.
38333 (FLT_ROUNDS): Expect as macro, not constant.
38334 (FLT_MANT_DIG): Use macro-int-constant.
38335 (DBL_MANT_DIG): Likewise.
38336 (LDBL_MANT_DIG): Likewise.
38337 (FLT_DIG): Likewise.
38338 (DBL_DIG): Likewise.
38339 (LDBL_DIG): Likewise.
38340 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38341 (DBL_MIN_EXP): Likewise.
38342 (LDBL_MIN_EXP): Likewise.
38343 (FLT_MAX_EXP): Use macro-int-constant.
38344 (DBL_MAX_EXP): Likewise.
38345 (LDBL_MAX_EXP): Likewise.
38346 (FLT_MAX_10_EXP): Likewise.
38347 (DBL_MAX_10_EXP): Likewise.
38348 (LDBL_MAX_10_EXP): Likewise.
38349 (FLT_MAX): Use macro-constant.
38350 (DBL_MAX): Likewise.
38351 (LDBL_MAX): Likewise.
38352 (FLT_EPSILON): Use macro-constant. Give upper bound.
38353 (DBL_EPSILON): Likewise.
38354 (LDBL_EPSILON): Likewise.
38355 (FLT_MIN): Likewise.
38356 (DBL_MIN): Likewise.
38357 (LDBL_MIN): Likewise.
38358 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38359 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38360 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38361 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38362 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38363 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38364 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38365 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38366 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38367 [ISO11] (FLT_TRUE_MIN): Likewise.
38368 [ISO11] (LDBL_TRUE_MIN): Likewise.
38369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38370 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38371 (SCHAR_MIN): Use macro-int-constant. Specify type.
38372 (SCHAR_MAX): Likewise.
38373 (UCHAR_MAX): Likewise.
38374 (CHAR_MIN): Likewise.
38375 (CHAR_MAX): Likewise.
38376 (MB_LEN_MAX): Use macro-int-constant.
38377 (SHRT_MIN): Use macro-int-constant. Specify type.
38378 (SHRT_MAX): Likewise.
38379 (USHRT_MAX): Likewise.
38380 (INT_MAX): Likewise.
38381 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38382 bound negative.
38383 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38384 bound with "U".
38385 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38386 bound with "L".
38387 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38388 bound negative. Suffix upper bound with "L".
38389 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38390 bound with "UL".
38391 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38392 Specify type.
38393 [C99-based standards] (LLONG_MAX): Likewise.
38394 [C99-based standards] (ULLONG_MAX): Likewise.
38395 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38396 == 0.
38397 [ISO11] (max_align_t): Require type.
38398 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38399
c9140a62
JM
38400 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38401 from $CFLAGS, without defining away __attribute__ calls.
38402 (checknamespace): Use $CFLAGS_namespace.
38403
9af0bf29
JM
38404 * conform/conformtest.pl (@keywords): Only include C99 keywords
38405 for standards based on C99 or C11.
38406
343222a2
JM
38407 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38408 Disable tests.
38409 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38410 UNIX98]: Likewise.
38411
661f8cf0
JM
38412 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38413 usability of symbols in #if.
38414
ee74b9cb
JM
38415 * conform/conformtest.pl: If macro or constant types start
38416 "promoted:", expect the symbol to be of the following type
38417 promoted by the integer promotions.
62fde54f 38418
aafc49b3
JM
38419 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38420 in one place. Also handle "macro-constant".
38421
fefdf574
JM
38422 * conform/conformtest.pl: Only accept expected macro values with
38423 "==". Parse all "macro" lines in one place.
38424 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38425
f2d922fe
JM
38426 * conform/conformtest.pl: Handle braced types on "constant" lines
38427 instead of handling "typed-constant".
38428 * conform/data/signal.h-data: Use "constant" instead of
38429 "typed-constant".
38430
d22956c9
JM
38431 * conform/conformtest.pl: Handle "optional-" at start of lines in
38432 one place rather than duplicating several cases. Handle each
38433 format of "macro" line with initial "optional-".
38434
028e2e38
JM
38435 * conform/conformtest.pl: Only accept expected constant or
38436 optional-constant values with "==". Parse all "constant" lines in
38437 one place. Parse all "optional-constant" lines in one place.
38438 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38439 * conform/data/fmtmsg.h-data: Likewise.
38440 * conform/data/netinet/in.h-data: Likewise.
38441 * conform/data/tar.h-data: Likewise.
38442 * conform/data/limits.h-data: Use "==" form on "constant" and
38443 "optional-constant" lines.
38444
1b8f2850
JM
38445 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38446 Use -std=c99 for XOPEN2K.
38447 (@knownproblems): Remove.
38448 (newtoken): Don't check %isknown.
38449
a05a144b
JM
38450 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38451 Do not expect macro.
38452 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38453 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38454 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38455 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38456 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38457 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38458 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38459 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38460 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38461 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38462 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38463 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38464 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38465 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38466 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38467 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38468 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38469 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38470 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38471 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38472 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38473 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38474 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38475 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38476 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38477 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38478 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38479 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38480 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38481 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38482 [XPG3] (acosh): Likewise.
38483 [XPG3] (asinh): Likewise.
38484 [XPG3] (atanh): Likewise.
38485 [XPG3] (cbrt): Likewise.
38486 [XPG3] (expm1): Likewise.
38487 [XPG3] (ilogb): Likewise.
38488 [XPG3] (log1p): Likewise.
38489 [XPG3] (logb): Likewise.
38490 [XPG3] (nextafter): Likewise.
38491 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38492 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38493 [XPG3] (remainder): Likewise.
38494 [XPG3] (rint): Likewise.
38495 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38496 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38497 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38498 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38499 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38500 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38501 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38502 [UNIX98 || XOPEN2K] (scalb): Expect.
38503 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38504 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38505 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38506 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38507 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38508 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38509 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38510 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38511 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38512 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38513 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38514 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38515 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38516 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38517 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38518 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38519 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38520 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38521 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38522 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38523 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38524 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38525 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38526 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38527 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38528 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38529 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38530 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38531 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38532 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38533 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38534 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38535 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38536 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38537 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38538 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38539 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38540 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38541 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38542 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38543 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38544 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38545 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38546 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38547 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38548 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38549 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38550 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38551 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38552 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38553 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38554 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38555 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38556 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38557 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38558 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38559 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38560 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38561 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38562 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38563 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38564 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38565 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38566 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38567 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38568 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38569 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38570 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38571 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38572 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38573 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38574 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38575 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38576 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38577 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38578 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38579 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38580 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38581 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38582 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38583 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38584 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38585 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38586 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38587 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38588 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38589 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38590 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38591 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38592 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38593 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38594 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38595 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38596 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38597 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38598 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38599 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38600 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38601 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38602 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38603 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38604 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38605 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38606 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38607 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38608 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38609 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38610 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38611 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38612 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38613 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38614 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38615 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38616 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38617 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38618 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38619 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38620 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38621 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38622 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38623 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38624 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38625 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38626 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38627 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38628 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38629 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38630 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38631 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38632 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38633 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38634 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38635 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38636 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38637 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38638 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38639 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38640
73c5ebe3
JM
38641 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38642 _XOPEN_SOURCE_EXTENDED for XPG4.
38643
39c33b6c
JM
38644 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38645
62fde54f
JM
38646 * Makeconfig (localtime): Remove variable.
38647 (inst_localtime-file): Likewise.
38648
0741d64c
AS
386492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38650
38651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38652 Update.
38653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38654 Update.
38655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38656 Update.
38657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38658 Update.
38659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38660 Update.
38661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38662 Update.
38663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38664 Update.
38665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38666 Update.
38667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38668 Update.
38669
7cb029ee
JM
386702012-05-01 Joseph Myers <joseph@codesourcery.com>
38671
38672 [BZ #2550]
38673 [BZ #2570]
38674 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38675 comparisons to determine direction to adjust input.
38676 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38677 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38678 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38679 Likewise.
38680 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38681 Likewise.
38682 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38683 Likewise.
38684 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38685 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38686 Likewise.
38687 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38688 Likewise.
38689 * math/libm-test.inc (nexttoward_test): Add more tests.
38690
412bd966
AS
386912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38692
38693 [BZ #14040]
38694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38695 in version GLIBC_2.1, not GLIBC_2.0.
38696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38697 Likewise.
38698
9568c0c2
JM
386992012-04-30 Joseph Myers <joseph@codesourcery.com>
38700
adfbc8ac
JM
38701 [BZ #13942]
38702 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38703 (1 - x) * (1 + x).
38704 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38705 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38706 * math/libm-test.inc (acos_test): Add more tests.
38707 (asin_test): Likewise.
38708 * sysdeps/i386/fpu/libm-test-ulps: Update.
38709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38710
5ba3cc69
JM
38711 [BZ #14034]
38712 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38713 of square root.
38714 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38715 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38716 * math/libm-test.inc (acos_test_tonearest): New function.
38717 (acos_test_towardzero): Likewise.
38718 (acos_test_downward): Likewise.
38719 (acos_test_upward): Likewise.
38720 (asin_test_tonearest): Likewise.
38721 (asin_test_towardzero): Likewise.
38722 (asin_test_downward): Likewise.
38723 (asin_test_upward): Likewise.
38724 (main): Call the new functions.
38725 * sysdeps/i386/fpu/libm-test-ulps: Update.
38726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38727
9568c0c2
JM
38728 [BZ #13884]
38729 [BZ #13924]
38730 * math/e_exp10.c: Include <float.h>.
38731 (__ieee754_exp10): Handle underflow here rather than multiplying
38732 large negative argument by M_LN10.
38733 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38734 of __ieee754_expf.
38735 * math/e_exp10l.c: Include <float.h>.
38736 (__ieee754_exp10l): Handle underflow here rather than multiplying
38737 large negative argument by M_LN10l.
38738 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38739 spurious overflow exception on underflow.
38740
5ac3ea17
MP
387412012-04-29 Marek Polacek <polacek@redhat.com>
38742
38743 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38744 (__fortify_function): New macro.
38745 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38746 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38747 __extern_always_inline.
38748 * libio/bits/stdio2.h: Likewise.
38749 * libio/bits/stdio.h: Likewise.
38750 * string/string.h: Likewise.
38751 * string/bits/string3.h: Likewise.
38752 * include/stdio.h: Likewise.
38753 * stdlib/bits/stdlib.h: Likewise.
38754 * stdlib/stdlib.h: Likewise.
38755 * rt/bits/mqueue2.h: Likewise.
38756 * rt/mqueue.h: Likewise.
38757 * posix/bits/unistd.h: Likewise.
38758 * posix/unistd.h: Likewise.
38759 * io/bits/poll2.h: Likewise.
38760 * io/bits/fcntl2.h: Likewise.
38761 * io/fcntl.h: Likewise.
38762 * io/sys/poll.h: Likewise.
38763 * misc/bits/syslog.h: Likewise.
38764 * misc/bits/syslog-ldbl.h: Likewise.
38765 * misc/sys/syslog.h: Likewise.
38766 * socket/bits/socket2.h: Likewise.
38767 * socket/sys/socket.h: Likewise.
38768 * debug/tst-chk1.c: Likewise.
38769 * wcsmbs/bits/wchar2.h: Likewise.
38770 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38771 * wcsmbs/wchar.h: Likewise.
38772
ecf0ebfb
AJ
387732012-04-29 Andreas Jaeger <aj@suse.de>
38774
38775 * Makerules (tests): Remove enable-check-abi protection.
38776 (check-abi-warn): Remove.
38777 (check-abi-%): Remove check-abi-warn usage.
38778
38779 * configure.in: Remove check-abi configure option.
38780 * configure: Regenerated.
38781 * config.make.in (enable-check-abi): Remove.
38782
6d5c57fa
AS
387832012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38784
24c5d07e 38785 [BZ #14033]
ded5180a
AS
38786 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38787 double functions to double *_finite functions.
38788
7e0d315d
AS
38789 [BZ #13941]
38790 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38791 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38792 LDBL_MIN_EXP.
38793 * stdio-common/Makefile (tests): Add tst-sprintf3.
38794 * stdio-common/tst-sprintf3.c: New file.
38795
6d5c57fa
AS
38796 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38797 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38798
0749ff8b
JM
387992012-04-28 Joseph Myers <joseph@codesourcery.com>
38800
38801 * conform/conformtest.pl: Remove duplicate typed-constant
38802 handling.
38803
8dbd5d7b
DM
388042012-04-28 David S. Miller <davem@davemloft.net>
38805
38806 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38807 (check-abi-%): Remove AWK script prerequisite and explicit
38808 abilist directory.
38809 (check-abi): Rewrite to just diff the symlist with the abilist.
38810 (config-tls, config-abi-config): Delete, no longer used.
38811 (update-abi-%): Remove AWK script and explicit abilist directory.
38812 (update-abi): Rewrite to simply compare and conditionally copy the
38813 symlist and the sysdep abilist file. Remove update-abi-config
38814 checks.
38815 * abilist/ld.abilist: Remove.
38816 * abilist/libBrokenLocale.abilist: Remove.
38817 * abilist/libanl.abilist: Remove.
38818 * abilist/libcrypt.abilist: Remove.
38819 * abilist/libdl.abilist: Remove.
38820 * abilist/librt.abilist: Remove.
38821 * abilist/libthread_db.abilist: Remove.
38822 * abilist/libutil.abilist: Remove.
38823 * scripts/extract-abilist.awk: Remove.
38824 * scripts/merge-abilist.awk: Remove.
38825 * sysdeps/generic/libcidn.abilist: New file.
38826 * sysdeps/generic/libnss_compat.abilist: New file.
38827 * sysdeps/generic/libnss_db.abilist: New file.
38828 * sysdeps/generic/libnss_dns.abilist: New file.
38829 * sysdeps/generic/libnss_files.abilist: New file.
38830 * sysdeps/generic/libnss_hesiod.abilist: New file.
38831 * sysdeps/generic/libnss_nis.abilist: New file.
38832 * sysdeps/generic/libnss_nisplus.abilist: New file.
38833 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38834 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38835 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38836 file.
38837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38838 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38839 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38840 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38841 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38842 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38843 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38844 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38845 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38846 file.
38847 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38848 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38849 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38850 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38851 file.
38852 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38853 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38854 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38855 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38856 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38857 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38858 file.
38859 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38860 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38861 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38862 file.
38863 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38865 New file.
38866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38867 New file.
38868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38869 New file.
38870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38871 New file.
38872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38873 New file.
38874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38875 New file.
38876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38877 New file.
38878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38879 New file.
38880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38881 New file.
38882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38883 New file.
38884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38885 New file.
38886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38887 New file.
38888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38889 New file.
38890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38891 file.
38892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38893 New file.
38894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38895 New file.
38896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38897 file.
38898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38899 New file.
38900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38901 New file.
38902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38903 file.
38904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38905 New file.
38906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38907 New file.
38908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38909 New file.
38910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38911 New file.
38912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38913 New file.
38914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38915 New file.
38916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38918 file.
38919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38920 New file.
38921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38922 file.
38923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38924 file.
38925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38926 file.
38927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38928 file.
38929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38930 file.
38931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38932 New file.
38933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38934 file.
38935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38936 file.
38937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38938 New file.
38939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38940 file.
38941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38943 file.
38944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38945 New file.
38946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38947 file.
38948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38949 file.
38950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38951 file.
38952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38953 file.
38954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38955 file.
38956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38957 New file.
38958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38959 file.
38960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38961 file.
38962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38963 New file.
38964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38965 file.
38966 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38967 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38968 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38969 file.
38970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38971 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38972 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38973 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38974 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38975 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38976 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38977 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38978 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38979 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38982 file.
38983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38984 New file.
38985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38986 file.
38987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38988 file.
38989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38990 file.
38991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38992 file.
38993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38994 file.
38995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38996 New file.
38997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38998 New file.
38999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39000 file.
39001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39002 New file.
39003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39004 file.
39005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39007 file.
39008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39009 New file.
39010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39011 file.
39012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39013 file.
39014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39015 file.
39016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39017 file.
39018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39019 file.
39020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39021 New file.
39022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39023 New file.
39024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39025 file.
39026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39027 New file.
39028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39029 file.
39030
41d73a1b
JM
390312012-04-28 Joseph Myers <joseph@codesourcery.com>
39032
39033 * conform/conformtest.pl: Fix typo in handling typed-constant from
39034 allow-header.
39035
28aeeda4
JM
390362012-04-27 Joseph Myers <joseph@codesourcery.com>
39037
adae8f5e
JM
39038 * README: Cut down references to pre-2.6 Linux kernels and
39039 Linuxthreads. Update lists of configurations in libc and ports
39040 and sort alphabetically. Say "or newer" with Linux kernel version
39041 requirements.
39042
28aeeda4
JM
39043 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39044
a462cb63
RA
390452012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39046
39047 [BZ #887]
39048 * math/libm-test.inc (logb_test_downward): New test to expose
39049 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39050 rounding mode.
39051
6ad3493e
JM
390522012-04-27 Joseph Myers <joseph@codesourcery.com>
39053
39054 [BZ #14027]
39055 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39056 to be done.
39057 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39058 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39059
2ce4f015
JM
390602012-04-26 Joseph Myers <joseph@codesourcery.com>
39061
5aeb141a
JM
39062 * sysdeps/unix/i386/brk.S: Remove file.
39063 * sysdeps/unix/i386/dl-brk.S: Likewise.
39064 * sysdeps/unix/i386/pipe.S: Likewise.
39065 * sysdeps/unix/i386/sigreturn.S: Likewise.
39066 * sysdeps/unix/i386/syscall.S: Likewise.
39067 * sysdeps/unix/i386/vfork.S: Likewise.
39068 * sysdeps/unix/i386/wait.S: Likewise.
39069
7143acae
JM
39070 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39071 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39072
2ce4f015
JM
39073 * configure.in (arm*-none*): Do not allow without
39074 --enable-hacker-mode.
39075 (netbsd*): Remove case setting base_os.
39076 (386bsd*): Likewise.
39077 (freebsd*): Likewise.
39078 (bsdi*): Likewise.
39079 (osf*): Likewise.
39080 (sunos*): Likewise.
39081 (ultrix*): Likewise.
39082 (newsos*): Likewise.
39083 (dynix*): Likewise.
39084 (*bsd*): Likewise.
39085 (sysv*): Likewise.
39086 (isc*): Likewise.
39087 (esix*): Likewise.
39088 (sco*): Likewise.
39089 (minix*): Likewise.
39090 (irix4*): Likewise.
39091 (irix6*): Likewise.
39092 (solaris[2-9]*): Likewise.
39093 (none): Likewise.
39094 * configure: Regenerated.
39095
0ac229c8
AZ
390962012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39097
39098 [BZ #11521]
39099 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39100 overflow or cancellation in calculating denominator.
39101 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39102 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39103 down expression to avoid unexpected rounding in newer GCCs.
39104 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39105
33f244f4
DM
391062012-04-26 David S. Miller <davem@davemloft.net>
39107
39108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39109 long-double compat symbols.
39110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39123
cfa1f3e8
DM
391242012-04-25 David S. Miller <davem@davemloft.net>
39125
39126 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39127 HWCAP_* values only after the memory barriers have been defined.
39128 (atomic_full_barrier): Define.
39129 (atomic_read_barrier): Define.
39130 (atomic_write_barrier): Define.
39131
6e236b92
SP
391322012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39133
39134 * shlib-versions: Add libgcc_s version information.
39135 * sysdeps/generic/libgcc_s.h: Remove.
39136 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39137 libgcc_s.h.
39138 * sysdeps/gnu/unwind-resume.c: Likewise.
39139 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39140
aab39a09
DM
391412012-04-25 David S. Miller <davem@davemloft.net>
39142
39143 * sysdeps/unix/sparc/brk.S: Delete.
39144 * sysdeps/unix/sparc/dl-brk.S: Delete.
39145 * sysdeps/unix/sparc/pipe.S: Delete.
39146 * sysdeps/unix/sparc/sysdep.S: Delete.
39147 * sysdeps/unix/sparc/sysdep.h: Delete.
39148 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39149 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39150 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39151 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39152 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39153 (JUMPTARGET): Remove.
39154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39155 sysdeps/unix/sparc/sysdep.h
39156 (ENTRY, END): Remove.
39157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39158
a3cc4f48
JM
391592012-04-25 Joseph Myers <joseph@codesourcery.com>
39160
2ed8cda2
JM
39161 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39162 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39163 -DIS_IN_build.
39164
35d76d59
JM
39165 * timezone/README: Update upstream location and email address for
39166 tzcode and tzdata.
39167 * timezone/zdump.c: Update from tzcode 2012b.
39168 * timezone/zic.c: Likewise.
39169
a3cc4f48
JM
39170 * configure.in (libc_cv_as_needed): Remove test.
39171 * configure: Regenerated.
39172 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39173 conditional definition.
39174 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39175 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39176 * config.make.in (have-as-needed): Remove variable.
39177
ceab42c3
SP
391782012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39179 Paul Pluzhnikov <ppluzhnikov@google.com>
39180
39181 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39182 strings correctly.
39183
3ce2865f
CLT
391842012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39185
39186 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39187 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39188 * sysdeps/sh/strlen.S: Likewise.
39189
f37e0d68
JM
391902012-04-24 Joseph Myers <joseph@codesourcery.com>
39191
ae186e9a
JM
39192 * sysdeps/unix/fork.S: Remove file.
39193 * sysdeps/unix/i386/fork.S: Likewise.
39194 * sysdeps/unix/sparc/fork.S: Likewise.
39195
b96914af
JM
39196 * sysdeps/unix/system.c: Remove file.
39197 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39198
f37e0d68
JM
39199 * sysdeps/unix/getegid.S: Remove file.
39200 * sysdeps/unix/geteuid.S: Likewise.
39201
87ef29ca
RM
392022012-04-24 Roland McGrath <roland@hack.frob.com>
39203
83bcd236
RM
39204 * scripts/check-localplt.awk: New file.
39205 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39206 of diff.
39207 * scripts/data/localplt-generic.data: Add a comment.
39208
87ef29ca
RM
39209 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39210 NODE when __dir_mkfile failed.
39211 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39212 Reported by Ludovic Courtès <ludo@gnu.org>.
39213
e5a6e567
AJ
392142012-04-24 Andreas Jaeger <aj@suse.de>
39215
39216 * Makerules (common-clean): Also remove gen-as-const-headers
39217 files.
39218
c1820385
JM
392192012-04-24 Joseph Myers <joseph@codesourcery.com>
39220
39221 * Makerules (native-compile): Do not change working directory for
39222 build. Use $(OUTPUT_OPTION) in command.
39223 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39224
94e02fc4
AZ
392252012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39226
39227 [BZ #13886]
39228 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39229 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39230 * math/libm-test.inc (floor_test): Add more tests.
39231 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39232
3a533ca3
JM
392332012-04-24 Joseph Myers <joseph@codesourcery.com>
39234
940ab4b3
JM
39235 * sysdeps/unix/getdents.c: Remove file.
39236 * sysdeps/unix/sysv/getdents.c: Likewise.
39237 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39238
90e037bd
JM
39239 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39240 sysdeps/unix/mman/syscalls.list.
39241 (mmap): Likewise.
39242 (mprotect): Likewise.
39243 (msync): Likewise.
39244 (munmap): Likewise.
39245 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39246 * sysdeps/unix/mman/syscalls.list: Remove.
39247 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39248
3a533ca3
JM
39249 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39250 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39251 * configure: Regenerated.
39252 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39253 $(libgcc_s_suffix).
39254 * config.make.in (libgcc_s_suffix): Remove variable.
39255
1ad743de
JM
392562012-04-23 Joseph Myers <joseph@codesourcery.com>
39257
4ad451e2
JM
39258 * sysdeps/unix/sysv/gethostname.c: Move to ...
39259 * sysdeps/posix/gethostname.c: ... here.
39260
5e37ce39
JM
39261 * sysdeps/unix/execve.S: Remove file.
39262
1ad743de
JM
39263 * sysdeps/unix/_exit.S: Remove file.
39264
4e681b5b
AJ
392652012-04-23 Andreas Jaeger <aj@suse.de>
39266
39267 [BZ #13739]
39268 * manual/Makefile: Remove make dist support, there's no
39269 need for a stand-alone documentation tar ball.
39270 (TEXI2DVI): Define always, it's not in Makeconfig.
39271 (dist): Removed.
39272 (tar-it): Removed.
39273 (edition): Removed.
39274 (glibc-doc-$(edition).tar): Removed
39275 (%.Z): Removed.
39276 (%.gz): Removed.
39277 (%.uu): Removed.
39278 (ETAGS): Remove, it's in Makeconfig.
39279 (move-if-change): Remove, it's in Makeconfig.
39280
38686a03 392812012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
39282
39283 [BZ #13970]
39284 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39285 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39286 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39287 (strtod_l, strtof_l, strtold_l): Remove __wur.
39288 It is not necessarily an error to ignore strtol's return value.
39289 One can reliably look at the stored endptr to decide whether
39290 the number had valid syntax.
39291
7c0616fa
AJ
392922012-04-21 Andreas Jaeger <aj@suse.de>
39293
803cb6b7 39294 [BZ #13739]
7c0616fa
AJ
39295 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39296
b0fe253f
JM
392972012-04-21 Joseph Myers <joseph@codesourcery.com>
39298
39299 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39300 * sysdeps/unix/sysv/Versions: Remove file.
39301
8280f22d
MT
393022012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39303
39304 [BZ #13927]
39305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39306
75ce411f 393072012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
39308
39309 [BZ #7064]
39310 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39311 version from __vm86.
39312
097d59fa
JM
393132012-04-20 Joseph Myers <joseph@codesourcery.com>
39314
a90f3bcb
JM
39315 * sysdeps/unix/common/lxstat.c: Remove file.
39316 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39317
edc7ea78
JM
39318 * sysdeps/unix/sysv/Makefile: Remove file.
39319
cb78c221
JM
39320 * sysdeps/unix/sysv/direct.h: Remove file.
39321
efa6a45f
JM
39322 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39323 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39324 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39325 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39326 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39327 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39328 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39329
9c9f2d0c
JM
39330 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39331
4541c83b
JM
39332 * sysdeps/unix/xmknod.c: Remove file.
39333 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39334
f5d153a0
JM
39335 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39336
aa746595
JM
39337 * sysdeps/unix/sysv/i386/time.S: Remove file.
39338
cce5905e
JM
39339 * sysdeps/unix/fxstat.c: Remove file.
39340 * sysdeps/unix/xstat.c: Likewise.
39341 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39342
37fa3841
JM
39343 * sysdeps/unix/sysv/sigaction.c: Remove file.
39344
ff1962a3
JM
39345 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39346 (sysdep_headers): Remove variable.
39347 [termio.h not in sysdep_headers] (generated): Likewise.
39348 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39349 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39350 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39351 * sysdeps/unix/sysv/tcflow.c: Likewise.
39352 * sysdeps/unix/sysv/tcflush.c: Likewise.
39353 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39354 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39355 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39356 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39357 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39358
e7740d31
JM
39359 * sysdeps/unix/siglist.c: Remove file.
39360
ee06f18b
JM
39361 * sysdeps/unix/getppid.S: Remove file.
39362
097d59fa
JM
39363 * sysdeps/unix/mkdir.c: Remove file.
39364 * sysdeps/unix/rmdir.c: Likewise.
39365
ff3d51ec
AS
393662012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39367
39368 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39369 ERR_MAX value.
39370 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39371 errlist-compat value.
39372
50f81fd7
DM
393732012-04-18 David S. Miller <davem@davemloft.net>
39374
39375 * sysdeps/generic/memcopy.h (reg_char): Delete.
39376 * debug/strcat_chk.c: Use char, not reg_char.
39377 * debug/strcpy_chk.c: Likewise.
39378 * debug/strncat_chk.c: Likewise.
39379 * debug/strncpy_chk.c: Likewise.
39380 * string/memchr.c: Likewise.
39381 * string/memrchr.c: Likewise.
39382 * string/rawmemchr.c: Likewise.
39383 * string/strcat.c: Likewise.
39384 * string/strchr.c: Likewise.
39385 * string/strchrnul.c: Likewise.
39386 * string/strcmp.c: Likewise.
39387 * string/strcpy.c: Likewise.
39388 * string/strncat.c: Likewise.
39389 * string/strncmp.c: Likewise.
39390 * string/strncpy.c: Likewise.
39391
8ff41c46
WS
393922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39393
39394 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39395 __builtin_memcopy is called when src and dest ranges are known to not
39396 overlap.
39397
6b652f46
WS
393982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39399
39400 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39401 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39402 fwd_align_merge macro call.
39403 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39404 bwd_align_merge macro call.
39405 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39406
b282631e
WS
394072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39408
39409 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39410 bwd_align_merge macros.
39411 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39412 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39413 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39414
95aa737c
DM
394152012-04-18 David S. Miller <davem@davemloft.net>
39416
39417 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39418
7a99a614
AJ
394192012-04-18 Andreas Jaeger <aj@suse.de>
39420
39421 [BZ# 6794]
39422 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39423 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39424 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39425
39426 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39427 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39428 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39429
39430 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39431 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39432 Adjust for changed ldbl-128 files.
39433
39434 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39435 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39436 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39437
e5270c23
DM
394382012-04-17 David S. Miller <davem@davemloft.net>
39439
39440 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39441
fb5e92c9
AS
394422012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39443
39444 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39445 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39446 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39447 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39448 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39449 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39450
76da7265
AZ
394512012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39452
39453 [BZ #6794]
39454 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39455 * math/libm-test.inc: Add ilogb errno and exception tests.
39456 * math/w_ilogb.c: New file: ilogb wrapper.
39457 * math/w_ilogbf.c: New file: ilogbf wrapper.
39458 * math/w_ilogbl.c: New file: ilogbl wrapper.
39459 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39460 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39461 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39462 exception being thrown with 0.0 as argument.
39463 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39464 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39465 exception being thrown with 0.0 as argument.
39466 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39467 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39468 exception being thrown with 0.0 as argument.
39469 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39470 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39471 exception being thrown with 0.0 as argument.
39472 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39473 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 39474 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
39475 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39476 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39477 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39478 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39479 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39480 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39481
0396e69d
PB
394822012-04-17 Petr Baudis <pasky@ucw.cz>
39483
39484 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39485 with altivec.
39486
750b5926
MP
394872012-04-16 Marek Polacek <polacek@redhat.com>
39488
39489 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39490
751728a1
MP
394912012-04-16 Marek Polacek <polacek@redhat.com>
39492
39493 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39494 operands of fdivp instruction.
39495
34a27407
L
394962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39497
39498 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39499 * elf/tst-auditmod3b.c: Likewise.
39500 * elf/tst-auditmod4b.c: Likewise.
39501 * elf/tst-auditmod5b.c: Likewise.
39502 * elf/tst-auditmod6b.c: Likewise.
39503 * elf/tst-auditmod6c.c: Likewise.
39504 * elf/tst-auditmod7b.c: Likewise.
39505 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39506 * sysdeps/x86_64/preconfigure.in: Likewise.
39507 * sysdeps/x86_64/preconfigure: Regenerated.
39508
7e73e17d
L
395092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39510
39511 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39512 __ILP32__.
39513
c7a6ab72
AB
395142012-04-13 Antoine Balestrat <merkil33@gmail.com>
39515
39516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39517 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39518
a9e8e0e0
CL
395192012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39520
39521 [BZ #13973]
39522 * locale/iso-639.def: Fix gl language name. Spotted by
39523 Yaron Shahrabani.
39524
ec98af7d
RM
395252012-04-12 Roland McGrath <roland@hack.frob.com>
39526
39527 [BZ #2074]
39528 * libio/libio.h (__io_write_fn): Update comment.
39529
247c3ede
PB
395302012-04-12 Petr Baudis <pasky@ucw.cz>
39531
39532 [BZ #2074]
39533 * stdio.texi (Hook Functions): The user provided writer function
39534 is not allowed to return -1.
39535
55939d6d
DM
395362012-04-11 David S. Miller <davem@davemloft.net>
39537
39538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39539
90020f5a
MF
395402012-04-11 Mike Frysinger <vapier@gentoo.org>
39541
39542 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39543 Add a leading slash to rtkaio.
39544
288f9098
JM
395452012-04-11 Jim Meyering <meyering@redhat.com>
39546
90020f5a
MF
39547 [BZ #11959]
39548 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39549 It is not necessarily an error to ignore fwrite's return
39550 value. One can reliably use ferror to test for errors after
39551 the fact.
288f9098 39552
4be2b570
L
395532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39554
39555 * bits/types.h (__snseconds_t): New type.
39556 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39557
39558 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39560 (__SNSECONDS_T_TYPE): Likewise.
39561 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39562 (__SNSECONDS_T_TYPE): Likewise.
39563 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39564 (__SNSECONDS_T_TYPE): Likewise.
39565
288f9098 395662012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
39567
39568 [BZ #2636]
39569 * manual/time.texi (Processor Time): Return type of times is
39570 elapsed real time since an arbitrary point in the past.
39571 (CPU Time): Move CLK_TCK from here...
39572 (Processor Time): ...to here. Correct description.
39573 * manual/conf.texi (Constants for Sysconf): Correct description of
39574 _SC_CLK_TCK.
39575
d7dd4413
DM
395762012-04-10 David S. Miller <davem@davemloft.net>
39577
39578 [BZ #13967]
39579 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39580 where the is a gap between DT_REL(A) and DT_JMPREL.
39581
b46068fc
L
395822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39583
39584 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39585 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39586 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39587
73d65cc3
SP
395882012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39589
39590 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39591 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39592 (dl_main): Handle --inhibit-cache.
39593 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39594 _dl_inhibit_cache.
39595 * elf/dl-load.c (_dl_map_object): Use it.
39596 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39597
bcc8d661
JM
395982012-04-09 Joseph Myers <joseph@codesourcery.com>
39599
8f9a2fae
JM
39600 [BZ #13872]
39601 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39602 (__ieee754_powl): Saturate large exponents rather than testing for
39603 overflow of y*log2(x).
39604 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39605 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39606 exceptions.
39607
bcc8d661
JM
39608 [BZ #11521]
39609 * math/s_ctan.c: Include <float.h>.
39610 (__ctan): Avoid internal overflow or cancellation in calculating
39611 denominator.
39612 * math/s_ctanf.c: Likewise.
39613 * math/s_ctanl.c: Likewise.
39614 * math/s_ctanh.c: Likewise.
39615 * math/s_ctanhf.c: Likewise.
39616 * math/s_ctanhl.c: Likewise.
39617 * math/libm-test.inc (ctan_test): Add more tests.
39618 (ctanh_test): Likewise.
39619 * sysdeps/i386/fpu/libm-test-ulps: Update.
39620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39621
823fbbb4
AJ
396222012-04-09 Andreas Jaeger <aj@suse.de>
39623
03879793
AJ
39624 [BZ #6894]
39625 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39626 is an optional BSD extension.
39627
823fbbb4
AJ
39628 [BZ #10254]
39629 * manual/stdio.texi (Opening Streams): Document additional fopen
39630 parameters.
39631
8de131cb
RM
396322012-04-09 Roland McGrath <roland@hack.frob.com>
39633
39634 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39635 %eax without telling the compiler.
39636
c0ed9d7d
CD
396372012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39638
39639 [BZ # 13963]
39640 * manual/install.texi: Use sourceware.org.
39641
c483f6b4
JM
396422012-04-09 Joseph Myers <joseph@codesourcery.com>
39643
d7dd9453
JM
39644 [BZ #13873]
39645 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39646 (__ieee754_pow): Generate overflow and underflow using huge*huge
39647 and tiny*tiny rather than just returning constant infinity or zero
39648 for large exponents.
39649 * math/libm-test.inc (pow_test): Require overflow exceptions for
39650 applicable cases of large exponents.
39651
c483f6b4
JM
39652 [BZ #706]
39653 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39654 (__ieee754_pow): Use iterative multiplication algorithm only for
39655 integer exponents with absolute value below 1024. Check for odd
39656 integer exponents when using algorithm for real exponents.
39657 * math/libm-test.inc (pow_test): Add more tests.
39658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39659
d2de7579
JM
396602012-04-08 Joseph Myers <joseph@codesourcery.com>
39661
39662 [BZ #13705]
39663 * math/libm-test.inc (exp_test): Do not allow overflow exception
39664 on underflow test.
39665
f77f1232
AJ
396662012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39667
39668 [BZ #13705]
39669 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39670 instead of __kernel_standard_f.
39671
3884932b
MF
396722012-04-08 Mike Frysinger <vapier@gentoo.org>
39673
39674 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39675 * sysdeps/x86_64/memset_chk.S: Likewise.
39676
54472e9c
AJ
396772012-04-08 Andreas Jaeger <aj@suse.de>
39678
6ab0fbfc
AJ
39679 [BZ #10153]
39680 * manual/startup.texi (Environment Access): Describe return value
39681 for putenv and setenv.
39682
61efba8c
AJ
39683 [BZ #6895]
39684 * manual/filesys.texi (Directory Entries): Add description for
39685 DT_LNK.
39686
95c3f29a
AJ
39687 [BZ #6890]
39688 * manual/filesys.texi (Directory Entries): Clarify that it's file
39689 system not operating system in the description of DT_UNKNOWN.
39690
54472e9c
AJ
39691 [BZ #6578]
39692 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39693
624254b1
SC
396942012-04-08 Stephen Compall <s11@member.fsf.org>
39695
39696 [BZ #6649]
39697 * manual/llio.texi (Opening and Closing Files): Add cross
39698 reference to explain mode argument.
39699
1e4920e0
MF
397002012-04-07 Mike Frysinger <vapier@gentoo.org>
39701
39702 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39703 * sysdeps/x86_64/memset_chk.S: Likewise.
39704
5ed848f3
DM
397052012-04-07 David S. Miller <davem@davemloft.net>
39706
39707 * elf/elf.h (R_SPARC_WDISP10): Define.
39708 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39709 R_SPARC_SIZE32.
39710 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39711 R_SPARC_SIZE64 and R_SPARC_H34.
39712
96154cd8
CD
397132012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39714
39715 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39716 conditions and remove no longer applicable assertion.
39717
9904dc47
L
397182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39719
39720 * bits/byteswap.h: Include <features.h>.
39721 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39722 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39723
f8887d0a
L
397242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39725
39726 * bits/byteswap.h (__bswap_16): Removed.
39727 Include <bits/byteswap-16.h> to get __bswap_16.
39728 * sysdeps/i386/bits/byteswap.h: Likewise.
39729 * sysdeps/s390/bits/byteswap.h: Likewise.
39730 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39731 * bits/byteswap-16.h: New file.
39732 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39733 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39734 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39735 * string/Makefile (headers): Add bits/byteswap-16.h.
39736
62470f60
PP
397372012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39738
39739 [BZ #13895]
39740 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39741 extra indirection.
39742 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39743 * nss/tst-nss-static.c: New.
39744
4dad7bab
RM
397452012-04-06 Robert Millan <rmh@gnu.org>
39746
39747 [BZ #6486]
39748 * manual/llio.texi (File Position Primitive): lseek
39749 refers to WHENCE when it really means OFFSET.
39750
e9142a17
AJ
397512012-04-06 Andreas Jaeger <aj@suse.de>
39752
2c040eff
AJ
39753 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39754 strncmp declarations.
39755
e9142a17
AJ
39756 * abilist/libc.abilist: Add __poll and __ppoll.
39757
ff9f1c5f
DM
397582012-04-05 David S. Miller <davem@davemloft.net>
39759
dcd2ae90
DM
39760 * scripts/check-local-headers.sh: Accept a host triplet in the
39761 path matched by the exclude regexp.
39762
993eb054
DM
39763 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39764 definition.
39765 * sysdeps/powerpc/powerpc32/dl-machine.h
39766 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39767 * sysdeps/s390/s390-32/dl-machine.h
39768 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39769 * sysdeps/sparc/sparc32/dl-machine.h
39770 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39771 * sysdeps/sparc/sparc64/dl-machine.h
39772 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39773
ff9f1c5f
DM
39774 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39775 lazy binding.
48e2e132 39776 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
39777 undefined symbol errors.
39778
48e2e132 39779 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
39780 DT_NEEDED entries.
39781
e80d6f94
MM
397822012-04-05 Michael Matz <matz@suse.de>
39783
39784 [BZ #13592]
39785 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39786
349fa79f
AJ
397872012-04-05 Andreas Jaeger <aj@suse.de>
39788
39789 [BZ #13908]
39790 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39791 comment.
39792
f402708f
KK
397932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39794
39795 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39796 which ROUND is no valid rounding mode.
39797
2ecccfc9
KK
397982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39799
39800 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39801 read again.
39802 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39803
8a53f50f
KK
398042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39805
39806 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39807 an exception using FPU order intentionally.
39808
398092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39810
39811 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39812 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39813 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39814 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39815
d653abb7
SJ
398162012-04-05 Simon Josefsson <simon@josefsson.org>
39817
39818 [BZ #12340]
39819 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39820 EINVAL when BUFLEN is too smal.
39821
c3b1bf7d
TS
398222012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39823
39824 [BZ #13553]
39825 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39826 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39827
b1aa60f3
AJ
398282012-04-03 Andreas Jaeger <aj@suse.de>
39829
c3b1bf7d 39830 [BZ #13938]
67f60a26
AJ
39831 * manual/setjmp.texi (System V contexts): Fix sentence.
39832
b1aa60f3
AJ
39833 [BZ #13926]
39834 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39835 New macro for this case.
39836 [!__GNUC__] (__bswap_64): New inline function for this case.
39837 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39838 * bits/byteswap.h: Likewise.
39839 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39840 ull, guard with __GLIBC_HAVE_LONG_LONG.
39841
39842 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39843 __GLIBC_HAVE_LONG_LONG.
39844
39845 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39846 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39847
39c59c35
TMQMF
398482012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39849
39850 [BZ #13691]
39851 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39852 inptr and inend, rather than using last_ch.
39853
135ffda8
DM
398542012-04-02 David S. Miller <davem@davemloft.net>
39855
39856 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39857 * stdio-common/printf-parse.h (read_int): Change return type to
39858 'int', return -1 on INT_MAX overflow.
39859 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39860 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39861 overflows INT_MAX. Check for overflow of in-format-string precision
39862 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39863 SIZE_MAX not INT_MAX for integer overflow test.
39864 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39865 skip the construct in the format string but do not record anything.
39866 * stdio-common/bug22.c: Adjust to test both width/prevision
39867 INT_MAX overflow as well as total length INT_MAX overflow. Check
39868 explicitly for proper errno values.
39869
228c019e
TS
398702012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39871
302cadd3
TS
39872 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39873 CHAR_MAX.
39874 * string/test-strcmp.c [! WIDE]: Likewise.
39875 * time/tst-mktime2.c: Likewise for INT_MAX.
39876 * string/test-string.h: #include <sys/param.h> for MIN.
39877
228c019e
TS
39878 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39879 * sysdeps/i386/init-first.c (init): Likewise.
39880 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39881 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39882 * sysdeps/sh/init-first.c (init): Likewise.
39883
cfa633f5
UD
398842012-04-01 Ulrich Drepper <drepper@gmail.com>
39885
39886 * po/ru.po: Update from translation team.
d1635ef8 39887 * po/vi.po: Likewise.
cfa633f5 39888
6cd0a5ea
SP
398892012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39890
39891 * resolv/nss_dns/dns-host.c: Merge copyright years.
39892
4b43400f
LD
398932012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39894
39895 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39896 Optimize memcpy with prefetch if
39897 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39898 src, dst pointers have unequal 16 byte alignments.
39899
48c41d04
SP
399002012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39901
39902 [BZ #13928]
39903 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39904 from a CNAME entry and return the minimum ttl for the query.
39905 (gaih_getanswer_slice): Likewise.
39906
b8dc394d
JL
399072012-03-30 Jeff Law <law@redhat.com>
39908
39909 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39910 due to long keys.
39911 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39912 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39913
2f5a5ed0
JL
39914 * resolv/nss_dns/dns-host.c: Update copyright year.
39915
1d39e359
UD
399162012-03-30 Ulrich Drepper <drepper@gmail.com>
39917
c030f70c 39918 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 39919 requests to save a system call. Fix check that all bytes are sent.
c030f70c 39920
1d39e359
UD
39921 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39922 comments for sendmmsg.
39923
399242012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
39925
39926 [BZ #13691]
39927 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39928 with only 1 character between 0x0041 and 0x01b0.
39929 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39930 * wcsmbs/tst-mbsnrtowcs.c: New file.
39931
20fde227
DM
399322012-03-29 David S. Miller <davem@davemloft.net>
39933
39934 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39935 small copies by hand.
39936
984a4237
JL
399372012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39938
39939 [BZ #13761]
57f41c40
AS
39940 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39941 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39942 group memberships.
984a4237 39943
18c9d62b
DM
399442012-03-28 David S. Miller <davem@davemloft.net>
39945
88d85d4f
DM
39946 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39947 that branches into memcpy.
39948 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39950 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39951 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39953 bits.
39954 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39955 implementation too.
39956 * sysdeps/sparc/mempcpy.S: New file.
39957
e5aa83e1
DM
39958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39959 the IFUNC routine in the libc case.
39960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39961
88570753
DM
39962 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39963 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39964 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39965 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39966 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39967 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39968 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39969 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39970
249d7567
DM
39971 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39972 loop to 256 bytes instead of 64 bytes and fix test signedness.
39973
18c9d62b
DM
39974 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39975 * sysdeps/sparc/sparc32/Makefile: rather than here...
39976 * sysdeps/sparc/sparc64/Makefile: and here.
39977
05f3d1f6
UD
399782012-03-28 Ulrich Drepper <drepper@gmail.com>
39979
39980 * malloc/mallocbug.c: Avoid warnings about unused variables.
39981
86ae07a8
JL
399822012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39983
39984 [BZ #13760]
39985 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39986 in the right place. Discard and retry query if response is
39987 larger than input buffer size.
39988
41bf21a1
JM
399892012-03-28 Joseph Myers <joseph@codesourcery.com>
39990
d6270972
JM
39991 [BZ #369]
39992 [BZ #2678]
39993 [BZ #3866]
39994 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39995 x for large integer exponent.
39996 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39997 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39998 sign of result as needed afterwards.
39999 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40000 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40001 result for underflowing pow the same as for overflow.
40002 (__kernel_standard_l): Handle powl overflow and underflow here
40003 rather than calling __kernel_standard.
40004 * math/libm-test.inc (pow_test): Add more tests.
40005
414fca03 40006 [BZ #3868]
41bf21a1
JM
40007 [BZ #13879]
40008 [BZ #13910]
40009 [BZ #13911]
40010 [BZ #13912]
40011 [BZ #13913]
40012 [BZ #13915]
40013 [BZ #13916]
40014 [BZ #13917]
40015 [BZ #13918]
40016 [BZ #13919]
40017 [BZ #13920]
40018 [BZ #13921]
40019 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40020 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40021 (__kernel_standard_l): New function.
40022 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40023 __kernel_standard.
40024 * math/w_acosl.c (__acosl): Likewise.
40025 * math/w_asinl.c (__asinl): Likewise.
40026 * math/w_atan2l.c (__atan2l): Likewise.
40027 * math/w_atanhl.c (__atanhl): Likewise.
40028 * math/w_coshl.c (__coshl): Likewise.
40029 * math/w_exp10l.c (__exp10l): Likewise.
40030 * math/w_exp2l.c (__exp2l): Likewise.
40031 * math/w_fmodl.c (__fmodl): Likewise.
40032 * math/w_hypotl.c (__hypotl): Likewise.
40033 * math/w_j0l.c (__j0l, __y0l): Likewise.
40034 * math/w_j1l.c (__j1l, __y1l): Likewise.
40035 * math/w_jnl.c (__jnl, __ynl): Likewise.
40036 * math/w_lgammal.c (__lgammal): Likewise.
40037 * math/w_log10l.c (__log10l): Likewise.
40038 * math/w_log2l.c (__log2l): Likewise.
40039 * math/w_logl.c (__logl): Likewise.
40040 * math/w_powl.c (__powl): Likewise.
40041 * math/w_remainderl.c (__remainderl): Likewise.
40042 * math/w_scalbl.c (sysv_scalbl): Likewise.
40043 * math/w_sinhl.c (__sinhl): Likewise.
40044 * math/w_sqrtl.c (__sqrtl): Likewise.
40045 * math/w_tgammal.c (__tgammal): Likewise.
40046 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40047 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40048 * math/libm-test.inc (acos_test): Add more tests.
40049 (acosh_test): Likewise.
40050 (asin_test): Likewise.
40051 (atanh_test): Likewise.
40052 (exp_test): Likewise.
40053 (exp10_test): Likewise.
40054 (exp2_test): Likewise.
40055 (expm1_test): Likewise.
40056 (lgamma_test): Likewise.
40057 (log_test): Likewise.
40058 (log10_test): Likewise.
40059 (log1p_test): Likewise.
40060 (log2_test): Likewise.
40061 (pow_test): Do not allow some spurious overflow exceptions.
40062 (sqrt_test): Add more tests.
40063 (tgamma_test): Likewise.
40064 (y0_test): Likewise.
40065 (y1_test): Likewise.
40066 (yn_test): Likewise.
40067
dd62fda6
AB
400682012-03-27 Anton Blanchard <anton@samba.org>
40069
40070 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40071 MAP_HUGETLB.
40072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40075
1e3cdfda
AJ
400762012-03-27 David S. Miller <davem@davemloft.net>
40077
b855ab85
DM
40078 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40079
1e3cdfda
AJ
40080 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40081 have-as-vis3 check.
40082
400832012-03-27 Andreas Jaeger <aj@suse.de>
40084
40085 * sysdeps/x86_64/elf/configure.in: Moved to ...
40086 * sysdeps/x86_64/configure.in: ... here.
40087 * sysdeps/x86_64/elf/start.S: Moved to ...
40088 * sysdeps/x86_64/start.S: ... here.
40089 * sysdeps/x86_64/elf/configure: Delete.
40090
40091 * sysdeps/x86_64/configure.in: Merge contents from
40092 sysdeps/i386/configure.in (without i686 check).
40093
40094 * sysdeps/i386/elf/Versions: Merge into ...
40095 * sysdeps/i386/Versions: ... this.
40096 * sysdeps/i386/elf/Versions: Delete file.
40097 * sysdeps/i386/elf/start.S: Moved to ...
40098 * sysdeps/i386/start.S: ...here.
40099 * sysdeps/i386/elf/configure.in: Merge into...
40100 * sysdeps/i386/configure.in: ...here.
40101 * sysdeps/i386/elf/configure.in: Delete file.
40102 * sysdeps/i386/elf/configure: Delete file.
40103
40104 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40105 * debug/backtracesyms.c: ... here.
40106 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40107 * debug/backtracesymsfd.c: ... here.
40108 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40109 * sysdeps/generic/ifunc-sel.h: ... here.
40110
40111 * sysdeps/unix/i386/start.c: Delete file.
40112 * sysdeps/unix/sparc/start.c: Delete file.
40113 * sysdeps/unix/start.c: Delete file.
40114
40115 * sysdeps/sh/elf/configure.in: Moved to ...
40116 * sysdeps/sh/configure.in: ... here.
40117 * sysdeps/sh/elf/start.S: Moved to ...
40118 * sysdeps/sh/start.S: ... here.
40119 * sysdeps/sh/elf/configure: Delete file.
40120
40121 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40122 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40123 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40124 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40125 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40126 * sysdeps/powerpc/powerpc64/start.S: here.
40127 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40128 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40129 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40130 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40131 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40132
40133 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40134 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40135 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40136 * sysdeps/powerpc/powerpc32/start.S: ... here.
40137 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40138 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40139 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40140
40141 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40142 * sysdeps/powerpc/ifunc-sel.h: ... here.
40143 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40144 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40145
40146 * sysdeps/sparc/elf/configure.in: Moved to ...
40147 * sysdeps/sparc/configure.in: ... here.
40148 * sysdeps/sparc/elf/configure: Delete file.
40149 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40150 * sysdeps/sparc/sparc32/start.S: ... here.
40151 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40152 * sysdeps/sparc/sparc64/start.S: ... here.
40153 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40154 * sysdeps/sparc/sparc32/Makefile: ... this.
40155 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40156 * sysdeps/sparc/sparc64/Makefile: ... this.
40157
40158 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40159 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40160 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40161 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40162 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40163 * sysdeps/s390/s390-32/setjmp.S: ... here.
40164 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40165 * sysdeps/s390/s390-32/configure.in: ... here.
40166 * sysdeps/s390/s390-32/elf/configure: Delete file.
40167 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40168 * sysdeps/s390/s390-32/start.S: ... here.
40169
40170 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40171 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40172 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40173 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40174 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40175 * sysdeps/s390/s390-64/setjmp.S: ... here.
40176 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40177 * sysdeps/s390/s390-64/configure.in: ... here
40178 * sysdeps/s390/s390-64/elf/configure: Delete file.
40179 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40180 * sysdeps/s390/s390-64/start.S: ... here.
40181 * sysdeps/s390/s390-64/elf/configure: Delete.
40182
40183 * configure.in: Remove support for elf directories in sysdeps.
40184
40185 * configure: Regenerated.
40186 * sysdeps/i386/configure: Regenerated.
40187 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40188 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40189 * sysdeps/s390/s390-32/configure: Regenerated.
40190 * sysdeps/s390/s390-64/configure: Regenerated.
40191 * sysdeps/sh/configure: Regenerated.
40192 * sysdeps/sparc/configure: Regenerated.
40193 * sysdeps/x86_64/configure: Regenerated.
40194
a3f61311
AS
401952012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40196
c876e002
AS
40197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40198
a3f61311
AS
40199 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40200 denormal result into account.
40201
ac4c54f0
RM
402022012-03-25 Roland McGrath <roland@hack.frob.com>
40203
40204 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40205 Reported by Allan McRae <allan@archlinux.org>.
40206
6a9b9c02
JL
402072012-03-23 Jeff Law <law@redhat.com>
40208
40209 * nss/getnssent.c (__nss_getent): Fix typo.
40210
4c42a0c1
DM
402112012-03-23 David S. Miller <davem@davemloft.net>
40212
40213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40214
1532c7ac
L
402152012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40216
40217 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40218 to pad to uint64_t for each field.
40219 (dl_tls_index): Replace unsigned long with uint64_t.
40220
3ff42526
PP
402212012-03-23 Daniel Jacobowitz <dmj@google.com>
40222 Paul Pluzhnikov <ppluzhnikov@google.com>
40223
40224 [BZ #6528]
40225 * grp/Makefile (otherlibs): Don't set it.
40226 * inet/Makefile (otherlibs): Likewise.
40227 * login/Makefile (otherlibs): Likewise.
40228 * nscd/Makefile (otherlibs): Likewise.
40229 * posix/Makefile (otherlibs): Likewise.
40230 * pwd/Makefile (otherlibs): Likewise.
40231 * rt/Makefile (otherlibs): Likewise.
40232 * sunrpc/Makefile (otherlibs): Likewise.
40233 * nss/Makefile (otherlibs): Likewise.
40234 Add libnss_files to routines and static-only-routines.
40235 ($(objpfx)getent): Remove rule.
40236 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40237 static-only-routines.
40238
7c69cd14
JM
402392012-03-22 Joseph Myers <joseph@codesourcery.com>
40240
40241 [BZ #13892]
40242 * math/s_cexp.c: Include <float.h>.
40243 (__cexp): Handle exp result overflowing not necessarily
40244 overflowing both real and imaginary parts of result.
40245 * math/s_cexpf.c: Likewise.
40246 * math/s_cexpl.c: Likewise.
40247 * math/libm-test.inc (cexp_test): Add more tests.
40248 * sysdeps/i386/fpu/libm-test-ulps: Update.
40249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40250
81b035fe
L
402512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40252
40253 * include/link.h (ELFW): New macro.
40254 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40255 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40256
1da7940c
L
402572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40258
40259 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40260 with uint64_t.
40261
b749dbb9
L
402622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40263
40264 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40265 declaration.
40266 (struct La_x32_retval): Likewise.
40267
2ff87f3f
L
402682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40269
40270 * sysdeps/x86_64/preconfigure.in: New file.
40271 * sysdeps/x86_64/preconfigure: New generated file.
40272
c0df8e69
JM
402732012-03-22 Joseph Myers <joseph@codesourcery.com>
40274
48e44791
JM
40275 [BZ #13824]
40276 * math/e_exp2l.c: Include <float.h>.
40277 (__ieee754_exp2l): Handle overflow and underflow cases
40278 separately. Only pass fractional part of argument to
40279 __ieee754_expl.
40280 * math/libm-test.inc (exp2_test): Add more tests.
40281
c0df8e69
JM
40282 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40283 negating x to take absolute value.
40284 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40285 Likewise.
40286 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40287 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40288 Likewise.
40289 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40290 computing low part if x was negated.
40291 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40292
c8e43ba7
L
402932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40294
40295 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40296 la_x32_gnu_pltexit.
40297 (pltexit): Cast int_retval to ptrdiff_t.
40298 * elf/tst-auditmod3b.c: Likewise.
40299 * elf/tst-auditmod4b.c: Likewise.
40300 * elf/tst-auditmod5b.c: Likewise.
40301 * elf/tst-auditmod6b.c: Likewise.
40302 * elf/tst-auditmod6c.c: Likewise.
40303 * elf/tst-auditmod7b.c: Likewise.
40304
40305 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40306 and x32_gnu_pltexit.
40307
40308 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40309 __ELF_NATIVE_CLASS.
40310 (La_x32_regs): New macro.
40311 (La_x32_retval): Likewise.
40312 (la_x32_gnu_pltenter): New function prototype.
40313 (la_x32_gnu_pltexit): Likewise.
40314
7998fa78
AS
403152012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40316
dcb33988
AS
40317 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40318 exponent.
40319
233fc563
AS
40320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40321
7998fa78
AS
40322 * configure.in (libc_cv_cc_nofma): Check for option to disable
40323 generation of FMA instructions.
40324 * configure: Regenerate.
40325 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40326 * sysdeps/ieee754/dbl-64/Makefile: New file.
40327 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40328 Remove brandred-fma4.
40329 (CFLAGS-brandred-fma4.c): Remove.
40330 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40331 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40332 define.
40333 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40334 define.
40335
8e95c99a
L
403362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40337
40338 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40339 LLONG_MAX != LONG_MAX.
40340 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40341 (_fitoa_word): Likewise.
40342 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40343 LLONG_MAX != LONG_MAX.
40344 * stdio-common/_itowa.h: Include <_itoa.h>.
40345 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40346 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40347 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40348 only if not defined.
40349 (_ITOA_WORD_TYPE): Likewise.
40350 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40351 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40352
6f4db457
DM
403532012-03-21 David S. Miller <davem@davemloft.net>
40354
40355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40356
7785fe5a
L
403572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40358
40359 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40360 of x86_64 when setting libc_cv_slibdir, libdir and
40361 libc_cv_localedir.
40362 * sysdeps/unix/sysv/linux/configure: Regenerated.
40363
4535cd55
JM
403642012-03-21 Joseph Myers <joseph@codesourcery.com>
40365
40366 * manual/lang.texi (Old Varargs): Remove section.
40367 (How Variadic): Update menu.
40368 (va_start): Do not mention varargs.h.
40369
17228132
TS
403702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40371 Joseph Myers <joseph@codesourcery.com>
40372
40373 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40374 link test.
40375 * configure: Regenerated.
40376
8149f976
TS
403772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40378
05f3d1f6
UD
40379 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40380 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40381 conformtest.pl
8149f976 40382
1a4ac776
JM
403832012-03-21 Joseph Myers <joseph@codesourcery.com>
40384
be22ce65
JM
40385 * NOTES: Remove.
40386 * Makefile (files-for-dist): Remove NOTES.
40387 (NOTES): Remove rule.
40388 * README: Don't refer to NOTES.
40389 * manual/creature.texi: Don't include macros.texi.
40390 * manual/intro.texi (creature.texi): Remove comment referring to
40391 NOTES.
40392
40b601fb
JM
40393 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40394 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40395 * configure: Regenerated.
40396 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40397 LIBC_TRY_CC_OPTION.
40398 (libc_cv_as_i686): Likewise.
40399 (libc_cv_cc_avx): Likewise.
40400 (libc_cv_cc_sse2avx): Likewise.
40401 (libc_cv_cc_fma4): Likewise.
40402 (libc_cv_cc_novzeroupper): Likewise.
40403 * sysdeps/i386/configure: Regenerated.
40404
1a4ac776
JM
40405 [BZ #13883]
40406 * sysdeps/i386/fpu/s_cexp.S: Remove.
40407 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40408 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40409 * math/libm-test.inc (cexp_test): Add more tests.
40410 * sysdeps/i386/fpu/libm-test-ulps: Update.
40411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40412
a458e7fe
AM
404132012-03-21 Allan McRae <allan@archlinux.org>
40414
40415 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40416
0cb7efc5
JM
404172012-03-21 Joseph Myers <joseph@codesourcery.com>
40418
40419 [BZ #13871]
40420 * math/w_exp2.c: Do not include <float.h>.
40421 (o_threshold, u_threshold): Remove.
40422 (__exp2): Calculate result before checking finiteness and calling
40423 __kernel_standard.
40424 * math/w_exp2f.c: Likewise.
40425 * math/w_exp2l.c: Likewise.
40426 * math/libm-test.inc (exp2_test): Require overflow exception for
40427 1e6 input.
2460d3aa
JM
40428
40429 [BZ #3866]
40430 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40431 range of signed 64-bit integers before using fistpll. Remove
40432 checks for whether integers fit in mantissa bits.
40433 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40434 the range of signed 32-bit integers before using fistpl. Remove
40435 checks for whether integers fit in mantissa bits.
40436 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40437 (__ieee754_powl): Test for y outside the range of signed 64-bit
40438 integers before using fistpll. Reduce 64-bit values to 63-bit
40439 ones as needed.
40440 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40441 divide-by-zero is raised for zero to large negative powers.
40442 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40443 (__ieee754_powl): Test for y outside the range of signed 64-bit
40444 integers before using fistpll. Reduce 64-bit values to 63-bit
40445 ones as needed.
40446 * math/libm-test.inc (pow_test): Add more tests.
40447
eb96ffb0
L
404482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40449
40450 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40451 <stdio-common/_itoa.h>.
40452 * debug/segfault.c: Likewise.
40453 * elf/dl-cache.c: Likewise.
40454 * elf/dl-minimal.c: Likewise.
40455 * elf/dl-misc.c: Likewise.
40456 * elf/dl-sysdep.c: Likewise.
40457 * elf/dl-version.c: Likewise.
40458 * elf/rtld.c: Likewise.
40459 * hurd/hurdsock.c: Likewise.
40460 * hurd/lookup-retry.c: Likewise.
40461 * malloc/malloc.c: Likewise.
40462 * malloc/mtrace.c: Likewise.
40463 * nscd/nscd_getgr_r.c: Likewise.
40464 * nscd/nscd_getpw_r.c: Likewise.
40465 * nscd/nscd_getserv_r.c: Likewise.
40466 * posix/getopt_init.c: Likewise.
40467 * posix/wordexp.c: Likewise.
40468 * stdio-common/_itoa.c: Likewise.
40469 * stdio-common/printf_fphex.c: Likewise.
40470 * stdio-common/vfprintf.c: Likewise.
40471 * string/_strerror.c: Likewise.
40472 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40473 * sysdeps/i386/i686/hp-timing.h: Likewise.
40474 * sysdeps/mach/_strerror.c: Likewise.
40475 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40476 * sysdeps/mach/hurd/sethostid.c: Likewise.
40477 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40478 * sysdeps/mach/xpg-strerror.c: Likewise.
40479 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40480 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40481 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40482 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40483 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40484 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40485 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40486 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40487 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40488 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40489 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40490 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40491 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40492 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40493 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40494 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40495 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40496 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40497 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40498 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40499 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40500
40501 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40502
40503 * stdio-common/_itoa.h: Moved to ...
40504 * sysdeps/generic/_itoa.h: Here.
40505
40506 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40507
40508 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40509 instead of "_itoa.h" and "_itowa.h".
40510 * stdio-common/vfprintf.: Likewise.
40511
d1af992d
L
405122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40513
40514 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40515 <bits/wordsize.h>.
40516 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40517 (__signbit): Likwise.
40518 (llrintf): Likwise.
40519 (llrint): Likwise.
40520
114883e0
L
405212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40522
40523 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40524 __WORDSIZE != 64.
40525
c135cc1b
JM
405262012-03-20 Joseph Myers <joseph@codesourcery.com>
40527
40528 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40529 OVERFLOW_EXCEPTION_OK.
40530 * math/libm-test.inc ("Philosophy"): Update comment about
40531 exception testing.
40532 (OVERFLOW_EXCEPTION): Define.
40533 (OVERFLOW_EXCEPTION_OK): Likewise.
40534 (INVALID_EXCEPTION_OK): Renumber.
40535 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40536 (IGNORE_ZERO_INF_SIGN): Likewise.
40537 (test_exceptions): Handle FE_OVERFLOW.
40538 (exp10_test): Expect overflow exceptions.
40539 (exp2_test): Likewise.
40540 (expm1_test): Likewise.
40541 (nextafter_test): Likewise.
40542 (pow_test): Likewise.
40543 (scalbn_test): Likewise.
40544 (scalbln_test): Likewise.
40545
95443d88
L
405462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40547
40548 * sysdeps/x86_64/bits/atomic.h
40549 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40550 64bit integer.
40551 (atomic_exchange_acq): Likewise.
40552 (__arch_exchange_and_add_body): Likewise.
40553 (__arch_add_body): Likewise.
40554 (atomic_add_negative): Likewise.
40555 (atomic_add_zero): Likewise.
40556
490df6c4
L
405572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40558
c2722551 40559 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
40560 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40561
5e52b189
L
405622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40563
40564 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40565 Check __x86_64__ instead of __WORDSIZE.
40566
a9879d4c
L
405672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40568
40569 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40570
5df98260
DM
405712012-03-19 David S. Miller <davem@davemloft.net>
40572
e1497744
DM
40573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40574
5df98260
DM
40575 * sysdeps/sparc/fpu/fenv_private.h: New file.
40576 * sysdeps/sparc/fpu/math_private.h: Use it.
40577 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40578 Remove.
57f41c40 40579 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
40580 (libc_feholdexcept_setroundl): Remove.
40581 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40582 Remove.
40583 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40584 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40585
b4c35121
L
405862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40587
40588 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40589 int64_t instead of long int.
40590 (INSERT_WORDS64): Likwise.
40591
56965fd7
L
405922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40593
40594 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40595 _Unwind_GetCFA return to _Unwind_Ptr first.
40596
83d1aec8
JM
405972012-03-19 Joseph Myers <joseph@codesourcery.com>
40598
1897ad44
JM
40599 [BZ #13629]
40600 * math/s_clog.c: Include <float.h>.
40601 (__clog): Scale large or subnormal inputs.
40602 * math/s_clogf.c: Likewise.
40603 * math/s_clogl.c: Likewise.
40604 * math/s_clog10.c: Include <float.h>.
40605 (M_LOG10_2): Define.
40606 (__clog10): Scale large or subnormal inputs.
40607 * math/s_clog10f.c: Likewise.
40608 * math/s_clog10l.c: Likewise.
40609 * math/libm-test.inc (clog_test): Add more tests.
40610 (clog10_test): Likewise.
40611 * sysdeps/i386/fpu/libm-test-ulps: Update.
40612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40613
7726d6a9
JM
40614 [BZ #11451]
40615 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40616 x and y.
40617 * math/libm-test.inc (atan2_test): Add another test.
40618
83d1aec8
JM
40619 * Makerules (common-objdir-compile): Remove.
40620 * sysdeps/unix/Makefile (config-generated): Do not add
40621 $(unix-generated) to variable.
40622 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40623 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40624 Remove rule.
40625 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40626 Likewise.
40627 [generic bits/local_lim.h] (before-compile): Do not append to
40628 variable.
40629 [generic bits/local_lim.h] (common-generated): Likewise.
40630 [generic sys/param.h] (before-compile): Do not append to variable.
40631 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40632 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40633 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40634 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40635 include.
40636 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40637 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40638 [generic sys/param.h] ($(addprefix
40639 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40640 [generic sys/param.h] (common-generated): Do not append to
40641 variable.
40642 [generic sys/param.h] (sysdep_headers): Likewise.
40643 [generic bits/errno.h] (before-compile): Do not append to
40644 variable.
40645 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40646 rule.
40647 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40648 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40649 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40650 [generic bits/errno.h] (common-generated): Do not append to
40651 variable.
40652 [generic bits/ioctls.h] (before-compile): Do not append to
40653 variable.
40654 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40655 rule.
40656 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40657 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40658 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40659 rule.
40660 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40661 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40662 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40663 [generic bits/ioctls.h] (common-generated): Do not append to
40664 variable.
40665 [generic sys/syscall.h] (syscall.h): Remove variable.
40666 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40667 rule.
40668 [generic sys/syscall.h] (before-compile): Do not append to
40669 variable.
40670 [generic sys/syscall.h] (common-generated): Likewise.
40671 * sysdeps/unix/errnos-tmpl.c: Remove file.
40672 * sysdeps/unix/errnos.awk: Likewise.
40673 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40674 * sysdeps/unix/ioctls.awk: Likewise.
40675 * sysdeps/unix/mk-local_lim.c: Likewise.
40676 * sysdeps/unix/snarf-ioctls: Likewise.
40677
4851a949
RH
406782012-03-19 Richard Henderson <rth@twiddle.net>
40679
bd37f2ee
RH
40680 * sysdeps/i386/fpu/fenv_private.h: New file.
40681 * sysdeps/i386/fpu/math_private.h: Use it.
40682 (math_opt_barrier, math_force_eval): Remove.
40683 (libc_feholdexcept_setround_53bit): Remove.
40684 (libc_feupdateenv_53bit): Remove.
40685 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40686 (math_opt_barrier, math_force_eval): Remove.
40687 (libc_feholdexcept): Remove.
40688 (libc_feholdexcept_setround): Remove.
40689 (libc_fetestexcept, libc_fesetenv): Remove.
40690 (libc_feupdateenv_test): Remove.
40691 (libc_feupdateenv, libc_feholdsetround): Remove.
40692 (libc_feresetround): Remove.
40693
d0adc922
RH
40694 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40695 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40696
0fe0f1f8
RH
40697 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40698 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40699 (libc_feupdateenv_testl): New.
40700 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40701 (libc_feupdateenv_testf): New.
40702 (libc_feupdateenv): Use libc_feupdateenv_test.
40703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40704 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40705
eb92c487
RH
40706 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40707 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40708 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40709 (libc_feresetround_noex): New.
40710 (libc_feresetround_noexf): New.
40711 (libc_feresetround_noexl): New.
40712 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40713 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40714 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40715 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40716 SET_RESTORE_ROUND.
40717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40718 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40719 (__cos): Likewise.
40720 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40721 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40722 SET_RESTORE_ROUND_NOEX.
40723 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40724 SET_RESTORE_ROUND_NOEXF.
40725 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40726 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40727 (libc_feholdsetroundf): New.
40728 (libc_feresetround, libc_feresetroundf): New.
40729
7d2e8012
RH
40730 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40731 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40732 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40733
b4dabbb4
RH
40734 * sysdeps/generic/math_private.h: Include <fenv.h>.
40735 (default_libc_feholdexcept): New.
40736 (default_libc_feholdexcept_setround): New.
40737 (default_libc_fesetenv, default_libc_feupdateenv): New.
40738 (libc_feholdexcept): Only define if undefined.
40739 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40740 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40741 (libc_feholdexcept_setroundl): Likewise.
40742 (libc_feholdexcept_setround_53bit): Likewise.
40743 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40744 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40745 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40746 (libc_feupdateenv_53bit): Likewise.
40747 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40748 (libc_feholdexcept): Convert from macro to inline function.
40749 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40750 (libc_fesetenv, libc_feupdateenv): Likewise.
40751
4851a949
RH
40752 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40753 not previously defined.
40754 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40755 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40756 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40757 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40758 * sysdeps/ieee754/flt-32/math_private.h: New file.
40759 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40760 math_private.h below SET_FLOAT_WORD.
40761 (__isnan, __isinf_ns, __finite): Remove.
40762 (__isnanf, __isinf_nsf, __finitef): Remove.
40763
e79d442e
AS
407642012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40765
40766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40767
90b80344
DM
407682012-03-17 David S. Miller <davem@davemloft.net>
40769
40770 [BZ #6471]
40771 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40772 for 2.16.
40773
edc21804
DM
407742012-03-16 David S. Miller <davem@davemloft.net>
40775
77e927af
DM
40776 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40777 warnings.
40778
374976dd
DM
40779 [BZ #6471]
40780 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40781 properly.
40782 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40783 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40784 sysdep_routines when subdir is sysvipc.
40785 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40786 __getshmlba helper.
40787
edc21804
DM
40788 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40789
473c3ef3
L
407902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40791
40792 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40793 [__LP64__].
40794
eb0f39b6
L
407952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40796
40797 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40798 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40799 (__lround): Renamed to ...
40800 (__llround): This. Replace long int with long long int.
40801 Define lround functions as aliases of llround functions.
40802 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40803
6b6cd74b
L
408042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40805
40806 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40807 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40808 adresses to uintptr_t. Replace "long int" and "unsigned long
40809 int" with "greg_t" on va_arg.
40810
f1a77b01
L
408112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40812
40813 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40814 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40815
40816 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40817 Move e_machine check before EI_CLASS check. Handle x32
40818 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40819 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40820 SKIP_EM_IA_64 and include
40821 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40822
40823 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40824 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40825 (add_system_dir): New macro.
40826
40827 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40828 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40829
11b90b9f
JM
408302012-03-16 Joseph Myers <joseph@codesourcery.com>
40831
c36e1d23
JM
40832 [BZ #2551]
40833 [BZ #2552]
40834 [BZ #2553]
40835 [BZ #2554]
40836 [BZ #2562]
40837 [BZ #2563]
40838 [BZ #2565]
40839 [BZ #2566]
40840 [BZ #2576]
40841 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40842 (y0): Likewise.
40843 * math/w_j0f.c (j0f): Likewise.
40844 (y0f): Likewise.
40845 * math/w_j0l.c (__j0l): Likewise.
40846 (__y0l): Likewise.
40847 * math/w_j1.c (j1): Likewise.
40848 (y1): Likewise.
40849 * math/w_j1f.c (j1f): Likewise.
40850 (y1f): Likewise.
40851 * math/w_j1l.c (__j1l): Likewise.
40852 (__y1l): Likewise.
40853 * math/w_jn.c (jn): Likewise.
40854 (yn): Likewise.
40855 * math/w_jnf.c (jnf): Likewise.
40856 (ynf): Likewise.
40857 * math/w_jnl.c (__jnl): Likewise.
40858 (__ynl): Likewise.
40859 * math/libm-test.inc (j0_test): Add more tests.
40860 (j1_test): Likewise.
40861 (jn_test): Likewise. Add trailing semicolon to existing test.
40862 (y0_test): Likewise.
40863 (y1_test): Likewise.
40864 * sysdeps/i386/fpu/libm-test-ulps: Update.
40865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40866
11b90b9f
JM
40867 [BZ #13851]
40868 [BZ #13854]
40869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40870 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40871 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40872 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40873 (__tanl): Set errno for infinite argument.
40874 * sysdeps/i386/fpu/mptan.c: Remove.
40875 * sysdeps/i386/fpu/s_tan.S: Likewise.
40876 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40877 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40878 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40879 * math/libm-test.inc (tan_test): Add more tests and enable more
40880 tests for double and long double.
40881 * sysdeps/i386/fpu/libm-test-ulps: Update.
40882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40883
6a1bd2a1
JK
408842012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40885
40886 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40887 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40888
10a803e0
RM
408892012-03-16 Roland McGrath <roland@hack.frob.com>
40890
40891 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40892 * configure.in: Use it for both main tree and add-ons.
40893 * configure: Regenerated.
40894
f196c7f7
L
408952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40896
40897 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40898
8848d99d
JM
408992012-03-16 Joseph Myers <joseph@codesourcery.com>
40900
96cbe7f4
JM
40901 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40902 in comment.
40903
8848d99d
JM
40904 [BZ #13851]
40905 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40906 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40907 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40909 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40910 infinite argument.
40911 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40912 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40913 != 0 for prec == 2.
40914 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40915 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40916 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40917 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40918 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40919 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40920 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40921 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40922 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40923 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40924 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40925 * math/libm-test.inc (cos_test): Add more tests and enable more
40926 tests for long double.
40927 (sin_test): Likewise.
40928 (sincos_test): Likewise.
40929 * sysdeps/i386/fpu/libm-test-ulps: Update.
40930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40931
dd7f4703
DM
409322012-03-16 David S. Miller <davem@davemloft.net>
40933
40934 * sysdeps/sparc/fpu/math_private.h: New file.
40935
006f1daa
DM
409362012-03-15 David S. Miller <davem@davemloft.net>
40937
c0c83bc8
DM
40938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40939 file.
e6a62e18 40940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
40941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40942 file.
e6a62e18
DM
40943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40949 sysdep routines.
40950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40951
88cb87d9
DM
40952 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40953 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40954
006f1daa 40955 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
40956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40957 sparc-ifunc.h
006f1daa 40958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
40959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40960 Likewise.
40961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40962 Likewise.
006f1daa
DM
40963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
40966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40967 Likewise.
006f1daa
DM
40968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
40972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40973 Likewise.
40974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40975 Likewise.
006f1daa
DM
40976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40982 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40983 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40994 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40995 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40997 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41000
11e0098e
AS
410012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41002
41003 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41004 scaling.
41005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41006
e85b09d0
AJ
410072012-03-15 Andreas Jaeger <aj@suse.de>
41008
41009 [BZ #13852]
41010 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41011 ieee754/flt-32 implementation for sin, cos and sincos.
41012 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41013 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41014 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41015 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41016 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41017 ieee754/flt-32 implementation for tan.
41018
41019 * math/libm-test.inc (cos_test): Enable some large input tests for
41020 float as well
41021 (sin_test): Likewise.
41022 (sincos_test): Likewise.
41023 (tan_test): Add tests for large input.
41024
41025 * sysdeps/i386/fpu/libm-test-ulps: Update.
41026
81c64153
AJ
410272012-03-15 Andreas Jaeger <aj@suse.de>
41028
41029 [BZ #13658]
41030 * math/libm-test.inc (cos_test): Add more test cases.
41031 (sin_test): Likewise.
41032 (sincos_test): Likewise.
41033
7bbfa5c6
AJ
410342012-03-15 Andreas Jaeger <aj@suse.de>
41035
41036 [BZ #13837]
41037 * math/libm-test.inc (cos_test): Add a test case for large input
41038 value.
41039 (sin_test): Likewise.
41040 (sincos_test): Likewise.
41041
57f41c40
AS
410422012-03-15 Andreas Jaeger <aj@suse.de>
41043 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41044
41045 [BZ #13658]
0671f479 41046 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41047 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41048 * sysdeps/i386/fpu/branred.c: Likewise.
41049 * sysdeps/i386/fpu/dosincos.c: Likewise.
41050 * sysdeps/i386/fpu/mpa.c: Likewise.
41051 * sysdeps/i386/fpu/s_cos.S: Likewise.
41052 * sysdeps/i386/fpu/s_sin.S: Likewise.
41053 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41054 * sysdeps/i386/fpu/sincos32.c: Likewise.
41055
41056 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41057 Define.
41058 (libc_feupdateenv_53bit): Define.
41059 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41060 Define.
41061 (libc_feupdateenv_53bit): Define.
41062
41063 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41064 53 bit (without extend i386 double precision).
41065
41066 * math/libm-test.inc (sincos_test): Add tests for large input.
41067 (sin): Likewise.
41068 (cos): Likewise.
41069
41070 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41071
9cad04ea
AS
410722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41073
41074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41075
f7062b9a
DM
410762012-03-15 David S. Miller <davem@davemloft.net>
41077
41078 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41079 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41080 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41081 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41094 file.
f7062b9a 41095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41097 file.
f7062b9a 41098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41100 file.
f7062b9a 41101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
41102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41103 file.
f7062b9a
DM
41104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41105 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41106 fmin/fmax sysdep routines.
41107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41108
7bd951ff
DM
411092012-03-14 David S. Miller <davem@davemloft.net>
41110
559398ab
DM
41111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41116 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41117 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41118 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41120 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41121 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41140 routines.
41141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41142 file.
559398ab 41143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41145 file.
559398ab 41146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41148 file.
559398ab 41149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41151 file.
559398ab 41152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41154 file.
559398ab 41155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41157 file.
41158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41159 file.
41160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41161 file.
41162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41163 file.
41164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41165 New file.
41166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41167 file.
41168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41169 file.
559398ab 41170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41172 file.
559398ab 41173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41175 file.
559398ab 41176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41178 file.
559398ab 41179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41181 VIS3 routines.
559398ab
DM
41182
41183 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41184 New file.
41185
5a1c1e32
DM
41186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41187
eae47a36
DM
41188 * sysdeps/sparc/configure.in: New file.
41189 * sysdeps/sparc/configure: Generate.
41190 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41191 * configure: Regenerate.
41192 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41193 * config.make.in (have-as-vis3): New.
41194 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41195 available use -Av9d instead of -Av9a.
41196 * sysdeps/sparc/sparc64/Makefile: Likewise.
41197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
41198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41199 New file.
41200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41201 file.
41202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41203 New file.
41204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41205 file.
eae47a36
DM
41206 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41209 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41210 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41211
c0c83bc8
DM
41212 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41213 fzeros/fnegs to load 0x80000000 into a float register instead of
41214 using the stack.
7bd951ff
DM
41215 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41216
bd951ccb
JM
412172012-03-14 Joseph Myers <joseph@codesourcery.com>
41218
41219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41220 bits/syscall.h.
41221 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41222 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41223 ($(inst_includedir)/bits/syscall.h): Remove rule.
41224 ($(objpfx)bits/syscall.d): Include instead of
41225 $(objpfx)syscall-list.d.
41226 (generated): Change syscall-list.h and syscall-list.d to
41227 bits/syscall.h and bits/syscall.d.
41228
bb4e6db2
RM
412292012-03-14 Roland McGrath <roland@hack.frob.com>
41230
41231 [BZ #13846]
41232 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41233
aa4a2ae1
JM
412342012-03-14 Joseph Myers <joseph@codesourcery.com>
41235
e456826d
JM
41236 [BZ #13841]
41237 * math/s_csqrt.c: Include <float.h>.
41238 (__csqrt): Scale large or subnormal inputs.
41239 * math/s_csqrtf.c: Likewise.
41240 * math/s_csqrtl.c: Likewise.
41241 * math/libm-test.inc (csqrt_test): Add more tests.
41242 * sysdeps/i386/fpu/libm-test-ulps: Update.
41243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41244
aa4a2ae1
JM
41245 [BZ #13840]
41246 * math/libm-test.inc (hypot_test): Add more tests.
41247
7c10fd35
DM
412482012-03-13 David S. Miller <davem@davemloft.net>
41249
41250 [BZ #13840]
41251 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41252 double-precision for the calculation instead of scaling.
41253
f453b98b
JM
412542012-03-13 Joseph Myers <joseph@codesourcery.com>
41255
41256 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41257 manipulate bits before adding and subtracting TWO52[sx].
41258 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41259 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41260 Likewise.
41261 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41262
09a3453f
DM
412632012-03-13 David S. Miller <davem@davemloft.net>
41264
8e59da90
DM
41265 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41266 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41267 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41268 rtld-global-offsets.h
41269 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41270
2a8ab7f2
DM
41271 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41272 large parameters.
41273
10f62770
DM
41274 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41275
5f0bdb18
DM
41276 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41277 'err' in the ifdef scope in which it is actually used.
41278
09a3453f
DM
41279 * nss/nss_db/db-init.c: Include string.h
41280
b4b2eb5e
DM
412812012-03-12 David S. Miller <davem@davemloft.net>
41282
98bb2f1c
DM
41283 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41284 masking out of the most significant byte of random value used.
41285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41286 Fix coding style in previous change.
41287
b4b2eb5e
DM
41288 * sysdeps/unix/sysv/linux/kernel-features.h
41289 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41290 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41291 expression.
41292 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41293 later.
41294
6e226b09
DM
412952012-03-11 David S. Miller <davem@davemloft.net>
41296
a1bcbd40
DM
41297 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41298 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41299 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41300 for 'resultvar' otherwise things get truncated on 64-bit.
41301
cb9d6174
DM
41302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41303 Fix masking out of the most significant byte of random value used.
41304
6e226b09
DM
41305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41306
058c132d
AS
413072012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41308
41309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41310
2d2cd515
DM
413112012-03-09 David S. Miller <davem@davemloft.net>
41312
41313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41314 variables with appropriate CPP guards.
57f41c40
AS
41315 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41316 from the frame pointer, not the stack pointer. Correct layout
41317 comments. Fix test on resulting framesize and the management of
41318 the outregs buffer for pltexit. Preserve floating point return
41319 values across _dl_call_pltexit call.
2d2cd515
DM
41320 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41321 framesize and the management of the outregs buffer for pltexit.
41322 Preserve floating point return values across _dl_call_pltexit
41323 call.
57f41c40
AS
41324 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41325 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41326 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
41327 (print_exit): Fix format string for return register value.
41328
9a07f9d0
JM
413292012-03-10 Joseph Myers <joseph@codesourcery.com>
41330
41331 * sunrpc/Makefile (others): Add rpcgen.
41332 ($(objpfx)rpcgen): Remove special build rule and dependency on
41333 libc.
41334 * sunrpc/rpcgen.c: New file.
41335
547b5e30
PE
413362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41337
c524201a
PE
41338 [BZ #13673]
41339 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41340 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41341 * sysdeps/i386/crti.S: Likewise.
41342 * sysdeps/i386/crtn.S: Likewise.
41343 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41344 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41345 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41346 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41347 * sysdeps/sh/crti.S: Likewise.
41348 * sysdeps/sh/crtn.S: Likewise.
41349 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41350
7b6235f2
PE
41351 [BZ #13673]
41352 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41353 with URL.
41354 * locale/programs/locfile-kw.gperf: Likewise.
41355 * locale/programs/charmap-kw.h: Regenerated.
41356 * locale/programs/locfile-kw.h: Likewise.
41357
547b5e30
PE
41358 [BZ #13673]
41359 * intl/plural.y: Replace FSF snail mail address with URL.
41360 * intl/plural.c: Regenerated.
41361
5f0a5dae
RH
413622012-03-09 Richard Henderson <rth@twiddle.net>
41363
41364 * include/math_private.h: Remove file.
41365 * math/math_private.h: Move file ...
41366 * sysdeps/generic/math_private.h: ... here.
41367
b8c03620
RH
41368 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41369 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41370 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41371
4e234f5d 41372 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
41373 and <math_private.h>.
41374 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41375 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41376 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41377 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41378 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41379 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41380 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41382 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41383 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41384 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41385 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41386 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41387 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41388 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41389 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41390 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41391 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41392 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41393 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41395 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41396 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41398 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41399 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41400 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41401 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41403 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41404 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41406 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41407 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41408 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41409 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41410 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41411 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41412 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41413 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41414 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41415 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41416 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41417 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41418 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41419 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41420 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41421 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41422 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41423 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41424 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41425 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41426 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41427 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41428 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41429 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41430 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41431 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41432 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41433 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41434 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41435 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41437 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41438 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41439 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41440 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41441 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41442 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41443 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41444 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41445 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41447 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41448 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41449 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41450 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41451 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41452 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41453 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41454 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41455 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41456 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41457 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41458 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41459 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41461 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41462 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41463 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41464 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41465 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41466 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41467 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41468 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41469 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41470 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41471 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41472 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41473 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41474 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41475 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41476 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41477 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41478 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41479 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41480 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41481 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41482 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41483 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41484 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41485 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41486 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41487 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41488 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41489 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41490 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41491 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41492 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41493 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41494 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41495 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41496 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41497 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41498 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41499 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41500 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41501 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41502 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41503 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41504 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41505 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41506 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41507 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41508 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41509 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41510 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41511 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41512 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41513 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41514 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41515 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41516 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41517 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41518 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41519 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41520 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41521 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41522 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41523 * sysdeps/ieee754/k_standard.c: Likewise.
41524 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41525 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41526 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41527 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41528 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41529 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41530 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41531 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41532 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41533 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41534 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41535 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41536 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41537 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41538 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41539 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41540 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41541 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41542 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41543 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41544 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41545 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41546 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41547 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41548 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41549 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41550 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41551 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41552 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41553 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41554 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41555 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41556 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41557 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41558 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41559 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41560 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41561 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41562 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41563 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41564 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41565 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41566 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41567 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41568 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41569 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41570 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41571 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41572 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41573 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41574 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41575 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41576 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41577 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41578 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41579 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41580 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41581 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41582 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41583 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41584 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41585 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41586 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41587 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41588 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41589 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41590 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41591 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41593 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41594 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41596 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41597 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41600 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41601 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41602 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41603 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41604 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41605 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41606 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41607 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41608 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41609 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41610 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41611 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41612 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41613 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41614 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41615 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41616 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41617 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41618 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41619 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41620 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41621 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41622 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41623 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41626 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41627 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41628 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41631 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41632 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41637 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41638 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41639 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41640 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41643 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41646 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41651 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41652 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41653 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41656 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41658 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41665 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41672 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41673 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41674 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41675 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41680 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41681 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41682 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41683 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41684 * sysdeps/ieee754/s_lib_version.c: Likewise.
41685 * sysdeps/ieee754/s_matherr.c: Likewise.
41686 * sysdeps/ieee754/s_signgam.c: Likewise.
41687 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41688 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41689 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41690 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41691 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41692 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41693 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41694 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41695 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41696 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41697 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41698 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41699 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41700 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41701 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41702 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41703 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41704 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41705 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41707 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 41708
1991fa03
JM
417092012-03-09 Joseph Myers <joseph@codesourcery.com>
41710
41711 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41712 * sunrpc/rpc_main.c: Likewise.
41713 * sunrpc/rpc_svcout.c: Likewise.
41714
60d6f5a6
DM
417152012-03-09 David S. Miller <davem@davemloft.net>
41716
41717 * include/math_private.h: New file.
41718
4962050e
JM
417192012-03-09 Joseph Myers <joseph@codesourcery.com>
41720
02a6f887
JM
41721 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41722 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41723 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41724 from <bits/socket_type.h>.
41725 (enum __socket_type): Don't define here.
41726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41728 bits/socket_type.h.
41729
c6e013c1
JM
41730 [BZ #13566]
41731 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41732 checking __USE_GNU.
41733
4962050e
JM
41734 * Makerules ($(inst_includedir)/%.h): New rule.
41735 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41736 (install-others): Remove variable setting.
41737 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41738
38842f45
RH
417392012-03-08 Richard Henderson <rth@twiddle.net>
41740
67bb6da6
RH
41741 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41742 from macro to inline function; merge with the
41743 !__LIBC_INTERNAL_MATH_INLINES version.
41744 (__ieee754_sqrtf): Likewise.
41745
15194b4b
RH
41746 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41747 to inline function.
41748 (__rintf, __floor, __floorf): Likewise.
41749
64e21ede
RH
41750 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41751 macro to inline function.
41752 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41753
38842f45
RH
41754 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41755 not <math/math_private.h>.
41756
c64bf5fe
DM
417572012-03-08 David S. Miller <davem@davemloft.net>
41758
41759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41760 copyright year.
41761 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41762
82d86f28
TS
417632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41764
41765 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41766 normalization.
41767 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41768 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41769
aea5d727
UD
417702012-03-08 Ulrich Drepper <drepper@gmail.com>
41771
41772 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41773 be defined individually, they must be defined as a block. Define
41774 S for printing a string instead of hidint the different by using a
41775 macro for adding the 'l'.
41776 * stdio-common/tst-fphex-wide.c: Adjust.
41777
70bca0a3
MP
417782012-03-07 Marek Polacek <polacek@redhat.com>
41779
41780 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41781
65b81130
MP
417822012-03-08 Marek Polacek <polacek@redhat.com>
41783
41784 [BZ #13806]
41785 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41786 * stdio-common/tst-fphex.c: Define a few macros to make the
41787 test reusable. Use them.
41788 * stdio-common/tst-fphex-wide.c: New file.
41789
07037eeb
JM
417902012-03-08 Joseph Myers <joseph@codesourcery.com>
41791
a7a93d50
JM
41792 [BZ #6911]
41793 * manual/macros.texi (gnusystems): New macro.
41794 (nongnusystems): Likewise.
41795 (gnulinuxhurdsystems): Likewise.
41796 (gnuhurdsystems): Likewise..
41797 (gnulinuxsystems): Likewise.
41798 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41799 variants of the GNU system, not "GNU system".
41800 * manual/conf.texi: Likewise.
41801 * manual/errno.texi: Likewise. Update example of errno macro
41802 expansion.
41803 * manual/filesys.texi: Likewise.
41804 (getumask): Document as specific to GNU/Hurd.
41805 * manual/install.texi: Likewise. Reword some references to
41806 GNU/Linux.
41807 * manual/intro.texi: Likewise.
41808 * manual/io.texi: Likewise.
41809 (File Name Portability): Detail which constraints are inapplicable
41810 to all GNU systems and which are only inapplicable to GNU/Hurd.
41811 * manual/job.texi: Likewise.
41812 * manual/llio.texi: Likewise.
41813 (O_NOCTTY): Document as present on GNU/Linux.
41814 * manual/maint.texi: Likewise.
41815 * manual/memory.texi: Likewise.
41816 * manual/pattern.texi: Likewise.
41817 * manual/pipe.texi: Likewise.
41818 * manual/process.texi: Likewise.
41819 * manual/resource.texi: Likewise.
41820 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41821 child on GNU/Hurd.
41822 * manual/setjmp.texi: Likewise.
41823 * manual/signal.texi: Likewise.
41824 * manual/startup.texi: Likewise.
41825 * manual/stdio.texi: Likewise.
41826 * manual/terminal.texi: Likewise.
41827 (ONLCR): Document as POSIX.
41828 (OXTABS): Document availability on GNU/Linux as XTABS.
41829 (ONOEOT): Document availability separately from other bits.
41830 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41831 * manual/time.texi: Likewise.
41832 * manual/users.texi: Likewise.
41833 * INSTALL: Regenerated.
41834 * sysdeps/gnu/errlist.c: Regenerated.
41835
07037eeb
JM
41836 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41837 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41838 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41839 puts.
41840 * configure: Regenerated.
41841
d1d3431a
JM
418422012-03-07 Joseph Myers <joseph@codesourcery.com>
41843
af6a1e37
JM
41844 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41845 default includes instead of AC_HEADER_CHECK.
41846 * sysdeps/i386/configure: Regenerated.
41847
d1d3431a
JM
41848 [BZ #10716]
41849 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41850 * math/s_cacoshf.c (__cacoshf): Likewise.
41851 * math/s_cacoshl.c (__cacoshl): Likewise.
41852 * math/s_casinh.c (__casinh): Set signs of result from argument.
41853 * math/s_casinhf.c (__casinhf): Likewise.
41854 * math/s_casinhl.c (__casinhl): Likewise.
41855 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41856 (casinh_test): Add more tests.
41857 * sysdeps/i386/fpu/libm-test-ulps: Update.
41858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41859
482ff4da
UD
418602012-03-07 Ulrich Drepper <drepper@gmail.com>
41861
872fda05
UD
41862 * po/zh_TW.po: Update from translation team.
41863
a4300c7a
UD
41864 * login/Makefile (distribute): Remove variable.
41865 * catgets/Makefile: Likewise.
41866 * mach/Makefile: Likewise.
41867 * malloc/Makefile: Likewise.
41868 * misc/Makefile: Likewise.
41869 * iconv/Makefile: Likewise.
41870 * nscd/Makefile: Likewise.
41871 * hurd/Makefile: Likewise.
41872 * manual/Makefile: Likewise.
41873 * locale/Makefile: Likewise.
41874 * intl/Makefile: Likewise.
41875 * conform/Makefile: Likewise.
41876 * nss/Makefile: Likewise.
41877 * time/Makefile: Likewise.
41878 * soft-fp/Makefile: Likewise.
41879 * dirent/Makefile: Likewise.
41880 * gmon/Makefile: Likewise.
41881 * po/Makefile: Likewise.
41882 * rt/Makefile: Likewise.
41883 * socket/Makefile: Likewise.
41884 * math/Makefile: Likewise.
41885 * signal/Makefile: Likewise.
41886 * debug/Makefile: Likewise.
41887 * elf/Makefile: Likewise.
41888 * timezone/Makefile: Likewise.
41889 * stdlib/Makefile: Likewise.
41890 * iconvdata/Makefile: Likewise.
41891 * sunrpc/Makefile: Likewise.
41892 * io/Makefile: Likewise.
41893 * argp/Makefile: Likewise.
41894 * inet/Makefile: Likewise.
41895 * hesiod/Makefile: Likewise.
41896 * grp/Makefile: Likewise.
41897 * csu/Makefile: Likewise.
41898 * wctype/Makefile: Likewise.
41899 * crypt/Makefile: Likewise.
41900 * libio/Makefile: Likewise.
41901 * string/Makefile: Likewise.
41902 * nis/Makefile: Likewise.
41903 * resolv/Makefile: Likewise.
41904 * stdio-common/Makefile: Likewise.
41905 * wcsmbs/Makefile: Likewise.
41906 * dlfcn/Makefile: Likewise.
41907 * posix/Makefile: Likewise.
41908
3b7c4e74 41909 [BZ #6959]
482ff4da
UD
41910 * timezone/Makefile: Don't install timezone files, just the programs
41911 and scripts.
41912
f72ed77d
UD
419132012-03-06 Ulrich Drepper <drepper@gmail.com>
41914
a000466f
UD
41915 * nss/databases.def: Add missing gshadow entry.
41916
f72ed77d
UD
41917 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41918
a53b7a4e
MP
419192012-03-06 Marek Polacek <polacek@redhat.com>
41920
41921 [BZ #13726]
41922 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41923 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41924 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41925 * stdio-common/tst-long-dbl-fphex.c: New file.
41926
e9258400
DM
419272012-03-06 David S. Miller <davem@davemloft.net>
41928
41929 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41930 (set_obp_int): New function.
41931 (get_obp_int): New function.
41932 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
41933 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41934 Avoid unused variable warnings on 'val' and use builtin_expect.
41935 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41936 __builtin_expect.
e9258400
DM
41937 (INLINE_CLONE_SYSCALL): Likewise.
41938
3bd2c723
DM
419392012-03-05 David S. Miller <davem@davemloft.net>
41940
41941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41942
bbb78d03
AS
419432012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41944
884c5db4
AS
41945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41946
bbb78d03
AS
41947 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41948 only for |x| >= 40.
41949 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41950
1c9f702a 419512012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
41952
41953 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41954 Replace gettimeofday with __vdso_gettimeofday.
41955
7be16f82
RM
41956 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41957 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41958 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
41959
41960 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41961 time with __vdso_time.
41962
ed58a00f
JM
419632012-03-05 Joseph Myers <joseph@codesourcery.com>
41964
41965 * manual/lang.texi (size_t): Note types to which size_t may be
41966 equivalent with the GNU C Library, but do not describe when
41967 differences between them are significant.
41968
30ee4ced
AJ
419692012-03-05 Andreas Jaeger <aj@suse.de>
41970
41971 * sysdeps/i386/fpu/libm-test-ulps: Update.
41972
b7cd39e8
JM
419732012-03-05 Joseph Myers <joseph@codesourcery.com>
41974
41975 [BZ #3976]
41976 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41977 (__ieee754_pow): Save and restore rounding mode and use
41978 round-to-nearest for main computations.
41979 * math/libm-test.inc (pow_test_tonearest): New function.
41980 (pow_test_towardzero): Likewise.
41981 (pow_test_downward): Likewise.
41982 (pow_test_upward): Likewise.
41983 (main): Call the new functions.
41984 * sysdeps/i386/fpu/libm-test-ulps: Update.
41985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
41986
41987 [BZ #3976]
41988 * math/libm-test.inc (cosh_test_tonearest): New function.
41989 (cosh_test_towardzero): Likewise.
41990 (cosh_test_downward): Likewise.
41991 (cosh_test_upward): Likewise.
41992 (sinh_test_tonearest): Likewise.
41993 (sinh_test_towardzero): Likewise.
41994 (sinh_test_downward): Likewise.
41995 (sinh_test_upward): Likewise.
41996 (main): Call the new functions.
41997 * sysdeps/i386/fpu/libm-test-ulps: Update.
41998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41999
6c6a98c9
TV
420002012-03-05 Tom de Vries <tom@codesourcery.com>
42001
42002 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42003 default stack guard is set in last bytes.
42004 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42005
21bb2d2e 420062012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42007
21bb2d2e 42008 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42009
21bb2d2e
AJ
42010 [BZ #13656]
42011 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42012 possibly allocate from heap instead of stack.
42013 * stdio-common/bug-vfprintf-nargs.c: New file.
42014 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42015
c6922934
AS
420162012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42017
42018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42019
bc957d53
MP
420202012-03-03 Marek Polacek <polacek@redhat.com>
42021
42022 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42023 * math/math_private.h: Likewise.
42024 * stdlib/tst-strtod.c: Likewise.
42025 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42026 * sysdeps/x86_64/bits/atomic.h: Likewise.
42027
6358490d
DM
420282012-03-02 David S. Miller <davem@davemloft.net>
42029
42030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42034 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42035 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42036 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42037 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42038
01ae168d
RM
420392012-03-02 Roland McGrath <roland@hack.frob.com>
42040
d9a17c07
RM
42041 [BZ #13792]
42042 * manual/examples/README: New file, says the example source files
42043 can be used under GPL>=2.
42044 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42045 line containing just "*/".
42046 * manual/examples/add.c: Add copyright header (GPL>=2).
42047 * manual/examples/argp-ex1.c: Likewise.
42048 * manual/examples/argp-ex2.c: Likewise.
42049 * manual/examples/argp-ex3.c: Likewise.
42050 * manual/examples/argp-ex4.c: Likewise.
42051 * manual/examples/atexit.c: Likewise.
42052 * manual/examples/db.c: Likewise.
42053 * manual/examples/dir.c: Likewise.
42054 * manual/examples/dir2.c: Likewise.
42055 * manual/examples/execinfo.c: Likewise.
42056 * manual/examples/filecli.c: Likewise.
42057 * manual/examples/filesrv.c: Likewise.
42058 * manual/examples/fmtmsgexpl.c: Likewise.
42059 * manual/examples/genpass.c: Likewise.
42060 * manual/examples/inetcli.c: Likewise.
42061 * manual/examples/inetsrv.c: Likewise.
42062 * manual/examples/isockad.c: Likewise.
42063 * manual/examples/longopt.c: Likewise.
42064 * manual/examples/memopen.c: Likewise.
42065 * manual/examples/memstrm.c: Likewise.
42066 * manual/examples/mkfsock.c: Likewise.
42067 * manual/examples/mkisock.c: Likewise.
42068 * manual/examples/mygetpass.c: Likewise.
42069 * manual/examples/pipe.c: Likewise.
42070 * manual/examples/popen.c: Likewise.
42071 * manual/examples/rprintf.c: Likewise.
42072 * manual/examples/search.c: Likewise.
42073 * manual/examples/select.c: Likewise.
42074 * manual/examples/setjmp.c: Likewise.
42075 * manual/examples/sigh1.c: Likewise.
42076 * manual/examples/sigusr.c: Likewise.
42077 * manual/examples/stpcpy.c: Likewise.
42078 * manual/examples/strdupa.c: Likewise.
42079 * manual/examples/strftim.c: Likewise.
42080 * manual/examples/strncat.c: Likewise.
42081 * manual/examples/subopt.c: Likewise.
42082 * manual/examples/swapcontext.c: Likewise.
42083 * manual/examples/termios.c: Likewise.
42084 * manual/examples/testopt.c: Likewise.
42085 * manual/examples/testpass.c: Likewise.
42086 * manual/examples/timeval_subtract.c: Likewise.
42087
01ae168d
RM
42088 [BZ #13792]
42089 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42090 function to ...
42091 * manual/timeval_subtract.c.texi: ... here, new file.
42092
49efa33d
DM
420932012-03-02 David S. Miller <davem@davemloft.net>
42094
42095 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42096
28afd92d
JM
420972012-03-02 Joseph Myers <joseph@codesourcery.com>
42098
804360ed
JM
42099 [BZ #3976]
42100 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42101 (__sin): Save and restore rounding mode and use round-to-nearest
42102 for all computations.
42103 (__cos): Save and restore rounding mode and use round-to-nearest
42104 for all computations.
42105 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42106 <fenv.h>.
42107 (tan): Save and restore rounding mode and use round-to-nearest for
42108 all computations.
42109 * math/libm-test.inc (cos_test_tonearest): New function.
42110 (cos_test_towardzero): Likewise.
42111 (cos_test_downward): Likewise.
42112 (cos_test_upward): Likewise.
42113 (sin_test_tonearest): Likewise.
42114 (sin_test_towardzero): Likewise.
42115 (sin_test_downward): Likewise.
42116 (sin_test_upward): Likewise.
42117 (tan_test_tonearest): Likewise.
42118 (tan_test_towardzero): Likewise.
42119 (tan_test_downward): Likewise.
42120 (tan_test_upward): Likewise.
42121 (main): Call the new functions.
42122 * sysdeps/i386/fpu/libm-test-ulps: Update.
42123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42124
a6d06d7b
JM
42125 [BZ #10135]
42126 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42127 small n, then large n, before computing and testing k+n.
42128 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42130 Likewise.
42131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42132 Likewise.
42133 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42134 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42135 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42136 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42137 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42138 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42139 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42140 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42141 * math/libm-test.inc (scalbn_test): Add more tests.
42142 (scalbln_test): Likewise.
42143
07e12bb3
JM
42144 * manual/filesys.texi (mode_t): Describe constraints on size and
42145 signedness, not exact equivalence to a particular type.
42146 (ino_t): Likewise.
42147 (ino64_t): Likewise.
42148 (dev_t): Likewise.
42149 (nlink_t): Likewise.
42150 (blkcnt_t): Likewise.
42151 (blkcnt64_t): Likewise.
42152 * manual/llio.texi (off_t): Likewise.
42153
28afd92d
JM
42154 [BZ #3976]
42155 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42156 (__ieee754_exp): Save and restore rounding mode and use
42157 round-to-nearest for all computations.
42158 * math/libm-test.inc (exp_test_tonearest): New function.
42159 (exp_test_towardzero): Likewise.
42160 (exp_test_downward): Likewise.
42161 (exp_test_upward): Likewise.
42162 (main): Call the new functions.
42163 * sysdeps/i386/fpu/libm-test-ulps: Update.
42164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42165
b1eeb65d
CD
421662012-03-01 Chris Demetriou <cgd@google.com>
42167
42168 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42169 have predictable order.
42170
53362a4b
DM
421712012-03-01 David S. Miller <davem@davemloft.net>
42172
3c969083
DM
42173 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42174
759707de
DM
42175 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42176 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42177 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42178 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42179
dfdb8ff2
DM
42180 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42181 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42182 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42184 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42185 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42186 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42187 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42188 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42189
ead89f96
DM
42190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42191
7f66bd07
DM
42192 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42193 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42194 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42195
53362a4b
DM
42196 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42197 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42198 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42199 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42200 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42201 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42202 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42203 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42204 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42205 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42206 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42209 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42210 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42212 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42213 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42214 * sysdeps/sparc/elf/configure: Regenerated.
42215
7b1902cb
JM
422162012-03-01 Joseph Myers <joseph@codesourcery.com>
42217
bec039bc
JM
42218 * configure.in (AS, LD): Require binutils 2.20 or later.
42219 * configure: Regenerated.
42220 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42221 as required minimum version.
42222 * INSTALL: Regenerated.
42223
7b1902cb
JM
42224 [BZ #2541]
42225 [BZ #4108]
42226 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42227 before squaring exponent.
42228 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42229 bottom long double and 27 bits of top long double before squaring
42230 exponent.
42231 * math/libm-test.inc (erfc_test): Add more tests.
42232 * sysdeps/i386/fpu/libm-test-ulps: Update.
42233 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42235
f775c276
KT
422362012-03-01 Kai Tietz <ktietz@redhat.com>
42237
42238 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42239 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42240 containing bit-fields.
42241 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42242 * soft-fp/single.h (_FP_UNION_S): Likewise.
42243 * soft-fp/double.h (_FP_UNION_D): Likewise.
42244
5b8a4d4a
JM
422452012-02-29 Joseph Myers <joseph@codesourcery.com>
42246
0bab47b6
JM
42247 [BZ #13786]
42248 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42249 not include ../strcmp.S.
42250 [USE_AS_STRNCASECMP_L]: Likewise.
42251 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42252 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42253 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42254 (__strncasecmp_l_ia32): Define as alias to
42255 __strncasecmp_l_nonascii.
42256
0fcad3e2
JM
42257 [BZ #5794]
42258 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42259 * sysdeps/i386/fpu/libm-test-ulps: Update.
42260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42261
5b8a4d4a
JM
42262 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42264
8fdceb2e
JL
422652012-02-29 Jeff Law <law@redhat.com>
42266
42267 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42268 out of bounds read.
42269
1f393a11
MP
422702012-02-29 Marek Polacek <polacek@redhat.com>
42271
42272 [BZ #13706]
42273 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42274 * elf/Makefile: Add rules to run tst-unused-dep.out.
42275
8847f037
DM
422762012-02-28 David S. Miller <davem@davemloft.net>
42277
42278 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42279 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42280 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42281 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42282 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42283 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42284
169d7f11
JM
422852012-02-29 Joseph Myers <joseph@codesourcery.com>
42286
42287 * math/libm-test.inc (llround_test): Move one test from
42288 lround_test. Use TEST_f_L in moved test.
42289 (lround_test): Move misplaced test to llround_test. Add testcase
42290 from bug 2561.
42291
39adf059
UD
422922012-02-28 Ulrich Drepper <drepper@gmail.com>
42293
42294 * sysdeps/x86_64/fpu/e_expf.S: New file.
42295 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42296
71b5d1c5
SB
422972012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42298
42299 [BZ #13637]
42300 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42301 of remain_len that may cause incomplete multi-byte character and
42302 false match.
42303 * posix/bug-regex33.c: New file.
42304 * posix/Makefile (tests): Add bug-regex33.
42305
1f77f049
JM
423062012-02-28 Joseph Myers <joseph@codesourcery.com>
42307
42308 * manual/macros.texi: New file.
42309 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42310 * manual/libc.texinfo: Include macros.texi.
42311 * manual/creatute.texi: Likewise.
42312 * manual/install.texi: Likewise.
42313 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42314 @glibcadj{} in references to the GNU C Library.
42315 * manual/charset.texi: Likewise.
42316 * manual/conf.texi: Likewise.
42317 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42318 when not using those macros.
42319 * manual/creature.texi: Likewise.
42320 * manual/crypt.texi: Likewise.
42321 * manual/errno.texi: Likewise.
42322 * manual/filesys.texi: Likewise.
42323 * manual/header.texi: Likewise.
42324 * manual/install.texi: Likewise.
42325 * manual/intro.texi: Likewise.
42326 * manual/io.texi: Likewise.
42327 * manual/job.texi: Likewise.
42328 * manual/lang.texi: Likewise.
42329 * manual/libc.texiinfo: Likewise.
42330 * manual/llio.texi: Likewise.
42331 * manual/locale.texi: Likewise.
42332 * manual/maint.texi: Likewise.
42333 * manual/math.texi: Likewise.
42334 * manual/memory.texi: Likewise.
42335 * manual/message.texi: Likewise.
42336 * manual/nss.texi: Likewise.
42337 * manual/pattern.texi: Likewise.
42338 * manual/process.texi: Likewise.
42339 * manual/resource.texi: Likewise.
42340 * manual/search.texi: Likewise.
42341 * manual/setjmp.texi: Likewise.
42342 * manual/signal.texi: Likewise.
42343 * manual/socket.texi: Likewise.
42344 * manual/startup.texi: Likewise.
42345 * manual/stdio.texi: Likewise.
42346 * manual/string.texi: Likewise.
42347 * manual/sysinfo.texi: Likewise.
42348 * manual/syslog.texi: Likewise.
42349 * manual/terminal.texi: Likewise.
42350 * manual/time.texi: Likewise.
42351 * manual/users.texi: Likewise.
42352 * INSTALL: Regenerated.
42353 * NOTES: Regenerated.
d40c5d54 42354 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 42355
450bf206
AS
423562012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42357
42358 * include/dirent.h: Include <dirstream.h> before
42359 <dirent/dirent.h>.
42360
741a235b
DM
423612012-02-28 David S. Miller <davem@davemloft.net>
42362
42363 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42364 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42365 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42366 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42367
d6b5aa58
DM
423682012-02-27 David S. Miller <davem@davemloft.net>
42369
1aff59a3
DM
42370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42372 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42373 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42374
d6b5aa58
DM
42375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42376 frame pointer instead of stack pointer relative arg slot.
42377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42378 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42379 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42380
433f48bf
CD
423812012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42382
42383 [BZ #3992]
42384 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42385
d674b76d
DM
423862012-02-27 David S. Miller <davem@davemloft.net>
42387
42388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42392 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42393 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42394 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42395 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42396
0e7727f7
JM
423972012-02-27 Joseph Myers <joseph@codesourcery.com>
42398
42399 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42400 later. Allow versions 5-9.
43be4ca2 42401 * configure: Regenerated.
0e7727f7
JM
42402 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42403 required minimum version and 4.6 as recommended version. Do not
42404 mention bugs in GCC 2.7 and 2.8.
43be4ca2 42405 * INSTALL: Regenerated.
0e7727f7 42406
a78bc654
DM
424072012-02-27 David S. Miller <davem@davemloft.net>
42408
428d5830
DM
42409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42413 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42414 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42415 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42416 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42417
a78bc654
DM
42418 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42419 manipulate bits before adding and subtracting TWO112[sx].
42420 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42421
4579f81c
RM
424222012-02-27 Roland McGrath <roland@hack.frob.com>
42423
36c8acb4
RM
42424 [BZ #13775]
42425 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42426 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42427 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42428 being in POSIX, because they are in 1003.1-2008.
42429
84ad622b
RM
42430 * rt/tst-aio.c: Include <fcntl.h>.
42431 * rt/tst-aio7.c: Likewise.
42432 * rt/tst-aio64.c: Likewise.
42433
4579f81c
RM
42434 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42435
abd923db
JM
424362012-02-27 Joseph Myers <joseph@codesourcery.com>
42437
42438 * manual/install.texi (--with-headers): Describe headers as
42439 interface headers, not private headers.
42440 (Specific advice for GNU/Linux systems): Describe use of headers
42441 from "make headers_install", not private headers from older
42442 kernels.
43be4ca2 42443 * INSTALL: Regenerated.
abd923db
JM
42444 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42445 Change to 2.6.19.
42446 * sysdeps/unix/sysv/linux/configure: Regenerated.
42447
6664049b
JM
42448 * manual/llio.texi (fclean): Remove documentation.
42449
bb8b6697
JM
42450 * manual/Makefile (libc-texi-generated): New variable. Include
42451 version.texi.
42452 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42453 $(libc-texi-generated), not duplicated list of files.
42454 (version.texi, stamp-version): New rules.
42455 (realclean): Remove $(libc-texi-generated), not individual files
42456 from that list. Do not remove dir-add.texinfo.
42457 * manual/libc.texinfo: Comment out uses of edition numbers and
42458 references to printed manual. Remove last-updated dates.
42459 (EDITION): Comment out.
42460 (ISBN): Likewise.
42461 (VERSION, UPDATED): Remove.
42462 (version.texi): Include.
42463
12e5c3b9
AS
424642012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42465
42466 * sysdeps/posix/spawni.c: Include <signal.h>.
42467 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42468 * sysdeps/pthread/aio_fsync.c: Likewise.
42469
4efeffc1 424702012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 42471
ba63ba08
UD
42472 * conform/Makefile (tests): Run only when not cross-compiling and
42473 when fast-check is not defined.
42474
d94a4670
UD
42475 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42476 * conform/data/limits.h-data: Fixes for POSIX2008.
42477 * conform/run-conformtest.sh: Run all tests.
42478 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42479 headers.
42480 * include/bits/dlfcn.h: Likewise.
42481 * include/langinfo.h: Likewise.
42482 * include/monetary.h: Likewise.
42483 * include/sys/poll.h: Likewise.
42484
42485 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42486 for __USE_GNU.
42487 * posix/spawn.h: Define __need_sigset_t.
42488 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42489 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42490 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42491 to get sigevent_t only.
42492 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42493 only for __USE_GNU.
42494 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42495 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42496 process_vm_writev only for __USE_GNU.
42497 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
42498
42499 * conform/Makefile: For now ignore errors from run-conformtest.
42500 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42501 POSIX to avoid namespace pollution. Don't prepend headers.
42502 * conform/data/aio.h-data: Fixes for POSIX testing.
42503 * conform/data/fcntl.h-data: Likewise.
42504 * conform/data/glob.h-data: Likewise.
42505 * conform/data/grp.h-data: Likewise.
42506 * conform/data/pthread.h-data: Likewise.
42507 * conform/data/pwd.h-data: Likewise.
42508 * conform/data/signal.h-data: Likewise.
42509 * conform/data/spawn.h-data: Likewise.
42510 * conform/data/stdio.h-data: Likewise.
42511 * conform/data/stdlib.h-data: Likewise.
42512 * conform/data/stropts.h-data: Likewise.
42513 * conform/data/sys/mman.h-data: Likewise.
42514 * conform/data/sys/stat.h-data: Likewise.
42515 * conform/data/sys/types.h-data: Likewise.
42516 * conform/data/sys/wait.h-data: Likewise.
42517 * conform/data/time.h-data: Likewise.
42518 * conform/data/unistd.h-data: Likewise.
42519 * conform/data/utime.h-data: Likewise.
42520
42521 * io/sys/stat.h: fchmod was always in POSIX.
42522 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42523 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42524 * rt/aio.h: Define __need_timespec before including <time.h>.
42525 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42526 struct. Add forward declaration of pthread_attr_t and use it in
42527 sigevent.
42528 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42529 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42530 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42531 always remove CLK_TCK definition.
42532
c20105c3
AS
425332012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42534
42535 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42536
7a270350
UD
425372012-02-25 Ulrich Drepper <drepper@gmail.com>
42538
31341567
UD
42539 * conform/run-conformtest.sh: New file.
42540 * conform/Makefile: Run run-conformtest for tests.
42541 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42542 support.
42543
42544 * conform/data/uchar.h-data: New file.
42545 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42546 * conform/data/arpa/inet.h-data: Likewise.
42547 * conform/data/assert.h-data: Likewise.
42548 * conform/data/complex.h-data: Likewise.
42549 * conform/data/cpio.h-data: Likewise.
42550 * conform/data/ctype.h-data: Likewise.
42551 * conform/data/dirent.h-data: Likewise.
42552 * conform/data/dlfcn.h-data: Likewise.
42553 * conform/data/errno.h-data: Likewise.
42554 * conform/data/fcntl.h-data: Likewise.
42555 * conform/data/float.h-data: Likewise.
42556 * conform/data/fmtmsg.h-data: Likewise.
42557 * conform/data/fnmatch.h-data: Likewise.
42558 * conform/data/ftw.h-data: Likewise.
42559 * conform/data/glob.h-data: Likewise.
42560 * conform/data/grp.h-data: Likewise.
42561 * conform/data/iconv.h-data: Likewise.
42562 * conform/data/inttypes.h-data: Likewise.
42563 * conform/data/langinfo.h-data: Likewise.
42564 * conform/data/libgen.h-data: Likewise.
42565 * conform/data/limits.h-data: Likewise.
42566 * conform/data/locale.h-data: Likewise.
42567 * conform/data/math.h-data: Likewise.
42568 * conform/data/monetary.h-data: Likewise.
42569 * conform/data/mqueue.h-data: Likewise.
42570 * conform/data/ndbm.h-data: Likewise.
42571 * conform/data/net/if.h-data: Likewise.
42572 * conform/data/netdb.h-data: Likewise.
42573 * conform/data/netinet/in.h-data: Likewise.
42574 * conform/data/nl_types.h-data: Likewise.
42575 * conform/data/poll.h-data: Likewise.
42576 * conform/data/pthread.h-data: Likewise.
42577 * conform/data/pwd.h-data: Likewise.
42578 * conform/data/regex.h-data: Likewise.
42579 * conform/data/sched.h-data: Likewise.
42580 * conform/data/search.h-data: Likewise.
42581 * conform/data/semaphore.h-data: Likewise.
42582 * conform/data/setjmp.h-data: Likewise.
42583 * conform/data/signal.h-data: Likewise.
42584 * conform/data/spawn.h-data: Likewise.
42585 * conform/data/stdarg.h-data: Likewise.
42586 * conform/data/stdio.h-data: Likewise.
42587 * conform/data/stdlib.h-data: Likewise.
42588 * conform/data/string.h-data: Likewise.
42589 * conform/data/strings.h-data: Likewise.
42590 * conform/data/stropts.h-data: Likewise.
42591 * conform/data/sys/ipc.h-data: Likewise.
42592 * conform/data/sys/mman.h-data: Likewise.
42593 * conform/data/sys/msg.h-data: Likewise.
42594 * conform/data/sys/resource.h-data: Likewise.
42595 * conform/data/sys/select.h-data: Likewise.
42596 * conform/data/sys/sem.h-data: Likewise.
42597 * conform/data/sys/shm.h-data: Likewise.
42598 * conform/data/sys/socket.h-data: Likewise.
42599 * conform/data/sys/stat.h-data: Likewise.
42600 * conform/data/sys/statvfs.h-data: Likewise.
42601 * conform/data/sys/time.h-data: Likewise.
42602 * conform/data/sys/timeb.h-data: Likewise.
42603 * conform/data/sys/times.h-data: Likewise.
42604 * conform/data/sys/types.h-data: Likewise.
42605 * conform/data/sys/uio.h-data: Likewise.
42606 * conform/data/sys/un.h-data: Likewise.
42607 * conform/data/sys/utsname.h-data: Likewise.
42608 * conform/data/sys/wait.h-data: Likewise.
42609 * conform/data/syslog.h-data: Likewise.
42610 * conform/data/tar.h-data: Likewise.
42611 * conform/data/termios.h-data: Likewise.
42612 * conform/data/utime.h-data: Likewise.
42613 * conform/data/utmpx.h-data: Likewise.
42614 * conform/data/varargs.h-data: Likewise.
42615 * conform/data/wchar.h-data: Likewise.
42616 * conform/data/wctype.h-data: Likewise.
42617 * conform/data/wordexp.h-data: Likewise.
42618
42619 * include/stropts.h: New file.
42620 * include/uchar.h: New file.
42621 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42622 * include/assert.h: Likewise.
42623 * include/ctype.h: Likewise.
42624 * include/dirent.h: Likewise.
42625 * include/dlfcn.h: Likewise.
42626 * include/fcntl.h: Likewise.
42627 * include/fnmatch.h: Likewise.
42628 * include/glob.h: Likewise.
42629 * include/grp.h: Likewise.
42630 * include/libio.h: Likewise.
42631 * include/locale.h: Likewise.
42632 * include/math.h: Likewise.
42633 * include/net/if.h: Likewise.
42634 * include/netdb.h: Likewise.
42635 * include/netinet/in.h: Likewise.
42636 * include/pthread.h: Likewise.
42637 * include/pwd.h: Likewise.
42638 * include/regex.h: Likewise.
42639 * include/sched.h: Likewise.
42640 * include/search.h: Likewise.
42641 * include/setjmp.h: Likewise.
42642 * include/signal.h: Likewise.
42643 * include/stdio.h: Likewise.
42644 * include/stdlib.h: Likewise.
42645 * include/string.h: Likewise.
42646 * include/sys/cdefs.h: Likewise.
42647 * include/sys/mman.h: Likewise.
42648 * include/sys/msg.h: Likewise.
42649 * include/sys/resource.h: Likewise.
42650 * include/sys/select.h: Likewise.
42651 * include/sys/socket.h: Likewise.
42652 * include/sys/stat.h: Likewise.
42653 * include/sys/statvfs.h: Likewise.
42654 * include/sys/time.h: Likewise.
42655 * include/sys/times.h: Likewise.
42656 * include/sys/uio.h: Likewise.
42657 * include/sys/utsname.h: Likewise.
42658 * include/sys/wait.h: Likewise.
42659 * include/termios.h: Likewise.
42660 * include/time.h: Likewise.
42661 * include/ulimit.h: Likewise.
42662 * include/unistd.h: Likewise.
42663 * include/utime.h: Likewise.
42664 * include/wchar.h: Likewise.
42665 * include/wctype.h: Likewise.
42666 * include/wordexp.h: Likewise.
42667
42668 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42669
7a270350
UD
42670 * time/time.h: TIME_UTC must be a macro.
42671 Make timespec_get available for ISO C11 only as well.
42672
7724defc
UD
426732012-02-24 Ulrich Drepper <drepper@gmail.com>
42674
42675 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42676 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42677
6b1d1d46
JM
426782012-02-24 Joseph Myers <joseph@codesourcery.com>
42679
42680 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 42681
0f8bbd69
JM
426822012-02-24 Joseph Myers <joseph@codesourcery.com>
42683
42684 * manual/texinfo.tex: Update to version 2012-01-19.16.
42685
66ab80bc
JM
426862012-02-24 Joseph Myers <joseph@codesourcery.com>
42687
42688 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42689
74981cc5
RM
426902012-02-24 Roland McGrath <roland@hack.frob.com>
42691
ee968201
RM
42692 [BZ #13738]
42693 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42694 * manual/fdl-1.3.texi: New file.
42695 * manual/fdl-1.1.texi: File removed.
42696
74981cc5
RM
42697 [BZ #13738]
42698 * manual/libc.texinfo (FDL_VERSION): New @set.
42699 Use it for mention of FDL in cover text.
42700 (Documentation License): Use it in @include file name.
42701
7bb764bc
JM
427022012-02-22 Joseph Myers <joseph@codesourcery.com>
42703 Roland McGrath <roland@hack.frob.com>
42704
42705 [BZ #5461]
57f41c40
AS
42706 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42707 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
42708 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42709 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42710 name.
42711 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42712
6cbeae47
JM
427132012-02-22 Joseph Myers <joseph@codesourcery.com>
42714
42715 [BZ #2547]
42716 [BZ #11365]
42717 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42718 manipulate bits before adding and subtracting TWO23[sx].
42719 * math/libm-test.inc (nearbyint_test): Add more tests.
42720
fe45ce09
JM
427212012-02-22 Joseph Myers <joseph@codesourcery.com>
42722
42723 [BZ #2548]
42724 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42725 bits before adding and subtracting TWO23[sx].
42726 * math/libm-test.inc (rint_test): Add more tests.
42727 (rint_test_tonearest): Likewise.
42728 (rint_test_towardzero): Likewise.
42729 (rint_test_downward): Likewise.
42730 (rint_test_upward: Likewise.
42731
ff3b3d82
JM
427322012-02-22 Joseph Myers <joseph@codesourcery.com>
42733
42734 [BZ #10110]
42735 * include/stdc-predef.h: New file. Extracted from features.h.
42736 * include/features.h: Include stdc-predef.h.
42737 * Makefile (headers): Add stdc-predef.h.
42738 * CONFORMANCE (Compiler limitations): Update.
42739
ef0aab35
JM
427402012-02-22 Joseph Myers <joseph@codesourcery.com>
42741
42742 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42743
58639409
DM
427442012-02-21 David S. Miller <davem@davemloft.net>
42745
42746 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42747 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42748
c0e70b25
DM
427492012-02-20 David S. Miller <davem@davemloft.net>
42750
42751 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42752 using a normal save/restore sequence, rather than allocating a
42753 dummy stack frame just to store a frame pointer and restore.
42754 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42755
fb06851d
JM
427562012-02-21 Joseph Myers <joseph@codesourcery.com>
42757
42758 * manual/install.texi: Fix stray word in line-wrapped comment.
42759
7a8b71c3
DM
427602012-02-20 David S. Miller <davem@davemloft.net>
42761
d510c123
DM
42762 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42763 both binutils and gcc support GOTDATA.
42764
0722d7c2
DM
42765 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42766 "rd %pc" in the PIC register setup sequences.
42767
3d2b3019
DM
42768 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42769 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42770 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42771 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42772 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42774 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42775 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42777 (SYSCALL_ERROR_HANDLER): Likewise.
42778 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42779 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42780 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42781 (SYSCALL_ERROR_HANDLER): Likewise.
42782
c80098a9
DM
42783 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42784 (HAVE_GCC_GOTDATA): New.
42785 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42786 relocation support in both binutils and gcc.
42787 * sysdeps/sparc/elf/configure: Regenerate.
42788
3a2545a0
DM
42789 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42790 * sysdeps/sparc/sparc32/elf/configure: Delete.
42791 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42792 * sysdeps/sparc/sparc64/elf/configure: Delete.
42793 * sysdeps/sparc/elf/configure.in: New file.
42794 * sysdeps/sparc/elf/configure: Generate.
42795
7a8b71c3
DM
42796 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42797 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42798 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42799 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42800 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42801
f1e86fca
JM
428022012-02-21 Joseph Myers <joseph@codesourcery.com>
42803
42804 * manual/install.texi: Do not mention specific glibc version
42805 numbers.
42806 * manual/libc.texinfo (VERSION, UPDATED): Update.
42807 (@copying): Use @copyright{} and range of years.
42808
0e7dfaef
JM
428092012-02-21 Joseph Myers <joseph@codesourcery.com>
42810
42811 [BZ #13695]
42812 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42813 [crti.S not in sysdirs] (generated): Do not append.
42814 [crti.S not in sysdirs] (omit-deps): Likewise.
42815 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42816 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42817 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42818 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42819 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42820 Likewise.
42821 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42822 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42823 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42824 * csu/defs.awk: Remove file.
42825 * sysdeps/generic/initfini.c: Likewise.
42826 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42827 variable.
42828 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42829 Likewise.
42830
599af3ca
JM
428312012-02-20 Joseph Myers <joseph@codesourcery.com>
42832
42833 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42834 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42835 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42836 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42837 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42838 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42839 <bits/epoll.h>.
42840 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42841 (__EPOLL_PACKED): Define to empty if not defined by
42842 <bits/epoll.h>.
42843 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42845 bits/epoll.h.
42846
0e499750
JM
428472012-02-20 Joseph Myers <joseph@codesourcery.com>
42848
42849 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42850 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42851 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42852 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42853 <bits/timerfd.h>.
42854 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42856 bits/timerfd.h.
42857
5ad91f6e
JM
428582012-02-20 Joseph Myers <joseph@codesourcery.com>
42859
42860 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42861 in C locale.
42862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42863 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42864 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42866
06b99b02
AJ
428672012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42868
42869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42870 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42871
7638c0fd
AS
428722012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42873
42874 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42875 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42876 defined.
42877 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42878 Likewise.
42879 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42880 entry for 2.16.
42881
92221550
AJ
428822012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42883
42884 * math/w_acos.c: Use non-signaling floating-point comparisons.
42885 * math/w_acosf.c: Likewise.
42886 * math/w_acosh.c: Likewise.
42887 * math/w_acoshf.c: Likewise.
42888 * math/w_acoshl.c: Likewise.
42889 * math/w_acosl.c: Likewise.
42890 * math/w_asin.c: Likewise.
42891 * math/w_asinf.c: Likewise.
42892 * math/w_asinl.c: Likewise.
42893 * math/w_atanh.c: Likewise.
42894 * math/w_atanhf.c: Likewise.
42895 * math/w_atanhl.c: Likewise.
42896 * math/w_exp2.c: Likewise.
42897 * math/w_exp2f.c: Likewise.
42898 * math/w_exp2l.c: Likewise.
42899 * math/w_j0.c: Likewise.
42900 * math/w_j0f.c: Likewise.
42901 * math/w_j0l.c: Likewise.
42902 * math/w_j1.c: Likewise.
42903 * math/w_j1f.c: Likewise.
42904 * math/w_j1l.c: Likewise.
42905 * math/w_jn.c: Likewise.
42906 * math/w_jnf.c: Likewise.
42907 * math/w_log.c: Likewise.
42908 * math/w_log10.c: Likewise.
42909 * math/w_log10f.c: Likewise.
42910 * math/w_log10l.c: Likewise.
42911 * math/w_log2.c: Likewise.
42912 * math/w_log2f.c: Likewise.
42913 * math/w_log2l.c: Likewise.
42914 * math/w_logf.c: Likewise.
42915 * math/w_logl.c: Likewise.
42916 * math/w_sqrt.c: Likewise.
42917 * math/w_sqrtf.c: Likewise.
42918 * math/w_sqrtl.c: Likewise.
42919 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42920 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42921 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42922 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42923 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42924
ebaf36eb
JM
429252012-02-19 Joseph Myers <joseph@codesourcery.com>
42926
42927 [BZ #9739]
42928 * manual/string.texi (strnlen): Use correct parameter name in
42929 equivalent expression.
42930
71c254a6
JM
429312012-02-19 Joseph Myers <joseph@codesourcery.com>
42932
42933 [BZ #11174]
42934 * manual/users.texi (seteuid): Consistently use neweuid for
42935 argument name.
42936
16d2c631
JM
429372012-02-19 Joseph Myers <joseph@codesourcery.com>
42938
42939 [BZ #13704]
42940 * manual/nss.texi (Services in the NSS configuration): Correct
42941 list of services in example configuration file.
42942
cd837b09
NB
429432012-02-19 Nick Bowler <nbowler@draconx.ca>
42944
42945 [BZ #11322]
42946 * manual/arith.texi: Remove statements about negative zero
42947 behaving identically to zero.
42948
02c4bbad
JM
429492012-02-18 Joseph Myers <joseph@codesourcery.com>
42950
42951 [BZ #5993]
42952 * manual/install.texi: Do not document upgrading from libc5.
42953
366842e7
JM
429542012-02-18 Joseph Myers <joseph@codesourcery.com>
42955
42956 [BZ #4596]
42957 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42958
dd54084d
DM
429592012-02-18 David S. Miller <davem@davemloft.net>
42960
42961 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42962 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42963 %o7 across the call.
42964 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42965 instead.
42966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42967 SETUP_PIC_REG_LEAF.
42968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42969 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42970 * sysdeps/sparc/crtn.S: Likewise.
42971
2bcc53a3
UD
429722012-02-17 Ulrich Drepper <drepper@gmail.com>
42973
42974 * aout/Makefile: Remove.
42975
09c093b5
RK
429762012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42977
42978 [BZ #13058]
42979 * manual/examples/argp-ex1.c (main): Format definition in GNU
42980 style.
42981 * manual/examples/argp-ex2.c (main): Likewise.
42982 * manual/examples/argp-ex3.c (main): Likewise.
42983 * manual/examples/argp-ex4.c (main): Likewise.
42984 * manual/examples/longopt.c (main): Use new-style prototype
42985 definition.
42986 * manual/examples/strncat.c (main): Specify return type and use
42987 (void) for arguments.
42988 * manual/examples/subopt.c (main): Use char **argv argument.
42989
2ee633a2
JM
429902012-02-17 Joseph Myers <joseph@codesourcery.com>
42991
42992 [BZ #5077]
42993 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42994 rounding modes.
42995
0520adde
FB
429962012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42997
42998 [BZ #6907]
42999 * manual/string.texi (strchr): Change when strchrnul is
43000 recommended.
43001
3f4081cd
DGM
430022012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43003
43004 [BZ #174]
43005 * manual/locale.texi (setlocale): Document LOCPATH.
43006
d1b10e78
JM
430072012-02-17 Joseph Myers <joseph@codesourcery.com>
43008
43009 [BZ #10210]
43010 * manual/process.texi (execle): Move @dots{} before last argument.
43011
79c6869c
PB
430122012-02-17 Paul Bolle <pebolle@tiscali.nl>
43013
43014 [BZ #12047]
43015 * manual/charset.texi (Generic Charset Conversion): Fix typo
43016 (LC_TYPE -> LC_CTYPE).
43017
cc6e48bc
NB
430182012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43019
43020 [BZ #5805]
43021 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43022 (scalbnf): Likewise.
43023 (scalbnl): Likewise.
43024 (scalbln): Likewise.
43025 (scalblnf): Likewise.
43026 (scalblnl): Likewise.
43027 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43028 (vwarnx): Likewise.
43029 (verr): Likewise.
43030 (verrx): Likewise.
43031 * manual/filesys.texi (telldir): Use braces around return type.
43032 * manual/llio.texi (mmap): Add space after comma.
43033 (mmap64): Likewise.
43034 * manual/math.texi (jn): Use @var{} on parameter names.
43035 (jnf): Likewise.
43036 (jnl): Likewise.
43037 (yn): Likewise.
43038 (ynf): Likewise.
43039 (ynl): Likewise.
43040 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43041 line.
43042 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43043 "...".
43044 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43045 (sched_get_priority_max): Likewise.
43046 * manual/signal.texi (sigvec): Add space after comma.
43047 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43048 names.
43049 (if_indextoname): Likewise.
43050 (if_freenameindex): Likewise.
43051 (sendto): Use ',' instead of '.' in prototype.
43052 * manual/startup.texi (syscall): Use @dots{} instead of literal
43053 "...".
43054 * manual/stdio.texi (__fpending): Separate initial words of
43055 paragraph from @deftypefun line.
43056 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43057 "...".
43058 (vsyslog): Use @var{} on parameter names.
43059 * manual/terminal.texi (stty): Use @var{} on parameter names.
43060 * manual/users.texi (getutmp): Use @var{} on parameter names.
43061 (getutmpx): Likewise.
43062
5b23062f
JM
430632012-02-17 Joseph Myers <joseph@codesourcery.com>
43064
43065 [BZ #6884]
43066 * manual/stdio.texi (fopen): Fix typos in description of
43067 ",ccs=STRING".
43068
8dee4833
AJ
430692012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43070
43071 [BZ #4026]
43072 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43073 get clock_id definition.
43074
9078ce93
TS
430752012-02-17 Thomas Schwinge <thomas@schwinge.name>
43076
43077 [BZ #4822]
43078 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43079 (madvise): Cast every argument to void on its own.
43080
3835c55f
JM
430812012-02-17 Joseph Myers <joseph@codesourcery.com>
43082
43083 [BZ #9902]
43084 * manual/startup.texi (Exit Status): Fix typo.
43085
35c47e37
JM
430862012-02-17 Joseph Myers <joseph@codesourcery.com>
43087
43088 [BZ #10140]
43089 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43090 * manual/examples/argp-ex2.c: Likewise.
43091 * manual/examples/argp-ex3.c: Likewise.
43092
e3b69ca7
RH
430932012-02-16 Richard Henderson <rth@redhat.com>
43094
43095 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43096 * sysdeps/s390/s390-32/initfini.c: Remove.
43097 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43098 * sysdeps/s390/s390-64/initfini.c: Remove.
43099
df83af67
KK
431002012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43101
43102 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43103 compiler output for sysdeps/generic/initfini.c.
43104 * sysdeps/sh/elf/initfini.c: Remove file.
43105
f63f3380
DM
431062012-02-16 David S. Miller <davem@davemloft.net>
43107
fb59b3a4
DM
43108 [BZ #11494]
43109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43110
f63f3380
DM
43111 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43112 * sysdeps/sparc/crti.S: New file.
43113 * sysdeps/sparc/crtn.S: New file.
43114 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43115 * sysdeps/sparc/sparc64/Makefile: Likewise.
43116
df6a4a4a
MF
431172012-02-15 Mike Frysinger <vapier@gentoo.org>
43118
6dd8f3dc 43119 [BZ #3335]
df6a4a4a
MF
43120 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43121
1cac7236
RM
431222012-02-15 Roland McGrath <roland@hack.frob.com>
43123
d2c736f8
RM
43124 [BZ #4822]
43125 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43126
1cac7236
RM
43127 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43128 (write, read, close): Likewise.
43129 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43130
8e475601
JM
431312012-02-15 Joseph Myers <joseph@codesourcery.com>
43132
43133 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43134 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43135 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43136 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43137 <bits/signalfd.h>.
43138 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43140 bits/signalfd.h.
43141
ed656b40
MP
431422012-02-14 Marek Polacek <polacek@redhat.com>
43143
43144 * sysdeps/x86_64/crti.S: New file.
43145 * sysdeps/x86_64/crtn.S: New file.
43146 * sysdeps/x86_64/elf/initfini.c: Remove file.
43147
2a979d3a
JM
431482012-02-13 Joseph Myers <joseph@codesourcery.com>
43149
43150 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43151 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43152 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43153 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43154 <bits/inotify.h>.
43155 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43157 bits/inotify.h.
43158
2a418ac3
JM
431592012-02-13 Joseph Myers <joseph@codesourcery.com>
43160
43161 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43162 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43163 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43164 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43165 <bits/eventfd.h>.
43166 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43168 bits/eventfd.h.
43169
fb779be7
TS
431702012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43171
e19e83c5
RM
43172 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43173 __feraiseexcept instead of feraiseexcept.
7c35ffed 43174
fb779be7
TS
43175 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43176 nanosleep invocations.
43177 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43178 strings, and add error checking for a nanosleep invocations.
43179
59ba27a6
PE
431802012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43181
43182 Replace FSF snail mail address with URLs, as per GNU coding standards.
43183 Most of the snail mail addresses were wrong anyway, and omitting
43184 them makes the source code easier to maintain. Almost all of the
43185 changes are to license notices and to locale LC_IDENTIFICATION
43186 addresses, except for this one:
43187 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43188 not its snail mail address.
43189
57b957eb
RH
431902012-02-09 Richard Henderson <rth@twiddle.net>
43191
af850b1c
RH
43192 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43193 of kernel-features.h.
43194
57b957eb
RH
43195 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43196
6b73181a
MP
431972012-02-08 Marek Polacek <polacek@redhat.com>
43198
43199 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43200 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43201 * sysdeps/gnu/_G_config.h: Likewise.
43202 * sysdeps/generic/_G_config.h: Likewise.
43203
26ecc33a
AS
432042012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43205
6c6dbc63
AS
43206 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43207 tests.
43208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43209
e216c012
AS
43210 * sysdeps/powerpc/powerpc32/crti.S: New file.
43211 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43212 * sysdeps/powerpc/powerpc64/crti.S: New file.
43213 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43214
26ecc33a
AS
43215 * Makeconfig (have-initfini): Don't set.
43216 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43217 * configure.in (nopic_initfini): Don't substitute.
43218 * config.h.in (HAVE_INITFINI): Don't #undef.
43219 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43220 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43221
3add8e13
JM
432222012-02-08 Joseph Myers <joseph@codesourcery.com>
43223
43224 Support crti.S and crtn.S provided directly by architectures.
43225 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43226 [crti.S in sysdirs] (omit-deps): Likewise.
43227 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43228 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43229 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43230 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43231 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43232 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43233 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43234 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43235 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43236 compiler output for sysdeps/generic/initfini.c.
43237 * sysdeps/i386/elf/Makefile: Remove file.
43238 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43239
a22f12b4
MP
432402012-02-07 Marek Polacek <polacek@redhat.com>
43241
43242 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43243 * sysdeps/gnu/_G_config.h: Likewise.
43244 * sysdeps/mach/hurd/_G_config.h: Likewise.
43245
148cf100
MP
432462012-02-07 Marek Polacek <polacek@redhat.com>
43247
43248 * math/Makefile (tests): Add tst-CMPLX2.
43249 * math/tst-CMPLX2.c: New file.
43250
cfdc0dd7
AS
432512012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43252
84ba42c4
AS
43253 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43254
cfdc0dd7
AS
43255 * math/libm-test.inc (jn_test): Add missing L suffix.
43256
622c86f4
MP
432572012-02-06 Marek Polacek <polacek@redhat.com>
43258
43259 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43260 * sysdeps/i386/fpu/e_powf.S: Likewise.
43261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43262 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43263 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43264 * sysdeps/i386/fpu/e_pow.S: Likewise.
43265 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43266 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43267 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43268 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43269 * sysdeps/i386/fpu/e_log2.S: Likewise.
43270 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43272 * sysdeps/i386/fpu/e_powl.S: Likewise.
43273 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43274 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43275 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43276 * sysdeps/i386/fpu/e_logl.S: Likewise.
43277 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43278 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43279 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43280 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43281 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43282 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43283 * sysdeps/i386/fpu/e_log.S: Likewise.
43284 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43285 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43286 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43287 * sysdeps/i386/fpu/e_logf.S: Likewise.
43288 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43289 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43290 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43291 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43292 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43293 * sysdeps/i386/fpu/e_log10.S: Likewise.
43294 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43295 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43296 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43297 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43298 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43299 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43300 * sysdeps/i386/asm-syntax.h: Likewise.
43301 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43302 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43303 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43304 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43305 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43306 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43307 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43308 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43309 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43310 * sysdeps/powerpc/sysdep.h: Likewise.
43311 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43312 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43313
d4a54ac6
JM
433142012-02-06 Joseph Myers <joseph@codesourcery.com>
43315
43316 [BZ #411]
43317 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43318
314054ea
JM
433192012-02-06 Joseph Myers <joseph@codesourcery.com>
43320
43321 * sysdeps/i386/sysdep.h: Include <features.h>.
43322 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43323 version.
43324
d8e0ca50
JM
433252012-02-05 Joseph Myers <joseph@codesourcery.com>
43326
43327 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43328 Define.
43329 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43330 LOAD_PIC_REG_STR.
43331
b1da7dd9
JM
433322012-02-03 Joseph Myers <joseph@codesourcery.com>
43333
43334 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43335 (SETUP_PIC_REG): Use GET_PC_THUNK.
43336 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43337 macro.
43338
9a1d9254
JM
433392012-02-03 Joseph Myers <joseph@codesourcery.com>
43340
43341 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43342 for non-PIC compilation.
43343 (SETUP_PIC_REG): Add .p2align directive.
43344 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43345 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43346 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43347 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43348 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43349 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43350 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43351 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43352 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43353 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43354 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43355 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43356 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43357 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43358 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43359 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43360 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43361 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43362 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43363 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43364 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43365 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43366 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43367 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43368 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43370 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43372 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43373 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43374 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43375 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43376 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43377 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43378 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43379 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43380 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43381 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43382 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43383 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43384 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43385
65dc3b75
JM
433862012-02-03 Joseph Myers <joseph@codesourcery.com>
43387
43388 * math/tst-CMPLX.c: Include <stdio.h>.
43389
d55bf177
JM
433902012-01-31 Joseph Myers <joseph@codesourcery.com>
43391
43392 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43393 float.
43394 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43395 * sysdeps/sparc/bits/mathdef.h: Likewise.
43396
69db4f8f
MP
433972012-01-31 Marek Polacek <polacek@redhat.com>
43398
43399 * libio/libio.h: Don't define _PARAMS.
43400 * locale/programs/config.h: Don't define PARAMS.
43401 * stdlib/strtol_l.c: Likewise.
43402 (__strtol_l): Remove PARAMS from the prototype.
43403
41b81892
UD
434042012-01-31 Ulrich Drepper <drepper@gmail.com>
43405
3b49edc0
UD
43406 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43407 names. Just use the correct names. Remove unnecessary wrapper
43408 functions.
43409 * malloc/arena.c: Likewise.
43410 * malloc/hooks.c: Likewise.
43411
41b81892
UD
43412 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43413 ARENA_TEST says not to. Simplify test for creation of a new arena.
43414 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43415
27a25b6e
UD
434162012-01-30 Ulrich Drepper <drepper@gmail.com>
43417
43418 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43419 into tail calls.
43420 (update_get_addr): New function.
43421 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43422 GET_ADDR_MODULE parameter.
43423
c8a89e7d
JM
434242012-01-30 Joseph Myers <joseph@codesourcery.com>
43425
43426 * crypt/cert.c: Remove __STDC__ conditionals.
43427 * crypt/crypt-entry.c: Likewise.
43428 * crypt/crypt_util.c: Likewise.
43429 * libio/filedoalloc.c: Likewise.
43430 * libio/fileops.c: Likewise.
43431 * libio/genops.c: Likewise.
43432 * libio/iofclose.c: Likewise.
43433 * libio/iofdopen.c: Likewise.
43434 * libio/iofopen.c: Likewise.
43435 * libio/iofopen64.c: Likewise.
43436 * libio/iogetdelim.c: Likewise.
43437 * libio/iopopen.c: Likewise.
43438 * libio/obprintf.c: Likewise.
43439 * libio/oldfileops.c: Likewise.
43440 * libio/oldiofclose.c: Likewise.
43441 * libio/oldiofdopen.c: Likewise.
43442 * libio/oldiofopen.c: Likewise.
43443 * libio/oldiopopen.c: Likewise.
43444 * libio/wfiledoalloc.c: Likewise.
43445 * libio/wgenops.c: Likewise.
43446 * locale/programs/xmalloc.c: Likewise.
43447 * misc/syslog.c: Likewise.
43448 * stdio-common/xbug.c: Likewise.
43449 * string/memchr.c: Likewise.
43450 * string/memcmp.c: Likewise.
43451 * string/memrchr.c: Likewise.
43452 * string/rawmemchr.c: Likewise.
43453 * sysdeps/posix/getcwd.c: Likewise.
43454 * time/strftime_l.c: Likewise.
43455
3b100462
JM
434562012-01-30 Joseph Myers <joseph@codesourcery.com>
43457
43458 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
43459 * config.make.in (config-cflags-sse2avx): Define.
43460 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43461 Fix typo.
43462
607998af
CM
434632012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43464
43465 * scripts/config.guess: Update from upstream config git repository.
43466 * scripts/config.sub: Likewise.
43467
3601428f
CM
434682012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43469
3ac8b282
CM
43470 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43471 (EM_NUM): Update.
43472 (R_TILEPRO_*, R_TILEGX_*): New macros.
43473
e034841e
CM
43474 * scripts/firstversions.awk: Fix bug in version range handling.
43475
540d7568
CM
43476 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43477
3601428f
CM
43478 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43479
463de862
CM
43480 * include/sys/epoll.h: New file.
43481 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43482 libc_hidden_def.
43483
73139a76
UD
434842012-01-28 Ulrich Drepper <drepper@gmail.com>
43485
96bc5b45
UD
43486 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43487 Avoid unnecessary __WORDSIZE == 64 test.
43488 (fmaxf): Use VEX format if possible.
43489 (fmax): Likewise.
43490 (fminf): Likewise.
43491 (fmin): Likewise.
43492
56f6f6a2
UD
43493 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43494 * math/math_private.h: Remove libc_fegetround* and
43495 libc_fesetround*.
43496 * sysdeps/i386/configure.in: Check for -msse2avx.
43497 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43498 also if SSE2AVX is defined.
43499 Remove libc_fegetround* and libc_fesetround*.
43500 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43501 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43502 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43503 of HAS_YMM_USABLE.
43504 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43505 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43506 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43507 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43508 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43509
73139a76
UD
43510 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43511
d73f93a4
AZ
435122012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43513
43514 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43515 size is not set.
43516 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43517
6ee65ed6
UD
435182012-01-27 Ulrich Drepper <drepper@gmail.com>
43519
43520 [BZ #13618]
43521 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43522 relocation.
43523 * Makeconfig (libm): Define.
43524 * elf/Makefile: Add rules to build and run tst-relsort1.
43525 * elf/tst-relsort1.c: New file.
43526 * elf/tst-relsort1mod1.c: New file.
43527 * elf/tst-relsort1mod2.c: New file.
43528
8db21882
JM
435292012-01-27 Joseph Myers <joseph@codesourcery.com>
43530
43531 * math/s_ldexp.c: Remove __STDC__ conditionals.
43532 * math/s_ldexpf.c: Likewise.
43533 * math/s_ldexpl.c: Likewise.
43534 * math/s_nextafter.c: Likewise.
43535 * math/s_nexttowardf.c: Likewise.
43536 * math/s_significand.c: Likewise.
43537 * math/s_significandf.c: Likewise.
43538 * math/s_significandl.c: Likewise.
43539 * math/w_jnl.c: Likewise.
43540 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43541 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43542 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43543 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43544 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43545 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43546 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43547 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43548 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43552 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43553 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43554 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43555 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43556 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43559 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43560 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43561 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43562 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43564 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43565 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43566 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43567 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43568 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43569 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43570 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43571 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43572 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43573 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43574 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43575 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43576 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43577 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43578 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43579 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43580 * sysdeps/ieee754/k_standard.c: Likewise.
43581 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43582 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43583 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43584 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43585 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43586 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43587 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43588 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43589 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43590 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43591 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43592 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43593 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43594 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43595 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43596 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43597 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43598 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43599 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43600 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43601 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43602 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43603 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43604 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43605 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43606 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43609 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43610 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43611 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43612 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43613 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43614 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43615 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43616 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43617 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43618 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43619 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43620 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43621 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43622 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43623 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43624 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43626 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43627 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43630 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43631 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43634 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43635 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43636 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43637 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43638 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43639 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43640 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43641 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43642 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43643 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43644 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43645 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43646 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43647 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43648 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43649 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43650 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43651 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43652 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43653 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43654 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43655 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43656 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43657 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43658 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43659 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43660 * sysdeps/ieee754/s_matherr.c: Likewise.
43661 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43662 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43665
965a54a4
JM
436662012-01-26 Joseph Myers <joseph@codesourcery.com>
43667
43668 * crypt/md5.h: Remove __STDC__ conditionals.
43669 * libio/libioP.h: Likewise.
43670 * locale/programs/config.h: Likewise.
43671 * sysdeps/generic/sysdep.h: Likewise.
43672 * sysdeps/i386/asm-syntax.h: Likewise.
43673 * sysdeps/s390/asm-syntax.h: Likewise.
43674 * sysdeps/unix/sysdep.h: Likewise.
43675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43677
7071ad79
JM
436782012-01-26 Joseph Myers <joseph@codesourcery.com>
43679
43680 * libio/libio.h: Remove __STDC__ conditionals.
43681 * malloc/obstack.h: Likewise.
43682 * math/complex.h: Likewise.
43683 * math/math.h: Likewise.
43684 * sysdeps/generic/_G_config.h: Likewise.
43685 * sysdeps/gnu/_G_config.h: Likewise.
43686 * sysdeps/mach/hurd/_G_config.h: Likewise.
43687 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43688 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43689 * sysdeps/sparc/bits/mathdef.h: Likewise.
43690
afc5ed09
UD
436912012-01-26 Ulrich Drepper <drepper@gmail.com>
43692
43693 [BZ #13583]
43694 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 43695 Clean up HAS_* macros.
afc5ed09 43696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
43697 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43698 possible.
43699 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43700 HAS_AVX.
43701 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43702 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43703 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43704 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43705 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 43706
bdb6de1d
JM
437072012-01-25 Joseph Myers <joseph@codesourcery.com>
43708
43709 * elf/tst-unique3.cc (gets): Remove declaration.
43710 * elf/tst-unique3lib.cc (gets): Likewise.
43711 * elf/tst-unique3lib2.cc (gets): Likewise.
43712 * elf/tst-unique4.cc (gets): Likewise.
43713
b15549e6
UD
437142012-01-24 Ulrich Drepper <drepper@gmail.com>
43715
43716 * include/stdio.h: Add C++ protection. Add gets declarations and
43717 definitions.
43718 * debug/tst-chk1.c: Don't declare gets here.
43719 * stdio-common/tst-gets.c: Likewise.
43720
a037381f
JM
437212012-01-24 Joseph Myers <joseph@codesourcery.com>
43722
43723 * posix/glob: Remove directory.
43724
f1d4aa75
JM
437252012-01-24 Joseph Myers <joseph@codesourcery.com>
43726
43727 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43728
81c0c964
PT
437292012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43730
43731 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43732 of the non-standard EPFNOSUPPORT.
43733
0ea698ae
ST
437342011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43735
43736 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43737 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43738 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43739
d220b117
UD
437402012-01-21 Ulrich Drepper <drepper@gmail.com>
43741
43742 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43743
3e1aa84e
UD
437442012-01-20 Ulrich Drepper <drepper@gmail.com>
43745
43746 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43747 transient errors.
43748 * nscd/grpcache.c (cache_addgr): Likewise.
43749 * nscd/hstcache.c (cache_addhst): Likewise.
43750 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43751 * nscd/pwdcache.c (cache_addpw): Likewise.
43752 * nscd/servicescache.c (cache_addserv): Likewise.
43753
400aa020
UD
437542012-01-16 Ulrich Drepper <drepper@gmail.com>
43755
d77e7869
UD
43756 * malloc/malloc.c: Various cleanups.
43757 * malloc/hooks.c: Likewise.
43758
400aa020
UD
43759 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43760 * stdlib/bug-fmtmsg1.c: New file.
43761
43762 * stdlib/fmtmsg.c (init): Add missing unlock.
43763 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43764
e0a309cf
MP
437652012-01-12 Marek Polacek <polacek@redhat.com>
43766
43767 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43768 and _GNU_SOURCE.
43769
929d11c7
WS
437702012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43771
43772 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43773 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43774 macro to ensure uniqueness of label name.
43775 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43776 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43777
41d0e869
UD
437782012-01-11 Ulrich Drepper <drepper@gmail.com>
43779
0cc5ed3b
UD
43780 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43781
41d0e869
UD
43782 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43783 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43784 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43786
a47a831a
UD
437872012-01-10 Ulrich Drepper <drepper@gmail.com>
43788
daa891c0
UD
43789 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43790
43791 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43792 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43793 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43794
e58ef0f2
UD
43795 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43796
a47a831a 43797 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
43798 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43799 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 43800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
43801
43802 * math/bits/math-finite.h: Add ldexp support.
43803
a0bfc9c7
MP
438042012-01-10 Marek Polacek <polacek@redhat.com>
43805
43806 * locale/programs/localedef.h (show_archive_content): Add noreturn
43807 attribute.
43808
d6e97a1d
UD
438092012-01-09 Ulrich Drepper <drepper@gmail.com>
43810
43811 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43812
d5835c26
UD
438132012-01-08 Ulrich Drepper <drepper@gmail.com>
43814
e5f484c6
UD
43815 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43816
d5835c26
UD
43817 * io/Makefile (headers): Add bits/poll2.h.
43818
d1f741e9
WS
438192011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43820
43821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43822 typo #include statement.
43823
ec09c1c4
UD
438242012-01-08 Ulrich Drepper <drepper@gmail.com>
43825
43826 * include/sys/cdefs.h: Define __attribute_alloc_size.
43827 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43828 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43829 * elf/pldd.c: Likewise.
43830 * iconv/iconv_charmap.c: Likewise.
43831 * iconv/iconvconfig.c: Likewise.
43832 * iconv/strtab.c: Likewise.
43833 * locale/programs/locale.c: Likewise.
43834 * locale/programs/localedef.h: Likewise.
43835 * locale/programs/simple-hash.c: Likewise.
43836 * nscd/nscd.h: Likewise.
43837 * nss/makedb.c: Likewise.
43838 * sysdeps/generic/ldconfig.h: Likewise.
43839 * locale/programs/localedef.c: Remove xmalloc prototype.
43840 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43841
20b38e03
PP
438422012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43843
43844 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43845 appropriate.
43846
a0da5fe1
UD
438472012-01-08 Ulrich Drepper <drepper@gmail.com>
43848
1d5a644a 43849 * math/Makefile (tests): Add tst-CMPLX.
669704fd 43850 * math/tst-CMPLX.c: New file.
1d5a644a 43851
8784a6db
UD
43852 * math/complex.h (CMPLXL): Fix typo.
43853
d9a216c0
UD
43854 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43855 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43856 GLIBC_2.16.
43857 * debug/tst-chk1.c: Add poll and ppoll tests.
43858 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43859 * include/sys/poll.h: Add hidden proto for ppoll.
43860 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43861 * sysdeps/mach/hurd/ppoll.c: Likewise.
43862 * io/ppoll.c: Likewise.
43863 * debug/poll_chk.c: New file.
43864 * debug/ppoll_chk.c: New file.
43865 * include/bits/poll2.h: New file.
43866 * io/bits/poll2.h: New file.
43867
ac097f5c
UD
43868 [BZ #1350]
43869 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43870
2119dcfa
UD
43871 * configure.in: static is always set to yes. Remove.
43872 * config.make.in: Don't set build-static.
43873 * Makeconfig: Remove use of build-static.
43874 * dlfcn/Makefile: Likewise.
43875 * elf/Makefile: Likewise.
43876 * math/Makefile: Likewise.
43877 * misc/Makefile: Likewise.
43878 * nptl/Makefile: Likewise.
43879 * sysdeps/mach/hurd/Makefile: Likewise.
43880
121766a9
UD
43881 * configure.in: PWD_P is not used anymore.
43882 * config.make.in: Remove PWD_P entry.
43883
51a1d39c 43884 * configure.in: Remove last remnants of RANLIB.
8720d066 43885 No need to check for signed size_t anymore.
215f4bdc
UD
43886 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43887 and IA-64.
3857022a 43888 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
43889 * aclocal.m4: Likewise.
43890
d3ed7225
UD
43891 * wcsmbs/mbrtoc16.c: Implement using towc function.
43892 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43893 * wcsmbs/wcsmbsload.c: Likewise.
43894 * iconv/gconv_simple.c: Likewise.
43895 * iconv/gconv_int.h: Likewise.
43896 * iconv/gconv_builtin.h: Likewise.
43897 * iconv/iconv_prog.c: Remove CHAR16 handling.
43898
43899 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43900
43901 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43902
a0da5fe1
UD
43903 * configure.in: Remove --with-elf and --enable-bounded options.
43904 Dont set base_machine for ia64. More non-ELF conditions removed.
43905 Remove testing and setting of leading underscore information.
43906 * config.make.in (build-bounded): Set to no.
43907 * config.h.in: Remove NO_UNDERSCORES entry.
43908 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43909 them.
43910 * csu/start.c: Remove !NO_UNDERSCORE code.
43911 * locale/localeinfo.h: Likewise.
43912 * sysdeps/generic/machine-gmon.h: Likewise.
43913 * sysdeps/generic/sysdep.h: Likewise.
43914 * sysdeps/i386/sysdep.h: Likewise.
43915 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43916 * sysdeps/mach/sysdep.h: Likewise.
43917 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43918 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43919 * sysdeps/sh/sysdep.h: Likewise.
43920 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43921 * sysdeps/unix/i386/sysdep.S: Likewise.
43922 * sysdeps/unix/sparc/start.c: Likewise.
43923 * sysdeps/unix/sparc/sysdep.S: Likewise.
43924 * sysdeps/unix/sparc/sysdep.h: Likewise.
43925 * sysdeps/unix/start.c: Likewise.
43926 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43927 * sysdeps/x86_64/sysdep.h: Likewise.
43928
df78418a
UD
439292012-01-07 Ulrich Drepper <drepper@gmail.com>
43930
a784e502
UD
43931 [BZ #13553]
43932 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43933 for non-gcc.
43934 * argp/argp-fmtstream.h: Use const instead __const.
43935 * argp/argp.h: Likewise.
43936 * assert/assert.h: Likewise.
43937 * bits/fenv.h: Likewise.
43938 * bits/sched.h: Likewise.
43939 * bits/sigset.h: Likewise.
43940 * bits/sigthread.h: Likewise.
43941 * catgets/nl_types.h: Likewise.
43942 * conform/data/pthread.h-data: Likewise.
43943 * crypt/crypt-private.h: Likewise.
43944 * crypt/crypt.h: Likewise.
43945 * crypt/crypt_util.c: Likewise.
43946 * ctype/ctype.h: Likewise.
43947 * debug/execinfo.h: Likewise.
43948 * debug/mbsnrtowcs_chk.c: Likewise.
43949 * debug/mbsrtowcs_chk.c: Likewise.
43950 * debug/wcsnrtombs_chk.c: Likewise.
43951 * debug/wcsrtombs_chk.c: Likewise.
43952 * debug/wcstombs_chk.c: Likewise.
43953 * dirent/dirent.h: Likewise.
43954 * dlfcn/dlfcn.h: Likewise.
43955 * elf/neededtest4.c: Likewise.
43956 * grp/grp.h: Likewise.
43957 * gshadow/gshadow.h: Likewise.
43958 * iconv/gconv.h: Likewise.
43959 * iconv/gconv_int.h: Likewise.
43960 * iconv/gconv_simple.c: Likewise.
43961 * iconv/iconv.h: Likewise.
43962 * iconv/loop.c: Likewise.
43963 * iconv/skeleton.c: Likewise.
43964 * include/aio.h: Likewise.
43965 * include/aliases.h: Likewise.
43966 * include/argz.h: Likewise.
43967 * include/arpa/inet.h: Likewise.
43968 * include/assert.h: Likewise.
43969 * include/dirent.h: Likewise.
43970 * include/dlfcn.h: Likewise.
43971 * include/execinfo.h: Likewise.
43972 * include/fcntl.h: Likewise.
43973 * include/fenv.h: Likewise.
43974 * include/glob.h: Likewise.
43975 * include/grp.h: Likewise.
43976 * include/libintl.h: Likewise.
43977 * include/mntent.h: Likewise.
43978 * include/netdb.h: Likewise.
43979 * include/pwd.h: Likewise.
43980 * include/rpc/netdb.h: Likewise.
43981 * include/sched.h: Likewise.
43982 * include/search.h: Likewise.
43983 * include/shadow.h: Likewise.
43984 * include/signal.h: Likewise.
43985 * include/stdio.h: Likewise.
43986 * include/stdlib.h: Likewise.
43987 * include/string.h: Likewise.
43988 * include/sys/socket.h: Likewise.
43989 * include/sys/stat.h: Likewise.
43990 * include/sys/statfs.h: Likewise.
43991 * include/sys/statvfs.h: Likewise.
43992 * include/sys/syslog.h: Likewise.
43993 * include/sys/time.h: Likewise.
43994 * include/sys/uio.h: Likewise.
43995 * include/time.h: Likewise.
43996 * include/unistd.h: Likewise.
43997 * include/utmp.h: Likewise.
43998 * include/wchar.h: Likewise.
43999 * include/wctype.h: Likewise.
44000 * inet/aliases.h: Likewise.
44001 * inet/arpa/inet.h: Likewise.
44002 * inet/netinet/ether.h: Likewise.
44003 * inet/netinet/in.h: Likewise.
44004 * intl/libintl.h: Likewise.
44005 * io/bits/fcntl2.h: Likewise.
44006 * io/fcntl.h: Likewise.
44007 * io/ftw.h: Likewise.
44008 * io/sys/poll.h: Likewise.
44009 * io/sys/stat.h: Likewise.
44010 * io/sys/statfs.h: Likewise.
44011 * io/sys/statvfs.h: Likewise.
44012 * io/utime.h: Likewise.
44013 * libio/bits/stdio.h: Likewise.
44014 * libio/bits/stdio2.h: Likewise.
44015 * libio/libio.h: Likewise.
44016 * libio/libioP.h: Likewise.
44017 * libio/stdio.h: Likewise.
44018 * locale/lc-ctype.c: Likewise.
44019 * locale/locale.h: Likewise.
44020 * login/utmp.h: Likewise.
44021 * malloc/arena.c: Likewise.
44022 * malloc/malloc.c: Likewise.
44023 * malloc/malloc.h: Likewise.
44024 * malloc/mcheck.c: Likewise.
44025 * malloc/mtrace.c: Likewise.
44026 * math/bits/mathcalls.h: Likewise.
44027 * math/fenv.h: Likewise.
44028 * math/math_private.h: Likewise.
44029 * misc/bits/error.h: Likewise.
44030 * misc/bits/syslog.h: Likewise.
44031 * misc/err.h: Likewise.
44032 * misc/error.h: Likewise.
44033 * misc/fstab.h: Likewise.
44034 * misc/mntent.h: Likewise.
44035 * misc/regexp.h: Likewise.
44036 * misc/search.h: Likewise.
44037 * misc/sgtty.h: Likewise.
44038 * misc/sys/mman.h: Likewise.
44039 * misc/sys/syslog.h: Likewise.
44040 * misc/sys/uio.h: Likewise.
44041 * misc/sys/xattr.h: Likewise.
44042 * misc/ttyent.h: Likewise.
44043 * nis/rpcsvc/ypclnt.h: Likewise.
44044 * nss/nss.h: Likewise.
44045 * posix/bits/unistd.h: Likewise.
44046 * posix/fnmatch.h: Likewise.
44047 * posix/glob.h: Likewise.
44048 * posix/sched.h: Likewise.
44049 * posix/spawn.h: Likewise.
44050 * posix/sys/wait.h: Likewise.
44051 * posix/unistd.h: Likewise.
44052 * posix/wordexp.h: Likewise.
44053 * pwd/pwd.h: Likewise.
44054 * resolv/netdb.h: Likewise.
44055 * resource/sys/resource.h: Likewise.
44056 * rt/aio.h: Likewise.
44057 * rt/bits/mqueue2.h: Likewise.
44058 * rt/mqueue.h: Likewise.
44059 * shadow/shadow.h: Likewise.
44060 * signal/signal.h: Likewise.
44061 * socket/send.c: Likewise.
44062 * socket/sendto.c: Likewise.
44063 * socket/sys/socket.h: Likewise.
44064 * stdio-common/printf.h: Likewise.
44065 * stdlib/bits/stdlib.h: Likewise.
44066 * stdlib/fmtmsg.h: Likewise.
44067 * stdlib/monetary.h: Likewise.
44068 * stdlib/stdlib.h: Likewise.
44069 * stdlib/ucontext.h: Likewise.
44070 * streams/stropts.h: Likewise.
44071 * string/argz.h: Likewise.
44072 * string/bits/string2.h: Likewise.
44073 * string/string.h: Likewise.
44074 * string/strings.h: Likewise.
44075 * sunrpc/rpc/auth.h: Likewise.
44076 * sunrpc/rpc/auth_des.h: Likewise.
44077 * sunrpc/rpc/clnt.h: Likewise.
44078 * sunrpc/rpc/netdb.h: Likewise.
44079 * sunrpc/rpc/pmap_clnt.h: Likewise.
44080 * sunrpc/rpc/xdr.h: Likewise.
44081 * sysdeps/generic/inttypes.h: Likewise.
44082 * sysdeps/generic/net/if.h: Likewise.
44083 * sysdeps/generic/sys/swap.h: Likewise.
44084 * sysdeps/gnu/net/if.h: Likewise.
44085 * sysdeps/gnu/utmpx.h: Likewise.
44086 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44087 * sysdeps/i386/i486/bits/string.h: Likewise.
44088 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44089 * sysdeps/s390/bits/string.h: Likewise.
44090 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44091 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44092 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44093 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44094 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44095 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44096 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44097 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44098 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44099 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44100 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44101 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44102 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44103 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44104 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44105 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44106 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44108 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44111 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44112 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44113 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44114 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44115 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44116 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44117 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44118 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44119 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44120 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44121 * sysvipc/sys/ipc.h: Likewise.
44122 * sysvipc/sys/msg.h: Likewise.
44123 * sysvipc/sys/sem.h: Likewise.
44124 * sysvipc/sys/shm.h: Likewise.
44125 * termios/termios.h: Likewise.
44126 * time/sys/time.h: Likewise.
44127 * time/time.h: Likewise.
44128 * wcsmbs/bits/wchar2.h: Likewise.
44129 * wcsmbs/uchar.h: Likewise.
44130 * wcsmbs/wchar.h: Likewise.
44131 * wctype/wctype.h: Likewise.
44132
0269750c
UD
44133 [BZ #13551]
44134 * Makeconfig: Remove all but ELF support including AIX support.
44135 * Makerules: Likewise.
44136 * config.h.in: Likewise.
44137 * config.make.in: Likewise.
44138 * configure: Likewise.
44139 * configure.in: Likewise.
44140 * csu/Makefile: Likewise.
44141 * csu/version.c: Likewise.
44142 * debug/Makefile: Likewise.
44143 * dlfcn/Makefile: Likewise.
44144 * elf/Makefile: Likewise.
44145 * extra-lib.mk: Likewise.
44146 * iconv/Makefile: Likewise.
44147 * include/libc-symbols.h: Likewise.
44148 * include/shlib-compat.h: Likewise.
44149 * resolv/Makefile: Likewise.
44150 * resolv/res_libc.c: Likewise.
44151 * rt/Makefile: Likewise.
44152 * sysdeps/i386/asm-syntax.h: Likewise.
44153 * sysdeps/i386/sysdep.h: Likewise.
44154 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44155 * sysdeps/mach/sysdep.h: Likewise.
44156 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44157 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44158 * sysdeps/s390/asm-syntax.h: Likewise.
44159 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44160 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44161 * sysdeps/sh/sysdep.h: Likewise.
44162 * sysdeps/unix/sparc/sysdep.h: Likewise.
44163 * sysdeps/wordsize-32/divdi3.c: Likewise.
44164 * sysdeps/x86_64/sysdep.h: Likewise.
44165
00bbd29b
UD
44166 * argp/Versions: Remove _argp_unlock_xxx.
44167
44168 [BZ #13559]
44169 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44170 * abilist/libBrokenLocale.abilist: Likewise.
44171 * abilist/libanl.abilist: Likewise.
44172 * abilist/libc.abilist: Likewise.
44173 * abilist/libcrypt.abilist: Likewise.
44174 * abilist/libdl.abilist: Likewise.
44175 * abilist/libm.abilist: Likewise.
44176 * abilist/libnsl.abilist: Likewise.
44177 * abilist/libpthread.abilist: Likewise.
44178 * abilist/libresolv.abilist: Likewise.
44179 * abilist/librt.abilist: Likewise.
44180 * abilist/libthread_db.abilist: Likewise.
44181 * abilist/libutil.abilist: Likewise.
44182 * abilist/libnss_db.abilist: New file.
44183
44184 * scripts/abilist.awk: Add support for indirect functions.
44185
a2693a0e
UD
44186 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44187
3f05895f
UD
44188 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44189
ecb6fb48
UD
44190 * shlib-versions: Remove entries for ports architectures.
44191
664f8cb9
UD
44192 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44193 files in ports.
44194 * elf/stackguard-macros.h: Remove support for IA-64.
44195 * elf/tst-auditmod1.c: Likewise.
44196 * sysdeps/generic/ldsodefs.h: Likewise.
44197
7ae81d88
UD
44198 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44199 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44200 configure files.
44201
bdeba135
UD
44202 [BZ #13552]
44203 * configure.in: Remove --enable-omitfp support.
44204 * FAQ.in: Adjust.
44205 * config.make.in: Likewise.
44206 * Makeconfig: Likewise.
44207 * manual/install.texi: Likewise.
44208
d75a0a62
UD
44209 In case anyone cares, the IA-64 architecture could move to ports.
44210 * sysdeps/ia64/*: Removed.
44211 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 44212 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 44213
dcc9756b
UD
44214 [BZ #13555]
44215 * configure.in: Remove entries for unsupported architectures.
44216
d3761ebc 44217 [BZ #13533]
9954432e
UD
44218 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44219 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44220 routines.
44221 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44222 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44223 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44224 fall back to using wcrtomb.
44225 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44226 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44227 renaming.
44228 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44229 * wcsmbs/tst-c16c32-1.c: New file.
44230
44231 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44232 local variable.
44233
c3a87236
UD
44234 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44235
28926a1b
UD
44236 * elf/tst-unique3.cc: Add explicit declaration of gets.
44237 * elf/tst-unique3lib.cc: Likewise.
44238 * elf/tst-unique3lib2.cc: Likewise.
44239 * elf/tst-unique4.cc: Likewise.
44240
df78418a
UD
44241 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44242
8ecd6b2a
JM
442432012-01-06 Joseph Myers <joseph@codesourcery.com>
44244
44245 [BZ #13566]
44246 * assert/assert.h (static_assert): Don't define for C++.
44247 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44248 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44249
9f115170
UD
442502012-01-03 Ulrich Drepper <drepper@gmail.com>
44251
5e0d0300
UD
44252 * iconv/loop.c (single loop): Fix assertion in storing of
44253 remaining bytes.
44254
9f115170
UD
44255 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44256
81fb02b0
UD
442572012-01-01 Ulrich Drepper <drepper@gmail.com>
44258
44259 * posix/getconf.c: Update copyright year.
44260 * nss/getent.c: Likewise.
a316c1f6 44261 * nss/makedb.c: Likewise.
81fb02b0
UD
44262 * iconv/iconvconfig.c: Likewise.
44263 * iconv/iconv_prog.c: Likewise.
44264 * elf/ldconfig.c: Likewise.
a316c1f6
UD
44265 * elf/pldd.c: Likewise.
44266 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
44267 * catgets/gencat.c: Likewise.
44268 * csu/version.c: Likewise.
44269 * elf/ldd.bash.in: Likewise.
44270 * elf/sprof.c (print_version): Likewise.
44271 * locale/programs/locale.c: Likewise.
44272 * locale/programs/localedef.c: Likewise.
a316c1f6 44273 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
44274 * nscd/nscd.c (print_version): Likewise.
44275 * debug/xtrace.sh: Likewise.
44276 * malloc/memusage.sh: Likewise.
44277 * malloc/mtrace.pl: Likewise.
44278 * debug/catchsegv.sh: Likewise.
44279
2ba92745
JJ
442802011-12-30 Jakub Jelinek <jakub@redhat.com>
44281
44282 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44283 pure attribute.
44284
dadebdae
UD
442852011-12-24 Ulrich Drepper <drepper@gmail.com>
44286
d3761ebc 44287 [BZ #13533]
db6af3eb
UD
44288 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44289 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44290 transformations.
44291 * iconv/gconv_int.h: Likewise.
44292 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44293 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44294 from libc for GLIBC_2.16.
44295 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44296 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44297 * wcsmbs/uchar.h: Really define mbstate_t.
44298 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44299 * wcsmbs/c16rtomb.c: New file.
44300 * wcsmbs/mbrtoc16.c: New file.
44301 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44302 for C/POSIX locale.
44303 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44304 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44305
dadebdae
UD
44306 * wcsmbs/wchar.h: Add missing __restrict.
44307
67371b56
UD
443082011-12-23 Ulrich Drepper <drepper@gmail.com>
44309
74033a25
UD
44310 [BZ #13532]
44311 * time/Makefile (routines): Add timespec_get.
44312 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44313 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44314 timespec for ISO C11.
44315 * time/timespec_get.c: New file.
44316 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44317 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44318
380d7e87
UD
44319 [BZ #13531]
44320 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44321 * stdlib/stdlib.h: Declare aligned_alloc.
44322 * Versions.def: Add GLIBC_2.16 for libc.
44323 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44324
4e9e7a35
UD
44325 [BZ 13527]
44326 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44327 ISO C11.
44328
380d7e87 44329 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
44330 code.
44331
03a71829
UD
44332 [BZ #13528]
44333 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44334
839e283e
UD
44335 [BZ #13529]
44336 * assert/assert.h (static_assert): Define.
44337
ce5294e2 44338 * version.h: Update for 2.16 development version.
90fa7312 44339
8d44e150 44340 [BZ #13526]
d7809905
UD
44341 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44342 _ISOC11_SOURCE.
44343
c0da14cd
UD
44344 * version.h (RELEASE): Bump for 2.15 release.
44345 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44346
530a3249
MP
44347 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44348 Patch by Marek Polacek <mpolacek@redhat.com>.
44349
67371b56
UD
44350 * bits/byteswap.h: Protect long long constants with __extension__.
44351 * sysdeps/i386/bits/byteswap.h: Likewise.
44352 * sysdeps/ia64/bits/byteswap.h: Likewise.
44353 * sysdeps/s390/bits/byteswap.h: Likewise.
44354 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44355
15db4de1
LD
443562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44357
44358 [BZ #13540]
bbe315ea
LD
44359 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44360 destination buffer.
15db4de1
LD
44361 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44362
2b2596b1
MP
443632011-12-23 Marek Polacek <polacek@redhat.com>
44364
44365 * elf/dl-addr.c (determine_info): Add inline keyword.
44366 * elf/tst-auditmod4b.c (check_avx): Likewise.
44367 * elf/tst-auditmod6b.c (check_avx): Likewise.
44368 * elf/tst-auditmod6c.c (check_avx): Likewise.
44369 * elf/tst-auditmod7b.c (check_avx): Likewise.
44370
70c6c246
UD
443712011-12-23 Ulrich Drepper <drepper@gmail.com>
44372
44373 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44374 !__SSE_MATH__.
44375
c044cf14
LD
443762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44377
15db4de1 44378 [BZ #13540]
c044cf14
LD
44379 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44380 processing for last bytes.
44381
6b13d9d9
BH
443822011-08-06 Bruno Haible <bruno@clisp.org>
44383
d455f537
BH
44384 [BZ #13061]
44385 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44386 U+0385, not to U+1FEE.
44387
6b13d9d9
BH
44388 [BZ #13062]
44389 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44390 entry for U+00A5 U+0301.
44391
db910efd
UD
443922011-12-22 Ulrich Drepper <drepper@gmail.com>
44393
27deeafc
UD
44394 [BZ #13166]
44395 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44396 buffer for the output is too small.
44397
aed9d171
UD
44398 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44399 optimization.
44400
db910efd
UD
44401 [BZ #13185]
44402 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44403 SSE flags if possible.
44404
2bd779ae
LD
444052011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44406
e7f9dac3 44407 [BZ #13540]
2bd779ae
LD
44408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44409 processing for last bytes.
44410
154bfc16
JM
444112011-12-22 Joseph Myers <joseph@codesourcery.com>
44412
44413 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44414 (syscall-list-default-options, syscall-list-default-condition)
44415 (syscall-list-includes): Define.
44416 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44417 list of ABIs and options and #if conditions for each ABI. Do not
44418 handle common syscalls between ABIs specially.
44419 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44420 Remove.
44421 (syscall-list-variants, syscall-list-32bit-options)
44422 (syscall-list-32bit-condition, syscall-list-64bit-options)
44423 (syscall-list-64bit-condition): Define.
44424 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44425 (syscall-list-variants, syscall-list-32bit-options)
44426 (syscall-list-32bit-condition, syscall-list-64bit-options)
44427 (syscall-list-64bit-condition): Define.
44428 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44429 Remove.
44430 (syscall-list-variants, syscall-list-32bit-options)
44431 (syscall-list-32bit-condition, syscall-list-64bit-options)
44432 (syscall-list-64bit-condition): Define.
44433 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44434 Remove.
44435 (syscall-list-variants, syscall-list-32bit-options)
44436 (syscall-list-32bit-condition, syscall-list-64bit-options)
44437 (syscall-list-64bit-condition): Define.
44438
21eaf3a5
UD
444392011-12-22 Ulrich Drepper <drepper@gmail.com>
44440
16c6f992
UD
44441 * locale/iso-639.def: Add brx entry.
44442
41043168
UD
44443 [BZ #13328]
44444 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44445 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44446
21eaf3a5
UD
44447 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44448 __feraiseexcept_renamed.
44449
e3a851a2
UD
444502011-12-21 Ulrich Drepper <drepper@gmail.com>
44451
4920765e
UD
44452 [BZ #13538]
44453 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44454 EPOLLET with unsigned values.
44455 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44456 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44457
e3a851a2
UD
44458 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44459 to large cancellation.
44460 * math/s_cacoshf.c: Likewise.
44461 * math/s_cacoshl.c: Likewise.
44462
b27e24b8
RK
444632011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44464
44465 [BZ #13305]
aebefeee 44466 [BZ #12786]
b27e24b8
RK
44467 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44468 * math/s_cacoshf.c: Likewise.
44469 * math/s_cacoshl.c: Likewise.
44470
ee190f67
UD
444712011-12-21 Ulrich Drepper <drepper@gmail.com>
44472
44473 [BZ #13439]
44474 * iconv/gconv.h: Define __GCONV_SWAP.
44475 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44476 * iconvdata/utf-16.c: Likewise.
44477 * iconvdata/utf-32.c: Likewise.
44478
707f25df
AS
444792011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44480
44481 [BZ #13524]
44482 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44483 numerator after shifting it by one limb.
44484
d2daaa1e
RÁE
444852011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44486
44487 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44488 under [__USE_EXTERN_INLINES].
44489
a4647e72
UD
444902011-12-17 Ulrich Drepper <drepper@gmail.com>
44491
44492 [BZ #13446]
44493 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44494
f0b264f1
AZ
444952011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44496
44497 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44498 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44499 optimized code.
44500 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44501 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44502 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44503 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44504 for strncasecmp/strncasecmp_l compilation.
44505 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44506 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44507
8ef4f244
MP
445082011-12-08 Marek Polacek <mpolacek@redhat.com>
44509
44510 [BZ #13484]
44511 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44512 of __asm__.
44513
97ac2654
UD
445142011-12-17 Ulrich Drepper <drepper@gmail.com>
44515
44516 [BZ #13506]
44517 * time/tzfile.c (__tzfile_read): Check values from file header.
44518
91d2a845
WS
445192011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44520
44521 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44522 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44523 * powerpc/powerpc32/dl-start.S: Likewise.
44524 * powerpc/powerpc32/elf/start.S: Likewise.
44525 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44526 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44527 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44528 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44529 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44530 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44531 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44532 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44533 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44534 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44535 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44536 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44537 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44538 * powerpc/powerpc32/memset.S: Likewise.
44539 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44540 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44541 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44542 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44543 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44544 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44545 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44546 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44547 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44548 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44549 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44550 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44551 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44552
a1267ba1
AZ
445532011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44554
44555 * math/libm-test.inc: Added more nearbyint tests.
44556 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44557 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44558 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44559 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44560
ad8ac1bd
RL
445612011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44562
44563 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44564 FD_CLOEXEC.
44565
1d3e4b61
UD
445662011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44567
44568 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44569 Add wcscpy-ssse3 wcscpy-c.
44570 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44571 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44572 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44573 * sysdeps/x86_64/wcschr.S: New file.
44574 * sysdeps/x86_64/wcsrchr.S: New file.
44575 * string/test-strcmp.c: Remove checking of wcscmp function for
44576 wrong alignments.
44577 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44578 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44579 wcsrchr-sse2 wcsrchr-c.
44580 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44581 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44582 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44583 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44584 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44585 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44586 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44587 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44588 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44589 * wcsmbc/wcschr.c (WCSCHR): New macro.
44590
5b330a2d
UD
445912011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44592
44593 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44594 * wcsmbs/test-wcsrchr.c: New file.
44595 * string/test-strrchr.c: Add wcsrchr support.
44596 (WIDE): New macro.
44597 * wcsmbs/test-wcscpy.c: New file.
44598 * string/test-strcpy.c: Add wcscpy support.
44599 (WIDE): New macro.
26428b7c 44600
f039c043
UD
446012011-12-10 Ulrich Drepper <drepper@gmail.com>
44602
44603 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44604 the inner loop.
44605
850fb039
AS
446062011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44607
44608 [BZ #13472]
44609 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44610
4efbd5cb
UD
446112011-12-04 Ulrich Drepper <drepper@gmail.com>
44612
52ff5dd0 44613 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 44614 Minor optimizations.
52ff5dd0 44615
4efbd5cb
UD
44616 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44617 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44618 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44619
8a426e12
UD
446202011-12-03 Ulrich Drepper <drepper@gmail.com>
44621
aff2453d
UD
44622 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44623 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44624 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44625 for gcc to avoid warnings.
44626 * inet/Makefile (tests): Add tst-checks.
44627 * inet/tst-checks.c: New file.
44628
44629 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44630 warning.
44631
44632 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44633 __wmemcmp_sse2.
44634
44635 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44636 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44637
8a426e12
UD
44638 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44639
9bea3473
UD
446402011-12-02 Ulrich Drepper <drepper@gmail.com>
44641
3a965496
UD
44642 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44643 problem.
44644
9bea3473
UD
44645 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44646
f101631b
UD
446472011-11-29 Joseph Myers <joseph@codesourcery.com>
44648
44649 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44650 conditional on GCC version.
44651 (__arch_compare_and_exchange_val_8_acq)
44652 (__arch_compare_and_exchange_val_16_acq)
44653 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44654 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44655 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44656
a98275aa
UD
446572011-12-02 Joseph Myers <joseph@codesourcery.com>
44658
44659 * sysdeps/sh/backtrace.c: New file.
44660
d4cc29a2
AS
446612011-12-02 Andreas Schwab <schwab@redhat.com>
44662
44663 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44664 parenthesis.
44665
6257af2d
AS
446662011-12-01 Andreas Schwab <schwab@redhat.com>
44667
44668 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44669 falling back to utime.
44670
b5f44c1a
AS
446712011-11-30 Andreas Schwab <schwab@redhat.com>
44672
44673 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44674 expectations for float.
44675
f3a6cc0a
AS
446762011-11-29 Andreas Schwab <schwab@redhat.com>
44677
44678 * locale/weight.h (findidx): Add parameter len.
44679 * locale/weightwc.h (findidx): Likewise.
44680 * posix/fnmatch_loop.c (FCT): Adjust caller.
44681 * posix/regcomp.c (build_equiv_class): Likewise.
44682 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44683 * posix/regexec.c (check_node_accept_bytes): Likewise.
44684 * string/strcoll_l.c (STRCOLL): Likewise.
44685 * string/strxfrm_l.c (STRXFRM): Likewise.
44686
9d65ea3a
UD
446872011-11-17 Ulrich Drepper <drepper@gmail.com>
44688
44689 * Makefile.in: Remove CVSOPT handling.
44690 * configure.in: Remove use of AC_REVISION.
44691 * iconvdata/Makefile (distribute): No need to filter out CVS.
44692 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44693 handling.
44694
5583a086
AS
446952011-11-16 Andreas Schwab <schwab@redhat.com>
44696
44697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44698 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44699 [USE_AS_STRNCASECMP_L]: Likewise.
44700 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44701 NO_TLS_DIRECT_SEG_REFS.
44702 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44703 Fix argument offsets for non-PIC.
44704 [USE_AS_STRNCASECMP_L]: Likewise.
44705 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44706 NO_TLS_DIRECT_SEG_REFS.
44707
d62a8200
UD
447082011-11-15 Ulrich Drepper <drepper@gmail.com>
44709
9d65ea3a 44710 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
44711 O_CLOEXEC.
44712 * locale/loadlocale.c (_nl_load_locale): Likewise.
44713
09f93bd3
AS
447142011-11-15 Andreas Schwab <schwab@redhat.com>
44715
446514f9
AS
44716 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44717 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44718 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44719 (SYSCALL_GETTIME): Set errno on error.
44720
09f93bd3
AS
44721 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44722 count references to noai6ai_cached.
44723
312be3f9
UD
447242011-11-15 Ulrich Drepper <drepper@gmail.com>
44725
44726 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44727
44728 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44729 FD_CLOEXEC for /proc/self/maps.
44730
44731 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44732 FD_CLOEXEC for /proc/meminfo.
44733
44734 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44735 gai.conf.
44736
44737 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44738 FD_CLOEXEC for given file.
44739
44740 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44741
44742 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44743 FD_CLOEXEC for /etc/hosts.
44744 (_gethtent): Likewise.
44745
44746 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44747
44748 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44749 cancellation and set FD_CLOEXEC for /etc/netgroup.
44750
44751 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44752 reading /etc/publickey.
44753
44754 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44755 allow cancellation when reading /etc/group.
44756
44757 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44758 cancellation.
44759 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44760
44761 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44762 when using data file.
44763
44764 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44765
44766 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44767 (write_nis_obj): Use "c" and "e" in fopen.
44768
44769 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44770
44771 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44772
44773 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44774
44775 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44776
44777 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44778 locale.alias.
44779
44780 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44781
44782 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44783
44784 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44785
44786 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44787 file parsing and set FD_CLOEXEC.
44788
82af0fa8
UD
447892011-11-14 Ulrich Drepper <drepper@gmail.com>
44790
44791 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44792
a5fb313c
AS
447932011-11-14 Andreas Schwab <schwab@redhat.com>
44794
44795 * malloc/arena.c (arena_get2): Don't call reused_arena when
44796 _int_new_arena failed.
44797
6abf3465
UD
447982011-11-14 Ulrich Drepper <drepper@gmail.com>
44799
44800 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44801 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44802 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44803 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44804 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44805 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44806 to compile strcasecmp and strncasecmp.
44807 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44808 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44809
44810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44811
76e3966e
UD
448122011-11-13 Ulrich Drepper <drepper@gmail.com>
44813
44814 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44815 locale-defines.sym to gen-as-const-headers.
44816 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44817 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44819 to compile strcasecmp and strncasecmp.
44820 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44821 strcasecmp_l and strncasecmp_l.
44822 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44823 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44824 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44825 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44826 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44827 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44828 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44829 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44830 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44831 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44832 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44833
ab26144e
UD
448342011-11-12 Ulrich Drepper <drepper@gmail.com>
44835
7edb22ef
UD
44836 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44837 result of SYSDEP_GETTIME_CPU to retval.
44838 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44839 parameter list to macro. Remove trailing semicolon. Adjust users.
44840
9694fc44
UD
44841 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44842 variable.
44843
8ad89ef8
UD
44844 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44845 mantissa words.
44846 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44847
0c822ef9
UD
44848 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44849 from unused variable.
44850
874e0564
UD
44851 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44852 DWARF definitions.
44853 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44854 for assembling.
44855
3a2edc79
UD
44856 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44857 over namespaces.
44858
f3c2577f
UD
44859 * sunrpc/rpc_prot.c (rejected): Fix case value.
44860
294ce126
UD
44861 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44862 unsigned long long int to avoid warnings in shift.
44863
5e2b63c6
UD
44864 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44865 of use of trans.
44866 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44867 variable tmp.
44868
e7f4b08e
UD
44869 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44870 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44871 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44872
ab26144e
UD
44873 * nis/nis_table.c (nis_list): Use variable of correct type for
44874 result of __follow_path call.
44875
8a6d5255
AZ
448762011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44877
44878 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44879 of math functions ceil, trunc, floor, round, and sqrt, when
44880 avaliable on the platform.
44881 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44882 name clash.
44883 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44884 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44885 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44886
aaddc98c
MP
448872011-10-30 Marek Polacek <mpolacek@redhat.com>
44888
44889 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44890 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44891
95b7042b
RM
448922011-11-11 Roland McGrath <roland@hack.frob.com>
44893
44894 * include/unistd.h: Fix __readlink return type.
44895 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44896
57769839
UD
448972011-11-11 Ulrich Drepper <drepper@gmail.com>
44898
44899 * stdlib/ucontext.h: Undo last change for makecontext.
44900
edc5984d
AS
449012011-11-11 Andreas Schwab <schwab@redhat.com>
44902
98591e58
AS
44903 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44904
edc5984d
AS
44905 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44906 * setjmp/setjmp.h: Mark functions as non-leaf.
44907 * setjmp/bits/setjmp2.h: Likewise.
44908 * stdlib/ucontext.h: Likewise.
44909
77cdc054
AS
449102011-11-10 Andreas Schwab <schwab@redhat.com>
44911
44912 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44913 (reused_arena): Don't check arena limit.
44914 (arena_get2): Atomically check arena limit.
44915
fe72eebd
UD
449162011-11-08 Ulrich Drepper <drepper@gmail.com>
44917
5f078c32
UD
44918 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44919 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44920
fe72eebd
UD
44921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44922 instructions.
44923
ae1bc2fa
AS
449242011-11-07 Andreas Schwab <schwab@redhat.com>
44925
7583a88d
AS
44926 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44927 handler when locking.
44928
ae1bc2fa
AS
44929 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44930 Fix size of allocated buffer.
44931
10fb0bfa
AS
449322011-11-04 Andreas Schwab <schwab@redhat.com>
44933
998832a4
AS
44934 [BZ #10103]
44935 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44936 declarations for long double functions.
44937 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44938
10fb0bfa
AS
44939 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44940
3d7ba52b
AS
449412011-11-03 Andreas Schwab <schwab@redhat.com>
44942
a9ae54a1
AS
44943 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44944 installed.
44945
3d7ba52b
AS
44946 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44947 is disabled.
44948
bc8db248
ST
449492011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44950
44951 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44952
45b96dd6
AS
449532011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44954
647776f6
AS
44955 * include/alloca.h (stackinfo_alloca_round): Define.
44956 (extend_alloca): Use it.
44957 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44958 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44959 here.
44960
d91a8b93
AS
44961 * scripts/check-local-headers.sh: Ignore libaudit.h.
44962
45b96dd6
AS
44963 * nscd/Makefile (extra-objs): Make recursively expanded.
44964
432d41ce
UD
449652011-11-01 Ulrich Drepper <drepper@gmail.com>
44966
34372fc6
UD
44967 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44968 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44969
fadb59f8
UD
44970 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44971 * posix/tst-rfc3484-2.c: Likewise.
44972 * posix/tst-rfc3484-3.c: Likewise.
44973
78239589
UD
44974 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44975 process_vm_writev.
44976 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44977 process_vm_writev.
44978 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44979 process_vm_writev from libc using GLIBC_2.15 version.
44980
432d41ce
UD
44981 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44982
02f9c6cf
PP
449832011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44984
44985 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44986 stack usage.
44987
3a2c0242
UD
449882011-10-31 Ulrich Drepper <drepper@gmail.com>
44989
f4ec4833
UD
44990 [BZ #13367]
44991 * nss/getent.c (initgroups_keys): Show error message in case no group
44992 names are given.
44993
3a2c0242
UD
44994 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44995 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44996 __bump_nl_timestamp.
44997 * nscd/connections (nscd_init): When host database is served open
44998 netlink socket and request notification about configuration changes.
44999 (main_loop_poll): Track netlink file descriptor and bump timestamp
45000 in case data becomes available.
45001 (main_loop_epoll): Likewise.
45002 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45003 (database_pers_head): Add extra_data fileds.
45004 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45005 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45006 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45007 Adjust caller.
45008 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45009 in6ai data, call __free_in6ai.
45010 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45011 Add -DHAVE_NETLINK.
45012 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45013 interface information. Reuse previous data if netlink timestamp
45014 is not changed.
45015 (__bump_nl_timestamp): New function.
45016 (__free_in6ai): New function.
45017
636064eb
UD
450182011-10-30 Ulrich Drepper <drepper@gmail.com>
45019
45020 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45021 close_not_cancel_no_status here.
45022 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45023
9beb2334
UD
450242011-10-29 Ulrich Drepper <drepper@gmail.com>
45025
6ef76f3b
UD
45026 [BZ #13276]
45027 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45028 return value.
45029
0ffc4f3e 45030 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45031 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45032 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45033
cb95113e
UD
450342011-07-03 Andreas Jaeger <aj@suse.de>
45035
45036 [BZ #10709]
45037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45038 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45039 * math/libm-test.inc (sin_test): Add test case.
45040
a1b560ff
UD
450412011-10-29 Ulrich Drepper <drepper@gmail.com>
45042
c9aaface
UD
45043 [BZ #13337]
45044 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45045 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45046
d272e7f1
UD
45047 * elf/chroot_canon.c (chroot_canon): Cleanups.
45048
1bc33071
UD
45049 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45050
1760874d
TJ
45051 [BZ #13335]
45052 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45053 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45054
51d91b18
UD
45055 * string/test-strchr.c: Make usable for strchrnul testing.
45056 * string/test-strchrnul.c: New file.
45057 * string/Makefile (strop-tests): Add strchrnul.
45058
a1b560ff 45059 * po/it.po: Update from translation team.
b611fb81 45060 * po/es.po: Likewise.
a1b560ff 45061
a5b81e1f
UD
450622011-10-28 Ulrich Drepper <drepper@gmail.com>
45063
fd52bc6d
UD
45064 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45065 the three constants needed as parameters. Drop the others.
45066 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45067 __m128i_strloadu_tolower.
52e4b9eb
UD
45068 Create and initialize variable zero and use it in all the places
45069 where _mm_setzero_si128 was used.
fd52bc6d 45070
a5b81e1f
UD
45071 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45072 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45073 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45074 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45075 anymore.
45076 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45077 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45078 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45079 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45080 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45081 __mpranred, __mptan.
45082 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45083 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45084 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45085 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45086 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45087 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45088 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45089 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45090 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45091
b4343346
AS
450922011-10-28 Andreas Schwab <schwab@redhat.com>
45093
0c92d8a8
AS
45094 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45095 redefine if SHARED.
45096 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45097
b4343346
AS
45098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45099 wide char related routines to wcsmbs subdir.
45100
3871f58f
AS
451012011-10-27 Andreas Schwab <schwab@redhat.com>
45102
45103 [BZ #13344]
45104 * misc/sys/cdefs.h (__THROWNL): Define.
45105 * posix/unistd.h: Use __THREADNL instead of __THREAD
45106 for memory synchronization functions.
45107
94d44d9f
RM
451082011-10-26 Roland McGrath <roland@hack.frob.com>
45109
21b64b15 45110 [BZ #13349]
94d44d9f
RM
45111 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45112 doesn't exist.
45113 * manual/stdio.texi (Obstack Streams): Node removed.
45114
f6ce9294
AS
451152011-10-26 Andreas Schwab <schwab@redhat.com>
45116
80479147
AS
45117 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45118 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45119 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45120
f6ce9294
AS
45121 * math/math_private.h (math_force_eval): Allow non-addressable
45122 arguments.
45123 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45124
618280a1
UD
451252011-10-25 Ulrich Drepper <drepper@gmail.com>
45126
e0016b11
UD
45127 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45128 file is not needed.
45129
45130 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45132 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45133 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45134 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45135 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45136 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45137 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45138 Add AVX variants.
45139 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45140 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45141 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45142 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45143 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45144 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45145 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45146 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45147 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45148 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45149 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45150 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45151 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45152 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45153 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45154 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45155 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45156 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45157 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45158
45159 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45160 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45161
618280a1
UD
45162 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45163 place. Use VEX encoding when compiling for AVX.
45164
37822576
AS
451652011-10-25 Andreas Schwab <schwab@redhat.com>
45166
1f1e1947
AS
45167 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45168 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45169
37822576
AS
45170 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45171
31ea014d
UD
451722011-10-25 Ulrich Drepper <drepper@gmail.com>
45173
d7826aa1 45174 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45175 useless if() expression.
d7826aa1
UD
45176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45177 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45178 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45180 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45181 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45182 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45183 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45184 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45185 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45186 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45187 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45188 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45189 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45190 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45191 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45192 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45193 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45194 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45195
31ea014d
UD
45196 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45197
16437fec
AS
451982011-10-25 Andreas Schwab <schwab@redhat.com>
45199
45200 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45201 condition.
45202 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45203
31d3cc00
UD
452042011-10-25 Ulrich Drepper <drepper@gmail.com>
45205
45206 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45207 .text section. Avoid duplicate constants.
45208 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45209 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45215 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45216 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45217 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45218 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45219 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45220 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45221 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45222 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45223 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45225 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45228 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45229 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45230 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45231 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45232 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45233 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45234 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45235 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45236 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45237 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45238 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45239 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45240 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45241 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45242 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45243 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45244 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45245 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45246 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45247 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45248 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45249 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45250 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45251 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45252 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45253
58985aa9
UD
452542011-10-24 Ulrich Drepper <drepper@gmail.com>
45255
202c9deb
UD
45256 * sysdeps/x86_64/dla.h: Move to ...
45257 * sysdeps/x86_64/fpu/dla.h: ...here.
45258 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45259 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 45260
af968f62
UD
45261 * config.make.in: Add have-mfma4 entry.
45262 * configure.in: Substitute libc_cv_cc_fma4.
45263 * math/Makefile (dbl-only-routines): Add sincostab.
45264 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45265 Use __sincostab not sincos.
45266 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45267 name is a macro.
45268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45272 using __copysign.
45273 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45274 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45275 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45276 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45277 and __inv.
45278 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45279 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45280 __copysign.
45281 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45282 define aliases when function name is a macro.
45283 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45284 sysdeps/ieee754/dbl-64/sincos.tbl.
45285 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45286 fma4-enabled routines.
45287 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45288 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45289 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45290 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45291 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45292 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45294 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45296 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45297 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45298 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45299 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45300 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45301 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45302 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45303 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45304 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45305 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45306 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45307 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45308 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45309 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45310 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45311 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45312 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45313 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45314 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45315 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45316 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45317
58985aa9
UD
45318 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45319 rename.
45320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45325 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45326 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45327 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45328
a201fbcf
AS
453292011-10-24 Andreas Schwab <schwab@redhat.com>
45330
45331 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45332
fc2ee42a
LD
453332011-10-23 Ulrich Drepper <drepper@gmail.com>
45334
bb3129bd
UD
45335 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45336
0275fff8
UD
45337 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45338 prediction.
45339 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45340
2fa2ae85
UD
45341 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45342 Remove unused variable magic_bits.
45343 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45344
fc2ee42a
LD
45345 * string/strnlen.c: Define and use STRNLEN macro.
45346 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45347 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45348 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45349 * wcsmbs/wcslen.c: Define and use WCSLEN.
45350 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45351 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45352 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45353 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45354 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45355 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45356 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45357
ce7dd29f
LD
453582011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45359
45360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45361 strnlen-sse2-no-bsf.
45362 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45363 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45364 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45365 Add strnlen support.
45366 (USE_AS_STRNLEN): New macro.
45367 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45368 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45369 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45370 * sysdeps/x86_64/wcslen.S: New file.
45371
979c70a3
MZ
453722011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45373
45374 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45375 XMM-moves are used for copying on small sizes.
45376
2d09f82f
LD
453772011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45378
45379 * wcsmbs/Makefile (strop-tests): Add wcschr.
45380 * wcsmbs/test-wcschr.c: New file.
45381 * string/test-strchr.c: Update.
45382 Add wcschr support.
45383 (WIDE): New macro.
45384
619fccca
LD
453852011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45386
2d09f82f 45387 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
45388 * wcsmbs/test-wcslen.c: New file.
45389 * string/test-strlen.c: Update.
45390 Add wcslen support.
45391 (WIDE): New macro.
45392
09f699ea
UD
453932011-10-23 Ulrich Drepper <drepper@gmail.com>
45394
45395 * po/it.po: Update from translation team.
45396
95584d3b
LD
453972011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45398
45399 * sysdeps/x86_64/wcscmp.S: Update.
45400 Fix wrong comparison semantics.
45401 wcscmp shall use signed comparison not unsigned.
45402 Don't use substraction to avoid overflow bug.
45403 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45404 * wcsmbc/wcscmp.c: Likewise.
45405 * string/test-strcmp.c: Likewise.
45406 Add new tests to check cases with negative values.
45407
c8b3296b
UD
454082011-10-23 Ulrich Drepper <drepper@gmail.com>
45409
45410 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45411 * sysdeps/x86_64/dla.h: ...here. New file.
45412 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45413 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45417 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45421
246ad57a
AS
454222011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45423
45424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45425 __ynl_finite aliases.
45426
a1a87169
UD
454272011-10-22 Ulrich Drepper <drepper@gmail.com>
45428
0d355eb7
UD
45429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45430
a1a87169
UD
45431 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45432 define DLA_FMA.
45433 [DLA_FMA] (EMULV): Use DLA_FMA.
45434 [DLA_FMA] (MUL12): Use EMULV.
45435 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45436 that are not needed.
45437 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45442 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45444
ee2aafe0
AS
454452011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45446
45447 * math/s_nan.c: Undef __nan.
45448 * math/s_nanf.c: Undef __nanf.
45449 * math/s_nanl.c: Undef __nanl.
45450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45451 "math_private.h".
45452
bc62c2fb
UD
454532011-10-22 Ulrich Drepper <drepper@gmail.com>
45454
77425c63
UD
45455 * math/s_catan.c: Add branch predictions.
45456 * math/s_catanf.c: Likewise.
45457 * math/s_catanh.c: Likewise.
45458 * math/s_catanhf.c: Likewise.
45459 * math/s_catanhl.c: Likewise.
45460 * math/s_catanl.c: Likewise.
45461 * math/s_cexp.c: Likewise.
45462 * math/s_cexpf.c: Likewise.
45463 * math/s_cexpl.c: Likewise.
45464 * math/s_clog.c: Likewise.
45465 * math/s_clog10.c: Likewise.
45466 * math/s_clog10f.c: Likewise.
45467 * math/s_clog10l.c: Likewise.
45468 * math/s_clogf.c: Likewise.
45469 * math/s_clogl.c: Likewise.
45470 * math/s_csqrt.c: Likewise.
45471 * math/s_csqrtf.c: Likewise.
45472 * math/s_csqrtl.c: Likewise.
45473 * math/s_ctanf.c: Likewise.
45474 * math/s_ctanh.c: Likewise.
45475 * math/s_ctanhf.c: Likewise.
45476 * math/s_ctanhl.c: Likewise.
45477 * math/s_ctanl.c: Likewise.
45478
bc62c2fb
UD
45479 * math/math_private.h: Define __nan, __nanf, __nanl.
45480 * math/s_cacosh.c: Include <math_private.h>.
45481 * math/s_cacoshl.c: Likewise.
45482 * math/s_casinh.c: Likewise.
45483 * math/s_casinhf.c: Likewise.
45484 * math/s_casinhl.c: Likewise.
45485 * math/s_ccos.c: Rely entire on ccosh.
45486 * math/s_ccosf.c: Rely entire on ccoshf.
45487 * math/s_ccosl.c: Rely entirely on ccoshl.
45488 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45489 Remove tests for FE_INVALID.
45490 * math/s_ccoshf.c: Likewise.
45491 * math/s_ccoshl.c: Likewise.
45492 * math/s_csin.c: Likewise.
45493 * math/s_csinf.c: Likewise.
45494 * math/s_csinh.c Likewise.
45495 * math/s_csinhf.c: Likewise.
45496 * math/s_csinhl.c: Likewise.
45497 * math/s_csinl.c: Likewise.
45498 * math/s_ctan.c: Likewise.
45499 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45500 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45501 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45502
8ec250a4
UD
455032011-10-21 Ulrich Drepper <drepper@gmail.com>
45504
c196fed8
UD
45505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45506 compilation problems.
45507
8ec250a4
UD
45508 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45509 __builtin_expect.
45510
8d4f46c6
UD
455112011-10-20 Ulrich Drepper <drepper@gmail.com>
45512
ed72b654
UD
45513 * sysdeps/i386/configure.in: Test for -mfma4 option.
45514 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45515 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45516 COMMON_CPUID_INDEX_80000001.
45517 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45518 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45519 use it if FMA3 is not supported.
45520 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45521
8d4f46c6
UD
45522 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45523 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45524
d45c60c2
AS
455252011-10-20 Andreas Schwab <schwab@redhat.com>
45526
45527 [BZ #12892]
45528 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45529 it would create a cycle with a link time dependency.
45530
d9a4d2ab
UD
455312011-10-19 Ulrich Drepper <drepper@gmail.com>
45532
855d1560
UD
45533 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45534 instruction.
45535 * string/Makefile (strop-tests): Add rawmemchr.
45536 * string/test-rawmemchr.c: New file.
45537
d9a4d2ab
UD
45538 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45539 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45540 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45541 when compiling str{,n}casecmp and when AVX is available. Hook up
45542 new optimized code in initializers.
45543
8f3b1ffe
AS
455442011-10-19 Andreas Schwab <schwab@redhat.com>
45545
45546 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45547 __feraiseexcept instead of feraiseexcept.
45548
d38f1dba
UD
455492011-10-18 Ulrich Drepper <drepper@gmail.com>
45550
d9a8d0ab
UD
45551 * math/math_private.h: Define defaults for libc_fetestexcept and
45552 libc_feupdateenv.
45553 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45554 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45555 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45556 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45557 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45558 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45559 libc_fetestexcept and libc_feupdateenv.
45560
4855e3dd
UD
45561 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45562 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45563 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45564 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45565 libc_feholdexcept_setround.
45566
581d30e3
UD
45567 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45568 Add s_nearbyint-c and s_nearbyintf-c.
45569 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45570 nearbyintf inlines.
45571 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45572 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45573 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45574 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45575
d38f1dba
UD
45576 * math/math_private.h: Define defaults for libc_fegetround,
45577 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45578 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45579 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45580 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45581 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45582 standard functions.
45583 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45584 Remove comments and hacks for old compiler versions.
45585 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45586 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45587 libc_feholdexceptl.
45588
caa6c9d8
AS
455892011-10-18 Andreas Schwab <schwab@redhat.com>
45590
45591 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
45592 (__feraiseexcept_renamed): Add __NTH.
45593 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
45594 namespace violations.
45595
97c066e6
UD
455962011-10-17 Ulrich Drepper <drepper@gmail.com>
45597
99ce7b04
UD
45598 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45599
1004d182
UD
45600 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45601
228a984d
UD
45602 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45603 recently added interfaces.
45604 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45605
c8553a6a
UD
45606 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45607 about macro parameter expansion.
45608
ed22dcf6
UD
45609 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45610 __NO_MATH_INLINES is defined. Cleanups.
45611
45612 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45613 and __floorf is target has SSE4.1.
45614 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45615 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45616 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45617 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45618
b171c137
UD
45619 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45620 name.
45621 (floorf): Likewise.
45622
97c066e6
UD
45623 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45624
629f62ef
AS
456252011-10-17 Andreas Schwab <schwab@redhat.com>
45626
49a43d80
AS
45627 * misc/sys/cdefs.h: Fix last change.
45628
629f62ef
AS
45629 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45630 database lookup.
45631
e453f6cd
UD
456322011-10-16 Ulrich Drepper <drepper@gmail.com>
45633
aa78043a
UD
45634 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45635
ad0f5cad
UD
45636 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45637 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45638 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45639 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45641 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45642 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45643 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45644 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45645 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45646 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45647 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45648 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45649 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45650 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45651 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45652 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45653 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45654 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45655 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45656 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45657 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45658
45659 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45660 ceil, ceilf, floor, floorf.
45661
45662 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45663 Perform IRELATIVE relocations last.
45664
e453f6cd
UD
45665 * elf/do-rel.h: Add another parameter nrelative, replacing the
45666 local variable with the same name. Change name of the function
45667 to end in Rel or Rela (uppercase).
45668 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45669 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45670 elf_dynamic_do_##reloc function.
45671
fd5bdc09
UD
456722011-10-15 Ulrich Drepper <drepper@gmail.com>
45673
79b195b5
UD
45674 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45675 is sufficient, at least on modern CPUs.
45676
d4a28569
UD
45677 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45678
b61099b5
UD
45679 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45680 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45681
bcf01e6d
UD
45682 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45683 __expl_finite.
45684 * math/bits/math-finite.h: Add entries for exp.
45685 * math/e_expl.c: Add __*_finite alias.
45686 * sysdeps/i386/fpu/e_exp.S: Likewise.
45687 * sysdeps/i386/fpu/e_expf.S: Likewise.
45688 * sysdeps/i386/fpu/e_expl.c: Likewise.
45689 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45690 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45691 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45692 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45693 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45694 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45695 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45696
ba1a0d59
UD
45697 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45698 is sufficient, at least on modern CPUs.
45699
fd5bdc09
UD
45700 * ctype/ctype-info.c (__ctype_init): Define.
45701 * include/ctype.h (__ctype_init): Declare.
45702 (__ctype_b_loc): The variable is always initialized.
45703 (__ctype_toupper_loc): Likewise.
45704 (__ctype_tolower_loc): Likewise.
45705 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45706 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45707
7872cfb0
AS
457082011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45709
b468825a
AS
45710 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45711
7872cfb0
AS
45712 * configure.in: Also look in $cxxmachine/include for C++ system
45713 headers.
45714
be13f7bf
LD
457152011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45716
45717 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45718 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45719 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45720 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45721 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45722 (USE_AS_WMEMCMP): New macro.
45723 Fixing indents.
45724 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45725 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45726 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45727 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45729 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45730 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45731 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45732 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45733 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45734 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45735 (USE_AS_WMEMCMP): New macro.
45736 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45737 * sysdeps/string/test-memcmp.c: Update.
45738 Fix simple_wmemcmp.
45739 Add new tests.
45740 * wcsmbs/wmemcmp.c: Update.
45741 (WMEMCMP): New macro.
45742 Fix overflow bug.
45743
556a2007
AJ
457442011-10-12 Andreas Jaeger <aj@suse.de>
45745
45746 [BZ #13268]
45747 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45748
538faaa7
UD
457492011-10-15 Ulrich Drepper <drepper@gmail.com>
45750
ab6737ff
UD
45751 * libio/iofwide.c (do_length): Avoid warning.
45752
538faaa7
UD
45753 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45754
396a21b1
UD
457552011-10-14 Ulrich Drepper <drepper@gmail.com>
45756
cdf2901f
UD
45757 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45758
38ad40ce
UD
45759 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45760 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45761 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45762 * sysdeps/i386/i686/fpu/e_log.S: New file.
45763 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45764 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45765
396a21b1
UD
45766 * ctype/ctype.h: Add support for inlined isXXX functions when
45767 compiling C++ code.
45768
6b1f68c9
AS
457692011-10-14 Andreas Schwab <schwab@redhat.com>
45770
349290c0
AS
45771 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45772
6b1f68c9
AS
45773 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45774
f2282d42
RM
457752011-10-13 Roland McGrath <roland@hack.frob.com>
45776
45777 [BZ #13291]
45778 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45779
5298ffa8
AS
457802011-10-13 Andreas Schwab <schwab@redhat.com>
45781
714fad23
AS
45782 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45783 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45784 feraiseexcept.
45785
81dcc7fb
AS
45786 * sysdeps/x86_64/memrchr.S: Check for zero size.
45787
5298ffa8
AS
45788 * string/stratcliff.c: Add memrchr tests.
45789
951fbcec
LD
457902011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45791
45792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45793 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45794 rawmemchr-sse2 rawmemchr-sse2-bsf.
45795 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45796 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45797 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45798 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45799 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45800 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45801 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45802 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45803 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45804 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45805 * string/memrchr.c (MEMRCHR): New macro.
45806
0ac5ae23
UD
458072011-10-12 Ulrich Drepper <drepper@gmail.com>
45808
45809 Add integration with gcc's -ffinite-math-only and optimize wrapper
45810 functions in libm.
45811 * Versions.def: Define GLIBC_2.15 version for libm.
45812 * math/Makefile (headers): Add bits/math-finite.h.
45813 * math/bits/math-finite.h: New file.
45814 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45815 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45816 * math/e_acoshl.c: Add __*_finite alias.
45817 * math/e_acosl.c: Likewise.
45818 * math/e_asinl.c: Likewise.
45819 * math/e_atan2l.c: Likewise.
45820 * math/e_atanhl.c: Likewise.
45821 * math/e_coshl.c: Likewise.
45822 * math/e_exp10.c: Likewise.
45823 * math/e_exp10f.c: Likewise.
45824 * math/e_exp10l.c: Likewise.
45825 * math/e_exp2l.c: Likewise.
45826 * math/e_fmodl.c: Likewise.
45827 * math/e_gammal_r.c: Likewise.
45828 * math/e_hypotl.c: Likewise.
45829 * math/e_j0l.c: Likewise.
45830 * math/e_j1l.c: Likewise.
45831 * math/e_jnl.c: Likewise.
45832 * math/e_lgammal_r.c: Likewise.
45833 * math/e_log10l.c: Likewise.
45834 * math/e_log2l.c: Likewise.
45835 * math/e_logl.c: Likewise.
45836 * math/e_powl.c: Likewise.
45837 * math/e_sinhl.c: Likewise.
45838 * math/e_sqrtl.c: Likewise.
45839 * math/e_scalb.c: Completely rewritten and optimized.
45840 * math/e_scalbf.c: Likewise.
45841 * math/e_scalbl.c: Likewise.
45842 * math/w_acos.c: Likewise.
45843 * math/w_acosf.c: Likewise.
45844 * math/w_acosl.c: Likewise.
45845 * math/w_acosh.c: Likewise.
45846 * math/w_acoshf.c: Likewise.
45847 * math/w_acoshl.c: Likewise.
45848 * math/w_asin.c: Likewise.
45849 * math/w_asinf.c: Likewise.
45850 * math/w_asinl.c: Likewise.
45851 * math/w_atan2.c: Likewise.
45852 * math/w_atan2f.c: Likewise.
45853 * math/w_atan2l.c: Likewise.
45854 * math/w_atanh.c: Likewise.
45855 * math/w_atanhf.c: Likewise.
45856 * math/w_atanhl.c: Likewise.
45857 * math/w_exp10.c: Likewise.
45858 * math/w_exp10f.c: Likewise.
45859 * math/w_exp10l.c: Likewise.
45860 * math/w_fmod.c: Likewise.
45861 * math/w_fmodf.c: Likewise.
45862 * math/w_fmodl.c: Likewise.
45863 * math/w_j0.c: Likewise.
45864 * math/w_j0f.c: Likewise.
45865 * math/w_j0l.c: Likewise.
45866 * math/w_j1.c: Likewise.
45867 * math/w_j1f.c: Likewise.
45868 * math/w_j1l.c: Likewise.
45869 * math/w_jn.c: Likewise.
45870 * math/w_jnf.c: Likewise.
45871 * math/w_log.c: Likewise.
45872 * math/w_logf.c: Likewise.
45873 * math/w_logl.c: Likewise.
45874 * math/w_log10.c: Likewise.
45875 * math/w_log10f.c: Likewise.
45876 * math/w_log10l.c: Likewise.
45877 * math/w_log2.c: Likewise.
45878 * math/w_log2f.c: Likewise.
45879 * math/w_log2l.c: Likewise.
45880 * math/w_pow.c: Likewise.
45881 * math/w_powf.c: Likewise.
45882 * math/w_powl.c: Likewise.
45883 * math/w_remainder.c: Likewise.
45884 * math/w_remainderf.c: Likewise.
45885 * math/w_remainderl.c: Likewise.
45886 * math/w_scalb.c: Likewise.
45887 * math/w_scalbf.c: Likewise.
45888 * math/w_scalbl.c: Likewise.
45889 * math/w_sqrt.c: Likewise.
45890 * math/w_sqrtf.c: Likewise.
45891 * math/w_sqrtl.c: Likewise.
45892 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45893 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45894 used.
45895 * math/math_private.h: Declare __kernel_standard_f.
45896 * math/w_cosh.c: Remove cruft and optimize a bit.
45897 * math/w_coshf.c: Likewise.
45898 * math/w_coshl.c: Likewise.
45899 * math/w_exp2.c: Likewise.
45900 * math/w_exp2f.c: Likewise.
45901 * math/w_exp2l.c: Likewise.
45902 * math/w_hypot.c: Likewise.
45903 * math/w_hypotf.c: Likewise.
45904 * math/w_hypotl.c: Likewise.
45905 * math/w_lgamma.c: Likewise.
45906 * math/w_lgamma_r.c: Likewise.
45907 * math/w_lgammaf.c: Likewise.
45908 * math/w_lgammaf_r.c: Likewise.
45909 * math/w_lgammal.c: Likewise.
45910 * math/w_lgammal_r.c: Likewise.
45911 * math/w_sinh.c: Likewise.
45912 * math/w_sinhf.c: Likewise.
45913 * math/w_sinhl.c: Likewise.
45914 * math/w_tgamma.c: Likewise.
45915 * math/w_tgammaf.c: Likewise.
45916 * math/w_tgammal.c: Likewise.
45917 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45918 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45919 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45920 Minor optimizations. Pretty printing. Remove cruft.
45921 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45922 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45923 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45924 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45925 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45926 * sysdeps/i386/fpu/e_asin.S: Likewise.
45927 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45928 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45929 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45930 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45931 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45932 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45933 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45934 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45935 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45936 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45937 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45938 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45939 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45940 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45941 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45942 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45943 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45944 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45945 * sysdeps/i386/fpu/e_log.S: Likewise.
45946 * sysdeps/i386/fpu/e_log10.S: Likewise.
45947 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45948 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45949 * sysdeps/i386/fpu/e_log2.S: Likewise.
45950 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45951 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45952 * sysdeps/i386/fpu/e_logf.S: Likewise.
45953 * sysdeps/i386/fpu/e_logl.S: Likewise.
45954 * sysdeps/i386/fpu/e_pow.S: Likewise.
45955 * sysdeps/i386/fpu/e_powf.S: Likewise.
45956 * sysdeps/i386/fpu/e_powl.S: Likewise.
45957 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45958 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45959 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45960 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45961 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45962 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45963 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45964 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45965 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45966 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45967 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45973 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45974 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45975 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45976 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45977 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45979 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45980 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45982 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45983 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45984 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45986 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45987 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45988 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45989 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45990 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45991 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45992 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45993 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45994 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45995 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45996 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45997 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45998 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45999 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46000 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46001 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46002 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46003 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46004 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46005 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46006 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46007 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46008 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46012 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46013 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46014 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46016 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46018 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46019 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46020 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46021 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46022 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46023 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46024 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46025 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46027 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46028 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46031 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46032 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46034 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46037 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46038 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46044 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46046 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46047 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46048 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46050 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46051 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46052 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46053 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46054 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46055 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46056 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46057 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46058 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46059 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46060 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46061 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46062 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46063 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46064 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46065 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46066 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46067 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46068 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46069 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46070 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46071 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46072 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46073 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46074 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46075 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46076 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46077 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46078 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46079 (__isnanf): Likewise.
46080 (__isinf_ns): Likewise.
46081 (__isinf_nsf): Likewise.
46082 (__finite): Likewise.
46083 (__finitef): Likewise.
46084 (__ieee754_sqrt): Define as macro.
46085 (__ieee754_sqrtf): Define as macro.
46086 (__ieee754_sqrtl): Define as macro.
46087 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46088 inlined copy.
46089 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46090 __FINITE_MATH_ONLY__ consistent.
46091 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46092
12cc2fcd
AS
460932011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46094
a843a204
AS
46095 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46096 of rawmemchr.
46097
12cc2fcd
AS
46098 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46099
c853acd5
UD
461002011-10-09 Ulrich Drepper <drepper@gmail.com>
46101
46102 * po/ja.po: Update from translation team.
46103
c658d255
RM
461042011-10-08 Roland McGrath <roland@hack.frob.com>
46105
110946e4
RM
46106 * locale/programs/locarchive.c (prepare_address_space): New function.
46107 (create_archive, enlarge_archive, open_archive): Use it.
46108
50604220
RM
46109 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46110 inside [SHARED], where it is used.
46111
c658d255
RM
46112 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46113
46114 * nss/getent.c (netgroup_keys): Remove unused variable.
46115 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46116
6a621eb7
UD
461172011-10-08 Ulrich Drepper <drepper@gmail.com>
46118
7edb55ce
UD
46119 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46120 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46121 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46122 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46123 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46124 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46125 * math/Makefile (libm-calls): Add s_isinf_ns.
46126 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46127 * math/multc3.c: Likewise.
46128 * math/s_casin.c: Likewise.
46129 * math/s_casinf.c: Likewise.
46130 * math/s_casinl.c: Likewise.
46131 * math/s_ccos.c: Likewise.
46132 * math/s_ccosf.c: Likewise.
46133 * math/s_ccosl.c: Likewise.
46134 * math/s_ctan.c: Likewise.
46135 * math/s_ctanf.c: Likewise.
46136 * math/s_ctanh.c: Likewise.
46137 * math/s_ctanhf.c: Likewise.
46138 * math/s_ctanhl.c: Likewise.
46139 * math/s_ctanl.c: Likewise.
46140 * math/w_fmod.c: Likewise.
46141 * math/w_fmodf.c: Likewise.
46142 * math/w_fmodl.c: Likewise.
46143 * math/w_remainder.c: Likewise.
46144 * math/w_remainderf.c: Likewise.
46145 * math/w_remainderl.c: Likewise.
46146 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46147 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46148 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46150 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46151 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46152 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46153 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46154
187da0ae
UD
46155 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46156 of the number.
46157 * stdio-common/printf_fphex.c: Likewise.
46158 * stdio-common/printf_size.c: Likewise.
46159
9277c064
UD
46160 * math/e_exp10.c: Include math_private.h using <...> not "...".
46161 * math/e_exp10f.c: Likewise.
46162 * math/e_exp10l.c: Likewise.
46163 * math/e_exp2l.c: Likewise.
46164 * math/e_j0l.c: Likewise.
46165 * math/e_j1l.c: Likewise.
46166 * math/e_jnl.c: Likewise.
46167 * math/e_lgammal_r.c: Likewise.
46168 * math/e_rem_pio2l.c: Likewise.
46169 * math/e_scalb.c: Likewise.
46170 * math/e_scalbf.c: Likewise.
46171 * math/e_scalbl.c: Likewise.
46172 * math/k_cosl.c: Likewise.
46173 * math/k_sinl.c: Likewise.
46174 * math/k_tanl.c: Likewise.
46175 * math/s_cacoshf.c: Likewise.
46176 * math/s_catan.c: Likewise.
46177 * math/s_catanf.c: Likewise.
46178 * math/s_catanh.c: Likewise.
46179 * math/s_catanhf.c: Likewise.
46180 * math/s_catanhl.c: Likewise.
46181 * math/s_catanl.c: Likewise.
46182 * math/s_ccosh.c: Likewise.
46183 * math/s_ccoshf.c: Likewise.
46184 * math/s_ccoshl.c: Likewise.
46185 * math/s_cexp.c: Likewise.
46186 * math/s_cexpf.c: Likewise.
46187 * math/s_cexpl.c: Likewise.
46188 * math/s_clog.c: Likewise.
46189 * math/s_clog10.c: Likewise.
46190 * math/s_clog10f.c: Likewise.
46191 * math/s_clog10l.c: Likewise.
46192 * math/s_clogf.c: Likewise.
46193 * math/s_clogl.c: Likewise.
46194 * math/s_csin.c: Likewise.
46195 * math/s_csinf.c: Likewise.
46196 * math/s_csinh.c: Likewise.
46197 * math/s_csinhf.c: Likewise.
46198 * math/s_csinhl.c: Likewise.
46199 * math/s_csinl.c: Likewise.
46200 * math/s_csqrt.c: Likewise.
46201 * math/s_csqrtf.c: Likewise.
46202 * math/s_csqrtl.c: Likewise.
46203 * math/s_ctan.c: Likewise.
46204 * math/s_ctanf.c: Likewise.
46205 * math/s_ctanh.c: Likewise.
46206 * math/s_ctanhf.c: Likewise.
46207 * math/s_ctanhl.c: Likewise.
46208 * math/s_ctanl.c: Likewise.
46209 * math/s_ldexp.c: Likewise.
46210 * math/s_ldexpf.c: Likewise.
46211 * math/s_ldexpl.c: Likewise.
46212 * math/s_significand.c: Likewise.
46213 * math/s_significandf.c: Likewise.
46214 * math/s_significandl.c: Likewise.
46215 * math/w_acos.c: Likewise.
46216 * math/w_acosf.c: Likewise.
46217 * math/w_acosh.c: Likewise.
46218 * math/w_acoshf.c: Likewise.
46219 * math/w_acoshl.c: Likewise.
46220 * math/w_acosl.c: Likewise.
46221 * math/w_asin.c: Likewise.
46222 * math/w_asinf.c: Likewise.
46223 * math/w_asinl.c: Likewise.
46224 * math/w_atan2.c: Likewise.
46225 * math/w_atan2f.c: Likewise.
46226 * math/w_atan2l.c: Likewise.
46227 * math/w_atanh.c: Likewise.
46228 * math/w_atanhf.c: Likewise.
46229 * math/w_atanhl.c: Likewise.
46230 * math/w_cosh.c: Likewise.
46231 * math/w_coshf.c: Likewise.
46232 * math/w_coshl.c: Likewise.
46233 * math/w_dremf.c: Likewise.
46234 * math/w_exp10.c: Likewise.
46235 * math/w_exp10f.c: Likewise.
46236 * math/w_exp10l.c: Likewise.
46237 * math/w_exp2.c: Likewise.
46238 * math/w_exp2f.c: Likewise.
46239 * math/w_fmod.c: Likewise.
46240 * math/w_fmodf.c: Likewise.
46241 * math/w_fmodl.c: Likewise.
46242 * math/w_hypot.c: Likewise.
46243 * math/w_hypotf.c: Likewise.
46244 * math/w_hypotl.c: Likewise.
46245 * math/w_j0.c: Likewise.
46246 * math/w_j0f.c: Likewise.
46247 * math/w_j0l.c: Likewise.
46248 * math/w_j1.c: Likewise.
46249 * math/w_j1f.c: Likewise.
46250 * math/w_j1l.c: Likewise.
46251 * math/w_jn.c: Likewise.
46252 * math/w_jnf.c: Likewise.
46253 * math/w_jnl.c: Likewise.
46254 * math/w_lgamma.c: Likewise.
46255 * math/w_lgamma_r.c: Likewise.
46256 * math/w_lgammaf.c: Likewise.
46257 * math/w_lgammaf_r.c: Likewise.
46258 * math/w_lgammal.c: Likewise.
46259 * math/w_lgammal_r.c: Likewise.
46260 * math/w_log.c: Likewise.
46261 * math/w_log10.c: Likewise.
46262 * math/w_log10f.c: Likewise.
46263 * math/w_log10l.c: Likewise.
46264 * math/w_log2.c: Likewise.
46265 * math/w_log2f.c: Likewise.
46266 * math/w_log2l.c: Likewise.
46267 * math/w_logf.c: Likewise.
46268 * math/w_logl.c: Likewise.
46269 * math/w_pow.c: Likewise.
46270 * math/w_powf.c: Likewise.
46271 * math/w_powl.c: Likewise.
46272 * math/w_remainder.c: Likewise.
46273 * math/w_remainderf.c: Likewise.
46274 * math/w_remainderl.c: Likewise.
46275 * math/w_scalb.c: Likewise.
46276 * math/w_scalbf.c: Likewise.
46277 * math/w_scalbl.c: Likewise.
46278 * math/w_sinh.c: Likewise.
46279 * math/w_sinhf.c: Likewise.
46280 * math/w_sinhl.c: Likewise.
46281 * math/w_sqrt.c: Likewise.
46282 * math/w_sqrtf.c: Likewise.
46283 * math/w_sqrtl.c: Likewise.
46284 * math/w_tgamma.c: Likewise.
46285 * math/w_tgammaf.c: Likewise.
46286 * math/w_tgammal.c: Likewise.
46287
6a621eb7
UD
46288 * po/ja.po: Update from translation team.
46289
bf582445
AJ
462902011-09-29 Andreas Jaeger <aj@suse.de>
46291
f9efbf3a
AJ
46292 [BZ #13179]
46293 * sunrpc/netname.c (netname2host): Fix logic.
46294
bf582445
AJ
46295 [BZ #6779]
46296 [BZ #6783]
46297 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46298 correctly.
46299 * math/w_remainder.c (__remainder): Likewise.
46300 * math/w_remainderf.c (__remainderf): Likewise.
46301 * math/libm-test.inc (remainder_test): Add test cases.
46302
48693bea
AK
463032011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46304
46305 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46306 sdiv_qrnnd.
46307
42622229
LD
463082011-10-07 Ulrich Drepper <drepper@gmail.com>
46309
46310 * string/test-memcmp.c: Avoid unncessary #defines.
46311 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46312
093ecf92
LD
463132011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46314
46315 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46316 Use new sse2 version for core i3 - i7 as it's faster
46317 than sse42 version.
46318 (bit_Prefer_PMINUB_for_stringop): New.
46319 * sysdeps/x86_64/rawmemchr.S: Update.
46320 Replace with faster SSE2 version.
46321 * sysdeps/x86_64/memrchr.S: New file.
46322 * sysdeps/x86_64/memchr.S: Update.
46323 Replace with faster SSE2 version.
46324
fde56e5c
MP
463252011-09-12 Marek Polacek <mpolacek@redhat.com>
46326
46327 * elf/dl-load.c (lose): Add cast to avoid warning.
46328
21fd49a9
UD
463292011-10-07 Ulrich Drepper <drepper@gmail.com>
46330
5a06e643
UD
46331 * po/ca.po: Update from translation team.
46332
684ae515
UD
46333 * inet/getnetgrent_r.c: Hook up nscd.
46334 * nscd/Makefile (routines): Add nscd_netgroup.
46335 (nscd-modules): Add netgroupcache.
46336 (CFLAGS-netgroupcache.c): Define.
46337 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46338 (cache_search): Add const to second parameter.
46339 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46340 INNETGR.
46341 (dbs): Add netgrdb entry.
46342 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46343 (verify_persistent_db): Handle netgrdb.
46344 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46345 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46346 GETFDNETGR.
46347 (netgroup_response_header): Define.
46348 (innetgroup_response_header): Define.
46349 (datahead): Add netgroup_response_header and innetgroup_response_header
46350 elements.
46351 * nscd/nscd.conf: Add entries for netgroup cache.
46352 * nscd/nscd.h (dbtype): Add netgrdb.
46353 (_PATH_NSCD_NETGROUP_DB): Define.
46354 (netgroup_iov_disabled): Declare.
46355 (xmalloc, xcalloc, xrealloc): Move declarations here.
46356 (cache_search): Adjust prototype.
46357 Add netgroup-related prototypes.
46358 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46359 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46360 (__nscd_innetgr): Declare.
46361 * nscd/selinux.c (perms): Use access_vector_t as element type and
46362 add netgroup-related initializers.
46363 * nscd/netgroupcache.c: New file.
46364 * nscd/nscd_netgroup.c: New file.
46365 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46366 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46367 For four parameters use innetgr.
46368 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46369 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46370 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46371 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46372
21fd49a9
UD
46373 * nscd/connections.c (register_traced_file): Don't register file
46374 for disabled databases.
46375
054c0457
UD
463762011-10-06 Ulrich Drepper <drepper@gmail.com>
46377
32b63198
UD
46378 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46379
054c0457
UD
46380 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46381 from tree and freeing node.
46382
64031225
JO
463832011-09-25 Jiri Olsa <jolsa@redhat.com>
46384
46385 * nss/nsswitch.c (__nss_database_lookup): Handle
46386 nss_parse_service_list out of memory case.
46387
0490345c
JO
463882011-09-15 Jiri Olsa <jolsa@redhat.com>
46389
46390 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46391 out of memory case.
46392
3a62d00d
AS
463932011-10-04 Andreas Schwab <schwab@redhat.com>
46394
46395 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46396 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46397 pass it down.
46398 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46399 elf_machine_rela, elf_machine_lazy_rel.
46400 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46401 (ELF_DYNAMIC_DO_REL): Likewise.
46402 (ELF_DYNAMIC_DO_RELA): Likewise.
46403 (ELF_DYNAMIC_RELOCATE): Likewise.
46404 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46405 to ELF_DYNAMIC_DO_REL.
46406 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46407 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46408 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46409 elf_machine_rela.
46410 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46411 skip_ifunc, don't call ifunc function if non-zero.
46412 (elf_machine_rela): Likewise.
46413 (elf_machine_lazy_rel): Likewise.
46414 (elf_machine_lazy_rela): Likewise.
46415 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46416 (elf_machine_lazy_rel): Likewise.
46417 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46418 Likewise.
46419 (elf_machine_lazy_rel): Likewise.
46420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46421 Likewise.
46422 (elf_machine_lazy_rel): Likewise.
46423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46424 (elf_machine_lazy_rel): Likewise.
46425 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46426 (elf_machine_lazy_rel): Likewise.
46427 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46428 (elf_machine_lazy_rel): Likewise.
46429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46430 (elf_machine_lazy_rel): Likewise.
46431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46432 (elf_machine_lazy_rel): Likewise.
46433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46434 (elf_machine_lazy_rel): Likewise.
46435
68577918
UD
464362011-09-28 Ulrich Drepper <drepper@gmail.com>
46437
46438 * nss/nss_files/files-init.c (_nss_files_init): Use static
46439 initialization for all the *_traced_file variables.
46440
68822d74
AS
464412011-09-28 Andreas Schwab <schwab@redhat.com>
46442
46443 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46444
2056100b
RM
464452011-09-27 Roland McGrath <roland@hack.frob.com>
46446
46447 [BZ #13226]
46448 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46449
32c76b63
AS
464502011-09-27 Andreas Schwab <schwab@redhat.com>
46451
46452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46453 Reread the line before reparsing it.
46454
bf972c9d
AS
464552011-09-26 Andreas Schwab <schwab@redhat.com>
46456
46457 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46458
e057a1b5
JM
464592011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46460 Maxim Kuvyrkov <maxim@codesourcery.com>
46461 Joseph Myers <joseph@codesourcery.com>
46462
46463 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46464 if needed for __stack_chk_guard.
46465
bc7e1c36
RM
464662011-09-19 Roland McGrath <roland@hack.frob.com>
46467
ecb1482f
RM
46468 * sysdeps/posix/spawni.c (script_execute): Always define it.
46469 It will be optimized away if unused.
46470 (maybe_script_execute): New function.
46471 (__spawni): Call it.
46472
bc7e1c36
RM
46473 * Makerules: Don't include tls.make.
46474 (config-tls): Always set to thread.
46475 * tls.make.c: File removed.
46476
1c3b002b
MF
464772011-09-19 Mike Frysinger <vapier@gentoo.org>
46478
46479 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46480 * config.make.in (CPPFLAGS-config): New substituted variable.
46481
2840865d
UD
464822011-09-15 Ulrich Drepper <drepper@gmail.com>
46483
88738eb6
UD
46484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46485
cbf645a6 46486 [BZ #13192]
2840865d
UD
46487 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46488 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46489
b402e91a
RM
464902011-09-15 Roland McGrath <roland@hack.frob.com>
46491
46492 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46493 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46495 (CALL_FAIL): Likewise.
46496 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46497 (CALL_FAIL): Macro removed.
46498 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46499
4c1a1f71
UD
465002011-09-15 Ulrich Drepper <drepper@gmail.com>
46501
46502 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46503 for __FINITE_MATH_ONLY__ == 1.
46504
edc121be
AS
465052011-09-15 Andreas Schwab <schwab@redhat.com>
46506
46507 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46508 __ieee754_sqrt instead of sqrt.
46509 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46510 __ieee754_sqrtf instead of sqrtf.
46511 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46512 __floorf instead of floorf.
46513 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46514 __floorf, __truncf instead of floorf, truncf.
46515
cd205654
UD
465162011-09-14 Ulrich Drepper <drepper@gmail.com>
46517
ee4d0315
UD
46518 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46519
cd205654
UD
46520 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46521 __extern_always_inline.
46522 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46523 32-bit.
46524
48b67d71
AS
465252011-09-14 Andreas Schwab <schwab@redhat.com>
46526
46527 * elf/rtld.c (dl_main): Also relocate in dependency order when
46528 doing symbol dependency testing.
46529
1ae12c75
AS
465302011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46531
46532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46533 Always define `refsym'.
46534
995a80df
AS
465352011-09-13 Andreas Schwab <schwab@redhat.com>
46536
e529793b
AS
46537 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46538 (__FD_ELT): Renamed from __FDELT.
46539 * misc/bits/select2.h (__FD_ELT): Likewise.
46540 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46541 __FD_MASK instead of __FDELT, __FDMASK.
46542 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46543 Likewise.
46544 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46545 Likewise.
46546
52d4fef8
AS
46547 * elf/Makefile (gen-ldd): Fix pattern.
46548
995a80df
AS
46549 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46550 (init_tls): Likewise.
46551
8682f8b0
UD
465522011-09-12 Ulrich Drepper <drepper@gmail.com>
46553
46554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46555
de82006d
AS
465562011-09-12 Andreas Schwab <schwab@redhat.com>
46557
a7c8e6a1
AS
46558 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46559 `struct cmsghdr *' instead of `void *'.
46560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46561 Likewise.
46562
0f31fe77
AS
465632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46564
46565 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46566 if non-absolute.
46567 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46568 ldd_rewrite_script.
0f31fe77 46569
32b4c839
UD
465702011-09-11 Ulrich Drepper <drepper@gmail.com>
46571
83cd1420
UD
46572 * configure.in: Remove --with-tls option.
46573 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46574 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46575 out in case it is missing.
46576 * sysdeps/ia64/elf/configure.in: Likewise.
46577 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46578 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46579 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46580 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46581 * sysdeps/sh/elf/configure.in: Likewise.
46582 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46583 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46584 * sysdeps/x86_64/elf/configure.in: Likewise.
46585 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46586 * sysdeps/mach/hurd/tls.h: Likewise.
46587
633f745d
UD
46588 [BZ #13067]
46589 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46590
f318beb8
UD
46591 [BZ #13090]
46592 * configure.in: Fix use of AC_INIT.
46593
32b4c839
UD
46594 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46595
3ce1f295
UD
465962011-09-10 Ulrich Drepper <drepper@gmail.com>
46597
bb016596
UD
46598 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46599 __set_errno.
8e58439c
UD
46600 * malloc/hooks.c: Likewise.
46601
aebae053 46602 [BZ #11929]
02d46fc4
UD
46603 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46604 variables statically.
46605 (narenas): Initialize.
46606 (list_lock): Initialize.
bb016596
UD
46607 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46608 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
46609 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46610 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46611 Add initializers to main_arena and mp_.
46612 (malloc_state): Remove pagesize member. Change all users to use
46613 GLRO(dl_pagesize).
46614
46615 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46616 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46617 is always initialized.
46618
22a89187
UD
46619 * malloc/malloc.c: Removed unused configurations and dead code.
46620 * malloc/arena.c: Likewise.
46621 * malloc/hooks.c: Likewise.
02d46fc4 46622 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 46623
d063d164
UD
46624 * include/tls.h: Removed. USE___THREAD must always be defined.
46625 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46626 * elf/dl-libc.c: Likewise.
46627 * elf/dl-tsd.c: Likewise.
46628 * include/errno.h: Likewise.
46629 * include/netdb.h: Likewise.
46630 * include/resolv.h: Likewise.
46631 * inet/herrno-loc.c: Likewise.
46632 * inet/herrno.c: Likewise.
46633 * malloc/arena.c: Likewise.
46634 * malloc/hooks.c: Likewise.
46635 * malloc/malloc.c: Likewise.
46636 * resolv/res-state.c: Likewise.
46637 * resolv/res_libc.c: Likewise.
46638 * sysdeps/i386/dl-machine.h: Likewise.
46639 * sysdeps/ia64/dl-machine.h: Likewise.
46640 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46641 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46642 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46643 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46644 * sysdeps/sh/dl-machine.h: Likewise.
46645 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46646 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46647 * sysdeps/unix/i386/sysdep.S: Likewise.
46648 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46649 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46650 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46651 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46652 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46653 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46654 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46658 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46659 * sysdeps/x86_64/dl-machine.h: Likewise.
46660 * tls.make.c: Likewise.
46661
3ce1f295
UD
46662 * configure.in: Remove --with-__thread option. Make tests for
46663 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46664 tls_model attribute fail if no support is available. Remove
46665 USE_IN_LIBIO.
46666 * Makeconfig: Adjust for dropped configure option. All features are
46667 now mandatory.
46668 * Makerules: Likewise.
46669 * Versions.def: Likewise.
46670 * argp/argp-fmtstream.c: Likewise.
46671 * argp/argp-fmtstream.h: Likewise.
46672 * argp/argp-help.c: Likewise.
46673 * assert/assert.c: Likewise.
46674 * config.h.in: Likewise.
46675 * config.make.in: Likewise.
46676 * configure: Likewise.
46677 * configure.in: Likewise.
46678 * csu/Versions: Likewise.
46679 * csu/init.c: Likewise.
46680 * elf/tst-audit2.c: Likewise.
46681 * elf/tst-tls10.c: Likewise.
46682 * elf/tst-tls10.h: Likewise.
46683 * elf/tst-tls11.c: Likewise.
46684 * elf/tst-tls12.c: Likewise.
46685 * elf/tst-tls14.c: Likewise.
46686 * elf/tst-tlsmod11.c: Likewise.
46687 * elf/tst-tlsmod12.c: Likewise.
46688 * elf/tst-tlsmod13.c: Likewise.
46689 * elf/tst-tlsmod13a.c: Likewise.
46690 * elf/tst-tlsmod14a.c: Likewise.
46691 * elf/tst-tlsmod15b.c: Likewise.
46692 * elf/tst-tlsmod16a.c: Likewise.
46693 * elf/tst-tlsmod16b.c: Likewise.
46694 * elf/tst-tlsmod7.c: Likewise.
46695 * elf/tst-tlsmod8.c: Likewise.
46696 * elf/tst-tlsmod9.c: Likewise.
46697 * gmon/gmon.c: Likewise.
46698 * grp/fgetgrent_r.c: Likewise.
46699 * grp/putgrent.c: Likewise.
46700 * hurd/fopenport.c: Likewise.
46701 * include/libc-symbols.h: Likewise.
46702 * include/tls.h: Likewise.
46703 * intl/gettextP.h: Likewise.
46704 * intl/loadinfo.h: Likewise.
46705 * locale/global-locale.c: Likewise.
46706 * locale/localeinfo.h: Likewise.
46707 * mach/devstream.c: Likewise.
46708 * malloc/arena.c: Likewise.
46709 * malloc/set-freeres.c: Likewise.
46710 * misc/err.c: Likewise.
46711 * misc/getttyent.c: Likewise.
46712 * misc/mntent_r.c: Likewise.
46713 * posix/getopt.c: Likewise.
46714 * posix/wordexp.c: Likewise.
46715 * pwd/fgetpwent_r.c: Likewise.
46716 * resolv/Versions: Likewise.
46717 * resolv/res_hconf.c: Likewise.
46718 * shadow/fgetspent_r.c: Likewise.
46719 * shadow/putspent.c: Likewise.
46720 * stdio-common/printf_fphex.c: Likewise.
46721 * stdio-common/tmpfile.c: Likewise.
46722 * stdlib/abort.c: Likewise.
46723 * stdlib/fmtmsg.c: Likewise.
46724 * sunrpc/auth_unix.c: Likewise.
46725 * sunrpc/clnt_perr.c: Likewise.
46726 * sunrpc/clnt_tcp.c: Likewise.
46727 * sunrpc/clnt_udp.c: Likewise.
46728 * sunrpc/clnt_unix.c: Likewise.
46729 * sunrpc/openchild.c: Likewise.
46730 * sunrpc/svc_simple.c: Likewise.
46731 * sunrpc/svc_tcp.c: Likewise.
46732 * sunrpc/svc_udp.c: Likewise.
46733 * sunrpc/svc_unix.c: Likewise.
46734 * sunrpc/xdr.c: Likewise.
46735 * sunrpc/xdr_array.c: Likewise.
46736 * sunrpc/xdr_rec.c: Likewise.
46737 * sunrpc/xdr_ref.c: Likewise.
46738 * sunrpc/xdr_stdio.c: Likewise.
46739
1248c1c4
PB
467402011-09-09 Ulrich Drepper <drepper@gmail.com>
46741
46742 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46743
467442011-07-03 Andreas Jaeger <aj@suse.de>
46745
46746 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46747 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46748 regenerate with gen-libm-tests.pl.
46749
467502010-05-12 Petr Baudis <pasky@suse.cz>
46751
46752 [BZ #11589]
46753 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46754 around j0() zero points by switching to j1().
46755 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46758 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46759
f22e1074
UD
467602011-09-09 Ulrich Drepper <drepper@gmail.com>
46761
f19009c1
UD
46762 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46763 instead of 0.
46764 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 46765 instead of 0.
f19009c1
UD
46766 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46767 Patch in part by Pavel Roskin <proski@gnu.org>.
46768
3f8cc204
UD
46769 [BZ #13138]
46770 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46771 realloc.
46772 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46773 Free memory block if necessary.
46774
f22e1074
UD
46775 [BZ #12847]
46776 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46777 be NULL. Don't lock in this case.
46778
0a2349f9
RM
467792011-09-09 Roland McGrath <roland@hack.frob.com>
46780
46781 * elf/elf.h (ELFOSABI_GNU): New macro.
46782 (ELFOSABI_LINUX): Define to that.
46783
f3cdd467
DZ
467842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46785
46786 * string/strncat.c (strncat): Undef the symbol in case it has been
46787 defined in bits/string.h.
46788
74718d13
UD
467892011-09-09 Ulrich Drepper <drepper@gmail.com>
46790
633e9e0f
UD
46791 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46792
0a2349f9 46793 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
46794 link map.
46795
f9924780
AJ
467962011-08-17 Andreas Jaeger <aj@suse.de>
46797
46798 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46799
7f5517aa
PP
468002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46801 Ian Lance Taylor <iant@google.com>
46802
46803 * math/libm-test.inc (lround_test): New testcase.
46804 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46805
762011fe
UD
468062011-09-08 Ulrich Drepper <drepper@gmail.com>
46807
92963737
UD
46808 * Makefile: Remove support for automatic cvs check-ins.
46809 * Makerules: Likewise.
46810 * config.make.in: Likewise.
46811 * configure.in: Likewise.
46812 * intl/Makefile: Likewise.
46813 * locale/Makefile: Likewise.
46814 * po/Makefile: Likewise.
46815 * posix/Makefile: Likewise.
46816 * sysdeps/gnu/Makefile: Likewise.
46817 * sysdeps/mach/hurd/Makefile: Likewise.
46818 * sysdeps/sparc/sparc32/Makefile: Likewise.
46819
b0727fd8
JS
46820 [BZ #13118]
46821 * posix/Makefile (bug-regex32-ENV): Define.
46822 Patch by John Stanley <jpsinthemix@verizon.net>.
46823
a0f33f99
UD
46824 * misc/Makefile (headers): Add bits/select2.h.
46825 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46826 * misc/bits/select2.h: New file.
46827 * include/bits/select2.h: New file.
46828 * debug/Makefile (routines): Add fdelt_chk.
46829 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46830 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46831 FD_ISSET.
46832 * debug/fdelt_chk.c: New file.
46833
762011fe
UD
46834 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46835 * wcsmbs/test-wmemcmp.c: Likewise.
46836 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 46837 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
46838
468392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46840
46841 * string/Makefile (strop-tests): Add memcmp.
46842 * string/test-wmemcmp.c: New file.
46843 * string/test-memcmp.c: Add wmemcmp support.
46844
7f513ec8
RM
468452011-09-08 Roland McGrath <roland@hack.frob.com>
46846
0442afb4
RM
46847 [BZ #13153]
46848 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46849 2011-07-19 change.
46850
7f513ec8
RM
46851 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46852 garbage value in a __mach_port_mod_refs call in the cases of the
46853 task-self and thread-self ports.
46854
a12b2239
ST
468552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46856
46857 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46858
610f9ab4
AS
468592011-09-08 Andreas Schwab <schwab@redhat.com>
46860
7f513ec8 46861 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 46862
48882a1a
LD
468632011-09-07 Ulrich Drepper <drepper@gmail.com>
46864
b49865be
UD
46865 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46866
fdc86bc9
UD
46867 * elf/dl-libc.c (dlerror_run): Pass back error code from
46868 dl_catch_error.
46869
c966526a
UD
46870 [BZ #13123]
46871 * elf/dl-load.c (lose): Free l_origin if it is valid.
46872
48882a1a
LD
46873 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46874 names.
46875 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46876 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46877 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46878 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46879 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46880 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46881
77a2a8b4
AZ
468822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46883
46884 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46885 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46886 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46887 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46888 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46889 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46890 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46891 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46892 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46893 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46894
24f579d8
AM
468952011-08-15 Alan Modra <amodra@gmail.com>
46896
46897 [BZ #13092]
46898 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46899 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46900 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46901 ppc_mcount to static-only-routines.
46902 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46903 __mcount_internal.
46904 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46905 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46906
3d4837df
UD
469072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46908
46909 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46910 for finite and infinity parameters.
46911
22700377
WS
469122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46913
46914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46915 and add nop instructions for throughput optimization.
46916 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46917
5025581e
WS
469182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46919
46920 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46921 aligned copy for power7 with vector-scalar instructions.
46922 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46923
08a300c9
L
469242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46925
46926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46927 AVX check.
46928
59178ef9
AS
469292011-09-07 Andreas Schwab <schwab@redhat.com>
46930
46931 [BZ #13144]
46932 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46933 last change.
46934
e38ba7ab
UD
469352011-09-07 Ulrich Drepper <drepper@gmail.com>
46936
46937 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46938 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46939 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46940 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46941 clock_gettime.
46942
d53a73ac
UD
469432011-09-06 Ulrich Drepper <drepper@gmail.com>
46944
fc8bffcc
UD
46945 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46946 Forgot to demangle the pointer.
46947
ceaa0c5d
UD
46948 * sysdeps/i386/sysdep.h: Define atom_text_section.
46949 * sysdeps/x86_64/sysdep.h: Likewise.
46950 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46951 section with atom_text_section.
46952 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46953 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46954 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46956 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46957
a77d3c17
UD
46958 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46959 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46960 already be defined. Change to take two parameters and don't assign
46961 result to variable. Adjust all users.
46962 Define INTERNAL_GETTIME if not already defined.
46963 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46964 call.
46965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46966 HAVE_CLOCK_GETTIME_VSYSCALL.
46967 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46968
d53a73ac
UD
46969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46970 gettimeofday vsyscall, just use time.
46971
a8f84144
AS
469722011-09-06 Andreas Schwab <schwab@redhat.com>
46973
46974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46975 <errno.h>.
46976
ef606249
UD
469772011-09-06 Ulrich Drepper <drepper@gmail.com>
46978
46979 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46980 syscall on x86-64.
46981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46982 syscall.
46983 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46984 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46985 syscall if possible.
46986
6585cb60
UD
469872011-09-05 Ulrich Drepper <drepper@gmail.com>
46988
46989 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46990 e_ident. Don't pass to find_mapsXX.
46991 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46992
a5f524e4
LD
469932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46994
46995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46996 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46997 * sysdeps/x86_64/multiarch/strchr.S: Update.
46998 Check bit_slow_BSF bit.
46999 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47000 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47001 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47002
554881ef
UD
470032011-09-05 Ulrich Drepper <drepper@gmail.com>
47004
d96de963
UD
47005 [BZ #13134]
47006 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47007 before glibc 2.15.
47008 (tryshell): Define.
47009 (__spawni): Change last parameter to be flag. Test
47010 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47011 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47012 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47013 * posix/spawni.c: Likewise.
47014 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47015 * posix/spawnp.c: Likewise. Change normal version to use
47016 SPAWN_XFLAGS_USE_PATH.
47017 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47018 SPAWN_XFLAGS_TRY_SHELL.
47019
d48e5868
UD
47020 [BZ #13150]
47021 * posix/glob.h: Remove gcc 1.x support.
47022
554881ef
UD
47023 [BZ #13068]
47024 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47025
693fb948
LD
470262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47027
47028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47029 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47030 strrchr-sse2-bsf
47031 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47032 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47033 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47034 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47035 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47037
1b48c537
UD
470382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47039
49d42c37
UD
47040 * sysdeps/x86_64/wcscmp.S: New file.
47041
1b48c537
UD
47042 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47043 wcscmp-c wcscmp-sse2
47044 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47045 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47046 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47047 * wcsmbs/wcscmp.c: Allow renaming.
47048
15c95c5d
DM
470492011-09-05 David S. Miller <davem@davemloft.net>
47050
47051 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47052 stack slot, rather than the struct return pointer slot.
47053 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47054 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47056 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47057
2f0ad8f3
UD
470582011-09-05 Ulrich Drepper <drepper@gmail.com>
47059
d88ae418
UD
47060 * po/ja.po: Update from translation team.
47061
2f0ad8f3
UD
47062 [BZ #13144]
47063 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47064 kernel in 64-bit binaries.
47065
5f4318d1
DM
470662011-09-01 David S. Miller <davem@davemloft.net>
47067
47068 * elf/elf.h (HWCAP_SPARC_*): Move to..
47069 * sysdeps/sparc/sysdep.h: this new file and add new values.
47070 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47071 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47072 _DL_HWCAP_COUNT to 24.
47073 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47074 entries.
47075 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47076 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47077 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47079 instead of magic constants.
47080 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47081
3ba57516
DM
470822011-08-31 David S. Miller <davem@davemloft.net>
47083
47084 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47086 Reimplement to do errno handling inline.
47087 (SYSCALL_ERROR_HANDLER): New macro.
47088 (__SYSCALL_STRING): Do not do errno handling in asm.
47089 (__CLONE_SYSCALL_STRING): Delete.
47090 (__INTERNAL_SYSCALL_STRING): Delete.
47091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47092 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47093 (PSEUDO): Reimplement to do errno handling inline.
47094 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47095 (SYSCALL_ERROR_HANDLER): New macro.
47096 (__SYSCALL_STRING): Do not do errno handling in asm.
47097 (__CLONE_SYSCALL_STRING): Delete.
47098 (__INTERNAL_SYSCALL_STRING): Delete.
47099 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47100 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47101 i386.
47102 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47103 (inline_syscall*): Add 'err' argument.
47104 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47105 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47106 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47107 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47108
47109 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47110 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47111
2bc17433
AS
471122011-08-30 Andreas Schwab <schwab@redhat.com>
47113
47114 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47115
fbeb5f4d
JO
471162011-08-29 Jiri Olsa <jolsa@redhat.com>
47117
47118 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47119 directive.
47120
ad69cc26
DM
471212011-08-24 David S. Miller <davem@davemloft.net>
47122
47123 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47124
39dd69df
AS
471252011-08-24 Andreas Schwab <schwab@redhat.com>
47126
47127 * elf/Makefile: Add rules to build and run unload8 test.
47128 * elf/unload8.c: New file.
47129 * elf/unload8mod1.c: New file.
47130 * elf/unload8mod1x.c: New file.
47131 * elf/unload8mod2.c: New file.
47132 * elf/unload8mod3.c: New file.
47133
47134 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47135 it wasn't used.
47136
2c0b250a
DM
471372011-08-23 David S. Miller <davem@davemloft.net>
47138
47139 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47140 subtract stack bias.
47141 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47142 %sp not %fp in calculations.
47143 (_JMPBUF_UNWINDS_ADJ): Likewise.
47144
22044b48
DM
47145 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47146 (aio_suspend): Call it to force an exception region around the
47147 AIO_MISC_WAIT() invocation.
47148
2cae4995
AS
471492011-08-23 Andreas Schwab <schwab@redhat.com>
47150
47151 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47152 backslash.
47153
873a772e
AJ
471542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47155
47156 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47157 protection macro.
47158 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47159 and <dl-machine.h>.
47160 (Elf64_FuncDesc): Remove.
47161
25ad0df1
DM
471622011-08-22 David S. Miller <davem@davemloft.net>
47163
47164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47165 sigaltstack check, add missing cfi directives.
47166 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47167 missing cfi directives, and sigaltstack handling.
47168
e888bcbe
AS
471692011-08-16 Andreas Schwab <schwab@redhat.com>
47170
47171 [BZ #11724]
47172 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47173 object is seen twice.
47174 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47175
47176 * elf/Makefile (distribute): Add tst-initorder2.c.
47177 (tests): Add tst-initorder2.
47178 (modules-names): Add tst-initorder2a tst-initorder2b
47179 tst-initorder2c tst-initorder2d. Add rules to build them.
47180 ($(objpfx)tst-initorder2.out): New rule.
47181 * elf/tst-initorder2.c: New file.
47182 * elf/tst-initorder2.exp: New file.
47183
87162f46
AS
471842011-08-22 Andreas Schwab <schwab@redhat.com>
47185
70538b7f
AS
47186 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47187
f55ffe58
AS
47188 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47189 dependencies back to end of function.
47190
87162f46
AS
47191 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47192 $(elfobjdir)/ld.so.
47193
91b392a4
UD
471942011-08-21 Ulrich Drepper <drepper@gmail.com>
47195
47196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47197 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47199 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47200 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47201 of __vdso_gettimeofday.
47202 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47203 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47204 attribute_hidden.
47205 (_libc_vdso_platform_setup): Remove initialization of
47206 __vdso_gettimeofday and __vdso_time.
47207
5c43483f
UD
472082011-08-20 Ulrich Drepper <drepper@gmail.com>
47209
775a77e7
UD
47210 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47211 and fgetc_unlocked.
47212 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47213 getc_unlocked.
89f447ed 47214
49c74ba9
UD
47215 * elf/dl-open.c (add_to_global): Report additions to the global scope
47216 for LD_DEBUG=scopes.
47217 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 47218 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 47219
5c43483f
UD
47220 [BZ #13114]
47221 * stdio-common/Makefile (tests): Add bug24.
47222 * stdio-common/bug24.c: New file.
47223
a101b025
AJ
472242011-08-19 Andreas Jaeger <aj@suse.de>
47225
47226 [BZ #13114]
47227 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47228 non-existant file when using close-on-exec mode.
47229
c88f1766
UD
472302011-08-20 Ulrich Drepper <drepper@gmail.com>
47231
0276a718
UD
47232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47233 the very first instruction.
47234
c88f1766
UD
47235 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47236 the CFI state in the end.
47237 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47238 inclusion of dl-trampoline.h.
47239 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47240
51ccffa0
AS
472412011-08-19 Andreas Schwab <schwab@redhat.com>
47242
94d7165f
AS
47243 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47244 expectations for long double.
47245
51ccffa0
AS
47246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47247 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47248
fd708658 472492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
47250
47251 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47252 artificual limit depends upon the system page size.
47253
44f0a71e
UD
472542011-08-17 Ulrich Drepper <drepper@gmail.com>
47255
47256 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47257 * resolv/Makefile: Define CFLAGS-libresolv.
47258
8de79a24
AS
472592011-08-17 Andreas Schwab <schwab@redhat.com>
47260
47261 * nss/makedb.c (compute_tables): Make variables used in nested
47262 function static.
47263
27724598
UD
472642011-08-17 Ulrich Drepper <drepper@gmail.com>
47265
c5305d88
UD
47266 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47267 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47268 if buffer was too small.
47269
27724598
UD
47270 * elf/pldd.c (main): Attach to all threads in the process.
47271 Rewrite /proc handling to use *at functions.
47272
076fe015
UD
472732011-08-16 Ulrich Drepper <drepper@gmail.com>
47274
174baab3
UD
47275 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47276 specifies first scope to show.
47277 (dl_open_worker): Update callers. Move printing scope of new
47278 object to before the relocation.
44f0a71e 47279 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
47280 * sysdeps/generic/ldsodefs.h: Update declaration.
47281
076fe015
UD
47282 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47283 string for the scope number.
47284
a60df2c3
UD
472852011-08-14 Ulrich Drepper <drepper@gmail.com>
47286
47287 * nscd/servicescache.c (cache_addserv): Make sure written is always
47288 initialized.
47289
5e4287d1
RM
472902011-08-14 Roland McGrath <roland@hack.frob.com>
47291
85ae0589
RM
47292 * sysdeps/i386/i486/bits/atomic.h
47293 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47294 statement expression, so as to suppress "set but not used" warning.
47295 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47296
69f63097
RM
47297 * string/strncat.c (STRNCAT): Use prototype definition.
47298
675456ef
RM
47299 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47300 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47301 -Iprograms here.
47302 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47303 (localedef-modules): Add localedef.
47304 (locale-modules): Add locale.
47305
5e4287d1
RM
47306 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47307 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47308 to avoid a warning.
47309
9c96ff23
DM
473102011-08-14 David S. Miller <davem@davemloft.net>
47311
47312 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47313 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47314
f9ddf089
UD
473152011-08-13 Ulrich Drepper <drepper@gmail.com>
47316
44f0a71e 47317 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
47318 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47319 * elf/rtld.c (dl_main): Set l_name of vDSO.
47320 Call _dl_show_scope when DL_DEBUG_SCOPES.
47321 (process_dl_debug): Recognize scopes flag and also set it for all.
47322 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47323 Declare _dl_show_scope.
47324
1dc27704
UD
47325 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47326 (do_dlopen): Pass caller_dlopen to dl_open.
47327 (__libc_dlopen_mode): Initialize caller_dlopen.
47328
f9ddf089
UD
47329 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47330 of libc. Make tolower call locale-independent. Optimize a bit by
47331 using isdigit instead of isalnum.
47332 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47333
9ac533d3
UD
473342011-08-12 Ulrich Drepper <drepper@gmail.com>
47335
47336 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47337 was a dependency or dynamically loaded.
47338
89edf2e9
UD
473392011-08-11 Ulrich Drepper <drepper@gmail.com>
47340
8e999d29
UD
47341 * intl/l10nflist.c: Allow architecture-specific pop function.
47342 * sysdeps/x86_64/l10nflist.c: New file.
47343
89edf2e9
UD
47344 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47345 classification.
47346
14d96785
AS
473472011-08-10 Andreas Schwab <schwab@redhat.com>
47348
47349 * include/dirent.h: Add libc_hidden_proto for scandirat and
47350 scandirat64. Don't declare __scandirat64.
47351 * dirent/scandirat.c: Add libc_hidden_def.
47352 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47353 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47354
6761ac04
DM
473552011-08-10 David S. Miller <davem@davemloft.net>
47356
47357 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47358 enum.
47359 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47360 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47361 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47362
c55fbd1e
UD
473632011-08-09 Ulrich Drepper <drepper@gmail.com>
47364
47365 * Versions.def [libc]: Add GLIBC_2.15.
47366 * dirent/Makefile (routines): Add scandirat and scandirat64.
47367 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47368 GLIBC_2.15.
47369 * dirent/dirent.h: Declare scandirat and scandirat64.
47370 * dirent/scandirat.c: New file.
47371 * dirent/scandirat64.c: New file.
47372 * sysdeps/wordsize-64/scandirat.c: New file.
47373 * sysdeps/wordsize-64/scandirat64.c: New file.
47374 * dirent/opendir.c: Define opendirat.
47375 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47376 using scandirat.
47377 * dirent/scandir64.c: Adjust for scandir.c change.
47378 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47379 __scandirat64, and __scandir_cancel_handler.
47380 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47381 additional parameter and use openat instead of open (outside of ld.so).
47382 Add new __opendir as wrapper around __opendirat.
47383 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47384 here without requiring old scandirat implementation.
47385
879165f2
UD
473862011-08-08 Ulrich Drepper <drepper@gmail.com>
47387
47388 * dirent/scandir.c (cancel_handler): Renamed to
47389 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47390 defined. Adjust users.
47391 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47392 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47393
cb7e923b
UD
473942011-08-04 Ulrich Drepper <drepper@gmail.com>
47395
16292edd
UD
47396 * string/test-string.h (IMPL): Use __STRING to expand name and then
47397 stringify it.
47398
cb7e923b
UD
47399 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47400 of cleanups.
47401
cff82933
LD
474022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47403
47404 * string/Makefile: Update.
47405 (strop-tests): Append strncat.
47406 * string/test-wcscmp.c: New file.
47407 New comprehensive test for wcscmp.
47408 * string/test-strcmp.c: Update.
47409 (WIDE): New define.
47410
9be9bfcc
AS
474112011-07-22 Andreas Schwab <schwab@redhat.com>
47412
47413 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47414 line.
47415
2e96f1c7
AS
474162011-07-26 Andreas Schwab <schwab@redhat.com>
47417
47418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47419 encoding to ACE if AI_IDN.
47420
85188888
JJ
474212011-08-01 Jakub Jelinek <jakub@redhat.com>
47422
47423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47424 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47425
5fa16e9b
LD
474262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47427
47428 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47429 Fix overflow bug in strncat.
47430 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47431
47432 * string/test-strncat.c: Update.
47433 Add new tests for checking overflow bugs.
47434
474352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47436
47437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47438 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47439 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47440 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47441 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47442 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47443 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47444 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47445 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47446
47447 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47448 (USE_AS_STRCAT): Define.
47449 Add strcat and strncat support.
47450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47451
8c1a459f
AS
474522011-07-25 Andreas Schwab <schwab@redhat.com>
47453
47454 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47455 __n bigger than INT_MAX+1.
47456 (__strncmp_g): Likewise.
47457
bba33c28
UD
474582011-07-23 Ulrich Drepper <drepper@gmail.com>
47459
798be72d
UD
47460 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47461 * libio/stido.h: Likewise.
47462
8accd4dc
UD
47463 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47464 (AF_NFC): Define.
47465 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47466 (AF_NFC): Define.
47467
cbff0d96
UD
47468 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47469 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47470 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47471 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47473
9191c04a
UD
47474 [BZ #13021]
47475 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47476 installed.
47477
bba33c28
UD
47478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47479 typo.
47480 (_dl_x86_64_save_sse): Likewise.
47481
90f139dd
UD
474822011-07-22 Ulrich Drepper <drepper@gmail.com>
47483
1aae088a
UD
47484 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47485 OSXSAVE.
47486 (_dl_x86_64_save_sse): Likewise.
47487
8e2045f5
UD
47488 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47489
90f139dd
UD
47490 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47491
1d002f25
AS
474922011-07-21 Andreas Schwab <schwab@redhat.com>
47493
47494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47495 change.
47496 (_dl_x86_64_save_sse): Use correct AVX check.
47497
21137f89
UD
474982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47499
47500 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47501 bug in strncpy/strncat.
47502 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47503
a65c0b7a
UD
475042011-07-21 Ulrich Drepper <drepper@gmail.com>
47505
47506 * string/tester.c (test_strcat): Add tests for different alignments
47507 of source and destination.
47508 (test_strncat): Likewise.
47509
6986b98a
UD
475102011-07-20 Ulrich Drepper <drepper@gmail.com>
47511
90bb2039
UD
47512 [BZ #12852]
47513 * posix/glob.c (glob): Check passed in values before using them in
47514 expressions to avoid some overflows.
47515 (glob_in_dir): Likewise.
47516
5644ef54
UD
47517 [BZ #13007]
47518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47519 check for AVX enablement so that we don't crash with old kernels and
47520 new hardware.
47521 * elf/tst-audit4.c: Add same checks here.
47522 * elf/tst-audit6.c: Likewise.
47523
47524 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 47525
bfc9dc9b
AS
475262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47527
47528 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47529
702e64bb
UD
475302011-07-20 Ulrich Drepper <drepper@gmail.com>
47531
47532 * po/cs.po: Update from translation team.
47533 * po/bg.po: Likewise.
47534
295e904f
MP
475352011-07-12 Marek Polacek <mpolacek@redhat.com>
47536
47537 * misc/sys/cdefs.h: Add support for const attribute.
47538 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47539 to gnu_dev_{major,minor,makedev} functions.
47540
3ff94596
MP
475412011-07-20 Marek Polacek <mpolacek@redhat.com>
47542
47543 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47544
28b59fca
AS
475452011-07-20 Andreas Schwab <schwab@redhat.com>
47546
47547 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47548 strlen results.
47549
19df733e
AK
475502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47551
47552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47553 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47554 register in order to avoid conflicts with the soft frame pointer
47555 being held in r11 when necessary.
47556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47557 (INTERNAL_VSYSCALL_NCS): Likewise.
47558
c8835729
MP
475592011-07-14 Marek Polacek <mpolacek@redhat.com>
47560
47561 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47562 * elf/dl-fini.c (_dl_fini): Adjust caller.
47563 * elf/dl-close.c (_dl_close_worker): Likewise.
47564 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47565
b902330c
MP
475662011-07-15 Marek Polacek <mpolacek@redhat.com>
47567
8991e135
MP
47568 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47569 "aux_cache->nlibs < 0".
47570
b902330c
MP
47571 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47572 in the reload-count case.
47573
99710781
LD
475742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47575
47576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47577 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47578 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47579 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47580 * sysdeps/x86_64/multiarch/strcat.S: New file.
47581 * sysdeps/x86_64/multiarch/strncat.S: New file.
47582 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47583 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47584 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47585 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47587 (USE_AS_STRCAT): Define.
47588 Add strcat and strncat support.
47589 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47590 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47591 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47592 * string/strncat.c: Update.
47593 (USE_AS_STRNCAT): Define.
47594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47595 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47596 and i7.
47597 * sysdeps/x86_64/multiarch/init-arch.h
47598 (bit_Prefer_PMINUB_for_stringop): New.
47599 (index_Prefer_PMINUB_for_stringop): Likewise.
47600 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47601 bit_Prefer_PMINUB_for_stringop.
47602
7dc6bd90
UD
476032011-07-19 Ulrich Drepper <drepper@gmail.com>
47604
47605 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47606 buffer64.
47607 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47608 of casting of buffer.
47609 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47610 buffer32 and buffer64.
47611 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47612 writes instead of casting of buffer.
47613 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47614 buffer32.
47615 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47616 casting of buffer.
47617
e0e72284
AS
476182011-07-19 Andreas Schwab <schwab@redhat.com>
47619
47620 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47621
feb1eb0b
UD
476222011-07-19 Ulrich Drepper <drepper@gmail.com>
47623
47624 * nscd/nscd.c (termination_handler): Don't do anything for a database
47625 if it has not yet been initialized.
47626
298711ff
UD
476272011-07-18 Ulrich Drepper <drepper@gmail.com>
47628
47629 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47630
476312011-07-15 Marek Polacek <mpolacek@redhat.com>
47632
47633 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47634
f9d68389
UD
476352011-07-18 Ulrich Drepper <drepper@gmail.com>
47636
47637 * po/nl.po: Update from translation team.
47638 * po/sv.po: Likewise.
47639
db290cf5
RM
476402011-07-16 Roland McGrath <roland@hack.frob.com>
47641
47642 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47643 now disallowed by GCC.
5c550700 47644
fd5e21c7
RM
47645 * configure.in (use-default-link): Default to yes if a test -shared
47646 link meets our qualifications.
47647 * configure: Regenerated.
47648
5c550700
RM
47649 * config.make.in (output-format): New variable.
47650 * configure.in: Check for ld --print-output-format support.
47651 * configure: Regenerated.
47652 * Makerules ($(common-objpfx)format.lds)
47653 [$(output-format) != unknown]: Just use $(output-format),
47654 instead of the linker-script munging.
47655
9fa2c032
RM
476562011-07-14 Roland McGrath <roland@hack.frob.com>
47657
a6928d51
RM
47658 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47659 of $(common-objpfx)shlib.lds.
47660 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47661
661607b3
RM
47662 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47663 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47664
9fa2c032
RM
47665 * configure.in (-z relro check): Adjust test code to add a large
47666 writable data section after it.
47667 * configure: Regenerated.
47668
defe9061
RM
476692011-07-11 Roland McGrath <roland@hack.frob.com>
47670
47671 * configure.in (-z relro check): Fix test code to make the variable
47672 truly const.
47673 * configure: Regenerated.
47674
319b9ad4
UD
476752011-07-11 Ulrich Drepper <drepper@gmail.com>
47676
47677 * nscd/nscd.h (struct traced_file): Define.
47678 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47679 elements. Add traced_files.
47680 (inotify_fd): Declare.
47681 (register_traced_file): Declare.
47682 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47683 (inotify_fd): Export.
47684 (resolv_conf_descr): Remove.
47685 (nscd_init): Move inotify descriptor creation to main.
47686 Don't register files for notification here.
47687 (register_traced_file): New function.
47688 (invalidate_cache): Don't use reset_res to determine whether to call
47689 res_init, go through the list of registered files.
47690 (main_loop_poll): The inotify descriptors are now stored in the
47691 structures for the traced files.
47692 (main_loop_epoll): Likewise
47693 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47694 to __nss_disable_nscd.
47695 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47696 for a database anymore. Check the records for all the registered
47697 files instead.
47698 * nss/Makefile (libnss_files-routines): Add files-init.
47699 (libnss_db-routines): Add db-init.
47700 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47701 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47702 * nss/nss_db/db-init.c: New file.
47703 * nss/nss_files/files-init.c: New file.
47704 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47705 __nss_lookup_function.
47706 (__nss_lookup_function): Call nss_load_library.
47707 (nss_load_all_libraries): New function.
47708 (__nss_disable_nscd): Take parameter with callback function for files
47709 to register. Set is_nscd. Load all the DSOs for the NSS modules
47710 used for the cached services.
47711 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47712 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47713 options for features to all the files in nscd.
47714
47715 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47716
23bee3e8
RM
477172011-07-10 Roland McGrath <roland@hack.frob.com>
47718
47719 * csu/elf-init.c (__libc_csu_init): Comment typo.
47720
46a5b7f0
UD
477212011-07-09 Ulrich Drepper <drepper@gmail.com>
47722
47723 * po/pl.po: Update from translation team.
47724 * po/ja.po: Likewise.
47725 * po/ru.po: Likewise.
47726 * po/ko.po: Likewise.
47727 * po/fr.po: Likewise.
47728
d30cf5bb
RM
477292011-07-09 Roland McGrath <roland@hack.frob.com>
47730
113ddea4
RM
47731 * configure.in (.ctors/.dtors header and trailer check):
47732 Use an empirical test on a built program.
47733 * configure: Regenerated.
47734
574920b4
RM
47735 * configure.in (-z relro check): Use an empirical test on a built DSO.
47736 Detect, but do not require, on ia64.
47737 * configure: Regenerated.
47738
d30cf5bb
RM
47739 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47740 Update tests that use readelf to use $READELF instead.
47741 * configure: Regenerated.
47742
8538fdb3
UD
477432011-07-08 Ulrich Drepper <drepper@gmail.com>
47744
47745 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47746 if the result is not used.
47747
04d08991
AJ
477482011-07-05 Andreas Jaeger <aj@suse.de>
47749
47750 [BZ#9696]
47751 * stdlib/tst-strtod.c: Add testcase.
47752
de283087
AD
477532011-07-07 Ulrich Drepper <drepper@gmail.com>
47754
4e5f31c8 47755 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 47756 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
47757 The latter has a higher limit. Take additional parameter to pass to
47758 the new function.
47759 (__pathconf): Pass file to __statfs_link_max.
47760 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47761 __statfs_link_max.
47762 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47763 __statfs_link_max.
47764
de283087
AD
47765 [BZ #12868]
47766 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47767 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47768 Handle Lustre.
47769 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47770 (__statfs_filesize_max): Likewise.
47771 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47772
c75fa153
AJ
477732011-07-05 Andreas Jaeger <aj@suse.de>
47774
47775 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47776
1a544854
UD
477772011-07-06 Marek Polacek <mpolacek@redhat.com>
47778
47779 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47780 `status' variable.
47781 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47782 Likewise.
47783
6f0eec67
UD
477842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47785
47786 * Makefile (strop-tests): Add strncat.
47787 * string/test-strncat.c: New file.
47788
aae30307
UD
477892011-06-30 Marek Polacek <mpolacek@redhat.com>
47790
47791 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47792
c0cfb5eb
UD
477932011-06-21 Andreas Jaeger <aj@suse.de>
47794
47795 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47796 Copy rule from iconvdata/Makefile.
47797
01636b21
UD
477982011-07-06 Ulrich Drepper <drepper@gmail.com>
47799
47800 [BZ #12922]
47801 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47802 but no long options are defined, just return 'W'.
47803
9895c8bc
UD
478042011-06-22 Marek Polacek <mpolacek@redhat.com>
47805
47806 [BZ #9696]
47807 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47808
5d4cf042
UD
478092011-07-06 Ulrich Drepper <drepper@gmail.com>
47810
47811 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47812 netgroups to read.
960e5535 47813 (innetgr): Likewise.
5d4cf042 47814
751eb97e
RM
478152011-07-05 Roland McGrath <roland@hack.frob.com>
47816
47817 * config.make.in (install_root): Default to $(DESTDIR).
47818
f15f1e45
UD
478192011-07-05 Ulrich Drepper <drepper@gmail.com>
47820
47821 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47822
4e34ac6a
RM
478232011-07-02 Roland McGrath <roland@hack.frob.com>
47824
5e9b6af4
RM
47825 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47826
84f9ea0f
RM
47827 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47828 containing directory rather than embedding absolute directory names.
47829
ea5ee9f7
RM
47830 * scripts/check-local-headers.sh: Rewritten using awk.
47831 Match by word, not by line. Print error messages for matches.
47832 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47833
1b74661a
RM
47834 * Makerules [shlib-lds-flags empty]:
47835 ($(common-objpfx)libc_pic.opts): New target.
47836 ($(common-objpfx)libc_pic.os.clean): New target.
47837 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47838
47839 * config.make.in (OBJCOPY): New variable.
47840 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47841 * configure: Regenerated.
47842
f781ef40
RM
47843 * config.make.in (use-default-link): New variable.
47844 * configure.in (use_default_link): Grok --with-default-link to set it.
47845 * configure: Regenerated.
47846 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47847 (shlib-lds, shlib-lds-flags): Define to empty.
47848
2d4fa81e
RM
47849 * Makerules (shlib-lds): New variable.
47850 (shlib-lds-flags): New variable.
47851 (build-shlib, build-moduile, build-module-asneeded): Use it.
47852 ($(common-objpfx)libc.so): Use $(shlib-lds).
47853 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47854 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47855
31fffa6b
RM
47856 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47857 DT_FLAGS/DT_FLAGS_1 with zero flags.
47858
4e34ac6a
RM
47859 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47860 linker script munging.
47861
fcfc776b
UD
478622011-07-02 Ulrich Drepper <drepper@gmail.com>
47863
47864 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47865 as 128-bit value.
47866 * crypt/sha512.c (sha512_process_block): Perform total addition using
47867 128-bit if possible.
47868 (__sha512_finish_ctx): Likewise.
47869 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47870 as 64-bit value.
47871 * crypt/sha256.c (SWAP64): Define.
47872 (sha256_process_block): Perform total addition using 64-bit if
47873 possible.
47874 (__sha256_finish_ctx): Likewise.
47875
99231d9a
UD
478762011-07-01 Ulrich Drepper <drepper@gmail.com>
47877
47878 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47879 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47880 * nscd/hstcache.c (cache_addhst): Likewise.
47881 * nscd/grpcache.c (cache_addgr): Likewise.
47882 * nscd/aicache.c (addhstaiX): Likewise
47883 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47884
445b4a53
TK
478852011-07-01 Thorsten Kukuk <kukuk@suse.de>
47886
47887 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47889 * nscd/hstcache.c (cache_addhst): Likewise.
47890 * nscd/grpcache.c (cache_addgr): Likewise.
47891 * nscd/aicache.c (addhstaiX): Likewise
47892
6d4d8e8e
AS
478932011-07-01 Andreas Schwab <schwab@redhat.com>
47894
47895 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47896 domain only when needed.
47897
89f654c5
AS
478982011-06-30 Andreas Schwab <schwab@redhat.com>
47899
47900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47901 is always restored.
47902
cf3b23ff
UD
479032011-06-29 Ulrich Drepper <drepper@gmail.com>
47904
47905 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47906 are re-adding the entry.
47907 * nscd/servicescache.c (cache_addserv): Likewise.
47908
751626f9
AJ
479092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47910
47911 * sysdeps/generic/dl-irel.h: fix protection against multiple
47912 inclusions.
47913 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47914
9113ea1f
UD
479152011-06-28 Ulrich Drepper <drepper@gmail.com>
47916
5c0b8d90
UD
47917 [BZ #12935]
47918 * malloc/memusage.sh: Fix quoting in message.
47919 * debug/xtrace.sh: Likewise.
47920
9113ea1f
UD
47921 * configure.in: Remove support for --experimental-malloc option, make
47922 it the default.
47923 * config.make.in: Likewise.
47924 * malloc/Makefile: Likewise.
47925
a4172181
AS
479262011-06-27 Andreas Schwab <schwab@redhat.com>
47927
47928 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47929 two-byte characters.
47930
78a7eee7
RM
479312011-06-27 Roland McGrath <roland@hack.frob.com>
47932
62bede13
RM
47933 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47934 AC_CACHE_CHECK invocation.
47935 * configure: Regenerated.
47936
78a7eee7
RM
47937 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47938
5ce33a62
UD
479392011-06-27 Ulrich Drepper <drepper@gmail.com>
47940
034807a9
UD
47941 [BZ #12350]
47942 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47943 bit from old_res_options.
47944
4902da17
UD
47945 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47946
5ce33a62
UD
47947 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47948 value type for setfct.
47949
c2344f56
L
479502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47951
47952 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47953 __gettimeofday instead of gettimeofday.
47954
68468076
UD
479552011-06-26 Ulrich Drepper <drepper@gmail.com>
47956
47957 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47958
acb0d739
L
479592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47960
47961 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47962
47963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47964 info.
47965
8912479f
L
479662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47967
47968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47969 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47970 strcpy-sse2-unaligned strncpy-sse2-unaligned
47971 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47972 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47973 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47974 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47975 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47976 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47977 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47978 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47979 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47980 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47981 (STRCPY): Support SSE2 and SSSE3 versions.
47982
d5495a11
UD
479832011-06-24 Ulrich Drepper <drepper@gmail.com>
47984
47985 [BZ #12874]
47986 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47987 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47988 kernels which artificially limit size of requests.
47989
0b1cbaae
L
479902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47991
47992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47993 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47994 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47995 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47996 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47997 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47998 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47999 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48000 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48001 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48002 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48003 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48004 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48005 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48006 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48008 Enable unaligned load optimization for Intel Core i3, i5 and i7
48009 processors.
48010 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48011 Define.
48012 (index_Fast_Unaligned_Load): Define.
48013 (HAS_FAST_UNALIGNED_LOAD): Define.
48014
07f494a0
MP
480152011-06-23 Marek Polacek <mpolacek@redhat.com>
48016
48017 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48018
fa3fc0fe
UD
480192011-06-22 Ulrich Drepper <drepper@gmail.com>
48020
48021 [BZ #12907]
48022 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48023 until it is clear that the information is realy needed.
48024 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48025
e12df166
AS
480262011-06-22 Andreas Schwab <schwab@redhat.com>
48027
48028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48029
852eb34d
UD
480302011-06-22 Ulrich Drepper <drepper@gmail.com>
48031
84e2a551
UD
48032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48033 /sys/devices/system/cpu/online if it is usable.
48034
852eb34d
UD
48035 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48036 reading the information from the /proc filesystem to once a second.
48037
6e502e19
UD
480382011-06-21 Andreas Jaeger <aj@suse.de>
48039
48040 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48041 NULL after inclusion of kernel headers.
48042
75d39ff2
UD
480432011-06-21 Ulrich Drepper <drepper@gmail.com>
48044
51f9aa6a
UD
48045 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48046 calls to internal_setent.
48047
c0244a9d
UD
48048 [BZ #12885]
48049 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48050 addresses using gethostbyname4_r ignore IPv4 addresses.
48051
c5e3c2ae
UD
48052 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48053 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48054
75d39ff2
UD
48055 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48056
42675c6f
DM
480572011-06-20 David S. Miller <davem@davemloft.net>
48058
48059 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48060 inclusions.
48061 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48062
48063 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48064 (elf_irel): Use it.
48065 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48066 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48067 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48068 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48069 * sysdeps/x86_64/dl-irel.h: Likewise.
48070
48071 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48072 * elf/dl-sym.c: Likewise.
48073
57912a71
UD
480742011-06-15 Ulrich Drepper <drepper@gmail.com>
48075
48076 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48077 need to dereference resplen2.
48078
ee22793d
AS
480792011-06-14 Andreas Schwab <schwab@redhat.com>
48080
48081 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48082
a9e836b0
UD
480832011-06-15 Ulrich Drepper <drepper@gmail.com>
48084
77fb9117
UD
48085 * Makeconfig: Define vardbdir and inst_vardbdir.
48086 * nss/Makefile: Add rules to install db-Makefile.
48087
40c1b22c
UD
48088 * nss/nss_db/db-XXX.c: Cleanup.
48089
9f2da732
UD
48090 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48091 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48092 GLIBC_PRIVATE.
48093 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48094 * nss/makedb.c: Implement -g option to specify that value strings
48095 are generated and should not be added to table iterated over for
48096 get*ent calls.
48097 * nss/nss_db/db-initgroups.c: New file.
48098
82e9a1f7
UD
48099 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48100 interface.
48101
c41af17e
UD
48102 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48103 (internal_getgrouplist): Adjust to name change.
48104 Update use_initgroups_entry if this is not the first call.
48105 * nss/databases.def: Add initgroups entry.
48106
a9e836b0
UD
48107 * nss/makedb.c (compute_tables): Check result of multiple hash table
48108 sizes to minimize maximum chain length.
48109
2666d441
UD
481102011-06-14 Ulrich Drepper <drepper@gmail.com>
48111
48112 * Versions.def: Add entry for libnss_db.
48113 * shlib-versions: Likewise.
48114 * nss/Makefile: Add rules to build libnss_db.
48115 * nss/Versions: Add libnss_db information. Organize libnss_files
48116 entries better.
48117 * nss/db-Makefile: Add gshadow support. Change rules for the new
48118 makedb progra. Some minor improvements to generate smaller files.
48119 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48120 here from...
48121 * nss/makedb.c: ...here.
48122 Improve database format to be smaller and require less memory at
48123 runtime.
48124 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48125 db anymore.
48126 * nss/nss_db/db-netgrp.c: Likewise.
48127 * nss/nss_db/db-open.c: Likewise.
48128 * nss/nss_files/flies-XXX.x: Adjust comments.
48129 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48130 * nss/nss_files/files-grp.c: Likewise.
48131 * nss/nss_files/files-hosts.c: Likewise.
48132 * nss/nss_files/files-network.c: Likewise.
48133 * nss/nss_files/files-proto.c: Likewise.
48134 * nss/nss_files/files-pwd.c: Likewise.
48135 * nss/nss_files/files-rpc.c: Likewise.
48136 * nss/nss_files/files-service.c: Likewise.
48137 * nss/nss_files/files-sgrp.c: Likewise.
48138 * nss/nss_files/files-spwd.c: Likewise.
48139 * nss/nss_db/db-alias.c: Removed.
48140 * nss/nss_db/dummy-db.h: Removed.
48141
9ee76b5a
UD
481422011-06-02 Ulrich Drepper <drepper@gmail.com>
48143
48144 * nss/makedb.c: Rewritten to not use database library.
48145 * nss/Makefile: Update to build new makedb program.
48146
c71ca1f8
AJ
481472011-06-14 Andreas Jaeger <aj@suse.de>
48148
48149 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48150 memset declaration.
48151
3154bfb8
UD
481522011-06-10 Andreas Schwab <schwab@redhat.com>
48153
48154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48155 tmpbuf.
48156
b350afab
RM
481572011-06-10 Roland McGrath <roland@hack.frob.com>
48158
decd4e50
RM
48159 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48160 * elf/Makefile ($(objpfx)ld.so): Likewise.
48161
5615eaf2
RM
48162 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48163 Don't list ld.so twice in dependencies.
48164
48165 * posix/bug-regex31.c: Include <stdlib.h>.
48166
48167 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48168
48169 * nis/nss_compat/compat-spwd.c
48170 (getspent_next_nss_netgr): Remove unused variable.
48171 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48172
48173 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48174 nonmembers" output to use the right array.
48175
48176 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48177
48178 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48179
48180 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48181 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48182 * catgets/gencat.c (read_input_file): Likewise.
48183 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48184
48185 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48186 variable definition inside #if's controlling its use.
48187
48188 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48189
48190 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48191
48192 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48193
48194 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48195 unreachable code.
48196
48197 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48198
b68e08db
RM
48199 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48200 * configure: Regenerated.
48201
b350afab
RM
48202 * Makerules: Revert last change.
48203 * elf/Makefile: Likewise.
48204
28368601
RM
482052011-06-09 Roland McGrath <roland@hack.frob.com>
48206
48207 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48208 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48209 (reloc-link): Likewise.
48210
11988f8f
UD
482112011-06-09 Ulrich Drepper <drepper@gmail.com>
48212
48213 * elf/Makefile: Add rules to build pldd.
48214 * elf/pldd.c: New file.
48215 * elf/pldd-xx.c: New file.
48216
e80fab37
UD
482172011-06-07 Ulrich Drepper <drepper@gmail.com>
48218
48219 * version.h: Update for 2.15 development version.
48220
9b849836
DM
482212011-06-07 David S. Miller <davem@davemloft.net>
48222
48223 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48224 ifuncs.
48225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48226 elf_machine_lazy_rel): Likewise.
48227 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48228 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48229 elf_machine_lazy_rel): Likewise.
48230 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48231 dl_hwcap via passed in argument.
48232 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48233 Likewise.
48234
5a31b283
AK
482352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48236
48237 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48238
069e52f8
RM
482392011-06-06 Roland McGrath <roland@hack.frob.com>
48240
48241 [BZ #12849]
48242 * manual/fdl-1.1.texi: New file, verbatim from:
48243 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48244 * manual/lgpl-2.1.texi: New file, verbatim from:
48245 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48246 * manual/Makefile (licenses): New variable, list those new file names.
48247 (texis): Use it.
48248 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48249
48250 * manual/fdl.texi: File removed.
48251 * manual/lesser.texi: File removed.
48252 * manual/libc.texinfo (Copying, Documentation License):
48253 Use new @include file names, put @appendix directive before @include.
48254
f16846a5
JJ
482552011-06-04 Jakub Jelinek <jakub@redhat.com>
48256
48257 [BZ #12841]
48258 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48259 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48260 (mq_open): Add __NTH.
48261
3d29045b
L
482622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48263
48264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48265 Assume Intel Core i3/i5/i7 processor if AVX is available.
48266
8c297311
UD
482672011-05-31 Ulrich Drepper <drepper@gmail.com>
48268
48269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48270 typo.
48271
c8fc0c91
UD
482722011-05-31 Andreas Schwab <schwab@redhat.com>
48273
48274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48275 memory. Use alloca_account. Fix memory leak when retrying.
48276
5b27a807
UD
482772011-05-31 Ulrich Drepper <drepper@gmail.com>
48278
356f8bc6
UD
48279 * version.h (RELEASE): Bump for 2.14 release.
48280 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48281
5b27a807
UD
48282 * config.make.in (RANLIB): Remove entry.
48283
01f16ab0
UD
482842011-05-30 Ulrich Drepper <drepper@gmail.com>
48285
41fce8bd
UD
48286 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48287 (libc.pot): Work around missing support for .ksh extension in xgettext.
48288
4769ae77
UD
48289 [BZ #12684]
48290 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48291 if both request failed.
48292 (send_dg): In case of server errors clear resplen or *resplen2.
48293
6b1e7d19
UD
48294 [BZ #12454]
48295 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48296 when there are multiple maps.
48297 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48298 (_dl_fini): Remove test here.
48299
01f16ab0
UD
48300 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48301
b1ebd700
UD
483022011-05-29 Ulrich Drepper <drepper@gmail.com>
48303
7ae22829
UD
48304 [BZ #12350]
48305 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48306 bit from old_res_options.
48307 (gaih_inet): Likewise.
48308
553149f6 48309 [BZ #11099]
18a84741 48310 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
48311 as signed.
48312
652ffab1
UD
48313 * resolv/res_init.c (res_setoptions): Make the code more compact.
48314
16985fd0
UD
48315 [BZ #11558]
48316 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48317 set RES_USEVC.
48318
0464f746
UD
48319 [BZ #11634]
48320 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48321
7d17596c
UD
48322 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48323
cf6bbbd7
UD
48324 [BZ #11781]
48325 * malloc/malloc.h: Declare malloc hook variables as volatile.
48326
13f1ab36
UD
48327 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48328 in last patch.
48329
b1ebd700
UD
48330 [BZ #11799]
48331 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 48332 raise in the comment.
80e2212d
UD
48333 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48334 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48335 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 48336
ce67228d
UD
483372011-05-28 Ulrich Drepper <drepper@gmail.com>
48338
8887a920
UD
48339 [BZ #12811]
48340 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48341 grow the buffers more if it already has to be sufficient.
48342 (build_wcs_upper_buffer): Likewise.
48343 * posix/regexec.c (check_matching): Likewise.
48344 (clean_state_log_if_needed): Likewise.
48345 (extend_buffers): Don't enlarge buffers beyond size of the input
48346 buffer.
48347 Patches mostly by Emil Wojak <emil@wojak.eu>.
48348 * posix/bug-regex32.c: New file.
48349 * posix/Makefile (tests): Add bug-regex32.
48350
4f031072
UD
48351 * locale/findlocale.c (_nl_find_locale): Return right away if
48352 _nl_explode_name failed.
48353 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48354
d0478f0c
UD
48355 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48356
de81b246
UD
48357 * debug/xtrace.sh: Unify messages.
48358 * malloc/memusage.sh: Likewise.
48359
c738465a
UD
48360 [BZ #12813]
48361 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48362 time symbol from vDSO. Substitute with vsyscall if not available.
48363 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48364 __vdso_time.
48365
f1f929d7
UD
48366 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48367 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48368 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48369 Add sendmmsg and internal_sendmmsg.
48370 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48371 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48372 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48373
ce67228d
UD
48374 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48375 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48377
e57420c6
UD
483782011-05-27 Ulrich Drepper <drepper@gmail.com>
48379
a8509ca5
UD
48380 [BZ #12813]
48381 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48382 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48383 available.
48384 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48385 __vdso_getcpu.
48386
e57420c6
UD
48387 [BZ #12814]
48388 * iconvdata/Makefile (tests): Add bug-iconv9.
48389 * iconvdata/bug-iconv9.c: New file.
48390
4d07db15
AS
483912011-05-27 Andreas Schwab <schwab@redhat.com>
48392
48393 [BZ #12814]
48394 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48395
ea486f69
JJ
483962011-05-25 Jakub Jelinek <jakub@redhat.com>
48397
48398 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48399 (struct user_regs_struct): Change intcs field back to cs.
48400
6f038433
UD
484012011-05-25 Ulrich Drepper <drepper@gmail.com>
48402
48403 * po/ja.po: Update from translation team.
48404
67f86a25
UD
484052011-05-23 Ulrich Drepper <drepper@gmail.com>
48406
48407 [BZ #12795]
48408 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48409 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48410
def7fbd6
AS
484112011-05-20 Andreas Schwab <schwab@redhat.com>
48412
48413 * stdlib/longlong.h: Update from GCC.
48414
f50ef8f1
AS
484152011-05-23 Andreas Schwab <schwab@redhat.com>
48416
48417 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48418 parameter name.
48419 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48420 Add parameter name.
48421 (__sysconf): Pass it down.
48422
de7ce8f1
UD
484232011-05-22 Ulrich Drepper <drepper@gmail.com>
48424
f2962a71
UD
48425 [BZ #12671]
48426 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48427 some situations.
48428 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48429 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48430 add in in __libc_use_alloca calls. Adjust callers.
48431 (glob): Use malloc in some situations.
48432
de7ce8f1
UD
48433 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48434 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48435 pltexit.
48436
aec84f53
UD
484372011-05-21 Ulrich Drepper <drepper@gmail.com>
48438
05bb4a68
UD
48439 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48440 and CLOCK_BOOTTIME_ALARM.
48441
7ea72f99
UD
48442 [BZ #12782]
48443 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48444 is returned.
48445
7e4afad5
UD
48446 * string/_strerror.c (__strerror_r): Print negative errors as signed
48447 numbers.
48448
8e211fec
UD
48449 [BZ #12777]
48450 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48451 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48452 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48453
f7d82dc9
UD
48454 * configure.in: Fix typo in redirection and correct removal of test
48455 files in two cases.
48456
cc9e536d
UD
48457 [BZ #12788]
48458 * locale/setlocale.c (new_composite_name): Fix test to check for
48459 identical name of all categories.
48460
aec84f53
UD
48461 [BZ #12792]
48462 * libio/filedoalloc.c (local_isatty): New function.
48463 (_IO_file_doallocate): Use local_isatty.
48464 * stdio-common/perror.c (perror): In case a new stream is used
48465 forward the stream error.
48466 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48467 error flag.
48468
78e64fdc
RT
484692011-05-20 Ulrich Drepper <drepper@gmail.com>
48470
34a9094f
UD
48471 [BZ #11869]
48472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48473 alloca.
48474 * include/alloca.h (extend_alloca_account): Define.
48475
78e64fdc
RT
48476 [BZ #11857]
48477 * posix/regex.h: Fix comments with documentation of user-accessible
48478 fields after compilation and describe correct free'ing of pattern
48479 after re_compile_pattern.
48480 Patch by Reuben Thomas <rrt@sc3d.org>.
48481
457bddfc
RA
484822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48483
48484 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48485 and -mno-altivec to prevent the compiler from using Altivec and/or
48486 VSX instructions when the corresponding registers are not available.
48487
a4527b51
AS
484882011-05-19 Andreas Schwab <schwab@redhat.com>
48489
48490 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48491
ed690b2f
UD
484922011-05-19 Ulrich Drepper <drepper@gmail.com>
48493
48494 * libio/freopen.c (freopen): Use __dup2, not dup2.
48495 * libio/freopen64.c (freopen64): Likewise.
48496
8db73634
L
484972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48498
48499 [BZ #12775]
48500 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48501 * math/Makefile (tests): Add test-powl.
48502 (CFLAGS-test-powl.c): Define.
48503 * math/test-powl.c: New file.
48504
0a197a9d
L
485052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48506
48507 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48508
ee30c380
UD
485092011-05-17 Ulrich Drepper <drepper@gmail.com>
48510
48511 [BZ #11837]
48512 * iconvdata/gb18030.c: Update to GB18020-2005.
48513
6ce75379
UD
485142011-05-16 Ulrich Drepper <drepper@gmail.com>
48515
a4b89fd8
AR
48516 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48517 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48518 Patch by Aharon Robbins <arnold@skeeve.com>.
48519
ea389b12
UD
48520 [BZ #11892]
48521 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48522 on the stack.
48523
68a3f91f
UD
48524 [BZ #11895]
48525 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48526 through underflows.
48527
15cc7dd1
UD
48528 [BZ #12766]
48529 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48530 point to strings before performing equality test for error_one_per_line
48531 mode.
48532
f3799213
UD
48533 [BZ #11697]
48534 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48535
d79a9c94
UD
48536 [BZ #11820]
48537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48538 (struct user_fpregs_struct): Avoid __uint*_t types.
48539
56e5eb46
UD
48540 [BZ #6420]
48541 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48542 symbol info. Use it instead of calling _dl_addr locally.
48543 (lock_and_info): New function.
48544 (tr_freehook): Call lock_and_info and pass symbol info as additional
48545 parameter to tr_where.
48546 (tr_mallochook): Likewise.
48547 (tr_reallochook): Likewise.
48548 (tr_memalignhook): Likewise.
48549
6ce75379
UD
48550 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48551 used and couldn't be at all thread-safe.
48552
f8a3b5bf
UD
485532011-05-15 Ulrich Drepper <drepper@gmail.com>
48554
94b7cc37
UD
48555 * libio/freopen.c (freopen): Don't close old file descriptor
48556 before the new one is opened. Instead dup the new file descriptor
48557 to the old one after the new stream is created.
48558 * libio/freopen64.c (freopen64): Likewise.
48559 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48560 * libio/fileops.c (_IO_new_file_close_it): Handle new
48561 _IO_FLAGS2_NOCLOSE flag.
48562 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48563 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48564 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48565 _IO_FLAGS2_NOCLOSE flag.
48566 * include/unistd.h: Add hidden_proto for dup3.
48567 Define __have_dup3.
48568 * io/dup3.c: Define hidden symbol.
48569 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48570
bd25564e
UD
48571 [BZ #7101]
48572 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48573 when an incomplete long option is used.
48574 * posix/tst-getopt_long1.c: New file.
48575 * posix/Makefile (tests): Add tst-getopt_long1.
48576
c84cfef4
UD
48577 [BZ #10138]
48578 * scripts/config.guess: Update from autoconf-2.68.
48579 * scripts/config.sub: Likewise.
48580
3b85df27
UD
48581 [BZ #10157]
48582 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48583 tests into ...
48584 (has_cpuclock): ...this. New function.
48585 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48586 macro here based on has_cpuclock code.
48587
15a856b1
UD
48588 [BZ #10149]
48589 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48590 First byte (not low byte) is now always NUL.
48591 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48592
05f399e6
UD
48593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48594 Use non-cancelable interfaces.
48595
10a52685 48596 [BZ #9809]
94ecc67d
UD
48597 * locale/iso-639.def: Add entry for Sorani.
48598
f8a3b5bf
UD
48599 [BZ #11901]
48600 * include/stdlib.h: Move include protection to the right place.
48601 Define abort_msg_s. Declare __abort_msg with it.
48602 * stdlib/abort.c (__abort_msg): Adjust type.
48603 * assert/assert.c (__assert_fail_base): New function. Majority
48604 of code from __assert_fail. Allocate memory for __abort_msg with
48605 mmap.
48606 (__assert_fail): Now call __assert_fail_base.
48607 * assert/assert-perr.c: Remove bulk of implementation. Use
48608 __assert_fail_base.
48609 * include/assert.hL Declare __assert_fail_base.
48610 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48611 mmap.
48612 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48613
1af4e298
UD
486142011-05-14 Ulrich Drepper <drepper@gmail.com>
48615
f8a3b5bf 48616 [BZ #11952]
d26dfc60
MG
48617 [BZ #12453]
48618 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48619 until all modules are registered in the DTV.
48620 * elf/Makefile: Add rules to build and run tst-tls19.
48621 * elf/tst-tls19.c: New file.
48622 * elf/tst-tls19mod1.c: New file.
48623 * elf/tst-tls19mod2.c: New file.
48624 * elf/tst-tls19mod3.c: New file.
48625 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48626
2fc54d6f
UD
48627 [BZ #12083]
48628 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48629 correctly.
48630
98d76b46
UD
48631 [BZ #12601]
48632 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48633 two-byte sequence errors.
48634 * iconvdata/Makefile (tests): Add bug-iconv8.
48635 * iconvdata/bug-iconv8.c: New file.
48636
da3c19ef
UD
48637 [BZ #12626]
48638 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48639 buf2 definition.
48640
ca408c15
UD
48641 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48642
d6f67f7d
UD
48643 [BZ #12432]
48644 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48645 (dummy_getcfa): New function.
48646 (init): Get _Unwind_GetCFA address, use dummy if not found.
48647 (backtrace_helper): In recursion check, also check whether CFA changes.
48648 (__backtrace): Completely initialize arg.
48649
1af4e298 48650 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
48651 storing incomplete byte sequence in state object. Avoid testing for
48652 guaranteed too small input if we know there is enough data available.
1af4e298 48653
da62f81b
AS
486542011-05-11 Andreas Schwab <schwab@redhat.com>
48655
48656 * Makeconfig (+link-pie): Indent.
48657 * Rules (binaries-pie): Define if $(have-fpie) and
48658 $(build-shared).
48659 (binaries-shared): Also filter out $(binaries-pie).
48660 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48661 * nscd/Makefile (others-pie): Add nscd.
48662 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48663 ($(objpfx)nscd): Remove command override.
48664 * login/Makefile (others-pie): Add pt_chown.
48665 ($(objpfx)pt_chown): Remove command override.
48666 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48667 remove command overrides.
48668
fcabc0f8
UD
486692011-05-13 Ulrich Drepper <drepper@gmail.com>
48670
20030ae6
UD
48671 * libio/tst_putwc.c: Fix error messages.
48672
fcabc0f8
UD
48673 [BZ #12724]
48674 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48675 currently writing and seek to current position when not.
48676 * libio/Makefile (tests): Add bug-fclose1.
48677 * libio/bug-fclose1.c: New file.
48678
320a5dc0
PB
486792011-05-12 Ulrich Drepper <drepper@gmail.com>
48680
48681 [BZ #12511]
48682 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48683 don't set DF_1_NODELETE here.
48684 (do_lookup_x): When entering new entry test for copy relocation
48685 and if necessary set DF_1_NODELETE flag.
48686 * elf/tst-unique4.cc: New file.
48687 * elf/tst-unique4.h: New file.
48688 * elf/tst-unique4lib.cc: New file.
48689 * elf/Makefile: Add rules to build and run tst-unique4.
48690 Patch by Piotr Bury <pbury@goahead.com>.
48691
22836f52
UD
486922011-05-11 Ulrich Drepper <drepper@gmail.com>
48693
f574184a
UD
48694 [BZ #12052]
48695 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48696
e1fb097f
UD
48697 [BZ #12625]
48698 * misc/mntent_r.c (addmntent): Flush the stream after the output
48699
22836f52
UD
48700 [BZ #12393]
48701 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48702 (is_trusted_path_normalize): Skip initial colon. Append slash
48703 to empty buffer. Duplicate is_trusted_path code but allow
48704 constructed patch to be prefix.
48705 (is_dst): Allow $ORIGIN followed by /.
48706 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48707 Correct testing of result of is_trusted_path_normalize
48708 (decompose_rpath): Fix warning.
48709
7b3b0b2a
UD
487102011-05-10 Ulrich Drepper <drepper@gmail.com>
48711
48712 [BZ #11257]
48713 * grp/initgroups.c (internal_getgrouplist): When we found the service
48714 list through the initgroups entry in nsswitch.conf do not always
48715 continue on a successful lookup. Don't always use the
eac80ce2 48716 __nss_group_database value if it is set.
7b3b0b2a
UD
48717 * nss/nsswitch.conf (initgroups): Change action for successful db
48718 lookup to continue for compatibility.
48719
2a81eaa5
UD
487202011-05-09 Ulrich Drepper <drepper@gmail.com>
48721
be97a69e
UD
48722 [BZ #11532]
48723 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48724 and CP774 modules.
48725 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48726 and CP774 modules.
48727 * iconvdata/tst-tables.sh: Likewise.
48728 * iconvdata/cp770.c: New file.
48729 * iconvdata/cp771.c: New file.
48730 * iconvdata/cp772.c: New file.
48731 * iconvdata/cp773.c: New file.
48732 * iconvdata/cp774.c: New file.
48733 * iconvdata/testdata/CP770: New file.
48734 * iconvdata/testdata/CP770..UTF8: New file.
48735 * iconvdata/testdata/CP771: New file.
48736 * iconvdata/testdata/CP771..UTF8: New file.
48737 * iconvdata/testdata/CP772: New file.
48738 * iconvdata/testdata/CP772..UTF8: New file.
48739 * iconvdata/testdata/CP773: New file.
48740 * iconvdata/testdata/CP773..UTF8: New file.
48741 * iconvdata/testdata/CP774: New file.
48742 * iconvdata/testdata/CP774..UTF8: New file.
48743
48744 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48745 END CHARMAP line.
48746 * iconvdata/gen-8bit-gap.sh: Likewise.
48747 * iconvdata/gen-8bit.sh: Likewise.
48748
c1e9e399
UD
48749 * locale/iso-639.def: Add ary entry.
48750
24c55fb3 48751 [BZ #11258]
96b4b1b0
UD
48752 * locale/C-translit.h.in: Add U20A1 transliteration.
48753
bdc2f971
KB
48754 [BZ #12178]
48755 * locale/iso-639.def: Add wae entry.
48756 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48757
2952b117
UD
48758 [BZ #12545]
48759 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48760 for n.
48761
2a81eaa5
UD
48762 [BZ #12711]
48763 * locale/C-translit.h.in: Add entry for U20B9.
48764 Patch by pravin.d.s@gmail.com.
48765
28377d1b
UD
487662011-05-08 Ulrich Drepper <drepper@gmail.com>
48767
7fb90fb8
UD
48768 [BZ #12713]
48769 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48770 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
48771 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48772 in rtld. Use *stat64.
7fb90fb8 48773 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 48774 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 48775 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
48776 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48777 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48778 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48779 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48780 __fstatat64 macros.
7fb90fb8
UD
48781 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48782 * dirent/rewinddir.c: Add libc_hidden_def.
48783 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 48784 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 48785
28377d1b
UD
48786 * include/dirent.h (__alloc_dir): Add flags parameter.
48787 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48788 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48789 __alloc_dir.
48790 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48791 from fdopendir if O_CLOEXEC is already set.
48792
66bdbaa4
AM
487932011-03-15 Alan Modra <amodra@gmail.com>
48794
48795 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48796 l_tls_firstbyte_offset non-zero. Save padding offset in
48797 l_tls_firstbyte_offset for later use.
48798 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48799 freeing static tls block.
48800
95721191
JN
488012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48802
48803 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48804 where #ifdef was intended. The intent is to prevent ARG_MAX from
48805 being defined by the kernel headers.
48806
f87dfb1f
UD
488072011-05-07 Ulrich Drepper <drepper@gmail.com>
48808
48809 [BZ #12734]
48810 * resolv/resolv.h: Define RES_NOTLDQUERY.
48811 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48812 no-tld-query and set RES_NOTLDQUERY.
48813 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48814 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48815 modern BIND to search name as TLD unless forbidden.
48816
47c3cd7a
UD
488172011-05-07 Petr Baudis <pasky@suse.cz>
48818 Ulrich Drepper <drepper@gmail.com>
48819
48820 [BZ #12393]
48821 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48822 (is_trusted_path): ...to here.
c1e9ea35 48823 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 48824 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 48825 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 48826
8a35c912
PP
488272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48828
48829 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48830 __BEGIN/__END_DECLS.
48831
acd41f47
UD
488322011-05-06 Ulrich Drepper <drepper@gmail.com>
48833
48834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48835 NSS_STATUS_NOTFOUND if no record was found.
48836
597df647
AS
488372011-05-05 Andreas Schwab <schwab@redhat.com>
48838
48839 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48840 (headers-not-in-tirpc): Remove rpc/netdb.h
48841 * resolv/netdb.h: Revert last change.
48842
b9af1301
PP
488432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48844
48845 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48846 circular dependency between libgcc.a and libc.a.
48847
4e34d5f5
AS
488482011-05-05 Andreas Schwab <schwab@redhat.com>
48849
48850 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48851 * nis/Makefile: Don't install rpcsvc/*.
48852 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48853 instead of <rpc/types.h>.
48854 (MAXHOSTNAMELEN): Define.
48855
00ee369c
AS
488562011-05-03 Andreas Schwab <schwab@redhat.com>
48857
48858 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48859
0b592a30
MB
488602011-04-28 Maciej Babinski <mbabinski@google.com>
48861
48862 [BZ #12714]
48863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48864 gethostbyname4_r when IPv6 results are possible.
48865
6e04cbbe
UD
488662011-05-02 Ulrich Drepper <drepper@gmail.com>
48867
48868 [BZ #12723]
48869 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48870 _PC_PIPE_BUF handling.
48871
e4ecafe0
BH
488722011-04-30 Bruno Haible <bruno@clisp.org>
48873
48874 [BZ #12717]
48875 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48876 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48877 to 'int'.
48878 * inet/getnameinfo.c (getnameinfo): Likewise.
48879
125ee683
UD
488802011-04-29 Ulrich Drepper <drepper@gmail.com>
48881
48882 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48883 to groups setting in database lookup.
48884 * nss/nsswitch.conf: Add initgroups entry.
48885
b722481a
EB
488862011-04-22 Ulrich Drepper <drepper@gmail.com>
48887
48888 [BZ #12685]
48889 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48890 mode string.
48891 Patch by Eric Blake <eblake@redhat.com>.
48892
4df46dbd
L
488932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48894
48895 * sunrpc/Makefile (need-export-routines): Add svc_run.
48896 (routines): Remove svc_run.
48897 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48898 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48899 * sunrpc/svc_run.c (svc_run): Likewise.
48900 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48901
e84142d2
UD
489022011-04-21 Ulrich Drepper <drepper@gmail.com>
48903
48904 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48905 problem in reallocation in last patch.
48906
877175d8
UD
489072011-04-20 Ulrich Drepper <drepper@gmail.com>
48908
48909 * sunrpc/Makefile: Move inclusion of Rules.
48910
ab8eed78
UD
489112011-04-19 Ulrich Drepper <drepper@gmail.com>
48912
48913 * nss/nss_files/files-initgroups.c: New file.
48914 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48915 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48916 _nss_files_initgroups_dyn.
48917
e3d8f584
RS
489182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48919
48920 * elf/elf.h (R_ARM_IRELATIVE): Define.
48921
af190f45
UD
489222011-04-19 Ulrich Drepper <drepper@gmail.com>
48923
48924 * po/ru.po: Update from translation team.
48925
53cf59ef
UD
489262011-04-17 Ulrich Drepper <drepper@gmail.com>
48927
48928 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48929 dependencies.
48930
4c559bcd
MF
489312011-02-06 Mike Frysinger <vapier@gentoo.org>
48932
48933 [BZ #12653]
48934 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48935 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48936 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48937 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48938 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48939
4420675c
AS
489402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48941
48942 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48943 differing bytes.
48944 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48945 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48946 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48947
75ea32ab
UD
489482011-04-17 Ulrich Drepper <drepper@gmail.com>
48949
48950 [BZ #12420]
48951 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48952 storing it.
48953 * stdlib/bug-getcontext.c: New file.
48954 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48955
27390476
AK
489562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48957
48958 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48959 instructions into .machine "z9-109".
48960 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48961 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48962
10442705
AK
489632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48964
48965 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48966 between environment variables and auxiliary vector.
48967
7b57bfe5
UD
489682011-04-16 Ulrich Drepper <drepper@gmail.com>
48969
48970 * Makefile: Add rules to build linkobj/libc.so.
48971 * include/libc-symbols.h: Define libc_hidden_nolink.
48972 * include/rpc/auth.h: Mark functions which are to be hidden.
48973 * include/rpc/auth_des.h: Likewise.
48974 * include/rpc/auth_unix.h: Likewise.
48975 * include/rpc/clnt.h: Likewise.
48976 * include/rpc/des_crypt.h: Likewise.
48977 * include/rpc/key_prot.h: Likewise.
48978 * include/rpc/pmap_clnt.h: Likewise.
48979 * include/rpc/pmap_prot.h: Likewise.
48980 * include/rpc/pmap_rmt.h: Likewise.
48981 * include/rpc/rpc_msg.h: Likewise.
48982 * include/rpc/svc.h: Likewise.
48983 * include/rpc/svc_auth.h: Likewise.
48984 * include/rpc/xdr.h: Likewise.
48985 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48986 * nss/Makefile: Likewise.
48987 * sunrpc/Makefile: Don't install headers. Build library with normal
48988 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48989 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48990 for the compat linking library. Remove use of INTDEF/INTUSE.
48991 * sunrpc/auth_none.c: Likewise.
48992 * sunrpc/auth_unix.c: Likewise.
48993 * sunrpc/authdes_prot.c: Likewise.
48994 * sunrpc/authuxprot.c: Likewise.
48995 * sunrpc/clnt_gen.c: Likewise.
48996 * sunrpc/clnt_perr.c: Likewise.
48997 * sunrpc/clnt_raw.c: Likewise.
48998 * sunrpc/clnt_simp.c: Likewise.
48999 * sunrpc/clnt_tcp.c: Likewise.
49000 * sunrpc/clnt_udp.c: Likewise.
49001 * sunrpc/clnt_unix.c: Likewise.
49002 * sunrpc/des_crypt.c: Likewise.
49003 * sunrpc/des_soft.c: Likewise.
49004 * sunrpc/get_myaddr.c: Likewise.
49005 * sunrpc/key_call.c: Likewise.
49006 * sunrpc/key_prot.c: Likewise.
49007 * sunrpc/netname.c: Likewise.
49008 * sunrpc/pm_getmaps.c: Likewise.
49009 * sunrpc/pm_getport.c: Likewise.
49010 * sunrpc/pmap_clnt.c: Likewise.
49011 * sunrpc/pmap_prot.c: Likewise.
49012 * sunrpc/pmap_prot2.c: Likewise.
49013 * sunrpc/pmap_rmt.c: Likewise.
49014 * sunrpc/publickey.c: Likewise.
49015 * sunrpc/rpc_cmsg.c: Likewise.
49016 * sunrpc/rpc_common.c: Likewise.
49017 * sunrpc/rpc_dtable.c: Likewise.
49018 * sunrpc/rpc_prot.c: Likewise.
49019 * sunrpc/rpc_thread.c: Likewise.
49020 * sunrpc/rtime.c: Likewise.
49021 * sunrpc/svc.c: Likewise.
49022 * sunrpc/svc_auth.c: Likewise.
49023 * sunrpc/svc_authux.c: Likewise.
49024 * sunrpc/svc_raw.c: Likewise.
49025 * sunrpc/svc_run.c: Likewise.
49026 * sunrpc/svc_simple.c: Likewise.
49027 * sunrpc/svc_tcp.c: Likewise.
49028 * sunrpc/svc_udp.c: Likewise.
49029 * sunrpc/svc_unix.c: Likewise.
49030 * sunrpc/svcauth_des.c: Likewise.
49031 * sunrpc/xcrypt.c: Likewise.
49032 * sunrpc/xdr.c: Likewise.
49033 * sunrpc/xdr_array.c: Likewise.
49034 * sunrpc/xdr_float.c: Likewise.
49035 * sunrpc/xdr_intXX_t.c: Likewise.
49036 * sunrpc/xdr_mem.c: Likewise.
49037 * sunrpc/xdr_rec.c: Likewise.
49038 * sunrpc/xdr_ref.c: Likewise.
49039 * sunrpc/xdr_sizeof.c: Likewise.
49040 * sunrpc/xdr_stdio.c: Likewise.
49041
e6c61494
UD
490422011-04-10 Ulrich Drepper <drepper@gmail.com>
49043
49044 [BZ #12650]
49045 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49046 * sysdeps/ia64/dl-tls.h: Likewise.
49047 * sysdeps/powerpc/dl-tls.h: Likewise.
49048 * sysdeps/s390/dl-tls.h: Likewise.
49049 * sysdeps/sh/dl-tls.h: Likewise.
49050 * sysdeps/sparc/dl-tls.h: Likewise.
49051 * sysdeps/x86_64/dl-tls.h: Likewise.
49052 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49053
34fe483e
AS
490542011-03-14 Andreas Schwab <schwab@redhat.com>
49055
49056 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49057 rpath element also skip the following colon.
49058 (expand_dynamic_string_token): Add is_path parameter and pass
49059 down to DL_DST_REQUIRED and _dl_dst_substitute.
49060 (decompose_rpath): Call expand_dynamic_string_token with
49061 non-zero is_path. Ignore empty rpaths.
49062 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49063 with zero is_path.
49064
f12a32e6
AS
490652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49066
49067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49068 Make cancelable.
49069
38a7d692
UD
490702011-04-09 Ulrich Drepper <drepper@gmail.com>
49071
49072 [BZ #12655]
49073 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49074 Patch by Filipe David Manana <fdmanana@apache.org>.
49075
e451d22b
AS
490762011-04-07 Andreas Schwab <schwab@redhat.com>
49077
49078 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49079 Maintain aligned stack.
49080 (CHECK_RSP): Remove unused macro.
49081
dedc7c7b
UD
490822011-04-03 Ulrich Drepper <drepper@gmail.com>
49083
49084 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49085 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49086
94521213
UD
490872011-04-02 Ulrich Drepper <drepper@gmail.com>
49088
49089 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49090
8cb700c0 49091 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49092
0354e355
L
490932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49094
49095 [BZ #12518]
49096 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49097 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49098 * sysdeps/x86_64/memmove.c: New file.
49099 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49100 (memcpy): Renamed to ...
49101 (__new_memcpy): This.
49102 (memcpy): Provide GLIBC_2_14 memcpy.
49103 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49104 (memcpy): Provide GLIBC_2_2_5 memcpy.
49105
8593482f
UD
491062011-04-01 Ulrich Drepper <drepper@gmail.com>
49107
49108 [BZ #12631]
49109 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49110
81a5726b
AS
491112011-03-30 Andreas Schwab <schwab@redhat.com>
49112
49113 * misc/syncfs.c: New file.
49114 * misc/Makefile (routines): Add syncfs.
49115 * posix/unistd.h: Declare syncfs.
49116 * sysdeps/unix/syscalls.list: Add syncfs.
49117
00e5419f
AS
491182011-04-01 Andreas Schwab <schwab@redhat.com>
49119
49120 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49121 open_by_handle_at.
49122 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49125 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49127 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49128 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49129
748876bf
UD
491302011-04-01 Ulrich Drepper <drepper@gmail.com>
49131
658e451d
UD
49132 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49133 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49134 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49136 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49138 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49139
748876bf
UD
49140 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49141 sync_file_range.c with -fexceptions.
49142 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49143 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49144 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49145 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49146 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49147 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49148 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49149 sync_file_range as cancellation point
49150 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49151 now a wrapper around __call_sync_file_range with cancellation handling.
49152 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49153 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49154 function name to __call_sync_file_range.
49155 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49156 Add call_sync_file_range.
748876bf 49157
6e63d5e1
AS
491582011-04-01 Andreas Schwab <schwab@redhat.com>
49159
49160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49161 bits/timex.h.
6e63d5e1 49162
46998f74
UD
491632011-04-01 Ulrich Drepper <drepper@gmail.com>
49164
4c1423ed
UD
49165 * iconv/iconv.h: Fix typo in comment.
49166 * io/fcntl.h: Likewise.
49167 * libio/stdio.h: Likewise.
49168 * posix/spawn.h: Likewise.
49169 * posix/unistd.h: Likewise.
49170 * stdlib/stdlib.h: Likewise.
49171 * time/time.h: Likewise.
49172 * wcsmbs/wchar.h: Likewise.
49173
158648c0
UD
49174 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49175 open_by_handle): Add.
49176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49177 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49178 Augment a few comments.
49179 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49181 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49184 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49185 open_by_handle.
49186
46998f74
UD
49187 * io/fcntl.h (AT_EMPTY_PATH): Define.
49188
83fe108b
UD
491892011-03-30 Ulrich Drepper <drepper@gmail.com>
49190
49191 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49192 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49193 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49194 to...
49195 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
49196 * Versions.def: Add GLIBC_2.14.
49197 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49198 Export.
83fe108b 49199
bb242059
UD
492002011-03-22 Ulrich Drepper <drepper@gmail.com>
49201
49202 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49203 round counter.
49204 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49205
c97a1282
L
492062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49207
49208 [BZ #12597]
49209 * string/test-strncmp.c (do_page_test): New function.
49210 (check2): Likewise.
49211 (test_main): Call check2.
49212 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49213
2a115601
UD
492142011-03-20 Ulrich Drepper <drepper@gmail.com>
49215
49216 [BZ #12587]
49217 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49218 Handle cache information in CPU leaf 4.
49219 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49220
8126d904
UD
492212011-03-18 Ulrich Drepper <drepper@gmail.com>
49222
042c49c6 49223 [BZ #12583]
8126d904
UD
49224 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49225 character representation.
49226 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49227
ccfe366e
RA
492282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49229
49230 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49231 END(__isnan) to END(__isnanf) to match function entry point/label
49232 EALIGN(__isnanf,...).
49233
c6e13027
JJ
492342011-03-10 Jakub Jelinek <jakub@redhat.com>
49235
49236 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49237
33f85a3f
UD
492382011-03-10 Ulrich Drepper <drepper@gmail.com>
49239
028478fa
UD
49240 [BZ #12510]
49241 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49242 copy from the symbol referenced in the relocation to initialize the
49243 used variable.
49244 Patch by Piotr Bury <pbury@goahead.com>.
49245 * elf/Makefile: Add rules to build and tst-unique3.
49246 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49247 * elf/tst-unique3.cc: New file.
49248 * elf/tst-unique3.h: New file.
49249 * elf/tst-unique3lib.cc: New file.
49250 * elf/tst-unique3lib2.cc: New file.
49251
33f85a3f
UD
49252 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49253
03592fc7
MF
492542011-03-10 Mike Frysinger <vapier@gentoo.org>
49255
49256 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49257 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49258 to _start.
03592fc7 49259
6a5ee102
UD
492602011-03-06 Ulrich Drepper <drepper@gmail.com>
49261
49262 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49263 to-be-loaded object along a path to loader is ld.so.
49264
7e4ba49c
HJ
492652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49266 Ulrich Drepper <drepper@gmail.com>
49267
49268 * sysdeps/x86_64/memset.S: After aligning destination, code
49269 branches to different locations depending on the value of
49270 misalignment, when multiarch is enabled. Fix this.
49271
492722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49273
49274 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49275 Set _x86_64_preferred_memory_instruction for AMD processsors.
49276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49277 Set bit_Prefer_SSE_for_memop for AMD processors.
49278
13a804de
UD
492792011-03-04 Ulrich Drepper <drepper@gmail.com>
49280
49281 * libio/fmemopen.c (fmemopen): Optimize a bit.
49282
9d25c392
AS
492832011-03-03 Andreas Schwab <schwab@redhat.com>
49284
49285 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49286
a5543c6a
RM
492872011-03-03 Roland McGrath <roland@redhat.com>
49288
49289 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49290
012d35f7
DM
492912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49292
7e4ba49c 49293 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
49294 __bzero_ultra1 instead of __memset_ultra1.
49295
4bff6e01
AS
492962011-02-23 Andreas Schwab <schwab@redhat.com>
49297 Ulrich Drepper <drepper@gmail.com>
49298
49299 [BZ #12509]
49300 * include/link.h (struct link_map): Add l_orig_initfini.
49301 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49302 returning unsuccessfully.
49303 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49304 close of a file loaded at startup, restore the original l_initfini
49305 list.
49306 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49307 list, store the pointer.
49308 * elf/Makefile ($(objpfx)noload-mem): New rule.
49309 (noload-ENV): Define.
49310 (tests): Add $(objpfx)noload-mem.
49311 * elf/noload.c: Include <memcheck.h>.
49312 (main): Call mtrace. Close all opened handles.
49313
f2092faf
AS
493142011-02-17 Andreas Schwab <schwab@redhat.com>
49315
49316 [BZ #12454]
49317 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49318 dependencies are missing.
49319
6c8a2e88
ST
493202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49321
f2092faf 49322 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
49323 Hurd needs munmap.
49324 * sysdeps/mach/hurd/ifreq.h: New file.
49325
84a42118
PB
493262011-01-27 Petr Baudis <pasky@suse.cz>
49327 Ulrich Drepper <drepper@gmail.com>
49328
071f805e 49329 [BZ 12445]#
84a42118
PB
49330 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49331 to extend_alloca().
49332 * stdio-common/bug23.c: New file.
49333 * stdio-common/Makefile (tests): Add bug23.
49334
e23fe25b
AS
493352010-09-28 Andreas Schwab <schwab@redhat.com>
49336 Ulrich Drepper <drepper@gmail.com>
49337
49338 [BZ #12489]
49339 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49340 before performing relro protection. At old place add assertion
49341 to make sure nothing changed.
49342
d3f02e10
NS
493432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49344 Glauber de Oliveira Costa <glommer@gmail.com>
49345
49346 * elf/elf.h: Add new ARM TLS relocs.
49347
d55fd7a5
RA
493482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49349
49350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49351 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49352 cast from r3.
49353 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49354 'tests' variable.
49355 * sysdeps/wordsize-64/tst-writev.c: New file.
49356
2206397e
RA
493572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49358
49359 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49360 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49361 insns in _dl_start to prevent a TOC reference before relocs are
49362 resolved.
49363
e9433893
UD
493642011-02-15 Ulrich Drepper <drepper@gmail.com>
49365
49366 [BZ #12469]
49367 * Makeconfig: Remove RANLIB definition.
49368 * Makerules: Don't use RANLIB.
49369 * aclocal.m4: Remove ranlib test.
49370 * configure.in: No need to check for ranlib.
49371 * elf/rtld-Rules: Don't use RANLIB.
49372
f75286c6
ST
493732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49374
8e31c82d
ST
49375 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49376 protection macro.
49377 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49378 inclusion protection macro.
49379
f75286c6
ST
49380 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49381 SIGRTMIN and SIGRTMAX and print information in that case only when
49382 SIGRTMIN is defined.
49383
c1d0e639
JJ
493842011-02-11 Jakub Jelinek <jakub@redhat.com>
49385
49386 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49387 arginfo fn returning -1.
49388
49389 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49390 and thousands string is zero terminated.
49391
edf9294e
AS
493922011-02-03 Andreas Schwab <schwab@redhat.com>
49393
49394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49395 sysdeps/unix/sysv/linux/bits/socket.h.
49396
2b7e92df
ST
493972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49398
edf9294e
AS
49399 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49400 (__CPU_COUNT): Remove old macros.
49401 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49402 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49403 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
49404 (__sched_cpualloc, __sched_cpufree): Add declarations.
49405
a4c7ea7b
UD
494062011-02-05 Ulrich Drepper <drepper@gmail.com>
49407
49408 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49409 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49410 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49411 (readdhstai): Return value of addhstaiX call.
49412 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49413 (addgrbyX): Return value returned by cache_addgr.
49414 (readdgrbyname): Return value returned by addgrbyX.
49415 (readdgrbygid): Likewise.
49416 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49417 (addpwbyX): Return value returned by cache_addpw.
49418 (readdpwbyname): Return value returned by addhstbyX.
49419 (readdpwbyuid): Likewise.
49420 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49421 (addservbyX): Return value returned by cache_addserv.
49422 (readdservbyname): Return value returned by addservbyX:
49423 (readdservbyport): Likewise.
49424 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49425 (addhstbyX): Return value returned by cache_addhst.
49426 (readdhstbyname): Return value returned by addhstbyX.
49427 (readdhstbyaddr): Likewise.
49428 (readdhstbynamev6): Likewise.
49429 (readdhstbyaddrv6): Likewise.
49430 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49431 (readdinitgroups): Return value returned by addinitgroupsX.
49432 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49433 (prune_cache): Keep track of timeout value of re-added entries.
49434 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49435 * nscd/nscd.h: Adjust prototypes of readd* functions.
49436
a0bf67cc
RM
494372011-02-04 Roland McGrath <roland@redhat.com>
49438
49439 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49440 (nis_stats): Likewise.
49441 * nis/nis_modify.c (nis_modify): Likewise.
49442 * nis/nis_remove.c (nis_remove): Likewise.
49443 * nis/nis_add.c (nis_add): Likewise.
49444
49445 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49446
49447 * posix/fnmatch_loop.c: Add some consts.
49448
49449 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49450
435b95eb
L
494512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49452
49453 [BZ #12460]
49454 * config.make.in (config-cflags-novzeroupper): Define.
49455 * configure.in: Substitute libc_cv_cc_novzeroupper.
49456 * elf/Makefile (AVX-CFLAGS): Define.
49457 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49458 (CFLAGS-tst-auditmod4a.c): Likewise.
49459 (CFLAGS-tst-auditmod4b.c): Likewise.
49460 (CFLAGS-tst-auditmod6b.c): Likewise.
49461 (CFLAGS-tst-auditmod6c.c): Likewise.
49462 (CFLAGS-tst-auditmod7b.c): Likewise.
49463 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49464
8517b15e
UD
494652011-02-02 Ulrich Drepper <drepper@gmail.com>
49466
49467 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49468 function to the callback.
49469 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49470
10a656fe
AS
494712011-02-02 Andreas Schwab <schwab@redhat.com>
49472
49473 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49474 of errno.
49475
968dad0a
UD
494762011-01-19 Ulrich Drepper <drepper@gmail.com>
49477
9f94d2ea 49478 [BZ #11724]
968dad0a
UD
49479 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49480 of constructors.
49481 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49482 of destructors.
49483 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49484
49485 [BZ #11724]
49486 * elf/Makefile: Add rules to build and run new test.
49487 * elf/tst-initorder.c: New file.
49488 * elf/tst-initorder.exp: New file.
49489 * elf/tst-initordera1.c: New file.
49490 * elf/tst-initordera2.c: New file.
49491 * elf/tst-initordera3.c: New file.
49492 * elf/tst-initordera4.c: New file.
49493 * elf/tst-initorderb1.c: New file.
49494 * elf/tst-initorderb2.c: New file.
49495 * elf/tst-order-a1.c: New file.
49496 * elf/tst-order-a2.c: New file.
49497 * elf/tst-order-a3.c: New file.
49498 * elf/tst-order-a4.c: New file.
49499 * elf/tst-order-b1.c: New file.
49500 * elf/tst-order-b2.c: New file.
49501 * elf/tst-order-main.c: New file.
49502 New test case by George Gensure <werkt0@gmail.com>.
49503
86e92359
UD
495042010-10-01 Andreas Schwab <schwab@redhat.com>
49505
49506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49507 decoding ACE if AI_CANONIDN.
49508
5d5732b0
UD
495092011-01-18 Ulrich Drepper <drepper@gmail.com>
49510
49511 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49512
a77e8cbc
UD
495132011-01-17 Ulrich Drepper <drepper@gmail.com>
49514
6392473f
UD
49515 * version.h (RELEASE): Bump for 2.13 release.
49516 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49517
620a0529
UD
49518 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49519
18ba70a5
UD
49520 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49521 MADV_NOHUGEPAGE.
32465c3e
UD
49522 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49524 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49525 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49526 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49527 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49528
c0dafcf1
UD
49529 * posix/getconf.c: Update copyright year.
49530 * catgets/gencat.c: Likewise.
49531 * csu/version.c: Likewise.
49532 * debug/catchsegv.sh: Likewise.
49533 * debug/xtrace.sh: Likewise.
49534 * elf/ldconfig.c: Likewise.
49535 * elf/ldd.bash.in: Likewise.
49536 * elf/sprof.c (print_version): Likewise.
49537 * iconv/iconv_prog.c: Likewise.
49538 * iconv/iconvconfig.c: Likewise.
49539 * locale/programs/locale.c: Likewise.
49540 * locale/programs/localedef.c: Likewise.
49541 * malloc/memusage.sh: Likewise.
49542 * malloc/mtrace.pl: Likewise.
49543 * nscd/nscd.c (print_version): Likewise.
49544 * nss/getent.c: Likewise.
49545
a77e8cbc
UD
49546 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49547 PF_CAIF, and PF_ALG.
49548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49549
77e8bddf
AS
495502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49551
1f20b93a
AS
49552 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49553 (modules-names): Use them.
49554 (ifunc-test-modules, ifunc-pie-tests): Define.
49555 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49556 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49557 (test-extras): Likewise.
49558 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49559 $(compile-command.c).
49560 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49561 (all-built-dso): Define.
49562 (check-textrel.out, check-execstack.out): Depend on it.
49563
77e8bddf
AS
49564 * configure.in: Don't override --enable-multi-arch.
49565
bc425b33
UD
495662011-01-15 Ulrich Drepper <drepper@gmail.com>
49567
49568 [BZ #6812]
49569 * nscd/hstcache.c (tryagain): Define.
49570 (cache_addhst): Return tryagain not notfound for temporary errors.
49571 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49572 failed.
49573
794c3ad3
UD
495742011-01-14 Ulrich Drepper <drepper@gmail.com>
49575
70181fdd
UD
49576 [BZ #10563]
49577 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49578 to make the syscall.
49579 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49580
794c3ad3
UD
49581 [BZ #12378]
49582 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49583 and fall back to matching as normal character if the string ends before
49584 the matching ']' is found. This is what POSIX requires.
49585 * posix/testfnm.c: Adjust test result.
49586 * posix/globtest.sh: Adjust test result. Add new test.
49587 * posix/tst-fnmatch.input: Likewise.
49588 * posix/tst-fnmatch2.c: Add new test.
49589
68dc9497
AS
495902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49591
49592 * elf/Makefile (check-execstack): Revert last change. Depend on
49593 check-execstack.h.
49594 (check-execstack.h): New target.
49595 (generated): Add check-execstack.h.
49596 * elf/check-execstack.c: Include "check-execstack.h".
49597 (main): Revert last change.
49598 (handle_file): Return zero if GNU_STACK is absent and
49599 DEFAULT_STACK_PERMS doesn't include PF_X.
49600
451f001b
UD
496012011-01-13 Ulrich Drepper <drepper@gmail.com>
49602
cfa28e56
UD
49603 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49604 in child fails because the descriptor is already closed.
8cf8ce17
UD
49605 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49606 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49607 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 49608
1086d70d
UD
49609 [BZ #12397]
49610 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49611 syscall.
49612
451f001b
UD
49613 [BZ #10484]
49614 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49615 temporary buffer used to handle multi lookups locally.
a85b5cb4 49616 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 49617
08769175
UD
496182011-01-12 Ulrich Drepper <drepper@gmail.com>
49619
49620 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49621 loader is ld.so.
49622
5e49c52e
UD
496232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49624
49625 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49626 alignment for SSE2.
49627
60522a5f
UD
496282011-01-12 Ulrich Drepper <drepper@gmail.com>
49629
49630 [BZ #12394]
49631 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49632 characters. When rounding increased number of integer digits recompute
49633 number of groups.
49634 * stdio-common/tst-grouping.c: New file.
49635 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49636
f257bbd7
UD
496372011-01-09 Ulrich Drepper <drepper@gmail.com>
49638
49639 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49640 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49641
49642 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49643 void.
49644 * bits/select.h: Likewise.
49645
fa9c15cb
UD
496462011-01-08 Ulrich Drepper <drepper@gmail.com>
49647
49648 * po/ja.po: Update from translation team.
49649
16c2895f
DM
496502011-01-04 David S. Miller <davem@sunset.davemloft.net>
49651
49652 [BZ #11155]
49653 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49654 implementation just like for lxstat, fxstatat, et al.
49655
2543fef2
JM
496562010-12-27 Jim Meyering <meyering@redhat.com>
49657
49658 [BZ #12348]
49659 * posix/regexec.c (build_trtable): Return failure indication upon
49660 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49661
98727dbe
UD
496622010-12-25 Ulrich Drepper <drepper@gmail.com>
49663
5bd6dc5c
UD
49664 [BZ #12201]
49665 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49666 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49667 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49668 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49669
97983464
UD
49670 [BZ #12207]
49671 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49672
98727dbe
UD
49673 [BZ #12204]
49674 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49675 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49676
4a531bb0
L
496772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49678
49679 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49680 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49681 script has SORT_BY_INIT_PRIORITY.
49682 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49683 NO_CTORS_DTORS_SECTIONS is defined.
49684 * elf/soinit.c: Likewise.
49685 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49686 NO_CTORS_DTORS_SECTIONS is defined.
49687 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49688 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49689 * sysdeps/sh/init-first.c: Likewise.
49690 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49691
07eb4b71
UD
496922010-12-24 Ulrich Drepper <drepper@gmail.com>
49693
49694 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49695 always use the slow path.
49696
30950a5f
RA
496972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49698
49699 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49700 similar rule which adds the sysdep directories to the header search in
49701 order to pick up the correct platform stackinfo.h.
49702 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49703 perform test if it is, otherwise return successfully without testing.
49704 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49705 DEFAULT_STACK_PERMS define in stackinfo.h.
49706 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49707 defined in stackinfo.h.
49708 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49709 DEFAULT_STACK_PERMS defined in stackinfo.h.
49710 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49711 * sysdeps/ia64/stackinfo.h: Likewise.
49712 * sysdeps/s390/stackinfo.h: Likewise.
49713 * sysdeps/sh/stackinfo.h: Likewise.
49714 * sysdeps/sparc/stackinfo.h: Likewise.
49715 * sysdeps/x86_64/stackinfo.h: Likewise.
49716 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49717 PF_X for powerpc64. Retain PF_X for powerpc32.
49718
db753e2c
UD
497192010-12-19 Ulrich Drepper <drepper@gmail.com>
49720
14b697f7
UD
49721 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49722 accurately.
db753e2c
UD
49723 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49724 GETDENTS_64BIT_ALIGNED.
49725
28300719
UD
497262010-12-14 Ulrich Drepper <dreper@gmail.com>
49727
14b697f7 49728 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 49729
4f197237
AS
497302010-12-10 Andreas Schwab <schwab@redhat.com>
49731
dbb0472f
AS
49732 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49733 _GNU_SOURCE.
49734
4f197237
AS
49735 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49736 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49737 Remove __restrict.
49738 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49739 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49740
fb88ac72
UD
497412010-12-09 Ulrich Drepper <drepper@gmail.com>
49742
49743 [BZ #11655]
49744 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49745 are initialized.
49746
42acbb92
JJ
497472010-12-09 Jakub Jelinek <jakub@redhat.com>
49748
49749 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49750
c038d98d
UD
497512010-12-03 Ulrich Drepper <drepper@gmail.com>
49752
49753 * po/it.po: Update from translation team.
49754
3a4a2499
L
497552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49756
49757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49758 unused codes.
49759
1e24cf6e
UD
497602010-11-30 Ulrich Drepper <drepper@gmail.com>
49761
49762 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49763
a7690819
AS
497642010-11-24 Andreas Schwab <schwab@redhat.com>
49765
49766 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49767 specially.
49768 (gaih_getanswer_slice): Likewise.
49769
3bf8d1b1
JJ
497702010-10-20 Jakub Jelinek <jakub@redhat.com>
49771
49772 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49773
6db52fbb
PB
497742010-05-31 Petr Baudis <pasky@suse.cz>
49775
49776 [BZ #11149]
49777 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49778 silently even in the chroot mode.
49779
eaca7569
UD
497802010-11-22 Ulrich Drepper <drepper@gmail.com>
49781
49782 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49783 last patch a bit. Pretty printing
49784
3056dcdb
UD
497852010-05-31 Petr Baudis <pasky@suse.cz>
49786
49787 [BZ #10085]
49788 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49789 initialization of skip_initgroups_dyn.
49790
cf7c9078
UD
497912010-11-19 Ulrich Drepper <drepper@gmail.com>
49792
49793 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49794 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49795
a1fb5e3e
UD
497962010-11-16 Ulrich Drepper <drepper@gmail.com>
49797
49798 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49799
3540d66b
AS
498002010-11-11 Andreas Schwab <schwab@redhat.com>
49801
49802 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49803 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49804 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49805 ($(objpfx)tst-fnmatch-mem): New rule.
49806 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49807 * posix/tst-fnmatch.c (main): Call mtrace.
49808
13b69574
L
498092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49810
49811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49812 Support Intel processor model 6 and model 0x2c.
49813
da93d214
LM
498142010-11-10 Luis Machado <luisgpm@br.ibm.com>
49815
49816 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49817 signed comparison.
49818
8ca52c6e
L
498192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49820
49821 [BZ #12205]
49822 * string/test-strncasecmp.c (check_result): New function.
49823 (do_one_test): Use it.
49824 (check1): New function.
49825 (test_main): Use it.
49826 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49827 Support strcasecmp and strncasecmp.
49828
69da074d
UD
498292010-11-08 Ulrich Drepper <drepper@gmail.com>
49830
49831 [BZ #12194]
49832 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49834
ff02d528
L
498352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49836
49837 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49838 IFUNC support.
49839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49840 memset-x86-64.
49841 * sysdeps/x86_64/multiarch/bzero.S: New file.
49842 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49843 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49844 * sysdeps/x86_64/multiarch/memset.S: New file.
49845 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49847 Set bit_Prefer_SSE_for_memop for Intel processors.
49848 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49849 Define.
49850 (index_Prefer_SSE_for_memop): Define.
49851 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49852
344d0b54
LM
498532010-11-04 Luis Machado <luisgpm@br.ibm.com>
49854
49855 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49856 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49857
c0dde15b
UD
498582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49859
49860 [BZ #12191]
49861 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49862 (__x86_64_raw_data_cache_size_half): Likewise.
49863 (__x86_64_raw_shared_cache_size): Likewise.
49864 (__x86_64_raw_shared_cache_size_half): Likewise.
49865
49866 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49867 (__x86_64_raw_data_cache_size_half): Likewise.
49868 (__x86_64_raw_shared_cache_size): Likewise.
49869 (__x86_64_raw_shared_cache_size_half): Likewise.
49870 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49871 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49872 and __x86_64_raw_shared_cache_size_half. Round
49873 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49874 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49875 to multiple of 256 bytes.
49876
0e516e0e
MS
498772010-11-03 Ulrich Drepper <drepper@gmail.com>
49878
49879 [BZ #12167]
49880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49881 of inacessible symlinks. Verify result of symlink before returning it.
49882 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49883 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49884
0e012e87
ER
498852010-10-28 Erich Ritz <erichritz@gmail.com>
49886
49887 * math/math.h (isinf): Fix typo in comment.
49888
de0ff7bc
UD
498892010-11-01 Ulrich Drepper <drepper@gmail.com>
49890
49891 * po/da.po: Update from translation team.
49892
fa41c84d
UD
498932010-10-26 Ulrich Drepper <drepper@gmail.com>
49894
49895 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49896 is added to the list.
49897
f0967738
AK
498982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49899 Ulrich Drepper <drepper@gmail.com>
49900
49901 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49902 the global list here. Move code to...
49903 (_dl_add_to_namespace_list): ...here. New function.
49904 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49905 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49906 * elf/dl-load.c (lose): Don't remove the element from the list.
49907 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49908 (_dl_map_object): Likewise.
49909
499102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
49911
49912 [BZ #12159]
49913 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49914 into all bytes of SSE register.
49915 Patch by Richard Li <richardpku@gmail.com>.
49916
f0967738 499172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
49918
49919 [BZ #12140]
49920 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49921 perturbing.
49922
d0b9e94f
MB
499232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49924
49925 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49926 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49927 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49928 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49930 submachine.
49931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49932
8e9f92e9
AS
499332010-10-22 Andreas Schwab <schwab@redhat.com>
49934
49935 * include/dlfcn.h (__RTLD_SECURE): Define.
49936 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49937 mode & __RTLD_SECURE instead.
49938 (open_path): Rename preloaded parameter to secure.
49939 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49940 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49941 * elf/dl-deps.c (openaux): Likewise.
49942 * elf/rtld.c (struct map_args): Remove is_preloaded.
49943 (map_doit): Don't use it.
49944 (dl_main): Likewise.
49945 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49946 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49947
bc96fbda
AS
499482010-09-09 Andreas Schwab <schwab@redhat.com>
49949
49950 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49951 (sysd-rules-targets): Remove duplicates.
49952 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49953 rtld-%.$o dependency.
49954
22cd1c9b
AS
499552010-10-18 Andreas Schwab <schwab@redhat.com>
49956
49957 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49958 _dl_map_object do it.
49959
18edac48
UD
499602010-10-19 Ulrich Drepper <drepper@gmail.com>
49961
49962 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49963 fast fma builtins, define the macros in the C99 standard.
49964 (FP_FAST_FMAF): Likewise.
49965 (FP_FAST_FMAL): Likewise.
49966 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49967
49968 * bits/mathdef.h: Update copyright year.
49969 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49970
d2050124
MM
499712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49972
49973 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49974 builtins, define the macros in the C99 standard.
49975 (FP_FAST_FMAF): Likewise.
49976 (FP_FAST_FMAL): Likewise.
49977 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49978 multiply/add.
49979 (FP_FAST_FMAF): Likewise.
49980
475facd1
JJ
499812010-10-15 Jakub Jelinek <jakub@redhat.com>
49982
49983 [BZ #3268]
49984 * math/libm-test.inc (fma_test): Some new testcases.
49985 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49986 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49987 y and infinite z. Do multiplication by C already in long double.
49988 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49990 y and infinite z. Do bitwise or of inexact bit into u.d.
49991 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49992 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49993 * sysdeps/i386/fpu/s_fma.S: Removed.
49994 * sysdeps/i386/fpu/s_fmal.S: Removed.
49995
7c08a05c
JJ
499962010-10-16 Jakub Jelinek <jakub@redhat.com>
49997
49998 [BZ #3268]
49999 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50000 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50001 computation is not scheduled after fetestexcept. Fix value
50002 of minimum denormal long double.
50003
f3f7372d
JJ
500042010-10-14 Jakub Jelinek <jakub@redhat.com>
50005
50006 [BZ #3268]
50007 * math/libm-test.inc (fma_test): Add some more tests.
50008 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50009 correctly.
50010
14d43591
AS
500112010-10-15 Andreas Schwab <schwab@redhat.com>
50012
50013 * scripts/data/localplt-s390-linux-gnu.data: New file.
50014 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50015
5e908464
JJ
500162010-10-13 Jakub Jelinek <jakub@redhat.com>
50017
50018 [BZ #3268]
50019 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50020 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50021 instead of dbl-64.
50022 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50023 inlines.
50024 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50026 if one of x and y is very large and the other is subnormal.
50027 * sysdeps/s390/fpu/s_fmaf.c: New file.
50028 * sysdeps/s390/fpu/s_fma.c: New file.
50029 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50030 * sysdeps/powerpc/fpu/s_fma.S: New file.
50031 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50032 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50033 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50034
500352010-10-12 Jakub Jelinek <jakub@redhat.com>
50036
50037 [BZ #3268]
50038 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50039 fma tests.
50040 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50041 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50042 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50043 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50044 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50045 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50046 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50047
b833d51f
UD
500482010-10-12 Ulrich Drepper <drepper@redhat.com>
50049
50050 [BZ #12078]
50051 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50052 * posix/bug-regex31.input: Add test case.
50053
1751705d
UD
500542010-10-11 Ulrich Drepper <drepper@gmail.com>
50055
e9b9cbf5
UD
50056 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50057 * posix/bug-regex31.input: New file.
50058
50059 [BZ #12078]
50060 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50061 (parse_sub_exp): Fix last change, use postorder.
50062
ef06edbe
UD
50063 * posix/bug-regex31.c: New file.
50064 * posix/Makefile: Add rules to build and run bug-regex31.
50065
a129c80d
UD
50066 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50067
50068 [BZ #12078]
50069 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50070
b76b818e
UD
50071 [BZ #12108]
50072 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50073 to have entries in sys_siglist.
50074
1751705d
UD
50075 [BZ #12093]
50076 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50077 be NULL.
50078
9ff8d36f
JJ
500792010-10-07 Jakub Jelinek <jakub@redhat.com>
50080
50081 [BZ #3268]
50082 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50083 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50084 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50085 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50086 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50087 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50088 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50089 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50090 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50091 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50092 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50093 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50094 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50095 * math/ftestexcept.c (fetestexcept): Likewise.
50096 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50097 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50098 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50099 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50100 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50101 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50102 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50103
af325969
UD
501042010-10-11 Ulrich Drepper <drepper@gmail.com>
50105
c579b202 50106 [BZ #12107]
af325969
UD
50107 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50108 newline.
50109
67a67b95
UD
501102010-10-06 Ulrich Drepper <drepper@gmail.com>
50111
50112 * string/bug-strstr1.c: New file.
50113 * string/Makefile: Add rules to build and run bug-strstr1.
50114
5fb308bc
EB
501152010-10-05 Eric Blake <eblake@redhat.com>
50116
50117 [BZ #12092]
50118 * string/str-two-way.h (two_way_long_needle): Always clear memory
50119 when skipping input due to the shift table.
50120
45db99c7
UD
501212010-10-03 Ulrich Drepper <drepper@gmail.com>
50122
3b111893
UD
50123 [BZ #12005]
50124 * malloc/mcheck.c: Handle large requests.
50125
45db99c7
UD
50126 [BZ #12077]
50127 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50128 for strncmp and strncasecmp.
50129 * string/stratcliff.c: Add tests for strcmp and strncmp.
50130 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50131
cf7a1eb8
NI
501322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50133
50134 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50135 __set_fpscr.
50136
6484ba5e
AJ
501372010-09-30 Andreas Jaeger <aj@suse.de>
50138
50139 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50140 (CGROUP_SUPER_MAGIC): Define.
50141 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50142 Handle btrfs and cgroup file systems.
50143 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50144 Likewise.
50145
91c42559
LM
501462010-09-27 Luis Machado <luisgpm@br.ibm.com>
50147
50148 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50149 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50150
87a97932
AK
501512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50152
50153 [BZ #12067]
50154 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50155 trying to locate the ELF header.
50156
c21cc9bc
AS
501572010-09-27 Andreas Schwab <schwab@redhat.com>
50158
50159 [BZ #11611]
50160 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50161 Mask out sign-bit copies when constructing f_fsid.
50162
315970f6
PB
501632010-09-24 Petr Baudis <pasky@suse.cz>
50164
50165 * debug/stack_chk_fail_local.c: Add missing licence exception.
50166 * debug/warning-nop.c: Likewise.
50167
1ac7a2c7
JM
501682010-09-15 Joseph Myers <joseph@codesourcery.com>
50169
50170 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50171 implementing getdents64 using getdents syscall, set d_type if
50172 __ASSUME_GETDENTS32_D_TYPE.
50173
56801c50
AS
501742010-09-16 Andreas Schwab <schwab@redhat.com>
50175
50176 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50177 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50178
dda51327
UD
501792010-09-21 Ulrich Drepper <drepper@redhat.com>
50180
50181 [BZ #12037]
50182 * posix/unistd.h: Undo change of feature selection for ftruncate from
50183 2010-01-11.
50184
8ffcee4a
UD
501852010-09-20 Ulrich Drepper <drepper@redhat.com>
50186
a545ecd9 50187 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50188 detection.
50189
e24f0a8b
AS
501902010-09-20 Andreas Schwab <schwab@redhat.com>
50191
50192 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50193 fanotify_mark.
50194 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50195
7291c56f
AS
501962010-09-14 Andreas Schwab <schwab@redhat.com>
50197
50198 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50199 variables after CHECK_SP call.
50200 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50201
bc5fb037
AS
502022010-09-13 Andreas Schwab <schwab@redhat.com>
50203 Ulrich Drepper <drepper@redhat.com>
50204
50205 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50206 re-relocationg ld.so.
50207 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50208 _dl_init_paths call.
50209 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50210 here anymore.
50211
e66e7419
UD
502122010-09-14 Ulrich Drepper <drepper@redhat.com>
50213
50214 * resolv/res_init.c (__res_vinit): Count the default server we added.
50215
c044aa75
CLT
502162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50217 Ulrich Drepper <drepper@redhat.com>
50218
50219 [BZ #11968]
50220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50221 (____longjmp_chk): Use %ebx for saving value across system call.
50222 Add unwind info.
50223
32cf4069
AS
502242010-09-06 Andreas Schwab <schwab@redhat.com>
50225
50226 * manual/Makefile: Don't mix pattern rules with normal rules.
50227
817328ee
AS
502282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50229
50230 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50231 operation.
50232 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50233 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50234 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50235 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50236 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50237 Likewise.
50238
29fddf61
UD
502392010-09-04 Ulrich Drepper <drepper@redhat.com>
50240
50241 [BZ #11979]
50242 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50243 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50244
0959ffc9
UD
502452010-09-02 Ulrich Drepper <drepper@redhat.com>
50246
50247 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50248 * sysdeps/x86_64/addmul_1.S: Likewise.
50249 * sysdeps/x86_64/lshift.S: Likewise.
50250 * sysdeps/x86_64/mul_1.S: Likewise.
50251 * sysdeps/x86_64/rshift.S: Likewise.
50252 * sysdeps/x86_64/sub_n.S: Likewise.
50253 * sysdeps/x86_64/submul_1.S: Likewise.
50254
ece29840
ST
502552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50256
0959ffc9
UD
50257 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50258 Define __sched_param instead of SCHED_* and sched_param when
ece29840 50259 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 50260 * bits/sched.h [__need_schedparam]
ece29840 50261 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
50262 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50263 (__defined_schedparam): Define to 1.
ece29840
ST
50264 (__sched_param): New structure, identical to sched_param.
50265 (__need_schedparam): Undefine.
50266
e53a31fe
MF
502672010-08-31 Mike Frysinger <vapier@gentoo.org>
50268
fdc0c10d
MF
50269 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50270 (epoll_create1): Declare.
50271
e53a31fe
MF
50272 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50273
a726d796
AS
502742010-08-31 Andreas Schwab <schwab@redhat.com>
50275
50276 [BZ #7066]
50277 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50278 shifting retval into place.
50279
2f3e3dc7
UD
502802010-09-01 Ulrich Drepper <drepper@redhat.com>
50281
f2933da9
UD
50282 * nis/rpcsvc/nis.h: Update copyright notice.
50283 * nis/rpcsvc/nis.x: Likewise.
50284 * nis/rpcsvc/nis_callback.h: Likewise.
50285 * nis/rpcsvc/nis_callback.x: Likewise.
50286 * nis/rpcsvc/nis_object.x: Likewise.
50287 * nis/rpcsvc/nis_tags.h: Likewise.
50288 * nis/rpcsvc/yp.h: Likewise.
50289 * nis/rpcsvc/yp.x: Likewise.
50290 * nis/rpcsvc/ypupd.h: Likewise.
50291 * nis/yp_xdr.c: Likewise.
50292 * nis/ypupdate_xdr.c: Likewise.
50293
2f3e3dc7
UD
50294 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50295 mainly the body of pmap_getport. Add parameters to specify timeouts.
50296 (pmap_getport): Use __libc_rpc_getport.
50297 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50298 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50299 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50300
f3dcc2f9
AS
503012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50302
50303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50304 fanotify_mark.
50305
6d34eb5b
RM
503062010-08-27 Roland McGrath <roland@redhat.com>
50307
50308 * sysdeps/i386/i686/multiarch/Makefile
50309 (CFLAGS-varshift.c): New variable.
50310
9ea3de11
UD
503112010-08-27 Ulrich Drepper <drepper@redhat.com>
50312
c96d23fc
UD
50313 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50314 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50315
9ea3de11
UD
50316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50317
50318 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50319
623aac7f
L
503202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50321
50322 * sysdeps/x86_64/strlen.S: Unroll the loop.
50323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50324 strlen-sse2 strlen-sse2-bsf.
50325 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50326 __strlen_no_bsf if bit_Slow_BSF is set.
50327 (__strlen_sse42): Removed.
50328 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50329 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50330
8b2b7715
RM
503312010-08-25 Roland McGrath <roland@redhat.com>
50332
50333 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50334 * sysdeps/x86_64/multiarch/varshift.c: New file.
50335 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50336 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50337 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50338 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50339
e73015f2
L
503402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50341
50342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50343 strlen-sse2 strlen-sse2-bsf.
50344 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50345 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50346 (__strlen_sse2): Removed.
50347 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50348 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50350 bit_Slow_BSF for Atom.
50351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50352 (index_Slow_BSF): Define.
50353 (HAS_SLOW_BSF): Define.
50354
df24a73e
UD
503552010-08-25 Ulrich Drepper <drepper@redhat.com>
50356
50357 [BZ #10851]
50358 * resolv/res_init.c (__res_vinit): When no server address at all
50359 is given default to loopback.
50360
f2ac4868
RM
503612010-08-24 Roland McGrath <roland@redhat.com>
50362
09055553
RM
50363 * configure.in: Remove config-name.h generation.
50364 * configure: Regenerated.
50365 * config-name.in: File removed.
50366 * scripts/config-uname.sh: New file.
50367 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50368 ($(objdir)config-name.h): New target.
50369
f2ac4868
RM
50370 * sunrpc/rpc_parse.h: Avoid nested comment.
50371
73f27d5e
RH
503722010-08-24 Richard Henderson <rth@redhat.com>
50373 Ulrich Drepper <drepper@redhat.com>
50374 H.J. Lu <hongjiu.lu@intel.com>
50375
50376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50378 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50379 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50380 _mm_alignr_epi8 with _mm_loadu_si128.
50381 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50382 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50383 (__m128i_shift_right): Removed.
50384 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50385 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50386 * sysdeps/x86_64/multiarch/varshift.h: New file.
50387 * sysdeps/x86_64/multiarch/varshift.S: New file.
50388
84b9230c
MF
503892010-08-21 Mike Frysinger <vapier@gentoo.org>
50390
50391 * configure.in: Move assembler checks to before sysdep dir checking.
50392
9bbd0ddc
PB
503932010-08-20 Petr Baudis <pasky@suse.cz>
50394
50395 * LICENSES: Sync the sunrpc license.
50396
9da4bb31
UD
503972010-08-19 Ulrich Drepper <drepper@redhat.com>
50398
a7ab6ec8
UD
50399 * sunrpc/auth_des.c: Update copyright notice once again.
50400 * sunrpc/auth_none.c: Likewise.
50401 * sunrpc/auth_unix.c: Likewise.
50402 * sunrpc/authdes_prot.c: Likewise.
50403 * sunrpc/authuxprot.c: Likewise.
50404 * sunrpc/bindrsvprt.c: Likewise.
50405 * sunrpc/clnt_gen.c: Likewise.
50406 * sunrpc/clnt_perr.c: Likewise.
50407 * sunrpc/clnt_raw.c: Likewise.
50408 * sunrpc/clnt_simp.c: Likewise.
50409 * sunrpc/clnt_tcp.c: Likewise.
50410 * sunrpc/clnt_udp.c: Likewise.
50411 * sunrpc/clnt_unix.c: Likewise.
50412 * sunrpc/des_crypt.c: Likewise.
50413 * sunrpc/des_soft.c: Likewise.
50414 * sunrpc/get_myaddr.c: Likewise.
50415 * sunrpc/getrpcport.c: Likewise.
50416 * sunrpc/key_call.c: Likewise.
50417 * sunrpc/key_prot.c: Likewise.
50418 * sunrpc/openchild.c: Likewise.
50419 * sunrpc/pm_getmaps.c: Likewise.
50420 * sunrpc/pm_getport.c: Likewise.
50421 * sunrpc/pmap_clnt.c: Likewise.
50422 * sunrpc/pmap_prot.c: Likewise.
50423 * sunrpc/pmap_prot2.c: Likewise.
50424 * sunrpc/pmap_rmt.c: Likewise.
50425 * sunrpc/rpc/auth.h: Likewise.
50426 * sunrpc/rpc/auth_unix.h: Likewise.
50427 * sunrpc/rpc/clnt.h: Likewise.
50428 * sunrpc/rpc/des_crypt.h: Likewise.
50429 * sunrpc/rpc/key_prot.h: Likewise.
50430 * sunrpc/rpc/netdb.h: Likewise.
50431 * sunrpc/rpc/pmap_clnt.h: Likewise.
50432 * sunrpc/rpc/pmap_prot.h: Likewise.
50433 * sunrpc/rpc/pmap_rmt.h: Likewise.
50434 * sunrpc/rpc/rpc.h: Likewise.
50435 * sunrpc/rpc/rpc_des.h: Likewise.
50436 * sunrpc/rpc/rpc_msg.h: Likewise.
50437 * sunrpc/rpc/svc.h: Likewise.
50438 * sunrpc/rpc/svc_auth.h: Likewise.
50439 * sunrpc/rpc/types.h: Likewise.
50440 * sunrpc/rpc/xdr.h: Likewise.
50441 * sunrpc/rpc_clntout.c: Likewise.
50442 * sunrpc/rpc_cmsg.c: Likewise.
50443 * sunrpc/rpc_common.c: Likewise.
50444 * sunrpc/rpc_cout.c: Likewise.
50445 * sunrpc/rpc_dtable.c: Likewise.
50446 * sunrpc/rpc_hout.c: Likewise.
50447 * sunrpc/rpc_main.c: Likewise.
50448 * sunrpc/rpc_parse.c: Likewise.
50449 * sunrpc/rpc_parse.h: Likewise.
50450 * sunrpc/rpc_prot.c: Likewise.
50451 * sunrpc/rpc_sample.c: Likewise.
50452 * sunrpc/rpc_scan.c: Likewise.
50453 * sunrpc/rpc_scan.h: Likewise.
50454 * sunrpc/rpc_svcout.c: Likewise.
50455 * sunrpc/rpc_tblout.c: Likewise.
50456 * sunrpc/rpc_util.c: Likewise.
50457 * sunrpc/rpc_util.h: Likewise.
50458 * sunrpc/rpcinfo.c: Likewise.
50459 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50460 * sunrpc/rpcsvc/key_prot.x: Likewise.
50461 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50462 * sunrpc/rpcsvc/mount.x: Likewise.
50463 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50464 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50465 * sunrpc/rpcsvc/rex.x: Likewise.
50466 * sunrpc/rpcsvc/rstat.x: Likewise.
50467 * sunrpc/rpcsvc/rusers.x: Likewise.
50468 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50469 * sunrpc/rpcsvc/spray.x: Likewise.
50470 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50471 * sunrpc/rtime.c: Likewise.
50472 * sunrpc/svc.c: Likewise.
50473 * sunrpc/svc_auth.c: Likewise.
50474 * sunrpc/svc_authux.c: Likewise.
50475 * sunrpc/svc_raw.c: Likewise.
50476 * sunrpc/svc_run.c: Likewise.
50477 * sunrpc/svc_simple.c: Likewise.
50478 * sunrpc/svc_tcp.c: Likewise.
50479 * sunrpc/svc_udp.c: Likewise.
50480 * sunrpc/svc_unix.c: Likewise.
50481 * sunrpc/svcauth_des.c: Likewise.
50482 * sunrpc/xcrypt.c: Likewise.
50483 * sunrpc/xdr.c: Likewise.
50484 * sunrpc/xdr_array.c: Likewise.
50485 * sunrpc/xdr_float.c: Likewise.
50486 * sunrpc/xdr_mem.c: Likewise.
50487 * sunrpc/xdr_rec.c: Likewise.
50488 * sunrpc/xdr_ref.c: Likewise.
50489 * sunrpc/xdr_sizeof.c: Likewise.
50490 * sunrpc/xdr_stdio.c: Likewise.
50491
9da4bb31
UD
50492 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50493 handling.
50494
bdaa77bc
AS
504952010-08-19 Andreas Schwab <schwab@redhat.com>
50496
50497 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50498
fe2f79db
LM
504992010-08-19 Luis Machado <luisgpm@br.ibm.com>
50500
50501 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50502 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50503 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50504 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50505 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50506 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50507 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50508 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50509 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50510 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50511 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50512 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50513 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50514 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50515
b9b42ee0
AB
505162010-07-26 Anton Blanchard <anton@samba.org>
50517
50518 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50519 * malloc/arena.c (heap_trim): Likewise.
50520
1c06ba31
UD
505212010-08-16 Ulrich Drepper <drepper@redhat.com>
50522
50523 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50524 here. Not...
50525 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50526 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50527
f8392f40
L
505282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50529
50530 * sysdeps/i386/elf/Makefile: New file.
50531
3162f12e
AS
505322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50533
50534 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50535 from fanotify_init.
50536 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50537 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50538
28c90b2c
UD
505392010-08-15 Ulrich Drepper <drepper@redhat.com>
50540
50541 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50542 of strncasecmp_l.
1feccb6c 50543 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 50544
ca6bb004
UD
505452010-08-14 Ulrich Drepper <drepper@redhat.com>
50546
e9f82e0d
UD
50547 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50548 strncase_l-nonascii.
50549 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50550 Add strncase_l-ssse3.
50551 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50552 * sysdeps/x86_64/strcmp.S: Likewise.
50553 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50554 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50555 * sysdeps/x86_64/strncase.S: New file.
50556 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50557 * sysdeps/x86_64/strncase_l.S: New file.
50558 * string/Makefile (strop-tests): Add strncasecmp.
50559 * string/test-strncasecmp.c: New file.
50560
50561 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50562 warning.
50563
ca6bb004
UD
50564 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50565 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50566
052fa7b3
AS
505672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50568
50569 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50570
962dba78
UD
505712010-08-12 Ulrich Drepper <drepper@redhat.com>
50572
50573 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50574 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50575 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50576
bebff237
AM
505772010-05-01 Alan Modra <amodra@gmail.com>
50578
50579 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50580 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50581 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50582 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50583 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50584 tidying. Don't tail-call __sigjmp_save for static lib.
50585 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50586 save location.
50587 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50588 (CALL_MCOUNT): Add eh info, and nop after bl.
50589 (TAIL_CALL_SYSCALL_ERROR): New macro.
50590 (PSEUDO_RET): Use it.
50591 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50592 Correct save location of integer regs and cr.
50593 (_dl_profile_resolve): Correct cr save location. Delete nops
50594 after bl when SHARED. Reduce cfi size a little by better
50595 placement of cfi directives.
50596 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50597 make a stack frame. Instead use parm save area as a temp.
50598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50599 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50601 Don't make a stack frame for parent, use parm save area.
50602 Increase child stack frame to 112 bytes. Don't save unused reg,
50603 and adjust reg usage. Set up cfi on error recovery and
50604 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50606 (__makecontext): Add dummy nop after jump to exit.
50607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50608 Use correct parm save area and cr save, reduce stack frame.
50609 Correct cfi for possible PSEUDO_RET frame setup.
50610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50611 Branch to local label emitted by PSEUDO_RET rather than
50612 __syscall_error.
50613
02637374
AS
506142010-08-12 Andreas Schwab <schwab@redhat.com>
50615
50616 [BZ #11904]
50617 * locale/programs/locale.c (print_assignment): New function.
50618 (show_locale_vars): Use it.
50619
c3e2f19b
UD
506202010-08-11 Ulrich Drepper <drepper@redhat.com>
50621
3cdaa6ad
UD
50622 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50623 field.
50624 (struct statfs64): Likewise.
50625 (_STATFS_F_FLAGS): Define.
50626 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50627 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50628 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50629 (ST_VALID): Define locally.
50630 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50631 __statvfs_getflags, use the provided value.
50632 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50633 __ASSUME_STATFS_F_FLAGS.
50634
754f7da3
UD
50635 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50636
10b3bedc
UD
50637 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50638 Add sys/fanotify.h.
50639 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50640 fanotify_mask for GLIBC_2.13.
50641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50642 fanotify_init and fanotify_mark.
50643 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50644 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50645
c08fb0d7
UD
50646 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50647 Add prlimit.
50648 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50649 prlimit64 for GLIBC_2.13.
50650 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50651 prlimit64.
50652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50653 syscall.
50654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50655 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50656 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50657 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50658 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50659 add prlimit alias.
50660 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50661
15bac72b
UD
50662 [BZ #11903]
50663 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50664 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50665
c3e2f19b
UD
50666 * nss/Makefile: Add rules to build and run tst-nss-test1.
50667 * shlib-versions: Add entry for libnss_test1.
50668 * nss/nss_test1.c: New file.
50669 * nss/tst-nss-test1.c: New file.
50670
50671 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50672 (__nss_configure_lookup): Set appropriate entry in
50673 __nss_configure_lookup to true.
50674 * nss/nsswitch.h: Define enum with indeces of databases in
50675 databases and __nss_database_custom arrays. Declare
50676 __nss_database_custom.
50677 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50678 to avoid using nscd when custom rules are installed.
50679 * nss/getXXbyYY_r.c: Likewise.
50680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50681
50682 * nss/nss_files/files-parse.c: Whitespace fixes.
50683
f15ce4d8
UD
506842010-08-09 Ulrich Drepper <drepper@redhat.com>
50685
50686 [BZ #11883]
50687 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50688 * posix/fnmatch_loop.c: Likewise.
50689
d22e4cc9
AK
506902010-07-17 Andi Kleen <ak@linux.intel.com>
50691
50692 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50693 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50694 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50695 * Versions.def [GLIBC_2.13]: Add.
50696
805bc17d
UD
506972010-08-06 Ulrich Drepper <drepper@redhat.com>
50698
50699 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50700 Also fail if tpwd after pwuid call is NULL.
50701
5a42321d
ST
507022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50703
50704 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50705 when converting to ms.
50706
fd3ebeda
ST
507072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50708
50709 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50710 EOPNOTSUPP errors with ENOTTY.
50711 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50712 EOPNOTSUPP errors with ENOTTY.
50713
73507d3a
UD
507142010-07-31 Ulrich Drepper <drepper@redhat.com>
50715
50716 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50717 Add strcasecmp_l-ssse3.
50718 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50719 strcasecmp.
50720 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50721 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50722 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50723
fe36dd02
UD
507242010-07-30 Ulrich Drepper <drepper@redhat.com>
50725
66f6765a
UD
50726 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50727
42e08a54
UD
50728 * string/Makefile (strop-tests): Add strcasecmp.
50729 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50730 strcasecmp_l-nonascii.
50731 (gen-as-const-headers): Add locale-defines.sym.
50732 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50733 * sysdeps/x86_64/strcasecmp.S: New file.
50734 * sysdeps/x86_64/strcasecmp_l.S: New file.
50735 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50736 * sysdeps/x86_64/locale-defines.sym: New file.
50737 * string/test-strcasecmp.c: New file.
50738
fe36dd02
UD
50739 * string/test-strcasestr.c: Test both ends of the range of characters.
50740 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50741
48cbc0d6
RM
507422010-07-29 Roland McGrath <roland@redhat.com>
50743
76e6d6bc 50744 [BZ #11856]
48cbc0d6
RM
50745 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50746
880113d9
UD
507472010-07-27 Ulrich Drepper <drepper@redhat.com>
50748
50749 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50750 for ld.so.
50751
deb9cabb
AS
507522010-07-27 Andreas Schwab <schwab@redhat.com>
50753
50754 * manual/memory.texi (Malloc Tunable Parameters): Document
50755 M_PERTURB.
50756
1c7570ff
RM
507572010-07-26 Roland McGrath <roland@redhat.com>
50758
50759 [BZ #11840]
50760 * configure.in (-fgnu89-inline check): Set and substitute
50761 gnu89_inline, not libc_cv_gnu89_inline.
50762 * configure: Regenerated.
50763 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50764
24fb0f88
UD
507652010-07-26 Ulrich Drepper <drepper@redhat.com>
50766
50767 * string/test-strnlen.c: New file.
50768 * string/Makefile (strop-tests): Add strnlen.
50769 * string/tester.c (test_strnlen): Add a few more test cases.
50770 * string/tst-strlen.c: Better error reporting.
50771
50772 * sysdeps/x86_64/strnlen.S: New file.
50773
8e96b93a
UD
507742010-07-24 Ulrich Drepper <drepper@redhat.com>
50775
50776 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50777 lower-latency instructions.
50778
dbc676d4
UD
507792010-07-23 Ulrich Drepper <drepper@redhat.com>
50780
50781 * string/test-strcasestr.c: New file.
50782 * string/test-strstr.c: New file.
50783 * string/Makefile (strop-tests): Add strstr and strcasestr.
50784 * string/str-two-way.h: Don't undefine MAX.
50785 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50786
f6a31e0e
AS
507872010-07-21 Andreas Schwab <schwab@redhat.com>
50788
50789 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50790 strcasestr-nonascii.
50791 (CFLAGS-strcasestr-nonascii.c): Define.
50792 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50794 Remove unused attribute.
50795
5dbc3b6c
RM
507962010-07-20 Roland McGrath <roland@redhat.com>
50797
50798 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50799 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50800 ld.so.cache was broken. With it, there is no way to disable dsocaps
50801 like LD_HWCAP_MASK can disable hwcaps.
50802
23d101d8
EPM
508032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50804
50805 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50806
cc9f2e47
UD
508072010-07-16 Ulrich Drepper <drepper@redhat.com>
50808
50809 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50810 call in strcasestr.
50811 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50812 __strcasestr_sse42_nonascii.
50813 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50814 strcasestr-nonascii.c.
50815 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50816
77c1b069
LM
508172010-06-15 Luis Machado <luisgpm@br.ibm.com>
50818
50819 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50820 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50821 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50822 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50823
440566c3
UD
508242010-07-09 Ulrich Drepper <drepper@redhat.com>
50825
50826 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50827 fcntl.
50828
5be9d05d
AS
508292010-07-06 Andreas Schwab <schwab@redhat.com>
50830
c30b7ee2 50831 [BZ #11577]
5be9d05d
AS
50832 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50833 dl_signal_cerror.
50834
8a492a67
UD
508352010-07-06 Ulrich Drepper <drepper@redhat.com>
50836
50837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50838 _PC_PIPE_BUF using F_GETPIPE_SZ.
50839
713df3d5
RM
508402010-07-05 Roland McGrath <roland@redhat.com>
50841
50842 * manual/arith.texi (Rounding Functions): Fix rint description
50843 implicit in round description.
50844
702e8f14
UD
508452010-07-02 Ulrich Drepper <drepper@redhat.com>
50846
50847 * elf/Makefile: Fix linking for a few tests to make recent linker
50848 happy.
50849
52ed8be9
AS
508502010-06-30 Andreas Schwab <schwab@redhat.com>
50851
50852 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50853 $(common-objpfx)libc_nonshared.a.
50854
f47c9a11
LM
508552010-06-21 Luis Machado <luisgpm@br.ibm.com>
50856
50857 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50858 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50859 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50860 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50861 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50862 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50863 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50864 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50879 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50880 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50881 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50882 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50883 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50884 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50885 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50886 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50887 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50888 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50889 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50890 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50905
6fb8cbcb
L
509062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50907
50908 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50909 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50910 * string/memmove.c (memmove): Renamed to ...
50911 (MEMMOVE): ...this. Default to memmove.
50912 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50913 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50914 (END_CHK): Define.
50915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50916 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50917 mempcpy-ssse3-back memmove-ssse3-back.
50918 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50919 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50921 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50922 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50923 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50924 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50925 * sysdeps/x86_64/multiarch/memmove.c: New file.
50926 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50927 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50928 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50929 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50930 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50931 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50932 Define.
50933 (index_Fast_Copy_Backward): Define.
50934 (HAS_ARCH_FEATURE): Define.
50935 (HAS_FAST_REP_STRING): Define.
50936 (HAS_FAST_COPY_BACKWARD): Define.
50937
4e733bac 509382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
50939
50940 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50941 Restore proper fallback handling.
50942
63c4ed22
UD
509432010-06-19 Ulrich Drepper <drepper@redhat.com>
50944
ac2b484c
UD
50945 [BZ #11701]
50946 * posix/group_member.c (__group_member): Correct checking loop.
50947
63c4ed22
UD
50948 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50949 OOM in getpwuid_r correctly. Return error number when the caller
50950 should return, otherwise -1.
50951 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50952 call returning > 0 value.
50953 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50954
765ade4b
AS
509552010-06-07 Andreas Schwab <schwab@redhat.com>
50956
50957 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50958 libc_nonshared.a from targets in modules-names.
50959
80da2e09
KS
509602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50961
50962 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50963 requires it.
50964
158db122
LM
509652010-06-10 Luis Machado <luisgpm@br.ibm.com>
50966
50967 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50968 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50971
caa78cf8
AS
509722010-06-02 Andreas Schwab <schwab@redhat.com>
50973
50974 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50975
b2ef2c01
UD
509762010-06-14 Ulrich Drepper <drepper@redhat.com>
50977
50978 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50979 and F_GETPIPE_SZ.
50980 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50984 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50985 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50986
fbd643b6
RM
509872010-06-14 Roland McGrath <roland@redhat.com>
50988
50989 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50990
f32f2869
JJ
509912010-06-07 Jakub Jelinek <jakub@redhat.com>
50992
50993 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50994 __REDIRECT followed by __THROW.
50995 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50996 * posix/getopt.h (getopt): Likewise.
50997
2a50c078
EPM
509982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50999
51000 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51001 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51002 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51003 in AT_FLAGS.
51004 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51005 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51006
eb5ad2eb
LM
510072010-05-28 Luis Machado <luisgpm@br.ibm.com>
51008
51009 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51010
3c88fe1e
L
510112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51012
51013 [BZ #11640]
51014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51015 Properly check family and model.
51016
d2f73151
TY
510172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51018
51019 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51020
ebd2e13d
LM
510212010-05-24 Luis Machado <luisgpm@br.ibm.com>
51022
51023 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51024
b32b8b45
UD
510252010-05-21 Ulrich Drepper <drepper@redhat.com>
51026
51027 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51028 symbol reference.
51029
9acbe24d
AS
510302010-05-19 Andreas Schwab <schwab@redhat.com>
51031
51032 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51033 symbol reference.
51034
f0ccf6ea
AS
510352010-05-21 Andreas Schwab <schwab@redhat.com>
51036
3d04ff3a
AS
51037 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51038 and internal_recvmmsg.
51039 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51040 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51041 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51042 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51043
f0ccf6ea
AS
51044 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51045 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51046 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51047
5b08ac57
AS
510482010-05-20 Andreas Schwab <schwab@redhat.com>
51049
51050 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51051
4828935d
LM
510522010-05-17 Luis Machado <luisgpm@br.ibm.com>
51053
51054 POWER7 optimizations.
51055 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51056 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51057
373d545e
UD
510582010-05-19 Ulrich Drepper <drepper@redhat.com>
51059
51060 * version.h: Update for 2.13 development version.
51061
21a2b1ae
AS
510622010-05-12 Andrew Stubbs <ams@codesourcery.com>
51063
51064 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51065 exceptions. Return 0.
51066
3f7dcb2b
RM
510672010-05-07 Roland McGrath <roland@redhat.com>
51068
51069 * elf/ldconfig.c (main): Add a const.
51070
5f24d53a 510712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51072
a160f8d8
UD
51073 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51074 (args_options): Add no-idn option.
51075 (ahosts_keys_int): Add idn_flags to ai_flags.
51076 (parse_option): Handle 'i' option to clear idn_flags.
51077
5f24d53a
UD
51078 * malloc/malloc.c (_int_free): Possible race in the most recently
51079 added check. Only act on the data if no current modification
51080 happened.
265bb1ce
UD
51081
51082See ChangeLog.17 for earlier changes.