1 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5 as weak alias of __getttynam. Use prototype function definition.
6 Call __setttyent, __getttyent and __endttyent instead of
7 setttyent, getttyent and endttyent.
8 (getttyent): Rename to __getttyent and define as weak alias of
9 __getttyent. Call __setttyent instead of setttyent. Call
10 __fgets_unlocked instead of fgets_unlocked.
11 (setttyent): Rename to __setttyent and define as weak alias of
13 (endttyent): Rename to __endttyent and define as weak alias of
15 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
16 (__setttyent): Likewise.
17 (__endttyent): Likewise.
18 (getttyent): Don't use libc_hidden_proto.
19 (setttyent): Likewise.
20 (endttyent): Likewise.
21 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22 __endttyent instead of setttyent, getttyent and endttyent.
23 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27 * socket/recv.c (__recv): Use libc_hidden_def.
28 * socket/socket.c (__socket): Likewise.
29 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
30 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
31 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
33 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
37 * include/sys/socket.h (__socket): Do not use attribute_hidden.
38 Use libc_hidden_proto.
40 * socket/Versions (libc): Export __recv and __socket at version
42 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
44 (init_mq_netlink): Call __socket instead of socket.
45 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
49 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
50 __mq_timedreceive and define as alias of __mq_timedreceive. Use
52 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
53 define as alias of __mq_timedsend. Use hidden_weak.
54 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
55 __mq_timedsend as strong name.
56 (mq_timedreceive): Use __mq_timedreceive as strong name.
57 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
58 (__mq_timedreceive): Likewise.
59 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
60 __mq_timedreceive instead of mq_timedreceive.
61 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
62 instead of mq_timedsend.
63 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
66 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
67 hidden_def and hidden_weak instead of libc_hidden_def and
69 (top level): Refer to hidden_def in comment.
70 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
71 macro. Use it instead of libc_hidden_def.
72 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
73 specify __GI_* name explicitly.
74 (mq_timedreceive): Likewise.
75 (mq_setattr): Likewise.
78 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
79 __pthread_barrier_init and define as weak alias of
80 __pthread_barrier_init.
81 * sysdeps/sparc/nptl/pthread_barrier_init.c
82 (pthread_barrier_init): Likewise.
83 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
84 __pthread_barrier_wait and define as weak alias of
85 __pthread_barrier_wait.
86 * sysdeps/sparc/nptl/pthread_barrier_wait.c
87 (pthread_barrier_wait): Likewise.
88 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
89 (pthread_barrier_wait): Likewise.
90 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
91 (pthread_barrier_wait): Likewise.
92 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
93 (pthread_barrier_wait): Likewise.
94 * nptl/Versions (libpthread): Export __pthread_barrier_init and
95 __pthread_barrier_wait at version GLIBC_PRIVATE.
96 * include/pthread.h (__pthread_barrier_init): Declare.
97 (__pthread_barrier_wait): Likewise.
98 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
99 Call __pthread_barrier_wait instead of pthread_barrier_wait.
100 (helper_thread): Likewise.
101 (init_mq_netlink): Call __pthread_barrier_init instead of
102 pthread_barrier_init.
105 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
106 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
107 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
108 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
110 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
114 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
115 strong alias of _IO_fflush. Use libc_hidden_def.
116 * libio/iofflush_u.c (fflush_unlocked): Rename to
117 __fflush_unlocked and define as weak alias of __fflush_unlocked.
118 Use libc_hidden_weak.
119 * include/stdio.h (__fflush_unlocked): Declare. Use
121 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
123 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
127 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
128 define as weak alias of __addseverity.
129 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
131 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
132 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
133 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
136 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
138 (__tdelete): Likewise.
140 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
141 __twalk to GLIBC_PRIVATE.
142 * include/search.h (__tsearch): Use libc_hidden_proto.
144 (__tdelete): Likewise.
146 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
147 Call __tdelete instead of tdelete.
148 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
149 tfind. Call __tsearch instead of tsearch.
150 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
151 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
153 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
156 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
157 (dprintf): Define as a weak alias of __dprintf, not a strong
159 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
160 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
162 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
164 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
165 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
168 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
170 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
174 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
175 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
176 (in6addr_loopback): Rename to __in6addr_loopback and define as
177 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
178 * include/netinet/in.h (__in6addr_loopback): Declare. Use
180 (__in6addr_any): Likewise.
181 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
183 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
185 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
187 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
189 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
190 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
191 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
192 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
193 redirections for pow.
194 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
195 * sysdeps/x86_64/fpu/Versions: New versions added.
196 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
197 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
198 build of SSE, AVX2 and AVX512 IFUNC versions.
199 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
200 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
201 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
202 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
203 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
204 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
205 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
206 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
207 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
208 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
209 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
210 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
211 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
212 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
213 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
214 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
215 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
216 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
217 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
218 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
219 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
220 * NEWS: Mention addition of x86_64 vector pow.
222 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
223 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
224 redirections for expf.
225 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
226 * sysdeps/x86_64/fpu/Versions: New versions added.
227 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
228 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
229 build of SSE, AVX2 and AVX512 IFUNC versions.
230 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
231 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
232 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
233 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
234 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
235 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
236 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
237 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
238 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
239 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
240 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
241 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
242 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
243 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
244 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
245 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
246 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
247 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
248 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
249 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
250 * NEWS: Mention addition of x86_64 vector expf.
252 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
253 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
254 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
255 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
256 redirections for exp.
257 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
258 * sysdeps/x86_64/fpu/Versions: New versions added.
259 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
260 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
261 build of SSE, AVX2 and AVX512 IFUNC versions.
262 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
263 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
264 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
265 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
266 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
267 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
268 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
269 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
270 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
271 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
272 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
273 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
274 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
275 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
276 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
277 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
278 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
279 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
280 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
281 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
282 * NEWS: Mention addition of x86_64 vector exp.
284 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
285 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
286 redirections for logf.
287 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
288 * sysdeps/x86_64/fpu/Versions: New versions added.
289 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
290 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
291 build of SSE, AVX2 and AVX512 IFUNC versions.
292 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
293 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
294 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
295 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
296 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
297 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
298 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
299 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
300 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
301 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
302 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
303 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
304 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
305 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
306 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
307 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
308 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
309 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
310 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
311 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
312 * NEWS: Mention addition of x86_64 vector logf.
314 * bits/libm-simd-decl-stubs.h: Added stubs for log.
315 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
316 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
317 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
318 redirections for log.
319 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
320 * sysdeps/x86_64/fpu/Versions: New versions added.
321 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
322 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
323 build of SSE, AVX2 and AVX512 IFUNC versions.
324 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
325 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
326 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
327 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
328 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
329 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
330 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
331 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
332 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
333 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
334 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
335 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
336 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
337 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
338 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
339 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
340 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
341 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
342 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
343 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
344 * NEWS: Mention addition of x86_64 vector log.
346 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
348 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
349 cfi_adjust_cfa_offset argument.
350 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
351 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
354 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
355 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
356 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
358 (_dl_tlsdesc_dynamic): Likewise.
359 (_dl_tlsdesc_return_lazy): Likewise.
360 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
361 relaxed atomics instead of volatile and synchronize with release store.
362 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
364 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
366 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
368 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
369 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
370 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
371 * sysdeps/x86_64/fpu/Versions: New versions added.
372 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
373 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
374 build of SSE, AVX2 and AVX512 IFUNC versions.
375 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
376 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
377 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
378 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
379 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
380 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
381 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
382 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
383 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
384 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
385 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
386 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
387 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
388 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
389 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
390 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
391 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
392 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
393 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
394 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
395 * NEWS: Mention addition of x86_64 vector sinf.
397 2015-06-14 Joseph Myers <joseph@codesourcery.com>
399 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
400 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
401 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
403 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
404 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
406 2015-06-12 Joseph Myers <joseph@codesourcery.com>
409 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
410 strong alias of _IO_fputs. Use libc_hidden_def.
411 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
412 and define as weak alias of __fputs_unlocked. Use
414 * include/stdio.h (__fputs_unlocked): Declare. Use
416 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
420 * resolv/netdb.h [__USE_POSIX]: Change condition to
422 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
424 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
425 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
426 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
427 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
428 [XPG4 || UNIX98] (AI_ALL): Likewise.
429 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
430 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
431 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
432 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
433 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
434 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
435 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
436 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
437 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
438 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
439 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
440 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
441 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
442 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
443 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
444 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
445 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
446 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
447 [XPG4 || UNIX98] (gai_strerror): Likewise.
448 [XPG4 || UNIX98] (getaddrinfo): Likewise.
449 [XPG4 || UNIX98] (getnameinfo): Likewise.
452 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
453 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
455 (getgrent): Likewise.
456 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
458 [XPG3 || POSIX2008] (endgrent): Likewise.
459 [XPG3] (setgrent): Likewise.
460 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
462 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
465 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
466 define as weak alias of __getlogin_r. Use libc_hidden_weak.
467 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
468 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
469 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
470 * include/unistd.h (__getlogin_r): Declare. Use
472 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
473 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
475 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
476 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
477 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
479 2015-06-12 Martin Sebor <msebor@redhat.com>
482 * Makerules (check-install-supported): New target.
483 (install): Add check-install-supported as a dependency.
484 * manual/install.texi (Installing the C Library): Document
485 that overriding prefix and exec_prefix is not supported.
487 * INSTALL: Regenerate from the above.
489 2015-06-12 Joseph Myers <joseph@codesourcery.com>
492 * posix/Versions (libc): Export __libc_pread at version
494 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
496 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
501 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
502 (cvt_symbol): Use weak_alias instead of strong_alias.
503 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
504 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
506 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
507 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
510 * inet/herrno.c (h_errno): Rename to __h_errno.
511 (__libc_h_errno): Define as alias of __h_errno not h_errno.
512 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
513 to __h_errno instead of h_errno.
514 * nptl/herrno.c (h_errno): Rename to __h_errno.
515 (__h_errno_location): Refer to __h_errno not h_errno.
516 * resolv/Versions (h_errno): Rename to __h_errno.
517 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
519 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
521 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
523 * configure.ac: More strict check for AVX512 assembler support.
524 * configure: Regenerated.
526 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
527 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
528 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
529 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
530 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
531 * sysdeps/x86_64/fpu/Versions: New versions added.
532 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
533 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
534 build of SSE, AVX2 and AVX512 IFUNC versions.
535 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
536 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
537 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
538 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
539 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
540 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
541 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
542 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
543 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
544 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
545 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
546 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
547 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
548 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
549 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
550 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
551 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
552 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
553 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
554 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
555 * NEWS: Mention addition of x86_64 vector sin.
557 2015-06-11 Florian Weimer <fweimer@redhat.com>
559 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
562 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
565 * nptl/pt-interp.c: New file.
566 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
568 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
569 $(common-objpfx)runtime-linker.h.
571 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
573 * Makeconfig (+interp): Remove unused variable.
574 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
575 only. Depend on $(common-objpfx)runtime-linker.h instead of
576 $(elf-objpfx)runtime-linker.h.
577 ($(elf-objpfx)runtime-linker.h): Rename to
578 $(common-objpfx)runtime-linker.h and move ...
579 * Makerules [$(build-shared) = yes]: ... here.
580 * elf/interp.c: Include <runtime-linker.h> instead of
581 <elf/runtime-linker.h>.
583 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
585 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
586 (__gettimeofday_syscall): Remove vsyscall fallback.
587 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
588 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
589 Add syscall fallback function.
590 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
591 if vDSO is not present.
592 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
594 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
596 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
597 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
599 2015-06-09 Joseph Myers <joseph@codesourcery.com>
602 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
604 (wcscmp): Define as weak alias of WCSCMP.
605 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
607 (USE_HIDDEN_DEF): Define.
608 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
609 __wcscoll. Don't use libc_hidden_weak.
610 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
612 * sysdeps/i386/i686/multiarch/wcscmp-c.c
613 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
615 (weak_alias): Undefine and redefine.
616 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
617 __wcscmp and define as weak alias of __wcscmp.
618 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
619 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
620 (__wcscoll): Likewise.
621 (wcscmp): Don't use libc_hidden_proto.
623 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
625 * posix/regexec.c (check_node_accept_bytes): Likewise.
626 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
628 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
629 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
632 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
633 __fstatvfs and define as weak alias of __fstatvfs. Use
635 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
636 and define as weak alias of __statvfs. Use libc_hidden_weak.
637 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
638 Define as alias of __fstatvfs, not fstatvfs.
639 (fstatvfs64): Likewise.
640 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
641 Define as alias of __statvfs, not statvfs.
642 (statvfs64): Likewise.
643 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
646 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
649 (HAVE_GETCPU_VSYSCALL): Define.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
651 (HAVE_GETCPU_VSYSCALL): Likewise.
652 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
653 * sysdeps/unix/sysv/linux/sched_getcpu.c
654 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
655 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
656 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
658 * sysdeps/unix/sysv/linux/x86_64/init-first.c
659 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
660 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
663 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
664 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
665 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
666 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
668 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
670 * sysdeps/x86_64/fpu/Makefile: New file.
671 * sysdeps/x86_64/fpu/Versions: New file.
672 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
673 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
674 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
675 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
676 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
677 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
678 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
679 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
680 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
681 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
682 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
683 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
684 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
685 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
686 build of SSE, AVX2 and AVX512 IFUNC versions.
687 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
688 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
689 * sysdeps/x86_64/configure.ac: Options for libmvec build.
690 * sysdeps/x86_64/configure: Regenerated.
691 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
692 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
693 * manual/install.texi (Configuring and compiling): Document
695 * INSTALL: Regenerated.
696 * NEWS: Mention addition of libmvec and x86_64 vector cos.
698 * math/Makefile: Added rules for vector tests.
699 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
700 declaration under condition.
701 * math/test-double-vlen2.h: New file.
702 * math/test-double-vlen4.h: New file.
703 * math/test-double-vlen8.h: New file.
704 * math/test-vec-loop.h: Added initialization macro.
705 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
706 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
707 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
708 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
709 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
710 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
711 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
712 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
713 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
714 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
715 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
717 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
718 * sysdeps/x86_64/fpu/Versions: New versions added.
719 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
720 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
721 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
722 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
723 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
724 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
725 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
726 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
727 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
728 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
729 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
730 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
731 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
732 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
733 build of SSE, AVX2 and AVX512 IFUNC versions.
734 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
735 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
736 * NEWS: Mention addition of x86_64 vector cosf.
738 * math/Makefile: Added CFLAGS for new tests.
739 * math/test-float-vlen16.h: New file.
740 * math/test-float-vlen4.h: New file.
741 * math/test-float-vlen8.h: New file.
742 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
743 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
744 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
745 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
746 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
747 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
748 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
749 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
750 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
751 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
752 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
754 2015-06-09 Marko Myllynen <myllynen@redhat.com>
756 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
757 * locale/programs/ld-ctype.c: Likewise.
759 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
761 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
762 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
763 bit_ZMM16_31_state): New macro.
764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
765 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
767 2015-06-08 Joseph Myers <joseph@codesourcery.com>
769 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
771 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
773 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
775 2015-06-05 Joseph Myers <joseph@codesourcery.com>
778 * libio/memstream.c (open_memstream): Rename to __open_memstream
779 and define as weak alias of __open_memstream.
780 * include/stdio.h (__open_memstream): Declare. Use
782 (open_memstream): Don't use libc_hidden_proto.
783 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
785 * posix/getopt.c (_getopt_internal_r): Likewise.
786 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
788 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
789 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
790 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
793 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
797 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
798 [__USE_XOPEN2K8]. Remove redundant #endif.
799 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
800 Remove redundant #if.
801 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
803 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
804 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
807 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
808 (__iswlower): Likewise.
809 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
810 (__iswlower): Likewise.
811 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
813 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
814 instead of iswlower. Call __towupper instead of towupper.
815 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
818 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
820 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
823 2015-06-05 Florian Weimer <fweimer@redhat.com>
827 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
828 Check for overflow properly. Check for O_APPEND. Ignore large
829 file system block sizes. Add comments about problems.
830 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
831 * manual/filesys.texi (Storage Allocation): New node.
833 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
835 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
836 cancellable syscalls.
837 (SYS_ify): Add guard to no redefine it.
838 (INLINE_SYSCALL): Likewise.
839 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
840 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
841 SYSCALL_CANCEL instead.
842 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
843 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
844 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
845 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
846 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
847 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
848 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
849 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
850 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
851 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
852 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
853 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
854 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
855 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
856 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
857 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
859 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
860 (__libc_pread64): Likewise.
861 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
862 (__libc_preadv): Likewise.
863 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
864 (__libc_readv64): Likewise.
865 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
866 (__libc_pwrite): Likewise.
867 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
868 (__libc_pwrite64): Likewise.
869 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
870 (__libc_pwritev): Likewise.
871 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
872 (__libc_pwritev64): Likewise.
873 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
874 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
875 (sync_file_range): Likewise.
876 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
878 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
880 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
881 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
882 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
883 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
884 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
885 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
886 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
887 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
891 (__libc_read64): Likewise.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
901 (__libc_pread64): Likewise.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
905 (__libc_pwrite64): Likewise.
906 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
907 (sync_file_range): Likewise.
908 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
909 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
910 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
911 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
912 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
913 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
914 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
915 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
916 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
917 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
918 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
919 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
920 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
921 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
922 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
923 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
924 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
925 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
926 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
928 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
930 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
931 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
933 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
934 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
935 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
936 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
938 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
939 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
940 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
941 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
942 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
944 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
946 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
948 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
949 Use VDSO routines for gettimeofday, clock_gettime if
951 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
952 Declare VDSO symbols.
953 * sysdeps/unix/sysv/linux/arm/sysdep.h:
954 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
955 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
956 * sysdeps/unix/sysv/linux/arm/Versions: Add
957 __vdso_clock_gettime.
959 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
961 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
962 be an inline implementation regardless of library is built within.
963 (open_not_cancel_2): Likewise.
964 (__read_nocancel): Likewise.
965 (__write_nocancel): Likewise.
966 (openat_not_cancel): Likewise.
967 (openat_not_cancel_3): Likewise.
968 (openat64_not_cancel): Likewise.
969 (openat64_not_cancel_3): Likewise.
970 (__close_nocancel): Likewise.
971 (pause_not_cancel): Likewise.
972 (nanosleep_not_cancel): Likewise.
973 (sigsuspend_not_cancel): Likewise.
975 2015-06-04 Torvald Riegel <triegel@redhat.com>
978 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
980 (__pthread_rwlock_rdlock_slow): Likewise.
981 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
983 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
985 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
986 * nptl/tst-rwlock16.c: New file.
987 * nptl/Makefile (tests): Add new test.
989 2015-06-04 Torvald Riegel <triegel@redhat.com>
992 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
993 missing wake-up of readers.
994 * nptl/tst-rwlock15.c: New file.
995 * nptl/Makefile (tests): Add new test.
997 2015-06-03 Roland McGrath <roland@hack.frob.com>
999 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1000 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1001 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1002 and __nacl_supply_interface_rtld.
1003 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1004 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1005 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1006 Add __nacl_supply_interface_rtld.
1007 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1009 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1011 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1013 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1014 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1016 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1018 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1019 __signbit* with standard C99 macros.
1020 * math/e_exp10l.c: Likewise.
1021 * math/e_exp2l.c: Likewise.
1022 * math/e_scalb.c: Likewise.
1023 * math/e_scalbf.c: Likewise.
1024 * math/e_scalbl.c: Likewise.
1025 * math/s_ldexp.c: Likewise.
1026 * math/s_ldexpf.c: Likewise.
1027 * math/s_ldexpl.c: Likewise.
1028 * math/w_atan2.c: Likewise.
1029 * math/w_atan2f.c: Likewise.
1030 * math/w_atan2l.c: Likewise.
1031 * math/w_cosh.c: Likewise.
1032 * math/w_coshf.c: Likewise.
1033 * math/w_coshl.c: Likewise.
1034 * math/w_exp10.c: Likewise.
1035 * math/w_exp10f.c: Likewise.
1036 * math/w_exp10l.c: Likewise.
1037 * math/w_exp2.c: Likewise.
1038 * math/w_exp2f.c: Likewise.
1039 * math/w_exp2l.c: Likewise.
1040 * math/w_fmod.c: Likewise.
1041 * math/w_fmodf.c: Likewise.
1042 * math/w_fmodl.c: Likewise.
1043 * math/w_hypot.c: Likewise.
1044 * math/w_hypotf.c: Likewise.
1045 * math/w_hypotl.c: Likewise.
1046 * math/w_jnl.c: Likewise.
1047 * math/w_lgamma.c: Likewise.
1048 * math/w_lgamma_r.c: Likewise.
1049 * math/w_lgammaf.c: Likewise.
1050 * math/w_lgammaf_r.c: Likewise.
1051 * math/w_lgammal.c: Likewise.
1052 * math/w_lgammal_r.c: Likewise.
1053 * math/w_pow.c: Likewise.
1054 * math/w_powf.c: Likewise.
1055 * math/w_powl.c: Likewise.
1056 * math/w_remainder.c: Likewise.
1057 * math/w_remainderf.c: Likewise.
1058 * math/w_remainderl.c: Likewise.
1059 * math/w_scalb.c: Likewise.
1060 * math/w_scalbf.c: Likewise.
1061 * math/w_scalbl.c: Likewise.
1062 * math/w_scalbln.c: Likewise.
1063 * math/w_scalblnf.c: Likewise.
1064 * math/w_scalblnl.c: Likewise.
1065 * math/w_sinh.c: Likewise.
1066 * math/w_sinhf.c: Likewise.
1067 * math/w_sinhl.c: Likewise.
1068 * math/w_tgamma.c: Likewise.
1069 * math/w_tgammaf.c: Likewise.
1070 * math/w_tgammal.c: Likewise.
1071 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1072 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1073 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1074 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1075 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1076 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1077 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1078 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1079 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1080 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1081 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1082 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1084 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1085 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1086 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1087 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1088 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1089 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1091 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1092 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1093 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1094 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1095 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1096 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1097 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1098 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1099 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1100 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1101 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1102 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1103 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1104 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1105 * stdio-common/printf_fp.c: Likewise.
1106 * stdio-common/printf_fphex.c: Likewise.
1107 * stdio-common/printf_size.c: Likewise.
1109 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1112 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1114 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1116 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1117 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1118 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1119 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1120 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1121 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1122 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1123 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1124 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1125 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1128 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1129 weak alias of __wmemchr. Use libc_hidden_weak.
1130 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1131 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1134 2015-06-02 Roland McGrath <roland@hack.frob.com>
1137 * elf/tst-tlsalign-extern.c: New file.
1138 * elf/tst-tlsalign-extern-static.c: New file.
1139 * elf/tst-tlsalign-vars.c: New file.
1140 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1141 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1142 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1143 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1144 (test-xfail-tst-tlsalign-extern-static): New variable.
1146 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1149 Use variable name _sc_err instead of err.
1150 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1152 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1153 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1154 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1155 (INLINE_SYSCALL): Likewise.
1157 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1158 * include/string.h (__strnlen): Use libc_hidden_proto.
1159 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1160 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1161 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1162 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1163 (libc_hidden_def): Undefine and redefine.
1164 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1165 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1167 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1169 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1172 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1173 weak alias of __towlower. Use libc_hidden_weak.
1174 (towupper): Rename to __towupper and define as weak alias of
1175 __towupper. Use libc_hidden_weak.
1176 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1177 (__towupper): Likewise.
1178 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1179 __towlower instead of towlower.
1181 2015-06-02 Roland McGrath <roland@hack.frob.com>
1183 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1184 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1186 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1188 * sysdeps/aarch64/libm-test-ulps: Update.
1190 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1192 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1194 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1196 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1197 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1198 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1199 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1200 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1202 2015-06-01 Martin Sebor <msebor@redhat.com>
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1206 (__setcontext): Use extended four-operand version of mtsf whenever
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1209 (__novec_swapcontext): Likewise.
1211 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1213 * benchtests/scripts/compare_bench.py: New file.
1214 * benchtests/scripts/import_bench.py (mean): New function.
1215 (split_list): Likewise.
1216 (do_for_all_timings): Likewise.
1217 (compress_timings): Likewise.
1219 * benchtests/scripts/import_bench.py: New file.
1220 * benchtests/scripts/validate_benchout.py: Import import_bench
1221 instead of jsonschema.
1222 (validate_bench): Remove function.
1223 (main): Use import_bench.
1225 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
1227 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1228 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1230 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1234 2015-05-28 Roland McGrath <roland@hack.frob.com>
1236 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1237 set THREAD_SELF->tid to a magic value and futex-wake it.
1238 Pass its address to the thread_exit system call.
1239 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1241 * sysdeps/nacl/lowlevellock.h: New file.
1242 * sysdeps/nacl/lll_timedwait_tid.c: New file.
1244 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1245 Add TIMEOUT to current time, don't subtract it.
1247 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
1250 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1251 ($(objpfx)tst-audit2.out): Also depend on
1252 $(objpfx)tst-auditmod9b.so.
1253 * elf/tst-audit2.c: Include <dlfcn.h>.
1254 (calloc_called): New.
1255 (calloc): Allow to be called more than once.
1256 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1258 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
1260 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1261 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1263 2015-05-27 Marko Myllynen <myllynen@redhat.com>
1265 * stdlib/monetary.h: Fix comment.
1267 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
1269 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1270 Avoid using variables in #defines that might cause shadowing.
1271 (INTERNAL_VSYSCALL_CALL): Likewise.
1273 2015-05-26 Roland McGrath <roland@hack.frob.com>
1275 * sysdeps/nacl/lll_timedlock_wait.c: New file.
1277 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1278 * nptl/lll_timedlock_wait.c: ... to this new file.
1279 * nptl/Makefile (libpthread-routines): Add it.
1280 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1281 * nptl/lll_timedwait_tid.c: ... to this new file.
1282 * nptl/Makefile (libpthread-routines): Add it.
1283 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1284 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1285 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1286 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1287 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1288 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1289 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1290 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1291 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1292 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1294 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1296 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1297 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1298 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1299 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1300 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1302 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1304 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1305 * sysdeps/unix/sysv/linux/tile/sysdep.h
1306 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1307 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1308 using vDSO syscall macro.
1310 2015-05-26 Andriy Rysin <arysin@gmail.com>
1313 * uk_UA: Fix sorting order for Ukrainian locale
1315 2015-05-26 Marko Myllynen <myllynen@redhat.com>
1317 * stdlib/monetary.h: Fix comment.
1319 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1322 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1323 st_mtim and st_ctim members.
1324 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1325 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1326 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1327 (struct stat64): Likewise.
1328 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1329 (struct stat64): Likewise.
1330 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1331 (struct stat64): Likewise.
1333 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1335 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1336 Define and include sysdep-vdso.h.
1337 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1339 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1341 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1342 Define with VDSO_SYMBOL and use PTR_MANGLE.
1343 (__vdso_clock_gettime): Likewise.
1344 (__vdso_clock_getres): Likewise.
1345 (_libc_vdso_platform_setup): Likewise.
1346 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1348 (_libc_vdso_platform_setup): Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1351 (__vdso_clock_gettime): Likewise.
1352 (__vdso_clock_getres): Likewise.
1353 (__vdso_get_tbfreq): Likewise.
1354 (__vdso_getcpu): Likewise.
1355 (__vdso_time): Likewise.
1356 (__vdso_sigtramp_rt64): Likewise.
1357 (__vdso_signtramp32): Likewise.
1358 (__vdso_sigtramp_rt32): Likewise.
1359 (_libc_vdso_platform_setup): Likewise.
1360 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1362 (__vdso_clock_gettime): Likewise.
1363 (__vdso_clock_getres): Likewise.
1364 (_libc_vdso_platform_setup): Likewise.
1365 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1367 (__vdso_clock_gettime): Likewise.
1368 (_libc_vdso_platform_setup): Likewise.
1369 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1371 (__vdso_getcpu): Likewise.
1372 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1373 Use VDSO_SYMBOL macro to define.
1374 (__vdso_clock_gettime): Likewise.
1375 (__vdso_clock_getres): Likewise.
1376 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1378 (__vdso_clock_gettime): Likewise.
1379 (__vdso_clock_getres): Likewise.
1380 (__vdso_get_tbfreq): Likewise.
1381 (__vdso_getcpu): Likewise.
1382 (__vdso_time): Likewise.
1383 (__vdso_sigtramp_rt64): Likewise.
1384 (__vdso_signtramp32): Likewise.
1385 (__vdso_sigtramp_rt32): Likewise.
1386 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1388 (__vdso_clock_gettime): Likewise.
1389 (__vdso_clock_getres): Likewise.
1390 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1392 (__vdso_clock_gettime): Likewise.
1393 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1395 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
1397 (INTERNAL_VSYSCALL): Likewise.
1398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1400 (INTERNAL_VSYSCALL): Likewise.
1401 (INTERNAL_VSYSCALL_NCS): Likewise.
1402 (INTERNAL_VSYSCALL_CALL): New macro.
1403 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1404 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1406 (INTERNAL_VSYSCALL): Likewise.
1407 (INTERNAL_VSYSCALL_NCS): Likewise.
1408 (INTERNAL_VSYSCALL_CALL): New macro.
1409 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1411 (INLINE_VSYSCALL): Remove macro.
1412 (INTERNAL_VSYSCALL): Remove macro.
1413 (INTERNAL_VSYSCALL_NCS): Remove macro.
1414 (INTERNAL_VSYSCALL_CALL): New macro.
1415 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1416 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1417 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1418 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1419 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1421 (INLINE_VSYSCALL): Remove macro.
1422 (INTERNAL_VSYSCALL): Likewise.
1423 (INTERNAL_VSYSCALL_NCS): Likewise.
1424 (INTERNAL_VSYSCALL_CALL): New macro.
1425 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1426 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1427 PTR_DEMANGLE on vDSO pointer.
1428 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1429 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1431 (INTERNAL_SYSCALL): Likewise.
1432 (INTERNAL_VSYSCALL_NCS): Remove macro.
1433 (INTERNAL_VSYSCALL_CALL): New macro.
1434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1436 (INTERNAL_VSYSCALL): Likewise.
1437 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1438 sysdep-vdso.h instead of libc-vdso.h.
1439 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1441 (INLINE_VSYSCALL): Likewise.
1442 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1443 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1445 (INLINE_VSYSCALL): Likewise.
1446 (INTERNAL_VSYSCALL): Likewise.
1447 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1448 * sysdeps/unix/sysv/linux/timespec_get.c
1449 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1450 (timespec_get): Use ANSI prototype.
1451 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1452 and definition for Linux.
1454 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
1456 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1457 * include/libc-symbols.h: libmvec_hidden_* macro series added.
1459 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
1462 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1463 for missing DT_PLTRELSZ.
1465 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
1467 Remove obsolete aliases that broke 'locale -a'
1469 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1470 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1471 breaking some applications that use 'locale -a' output.
1472 Change the encoding of this file from Latin-1 to ASCII to avoid
1473 other potential problems with people grepping this file.
1475 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1477 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1478 -fasynchronous-unwind-tables.
1479 (CFLAGS-sendto.c): Likewise.
1480 (CFLAGS-sendmsg.c): Likewise.
1481 (CFLAGS-connect.c): Likewise.
1482 (CFLAGS-recvmsg.c): Likewise.
1483 (CFLAGS-recvfrom.c): Likewise.
1484 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1485 (SOCKETCALL): New macro: non-cancellable socketcall.
1486 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1487 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1488 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1489 * sysdeps/unix/sysv/linux/accept.c: New file.
1490 * sysdeps/unix/sysv/linux/bind.c: Likewise.
1491 * sysdeps/unix/sysv/linux/connect.c: Likewise.
1492 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1493 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1494 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1495 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1496 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1497 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1498 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1499 * sysdeps/unix/sysv/linux/send.c: Likewise.
1500 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1501 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1502 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1503 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1504 * sysdeps/unix/sysv/linux/socket.c: Likewise.
1505 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1506 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1508 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1509 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1510 instead of __internal_xxx function.
1511 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1513 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1514 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1515 instead of __internal_xxx function.
1516 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1518 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1519 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1520 instead of __internal_xxx function.
1521 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1522 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1523 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1524 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1525 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1526 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1527 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1528 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1529 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1530 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1531 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1532 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1533 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1534 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1535 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1536 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1537 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1538 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1539 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1540 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1543 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1544 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1545 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1546 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1547 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1548 * sysdeps/unix/sysv/linux/send.S: Likewise.
1549 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1550 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1551 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1552 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1553 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1554 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1555 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1556 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1557 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1558 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1559 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1560 socketcall is implemented in GLIBC.
1562 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1564 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1565 (__fma): Ignore uninitialized warnings around packing.
1566 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1567 (__fmaf): Ignore uninitialized warnings around packing.
1568 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1569 (__fmal): Ignore uninitialized warnings around packing.
1571 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1572 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1573 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1574 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1576 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1577 switch statement into default case.
1578 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1580 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1581 a conditional in forcing "inexact".
1582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1585 2015-05-22 Roland McGrath <roland@hack.frob.com>
1587 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1588 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1589 for each INTERNAL_SYSCALL use.
1591 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1594 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1595 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1599 * string/basename.c (basename): Rename to __basename and define as
1600 weak alias of __basename. Use libc_hidden_weak.
1601 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1602 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1603 __basename instead of basename.
1604 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1606 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1608 2015-05-18 Florian Weimer <fweimer@redhat.com>
1610 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1611 (_IO_JUMPS_FILE_plus): New.
1612 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1613 _IO_CAST_FIELD_ACCESS.
1614 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1615 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1616 * libio/freopen.c (freopen): Likewise.
1617 * libio/freopen64.c (freopen64): Likewise.
1618 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1619 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1620 * libio/iofwide.c (_IO_fwide): Likewise.
1621 * libio/memstream.c (open_memstream): Likewise.
1622 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1623 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1624 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1626 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1628 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1629 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1631 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1632 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1634 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1635 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1638 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1641 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1642 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1644 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1645 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1646 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1648 2015-05-21 Florian Weimer <fweimer@redhat.com>
1650 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1651 Adjust jump table label generation macros.
1653 2015-05-21 Florian Weimer <fweimer@redhat.com>
1655 * stdio-common/vfprintf.c (vfprintf): Move local variables
1656 args_malloced, specs, specs_malloced, and the code after
1657 do_positional to the printf_positional function.
1658 (printf_positional): New function.
1660 2015-05-21 Florian Weimer <fweimer@redhat.com>
1662 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1664 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1665 STEP4_TABLE, process_arg): Move macro definitions
1666 out of the vfprintf function. (Cosmetic change only.)
1668 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1670 * benchtests/Makefile (stdio-common-bench): Define.
1671 (benchset): Add stdio-common-bench.
1672 * sprintf-inputs: New file.
1673 * sprintf-source.c: New file.
1675 2015-05-21 Andreas Schwab <schwab@suse.de>
1679 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1680 of struct __res_state.
1681 * resolv/res_send.c (__libc_res_nsend): Likewise.
1682 (get_nsaddr): New function.
1683 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1686 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1688 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1689 -D_POSIX_C_SOURCE=199506L.
1691 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1693 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1694 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1695 Do not mention otherwise.
1696 [POSIX] (_XOPEN_VERSION): Do not expect.
1697 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1698 [POSIX] (_POSIX2_C_BIND): Likewise.
1699 [POSIX] (_POSIX2_VERSION): Likewise.
1700 [POSIX] (_XOPEN_XPG2): Likewise.
1701 [POSIX] (_XOPEN_XPG3): Likewise.
1702 [POSIX] (_XOPEN_XPG4): Likewise.
1703 [POSIX] (_XOPEN_UNIX): Likewise.
1704 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1705 [POSIX] (_POSIX_BARRIERS): Likewise.
1706 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1707 [POSIX] (_POSIX_CPUTIME): Likewise.
1708 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1709 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1710 [POSIX] (_POSIX_SHELL): Likewise.
1711 [POSIX] (_POSIX_SPAWN): Likewise.
1712 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1713 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1714 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1715 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1716 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1717 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1718 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1719 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1720 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1721 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1722 [POSIX] (_POSIX2_PBS): Likewise.
1723 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1724 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1725 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1726 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1727 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1728 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1729 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1730 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1731 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1732 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1733 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1734 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1735 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1736 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1737 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1738 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1739 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1740 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1741 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1742 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1743 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1744 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1745 [POSIX] (_SC_2_C_BIND): Likewise.
1746 [POSIX] (_SC_2_C_VERSION): Likewise.
1747 [POSIX] (_SC_2_PBS): Likewise.
1748 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1749 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1750 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1751 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1752 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1753 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1754 [POSIX] (_SC_BARRIERS): Likewise.
1755 [POSIX] (_SC_BASE): Likewise.
1756 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1757 [POSIX] (_SC_DEVICE_IO): Likewise.
1758 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1759 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1760 [POSIX] (_SC_FD_MGMT): Likewise.
1761 [POSIX] (_SC_FIFO): Likewise.
1762 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1763 [POSIX] (_SC_FILE_LOCKING): Likewise.
1764 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1765 [POSIX] (_SC_IOV_MAX): Likewise.
1766 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1767 [POSIX] (_SC_NETWORKING): Likewise.
1768 [POSIX] (_SC_PAGE_SIZE): Likewise.
1769 [POSIX] (_SC_PASS_MAX): Likewise.
1770 [POSIX] (_SC_PIPE): Likewise.
1771 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1772 [POSIX] (_SC_REGEXP): Likewise.
1773 [POSIX] (_SC_SHELL): Likewise.
1774 [POSIX] (_SC_SIGNALS): Likewise.
1775 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1776 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1777 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1778 [POSIX] (_SC_USER_GROUPS): Likewise.
1779 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1780 [POSIX] (_SC_STREAMS): Likewise.
1781 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1782 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1783 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1784 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1785 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1786 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1787 [POSIX] (_PC_FILESIZEBITS): Likewise.
1788 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1789 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1790 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1791 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1792 [POSIX] (uid_t): Likewise.
1793 [POSIX] (gid_t): Likewise.
1794 [POSIX] (off_t): Likewise.
1795 [POSIX] (pid_t): Likewise.
1796 [POSIX] (cuserid): Allow.
1797 (_SC_2_CHAR_TERM): Require constant.
1798 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1799 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1802 2015-05-20 Roland McGrath <roland@hack.frob.com>
1804 * sysdeps/nacl/pthread-pids.h: New file.
1805 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1806 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1808 * nptl/pthread-pids.h: New file.
1809 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1810 * nptl/nptl-init.c: Include <pthread-pids.h>.
1811 (__pthread_initialize_minimal_internal):
1812 Call __pthread_initialize_pids instead of set_tid_address syscall.
1814 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1815 * sysdeps/posix/usleep.c: ... here.
1817 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1819 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1820 call_pselect6 object.
1821 [$(subdir) = io]: Remove call_sync_file_range object.
1822 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1823 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1824 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1825 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1827 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1829 * math/s_cproj.c: Add include "math_private.h".
1830 * math/s_cprojf.c: Likewise.
1831 * math/s_cprojl.c: Likewise.
1833 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1836 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1837 high mantissa bit when testing whether P is a NaN.
1838 * math/libm-test.inc (remainder_test_data): Add more tests.
1839 (remquo_test_data): Likewise.
1842 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1843 below -32, return the argument, with underflow if subnormal.
1844 * math/auto-libm-test-in: Add more tests of atanh.
1845 * math/auto-libm-test-out: Regenerated.
1847 2015-05-19 Roland McGrath <roland@hack.frob.com>
1850 * nptl/tst-sem15.c: New file.
1851 * nptl/Makefile (tests): Add it.
1852 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1853 s/<</>>/ to fix typo in EOVERFLOW check.
1854 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1856 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1858 * manual/strings.texi (envz_remove): Fix typo in safety
1861 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1862 Steve Ellcey <sellcey@imgtec.com>
1864 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1865 in order to avoid strict alias warnings.
1866 (iruserok_af): Ditto for ra.
1868 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1872 (magicbyte): Convert to a function and avoid returning 0x01.
1873 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1874 (mem2chunk_check): Fix unsigned comparisons to zero.
1875 Hoist defs of sz and magic.
1877 2015-05-19 Richard Henderson <rth@redhat.com>
1879 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1881 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1883 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1886 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1887 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1888 (reused_arena): Find a non-corrupt arena.
1889 (heap_trim): Pass arena to unlink.
1890 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1892 (top_check): Likewise.
1893 (free_check): Likewise.
1894 (realloc_check): Likewise.
1895 * malloc/malloc.c (malloc_printerr): Add arena argument.
1897 (munmap_chunk): Adjust.
1898 (ARENA_CORRUPTION_BIT): New macro.
1899 (arena_is_corrupt): Likewise.
1900 (set_arena_corrupt): Likewise.
1901 (sysmalloc): Use mmap if there are no usable arenas.
1902 (_int_malloc): Likewise.
1903 (__libc_malloc): Don't fail if arena_get returns NULL.
1904 (_mid_memalign): Likewise.
1905 (__libc_calloc): Likewise.
1906 (__libc_realloc): Adjust for additional argument to
1908 (_int_free): Likewise.
1909 (malloc_consolidate): Likewise.
1910 (_int_realloc): Likewise.
1911 (_int_memalign): Don't touch corrupt arenas.
1912 * malloc/tst-malloc-backtrace.c: New test case.
1914 * Makefile (summarize-tests): Fix return value on success.
1916 * manual/string.texi (Envz Functions): Add envz_remove.
1918 2015-05-18 Roland McGrath <roland@hack.frob.com>
1920 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1921 (invalid_name): New function, broken out of ...
1922 (__opendirat): ... here. Call it.
1923 (need_isdir_precheck): New function, broken out of ...
1924 (__opendirat): ... here. Call it.
1925 Use __fxstatat64, not __xstatat64.
1926 (opendir_oflags): New function, broken out of ...
1927 (__opendirat): ... here. Call it.
1928 (opendir_tail): New function, broken out of ...
1929 (__opendirat): ... here. Call it.
1930 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1931 opendir_tail, rather than punting to __opendirat.
1932 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1934 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1936 * .gitignore: Ignore generated *.pyc.
1938 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1940 * include/stdio.h: Define __need_wint_t.
1941 * test-skeleton.c: Avoid `for' loop initial declaration.
1942 * nptl/tst-initializers1.c: Use test-skeleton.c.
1944 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1947 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1949 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1952 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1953 (__ieee754_atanh): Force underflow exception for results with
1954 small absolute value.
1955 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1956 (__ieee754_atanhf): Force underflow exception for results with
1957 small absolute value.
1958 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1959 (__ieee754_atanh): Force underflow exception for results with
1960 small absolute value.
1961 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1962 (__ieee754_atanhf): Force underflow exception for results with
1963 small absolute value.
1964 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1965 (__ieee754_atanhl): Force underflow exception for results with
1966 small absolute value.
1967 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1968 (__ieee754_atanhl): Force underflow exception for results with
1969 small absolute value.
1970 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1971 (__ieee754_atanhl): Force underflow exception for results with
1972 small absolute value.
1973 * math/auto-libm-test-in: Do not allow missing underflow
1974 exceptions from atanh.
1975 * math/auto-libm-test-out: Regenerated.
1978 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1979 2**-28 as threshold for returning x or +/- 1/x.
1980 * math/auto-libm-test-in: Add more tests of tan.
1981 * math/auto-libm-test-out: Regenerated.
1984 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1985 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1986 * math/auto-libm-test-in: Add another test of lgamma.
1987 * math/auto-libm-test-out: Regenerated.
1989 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1991 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1992 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1993 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1994 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1995 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1996 (ADD2A): Use fabs. (SUB2A): Use fabs.
1997 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1998 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2000 (log1): Use fabs. (my_log2): Use fabs.
2001 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2002 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2003 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2004 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2005 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2006 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2007 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2008 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2009 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2010 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2011 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2013 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2016 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2017 as threshold for returning 1 - x.
2018 * math/auto-libm-test-in: Add more tests of erfc.
2019 * math/auto-libm-test-out: Regenerated.
2021 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2024 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2025 threshold for large arguments.
2026 * math/auto-libm-test-in: Add another test of atan.
2027 * math/auto-libm-test-out: Regenerated.
2030 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2031 (__log1p): Force underflow exception for results with small
2033 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2034 (__log1pf): Force underflow exception for results with small
2036 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2037 (__log1p): Force underflow exception for results with small
2039 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2040 (__log1pf): Force underflow exception for results with small
2042 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2043 (__log1pl): Force underflow exception for results with small
2045 * math/auto-libm-test-in: Do not allow missing underflow
2046 exceptions from log1p.
2047 * math/auto-libm-test-out: Regenerated.
2049 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2050 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2053 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2055 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2057 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2058 (libmvec): New variable.
2059 * configure.ac: Added option for mathvec build.
2060 * configure: Regenerated.
2061 * mathvec/Depend: New file.
2062 * mathvec/Makefile: New file.
2063 * shlib-versions: Added libmvec.
2064 * math/Makefile: Added rule for libm.so installation.
2066 * bits/math-vector.h: New file.
2067 * bits/libm-simd-decl-stubs.h: New header.
2068 * math/Makefile (headers): Added new header
2069 libm-simd-decl-stubs.h.
2070 * math/math.h (__MATHCALL_VEC): New macro.
2072 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2073 for conditions in testing functions.
2074 * math/Makefile: Added call of libm-have-vector-test.sh.
2075 * math/libm-test.inc (HAVE_VECTOR): New macros.
2077 * math/libm-test.inc: START refactored.
2078 * math/test-double.c (TEST_MATHVEC): Add define.
2079 * math/test-float.c: Likewise.
2080 * math/test-idouble.c: Likewise.
2081 * math/test-ifloat.c: Likewise.
2082 * math/test-ildoubl.c: Likewise.
2083 * math/test-ldouble.c: Likewise.
2084 * sysdeps/generic/math-tests-arch.h
2085 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2088 * math/test-double.c (FUNC_TEST): New macro.
2089 * math/test-float.c: Likewise.
2090 * math/test-idouble.c: Likewise.
2091 * math/test-ifloat.c: Likewise.
2092 * math/test-ildoubl.c: Likewise.
2093 * math/test-ldouble.c: Likewise.
2094 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2096 2015-05-13 Roland McGrath <roland@hack.frob.com>
2098 * sysdeps/nacl/fdopendir.c: New file.
2100 * dirent/scandir-tail.c: New file.
2101 * dirent/scandir64-tail.c: New file.
2102 * dirent/Makefile (routines): Add them.
2103 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2104 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2105 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2106 [!SCANDIR] (SCANDIR_TAIL): New macro.
2107 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2108 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2109 (SCANDIRAT): Macro removed.
2110 (SCANDIR_TAIL): New macro.
2111 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2112 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2113 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2114 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2115 (READDIR): Macro removed.
2116 (SCANDIR_TAIL): New macro.
2117 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2118 (SCANDIR_TAIL): New macro.
2120 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2121 * dirent/scandir-cancel.c: ... to this new file.
2122 * dirent/Makefile (routines): Add it.
2123 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2124 * sysdeps/unix/sysv/linux/i386/scandir64.c
2125 (SKIP_SCANDIR_CANCEL): Macro removed.
2126 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2128 * dirent/tst-scandir.c: New file.
2129 * dirent/tst-scandir64.c: New file.
2130 * dirent/Makefile (tests): Add them.
2132 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2135 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2137 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2139 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2142 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2144 * benchtests/bench-strcoll.c: New benchmark.
2145 * benchtests/Makefile: Generate locales and run benchmark.
2146 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2147 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2148 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2149 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2150 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2151 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2152 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2153 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2154 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2155 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2156 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2157 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2158 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2159 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2160 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2161 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2162 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2163 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2164 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2165 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2166 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2167 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2168 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2169 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2171 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2173 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2174 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2176 2015-05-12 Roland McGrath <roland@hack.frob.com>
2178 * posix/uname-values.h: New file.
2179 * posix/uname.c: Include that instead of <config-name.h>.
2180 * sysdeps/nacl/uname-values.h: New file.
2181 * sysdeps/arm/nacl/uname-values.h: New file.
2183 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2185 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2186 splitting into fields.
2188 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2190 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2191 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2192 * locale/localeinfo.h: Add enum collation_encoding_type.
2193 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2194 * programs/ld-collate.c (collate_output): Add encoding type info.
2195 * string/strcoll_l.c (STRDIFF): New function.
2196 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2197 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2199 2015-05-11 Joseph Myers <joseph@codesourcery.com>
2202 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2203 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2204 <fpu_control.h> instead of <math/fpu_control.c>.
2205 * sysdeps/mips/mips32/fpu/Makefile: New file.
2207 2015-05-11 Andreas Schwab <schwab@suse.de>
2210 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2212 (_nss_compat_endgrent): Call nss_endgrent.
2213 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2215 (_nss_compat_endpwent): Call nss_endpwent.
2216 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2217 needent, call nss_setspent only if non-zero.
2218 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2219 (internal_endspent): Don't call nss_endspent.
2220 (_nss_compat_endspent): Call nss_endspent.
2221 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2222 Remove. All uses removed.
2223 (internal_setent): Remove parameter stayopen, add parameter
2224 stream. Use it instead of global variable.
2225 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2226 (internal_endent, internal_getent): Add parameter stream. Use it
2227 instead of global variable.
2228 (CONCAT(_nss_files_end,ENTNAME))
2229 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2230 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2231 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2233 (internal_setent, internal_endent): Add parameter stream. Use it
2234 instead of global variable.
2235 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2237 (get_next_alias): Add parameter stream.
2238 (_nss_files_getaliasent_r): Pass global stream.
2239 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
2240 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2241 (_nss_files_gethostbyname4_r): Pass local stream to
2242 internal_setent, internal_getent and internal_endent. Remove
2245 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2247 * tst-strfmon1.c (tests): Update expected currency symbol.
2249 2015-05-08 Roland McGrath <roland@hack.frob.com>
2251 * sysdeps/nacl/gethostname.c: New file.
2253 2015-05-08 Joseph Myers <joseph@codesourcery.com>
2255 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2257 * math/auto-libm-test-out: Regenerated.
2258 * sysdeps/i386/fpu/libm-test-ulps: Update.
2259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2261 2015-05-08 Carlos O'Donell <carlos@redhat.com>
2264 * stdlib/tst-setcontext3.c: New file.
2265 * stdlib/tst-setcontext3.sh: New file.
2266 * stdlib/Makefile (tests): Add tst-setcontext3.
2267 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2268 to verify test program created output file.
2269 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2270 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2271 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2272 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2274 2015-05-06 Roland McGrath <roland@hack.frob.com>
2277 * elf/tst-tlsalign.c: New file.
2278 * elf/tst-tlsalign-static.c: New file.
2279 * elf/tst-tlsalign-lib.c: New file.
2280 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2281 (tests-static): Add tst-tlsalign-static.
2282 (modules-names): Add tst-tlsalign-lib.
2283 (test-xfail-tst-tlsalign): New variable.
2284 (test-xfail-tst-tlsalign-static): New variable.
2286 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2287 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2289 2015-05-06 Joseph Myers <joseph@codesourcery.com>
2291 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2292 csqrt, erfc, sin and sincos.
2293 * math/auto-libm-test-out: Regenerated.
2294 * sysdeps/i386/fpu/libm-test-ulps: Update.
2295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2297 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2299 * sysdeps/aarch64/libm-test-ulps: Update.
2301 2015-05-05 Joseph Myers <joseph@codesourcery.com>
2303 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2304 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2305 * math/auto-libm-test-out: Regenerated.
2306 * sysdeps/i386/fpu/libm-test-ulps: Update.
2307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2309 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2312 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2313 (wcsncpy): Likewise.
2315 2015-05-05 Florian Weimer <fweimer@redhat.com>
2317 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2318 Assume __ASSUME_FALLOCATE is always true.
2319 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2320 (__posix_fallocate64_l64): Likweise.
2321 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2322 (posix_fallocate): Likewise.
2323 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2324 (__posix_fallocate64_l64): Likewise.
2325 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2326 [!__ASSUME_FALLOCATE]: Add comment.
2328 2015-05-05 Florian Weimer <fweimer@redhat.com>
2330 * sysdeps/unix/sysv/linux/i386/Makefile
2331 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2332 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2333 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2334 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2335 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2336 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2337 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2339 2015-05-02 Joseph Myers <joseph@codesourcery.com>
2341 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2342 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2344 * math/auto-libm-test-out: Regenerated.
2345 * sysdeps/i386/fpu/libm-test-ulps: Update.
2346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2348 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2350 * math/auto-libm-test-in: Add more tests of tgamma.
2351 * math/auto-libm-test-out: Regenerated.
2352 * sysdeps/i386/fpu/libm-test-ulps: Update.
2353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2355 * math/auto-libm-test-in: Add more tests of tanh.
2356 * math/auto-libm-test-out: Regenerated.
2357 * sysdeps/i386/fpu/libm-test-ulps: Update.
2358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2360 * math/auto-libm-test-in: Add more tests of tan.
2361 * math/auto-libm-test-out: Regenerated.
2362 * sysdeps/i386/fpu/libm-test-ulps: Update.
2363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2365 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2366 * math/auto-libm-test-out: Regenerated.
2367 * sysdeps/i386/fpu/libm-test-ulps: Update.
2368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2370 * math/auto-libm-test-in: Add another test of pow.
2371 * math/auto-libm-test-out: Regenerated.
2372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2374 * math/auto-libm-test-in: Add more tests of lgamma.
2375 * math/auto-libm-test-out: Regenerated.
2376 * sysdeps/i386/fpu/libm-test-ulps: Update.
2377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2381 * math/auto-libm-test-out: Regenerated.
2382 * sysdeps/i386/fpu/libm-test-ulps: Update.
2383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2385 2015-05-01 Mark Wielaard <mjw@redhat.com>
2387 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2388 Elf64_Chdr structs and ELFCOMPRESS constants.
2390 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2392 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2394 * math/auto-libm-test-out: Regenerated.
2395 * sysdeps/i386/fpu/libm-test-ulps: Update.
2396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2398 * math/auto-libm-test-in: Add more tests of erf and erfc.
2399 * math/auto-libm-test-out: Regenerated.
2400 * sysdeps/i386/fpu/libm-test-ulps: Update.
2401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2403 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2405 * config.h.in (HAVE_AARCH64_BE): Add.
2407 2015-04-30 Joseph Myers <joseph@codesourcery.com>
2409 * math/auto-libm-test-in: Add more tests of csqrt.
2410 * math/auto-libm-test-out: Regenerated.
2411 * sysdeps/i386/fpu/libm-test-ulps: Update.
2412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2414 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2415 * math/auto-libm-test-out: Regenerated.
2416 * sysdeps/i386/fpu/libm-test-ulps: Update.
2417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2419 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2421 2015-04-29 Roland McGrath <roland@hack.frob.com>
2423 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2424 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2426 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2427 (euidaccess, eaccess): Define as weak aliases.
2429 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2430 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
2431 but __suseconds_t is often 'long int' so some sources assume that
2432 type is being used (e.g. they use %ld to print tv_usec).
2434 2015-04-29 Florian Weimer <fweimer@redhat.com>
2437 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2439 * nss/tst-nss-getpwent.c: New file.
2440 * nss/Makefile (tests): Add new test.
2442 2015-04-28 Joseph Myers <joseph@codesourcery.com>
2445 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2446 exponents less than 48 as cases where high part of mantissa needs
2447 examining to determine whether argument is integral.
2448 * math/libm-test.inc (round_test_data): Add more tests.
2450 2015-04-28 Mark Wielaard <mjw@redhat.com>
2452 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2454 2015-04-27 David S. Miller <davem@davemloft.net>
2456 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2458 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2460 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
2463 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2465 2015-04-27 Florian Weimer <fweimer@redhat.com>
2468 * time/tzset.c (parse_tzname): Return error on memory allocation
2470 * test-skeleton.c (struct temp_name_list): Change type of name
2471 member to non-const.
2472 (add_temp_file): Create a copy of the file name.
2473 (delete_temp_files): Deallocate memory.
2474 (create_temp_file): Add comment.
2476 2015-04-24 Florian Weimer <fweimer@redhat.com>
2478 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2479 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2481 2015-04-24 Roland McGrath <roland@hack.frob.com>
2483 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2484 * sysdeps/arm/configure: Regenerated.
2486 2015-04-24 Florian Weimer <fweimer@redhat.com>
2489 * time/tzfile.c (__tzfile_read): Check for large values of
2490 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
2491 * time/tzset.c (__tzstring_len): New function, based on the old
2492 __tzstring function.
2493 (__tzstring): Call __tzstring_len.
2494 (parse_tzname): New helper function extracted from
2495 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2497 (parse_offset): New helper function extracted from
2498 __tzset_parse_tz. Replace switch with fallthrough with
2499 initialization before sscanf.
2500 (parse_rule): Likewise.
2501 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2502 new-style function definition.
2503 * timezone/Makefile (tests): Add tst-tzset.
2504 (tst-tzset.out): Dependencies on time zone files.
2505 (tst-tzset-ENV): Set TZDIR.
2506 (testdata/XT%): Copy crafted time zone files.
2507 * timezone/README: Mention crafted time zone files.
2508 * timezone/testdata/XT1, timezone/testdata/XT2,
2509 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2511 * timezone/tst-tzset.c: New test.
2513 2015-04-24 Florian Weimer <fweimer@redhat.com>
2515 * Makeconfig (+gccwarn): Remove -Winline.
2517 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2519 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2521 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2523 * NEWS: Mention sysconf() cache information support for s390.
2524 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2526 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2528 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2529 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2530 (__nearbyint): Likewise.
2531 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2532 (copysignl): Likewise.
2534 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
2537 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2538 based on padding. (CVE-2015-1781)
2540 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2542 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2544 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2545 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2546 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2547 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2548 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2549 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2550 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2552 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2554 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2555 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2556 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2557 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2558 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2559 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2560 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2561 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2562 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2563 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2564 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2565 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2566 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2568 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2570 * stdlib/setenv.c (__add_to_environ):
2571 Dump core quickly if setenv (..., NULL, ...) is called.
2572 This time, do it the right way, and pacify GCC with a pragma.
2574 2015-04-17 Roland McGrath <roland@hack.frob.com>
2576 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2577 IMAP->l_prev cannot be null, and #if out the code for the contrary
2578 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2579 believe that NS (&_dl_ns[NSID]) could point outside the array.
2581 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2582 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2583 before using NSID as an index.
2585 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2588 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2589 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2590 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2592 2015-04-17 Roland McGrath <roland@hack.frob.com>
2594 Add preliminary port to Google Native Client on ARM.
2595 * abi-tags (.*-.*-nacl.*): New entry.
2596 * sysdeps/arm/nacl: New directory.
2597 * sysdeps/nacl: New directory.
2599 2015-04-16 David S. Miller <davem@davemloft.net>
2601 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2602 lowlevellock-futex.h
2604 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2606 * sysdeps/tile/configure.ac: New file.
2607 * sysdeps/tile/configure: Regenerated.
2609 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2611 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2612 conditionals for weak_alias and libc_hidden_weak.
2613 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2614 libc_hidden_weak and weak_alias.
2615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2616 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2617 and weak_alias for static one.
2619 2015-04-15 David S. Miller <davem@davemloft.net>
2621 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2623 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2626 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2627 Use signed comparision instead of substraction to avoid
2629 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2630 Take the sign of ret.
2631 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2632 Do not expect precise return values. Only the sign matters.
2633 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2634 * wcsmbs/test-wcsncmp.c: New File.
2635 * string/test-strncmp.c: Add wcsncmp support.
2637 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2640 * math/w_log1p.c: New file.
2641 * math/w_log1pf.c: Likewise.
2642 * math/w_log1pl.c: Likewise.
2643 * math/Makefile (libm-calls): Add w_log1p.
2644 * math/s_log1pl.c (log1pl): Remove weak_alias.
2645 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2646 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2647 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2648 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2649 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2650 [NO_LONG_DOUBLE] (log1pl): Likewise.
2651 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2652 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2653 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2654 (log1p): Remove long_double_symbol.
2655 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2656 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2657 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2658 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2659 remove weak_alias for corresponding log1p function.
2660 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2661 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2662 * sysdeps/ia64/fpu/w_log1p.c: New file.
2663 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2664 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2665 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2667 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2671 decimal exponent by 1.
2672 * stdlib/tst-strtod-round-data: Add more tests.
2673 * stdlib/tst-strtod-round.c (tests): Regenerated.
2675 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2677 * math/auto-libm-test-in: Add more tests of clog and clog10.
2678 * math/auto-libm-test-out: Regenerated.
2679 * sysdeps/i386/fpu/libm-test-ulps: Update.
2680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2682 2015-04-09 Roland McGrath <roland@hack.frob.com>
2684 * Makeconfig (module-cppflags): Exclude all .v.i files.
2685 (skip-module-cppflags): Variable removed.
2687 * configure.ac (libc_config_ok): Initialize before reading
2688 preconfigure scripts, not after.
2689 * configure: Regenerated.
2691 * test-skeleton.c (TIMEOUT): Move #define to top level.
2692 (main): Grok environment variable TEST_DIRECT. If set, print
2693 test expectation details into that file and then behave as if
2696 2015-04-09 Florian Weimer <fweimer@redhat.com>
2698 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2701 2015-04-08 David S. Miller <davem@davemloft.net>
2703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2705 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2707 * math/auto-libm-test-in: Add more tests of atanh.
2708 * math/auto-libm-test-out: Regenerated.
2709 * sysdeps/i386/fpu/libm-test-ulps: Update.
2710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2712 * math/auto-libm-test-in: Add more tests of atan.
2713 * math/auto-libm-test-out: Regenerated.
2714 * sysdeps/i386/fpu/libm-test-ulps: Update.
2715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2717 2015-04-08 Florian Weimer <fweimer@redhat.com>
2719 * elf/pldd.c (main): Rewrite to use struct
2720 scratch_buffer instead of extend_alloca.
2721 * elf/pldd-xx.c (find_maps): Likewise.
2722 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2724 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2725 scratch_buffer instead of extend_alloca.
2726 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2727 grp/compat-initgroups.c.
2728 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2729 Rewrite to use struct scratch_buffer instead of extend_alloca.
2730 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2731 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2733 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2735 * math/auto-libm-test-in: Add more tests of cbrt.
2736 * math/auto-libm-test-out: Regenerated.
2737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2739 * math/auto-libm-test-in: Add more tests of cabs.
2740 * math/auto-libm-test-out: Regenerated.
2741 * sysdeps/i386/fpu/libm-test-ulps: Update.
2742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2746 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2747 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2749 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2751 * math/auto-libm-test-out: Regenerated.
2752 * sysdeps/i386/fpu/libm-test-ulps: Update.
2753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2756 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2757 (atan): Set FE_TONEAREST mode for internal computations.
2758 * math/auto-libm-test-in: Add more tests of atan.
2759 * math/auto-libm-test-out: Regenerated.
2761 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2764 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2766 2015-04-07 Florian Weimer <fweimer@redhat.com>
2768 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2770 2015-04-07 Florian Weimer <fweimer@redhat.com>
2772 * include/scratch_buffer.h: New file.
2773 * malloc/scratch_buffer_grow.c: Likewise.
2774 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2775 * malloc/scratch_buffer_set_array_size.c: Likewise.
2776 * malloc/tst-scratch_buffer.c: Likewise.
2777 * malloc/Makefile (routines): Add scratch_buffer_grow.
2778 (tests): Add test case.
2779 * malloc/Versions (GLIBC_PRIVATE): Export
2780 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2781 __libc_scratch_buffer_set_array_size.
2783 2015-04-06 Richard Henderson <rth@redhat.com>
2785 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2786 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2788 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2789 unsigned int before printing.
2791 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2794 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2795 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2797 2015-04-02 Florian Weimer <fweimer@redhat.com>
2799 * include/libc-internal.h (libc_max_align_t): Define.
2801 2015-04-02 Andreas Schwab <schwab@suse.de>
2804 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2806 2015-04-02 Mel Gorman <mgorman@suse.de>
2809 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2810 as well as the main arena.
2812 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2815 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2816 sharing L2 cache to 2 for Silvermont/Knights Landing.
2818 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2821 * config.make.in (have-protected-data): New.
2822 * configure.ac: Check linker support for protected data symbol.
2823 * configure: Regenerated.
2824 * elf/Makefile (modules-names): Add tst-protected1moda and
2825 tst-protected1modb if $(have-protected-data) is yes.
2826 (tests): Add tst-protected1a and tst-protected1b if
2827 $(have-protected-data) is yes.
2828 ($(objpfx)tst-protected1a): New.
2829 ($(objpfx)tst-protected1b): Likewise.
2830 (tst-protected1modb.so-no-z-defs): Likewise.
2831 * elf/tst-protected1a.c: New file.
2832 * elf/tst-protected1b.c: Likewise.
2833 * elf/tst-protected1mod.h: Likewise.
2834 * elf/tst-protected1moda.c: Likewise.
2835 * elf/tst-protected1modb.c: Likewise.
2837 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2840 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2841 indicates it is called from do_lookup_x on relocation against
2842 protected data, skip the data definion in the executable from
2844 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2845 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2846 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2847 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2848 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2850 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2851 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2852 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2853 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2854 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2855 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2857 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2859 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2860 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2862 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2864 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2866 * sysdeps/x86_64/nptl/tls.h: Ditto.
2868 2015-03-27 Roland McGrath <roland@hack.frob.com>
2870 * dlfcn/tststatic.c (main): Converted to ...
2871 (do_test): ... this.
2872 (TEST_FUNCTION): New macro.
2873 Include test-skeleton.c.
2875 2015-03-26 Alan Modra <amodra@gmail.com>
2877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2878 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2879 zero for undefined weak.
2880 (elf_machine_plt_conflict): Similarly.
2882 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2884 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2886 * math/auto-libm-test-out: Regenerated.
2887 * sysdeps/i386/fpu/libm-test-ulps: Update.
2888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2890 * math/auto-libm-test-in: Add another test of asin.
2891 * math/auto-libm-test-out: Regenerated.
2892 * sysdeps/i386/fpu/libm-test-ulps: Update.
2893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2895 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2897 (LLL_EBX_REG): Likewise.
2898 (LLL_ENTER_KERNEL): Likewise.
2900 * math/auto-libm-test-in: Add more tests of asin.
2901 * math/auto-libm-test-out: Regenerated.
2902 * sysdeps/i386/fpu/libm-test-ulps: Update.
2903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2906 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2907 libc_do_syscall_args): New structure.
2908 (INTERNAL_SYSCALL_MAIN_0): New macro.
2909 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2910 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2911 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2912 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2913 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2914 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2915 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2916 Replace conditional definitions by conditional definitions of ....
2917 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2918 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2919 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2920 (libpthread-sysdep_routines): Add libc-do-syscall.
2921 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2922 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2923 to __NR_futex not 240.
2925 2015-03-25 Alan Modra <amodra@gmail.com>
2927 * NEWS: Advertise TLS optimization.
2928 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2929 (DT_PPC_NUM): Increment.
2930 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2931 (CHECK_STATIC_TLS): Use here.
2932 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2935 * sysdeps/powerpc/dl-tls.c: New file.
2936 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2937 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2938 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2939 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2944 2015-03-25 Alan Modra <amodra@gmail.com>
2946 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2947 for overlapping .opd entries" to "support...".
2948 * sysdeps/powerpc/powerpc64/configure: Regenerate
2950 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2952 * math/auto-libm-test-in: Add more tests of acos.
2953 * math/auto-libm-test-out: Regenerated.
2954 * sysdeps/i386/fpu/libm-test-ulps: Update.
2955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2957 * math/auto-libm-test-in: Add more tests of expm1.
2958 * math/auto-libm-test-out: Regenerated.
2959 * sysdeps/i386/fpu/libm-test-ulps: Update.
2960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2962 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2964 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2965 * math/auto-libm-test-out: Regenerated.
2966 * sysdeps/i386/fpu/libm-test-ulps: Update.
2967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2969 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2972 * math/auto-libm-test-in: Add more tests of log2.
2973 * math/auto-libm-test-out: Regenerated.
2974 * sysdeps/i386/fpu/libm-test-ulps: Update.
2975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2977 2015-03-23 Roland McGrath <roland@hack.frob.com>
2979 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2980 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2981 _IO_IS_APPENDING bit in READ_WRITE instead.
2983 2015-03-23 Florian Weimer <fweimer@redhat.com>
2985 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2986 (__determine_cpumask_size): Replace extend_alloca with a
2987 variable-length array. Do not treat res == 0 as an error.
2989 2015-03-23 Florian Weimer <fweimer@redhat.com>
2992 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2993 and integer overflow.
2994 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2995 (main): Add integer overflow tests.
2996 * manual/pattern.texi (Calling Wordexp): Document additional use
2999 2015-03-23 Alan Modra <amodra@gmail.com>
3001 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3002 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3003 and false branch of conditional.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3007 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3009 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3011 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3012 unused declaration of _hurd_intr_rpc_msg_in_trap.
3013 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3014 defined instead of whether it is non-zero.
3015 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3016 input constraint instead of both input and output constraint. Use ecx
3017 clobber instead of %ecx.
3018 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3019 mutex_unlock): Use a statement expression instead of an expression list.
3020 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3021 type to vm_size_t instead of vm_address_t.
3022 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3023 defined instead of whether it is non-zero.
3024 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3025 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3026 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3027 comparisons with mapaddr.
3028 * nscd/nscd-client.h: Include <time.h>.
3029 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3030 9th parameter to __vm_region instead of int.
3031 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3032 * scripts/check-local-headers.sh (exclude): Add device/,
3033 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3036 2015-03-19 Roland McGrath <roland@hack.frob.com>
3038 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3039 to account for alignment padding.
3040 * sysdeps/arm/memmove.S: Likewise.
3042 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3044 * sysdeps/unix/sysv/linux/generic/README: New file.
3046 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3049 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3050 (futex_abstimed_wait)
3051 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3052 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3053 of lll_futex_timed_wait.
3055 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3058 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3060 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3067 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3068 entries with Static TLS too. Skip entries past the end of the
3069 allocated DTV, from Alan Modra.
3070 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3071 Static TLS DTV entry set up from...
3072 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3073 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3074 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3075 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3077 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3078 that the slot we find is associated with the given map before
3079 using its generation count.
3080 * nptl_db/db_info.c: Include ldsodefs.h.
3081 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3082 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3083 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3084 (link_map::l_tls_offset): New struct field.
3085 (dtv_t::counter): Likewise.
3086 (rtld_global): New struct.
3087 (_rtld_global): New rtld variable.
3088 (dl_tls_dtv_slotinfo_list): New rtld global field.
3089 (dtv_slotinfo_list): New struct.
3090 (dtv_slotinfo): Likewise.
3091 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3092 (td_lookup): Rename to...
3093 (td_mod_lookup): ... this. Use new mod parameter instead of
3095 * nptl_db/td_thr_tlsbase.c: Include link.h.
3096 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3097 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3098 addresses even if the DTV is out of date or missing them.
3099 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3100 index zero-length arrays.
3101 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3102 (td_lookup): Make it a macro implemented in terms of...
3103 (td_mod_lookup): ... this declaration.
3104 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3105 (DB_MAIN_VARIABLE): Likewise.
3107 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3110 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3112 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3114 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3116 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3119 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3120 (atomic_add, atomic_increment_and_test)
3121 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3123 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3125 * stdlib/setenv.c (__add_to_environ):
3126 Dump core quickly if setenv (..., NULL, ...) is called.
3128 2015-03-13 Roland McGrath <roland@hack.frob.com>
3130 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3131 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3132 all the necessary asm magic in one place.
3133 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3136 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3139 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3140 traced file mtime. Use consistent log message.
3141 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3142 (register_traced_file): Call install_watches. Always set mtime.
3143 (invalidate_cache): Iterate over all trace files. Call install_watches.
3144 (inotify_check_files): Don't inline. Handle watching parent
3145 directories and configuration file movement in and out.
3146 (handle_inotify_events): New function.
3147 (main_loop_poll): Call handle_inotify_events.
3148 (main_loop_epoll): Likewise.
3149 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3150 (struct traced_file): Use array of inotify fds. Add parent directory,
3152 (struct database_dyn): Remove unused file_mtime.
3153 (init_traced_file): New inline function.
3154 (define_traced_file): New macro.
3155 * nss/nss_db/db-init.c: Use define_traced_file.
3156 (_nss_db_init): Use init_traced_file.
3157 * nss/nss_files/files-init.c: Use define_traced_file.
3158 (_nss_files_init): Use init_traced_file.
3160 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3162 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3163 [_LIBC]: Do not include <stdlib.h>.
3164 [!_LIBC] (abort): Remove declaration.
3165 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3166 _FP_STATIC_ASSERT instead of conditionally calling abort.
3167 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3168 (_FP_EXTEND_CNAN): Likewise.
3169 (FP_TRUNC): Likewise.
3170 (__FP_CLZ): Likewise.
3171 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3173 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3175 * manual/string.texi (XPG basename): Fix prototype.
3177 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3180 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3181 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3182 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3183 (__setcontext): Likewise.
3184 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3185 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3186 Call rt_sigprocmask syscall one time to set new signal mask
3187 and retrieve the current signal mask instead of two calls.
3188 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3189 (__swapcontext): Likewise.
3190 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3191 * stdlib/tst-setcontext2.c: New file.
3193 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3195 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3197 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3200 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3203 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3206 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3208 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3210 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3211 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3213 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3214 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3215 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3216 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3217 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3218 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3220 * nptl_db/td_symbol_list.c (td_lookup): Remove
3221 HAVE_ASM_GLOBAL_DOT_NAME code.
3222 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3223 HAVE_ASM_GLOBAL_DOT_NAME check.
3224 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3225 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3226 (DOT_LABEL): Remove define.
3227 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3228 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3229 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3230 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3231 (__TLS_GET_ADDR): Likewise.
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3233 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3235 2015-03-11 Carlos O'Donell <carlos@redhat.com>
3238 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3239 (_FPU_SETCW): Initialize cw from fpsr before storing.
3240 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3241 (fesetexceptflag): Rewrite using fpu_control.h.
3242 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3244 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
3247 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3249 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3251 2015-03-11 Joseph Myers <joseph@codesourcery.com>
3253 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3254 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3256 (_FP_FMA): Likewise.
3257 (_FP_DIV): Likewise.
3259 2015-03-10 Roland McGrath <roland@hack.frob.com>
3261 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3262 with 0 in that case.
3263 * Makefile (summarize-tests): New canned sequence, factored out of
3264 commands for targets tests and xtests. Display summary lines that
3265 don't start with PASS: or XFAIL: rather than ones that do start with
3266 ERROR: or FAIL:. Make the commands fail if any summary lines fail
3267 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3268 do start with ERROR: or FAIL:.
3269 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3270 (except for [$(build-shared) = yes]).
3271 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3272 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3273 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3274 * nptl/Makefile: Revert 2015-03-04 changes.
3275 [$(CXX) empty] (tests-unsupported): New variable.
3276 * debug/Makefile: Likewise.
3278 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3279 gnulib file. Replace __attribute with __attribute__ throughout.
3281 2015-03-10 Carlos O'Donell <carlos@redhat.com>
3283 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3285 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3288 * math/auto-libm-test-in: Add another test of pow.
3289 * math/auto-libm-test-out: Regenerated.
3291 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3293 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3294 $(config-cflags-nofma).
3296 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3298 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3299 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3300 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3301 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3302 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3303 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3304 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3305 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3306 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3307 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3308 Add comment on closing #endif.
3310 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3312 * posix/wordexp.c (CHAR_IN_SET): New macro.
3313 (parse_param): Use it.
3315 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3317 * sysdeps/powerpc/fpu/libm-test-ulps: update.
3319 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3322 * posix/wordexp.c (parse_param): Fix buffer overflow.
3323 * posix/wordexp-test.c (test_case): Add test case.
3325 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3328 * posix/wordexp.c (parse_backtick): Fix off-by-one.
3329 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3331 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3334 * posix/wordexp-test.c (test_case): Add test for BZ #18043
3335 (do_bz18043): Delete.
3337 (testit): Refactor to have words at the edge of unreadable page.
3339 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3342 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3343 Cleanup read-only streams as well.
3344 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3346 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3348 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3351 2015-03-07 Joseph Myers <joseph@codesourcery.com>
3353 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
3355 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3356 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3357 * soft-fp/op-common.h (_FP_DECL): Likewise.
3359 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
3361 * elf/ifuncdep2.c (global): Replace
3362 __attribute__((visibility("protected"))) with
3363 asm (".protected global").
3364 * elf/ifuncmod1.c (global): Likewise.
3365 * elf/ifuncmod5.c (global): Likewise.
3367 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3369 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3370 <asm/sfp-machine.h> instead of <sfp-machine.h>.
3372 2015-03-06 Roland McGrath <roland@hack.frob.com>
3374 * manual/install.texi (Configuring and compiling):
3375 Document test-wrapper-env-only.
3376 * INSTALL: Regenerated.
3378 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3381 * posix/wordexp.c (parse_param): Fix buffer overflow.
3382 * posix/wordexp-test.c (do_bz18043): Add test case.
3384 2015-03-06 Vincent Bernat <vincent@bernat.im>
3386 * time/tst-strptime2.c (do_test): Ensure failing tests are
3388 * time/tst-strptime3.c (do_test): Likewise.
3390 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
3392 Fix aio_error thread-safety.
3393 * sysdeps/pthread/aio_error.c: New file
3394 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3397 2015-03-06 Florian Weimer <fweimer@redhat.com>
3399 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3400 (group_number, vfprintf): Use it.
3401 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3402 (JUMP, REF): Use it.
3403 (WORK_BUFFER_SIZE): New enum constant.
3404 (process_arg, vfprintf): Use it.
3406 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
3408 * manual/errno.texi (Error Messages): Complete example function
3409 by adding missing #define.
3410 (program_invocation_name): Add statement indicating GNU
3411 extension and reference which header file declares the variable.
3412 (program_invocation_short_name): Likewise.
3414 2015-03-06 Mike Frysinger <vapier@gentoo.org>
3416 * manual/errno.texi (Error Messages): Delete strerror ISO C89
3419 2015-03-05 Roland McGrath <roland@hack.frob.com>
3421 * Makeconfig (test-wrapper-env-only): New variable.
3422 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3423 then use that with $(test-wrapper-env-only) rather than using
3424 $(test-wrapper-env) $(run-program-env) $($*-ENV).
3426 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
3429 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3430 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3431 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3432 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3433 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3434 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3435 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3436 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3438 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3439 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3447 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3448 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3452 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3453 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3455 2015-03-04 Roland McGrath <roland@hack.frob.com>
3457 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3458 (ETH_ALEN): New macro.
3459 (struct ether_addr): Use it for length of ether_addr_octet.
3461 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3462 (setdb): Don't call __nss_configure_lookup for "rpc".
3463 (do_test): Don't call test_rpc.
3464 (output_rpcent, test_rpc): Functions moved ...
3465 * sunrpc/test-rpcent.c: ... to this new file.
3466 * sunrpc/Makefile (tests): Add it.
3468 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3470 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3471 * nptl/tst-signal6.c: Likewise.
3472 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3473 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3475 * configure.ac (libc_cv_cxx_link_ok): New check.
3476 Reset CXX to empty if it fails to link.
3477 * configure: Regenerated.
3478 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3479 bug-atexit3-lib only if $(CXX) is nonempty.
3480 * nptl/Makefile (tests): Likewise for tst-cancel24.
3481 (tests, tests-static): Likewise for tst-cancel24-static.
3482 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3483 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3484 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3485 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3487 2015-03-04 Andreas Schwab <schwab@suse.de>
3490 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3491 for non-GCC compilers.
3492 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3495 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3498 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3499 integer before bitwise and assembly operations.
3500 (feclearexcept): Likewise.
3501 * math/test-fenvinline.c: New file.
3502 * math/Makefile: Add test-fenvinline test.
3504 2015-03-03 Alan Modra <amodra@gmail.com>
3507 * scripts/localplt.awk: Strip off symbol version.
3508 * NEWS: Mention bug fix.
3510 2015-03-02 Roland McGrath <roland@hack.frob.com>
3512 * sysdeps/pthread/timer_routines.c
3513 (timer_free_list, thread_free_list, thread_active_list): Make static.
3515 2015-03-02 Joseph Myers <joseph@codesourcery.com>
3518 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3519 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3522 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3524 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3525 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3528 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3531 * posix/fnmatch_loop.c (END): Detect invalid pattern.
3532 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3534 2015-03-02 Andreas Schwab <schwab@suse.de>
3536 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3539 2015-03-02 Florian Weimer <fweimer@redhat.com>
3541 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3542 Return error status.
3544 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
3547 * locale/findlocale.c (_nl_find_locale): Introduce const
3548 version of loc_name and drop unsafe type casts.
3550 2015-02-27 Roland McGrath <roland@hack.frob.com>
3552 * dlfcn/tststatic2.c (main): Converted to ...
3553 (do_test): ... this.
3554 (TEST_FUNCTION): New macro.
3555 Include test-skeleton.c.
3557 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3560 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3561 (tests-pie): Add vismain.
3562 (CFLAGS-vismain.c): New.
3563 * elf/vismain.c: Add comments for PIE requirement.
3565 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3570 0x1p-56L as threshold for just returning the argument.
3571 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3572 0x1p-32L as threshold for just returning the argument.
3573 * math/auto-libm-test-in: Add more tests of atanh.
3574 * math/auto-libm-test-out: Regenerated.
3575 * sysdeps/i386/fpu/libm-test-ulps: Update.
3576 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3578 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3580 * string/bcopy.c (bcopy): Call memmove for performance.
3582 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3584 * string/bzero.c (__bzero): Call memset for performance.
3586 2015-02-27 John David Anglin <dave.anglin@bell.net>
3589 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3592 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3594 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3596 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3598 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3599 (__kernel_standard): Use CSTR macro when setting exc.name.
3600 * sysdeps/ieee754/Makefile [$(subdir) = math]
3601 (CFLAGS-k_standard.c): Remove variable.
3603 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3604 setting p and q from "else if" to "else".
3606 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3608 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3610 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3612 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3614 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3619 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3620 return pi/2 for arguments below 0x1p-113L.
3621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3622 return pi/2 for arguments below 0x1p-106L.
3623 * math/auto-libm-test-in: Add more tests of acos.
3624 * math/auto-libm-test-out: Regenerated.
3627 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3629 (__ieee754_asin): Force underflow exception for results with small
3631 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3633 (__ieee754_asinf): Force underflow exception for results with
3634 small absolute value.
3635 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3636 (__ieee754_asin): Force underflow exception for results with small
3638 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3639 (__ieee754_asinf): Force underflow exception for results with
3640 small absolute value.
3641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3642 (__ieee754_asinl): Force underflow exception for results with
3643 small absolute value.
3644 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3645 (__ieee754_asinl): Force underflow exception for results with
3646 small absolute value.
3647 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3648 (__ieee754_asinl): Force underflow exception for results with
3649 small absolute value.
3650 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3652 * math/auto-libm-test-in: Do not mark underflow exceptions as
3653 possibly missing for bug 16351.
3654 * math/auto-libm-test-out: Regenerated.
3657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3658 of power of 2 down when low part has opposite sign.
3659 * math/libm-test.inc (logb_test_data): Add more tests.
3661 2015-02-26 Andreas Schwab <schwab@suse.de>
3664 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3665 over collating symbol inside a bracket expression. Minor cleanup.
3666 * posix/tst-fnmatch3.c (do_test): Add test case.
3668 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3671 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3672 Adjust exponent of power of 2 down when low part has opposite
3674 * math/libm-test.inc (ilogb_test_data): Add more tests.
3676 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3679 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3680 the previous change.
3683 * locale/findlocale.c (_nl_find_locale): Retry archive search
3684 after alias expansion.
3686 2015-02-25 Roland McGrath <roland@hack.frob.com>
3688 * iconv/tst-iconv3.c (main): Converted to ...
3689 (do_test): ... this.
3690 (TEST_FUNCTION): New macro.
3691 Include test-skeleton.c.
3693 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3694 (convert): Make function static.
3695 (test_unalign): Likewise. Add const to argument pointee types.
3696 (main): Replace with static function do_test.
3697 Print "Succeeded." only if RET is zero.
3698 (TEST_FUNCTION): New macro.
3699 Include test-skeleton.c.
3701 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3702 returns a null pointer.
3704 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3706 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3707 to __memcpy_ppc only for static builds.
3709 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3712 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3713 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3714 * math/auto-libm-test-in: Add more tests of asinh.
3715 * math/auto-libm-test-out: Regenerated.
3716 * sysdeps/i386/fpu/libm-test-ulps: Update.
3717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3719 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3722 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3723 and ip6_mtuinfo definitions here.
3724 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3725 in this define too. Update comment.
3727 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3729 * elf/sprof.c (load_shobj): Tweak error message to match others.
3731 2015-02-24 Kevin Easton <kevin@guarana.org>
3733 [BZ #16145] (partial fix)
3734 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3735 to reduce lock contention.
3737 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3739 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3740 (struct timex): Update time comment.
3741 (ADJ_SETOFFSET): Define.
3743 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3747 2**56 not 2**28 as threshold for log (2x) formula.
3748 * math/auto-libm-test-in: Add more tests of acosh.
3749 * math/auto-libm-test-out: Regenerated.
3750 * sysdeps/i386/fpu/libm-test-ulps: Update.
3751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3753 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3755 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3756 parenthesis around the buf assignment.
3757 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3759 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3762 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3763 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3764 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3765 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3766 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3767 * math/libm-test.inc (scalb_test_data): Add more tests.
3769 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3772 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3773 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3775 2015-02-24 Eric Rannaud <e@nanocritical.com>
3778 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3779 * io/bits/fcntl2.h (open): Use it.
3781 * io/open.c (__libc_open): Likewise.
3782 * io/open64.c (__libc_open64): Likewise.
3783 * io/open64_2.c (__open64_2): Likewise.
3784 * io/open_2.c (__open_2): Likewise.
3785 * io/openat.c (__openat): Likewise.
3786 * io/openat64.c (__openat64): Likewise.
3787 * io/openat64_2.c (__openat64_2): Likewise.
3788 * io/openat_2.c (__openat_2): Likewise.
3789 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3790 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3791 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3792 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3793 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3794 (__open_nocancel): Likewise.
3795 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3796 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3797 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3799 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3802 * resolv/gethnamaddr.c (getanswer): Skip logging if
3803 RES_USE_DNSSEC is set.
3804 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3806 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3808 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3810 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3812 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3813 201304L, for Unicode 7.
3815 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3818 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3819 shared library. Add gmon-start.os otherwise.
3820 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3821 $(objpfx)gmon-start.os if builing shared library.
3822 ($(objpfx)g$(static-start-installed-name)): Likewise.
3824 2015-02-23 Andreas Schwab <schwab@suse.de>
3826 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3828 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3831 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3832 (enlarge_userbuf): Likewise.
3834 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3836 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3837 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3838 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3839 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3841 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3843 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3844 expression inside statement expression.
3846 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3848 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3849 <sysdeps/nptl/lowlevellock.h> and remove macros and
3850 functions that are now defined there.
3851 (SYS_futex): Remove.
3852 (lll_compare_and_swap): Remove.
3853 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3855 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3858 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3859 instead of scandirat.
3860 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3861 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3862 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3864 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3865 (__scandirat): Declare. Use libc_hidden_proto.
3866 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3868 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3870 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3873 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3875 (__ieee754_atan2): For results with small absolute value, force
3876 underflow exception and remove excess range and precision from
3878 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3880 (__ieee754_atan2f): For results with small absolute value, force
3881 underflow exception and remove excess range and precision from
3883 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3885 (__atan): For results with small absolute value, force underflow
3886 exception and remove excess range and precision from return value.
3887 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3889 (__atanf): For results with small absolute value, force underflow
3890 exception and remove excess range and precision from return value.
3891 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3893 (__ieee754_atan2): Force underflow exception for results with
3894 small absolute value.
3895 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3897 (atan): Force underflow exception for results with small absolute
3899 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3900 (__atanf): Force underflow exception for results with small
3902 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3904 (__atanl): Force underflow exception for results with small
3906 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3907 (__atanl): Force underflow exception for results with small
3909 * sysdeps/x86/fpu/bits/mathinline.h
3910 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3911 (__ieee754_atan2): Only define inline for long double.
3912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3913 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3914 * math/auto-libm-test-in: Do not mark underflow exceptions as
3915 possibly missing for bug 15319. Add more tests of atan2.
3916 * math/auto-libm-test-out: Regenerated.
3917 * math/libm-test.inc (casin_test_data): Do not mark underflow
3918 exceptions as possibly missing for bug 15319.
3919 (casinh_test_data): Likewise.
3920 * sysdeps/i386/fpu/libm-test-ulps: Update.
3922 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3924 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3925 * sysdeps/mips/bits/endian.h: Fix comments.
3927 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3930 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3931 (hdestroy_r): Likewise.
3932 (hsearch_r): Likewise.
3933 (__hcreate_r): Declare and use libc_hidden_proto.
3934 (__hdestroy_r): Likewise.
3935 (__hsearch_r): Likewise.
3936 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3937 (hcreate): Call __hcreate_r instead of hcreate_r.
3938 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3939 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3940 as weak alias of __hcreate_r.
3941 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3943 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3945 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3947 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3948 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3949 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3950 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3952 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3954 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3955 arena_lock into a single arena_get.
3957 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3959 * dl-reloc.c: Inlucde libc-internal.h.
3960 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3961 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3962 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3963 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3964 (grow_heap): Likewise.
3965 * malloc/malloc.c: Include libc-internal.h.
3966 (do_check_malloc): Call powerof2.
3967 (sysmalloc): Use pagesize. Call ALIGN_UP.
3968 (systrim): Use pagesize.
3969 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3970 (__libc_valloc): Use pagesize.
3971 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3973 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3976 * include/sys/resource.h (__getrlimit64): Declare. Use
3978 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3979 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3980 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3982 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3984 [!getrlimit64] (getrlimit64): Define as weak alias of
3985 __getrlimit64. Use libc_hidden_weak.
3986 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3987 using __getrlimit64 not __new_getrlimit64.
3988 (__GI_getrlimit64): Likewise.
3989 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3991 (__GI_getrlimit64): Likewise.
3992 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3994 (getrlimit): Add __getrlimit64 alias.
3995 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3997 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3999 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4000 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4002 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4004 * libio/fileops.c: Add missing sys/mman.h
4005 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4007 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4009 * manual/math.texi (Errors in Math Functions): Clarify goals
4010 regarding inexact and underflow exceptions.
4012 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4014 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4015 * sysdeps/mips/memset.S: Ditto.
4017 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4019 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4021 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4023 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4024 (__v1longjmp): Remove versioned symbol.
4025 (__v1siglongjmp): Remove alias and versioned symbol.
4026 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4027 (__v2siglongjmp): Likewise.
4029 2015-02-16 Torvald Riegel <triegel@redhat.com>
4031 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4033 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4035 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4037 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4040 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4041 zero result does not depend on the sign resulting from
4043 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4045 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4046 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4047 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4048 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4049 * math/libm-test.inc (remquo_test_data): Add more tests.
4051 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4053 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4054 Problem reported by J William Piggott.
4056 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4059 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4060 products 4 * y and 2 * y where those would overflow.
4061 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4063 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4064 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4065 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4066 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4067 * math/libm-test.inc (remquo_test_data): Add more tests.
4069 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4071 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4072 [defined _COMPILING_NEWLIB].
4073 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4074 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4076 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4077 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4079 2015-02-16 Torvald Riegel <triegel@redhat.com>
4081 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4084 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4087 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4088 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4089 HOST_STACK_END_ADDR): Likewise.
4091 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4093 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4094 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4095 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4097 2015-02-13 Roland McGrath <roland@hack.frob.com>
4099 * sysdeps/generic/c++-types.data: New file.
4100 * sysdeps/generic/ld.abilist: New file.
4101 * sysdeps/generic/libBrokenLocale.abilist: New file.
4102 * sysdeps/generic/libanl.abilist: New file.
4103 * sysdeps/generic/libc.abilist: New file.
4104 * sysdeps/generic/libcrypt.abilist: New file.
4105 * sysdeps/generic/libdl.abilist: New file.
4106 * sysdeps/generic/libm.abilist: New file.
4107 * sysdeps/generic/libpthread.abilist: New file.
4108 * sysdeps/generic/libresolv.abilist: New file.
4109 * sysdeps/generic/librt.abilist: New file.
4111 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4114 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4115 Compute absolute value of x as modified by fmod, not original
4117 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4118 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4119 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4120 RUN_TEST_ffI_f1_mod8.
4121 (remquo_test_data): Add more tests.
4123 2015-02-13 Roland McGrath <roland@hack.frob.com>
4125 * sysdeps/init_array/pt-crti.S: New file.
4127 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4130 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4131 __builtin_fmaf instead of relying on contraction of a * b + c.
4133 2015-02-12 J William Piggott <elseifthen@gmx.com>
4136 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4139 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4142 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4143 __builtin_fma instead of relying on contraction of a * b + c.
4145 2015-02-12 Roland McGrath <roland@hack.frob.com>
4147 * Makeconfig (ASFLAGS): Add -Werror=undef.
4148 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4149 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4150 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4152 * Makeconfig (after-link): New variable.
4153 (+link-pie, +link-pie-tests): Use it.
4154 (+link-static, +link-static-tests): Likewise.
4155 (+link, +link-tests): Likewise.
4156 * Makerules (build-module, build-module-asneeded): Likewise.
4157 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4159 * elf/Makefile ($(objpfx)ld.so): Likewise.
4161 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4164 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4165 both struct timeval and struct timespec.
4167 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4170 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4172 (__ieee754_exp2l): Do not multiply small fractional parts by
4174 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4177 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4178 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4179 * math/auto-libm-test-in: Add more tests of exp2.
4180 * math/auto-libm-test-out: Regenerated.
4182 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4184 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4187 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4189 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4192 2015-02-12 Andreas Schwab <schwab@suse.de>
4195 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4196 Filter out elision flags from value returned in kind.
4197 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4198 * nptl/tst-pthread-mutexattr.c: New file.
4200 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4202 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4203 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4204 into gnu-gnu, and update comment to refer to abi-tags.
4206 2015-02-11 Joseph Myers <joseph@codesourcery.com>
4209 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4210 (__sincos): Set errno to EDOM for infinite argument.
4211 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4212 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4213 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4214 (__sincosl): Set errno to EDOM for infinite argument.
4215 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4216 (__sincosl): Set errno to EDOM for infinite argument.
4217 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4218 (__sincosl): Set errno to EDOM for infinite argument.
4219 * math/libm-test.inc (sincos_test_data): Test errno setting.
4221 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
4223 * string/strxfrm_l.c: Remove #define STRCMP.
4224 * string/strcoll_l.c: Remove #define STRLEN.
4225 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4226 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4228 2015-02-10 Joseph Myers <joseph@codesourcery.com>
4230 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4231 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4232 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4233 * sysdeps/mips/mips64/Makefile: ... here.
4234 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4235 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4236 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4237 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4238 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4239 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4240 * sysdeps/mips/mips64/n64/Implies: Likewise.
4242 2015-02-10 Roland McGrath <roland@hack.frob.com>
4244 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4245 <sys/time.h>, <string.h>, and <errno.h>.
4246 (dest_offset, dest_address, value, zero): Remove unused variables.
4247 (ldouble): Remove typedef.
4248 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4249 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
4251 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4252 (check): Function removed.
4254 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
4255 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4256 Don't call set_sigaction_FP and remove_sigaction_FP here.
4257 (ldouble_test): Just use 'long double' as macro argument, no need for
4258 the 'ldouble' typedef.
4259 (do_test): Set up SIGFPE handler at start, using plain signal rather
4260 than sigaction. Fix code style.
4262 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
4265 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4268 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4270 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4271 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4273 * sysdeps/powerpc/configure.ac: Remove file.
4274 * sysdeps/powerpc/configure: Likewise.
4276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4277 [sysdep_routines]: Remove wordcopy-power6 object.
4278 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4279 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4280 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4281 (__memmove_ppc32): Likewise.
4282 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4284 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4285 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4286 Remove preprocessor.
4288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4289 [sysdep_routines]: Remove wide chars objects.
4290 [wcsmbs]: New rule for wide char objects.
4292 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4293 Remove wordcopy-power6 obejct.
4294 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4295 Use local call for wordcopy and memcpy symbols.
4296 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4297 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4298 implementation for loader.
4299 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4301 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4302 Remove wordcopy-power7 object.
4303 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4304 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4305 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4306 (_wordcopy_fwd_dest_aligned): Likewise.
4307 (_wordcopy_bwd_aligned): Likewise.
4308 (_wordcopy_bwd_dest_aligned): Likewise.
4310 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4311 Rewrite to call __memmove_ppc instead of include default
4314 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4315 Remove wide chars objects.
4316 [wcsmbs]: New rule for wide char objects.
4318 2015-02-09 Andreas Schwab <schwab@suse.de>
4321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4322 in terms of __O_DIRECTORY.
4324 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4326 * time/getdate.c: Include <stdbool.h>.
4327 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4329 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4332 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
4334 Add ersatz _Static_assert on older C hosts
4335 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4336 pre-C11 C platform that is not known to support _Static_assert.
4338 2015-02-07 Richard Braun <rbraun@sceen.net>
4340 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4342 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4344 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4346 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4347 priority against unexistent AIO_PRIO_DELTA_MAX.
4348 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4350 * misc/fchflags.c (fchflags): Likewise.
4351 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4352 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4353 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4354 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4355 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4357 [__USE_MISC] (chflags, fchflags): Declare functions.
4358 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4359 EINVAL when nfds is greater than FD_SETSIZE.
4360 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4361 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4363 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4364 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4365 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4367 * hurd/hurd/signal.h (_hurd_self_sigstate,
4368 _hurd_critical_section_lock, _hurd_critical_section_unlock):
4369 Explicit casts from void *.
4370 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4371 * abi-tags: Rename gnu-gnu os into gnu.
4374 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4375 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4376 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4377 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4378 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4379 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4382 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4383 duplicates ADDR->sun_path with sockaddr LEN limitation.
4384 * sysdeps/mach/hurd/connect.c: Include <string.h>
4385 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4386 * sysdeps/mach/hurd/sendmsg.c: Likewise.
4387 * sysdeps/mach/hurd/sendto.c: Likewise.
4388 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4389 implementing it by hand.
4391 2015-02-06 Roland McGrath <roland@hack.frob.com>
4393 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4394 Use sfi_breg on ldr.
4395 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4398 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4400 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4401 Test SIGSETXID only if it's defined.
4403 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4405 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4406 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
4408 * nptl/tst-align2.c: Moved ...
4409 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4410 * nptl/Makefile (tests): Remove tst-align2.
4411 * sysdeps/unix/sysv/linux/Makefile
4412 [$(subdir) = nptl] (tests): Add tst-align-clone.
4413 * nptl/tst-getpid1.c: Moved ...
4414 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4415 * nptl/tst-getpid2.c: Moved ...
4416 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4417 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4418 * sysdeps/unix/sysv/linux/Makefile
4419 [$(subdir) = nptl] (tests): ... here.
4420 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4421 * sysdeps/unix/sysv/linux/Makefile
4422 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4424 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4425 Drop trailing \n from perror argument. Use return rather than exit.
4427 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4429 * nptl/tst-cancel21.c (do_test): Likewise.
4430 * debug/tst-backtrace6.c: Include <signal.h> first thing.
4431 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4432 [!SA_SIGINFO]: Make it a stub test.
4434 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4435 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4437 * posix/tst-getlogin.c: Move to ...
4438 * login/tst-getlogin.c: ... here.
4439 * posix/Makefile (tests): Move tst-getlogin to ...
4440 * login/Makefile (tests): ... here.
4442 * libio/tst-atime.c (do_test): Move local variables SV and E
4443 inside [ST_NOATIME] conditional.
4445 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4447 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4449 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4450 (wait_code): New function replaces macro.
4451 Call nanosleep rather than syscall.
4453 * nptl/pt-system.c: Rewritten. Put everything under
4454 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4455 Use IFUNC to redirect when possible.
4457 * nptl/pt-longjmp.c: Rewritten. Put everything under
4458 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4459 Use IFUNC to redirect when possible.
4461 * nptl/pt-fork.c: Rewritten. Put everything under
4462 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4463 Use IFUNC to redirect when possible.
4464 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4466 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4467 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4468 unconditionally nowadays. This included the only reference to
4469 __vdso_clock_gettime that appears outside libc proper.
4470 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4471 Remove version set (containing only __vdso_clock_gettime).
4472 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4473 Add attribute_hidden.
4474 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4475 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4476 libc_hidden_data_def.
4477 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4478 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4480 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4481 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4482 setrpcent, and getrpcport to ...
4483 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4484 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4485 getrpcbynumber_r, and getrpcent_r to ...
4486 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4487 * inet/getrpcbyname.c: Moved ...
4488 * sunrpc/getrpcbyname.c: ... here.
4489 * inet/getrpcbyname_r.c: Moved ...
4490 * sunrpc/getrpcbyname_r.c: ... here.
4491 * inet/getrpcbynumber.c: Moved ...
4492 * sunrpc/getrpcbynumber.c: ... here.
4493 * inet/getrpcbynumber_r.c: Moved ...
4494 * sunrpc/getrpcbynumber_r.c: ... here.
4495 * inet/getrpcent.c: Moved ...
4496 * sunrpc/getrpcent.c: ... here.
4497 * inet/getrpcent_r.c: Moved ...
4498 * sunrpc/getrpcent_r.c: ... here.
4499 * inet/Makefile (routines): Move those to ...
4500 * sunrpc/Makefile (routines): ... here.
4501 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4502 the $(subdirs) list.
4503 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
4504 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4505 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4506 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4508 * elf/Makefile (routines): Include $(all-dl-routines), not just
4510 (rtld-routines): Likewise. Use = rather than :=.
4511 * sysdeps/aarch64/Makefile [$(subdir) = elf]
4512 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4513 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4514 * sysdeps/arm/Makefile: Likewise.
4515 * sysdeps/i386/Makefile: Likewise.
4516 * sysdeps/x86_64/Makefile: Likewise.
4517 * sysdeps/hppa/Makefile [$(subdir) = elf]
4518 (sysdep_routines, sysdep-rtld-routines): Don't add
4519 $(sysdep-dl-routines) to these.
4520 * sysdeps/ia64/Makefile: Likewise.
4521 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4522 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4523 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4524 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4525 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4526 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4527 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4528 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4529 * sysdeps/powerpc/Makefile [$(subdir) = elf]
4530 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4531 these; sysdep-dl-routines alone is enough.
4533 2015-02-06 Joseph Myers <joseph@codesourcery.com>
4536 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4537 where multiplication results in zero and third argument is finite
4539 * math/auto-libm-test-in: Add more tests of fma.
4540 * math/auto-libm-test-out: Regenerated.
4542 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4543 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4544 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4545 (_FP_CMP_EQ): Likewise.
4546 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4548 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4549 extra argument CHECK_NAN. Redefine as wrapper around
4552 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4554 * version.h (RELEASE): Set to "stable".
4555 (VERSION): Set to "2.21"
4556 * include/features.h (__GLIBC_MINOR__): Set to 21.
4558 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4560 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4561 Paul Eggert <eggert@cs.ucla.edu>
4564 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4565 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4566 size in bytes. Store needed elements in wpmax. Use needed size
4567 in bytes for extend_alloca.
4569 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4571 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4572 binutls 2.25, and texinfo 5.2.
4573 * INSTALL: Regenerate.
4574 * sysdeps/nios2/configure: Regenerate.
4575 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4576 * manual/contrib.texi: Update.
4600 * po/pt_BR.po: Update.
4609 * po/zh_CN.po: Update.
4610 * po/zh_TW.po: Update.
4612 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4613 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4614 * sysdeps/hppa/dl-irel.h: Remove #warning.
4615 * sysdeps/hppa/entry.h: Provide prototype for
4616 __canonicalize_funcptr_for_compare and cast argument.
4617 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4618 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4619 * sysdeps/hppa/sotruss-lib.c: New file.
4620 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4621 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4622 (atomic_compare_and_exchange_bool_acq): Likewise.
4623 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4624 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4626 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4627 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4628 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4630 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4632 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4633 called function in non-PIC case.
4635 2015-01-31 David S. Miller <davem@davemloft.net>
4637 * sysdeps/sparc/sparc32/bits/atomic.h
4638 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4639 unlock not after it.
4640 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4641 volatile register usage warnings from the compiler.
4643 * sysdeps/sparc/nptl/sem_init.c: Delete.
4644 * sysdeps/sparc/nptl/sem_post.c: Delete.
4645 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4646 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4647 * sysdeps/sparc/sparc32/sem_init.c: New file.
4648 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4649 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4650 padding explicitly initialized.
4651 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4652 padding for in-semaphore spinlock.
4653 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4654 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4655 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4656 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4657 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4658 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4659 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4660 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4662 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4663 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4665 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4669 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4670 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4672 (index_AVX_Fast_Unaligned_Load): Likewise.
4673 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4674 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4675 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4676 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4677 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4678 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4679 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4680 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4681 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4683 2015-01-29 Andreas Schwab <schwab@suse.de>
4685 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4687 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4690 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4692 2015-01-28 Martin Sebor <msebor@redhat.com>
4694 * math/README.libm-test: Clarify. Add "How to read the test output."
4696 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4698 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4701 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4703 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4704 (__HAVE_64B_ATOMICS): Define to 0.
4706 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4709 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4710 value to set as new flag.
4713 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4714 and use _ARCH_PPCSQ instead.
4715 (__ieee754_sqrt): Likewise.
4716 (__ieee754_sqrtf): Likewise.
4717 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4718 _ARCH_PPCSQ is defined.
4719 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4721 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4722 _ARCH_PPCSQ is defined.
4723 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4725 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4727 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4729 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4730 bug (GCC BZ #64739).
4732 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4734 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4735 Mark _retval as used.
4736 (lll_futex_wake_unlock): Likewise.
4737 (lll_futex_timed_wait_requeue_pi): Likewise.
4739 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4740 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4743 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4746 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4747 (__bswap_64): Mark as __always_inline.
4749 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4752 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4753 when none of the search directories exist.
4755 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4758 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4759 power8 in .machine directive.
4762 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4763 set dependency from opd value.
4765 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4768 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4771 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4774 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4776 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4778 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4779 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4780 Replace 1UL with (uint64_t) 1.
4781 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4784 2015-01-23 Roland McGrath <roland@hack.frob.com>
4786 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4787 (if_freenameindex): Likewise.
4789 * resource/getrlimit64.c: Add missing libc_hidden_def.
4791 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4793 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4795 (_FP_FMA): Likewise.
4796 (_FP_TO_INT_ROUND): Likewise.
4797 (_FP_FROM_INT): Likewise.
4799 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4802 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4803 Make code racy and cancel safe.
4805 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4807 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4808 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4811 * pwd/tst-getpw.c: Rewrite.
4814 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4815 (modules-names): Add moddummy1 and moddummy2.
4816 ($(objpfx)tst-rec-dlopen): Define.
4817 * dlfcn/moddummy1.c: New file.
4818 * dlfcn/moddummy2.c: New file.
4819 * dlfcn/tst-rec-dlopen.c: New file.
4820 * elf/dl-cache.c (_dl_load_cache_lookup):
4821 Return char*. Copy result with alloca/strcpy/strdup.
4822 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4823 returns char*. Free cached. If not saving realname
4825 * elf/dl-open.c (dl_open_worker): Do not assert that
4826 _r_debug->r_state is RT_CONSISTENT.
4827 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4830 2015-01-21 Torvald Riegel <triegel@redhat.com>
4831 Carlos O'Donell <carlos@redhat.com>
4834 * nptl/sem_waitcommon.c: New file.
4835 * nptl/sem_wait.c: Include sem_waitcommon.c.
4836 (__sem_wait_cleanup, do_futex_wait): Remove.
4837 (__new_sem_wait): Adapt.
4838 (__new_sem_trywait): New function.
4839 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4840 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4841 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4842 (sem_timedwait): Adapt.
4843 * nptl/sem_post.c (__new_sem_post): Adapt.
4844 (futex_wake): New function.
4845 (__old_sem_post): Add release MO fence.
4846 * nptl/sem_open.c (sem_open): Adapt.
4847 * nptl/sem_init.c (__new_sem_init): Adapt.
4848 (futex_private_if_supported): New function.
4849 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4850 (__old_sem_getvalue): Add using previous code.
4851 * sysdeps/nptl/internaltypes.h: Adapt.
4852 * nptl/tst-sem13.c (do_test): Adapt.
4853 * nptl/tst-sem11.c (main): Adapt.
4854 * nptl/sem_trywait.c: Remove.
4855 * nptl/DESIGN-sem.txt: Remove.
4856 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4857 (gen-as-const-headers): Remove structsem.sym.
4858 * nptl/structsem.sym: Remove.
4859 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4860 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4861 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4862 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4863 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4864 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4865 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4866 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4867 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4868 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4869 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4870 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4871 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4872 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4873 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4874 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4875 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4876 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4877 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4878 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4879 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4880 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4882 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4884 * INSTALL: Regenerated.
4886 * po/libc.pot: Regenerated.
4888 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4889 Sandra Loosemore <sandra@codesourcery.com>
4890 Andrew Jenner <andrew@codesourcery.com>
4891 Joseph Myers <joseph@codesourcery.com>
4892 Nathan Sidwell <nathan@codesourcery.com>
4894 * NEWS: Mention new Nios II port.
4895 * sysdeps/nios2/Implies: New file.
4896 * sysdeps/nios2/Makefile: New file.
4897 * sysdeps/nios2/Subdirs: New file.
4898 * sysdeps/nios2/Versions: New file.
4899 * sysdeps/nios2/__longjmp.S: New file.
4900 * sysdeps/nios2/abort-instr.h: New file.
4901 * sysdeps/nios2/backtrace.c: New file.
4902 * sysdeps/nios2/bits/endian.h: New file.
4903 * sysdeps/nios2/bits/fenv.h: New file.
4904 * sysdeps/nios2/bits/link.h: New file.
4905 * sysdeps/nios2/bits/setjmp.h: New file.
4906 * sysdeps/nios2/bsd-_setjmp.S: New file.
4907 * sysdeps/nios2/bsd-setjmp.S: New file.
4908 * sysdeps/nios2/configure: New generated file.
4909 * sysdeps/nios2/configure.ac: New file.
4910 * sysdeps/nios2/crti.S: New file.
4911 * sysdeps/nios2/crtn.S: New file.
4912 * sysdeps/nios2/dl-init.c: New file.
4913 * sysdeps/nios2/dl-machine.h: New file.
4914 * sysdeps/nios2/dl-sysdep.h: New file.
4915 * sysdeps/nios2/dl-tls.h: New file.
4916 * sysdeps/nios2/dl-trampoline.S: New file.
4917 * sysdeps/nios2/gccframe.h: New file.
4918 * sysdeps/nios2/gmp-mparam.h: New file.
4919 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4920 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4921 * sysdeps/nios2/ldsodefs.h: New file.
4922 * sysdeps/nios2/libc-tls.c: New file.
4923 * sysdeps/nios2/libm-test-ulps: New file.
4924 * sysdeps/nios2/machine-gmon.h: New file.
4925 * sysdeps/nios2/math-tests.h: New file.
4926 * sysdeps/nios2/math_private.h: New file.
4927 * sysdeps/nios2/memusage.h: New file.
4928 * sysdeps/nios2/nptl/Makefile: New file.
4929 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4930 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4931 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4932 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4933 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4934 * sysdeps/nios2/nptl/tls.h: New file.
4935 * sysdeps/nios2/preconfigure: New file.
4936 * sysdeps/nios2/s_fma.c: New file.
4937 * sysdeps/nios2/s_fmaf.c: New file.
4938 * sysdeps/nios2/setjmp.S: New file.
4939 * sysdeps/nios2/sfp-machine.h: New file.
4940 * sysdeps/nios2/sotruss-lib.c: New file.
4941 * sysdeps/nios2/stackguard-macros.h: New file.
4942 * sysdeps/nios2/stackinfo.h: New file.
4943 * sysdeps/nios2/start.S: New file.
4944 * sysdeps/nios2/sysdep.h: New file.
4945 * sysdeps/nios2/tls-macros.h: New file.
4946 * sysdeps/nios2/tst-audit.h: New file.
4947 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4948 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4949 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4950 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4951 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4952 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4953 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4954 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4955 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4956 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4957 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4958 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4959 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4960 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4961 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4962 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4963 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4964 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4965 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4966 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4967 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4968 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4969 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4970 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4971 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4972 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4973 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4974 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4975 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4976 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4977 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4978 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4979 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4980 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4981 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4982 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4983 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4984 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4985 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4986 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4987 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4988 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4989 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4990 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4992 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4995 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4996 (getutent): Use weak_alias in non SHARED case
4997 and default_symbol_version in SHARED case.
4998 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4999 (getutent_r, pututline): Likewise.
5000 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5001 (getutid): Likewise.
5002 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5003 (getutid_r): Likewise.
5004 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5005 (getutline): Likewise.
5006 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5007 (getutline_r): Likewise.
5008 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5009 (updwtmp): Likewise.
5011 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5014 * sysdeps/s390/s390-32/memcmp.S
5015 (memcmp_g5): Rename to __memcmp_g5.
5016 * sysdeps/s390/s390-32/memcpy.S
5017 (memcpy_g5): Rename to __memcpy_g5.
5018 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5019 (memcpy_mvcle) Rename to __memcpy_mvcle.
5020 * sysdeps/s390/s390-32/memset.S
5021 (memset_g5): Rename to __memset_g5.
5022 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5023 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5024 and use prefixed functions.
5025 * sysdeps/s390/s390-32/multiarch/memcmp.S
5026 (memcmp_z196): Rename to __memcmp_z196.
5027 (memcmp_z10): Rename to __memcmp_z10.
5028 (memcmp): Set alias to __memcmp_g5.
5029 (bcmp): Set alias to __memcmp_g5.
5030 * sysdeps/s390/s390-32/multiarch/memcpy.S
5031 (memcpy_z196): Rename to __memcpy_z196.
5032 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5033 (memcpy_z10): Rename to __memcpy_z10.
5034 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5035 (memcpy): Set alias to __memcpy_g5.
5036 * sysdeps/s390/s390-32/multiarch/memset.S
5037 (memset_z196): Rename to __memset_z196.
5038 Jump to __memset_mvcle instead of memset_mvcle.
5039 (memset_z10): Rename to __memset_z10.
5040 Jump to __memset_mvcle instead of memset_mvcle.
5041 (memset_mvcle) Rename to __memset_mvcle.
5042 (memset): Set alias to __memset_g5.
5043 * sysdeps/s390/s390-64/memcmp.S
5044 (memcmp_z900): Rename to __memcmp_z900.
5045 * sysdeps/s390/s390-64/memcpy.S
5046 (memcpy_z900): Rename to __memcpy_z900.
5047 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5048 (memcpy_mvcle) Rename to __memcpy_mvcle.
5049 * sysdeps/s390/s390-64/memset.S
5050 (memset_z900): Rename to __memset_z900.
5051 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5052 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5053 and use prefixed functions.
5054 * sysdeps/s390/s390-64/multiarch/memcmp.S
5055 (memcmp_z196): Rename to __memcmp_z196.
5056 (memcmp_z10): Rename to __memcmp_z10.
5057 (memcmp): Set alias to __memcmp_z900.
5058 (bcmp): Set alias to __memcmp_z900.
5059 * sysdeps/s390/s390-64/multiarch/memcpy.S
5060 (memcpy_z196): Rename to __memcpy_z196.
5061 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5062 (memcpy_z10): Rename to __memcpy_z10.
5063 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5064 (memcpy): Set alias to __memcpy_z900.
5065 * sysdeps/s390/s390-64/multiarch/memset.S
5066 (memset_z196): Rename to __memset_z196.
5067 Jump to __memset_mvcle instead of memset_mvcle.
5068 (memset_z10): Rename to __memset_z10.
5069 Jump to __memset_mvcle instead of memset_mvcle.
5070 (memset_mvcle) Rename to __memset_mvcle.
5071 (memset): Set alias to __memset_z900.
5073 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5076 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5077 __fesetenv instead of fesetenv.
5079 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5081 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5084 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5086 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5089 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5090 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5091 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5092 strncmp-power8 object.
5093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5094 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5095 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5098 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5099 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5101 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5102 trailing byte check.
5104 2015-01-13 David S. Miller <davem@davemloft.net>
5106 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5108 2015-01-13 Roland McGrath <roland@hack.frob.com>
5110 * login/logout.c (logout): Use memset rather than bzero.
5111 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5112 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5113 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5114 (_gethtbyaddr): Likewise.
5115 * locale/programs/simple-hash.c (bcopy): Macro removed.
5117 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5119 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5120 Add strcmp-power8 object.
5121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5122 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5123 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5124 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5125 __strcmp_power8 implementation.
5126 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5129 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5130 Add strncpy-power8 and stpncpy-power8 objects.
5131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5132 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5134 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5135 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5136 __stpncpy_power8 implementation.
5137 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5138 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5139 __strncpy_power8 implementation.
5140 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5141 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5144 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5145 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5146 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5148 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5149 strncat-power8 object.
5150 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5151 __strcat_power8 implementation.
5152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5153 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5154 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5155 optimized strcat for power8.
5157 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5158 strcpy-power8 and stpcpy-power8 objects.
5159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5160 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5162 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5163 multiarch stpcpy implementation for POWER8.
5164 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5165 multiarch strcpy implementation for POWER8.
5166 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5167 __strcpy_power8 function.
5168 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5170 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5174 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5177 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5178 weights and rules. Use do_xfrm_cached if data fits in cache,
5179 do_xfrm otherwise. Moved former main loop to...
5180 * (do_xfrm_cached): New function.
5181 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5182 find_idx, find_position and stack_push.
5183 * (find_idx): New function.
5184 * (find_position): Likewise.
5185 * localedata/sort-test.sh: Added test run for do_xfrm.
5186 * localedata/xfrm-test.c (main): Added command line option
5187 -nocache to run the test with strings that are too large for
5190 2015-01-13 Torvald Riegel <triegel@redhat.com>
5192 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5193 variable to lll_futex_wake call, not the value itself.
5195 2015-01-12 Joseph Myers <joseph@codesourcery.com>
5198 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5199 twom64. Adjust value to 0x1p-64L.
5200 (__scalblnl): Only return standard underflowing result for K <=
5201 -64 not K <= -63; adjust exponent for underflowing result by 64
5203 * math/libm-test.inc (scalbn_test_data): Add more tests.
5204 (scalbln_test_data): Likewise.
5207 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5209 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5211 * math/libm-test.inc (scalbn_test_data): Add more tests.
5212 (scalbln_test_data): Likewise.
5214 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5215 Stefani Seibold <stefani@seibold.net>
5217 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5218 (sysdep_routines): Add dl-vdso here, ...
5219 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5220 (sysdep_routines): ... not here.
5221 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5222 fallback when vDSO is not presented.
5223 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5224 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5225 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5226 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5227 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5228 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5229 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5230 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5231 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5233 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5234 fallback configurable symbol when vDSO is not available.
5235 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5236 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5237 be able to redefine fallback symbol when vDSO is not available.
5238 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5239 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5241 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5243 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5244 (TLS_INIT_TP): Add tm_capable initialization.
5245 (TLS_DEFINE_INIT_TP): Likewise.
5246 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5248 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5249 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5251 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5252 transactoion is lock elision is built and TCB tm_capable is set.
5253 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5255 (INTERNAL_SYSCALL_NCS): Likewise.
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5257 (INTERNAL_SYSCALL_NCS): Likewise.
5258 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5260 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5262 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5263 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5264 and remove it for 32 bits case.
5265 [pthread_rwlock_t] (__rwelision): New field for lock elision.
5266 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5268 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5269 Disable lock elision with rdlocks if elision is not available.
5271 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5272 (sysdep_routines): Add lock elision objects.
5273 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5274 [pthread_mutex_t] (__spins): Rework to add lock elision field.
5275 [pthread_mutex_t] (__elision): Add field.
5276 [__PTHREAD_SPINS]: Adjust to init lock elision field.
5277 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5278 elision definitions for powerpc.
5279 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5280 implementation of lock elision for powerpc.
5281 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5282 implementation of timed lock elision for powerpc.
5283 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5284 implementation of trylock with lock elision for powerpc.
5285 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5286 implementaion of unlock for lock elision for powerpc.
5287 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5288 automatic enable lock elision for mutexes.
5289 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5290 transaction execution definitions for powerpc.
5291 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5293 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5294 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5295 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5296 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5299 2015-01-09 Roland McGrath <roland@hack.frob.com>
5301 * sysdeps/posix/shm-directory.c: Use <> rather than ""
5302 for #include of <shm-directory.h>.
5304 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
5306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5307 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5309 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
5312 * NEWS: Mention bug fix.
5313 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5314 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5315 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5317 2015-01-09 Torvald Riegel <triegel@redhat.com>
5319 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5321 2015-01-09 Torvald Riegel <triegel@redhat.com>
5323 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5325 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5327 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5328 pointer and cast to uintptr_t.
5330 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5332 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5334 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5336 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5338 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5341 2015-01-08 Roland McGrath <roland@hack.frob.com>
5343 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5344 <nptl/pthreadP.h> instead.
5345 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5347 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5349 [__SIGRTMIN] (init): Function removed.
5350 [__SIGRTMIN] (initialized): Variable removed.
5351 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5352 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5353 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5354 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5355 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5356 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5357 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5358 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5359 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5360 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5361 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5362 * sysdeps/nptl/allocrtsig.c: New file.
5363 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5364 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5365 * sysdeps/generic/testrtsig.h: File removed.
5367 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5368 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5370 * nptl/nptl-init.c (pthread_functions): Conditionalize
5371 .ptr__nptl_setxid initialization on [SIGSETXID].
5373 * sysdeps/nptl/sys/procfs.h: New file.
5374 * nptl_db/Makefile (headers): Add it.
5375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5377 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5378 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5379 * nptl/pthread_attr_setaffinity.c: Include it.
5380 * nptl/pthread_setattr_default_np.c: Likewise.
5381 * nptl/check-cpuset.h: New file.
5383 2015-01-08 Richard Henderson <rth@redhat.com>
5385 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5386 (CFLAGS-tst-execstack-prog.c): Likewise.
5387 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5389 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
5390 Sandra Loosemore <sandra@codesourcery.com>
5391 Andrew Jenner <andrew@codesourcery.com>
5392 Joseph Myers <joseph@codesourcery.com>
5393 Nathan Sidwell <nathan@codesourcery.com>
5395 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5396 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5397 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5398 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5399 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5400 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5401 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5402 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5403 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5404 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5405 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5406 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5407 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5408 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5409 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5410 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5411 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5413 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5415 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5416 timespec struct member in syscall macro.
5417 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5418 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5419 first timeval struct member in syscall macro.
5420 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5422 2015-01-07 Joseph Myers <joseph@codesourcery.com>
5425 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5426 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5427 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5428 __feupdateenv and define as weak alias of __feupdateenv. Use
5430 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5432 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5433 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
5434 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5435 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5437 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5438 __feupdateenv and define as weak alias of __feupdateenv. Use
5440 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5442 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5443 __feupdateenv and define as weak alias of __feupdateenv. Use
5445 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5447 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5448 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5449 (__feupdateenv): Likewise.
5450 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5451 __feupdateenv and define as weak alias of __feupdateenv. Use
5453 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5454 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5456 * sysdeps/tile/math_private.h (__feupdateenv): New inline
5458 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5460 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5461 __feupdateenv instead of feupdateenv.
5462 (default_libc_feupdateenv_test): Likewise.
5463 (libc_feresetround_ctx): Likewise.
5465 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5467 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5470 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
5472 * posix/regcomp.c (parse_bracket_exp): Initialize type to
5473 COLL_SYM in a couple of places to avoid uninitialized variable
5474 wanings on tilegx gcc 4.8.2.
5476 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5478 * sysdeps/aarch64/strcpy.S: New file.
5479 * sysdeps/aarch64/stpcpy.S: New file.
5482 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5484 * sysdeps/aarch64/strrchr.S: New file.
5487 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
5490 * stdlib/setenv.c: Fix memory leak when setting large,
5493 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5496 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5497 and tabs from buffer before parsing fstab entry.
5498 * misc/tst-mntent.c (main): Add test for mount entry with
5499 trailing spaces and tabs.
5501 2015-01-06 Joseph Myers <joseph@codesourcery.com>
5504 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
5505 * math/fesetround.c (fesetround): Rename to __fesetround and
5506 define as weak alias of __fesetround. Use libm_hidden_weak.
5507 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5508 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5509 * sysdeps/arm/fesetround.c (fesetround): Likewise.
5510 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5511 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5512 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5513 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5514 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5515 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5516 __fesetround_inline.
5517 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5518 __fesetround_inline instead of __fesetround.
5519 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5520 __fesetround and define as weak alias of __fesetround. Use
5521 libm_hidden_weak. Call __fesetround_inline instead of
5523 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5524 __fesetround and define as weak alias of __fesetround. Use
5526 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5528 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5529 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5530 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5531 * sysdeps/tile/math_private.h (__fesetround): New inline function.
5532 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5533 __fesetround and define as weak alias of __fesetround. Use
5535 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5536 __fesetround instead of fesetround.
5537 (default_libc_feholdexcept_setround): Likewise.
5538 (libc_feholdsetround_ctx): Likewise.
5539 (libc_feholdsetround_noex_ctx): Likewise.
5542 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5543 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5544 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5545 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5546 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5547 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5548 define as weak alias of __fesetenv. Use libm_hidden_weak.
5549 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5550 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5551 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5552 define as weak alias of __fesetenv. Use libm_hidden_weak.
5553 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5554 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5555 define as weak alias of __fesetenv. Use libm_hidden_weak.
5556 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5558 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5559 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5561 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5562 define as weak alias of __fesetenv. Use libm_hidden_weak.
5563 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5564 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5565 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5566 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5567 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5568 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5569 __fesetenv instead of fesetenv.
5570 (libc_feresetround_noex_ctx): Likewise.
5571 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5572 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5573 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5574 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5575 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5576 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5577 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5578 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5579 (__feupdateenv): Likewise.
5580 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5581 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5582 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5583 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5585 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5588 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5589 addresses have been freed.
5591 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5593 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5596 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5598 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5599 Clean up check_pf allocation pattern. addresses
5601 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5603 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5604 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5605 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5606 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5607 * nptl/pthread_join.c (pthread_join): Likewise.
5608 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5609 * sysdeps/posix/waitid.c (__waitid): Likewise.
5610 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5611 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5612 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5613 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5614 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5616 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5617 (__libc_pread64): Likewise.
5618 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5619 (__libc_pwrite): Likewise.
5620 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5621 (__libc_pwrite64): Likewsie.
5622 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5623 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5624 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5625 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5626 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5627 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5628 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5632 (__libc_pread64): Likewise.
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5636 (__libc_pwrite64): Likewise.
5637 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5638 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5639 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5640 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5641 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5642 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5643 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5644 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5645 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5646 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5647 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5648 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5649 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5650 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5651 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5652 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5655 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5657 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5658 (CFLAGS-test-double.c): Likewise.
5659 (CFLAGS-test-ldouble.c): Likewise.
5660 (CPPFLAGS-test-ifloat.c): Likewise.
5661 (CPPFLAGS-test-idouble.c): Likewise.
5662 (CPPFLAGS-test-ildoubl.c): Likewise.
5663 (CFLAGS-test-test-fenv.c): Remove variable.
5664 (CFLAGS-test-misc.c): Likewise.
5666 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5669 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5670 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5671 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5672 CLOCKS_PER_SEC == 1000000.
5673 * time/clocktest.c (main): Replace %ld with %jd and cast to
5676 2015-01-05 Roland McGrath <roland@hack.frob.com>
5678 * sysdeps/generic/unwind-resume.h: New file.
5679 * sysdeps/gnu/unwind-resume.c: Include it.
5680 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5681 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5683 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5684 global rather than static.
5685 (_Unwind_Resume): Update user.
5686 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5687 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5688 rather than static. Add __attribute__ ((cold)).
5689 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5690 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5691 * sysdeps/arm/arm-unwind-resume.S: New file.
5692 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5693 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5694 * sysdeps/arm/Makefile [$(subdir) = csu]
5695 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5696 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5697 Add rt-arm-unwind-resume.
5699 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5700 Add pt-arm-unwind-resume.
5701 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5702 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5704 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5707 * include/fenv.h (__feholdexcept): Declare. Use
5709 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5710 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5711 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5712 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5713 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5714 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5715 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5716 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5717 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5718 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5719 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5720 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5721 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5722 (feholdexcept): Likewise.
5723 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5724 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5725 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5726 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5727 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5728 __feholdexcept instead of feholdexcept.
5729 (default_libc_feholdexcept_setround): Likewise.
5731 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5733 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5734 to avoid using stl/str to align destination.
5736 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5738 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5740 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5743 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5744 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5745 Define as weak alias not strong alias.
5747 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5749 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5750 bltzal with addiupc.
5751 (RTLD_START): Ditto.
5753 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5755 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5756 for __vdso_* functions in declarations.
5757 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5759 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5760 INTERNAL_VSYSCALL): Use struct return types to check for error.
5762 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5763 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5764 function with cast from llround().
5765 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5766 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5769 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5772 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5773 Define as weak alias not strong alias.
5776 * ctype/ctype-c99.c: New file. isblank implementation moved from
5778 * ctype/ctype-extn.c: ... here.
5779 (__isblank_l): Move to ...
5780 * ctype/ctype-c99_l.c: ... here. New file.
5781 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5782 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5784 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5785 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5786 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5787 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5788 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5791 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5792 (posix_fadvise64): Define as weak alias not strong alias.
5793 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5794 (posix_fallocate64): Likewise.
5795 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5797 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5798 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5799 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5800 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5801 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5803 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5806 * NEWS: Mention bug fix.
5807 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5808 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5809 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5810 (HOST_STACK_END_ADDR): Likewise.
5812 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5815 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5816 * math/fegetround.c (fegetround): Rename to __fegetround and
5817 define as weak alias of __fegetround. Use libm_hidden_weak.
5818 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5819 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5820 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5821 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5822 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5823 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5824 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5825 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5826 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5827 Undefine after rather than before function definition; use
5828 parentheses around function name in definition.
5829 (__fegetround): Also undefine macro after function definition.
5830 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5831 __fegetround and define as weak alias of __fegetround. Use
5832 libm_hidden_weak. Do not undefine as macro.
5833 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5835 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5836 __fegetround and define as weak alias of __fegetround. Use
5838 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5839 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5840 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5841 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5842 __fegetround and define as weak alias of __fegetround. Use
5844 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5845 __fegetround instead of fegetround.
5848 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5849 Condition macro definition on [__USE_MISC].
5852 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5853 (struct sigaction): Change type of sa_flags field to int.
5856 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5857 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5860 * nptl/version.c (banner): Use single year in copyright notice.
5862 * NEWS: Update copyright dates.
5863 * catgets/gencat.c (print_version): Likewise.
5864 * csu/version.c (banner): Likewise.
5865 * debug/catchsegv.sh: Likewise.
5866 * debug/pcprofiledump.c (print_version): Likewise.
5867 * debug/xtrace.sh (do_version): Likewise.
5868 * elf/ldconfig.c (print_version): Likewise.
5869 * elf/ldd.bash.in: Likewise.
5870 * elf/pldd.c (print_version): Likewise.
5871 * elf/sotruss.sh: Likewise.
5872 * elf/sprof.c (print_version): Likewise.
5873 * iconv/iconv_prog.c (print_version): Likewise.
5874 * iconv/iconvconfig.c (print_version): Likewise.
5875 * locale/programs/locale.c (print_version): Likewise.
5876 * locale/programs/localedef.c (print_version): Likewise.
5877 * login/programs/pt_chown.c (print_version): Likewise.
5878 * malloc/memusage.sh (do_version): Likewise.
5879 * malloc/memusagestat.c (print_version): Likewise.
5880 * malloc/mtrace.pl: Likewise.
5881 * manual/libc.texinfo: Likewise.
5882 * nptl/version.c (banner): Likewise.
5883 * nscd/nscd.c (print_version): Likewise.
5884 * nss/getent.c (print_version): Likewise.
5885 * nss/makedb.c (print_version): Likewise.
5886 * posix/getconf.c (main): Likewise.
5887 * scripts/test-installation.pl: Likewise.
5888 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5890 2015-01-02 Will Newton <will.newton@linaro.org>
5892 * sysdeps/arm/armv7/configure: Removed.
5893 * sysdeps/arm/armv7/configure.ac: Likewise.
5895 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5897 * All files with FSF copyright notices: Update copyright dates
5898 using scripts/update-copyrights.
5899 * intl/plural.c: Regenerated.
5900 * locale/programs/charmap-kw.h: Likewise.
5901 * locale/programs/locfile-kw.h: Likewise.
5903 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5905 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5907 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5910 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5911 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5912 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5913 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5914 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5915 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5916 define as weak alias of __fegetenv. Use libm_hidden_weak.
5917 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5918 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5919 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5920 define as weak alias of __fegetenv. Use libm_hidden_weak.
5921 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5922 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5923 define as weak alias of __fegetenv. Use libm_hidden_weak.
5924 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5926 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5927 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5929 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5930 define as weak alias of __fegetenv. Use libm_hidden_weak.
5931 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5932 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5933 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5934 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5935 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5936 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5937 __fegetenv instead of fegetenv.
5938 (libc_feholdsetround_noex_ctx): Likewise.
5940 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5942 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5943 (Elf_MIPS_ABIFlags_v0): New structure.
5944 (EF_MIPS_FP64): Define.
5945 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5946 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5947 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5948 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5949 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5950 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5951 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5952 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5953 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5954 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5955 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5956 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5957 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5958 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5959 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5960 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5961 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5962 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5963 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5964 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5965 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5966 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5968 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5970 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5971 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5972 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5973 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5974 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5975 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5976 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5977 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5978 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5979 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5980 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5981 record the current FP ABI extension.
5982 (mips-mode-switch): Define to show if kernel headers support mode
5984 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5985 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5986 supported SYSV ABI version to 3.
5987 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5990 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5991 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5993 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5995 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5997 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5999 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6000 __fegetround and redefine to call __fegetround. Remove condition
6001 on [!__NO_MATH_INLINES].
6002 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6004 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6007 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6008 instead of <fenv_libc.h>.
6009 (__llrintl): Call fegetround instead of __fegetround.
6010 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6011 instead of <fenv_libc.h>.
6012 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6013 (__lrintl): Call fegetround instead of __fegetround.
6014 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6015 instead of <fenv_libc.h>.
6016 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6017 (__rintl): Call fegetround instead of __fegetround.
6019 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6021 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6024 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6027 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6028 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6029 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6031 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6033 * sysdeps/i386/tls-macros.h: Include <features.h>.
6034 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6038 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6039 define for GCC >= 5.0.
6041 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6043 * math/test-fenv.c (test_single_exception, set_single_exc,
6044 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6045 feexcp_mask_test, feenable_test, fe_single_test): Add
6046 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6047 case where they are not used.
6048 * math/libm-test.inc: Likewise.
6049 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6050 unused in the absence of FP rounding/exception support.
6051 * stdio-common/tst-printf-round.c: Likewise.
6052 * stdlib/tst-strtod-round.c: Likewise.
6053 * stdlib/tst-strtod-underflow.c: Likewise.
6055 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6058 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6059 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6060 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6061 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6063 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6064 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6065 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6067 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6068 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6070 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6072 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6073 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6074 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6076 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6078 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6079 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6080 (__feraiseexcept): Likewise.
6081 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6082 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6084 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6085 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6087 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6088 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6089 Use libm_hidden_def.
6090 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6092 (feraiseexcept): Define as weak not strong alias. Use
6094 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6095 New inline function. Factored out of ...
6096 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6097 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6098 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6100 * math/w_acos.c (__acos): Likewise.
6101 * math/w_asin.c (__asin): Likewise.
6102 * math/w_ilogb.c (__ilogb): Likewise.
6103 * math/w_j0.c (y0): Likewise.
6104 * math/w_j1.c (y1): Likewise.
6105 * math/w_jn.c (yn): Likewise.
6106 * math/w_log.c (__log): Likewise.
6107 * math/w_log10.c (__log10): Likewise.
6108 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6109 * sysdeps/aarch64/fpu/math_private.h
6110 (libc_feupdateenv_test_aarch64): Likewise.
6111 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6112 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6113 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6114 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6115 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6116 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6117 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6118 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6119 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6120 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6122 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6125 * io/test-utime.c (main): Replace %ld with %jd and cast to
6127 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6128 * nptl/tst-mutex5.c: Include <stdint.h>.
6129 (do_test): Replace %ld with %jd and cast to intmax_t.
6130 * posix/tst-regex.c (run_test): Likewise.
6131 (run_test_backwards): Likewise.
6132 * rt/tst-clock.c: Include <stdint.h>.
6133 (clock_test): Replace %ld with %jd and cast to intmax_t.
6134 * rt/tst-cpuclock1.c: Include <stdint.h>.
6135 (do_test): Replace %lu with %ju and cast to uintmax_t.
6136 * rt/tst-cpuclock2.c: Include <stdint.h>.
6137 (do_test): Replace %lu with %ju and cast to uintmax_t.
6138 * rt/tst-mqueue1.c: Include <stdint.h>.
6139 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6140 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6142 * rt/tst-mqueue4.c (do_test): Likewise.
6143 * rt/tst-timer4.c: Include <stdint.h>.
6144 (check_ts): Replace %ld with %jd and cast to intmax_t.
6145 (do_test): Likewise.
6146 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6147 and cast to intmax_t.
6148 * sysdeps/pthread/tst-timer.c (main): Likewise.
6149 * time/clocktest.c (main): Likewise.
6150 * time/tst-posixtz.c (do_test): Likewise.
6151 * timezone/tst-timezone.c (main): Likewise.
6153 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6154 H.J. Lu <hongjiu.lu@intel.com>
6156 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6157 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6158 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6159 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6160 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6161 version if bit_Fast_Unaligned_Load is set.
6162 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6163 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6164 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6165 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6166 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6167 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6169 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6170 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6171 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6173 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6174 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6175 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6176 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6178 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6180 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6181 instead of #if to avoid a Wundef warning.
6182 * stdlib/tst-limits.c (do_test): Likewise.
6184 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6185 parallel other exception macros.
6186 (fegetenv): Convert from macro to extern inline so that it applies
6187 retroactively to inline functions already seen by the compiler.
6188 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6190 * posix/Makefile (before-compile): Use $(objpfx) for
6191 posix-conf-vars-def.h.
6193 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6195 * posix/getconf.c (main): Use size_t for type of I.
6196 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6199 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6200 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6201 * posix/posix-envs.def: Likewise.
6202 * sysdeps/posix/sysconf.c: Likewise.
6203 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6204 (specs): Remove array.
6205 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6208 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6209 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6210 (__sysconf): Use CONF_IS_* macros.
6212 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6213 ($(objpfx)posix-conf-vars-def.h): New target.
6214 * posix/posix-conf-vars.list: New file.
6215 * posix/posix-conf-vars.h: New file.
6216 * posix/confstr.c: Include posix-conf-vars.h.
6217 (confstr): Use CONF_IS_* macros.
6218 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6220 * scripts/gen-posix-conf-vars.awk: New file.
6222 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6224 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6225 fegetround): Add no-op macros to avoid linknamespace issues.
6227 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6228 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6230 * sysdeps/unix/sysv/linux/tile/sysdep.h
6231 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6232 assembly-specific section to avoid a redefinition warning.
6234 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6235 long before casting to pointer to avoid a cast warning.
6237 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6239 * sysdeps/tile/tilegx/Implies: New file.
6241 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
6243 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6245 2014-12-23 Florian Weimer <fweimer@redhat.com>
6247 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6249 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6251 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6253 * sysdeps/unix/sysv/linux/utimes.c: Do not include
6254 <kernel-features.h>.
6255 (__utimes) [__NR_utimes]: Make code unconditional.
6256 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6257 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6258 (__ASSUME_UTIMES): Do not undefine.
6259 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6260 (__ASSUME_UTIMES): Likewise.
6261 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6262 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6263 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6264 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6266 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6268 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6270 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
6273 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6274 alias to weak alias for j0l, y0l.
6275 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6276 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6279 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6282 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6284 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6285 to zero if not already defined.
6287 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6290 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6291 (__kernel_standard_f): Remove. Moved to k_standardf.c.
6292 (__kernel_standard_l): Remove. Moved to k_standardl.c with
6293 (char *) casts added.
6294 * sysdeps/ieee754/k_standardf.c: New file.
6295 * sysdeps/ieee754/k_standardl.c: Likewise.
6296 * math/Makefile (libm-support): Remove k_standard.
6297 (libm-calls): Add k_standard.
6299 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6301 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6302 Optimize to avoid an unnecessary FPCR read.
6304 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6306 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6307 Optimize to reduce FPCR/FPSR accesses.
6309 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6311 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6312 Call libc_fetestexcept_aarch64.
6314 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6316 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6317 Call libc_fesetround_aarch64.
6319 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6322 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6323 (__bind): Do not define as weak alias.
6324 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6326 (__getsockname): Do not define as weak alias.
6328 2014-12-22 Will Newton <will.newton@linaro.org>
6330 * manual/install.texi: Document that we require bison 2.7
6332 * INSTALL: Regenerate.
6333 * configure.ac: Use AC_CHECK_PROG_VER instead of
6334 AC_PATH_PROG when checking for bison and check for
6335 version 2.7 or above.
6336 * configure: Regenerate.
6338 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
6341 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6342 * sysdeps/tile/ffsll.c (ffsll): To here.
6344 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6346 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6348 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6350 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6352 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6353 hidden ___tls_get_addr.
6354 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6355 hidden __tls_get_addr.
6356 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6357 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6360 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
6362 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6365 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6367 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6368 from "call _dl_init@PLT".
6369 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6371 2014-12-21 Anders Kaseorg <andersk@mit.edu>
6373 * manual/search.texi: (Array Sort Function): Clarify stable sorting
6376 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
6378 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6380 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6383 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6386 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6388 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6390 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6391 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6392 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6393 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6394 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6396 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6398 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6399 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6400 (PTR_SUBU): Use subu for mips32r6/mips64r6.
6401 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6402 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6404 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6406 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
6408 * string/strncat.c (STRNCAT): Simplify implementation.
6410 2014-12-19 David S. Miller <davem@davemloft.net>
6412 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6413 access the quad as both a long double and as a series of 4 words.
6415 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6416 link_map->l_info array access.
6418 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6420 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6422 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6423 * math/atest-exp2.c (TIMEOUT): Likewise.
6424 * math/atest-sincos.c (TIMEOUT): Likewise.
6426 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6428 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6429 -Wno-error with -fno-builtin-lround.
6431 2014-12-19 Torvald Riegel <triegel@redhat.com>
6433 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6434 Contains futex constants and functions moved over from ...
6435 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
6436 <lowlevellock-futex.h>.
6437 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6438 (lll_timedwait_tid): Add comments and parentheses around macro
6441 2014-12-19 Torvald Riegel <triegel@redhat.com>
6443 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6444 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
6445 (__lll_private_flag): Remove.
6446 (lll_futex_wait): Likewise.
6447 (lll_futex_timed_wait): Likewise.
6448 (lll_futex_wake): Likewise.
6449 (lll_futex_requeue): Likewise.
6450 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6451 (__lll_timedwait_tid): Spell out argument names.
6452 (lll_timedwait_tid): Add comments and parentheses around macro
6454 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6455 LLL_SHARED and LLL_PRIVATE usable from assembly code.
6457 2014-12-19 Torvald Riegel <triegel@redhat.com>
6459 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6460 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6461 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6462 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6463 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6464 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6465 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6466 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6467 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6468 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6469 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6470 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6471 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6472 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6473 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6474 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6475 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6476 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6477 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6479 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6481 * sysdeps/x86_64/x32/Makefile: New file.
6483 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6485 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6486 1L with (mp_limb_t) 1.
6488 2014-12-17 Roland McGrath <roland@hack.frob.com>
6490 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6491 * nptl/libc_pthread_init.c: ... here.
6492 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6493 * nptl/register-atfork.c: ... here.
6495 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6496 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6497 Use assert_perror to check its return value.
6498 (__gai_create_helper_thread): Likewise.
6500 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6502 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6504 2014-12-17 Joseph Myers <joseph@codesourcery.com>
6507 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6509 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6511 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6513 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6515 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6516 (profil_counter): Likewise.
6517 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6518 (profil_counter): Likewise.
6519 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6521 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6523 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6524 (profil_counter): Likewise.
6525 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6527 [!__profil_counter] (profil_counter): Define as weak alias of
6529 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6530 (profil_counter): Rename to __profil_counter.
6531 [!__profil_counter] (profil_counter): Define as weak alias of
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6534 (profil_counter): Rename to __profil_counter.
6535 [!__profil_counter] (profil_counter): Define as weak alias of
6537 * sysdeps/posix/profil.c: Update comment referring to
6539 (__profil): Use __profil_counter instead of profil_counter.
6540 * sysdeps/posix/sprofil.c (profil_counter): Rename to
6541 __profil_counter. Use __profil_counter_ushort and
6542 __profil_counter_uint in definitions.
6543 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6544 instead of profil_counter_uint and profil_counter_ushort.
6547 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6548 define as weak alias of __inet_makeaddr.
6549 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6550 as weak alias of __inet_addr.
6551 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6552 as weak alias of __inet_pton. Use libc_hidden_weak.
6553 * include/arpa/inet.h (__inet_pton): Declare. Use
6555 (inet_makeaddr): Don't use libc_hidden_proto.
6556 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6557 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6558 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6559 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6561 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6562 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6564 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6566 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6568 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6570 * stdio-common/bug-vfprintf-nargs.c (do_test):
6571 Cast value to intptr_t to avoid format warning
6572 for usage with PRIdPTR printing macro.
6574 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6576 * libio/tst-widetext.c (do_test):
6577 Use format type %td instead of %Zd for ptrdiff_t
6578 in order to avoid format warning.
6580 2014-12-17 Andreas Schwab <schwab@suse.de>
6582 * nscd/mem.c (gc): Add size_t cast to match printf format.
6584 2014-12-16 Roland McGrath <roland@hack.frob.com>
6586 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6587 (init): Apply PTR_MANGLE to pointers before storing them.
6588 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6591 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6594 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6595 define as weak alias of __memrchr.
6596 (__memrchr): Do not define as strong alias of memrchr.
6597 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6599 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6600 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6601 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6604 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6605 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6606 (if_indextoname): Rename to __if_indextoname and define as weak
6607 alias of __if_indextoname. Use libc_hidden_weak.
6608 (if_freenameindex): Rename to __if_freenameindex and define as
6609 weak alias of __if_freenameindex.
6610 (if_nameindex): Rename to __if_nameindex and define as weak alias
6612 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6613 __if_nametoindex and define as weak alias of __if_nametoindex.
6614 Use libc_hidden_weak.
6615 (if_freenameindex): Rename to __if_freenameindex and define as
6616 weak alias of __if_freenameindex.
6617 (if_nameindex): Rename to __if_nameindex and define as weak alias
6619 (if_indextoname): Rename to __if_indextoname and define as weak
6620 alias of __if_indextoname. Use libc_hidden_weak.
6621 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6622 __if_nametoindex and define as weak alias of __if_nametoindex.
6623 Use libc_hidden_weak.
6624 (if_freenameindex): Rename to __if_freenameindex and define as
6625 weak alias of __if_freenameindex. Use libc_hidden_weak.
6626 (if_nameindex_netlink): Use __if_freenameindex instead of
6628 (if_nameindex): Rename to __if_nameindex and define as weak alias
6629 of __if_nameindex. Use libc_hidden_weak.
6630 (if_indextoname): Rename to __if_indextoname and define as weak
6631 alias of __if_indextoname. Use libc_hidden_weak.
6632 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6634 [!_ISOMAC] (__if_freenameindex): Likewise.
6635 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6637 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6639 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6640 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6641 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6642 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6643 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6644 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6645 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6647 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6649 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6650 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6652 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6654 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6655 subscript above bounds'
6657 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6660 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6662 * libio/tst-fopenloc.c: Use test-skeleton.c.
6664 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6665 (entry): Rename to ITEM.
6666 (do_test, comp): Adjust.
6668 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6670 2014-12-16 Torvald Riegel <triegel@redhat.com>
6672 * string/tester.c: Include <libc-internal.h>.
6673 (test_memset): Ignore -Wmemset-transposed-args.
6675 2014-12-16 Torvald Riegel <triegel@redhat.com>
6677 * misc/tst-mntent2.c (do_test): Fix warning.
6679 2014-12-16 Torvald Riegel <triegel@redhat.com>
6681 * elf/tst-unique4lib.cc(a): Mark as used.
6683 2014-12-16 Florian Weimer <fweimer@redhat.com>
6686 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6689 2014-12-16 Allan McRae <allan@archlinux.org>
6691 * stdio-common/Makefile (tests): Re-add bug26.
6693 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6696 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6699 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6701 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6702 (__lll_lock_wait): Likewise.
6703 (__lll_timedlock_wait): Likewise.
6704 (__lll_timedwait_tid): Likewise.
6705 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6706 (__lll_robust_timedlock_wait): Likewise.
6707 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6708 (lll_cond_trylock): Likewise.
6709 (__lll_lock): Likewise.
6710 (__lll_robust_lock): Likewise.
6711 (__lll_cond_lock): Likewise.
6712 (lll_robust_cond_lock): Likewise.
6713 (__lll_timedlock): Likewise.
6714 (__lll_robust_timedlock): Likewise.
6715 (__lll_unlock): Likewise.
6716 (__lll_robust_unlock): Likewise.
6717 (lll_wait_tid): Likewise.
6718 (lll_timedwait_tid): Likewise.
6720 2014-12-15 Torvald Riegel <triegel@redhat.com>
6722 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6724 2014-12-15 Torvald Riegel <triegel@redhat.com>
6726 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6728 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6730 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6731 * stdio-common/tst-sprintf.c: Likewise.
6733 2014-12-15 Torvald Riegel <triegel@redhat.com>
6735 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6737 2014-12-15 Jeff Law <law@redhat.com>
6740 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6741 on the heap. (CVE-2012-3406)
6742 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6743 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6744 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6746 2014-12-15 Will Newton <will.newton@linaro.org>
6748 * manual/install.texi: Bump required version of texinfo
6750 * INSTALL: Regenerated.
6751 * configure.ac: Check for makeinfo version 4.7 and above.
6752 * configure: Regenerated.
6754 2014-12-12 Roland McGrath <roland@hack.frob.com>
6756 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6757 PREFIX, string constant to insert between directory and name.
6758 * sysdeps/posix/shm_open.c: Update caller.
6759 * sysdeps/posix/shm_unlink.c: Likewise.
6760 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6761 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6762 (SEM_SHM_PREFIX): New macro.
6763 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6764 [$(have-thread-library) = no].
6765 * nptl/Makefile (libpthread-routines): Add shm-directory.
6766 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6767 * sysdeps/nptl/shm-directory.h: New file.
6768 * sysdeps/posix/shm-directory.c
6769 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6770 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6771 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6773 (__where_is_shmfs): Function removed.
6774 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6776 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6778 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6780 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6781 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6782 unconditional for use inside libpthread.
6783 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6785 2014-12-12 Roland McGrath <roland@hack.frob.com>
6787 * nptl/pthread_getaffinity.c: New file.
6788 * nptl/pthread_setaffinity.c: New file.
6789 * nptl/pthread_getname.c: New file.
6790 * nptl/pthread_setname.c: New file.
6792 * nptl/pthread_create.c (START_THREAD_DEFN)
6793 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6795 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6796 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6798 * resolv/res_send.c (send_vc): Disable warning resplen may
6799 be used uninitialized.
6801 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6804 (ATTR_NULL): New define checks ATTR against NULL.
6805 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6806 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6808 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6812 (mem2mem_check): Revert my previous change.
6813 (malloc_check_get_size): Revert my previous change.
6814 (mem2chunk_check): Revert my previous change.
6816 2014-12-11 Roland McGrath <roland@hack.frob.com>
6818 * sysdeps/posix/shm-directory.c: New file.
6819 * sysdeps/posix/shm-directory.h: New file.
6820 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6821 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6822 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6823 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6824 Transmute EPERM to EACCES.
6825 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6827 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6828 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6830 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6832 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6833 pointer and cast to uintptr_t.
6834 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6835 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6836 Add cast to avoid warning.
6837 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6839 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6841 * nptl/semaphore.h: Move to ...
6842 * sysdeps/pthread/semaphore.h: ... here.
6843 * Makefile (installed-headers): Change nptl/semaphore.h to
6844 sysdeps/pthread/semaphore.h.
6846 2014-12-11 Roland McGrath <roland@hack.frob.com>
6848 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6849 generated error format strings.
6851 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6852 -Wformat-extra-args warnings for scanf formats.
6853 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6854 test of zero-length format (duh).
6855 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6856 corner-case scanf format test.
6857 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6858 generated fprintf format string.
6859 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6860 corner-case sprintf format tests.
6861 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6862 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6863 -Wformat-extra-args warnings throughout.
6864 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6865 (CFLAGS-scanf4.c): Likewise.
6866 (CFLAGS-scanf7.c): Likewise.
6867 (CFLAGS-tst-sprintf.c): Likewise.
6868 (CFLAGS-tst-printf.c): Likewise.
6869 (CFLAGS-tst-printfsz.c): Likewise.
6871 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6873 * include/cpio.h: New file.
6874 * include/fmtmsg.h: Likewise.
6876 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6877 corresponding format argument to size_t.
6878 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6880 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6881 corresponding format argument to size_t.
6882 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6884 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6885 corresponding format argument to size_t.
6886 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6887 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6888 (CFLAGS-tst-mbswcs2.c): Likewise.
6889 (CFLAGS-tst-mbswcs3.c): Likewise.
6890 (CFLAGS-tst-mbswcs4.c): Likewise.
6891 (CFLAGS-tst-mbswcs5.c): Likewise.
6892 (CFLAGS-tst-trans.c): Likewise
6894 2014-12-11 Roland McGrath <roland@hack.frob.com>
6896 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6897 rather than assuming they won't contain any '%'s.
6899 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6901 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6902 inhibit_loop_to_libcall to avoid recursive calls.
6903 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6904 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6906 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6908 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6911 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6913 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6914 integer value instead of boolean.
6916 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6918 * malloc/malloc.c: Fix powerof2 check.
6920 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6922 * locale/programs/locfile.h (maybe_swap_uint32):
6923 Remove inline and add unused attribute.
6925 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6927 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6928 Truncating assembler expression to a .long expression.
6930 2014-12-11 Andreas Schwab <schwab@suse.de>
6932 * elf/rtld.c (struct map_args): Constify str member.
6933 (do_preload): Constify fname argument.
6935 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6937 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6938 constants definition.
6940 2014-12-11 Andreas Schwab <schwab@suse.de>
6943 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6944 FORCE_ELISION instead of DO_ELISION.
6945 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6947 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6950 * iconvdata/gconv-modules: Remove duplicate entry.
6952 2014-12-11 Will Newton <will.newton@linaro.org>
6954 Merge gettext 0.19.3 into intl/.
6956 This involves a number of cosmetic changes to comments
6957 and ANSI function definitions and prototypes throughout
6958 all the files. The gettext copyright header is used but
6959 with the date ranges taken from the glibc copy.
6961 * NEWS: Add gettext merge to 2.21.
6962 * intl/bindtextdom.c: Switch to gettext copyright.
6963 Use ANSI definitions and prototypes.
6964 Use gl_* locking primitives rather than __libc_* ones.
6965 Use __builtin_expect rather than __glibc_likely/unlikely.
6966 * intl/dcgettext.c: Switch to gettext copyright.
6967 Use ANSI definitions and prototypes.
6968 * intl/dcigettext.c: Switch to gettext copyright.
6969 Use ANSI definitions and prototypes.
6970 (INTDIV0_RAISES_SIGFPE): New define.
6971 Use gl_* locking primitives rather than __libc_* ones.
6972 Include eval-plural.h instead of plural-eval.c.
6973 Use __builtin_expect rather than __glibc_likely/unlikely.
6974 * intl/dcngettext.c: Switch to gettext copyright.
6975 Use ANSI definitions and prototypes.
6976 * intl/dgettext.c: Likewise.
6977 * intl/dngettext.c: Likewise.
6978 * intl/plural-eval.c: Renamed to...
6979 * intl/eval-plural.h: ...this.
6980 * intl/explodename.c: Switch to gettext copyright.
6981 Use ANSI definitions and prototypes.
6982 (_nl_explode_name): Use strchr instead of __rawmemchr.
6983 * intl/finddomain.c: Switch to gettext copyright.
6984 Use ANSI definitions and prototypes.
6985 Use gl_* locking primitives rather than __libc_* ones.
6986 (_nl_find_domain): Use malloc rather than alloca for
6987 allocation of temporary locale name.
6988 * intl/gettext.c: Switch to gettext copyright.
6989 Use ANSI definitions and prototypes.
6990 * intl/gettextP.h: Switch to gettext copyright.
6991 Use ANSI definitions and prototypes.
6992 Use gl_* locking primitives rather than __libc_* ones.
6993 * intl/gmo.h: Switch to gettext copyright.
6994 (struct sysdep_string): Move struct segment_pair outside of
6996 * intl/hash-string.c: Use ANSI definitions and prototypes.
6997 * intl/hash-string.h: Switch to gettext copyright.
6998 Use ANSI definitions and prototypes.
6999 * intl/l10nflist.c: Switch to gettext copyright.
7000 Use ANSI definitions and prototypes.
7001 (_nl_normalize_codeset): Avoid integer overflow.
7002 * intl/loadinfo.h: Switch to gettext copyright.
7003 Use ANSI definitions and prototypes.
7004 (LIBINTL_DLL_EXPORTED): New define.
7005 (PATH_SEPARATOR): New define.
7006 * intl/loadmsgcat.c: Switch to gettext copyright.
7007 * intl/localealias.c: Switch to gettext copyright.
7008 Use ANSI definitions and prototypes.
7009 (_nl_expand_alias): Use PATH_SEPARATOR.
7010 * intl/ngettext.c: Switch to gettext copyright.
7011 Use ANSI definitions and prototypes.
7012 * intl/plural-exp.c: Likewise.
7013 * intl/plural-exp.h: Switch to gettext copyright.
7014 Use ANSI definitions and prototypes.
7015 (struct expression): Move definition of enum operator outside
7016 of struct definition.
7017 * intl/plural.c: Regenerate.
7018 * intl/plural.y: Switch to gettext copyright.
7019 Use ANSI definitions and prototypes.
7021 * intl/textdomain.c: Switch to gettext copyright.
7022 Use ANSI definitions and prototypes.
7023 Use gl_* locking primitives rather than __libc_* ones.
7025 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7027 * debug/warning-nop.c: Add used atrribute.
7029 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7031 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7033 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7034 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7035 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7037 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7038 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7041 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7042 Undefine after defining function. Define as weak alias of
7043 __wcschr. Use libc_hidden_weak.
7044 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7045 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7046 (libc_hidden_def): Also define __GI___wcschr alias.
7047 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7048 __wcschr and define as weak alias of __wcschr.
7049 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7051 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7052 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7053 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7054 libc_hidden_weak. Do not use libc_hidden_def.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7056 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7057 __GI___wcschr alias.
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7059 [IS_IN (libc)] (wcschr): Define as macro expanding to
7061 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7062 [IS_IN (libc)] (__wcschr_power6): Likewise.
7063 [IS_IN (libc)] (__wcschr_power7): Likewise.
7064 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7066 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7068 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7069 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7070 __wcschr and define as weak alias of __wcschr. Use
7071 libc_hidden_builtin_def.
7072 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7073 as weak alias of __wcschr. Use libc_hidden_weak.
7074 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7076 * time/era.c (_nl_init_era_entries): Likewise.
7077 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7079 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7080 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7082 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7084 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7085 format for long int variable.
7087 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7090 * manual/search.texi: (Array Sort Function): Remove claim how to make
7093 2014-12-10 Andreas Schwab <schwab@suse.de>
7096 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7097 user-controlled locks.
7099 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7101 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7104 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7106 * configure.ac (--disable-werror): New configure option.
7107 (enable_werror): New AC_SUBST.
7108 * configure: Regenerated.
7109 * config.make.in (enable-werror): New variable.
7110 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7112 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7113 * manual/install.texi (Configuring and compiling): Document
7115 * INSTALL: Regenerated.
7116 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7117 (CFLAGS-tst-chk2.c): Likewise.
7118 (CFLAGS-tst-chk3.c): Likewise.
7119 (CFLAGS-tst-chk4.cc): Likewise.
7120 (CFLAGS-tst-chk5.cc): Likewise.
7121 (CFLAGS-tst-chk6.cc): Likewise.
7122 (CFLAGS-tst-lfschk1.c): Likewise.
7123 (CFLAGS-tst-lfschk2.c): Likewise.
7124 (CFLAGS-tst-lfschk3.c): Likewise.
7125 (CFLAGS-tst-lfschk4.cc): Likewise.
7126 (CFLAGS-tst-lfschk5.cc): Likewise.
7127 (CFLAGS-tst-lfschk6.cc): Likewise.
7129 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7130 (main): Disable -Wdeprecated-declarations around calls to
7131 register_printf_function.
7133 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7134 (do_test): Disable -Wdiv-by-zero around some calls to
7135 fwrite_unlocked and fread_unlocked.
7137 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7138 (DIAG_POP_NEEDS_COMMENT): Likewise.
7139 (_DIAG_STR1): Likewise.
7140 (_DIAG_STR): Likewise.
7141 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7142 * stdio-common/bug21.c: Include <libc-internal.h>.
7143 (do_test): Disable -Wformat around call to sscanf.
7144 * stdio-common/scanf14.c: Include <libc-internal.h>.
7145 (main): Disable -Wformat around some calls to scanf functions.
7147 2014-12-09 Torvald Riegel <triegel@redhat.com>
7149 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7151 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7153 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7154 stack variable alignment.
7156 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7159 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7160 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7161 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7162 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7163 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7164 __getrlimit instead of getrlimit.
7165 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7166 __gettimeofday instead of gettimeofday.
7167 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7169 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7171 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7172 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7174 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7175 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7177 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7179 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7180 for wide-character tests.
7182 2014-12-04 Roland McGrath <roland@hack.frob.com>
7184 * io/openat64.c: #include <libc-internal.h>
7185 (__openat64): Prototypify. Use ignore_value on MODE.
7186 * io/openat.c: Likewise.
7187 * misc/reboot.c: #include <libc-internal.h>
7188 (reboot): Prototypify. Use ignore_value on HOWTO.
7189 * misc/ptrace.c: #include <libc-internal.h>
7190 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7192 2014-12-04 Joseph Myers <joseph@codesourcery.com>
7194 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7195 XPG4, UNIX98 and XOPEN2K.
7196 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7198 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7200 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7202 * libio/fileops.c: Use ISO C style for function definitions.
7203 * libio/iofopen.c: Likewise.
7204 * libio/wfileops.c: Likewise.
7207 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7209 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7210 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7211 (fgets_func): Function pointer to fgets and fgetws.
7212 (do_ftell_test): Add test to verify ftell value after read
7214 (do_test): Set fgets_func.
7216 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7217 O_TRUNC flag for w and w+ modes.
7218 (do_rewind_test): Likewise.
7219 (do_ftell_test): Likewise.
7220 (do_write_test): Likewise.
7223 * libio/fileops.c (do_ftell): Seek only when there are
7225 * libio/wfileops.c (do_ftell_wide): Likewise.
7226 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7228 (do_one_test): Call it.
7230 2014-12-03 Joseph Myers <joseph@codesourcery.com>
7232 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7233 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7234 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7236 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7237 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7238 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7240 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7242 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7244 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7247 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7248 as weak alias of __getifaddrs. Use libc_hidden_weak.
7249 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7250 __freeifaddrs. Use libc_hidden_weak.
7251 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7252 define as weak alias of __getifaddrs. Use libc_hidden_weak.
7253 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7254 __freeifaddrs. Use libc_hidden_weak.
7255 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7256 __getifaddrs and define as weak alias of __getifaddrs. Use
7258 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7259 __freeifaddrs. Use libc_hidden_weak.
7260 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7262 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7263 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7265 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7268 * sysdeps/mips/start.S (__start): Use indirect jump to call
7271 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7273 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7275 * nptl/tst-mutex1.c: Include <stdbool.h>.
7276 [!ATTR] (ATTR_NULL): New macro.
7277 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7278 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7279 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7281 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7285 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7286 Change conditional to [__USE_MISC].
7289 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7291 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7293 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7295 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7297 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7298 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7299 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7300 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7301 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7302 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7303 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7304 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7305 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7307 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7309 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7311 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7312 Remove strpbrk objects.
7313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7314 (__libc_ifunc_impl_list): Remove strpbrk implementation.
7315 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7316 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7317 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7318 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7320 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7321 Remove strcspn objects.
7322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7323 (__libc_ifunc_impl_list): Remove strcspn implementation.
7324 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7325 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7326 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7327 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7329 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7330 Remove strspn objetcs.
7331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7332 (__libc_ifunc_impl_list): Remove strspn implementation.
7333 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7334 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7335 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7336 * sysdeps/powerpc/powerpc64/strspn.S: New file.
7338 2014-12-01 James Lemke <jwlemke@codesourcery.com>
7342 (mem2mem_check): Add a terminator to the chain of checking blocks.
7343 (malloc_check_get_size): Use it here.
7344 (mem2chunk_check): Ditto.
7346 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7348 * sysdeps/powerpc/powerpc64/strtok.S: New file.
7349 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7351 2014-11-29 Carlos O'Donell <carlos@redhat.com>
7353 * bits/ioctl-types.h: Indent preprocessor directives correctly.
7355 * nptl/nptl-init.c: Include libc-internal.h.
7356 (__pthread_initialize_minimal_internal): Use ROUND_UP.
7358 * elf/ldconfig.c (search_dir): Expand comment.
7360 2014-11-29 Joseph Myers <joseph@codesourcery.com>
7362 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7364 (linknamespace-symlist-stdlibs-tests): Likewise.
7365 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7366 instead of $(objpfx)symlist-stdlibs.
7367 (linknamespace-libs-isoc): New variable.
7368 (linknamespace-libs): Use $(linknamespace-libs-isoc).
7369 (linknamespace-libs-ISO): New variable.
7370 (linknamespace-libs-ISO99): Likewise.
7371 (linknamespace-libs-ISO11): Likewise.
7372 (linknamespace-libs-XPG3): Likewise.
7373 (linknamespace-libs-XPG4): Likewise.
7374 (linknamespace-libs-POSIX): Likewise.
7375 (linknamespace-libs-UNIX98): Likewise.
7376 (linknamespace-libs-XOPEN2K): Likewise.
7377 (linknamespace-libs-POSIX2008): Likewise.
7378 (linknamespace-libs-XOPEN2K8): Likewise.
7379 ($(objpfx)symlist-stdlibs): Replace by
7380 $(linknamespace-symlist-stdlibs-tests). Use
7381 $(linknamespace-libs-$*) as set of libraries.
7382 ($(linknamespace-header-tests)): Update dependencies. Use
7383 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7384 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7385 * conform/linknamespace.pl: Remove comment about considering
7386 definitions of symbols from irrelevant libraries.
7388 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
7391 * elf/dl-tls.c: Include <atomic.h>.
7392 (oom): Remove #ifdef SHARED/#endif.
7393 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7394 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
7395 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7397 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7398 * nptl/Makefile (tests): Add tst-stack4.
7399 (modules-names): Add tst-stack4mod.
7400 ($(objpfx)tst-stack4): New.
7401 (tst-stack4mod.sos): Likewise.
7402 ($(objpfx)tst-stack4.out): Likewise.
7403 ($(tst-stack4mod.sos)): Likewise.
7405 * nptl/tst-stack4.c: New file.
7406 * nptl/tst-stack4mod.c: Likewise.
7408 2014-11-27 J. Brown <jb999@gmx.de>
7410 * sysdeps/x86/bits/string.h: Add recent CPUs.
7412 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7414 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7417 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7420 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7423 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7425 * nscd/connections.c: Include libc-internal.h because of macro
7428 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7430 * string/bits/string3.h (__warn_memset_zero_len): Don't
7431 declare for gcc newer than 5.0.
7432 (memset): Don't test for zero-length __LEN for gcc newer than
7435 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7437 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7438 size_t for %zu format.
7440 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7441 difference, not %ju.
7443 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7445 * include/libc-internal.h (ignore_value): New macro.
7446 * nscd/connections.c (restart): Wrap calls to setuid and setgid
7449 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7452 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7453 pthread_cleanup_push to void *.
7455 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7461 instead of 1L << 52.
7463 * libio/bug-rewind.c (do_test): Check fwscanf return values.
7464 * libio/bug-rewind2.c (do_test): Likewise.
7466 * debug/test-stpcpy_chk-ifunc.c: Remove file.
7467 * debug/test-strcpy_chk-ifunc.c: Likewise.
7468 * wcsmbs/test-wcschr-ifunc.c: Likewise.
7469 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7470 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7471 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7472 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7473 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7474 * Rules [$(multi-arch) = no] (tests): Do not filter out
7476 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7477 * debug/Makefile (tests-ifunc): Remove variable.
7478 (tests): Do not add $(tests-ifunc).
7479 * wcsmbs/Makefile (tests-ifunc): Remove variable.
7480 (tests): Do not add $(tests-ifunc).
7481 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7482 [TEST_IFUNC]: Remove conditionals.
7483 * string/test-string.h (TEST_IFUNC): Remove macro.
7484 [TEST_IFUNC]: Remove conditionals.
7486 * string/test-strchr.c [!WIDE] (L): New macro.
7487 [WIDE] (L): Likewise.
7488 (check1): Use CHAR instead of char. Use L on string and character
7491 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
7493 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7495 * sysdeps/powerpc/bits/atomic.h
7496 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7497 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7498 (atomic_exchange_and_add_acq): Likewise.
7499 (atomic_exchange_and_add_rel): Likewise.
7500 * sysdeps/powerpc/powerpc32/bits/atomic.h
7501 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7502 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7503 * sysdeps/powerpc/powerpc64/bits/atomic.h
7504 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7505 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7507 2014-11-26 Torvald Riegel <triegel@redhat.com>
7509 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7510 Change synchronization of __sched_fifo_min_prio and
7511 __sched_fifo_max_prio.
7512 * nptl/pthread_mutexattr_getprioceiling.c
7513 (pthread_mutexattr_getprioceiling): Likewise.
7514 * nptl/pthread_mutexattr_setprioceiling.c
7515 (pthread_mutexattr_setprioceiling): Likewise.
7516 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7517 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7520 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7522 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7525 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7527 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7528 third argument const.
7530 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
7532 fnmatch: work around GCC compiler warning bug with uninit var
7533 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7534 This works around a bug with x86-64 GCC 4.9.2 and earlier
7535 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7536 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7537 used uninitialized in this function [-Wmaybe-uninitialized]".
7539 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7541 * posix/bug-regex31.c (main): Return RES not 0.
7543 2014-11-25 Anton Blanchard <anton@samba.org>
7545 * sysdeps/powerpc/bits/atomic.h
7546 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7548 2014-11-24 Sterling Augustine <saugustine@google.com>
7550 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7552 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7555 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7557 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7560 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7561 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7563 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7564 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7566 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7568 * string/strncpy.c (strncpy): Improve performance by using memset.
7570 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7572 * string/strcpy.c (strcpy):
7573 Improve performance by using strlen and memcpy.
7575 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7577 * string/strcoll_l.c (get_next_seq): __always_inline.
7578 * string/strcoll_l.c (do_compare): __always_inline.
7580 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7582 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7584 * include/mqueue.h: Likewise.
7585 * include/stdlib.h: Likewise.
7587 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7588 (get_null_defines): Adjust.
7589 * sunrpc/Makefile: Adjust comment.
7590 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7591 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7592 (CFLAGS-interp.c): Likewise.
7593 (CFLAGS-ldconfig.c): Likewise.
7594 (CPPFLAGS-.os): Likewise.
7595 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7596 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7597 * extra-modules.mk (extra-modules.mk): Likewise.
7598 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7599 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7600 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7601 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7602 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7603 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7604 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7605 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7606 * iconvdata/Makefile (CPPFLAGS): Likewise.
7607 (cpp-srcs-left): Add libof for all iconvdata routines.
7608 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7609 * include/assert.h: Likewise.
7610 * include/ctype.h: Likewise.
7611 * include/errno.h: Likewise.
7612 * include/libc-symbols.h: Likewise.
7613 * include/math.h: Likewise.
7614 * include/netdb.h: Likewise.
7615 * include/resolv.h: Likewise.
7616 * include/stdio.h: Likewise.
7617 * include/stdlib.h: Likewise.
7618 * include/string.h: Likewise.
7619 * include/sys/stat.h: Likewise.
7620 * include/wctype.h: Likewise.
7621 * intl/l10nflist.c: Likewise.
7622 * libidn/idn-stub.c: Likewise.
7623 * libio/libioP.h: Likewise.
7624 * nptl/libc_multiple_threads.c: Likewise.
7625 * nptl/pthreadP.h: Likewise.
7626 * posix/regex_internal.h: Likewise.
7627 * resolv/res_hconf.c: Likewise.
7628 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7629 * sysdeps/arm/memmove.S: Likewise.
7630 * sysdeps/arm/sysdep.h: Likewise.
7631 * sysdeps/generic/_itoa.h: Likewise.
7632 * sysdeps/generic/symbol-hacks.h: Likewise.
7633 * sysdeps/gnu/errlist.awk: Likewise.
7634 * sysdeps/gnu/errlist.c: Likewise.
7635 * sysdeps/i386/i586/memcpy.S: Likewise.
7636 * sysdeps/i386/i586/memset.S: Likewise.
7637 * sysdeps/i386/i686/memcpy.S: Likewise.
7638 * sysdeps/i386/i686/memmove.S: Likewise.
7639 * sysdeps/i386/i686/mempcpy.S: Likewise.
7640 * sysdeps/i386/i686/memset.S: Likewise.
7641 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7642 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7643 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7644 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7645 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7646 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7647 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7648 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7649 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7650 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7651 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7652 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7653 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7654 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7655 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7656 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7657 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7658 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7659 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7660 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7661 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7662 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7663 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7664 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7665 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7666 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7667 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7668 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7669 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7670 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7671 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7672 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7674 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7675 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7677 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7678 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7679 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7680 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7681 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7682 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7683 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7684 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7685 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7686 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7687 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7688 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7689 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7690 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7691 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7692 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7693 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7694 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7695 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7696 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7697 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7698 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7699 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7700 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7701 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7702 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7703 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7704 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7705 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7706 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7707 * sysdeps/posix/closedir.c: Likewise.
7708 * sysdeps/posix/opendir.c: Likewise.
7709 * sysdeps/posix/readdir.c: Likewise.
7710 * sysdeps/posix/rewinddir.c: Likewise.
7711 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7712 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7713 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7714 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7715 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7716 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7717 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7718 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7719 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7720 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7721 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7722 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7723 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7724 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7725 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7726 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7727 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7728 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7729 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7730 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7731 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7732 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7733 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7734 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7735 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7737 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7738 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7739 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7744 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7746 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7747 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7748 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7749 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7750 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7751 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7752 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7753 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7754 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7755 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7756 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7757 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7758 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7759 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7760 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7761 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7762 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7763 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7764 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7765 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7766 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7767 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7768 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7769 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7770 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7771 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7772 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7773 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7774 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7775 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7776 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7777 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7778 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7779 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7780 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7781 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7782 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7783 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7784 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7785 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7786 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7787 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7788 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7789 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7790 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7791 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7792 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7793 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7794 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7795 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7797 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7798 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7799 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7800 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7801 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7802 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7803 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7804 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7805 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7806 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7807 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7808 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7809 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7810 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7811 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7812 * sysdeps/unix/alpha/sysdep.S: Likewise.
7813 * sysdeps/unix/alpha/sysdep.h: Likewise.
7814 * sysdeps/unix/make-syscalls.sh: Likewise.
7815 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7816 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7817 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7818 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7819 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7820 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7821 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7822 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7823 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7824 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7825 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7826 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7827 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7828 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7829 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7830 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7831 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7832 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7833 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7834 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7835 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7836 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7837 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7838 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7839 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7840 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7841 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7844 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7845 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7849 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7853 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7854 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7855 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7856 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7857 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7858 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7859 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7862 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7865 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7866 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7867 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7868 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7869 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7870 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7871 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7873 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7874 * sysdeps/x86_64/memcpy.S: Likewise.
7875 * sysdeps/x86_64/memmove.c: Likewise.
7876 * sysdeps/x86_64/memset.S: Likewise.
7877 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7878 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7879 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7880 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7881 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7884 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7885 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7886 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7887 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7888 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7889 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7890 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7891 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7892 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7893 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7894 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7895 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7896 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7897 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7898 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7899 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7900 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7901 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7902 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7903 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7904 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7905 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7906 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7907 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7908 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7909 * sysdeps/x86_64/strcmp.S: Likewise.
7911 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7913 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7914 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7915 * elf/rtld-Rules: Likewise.
7916 * elf/setup-vdso.h: Likewise.
7917 * include/assert.h: Likewise.
7918 * include/bits/stdlib-float.h: Likewise.
7919 * include/errno.h: Likewise.
7920 * include/sys/stat.h: Likewise.
7921 * include/unistd.h: Likewise.
7922 * sysdeps/aarch64/setjmp.S: Likewise.
7923 * sysdeps/alpha/setjmp.S: Likewise.
7924 * sysdeps/arm/__longjmp.S: Likewise.
7925 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7926 * sysdeps/arm/setjmp.S: Likewise.
7927 * sysdeps/arm/sysdep.h: Likewise.
7928 * sysdeps/generic/_itoa.h: Likewise.
7929 * sysdeps/generic/dl-sysdep.h: Likewise.
7930 * sysdeps/generic/ldsodefs.h: Likewise.
7931 * sysdeps/i386/dl-tls.h: Likewise.
7932 * sysdeps/i386/setjmp.S: Likewise.
7933 * sysdeps/m68k/setjmp.c: Likewise.
7934 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7935 * sysdeps/mach/hurd/opendir.c: Likewise.
7936 * sysdeps/posix/getcwd.c: Likewise.
7937 * sysdeps/posix/opendir.c: Likewise.
7938 * sysdeps/posix/profil.c: Likewise.
7939 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7940 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7941 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7942 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7943 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7944 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7945 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7946 * sysdeps/s390/dl-tls.h: Likewise.
7947 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7948 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7949 * sysdeps/sh/sh3/setjmp.S: Likewise.
7950 * sysdeps/sh/sh4/setjmp.S: Likewise.
7951 * sysdeps/unix/alpha/sysdep.h: Likewise.
7952 * sysdeps/unix/arm/sysdep.S: Likewise.
7953 * sysdeps/unix/i386/sysdep.S: Likewise.
7954 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7955 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7956 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7957 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7958 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7959 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7960 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7961 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7962 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7963 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7964 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7965 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7966 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7969 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7970 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7971 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7972 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7973 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7974 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7977 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7978 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7979 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7981 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7982 * sysdeps/x86_64/setjmp.S: Likewise.
7984 * include/math.h: Use IS_IN instead of IS_IN_libm.
7985 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7986 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7987 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7988 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7989 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7990 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7991 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7994 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7995 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7996 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7997 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7998 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7999 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8000 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8001 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8002 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8005 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8006 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8007 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8008 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8009 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8010 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8011 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8012 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8013 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8014 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8015 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8016 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8017 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8028 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8029 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8030 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8031 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8032 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8033 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8039 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8040 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8041 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8042 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8043 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8044 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8045 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8046 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8047 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8048 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8049 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8050 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8052 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8054 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8056 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8057 * nptl/pthreadP.h: Likewise.
8058 * nptl_db/structs.def: Likewise.
8059 * sysdeps/arm/sysdep.h: Likewise.
8060 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8061 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8062 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8063 * sysdeps/unix/alpha/sysdep.h: Likewise.
8064 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8065 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8066 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8067 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8068 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8069 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8070 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8071 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8072 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8073 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8074 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8075 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8076 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8077 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8080 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8081 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8082 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8085 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8086 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8087 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8088 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8089 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8091 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8092 * nptl/pthreadP.h: Likewise.
8093 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8094 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8095 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8096 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8097 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8098 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8099 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8100 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8101 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8102 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8103 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8104 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8109 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8110 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8111 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8114 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8115 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8116 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8118 * dlfcn/dladdr.c: Use IS_IN.
8119 * dlfcn/dladdr1.c: Likewise.
8120 * dlfcn/dlclose.c: Likewise.
8121 * dlfcn/dlerror.c: Likewise.
8122 * dlfcn/dlinfo.c: Likewise.
8123 * dlfcn/dlmopen.c: Likewise.
8124 * dlfcn/dlopen.c: Likewise.
8125 * dlfcn/dlsym.c: Likewise.
8126 * dlfcn/dlvsym.c: Likewise.
8128 * include/ifaddrs.h: Use IS_IN.
8129 * inet/check_pf.c: Likewise.
8130 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8131 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8133 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8135 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8136 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8138 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8139 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8142 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8144 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8145 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8146 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8147 * include/libc-symbols.h (IS_IN_LIB): New macro.
8148 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8149 * include/netdb.h: Likewise.
8150 * include/stap-probe.h: Remove all uses of IN_LIB.
8152 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8153 instead of IN_MODULE.
8154 * include/libc-symbols.h (IN_MODULE): Define using
8156 (PASTE_NAME, PASTE_NAME1): New macros.
8157 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8159 (STAP_PROBE_ASM): Likewise.
8161 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8163 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8164 __mach_init in dlopened libc.
8166 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8168 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8169 * sysdeps/arm/preconfigure: Regenerate.
8171 2014-11-21 Roland McGrath <roland@hack.frob.com>
8173 * nptl/pthread_create.c (__pthread_create_2_1): Set
8174 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8175 when copying values from IATTR into PD.
8177 2014-11-21 Will Newton <will.newton@linaro.org>
8178 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8180 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8181 Refactor inline-asm. Also add comment.
8183 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8184 ElfW macro instead of hardcoded Elf64 types.
8185 (la_aarch64_gnu_pltenter): Likewise.
8186 * sysdeps/aarch64/dl-machine.h
8187 (elf_machine_runtime_setup): Use ElfW(Addr).
8189 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8190 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8191 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8192 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8193 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8194 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8195 (R_AARCH64_TLS_DTPMOD): This.
8196 (R_AARCH64_TLS_DTPREL64): Rename to ...
8197 (R_AARCH64_TLS_DTPREL): This.
8198 (R_AARCH64_TLS_TPREL64): Rename to ...
8199 (R_AARCH64_TLS_TPREL): This.
8200 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8201 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8202 R_AARCH64_TLS_TPREL64.
8203 (elf_machine_rela): Likewise.
8205 2014-11-21 Torvald Riegel <triegel@redhat.com>
8207 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8208 by setting it to 0. 64b atomics are not supported currently.
8210 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8213 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8214 search domain names.
8216 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8220 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8222 * posix/tst-getaddrinfo5.c: New.
8223 * posix/Makefile (tests): Add it.
8225 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8229 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8230 after parsing line but before break_if_match.
8231 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8232 if there is a protocol mismatch.
8234 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8236 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8237 because the potential race is on the user-supplied stream.
8239 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8241 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8242 string literal if not passed a buffer.
8243 * manual/job.texi (ctermid): Update reasoning, note deviation
8244 from posix, suggest mtasurace when not passed a buffer, for
8245 future non-preliminary safety notes.
8247 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8249 * manual/users.texi (cuserid): Fix MT-Safety note for the case
8250 of not passing it a buffer.
8251 Reported by Peng Haitao.
8253 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8255 * manual/Makefile ($(objpfx)stamp-summary): Require
8256 check-safety.sh to pass.
8257 * manual/check-safety.sh: Wish for verification that every
8258 @deftypefn and @deftypefun is followed by a @safety remark.
8260 2014-11-20 Roland McGrath <roland@hack.frob.com>
8262 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8264 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8265 PTHREAD_CANCEL_ASYNCHRONOUS.
8266 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8269 * nptl/default-sched.h: New file.
8270 * sysdeps/unix/sysv/linux/default-sched.h: New file.
8271 * nptl/pthread_create.c: Include it.
8272 (__pthread_create_2_1): Use collect_default_sched instead of making
8273 Linux syscalls here directly.
8275 2014-11-20 Torvald Riegel <triegel@redhat.com>
8277 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8278 __pthread_once): Use C11 atomics.
8280 2014-11-20 Torvald Riegel <triegel@redhat.com>
8282 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8284 2014-11-20 Torvald Riegel <triegel@redhat.com>
8286 * include/atomic.h (__atomic_link_error, __atomic_check_size,
8287 atomic_thread_fence_acquire, atomic_thread_fence_release,
8288 atomic_thread_fence_seq_cst, atomic_load_relaxed,
8289 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8290 atomic_compare_exchange_weak_relaxed,
8291 atomic_compare_exchange_weak_acquire,
8292 atomic_compare_exchange_weak_release,
8293 atomic_exchange_acquire, atomic_exchange_release,
8294 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8295 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8296 atomic_fetch_and_acquire,
8297 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8299 2014-11-20 Torvald Riegel <triegel@redhat.com>
8301 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8302 USE_ATOMIC_COMPILER_BUILTINS): Define.
8303 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8304 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8305 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8306 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8307 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8308 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8309 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8310 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8311 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8312 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8313 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8314 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8315 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8316 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8317 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8318 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8319 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8320 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8321 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8322 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8323 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8324 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8325 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8326 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8327 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8328 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8329 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8330 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8331 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8332 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8333 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8334 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8335 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8336 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8337 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8338 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8339 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8340 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8341 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8342 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8344 2014-11-19 Roland McGrath <roland@hack.frob.com>
8346 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8347 the sched_priority value here. It was already checked when the user
8348 called pthread_attr_setschedparam.
8350 * nptl/tst-bad-schedattr.c: New file.
8351 * nptl/Makefile (tests): Add it.
8353 2014-11-19 Carlos O'Donell <carlos@redhat.com>
8354 Florian Weimer <fweimer@redhat.com>
8355 Joseph Myers <joseph@codesourcery.com>
8356 Adam Conrad <adconrad@0c3.net>
8357 Andreas Schwab <schwab@suse.de>
8358 Brooks <bmoses@google.com>
8361 * wordexp-test.c (__dso_handle): Add prototype.
8362 (__register_atfork): Likewise.
8363 (__app_register_atfork): New function.
8364 (registered_forks): New global.
8365 (register_fork): New function.
8366 (test_case): Add 3 new tests for WRDE_CMDSUB.
8367 (main): Call __app_register_atfork.
8368 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8369 fork count is non-zero fail the test.
8370 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8372 (parse_dollars): Remove check for WRDE_NOCMD.
8373 (parse_dquote): Likewise.
8375 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8377 * Makeconfig (built-modules): List non-library modules to be
8379 (module-cppflags): Include libc-modules.h for
8380 everything except shlib-versions.v.i.
8382 (before-compile): Add libc-modules.h.
8383 ($(common-objpfx)libc-modules.h,
8384 $(common-objpfx)libc-modules.stmp): New targets.
8385 (common-generated): Add libc-modules.h and libc-modules.stmp.
8386 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8387 * include/libc-symbols.h: Don't include libc-modules.h.
8388 * include/libc-modules.h: Remove file.
8389 * scripts/gen-libc-modules.awk: New script to generate
8391 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8392 Depend on libc-modules.stmp.
8394 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8396 * Makeconfig (in-module): Get value of libof set for the
8398 (CPPFLAGS): Use $(in-module).
8399 * Makerules: Don't suffix routine names for nonlib.
8400 * include/libc-modules.h: New file.
8401 * include/libc-symbols.h: Include libc-modules.h
8402 (IS_IN): New macro to replace IS_IN_* macros.
8403 * elf/Makefile: Set libof-* for each routine.
8404 * elf/rtld-Rules: Likewise.
8405 * extra-modules.mk: Likewise.
8406 * iconv/Makefile: Likewise.
8407 * iconvdata/Makefile: Likewise.
8408 * locale/Makefile: Likewise.
8409 * malloc/Makefile: Likewise.
8410 * nss/Makefile: Likewise.
8411 * sysdeps/gnu/Makefile: Likewise.
8412 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8413 * sysdeps/unix/sysv/linux/Makefile: Likewise.
8414 * sysdeps/s390/s390-64/Makefile: Likewise.
8415 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
8416 CPPFLAGS for nscd instead of nonlib.
8418 2014-11-18 Roland McGrath <roland@hack.frob.com>
8420 * nptl/createthread.c: New file.
8422 * nptl/createthread.c: Moved ...
8423 * sysdeps/unix/sysv/linux/createthread.c: ... here.
8425 * nptl/createthread.c: Add proper top-line comment.
8426 (do_clone): Folded into ...
8427 (create_thread): ... here. Take new arguments STOPPED_START and
8428 THREAD_RAN. Always set PD->stopped_start to something here. Don't
8429 increment __nptl_threads, do event-reporting logic, do
8430 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8431 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
8432 resource cleanup if sched_setaffinity or sched_setscheduler fails,
8433 just send SIGCANCEL.
8434 * nptl/pthread_create.c: Forward-declare create_thread before
8435 including createthread.c.
8436 (start_thread): Use new macro START_THREAD_DEFN to replace defining
8437 declaration, and new macro START_THREAD_SELF to replace argument.
8438 Remove return statement.
8439 (report_thread_creation): New function.
8440 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
8441 synchronization logic, and __nptl_nthreads increment here, around
8442 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
8443 PD->parent_cancelhandling here, before create_thread. When
8444 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8445 __deallocate_stack, and ENOMEM translation here.
8447 2014-11-18 Joseph Myers <joseph@codesourcery.com>
8450 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8451 (mptwo): Rename to __mptwo.
8452 (__inv): Use __mptwo instead of mptwo.
8453 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8454 (mptwo): Rename to __mptwo.
8455 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8456 of mpone and __mptwo instead of mptwo.
8457 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8460 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8461 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8462 of mpone and __mptwo instead of mptwo.
8463 (__mpranred): Use __mpone instead of mpone.
8464 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8466 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8467 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8468 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8469 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8470 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8471 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8472 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8473 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8474 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8475 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8476 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8477 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8478 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8479 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8480 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8481 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8482 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8483 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8484 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8486 2014-11-18 Tom de Vries <tom@codesoucery.com>
8488 * manual/signal.texi (Primitives Interrupted by Signals): In section,
8489 replace BSD Handler xref with BSD Signal Handling.
8491 2014-11-17 Richard Henderson <rth@redhat.com>
8493 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8494 (_FP_PACK_RAW_2): Remove.
8495 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8496 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8497 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8498 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8499 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8500 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8501 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8502 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8503 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8504 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8505 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8506 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8507 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8508 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8509 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8510 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8512 2014-11-14 Roland McGrath <roland@hack.frob.com>
8514 * signal/signal.h [__USE_MISC]
8515 (struct sigvec): Remove type.
8516 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8517 (sigvec): Remove declaration.
8518 * sysdeps/posix/sigvec.c: Moved ...
8519 * signal/sigvec.c: ... here, replacing old file.
8520 (struct sigvec): New type, copied from old signal.h definition.
8521 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8522 (__sigvec): Convert definition to prototype.
8523 (sigvec): Replace weak_alias with compat_symbol.
8524 * signal/Versions (libc: GLIBC_2.21): New version set.
8525 * include/signal.h: Remove __sigvec declaration.
8526 * sysdeps/unix/bsd/sigvec.c: Remove file.
8527 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8528 * manual/signal.texi (BSD Handler): Remove subsection.
8529 Move siginterrupt up to ...
8530 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
8531 (Blocking in BSD): Fold subsection into its parent.
8532 * NEWS: Mention sigvec removal.
8534 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8536 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8537 (DLA_FMS): Make definition conditional only on [__FMA4__].
8538 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8541 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8542 Make definition conditional only on [PROF].
8543 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8545 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8546 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8548 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8550 * include/signal.h (__sigpause): Move declaration above call to
8552 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8554 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8555 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8557 2014-11-14 David S. Miller <davem@davemloft.net>
8559 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8560 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8562 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8564 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8565 * configure: Regenerated.
8566 * manual/install.texi (Tools for Compilation): Document a
8567 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8568 compiler verified to work.
8569 * INSTALL: Regenerated.
8571 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8572 redeclare with asm name.
8573 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8574 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8575 including <string.h>.
8576 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8577 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8578 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8579 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8580 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8581 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8582 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8584 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8586 * stdlib/strtol.c (__strtol): Use prototype definition.
8589 * stdlib/strtol.c (SYM__): New macro.
8591 (__strtol): Likewise.
8592 (strtol): Rename to __strtol and define as weak alias of
8593 __strtol. Use libc_hidden_weak.
8595 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8597 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8598 Use numbered labels in inline assembly.
8600 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8602 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8603 Add setjmp LIBC_PROBE.
8604 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8606 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8607 Add longjmp, longjmp_target LIBC_PROBE.
8608 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8611 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8614 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8615 to get rid of unused variable warning.
8617 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8619 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8620 Check for unwind_backtrace == NULL only in SHARED case.
8621 (__backchain_backtrace): Compile only in SHARED case.
8622 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8624 (__backchain_backtrace): Declare as static.
8626 2014-11-12 Roland McGrath <roland@hack.frob.com>
8628 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8629 (__libc_multiple_threads_ptr): Variable moved ...
8630 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8632 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8634 * conform/GlibcConform.pm: New file.
8635 * conform/conformtest.pl: Use GlibcConform module.
8636 * conform/linknamespace.pl: New file.
8637 * conform/list-header-symbols.pl: Likewise.
8638 * conform/Makefile (linknamespace-symlists-base): New variable.
8639 (linknamespace-symlists-tests): Likewise.
8640 (linknamespace-header-base): Likewise.
8641 (linknamespace-header-tests): Likewise.
8642 (tests-special): Add new tests.
8643 ($(linknamespace-symlists-tests)): New rule.
8644 (linknamespace-libs): New variable.
8645 ($(objpfx)symlist-stdlibs): New rule.
8646 ($(linknamespace-header-tests)): Likewise.
8647 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8648 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8649 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8650 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8651 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8652 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8653 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8654 (test-xfail-ISO/math.h/linknamespace): Likewise.
8655 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8656 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8657 (test-xfail-ISO/time.h/linknamespace): Likewise.
8658 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8659 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8660 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8661 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8662 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8663 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8664 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8665 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8666 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8667 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8668 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8669 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8670 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8671 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8672 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8673 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8674 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8675 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8676 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8677 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8678 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8679 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8680 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8681 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8682 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8683 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8684 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8685 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8686 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8687 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8688 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8689 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8690 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8691 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8692 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8693 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8694 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8695 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8696 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8697 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8698 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8699 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8700 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8701 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8702 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8703 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8704 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8705 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8706 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8707 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8708 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8709 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8710 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8711 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8712 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8713 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8714 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8715 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8716 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8717 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8718 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8719 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8720 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8721 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8722 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8723 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8724 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8725 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8726 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8727 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8728 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8729 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8730 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8731 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8732 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8733 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8734 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8735 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8736 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8737 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8738 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8739 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8740 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8741 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8742 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8743 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8744 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8745 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8746 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8747 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8748 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8749 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8750 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8751 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8752 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8753 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8754 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8755 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8756 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8757 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8758 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8759 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8760 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8761 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8762 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8763 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8764 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8765 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8766 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8767 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8768 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8769 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8770 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8771 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8772 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8773 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8774 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8775 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8776 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8777 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8778 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8779 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8780 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8781 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8782 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8783 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8784 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8785 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8786 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8787 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8788 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8789 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8790 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8791 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8792 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8793 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8794 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8795 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8796 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8797 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8798 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8799 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8800 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8801 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8802 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8803 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8804 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8805 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8806 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8807 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8810 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8814 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8815 (memmem): Rename to __memmem and define as weak alias of
8816 __memmem. Use libc_hidden_weak.
8817 (__memmem): Use libc_hidden_def.
8818 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8819 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8823 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8824 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8825 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8826 and define as weak alias of __fgets_unlocked. Use
8828 (__fgets_unlocked): Use libc_hidden_def.
8829 * include/stdio.h (__fgets_unlocked): Declare. Use
8831 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8832 __fgets_unlocked instead of fgets_unlocked.
8833 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8834 (GET_NPROCS_CONF_PARSER): Likewise.
8835 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8836 (GET_NPROCS_CONF_PARSER): Likewise.
8839 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8840 weak alias of __wmemset. Use libc_hidden_weak.
8841 (__wmemset): Use libc_hidden_def.
8842 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8843 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8847 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8848 with asm name __mempcpy.
8849 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8852 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8853 and define as weak alias of __rawmemchr.
8854 (__rawmemchr): Do not define as strong alias of rawmemchr.
8857 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8859 (qsort): Call __qsort_r instead of qsort_r.
8860 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8861 (__qsort_r): Declare. Call libc_hidden_proto.
8862 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8864 * nscd/gai.c (__qsort_r): Define to qsort_r.
8865 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8866 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8867 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8870 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8871 define as weak alias of __malloc_info.
8874 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8875 as weak alias of __rewinddir. Don't use libc_hidden_def.
8876 (__rewinddir): Use libc_hidden_def.
8877 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8878 as weak alias of __rewinddir. Don't use libc_hidden_def.
8879 (__rewinddir): Use libc_hidden_def.
8880 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8881 weak alias of __rewinddir. Don't use libc_hidden_def.
8882 (__rewinddir): Use libc_hidden_def.
8883 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8884 (__rewinddir): Use libc_hidden_proto.
8885 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8887 (__getcwd): Use __rewinddir instead of rewinddir.
8890 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8891 alias of __fileno. Use libc_hidden_weak.
8892 (__fileno): Use libc_hidden_def.
8893 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8894 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8896 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8898 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8899 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8901 (fread_unlocked): Don't use libc_hidden_ver.
8902 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8903 and define as weak alias of __fread_unlocked. Don't use
8905 (__fread_unlocked): Use libc_hidden_def.
8906 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8907 (ftello): Don't use libc_hidden_proto.
8908 (__ftello): Declare. Use libc_hidden_proto.
8909 (fread_unlocked): Don't use libc_hidden_proto.
8910 (__fread_unlocked): Declare. Use libc_hidden_proto.
8911 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8912 and __ftello instead of fileno, fread_unlocked and ftello.
8914 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8916 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8918 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8920 (_dl_start_user): Likewise.
8921 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8923 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8924 Siddhesh Poyarekar <siddhesh@redhat.com>
8926 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8927 Move argv and envp down instead of moving argc up.
8928 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8930 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8933 * test-skeleton.c (main): Return successful if one of
8934 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8935 * string/tst-strcoll-overflow.c: Define expected status.
8937 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8940 * locale/iso-639.def: Define Bhili and Tulu language codes.
8942 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8944 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8946 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8949 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8951 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8953 * configure.ac: Updated check of minimal required version to
8955 * manual/install.texi (Tools for Compilation): Updated version
8957 * configure: Regenerated.
8958 * INSTALL: Likewise.
8960 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8962 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8965 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8967 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8968 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8969 (__waitpid): Don't define as alias. Use libc_hidden_def not
8971 (waitpid): Define as alias of __waitpid.
8972 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8974 (__waitpid): Don't define as alias. Use libc_hidden_def not
8976 (waitpid): Define as alias of __waitpid.
8977 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8978 __libc_waitpid alias.
8979 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8982 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8983 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8984 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8986 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8988 (__waitpid): Don't define as alias. Use libc_hidden_def not
8990 (waitpid): Define as alias of __waitpid.
8992 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8994 * manual/llio.texi: Add comment that write safety has been
8997 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8998 (localplt-build-dso): Add elf/ld.so.
8999 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9000 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9003 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9008 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9009 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9010 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9011 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9012 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9013 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9014 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9015 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9016 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9017 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9018 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9020 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9023 * include/libc-symbols.h (INTUSE): Remove macro.
9025 (INTVARDEF): Likewise.
9026 (_INTVARDEF): Likewise.
9027 (INTDEF2): Likewise.
9028 (INTVARDEF2): Likewise.
9029 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9030 rtld_hidden_def instead of INTVARDEF.
9031 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9032 (_dl_starting_up_internal): Remove declaration.
9033 (_dl_starting_up): Use rtld_hidden_proto.
9034 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9036 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9037 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9039 * elf/dl-writev.h (_dl_writev): Likewise.
9040 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9041 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9042 _dl_starting_up_internal.
9044 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9046 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9049 2014-11-05 Will Newton <will.newton@linaro.org>
9051 * benchtests/Makefile: (bench-malloc): Add malloc thread
9052 scalability benchmark.
9053 * benchtests/bench-malloc-threads.c: New file.
9055 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9057 * sysdeps/aarch64/strchrnul.S: New file.
9059 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9061 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9063 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9065 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9067 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9069 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9071 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9074 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9076 * catgets/test-gencat.c: Use test-skeleton.c.
9077 * catgets/tst-catgets.c: Likewise.
9078 * csu/tst-empty.c: Likewise.
9079 * elf/tst-audit2.c: Likewise.
9080 * elf/tst-global1.c: Likewise.
9081 * elf/tst-pathopt.c: Likewise.
9082 * elf/tst-piemod1.c: Likewise.
9083 * elf/tst-tls10.c: Likewise.
9084 * elf/tst-tls11.c: Likewise.
9085 * elf/tst-tls12.c: Likewise.
9086 * gnulib/tst-gcc.c: Likewise.
9087 * iconvdata/tst-e2big.c: Likewise.
9088 * iconvdata/tst-loading.c: Likewise.
9089 * iconv/tst-iconv1.c: Likewise.
9090 * iconv/tst-iconv2.c: Likewise.
9091 * inet/test-inet6_opt.c: Likewise.
9092 * inet/tst-gethnm.c: Likewise.
9093 * inet/tst-network.c: Likewise.
9094 * inet/tst-ntoa.c: Likewise.
9095 * intl/tst-codeset.c: Likewise.
9096 * intl/tst-gettext2.c: Likewise.
9097 * intl/tst-gettext3.c: Likewise.
9098 * intl/tst-ngettext.c: Likewise.
9099 * intl/tst-translit.c: Likewise.
9100 * io/test-stat.c: Likewise.
9101 * libio/test-fmemopen.c: Likewise.
9102 * libio/tst-freopen.c: Likewise.
9103 * libio/tst-sscanf.c: Likewise.
9104 * libio/tst-ungetwc1.c: Likewise.
9105 * libio/tst-ungetwc2.c: Likewise.
9106 * libio/tst-widetext.c: Likewise.
9107 * localedata/tst-ctype.c: Likewise.
9108 * localedata/tst-digits.c: Likewise.
9109 * localedata/tst-leaks.c: Likewise.
9110 * localedata/tst-mbswcs1.c: Likewise.
9111 * localedata/tst-mbswcs2.c: Likewise.
9112 * localedata/tst-mbswcs3.c: Likewise.
9113 * localedata/tst-mbswcs4.c: Likewise.
9114 * localedata/tst-mbswcs5.c: Likewise.
9115 * localedata/tst-setlocale.c: Likewise.
9116 * localedata/tst-trans.c: Likewise.
9117 * localedata/tst-wctype.c: Likewise.
9118 * localedata/tst-xlocale1.c: Likewise.
9119 * login/tst-grantpt.c: Likewise.
9120 * malloc/tst-calloc.c: Likewise.
9121 * malloc/tst-malloc.c: Likewise.
9122 * malloc/tst-mallocstate.c: Likewise.
9123 * malloc/tst-mcheck.c: Likewise.
9124 * malloc/tst-mtrace.c: Likewise.
9125 * malloc/tst-obstack.c: Likewise.
9126 * math/atest-exp2.c: Likewise.
9127 * math/atest-exp.c: Likewise.
9128 * math/atest-sincos.c: Likewise.
9129 * math/test-matherr.c: Likewise.
9130 * math/test-misc.c: Likewise.
9131 * math/test-powl.c: Likewise.
9132 * math/tst-definitions.c: Likewise.
9133 * misc/tst-dirname.c: Likewise.
9134 * misc/tst-efgcvt.c: Likewise.
9135 * misc/tst-fdset.c: Likewise.
9136 * misc/tst-hsearch.c: Likewise.
9137 * misc/tst-mntent2.c: Likewise.
9138 * nptl/tst-sem7.c: Likewise.
9139 * nptl/tst-sem8.c: Likewise.
9140 * nptl/tst-sem9.c: Likewise.
9141 * nss/test-netdb.c: Likewise.
9142 * posix/tst-fnmatch.c: Likewise.
9143 * posix/tst-getlogin.c: Likewise.
9144 * posix/tst-gnuglob.c: Likewise.
9145 * posix/tst-mmap.c: Likewise.
9146 * pwd/tst-getpw.c: Likewise.
9147 * resolv/tst-inet_ntop.c: Likewise.
9148 * rt/tst-timer.c: Likewise.
9149 * stdio-common/test-fseek.c: Likewise.
9150 * stdio-common/test-popen.c: Likewise.
9151 * stdio-common/test-vfprintf.c: Likewise.
9152 * stdio-common/tst-cookie.c: Likewise.
9153 * stdio-common/tst-fileno.c: Likewise.
9154 * stdio-common/tst-gets.c: Likewise.
9155 * stdio-common/tst-obprintf.c: Likewise.
9156 * stdio-common/tst-perror.c: Likewise.
9157 * stdio-common/tst-sprintf2.c: Likewise.
9158 * stdio-common/tst-sprintf3.c: Likewise.
9159 * stdio-common/tst-sprintf.c: Likewise.
9160 * stdio-common/tst-swprintf.c: Likewise.
9161 * stdio-common/tst-tmpnam.c: Likewise.
9162 * stdio-common/tst-unbputc.c: Likewise.
9163 * stdio-common/tst-wc-printf.c: Likewise.
9164 * stdlib/tst-environ.c: Likewise.
9165 * stdlib/tst-fmtmsg.c: Likewise.
9166 * stdlib/tst-limits.c: Likewise.
9167 * stdlib/tst-rand48-2.c: Likewise.
9168 * stdlib/tst-rand48.c: Likewise.
9169 * stdlib/tst-random2.c: Likewise.
9170 * stdlib/tst-random.c: Likewise.
9171 * stdlib/tst-strtol.c: Likewise.
9172 * stdlib/tst-strtoll.c: Likewise.
9173 * stdlib/tst-tls-atexit.c: Likewise.
9174 * stdlib/tst-xpg-basename.c: Likewise.
9175 * string/test-ffs.c: Likewise.
9176 * string/tst-bswap.c: Likewise.
9177 * string/tst-inlcall.c: Likewise.
9178 * string/tst-strtok.c: Likewise.
9179 * string/tst-strxfrm.c: Likewise.
9180 * sysdeps/x86_64/tst-audit10.c: Likewise.
9181 * sysdeps/x86_64/tst-audit3.c: Likewise.
9182 * sysdeps/x86_64/tst-audit4.c: Likewise.
9183 * sysdeps/x86_64/tst-audit5.c: Likewise.
9184 * time/tst-ftime_l.c: Likewise.
9185 * time/tst-getdate.c: Likewise.
9186 * time/tst-mktime3.c: Likewise.
9187 * time/tst-mktime.c: Likewise.
9188 * time/tst-posixtz.c: Likewise.
9189 * time/tst-strptime2.c: Likewise.
9190 * time/tst-strptime3.c: Likewise.
9191 * wcsmbs/tst-btowc.c: Likewise.
9192 * wcsmbs/tst-mbrtowc.c: Likewise.
9193 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9194 * wcsmbs/tst-wchar-h.c: Likewise.
9195 * wcsmbs/tst-wcpncpy.c: Likewise.
9196 * wcsmbs/tst-wcrtomb.c: Likewise.
9197 * wcsmbs/tst-wcsnlen.c: Likewise.
9198 * wcsmbs/tst-wcstof.c: Likewise.
9200 2014-11-04 Joseph Myers <joseph@codesourcery.com>
9203 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9205 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9207 (_dl_mcount): Use rtld_hidden_proto.
9208 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9210 * elf/rtld.c (_rtld_global_ro): Likewise.
9213 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9214 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9215 of _dl_init_internal.
9216 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9217 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9218 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9219 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9220 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9221 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9222 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9223 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9224 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9225 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9226 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9227 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9228 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9229 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9230 * sysdeps/tile/dl-start.S (_start): Likewise.
9231 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9232 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9235 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9236 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9237 (rtld_progname): Make macro definition unconditional.
9238 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9240 (dlmopen_doit): Do not use INTUSE with _dl_argv.
9241 (dl_main): Likewise.
9242 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9243 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9244 instead of _dl_argv_internal.
9245 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9246 __GI__dl_argv instead of INTUSE(_dl_argv).
9247 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9248 __GI__dl_argv instead of _dl_argv_internal.
9250 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9251 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9253 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9254 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9256 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9257 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9259 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9260 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9262 2014-11-04 Andreas Schwab <schwab@suse.de>
9264 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9266 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9268 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9269 mtvsrd instruction in binary form.
9271 2014-11-03 Andreas Schwab <schwab@suse.de>
9274 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9275 for less than MB_LEN_MAX use a local buffer of that size.
9276 * libio/tst-fputws.c: New file.
9277 * libio/Makefile (tests): Add tst-fputws.
9279 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
9281 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9282 the size of the fpu_fr.fpu_dregs[] array.
9284 2014-11-01 Joseph Myers <joseph@codesourcery.com>
9286 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9287 (__nanosleep): Do not define as alias.
9288 (nanosleep): Define as alias of __nanosleep.
9289 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9290 __libc_nanosleep name.
9292 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9294 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9295 install.texi in comment.
9297 2014-10-31 Torvald Riegel <triegel@redhat.com>
9299 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9300 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9301 ... add here and use lwsync or sync ...
9302 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9303 ... and add here using lwsync.
9305 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
9307 * elf/dl-machine-reject-phdr.h: New file.
9308 * elf/dl-load.c: #include that.
9309 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9310 if that returned true.
9312 2014-10-31 Roland McGrath <roland@hack.frob.com>
9315 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9316 gen-as-const-headers chunk. Add a big scare comment after the last
9317 safe place to touch before-compile.
9319 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9321 * manual/install.texi (Tools for Compilation): Update autoconf
9322 version requirements.
9323 * INSTALL: Regenerated.
9325 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9326 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9327 (__libc_pselect): Likewise.
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9335 2014-10-31 Torvald Riegel <triegel@redhat.com>
9337 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9338 correct barrier instruction.
9339 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9341 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9344 2014-10-30 Roland McGrath <roland@hack.frob.com>
9346 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9347 after defining inlines. Instead, just use parens to defeat macro
9348 expansion of __isctype in its declaration.
9350 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9352 * include/sys/uio.h (__libc_readv): Remove declaration.
9353 (__libc_writev): Likewise.
9354 * misc/readv.c (__libc_readv): Rename to __readv.
9355 (__readv): Do not define as alias.
9356 (readv): Define as alias of __readv.
9357 * misc/writev.c (__libc_writev): Rename to __writev.
9358 (__writev): Do not define as alias.
9359 (writev): Define as alias of __writev.
9360 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9361 (__readv): Do not define as alias.
9362 (readv): Define unconditionally as alias of __readv.
9363 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9364 (__writev): Do not define as alias.
9365 (writev): Define unconditionally as alias of __writev.
9366 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9368 (writev): Do not define __libc_writev name.
9370 2014-10-30 Roland McGrath <roland@hack.frob.com>
9372 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9373 (convert_charseq): New function, broken out of ...
9374 (use_from_charmap): ... here. Call it.
9375 (use_to_charmap): Use convert_charseq and free instead of duplicating
9376 its code with a variable-length stack struct.
9378 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9380 * include/fcntl.h (__libc_creat): Remove declaration.
9381 * io/creat.c (__libc_creat): Rename to creat.
9382 (creat): Do not define as alias.
9383 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9384 of creat instead of __libc_creat.
9385 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9387 (creat): Do not define as alias.
9388 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9390 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9392 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9395 2014-10-29 Carlos O'Donell <carlos@redhat.com>
9397 * manual/llio.texi: Add comments discussing why write() may be
9398 considered MT-unsafe on Linux.
9400 2014-10-28 Carlos O'Donell <carlos@redhat.com>
9402 * dl-load.c (local_strdup): Remove.
9403 (expand_dynamic_string_token): Use __strdup.
9404 (decompose_rpath): Likewise.
9405 (_dl_map_object): Likewise.
9407 2014-10-28 Joseph Myers <joseph@codesourcery.com>
9410 * sysdeps/generic/unwind-dw2-fde.c
9411 (__register_frame_info_bases_internal): Do not declare.
9412 (__register_frame_info_table_bases_internal): Likewise.
9413 (__deregister_frame_info_bases_internal): Likewise.
9414 (__register_frame_info_bases): Declare and use hidden_proto before
9415 definition. Use hidden_def instead of INTDEF.
9416 (__register_frame_info_table_bases): Likewise.
9417 (__deregister_frame_info_bases): Likewise.
9418 (__register_frame_info): Do not use INTUSE.
9419 (__register_frame): Likewise.
9420 (__register_frame_info_table): Likewise.
9421 (__register_frame_table): Likewise.
9422 (__deregister_frame_info): Likewise.
9423 (__deregister_frame): Likewise.
9425 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
9427 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9428 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9430 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9432 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9435 2014-10-27 Joseph Myers <joseph@codesourcery.com>
9438 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9439 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9440 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9441 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9442 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9443 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9444 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9445 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9446 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9447 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9448 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9449 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9450 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9452 (setfsuid): Likewise.
9453 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9454 (setfsuid): Likewise.
9455 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9456 (setfsuid): Likewise.
9457 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9459 (setfsuid): Likewise.
9460 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9461 (setfsuid): Likewise.
9462 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9464 (setfsuid): Likewise.
9466 2014-10-27 Andreas Schwab <schwab@suse.de>
9469 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9470 check for Slow_SSE4_2 feature bit.
9471 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9472 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9473 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9474 Likewise. Fix check for Fast_Unaligned_Load feature bit.
9476 2014-10-24 Roland McGrath <roland@hack.frob.com>
9478 * configure.ac: Validate compiler version with a empirical test of
9479 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9481 * configure: Regenerated.
9483 * inet/htons.c (htons): Prototypify.
9484 * inet/htonl.c (htonl): Likewise.
9486 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9488 * string/strncat.c (strncat): Improve performance by using strlen.
9490 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9492 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9494 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9496 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9497 Call libc_fetestexcept_aarch64.
9499 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9501 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9502 Call libc_feholdexcept_aarch64.
9504 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9506 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9507 Call get_rounding_mode.
9509 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9511 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9514 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9516 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9519 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9522 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9523 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9524 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9525 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9526 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9527 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9528 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9529 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9530 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9531 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9532 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9533 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9534 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9535 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9536 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9537 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9538 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9539 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9540 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9541 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9542 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9543 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9544 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9545 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9546 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9547 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9548 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9549 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9550 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9551 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9552 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9553 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9554 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9555 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9556 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9557 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9558 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9559 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9560 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9561 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9562 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9564 (geteuid): Likewise.
9567 (getresgid): Likewise.
9568 (getresuid): Likewise.
9569 (getgroups): Likewise.
9570 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9571 (geteuid): Likewise.
9574 (getresgid): Likewise.
9575 (getresuid): Likewise.
9576 (getgroups): Likewise.
9577 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9578 (geteuid): Likewise.
9581 (getresgid): Likewise.
9582 (getresuid): Likewise.
9583 (getgroups): Likewise.
9584 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9586 (geteuid): Likewise.
9589 (getresgid): Likewise.
9590 (getresuid): Likewise.
9591 (getgroups): Likewise.
9592 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9593 (geteuid): Likewise.
9596 (getresgid): Likewise.
9597 (getresuid): Likewise.
9598 (getgroups): Likewise.
9599 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9601 (geteuid): Likewise.
9604 (getgroups): Likewise.
9607 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9608 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9609 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9610 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9611 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9612 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9613 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9614 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9615 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9616 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9617 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9618 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9619 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9621 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9624 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9628 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9631 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9636 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9638 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9641 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9643 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9646 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9648 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9649 Remove unused include.
9651 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9653 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9654 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9655 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9656 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9658 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9659 Helge Deller <deller@gmx.de>
9662 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9663 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9664 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9666 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9669 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9670 Remove macro definition.
9671 (__ashrdi3_v_glibc20): Likewise.
9672 (__lshrdi3_v_glibc20): Likewise.
9673 (__cmpdi2_v_glibc20): Likewise.
9674 (__ucmpdi2_v_glibc20): Likewise.
9675 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9676 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9677 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9678 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9679 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9680 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9682 2014-10-22 Roland McGrath <roland@hack.frob.com>
9684 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9685 old GNU extension [0] syntax.
9686 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9687 alloca rather than an array member with variable length.
9688 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9689 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9690 (parse_opt): ... here. Likewise use alloca there.
9691 Validate the -i argument before checking for rootness.
9692 (send_shutdown): New function, broken out of ...
9693 (parse_opt): ... here.
9695 2014-10-22 Roland McGrath <roland@hack.frob.com>
9697 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9698 macro to get at the _rt_local_ro field.
9699 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9700 ([PIC] case) or _dl_hwcap ([!PIC] case).
9701 * sysdeps/arm/setjmp.S: Likewise.
9703 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9704 * sysdeps/arm/configure.ac: New check to define it.
9705 * sysdeps/arm/configure: Regenerated.
9706 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9707 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9708 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9709 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9710 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9711 Use move/movt pair instead of a load.
9712 (LDST_GLOBAL): Macro removed.
9713 (LDR_GLOBAL): New macro replaces it.
9714 (LDR_HIDDEN): New macro.
9715 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9716 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9718 * setjmp/tst-setjmp-static.c: New file.
9719 * setjmp/Makefile (tests): Add it.
9720 (tests-static): New variable.
9722 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9725 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9727 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9730 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9732 2014-10-21 Roland McGrath <roland@hack.frob.com>
9734 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9736 2014-10-20 Roland McGrath <roland@hack.frob.com>
9738 * io/fts.c (dirent_not_directory): New function.
9739 (fts_build): Call it.
9741 2014-10-20 Roland McGrath <roland@hack.frob.com>
9743 * nptl/version.c (__nptl_main): Use normal __write rather than
9745 (banner): Update copyright years.
9747 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9749 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9750 * nptl/pthread_cond_timedwait.c: Likewise.
9751 * nptl/pthread_mutex_timedlock.c: Likewise.
9752 * nptl/sem_timedwait.c: Likewise.
9754 * sysdeps/nptl/bits/libc-lock.h
9755 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9756 (__libc_lock_init_recursive): Return void, not 0.
9757 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9758 (__libc_rwlock_init): Likewise.
9759 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9761 2014-10-20 Torvald Riegel <triegel@redhat.com>
9764 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9765 (__pthread_once_slow): ... here.
9766 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9767 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9769 2014-10-20 Torvald Riegel <triegel@redhat.com>
9772 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9773 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9774 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9775 * nptl/pthread_once.c (__pthread_once): Likewise.
9778 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9781 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9783 (writev): Use __libc_writev as strong name.
9784 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9785 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9787 2014-10-17 Roland McGrath <roland@hack.frob.com>
9789 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9791 * sysdeps/i386/nptl/tls.h
9792 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9793 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9795 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9796 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9797 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9798 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9799 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9800 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9802 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9803 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9805 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9807 (__pthread_mutex_init): ... here. Call it.
9808 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9809 Conditionalize PI cases on [__NR_futex].
9810 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9811 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9812 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9814 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9815 conditional on [SIGSETXID].
9816 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9817 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9818 is defined. Likewise for SIGSETXID.
9819 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9820 Conditionalize definitions on [SIGSETXID].
9821 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9822 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9823 unblocking on [SIGCANCEL].
9825 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9826 [__NR_set_robust_list].
9828 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9830 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9831 (do_compare): Likewise.
9833 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9836 * string/strcoll_l.c: Don't include stdio.h.
9837 (coll_seq): Remove members idxarr and rulearr.
9838 (get_next_seq_cached): Remove function.
9839 (get_next_seq): Likewise.
9840 (get_next_seq_nocache): Rename to get_next_seq.
9841 (do_compare): Remove function.
9842 (do_compare_nocache): Rename to do_compare.
9843 (STRCOLL): Remove weight and rules cache.
9845 2014-10-16 Roland McGrath <roland@hack.frob.com>
9847 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9848 * sysdeps/arm/sfp-machine.h: ... to here.
9849 * sysdeps/arm/Implies: Remove arm/soft-fp.
9851 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9853 * conform/data/sys/utsname.h-data (*_t): Allow.
9854 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9855 [POSIX] (WEXITED): Do not expect constant.
9856 [POSIX] (WSTOPPED): Likewise.
9857 [POSIX] (WNOHANG): Likewise.
9858 [POSIX] (WNOWAIT): Likewise.
9859 [POSIX] (siginfo_t): Do not expect type or elements.
9860 [POSIX] (pid_t): Do not expect type.
9861 [POSIX] (signal.h): Do not allow header.
9862 [POSIX] (sys/resource.h): Likewise.
9863 [POSIX] (si_*): Do not allow pattern.
9864 [POSIX] (W*): Likewise.
9865 [POSIX] (P_*): Likewise.
9866 [POSIX] (BUS_*): Likewise.
9867 [POSIX] (CLD_*): Likewise.
9868 [POSIX] (FPE_*): Likewise.
9869 [POSIX] (ILL_*): Likewise.
9870 [POSIX] (POLL_*): Likewise.
9871 [POSIX] (SEGV_*): Likewise.
9872 [POSIX] (SI_*): Likewise.
9873 [POSIX] (TRAP_*): Likewise.
9874 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9877 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9880 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9881 infinite loop when __recvmsg returns 0.
9883 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9885 * CANCEL-FCT-WAIVE: Remove file.
9886 * CANCEL-FILE-WAIVE: Likewise.
9889 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9890 instead of INTVARDEF.
9891 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9892 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9893 rtld_hidden_data_def instead of INTVARDEF.
9894 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9895 * elf/dl-deps.c (expand_dst): Likewise.
9896 * elf/dl-load.c (_dl_dst_count): Likewise.
9897 (_dl_dst_substitute): Likewise.
9898 (decompose_rpath): Likewise.
9899 (_dl_init_paths): Likewise.
9900 (open_path): Likewise.
9901 (_dl_map_object): Likewise.
9902 * elf/rtld.c (dl_main): Likewise.
9903 (process_dl_audit): Likewise.
9904 (process_envvars): Likewise.
9905 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9907 (__libc_enable_secure): Use rtld_hidden_proto.
9909 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9912 (add_path): New function broken out of _dl_rtld_di_serinfo.
9913 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9915 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9917 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9918 parentheses around macro arguments.
9919 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9920 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9921 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9922 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9923 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9924 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9925 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9926 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9927 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9928 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9929 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9930 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9931 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9932 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9933 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9934 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9935 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9936 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9937 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9938 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9939 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9940 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9941 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9942 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9943 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9944 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9945 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9946 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9947 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9948 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9949 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9950 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9951 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9952 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9953 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9954 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9956 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9957 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9958 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9959 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9960 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9961 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9962 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9963 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9964 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9965 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9966 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9967 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9968 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9969 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9970 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9971 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9972 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9973 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9974 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9975 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9976 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9977 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9978 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9979 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9980 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9981 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9982 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9983 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9984 (_FP_FRAC_SRS_1): Likewise.
9985 (_FP_FRAC_CLZ_1): Likewise.
9986 (_FP_MUL_MEAT_1_imm): Likewise.
9987 (_FP_MUL_MEAT_1_wide): Likewise.
9988 (_FP_MUL_MEAT_1_hard): Likewise.
9989 (_FP_SQRT_MEAT_1): Likewise.
9990 (_FP_FRAC_ASSEMBLE_1): Likewise.
9991 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9992 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9993 (__FP_CLZ_2): Likewise.
9994 (_FP_MUL_MEAT_2_wide): Likewise.
9995 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9996 (_FP_MUL_MEAT_2_gmp): Likewise.
9997 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9998 (_FP_SQRT_MEAT_2): Likewise.
9999 (_FP_FRAC_ASSEMBLE_2): Likewise.
10000 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10001 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10002 (_FP_FRAC_CLZ_4): Likewise.
10003 (_FP_MUL_MEAT_4_wide): Likewise.
10004 (_FP_MUL_MEAT_4_gmp): Likewise.
10005 (_FP_SQRT_MEAT_4): Likewise.
10006 (_FP_FRAC_ASSEMBLE_4): Likewise.
10007 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10008 * soft-fp/op-common.h (_FP_CMP): Likewise.
10009 (_FP_CMP_EQ): Likewise.
10010 (_FP_CMP_UNORD): Likewise.
10011 (_FP_TO_INT): Likewise.
10012 (_FP_FROM_INT): Likewise.
10013 [!__FP_CLZ] (__FP_CLZ): Likewise.
10014 (_FP_DIV_HELP_imm): Likewise.
10015 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10017 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10018 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10019 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10020 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10021 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10022 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10023 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10024 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10025 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10026 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10027 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10028 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10029 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10030 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10031 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10032 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10033 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10034 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10035 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10036 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10037 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10038 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10039 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10040 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10041 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10042 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10043 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10044 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10045 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10046 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10047 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10048 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10049 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10050 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10051 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10052 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10053 (FP_UNPACK_RAW_SP): Likewise.
10054 (FP_PACK_RAW_S): Likewise.
10055 (FP_PACK_RAW_SP): Likewise.
10056 (FP_UNPACK_S): Likewise.
10057 (FP_UNPACK_SP): Likewise.
10058 (FP_UNPACK_SEMIRAW_S): Likewise.
10059 (FP_UNPACK_SEMIRAW_SP): Likewise.
10060 (FP_PACK_S): Likewise.
10061 (FP_PACK_SP): Likewise.
10062 (FP_PACK_SEMIRAW_S): Likewise.
10063 (FP_PACK_SEMIRAW_SP): Likewise.
10064 (_FP_SQRT_MEAT_S): Likewise.
10065 (FP_CMP_S): Likewise.
10066 (FP_CMP_EQ_S): Likewise.
10067 (FP_CMP_UNORD_S): Likewise.
10068 (FP_TO_INT_S): Likewise.
10069 (FP_FROM_INT_S): Likewise.
10071 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10073 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10074 (FP_EX_INVALID_IMZ): Likewise.
10075 (FP_EX_INVALID_IMZ_FMA): Likewise.
10076 (FP_EX_INVALID_ISI): Likewise.
10077 (FP_EX_INVALID_ZDZ): Likewise.
10078 (FP_EX_INVALID_IDI): Likewise.
10079 (FP_EX_INVALID_SQRT): Likewise.
10080 (FP_EX_INVALID_CVI): Likewise.
10081 (FP_EX_INVALID_VC): Likewise.
10082 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10083 "invalid" exceptions.
10084 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10085 (_FP_ADD_INTERNAL): Likewise.
10086 (_FP_MUL): Likewise.
10087 (_FP_FMA): Likewise.
10088 (_FP_DIV): Likewise.
10089 (_FP_CMP_CHECK_NAN): Likewise.
10090 (_FP_SQRT): Likewise.
10091 (_FP_TO_INT): Likewise.
10092 (FP_EXTEND): Likewise.
10094 2014-10-09 Allan McRae <allan@archlinux.org>
10096 * po/fr.po: Update French translation from translation project.
10098 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10101 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10103 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10104 (__cxa_atexit): Use libc_hidden_proto.
10105 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10108 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10110 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10111 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10112 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10113 [!_ISOMAC] (__iswctype_internal): Likewise.
10114 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10115 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10117 (fcntl): Remove __fcntl_internal alias.
10118 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10119 __connect_internal alias.
10120 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10123 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10124 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10126 (_FP_CHECK_FLUSH_ZERO): New macro.
10127 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10128 (_FP_CMP): Likewise.
10129 (_FP_CMP_EQ): Likewise.
10130 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10132 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10133 (FP_TRUNC): Likewise.
10135 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10136 treated as invalid conversion, not as normal exponent.
10138 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10139 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10140 (_FP_CMP_EQ): Likewise.
10141 (_FP_CMP_UNORD): Likewise.
10142 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10143 (FP_CMP_EQ_D): Likewise.
10144 (FP_CMP_UNORD_D): Likewise.
10145 * soft-fp/extended.h (FP_CMP_E): Likewise.
10146 (FP_CMP_EQ_E): Likewise.
10147 (FP_CMP_UNORD_E): Likewise.
10148 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10149 (FP_CMP_EQ_Q): Likewise.
10150 (FP_CMP_UNORD_Q): Likewise.
10151 * soft-fp/single.h (FP_CMP_S): Likewise.
10152 (FP_CMP_EQ_S): Likewise.
10153 (FP_CMP_UNORD_S): Likewise.
10154 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10155 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10156 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10157 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10158 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10159 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10160 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10161 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10162 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10163 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10164 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10165 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10166 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10168 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10170 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10171 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10173 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10175 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10176 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10177 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10178 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10180 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10182 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10183 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10185 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10187 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10188 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10189 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10190 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10193 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10194 a subnormal result, set the underflow exception if trapping on
10195 underflow is enabled.
10196 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10197 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10198 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10200 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10201 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10202 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10203 * soft-fp/extendxftf2.c (__extendxftf2): Use
10204 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10206 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10207 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10208 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10209 FP_HANDLE_EXCEPTIONS.
10210 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10211 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10212 FP_HANDLE_EXCEPTIONS.
10213 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10214 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10215 FP_HANDLE_EXCEPTIONS.
10216 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10217 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10218 FP_HANDLE_EXCEPTIONS.
10220 2014-10-08 Joseph Myers <joseph@codesourcery.com>
10223 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10224 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10226 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10227 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10229 (__adjtimex): Define using libc_hidden_ver.
10230 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10231 Remove declaration.
10232 (ntp_gettime): Call __adjtimex directly.
10233 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10234 Remove declaration.
10235 (ntp_gettimex): Call __adjtimex directly.
10236 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10237 __adjtimex_internal alias.
10239 2014-10-08 Roland McGrath <roland@hack.frob.com>
10242 * nscd/nscd.c (more_help): Rewrite list of tables collection
10243 using xstrdup and asprintf.
10245 * nscd/nscd_conf.c: Remove local xstrdup declaration.
10247 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10248 Roland McGrath <roland@hack.frob.com>
10250 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10251 (do_lookup_unique): ... local function 'enter' here; update callers.
10253 2014-10-06 Joseph Myers <joseph@codesourcery.com>
10255 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10256 compat_symbol calls on [SHARED].
10257 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10258 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10260 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10261 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10262 (oldsetrlimit): Remove.
10263 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10265 (lchown): New syscall entry.
10266 (oldsetrlimit): Remove.
10267 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10268 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10269 (oldsetrlimit): Remove.
10270 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10273 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10274 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10275 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10276 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10277 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10278 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10279 (fchown): Likewise.
10280 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10281 (fchown): Likewise.
10282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10285 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10287 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10288 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10289 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10290 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10291 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10293 (__old_sem_post): Likewise.
10295 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
10297 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10298 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10299 HAVE_CLOCK_GETTIME_VSYSCALL macros.
10300 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10301 Use INLINE_VSYSCALL macro.
10302 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10303 __vdso_clock_gettime.
10304 * sysdeps/unix/sysv/linux/tile/init-first.c
10305 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10306 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10307 __vdso_clock_gettime.
10309 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10310 to set up frame more cleanly.
10312 * sysdeps/tile/memcmp.c: New file.
10314 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10316 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10317 * sysdeps/tile/tilegx/strcasestr.c: New file.
10318 * sysdeps/tile/tilegx/strnlen.c: New file.
10319 * sysdeps/tile/tilegx/strstr.c: New file.
10321 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10323 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
10325 * nptl/tst-setuid3.c: Write errors to stdout.
10327 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10330 (preload): New functions broken out of _dl_map_object_deps.
10331 (_dl_map_object_deps): Remove a nested function. Update call sites.
10333 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10336 * sysdeps/unix/sysv/linux/execve.c: Remove file.
10337 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10339 2014-10-01 Steve Ellcey <sellcey@mips.com>
10341 * sysdeps/mips/strcmp.S: New.
10343 2014-09-30 Joseph Myers <joseph@codesourcery.com>
10346 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10347 (linkat): Likewise.
10348 (mkdirat): Likewise.
10349 (readlinkat): Likewise.
10350 (renameat): Likewise.
10351 (symlinkat): Likewise.
10352 (unlinkat): Likewise.
10353 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10354 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10355 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10356 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10357 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10358 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10359 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10361 2014-09-30 Will Newton <will.newton@linaro.org>
10363 * math/math.h: Define long double math functions if
10364 _LIBC_TEST is defined.
10365 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10367 * localedata/Makefile: Move assignment to tests-special
10368 into an ifdef testing run-built-tests.
10369 * timezone/Makefile: Likewise.
10371 2014-09-29 Joseph Myers <joseph@codesourcery.com>
10373 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10374 with $(BASH) not $(SHELL).
10376 2014-09-29 Carlos O'Donell <carlos@redhat.com>
10377 Matthew LeGendre <legendre1@llnl.gov>
10380 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10383 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10385 * stdio-common/printf_fp.c
10386 (hack_digit): New function, broken out of ...
10387 (__printf_fp): ... local function here. Update call sites.
10388 hack_digit now takes an additional parameter that is a pointer
10389 to a struct of the referenced locals. Those locals moved inside
10390 the struct and references updated.
10392 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
10394 * aclocal.m4: Require autoconf 2.69.
10395 * configure: Regenerated.
10396 * sysdeps/aarch64/configure: Likewise.
10397 * sysdeps/alpha/configure: Likewise.
10398 * sysdeps/arm/armv7/configure: Likewise.
10399 * sysdeps/arm/configure: Likewise.
10400 * sysdeps/ia64/configure: Likewise.
10401 * sysdeps/mach/configure: Likewise.
10402 * sysdeps/mips/configure: Likewise.
10403 * sysdeps/s390/configure: Likewise.
10404 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10407 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10409 * sysdeps/ia64/configure.ac: Likewise.
10411 2014-09-26 Joseph Myers <joseph@codesourcery.com>
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10414 specify symbol version for ld.so. Do not include entry for
10416 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10417 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10418 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10421 * Makeconfig [$(build-shared) = yes]
10422 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10424 [$(build-shared) = yes && $(soversions.mk-done) = t]
10425 ($(common-objpfx)gnu/lib-names.h): Remove rule.
10426 [$(build-shared) = yes && $(soversions.mk-done) = t]
10427 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
10429 [$(build-shared) = yes && $(soversions.mk-done) = t]
10430 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10432 [$(build-shared) = yes && $(soversions.mk-done) = t]
10433 (common-generated): Don't append gnu/lib-names.h and
10434 gnu/lib-names.stmp here.
10435 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10436 (lib-names-h-abi): New variable.
10437 [$(build-shared) = yes && $(soversions.mk-done) = t]
10438 (lib-names-stmp-abi): Likewise.
10439 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10440 abi-variants] (before-compile): Append
10441 $(common-objpfx)$(lib-names-h-abi).
10442 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10443 abi-variants] (common-generated): Append gnu/lib-names.h.
10444 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10445 abi-variants] (install-others-nosubdir): Depend on
10446 $(inst_includedir)/$(lib-names-h-abi).
10447 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10448 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10449 [$(build-shared) = yes && $(soversions.mk-done) = t]
10450 ($(common-objpfx)$(lib-names-h-abi)): New rule.
10451 [$(build-shared) = yes && $(soversions.mk-done) = t]
10452 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10453 [$(build-shared) = yes && $(soversions.mk-done) = t]
10454 (common-generated): Append $(lib-names-h-abi) and
10455 $(lib-names-stmp-abi).
10456 * scripts/lib-names.awk: Do not handle multi being set.
10457 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10459 (abi-lp64_be-ld-soname): Likewise.
10460 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10462 (abi-hard-ld-soname): Likewise.
10463 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10464 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10466 (abi-o32_hard-ld-soname): Likewise.
10467 (abi-o32_soft_2008-ld-soname): Likewise.
10468 (abi-o32_hard_2008-ld-soname): Likewise.
10469 (abi-n32_soft-ld-soname): Likewise.
10470 (abi-n32_hard-ld-soname): Likewise.
10471 (abi-n32_soft_2008-ld-soname): Likewise.
10472 (abi-n32_hard_2008-ld-soname): Likewise.
10473 (abi-n64_soft-ld-soname): Likewise.
10474 (abi-n64_hard-ld-soname): Likewise.
10475 (abi-n64_soft_2008-ld-soname): Likewise.
10476 (abi-n64_hard_2008-ld-soname): Likewise.
10477 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10479 (abi-64-v2-ld-soname): Likewise.
10480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10482 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10484 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10486 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10488 (abi-64-ld-soname): Likewise.
10489 (abi-x32-ld-soname): Likewise.
10490 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10492 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10494 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10497 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10498 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10499 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10500 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10501 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10502 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10503 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10504 syscall entry for GLIBC_2.2 symbol version.
10505 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10508 (setrlimit): Likewise.
10509 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10512 2014-09-23 Will Newton <will.newton@linaro.org>
10514 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10515 _LINUX_ARM_SYSDEP_H include guard too.
10516 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10519 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10521 * sysdeps/unix/sysv/linux/eventfd.c:
10522 Make first argument unsigned.
10523 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10524 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10526 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10528 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10529 * socket/sys/socket.h: Likewise
10530 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10532 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10534 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10536 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
10538 * time/tst-ftime.c: New test.
10539 * time/Makefile (tests): Add tst-ftime.
10541 2014-09-17 Joseph Myers <joseph@codesourcery.com>
10543 * soft-fp/extended.h: Fix comment formatting.
10544 * soft-fp/op-1.h: Likewise.
10545 * soft-fp/op-2.h: Likewise.
10546 * soft-fp/op-4.h: Likewise.
10547 * soft-fp/op-8.h: Likewise.
10548 * soft-fp/op-common.h: Likewise.
10549 * soft-fp/soft-fp.h: Likewise.
10551 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10553 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10556 * Makeconfig (soversions-default-setname): Remove variable.
10557 ($(common-objpfx)soversions.i): Don't pass default_setname to
10559 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10560 oldest_abi to abi-versions.awk.
10561 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10562 * config.make.in (oldest-abi): Remove variable.
10563 * configure.ac (--enable-oldest-abi): Remove configure option.
10564 * configure: Regenerated.
10565 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10567 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10568 * scripts/soversions.awk: Do not handle default_setname variable.
10569 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10571 * sysdeps/mach/hurd/configure: Regenerated.
10572 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10574 * sysdeps/unix/sysv/linux/configure: Regenerated.
10576 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10578 * elf/Makefile (CFLAGS-interp.c): Remove.
10579 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10581 * elf/interp.c: Include generated runtime-linker.h
10583 * Makerules (lib%.so): Don't include $(+interp) in
10585 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10586 * dlfcn/eval.c: Remove file.
10588 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10592 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10596 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10598 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10599 Jakub Jelinek <jakub@redhat.com>
10602 * libio/stdio.h: Check definition of __fortify_function
10603 instead of __extern_always_inline to include bits/stdio2.h.
10604 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10605 check if __extern_always_inline is defined.
10606 [__USE_MISC || __USE_XOPEN]: Likewise.
10607 [__USE_ISOC99] Likewise.
10608 * misc/sys/cdefs.h (__fortify_function): Define only if
10609 __extern_always_inline is defined.
10610 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10611 __extern_always_inline and __extern_inline only for g++-4.3
10612 and newer or a compatible gcc.
10614 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10617 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10618 last change to handle zero prefix length.
10620 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10622 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10625 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10626 _POSIX_RAW_SOCKETS.
10628 2014-09-13 Allan McRae <allan@archlinux.org>
10630 * po/ru.po: Update Russian translation from translation project.
10632 2014-09-12 Roland McGrath <roland@hack.frob.com>
10634 * locale/programs/locale.c (show_locale_vars): Inline local function
10635 into its sole call site. Clean up some style nits.
10636 (print_item): New function, broken out of ...
10637 (show_info): ... local function here. Clean up style nits.
10639 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10641 (set_class_defaults): ... local function set_default here.
10642 Define set_default as a macro locally to pass constant parameters.
10643 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10644 rather than a shared local.
10646 * stdlib/rpmatch.c (try): New function, broken out of ...
10647 (rpmatch): ... local function here. Also, prototypify definition.
10649 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10651 * scripts/soversions.awk: Do not handle configuration names.
10652 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10653 vendor and os variables to soversions.awk.
10654 * configure.ac: Do not modify gnu-* host_os.
10655 * configure: Regenerated
10656 * shlib-versions: Remove first column with configuration names.
10657 * nptl/shlib-versions: Likewise.
10658 * nptl_db/shlib-versions: Likewise.
10659 * sysdeps/hppa/shlib-versions: Likewise.
10660 * sysdeps/m68k/shlib-versions: Likewise.
10661 * sysdeps/mach/hurd/shlib-versions: Likewise.
10662 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10663 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10664 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10665 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10666 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10667 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10668 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10669 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10672 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10673 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10674 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10675 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10676 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10677 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10678 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10679 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10682 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10685 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10687 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10689 * shlib-versions: Remove OS-specific entries. Moved to files in
10691 * sysdeps/mach/hurd/shlib-versions: New file.
10692 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10694 * nptl/shlib-versions: Remove architecture-specific entries.
10695 Moved to files in sysdeps.
10696 * shlib-versions: Likewise.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10699 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10700 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10701 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10702 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10704 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10705 (UDP_NO_CHECK6_RX): Likewise.
10707 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10709 * sysdeps/posix/sysconf.c (__sysconf): Spell
10710 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10712 2014-08-12 Florian Weimer <fweimer@redhat.com>
10714 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10716 * iconv/Versions (__gconv_transliterate): Export for use from
10718 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10719 (struct __gconv_trans_data, __gconv_trans_fct,
10720 __gconv_trans_context_fct, __gconv_trans_query_fct,
10721 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10723 (struct __gconv_step_data): Remove __trans member.
10724 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10725 longer hidden. Remove unused trans_data argument.
10726 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10727 (__gconv_translit_find): Remove declaration.
10728 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10730 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10731 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10732 trans_data argument. Add hidden definition.
10733 (__gconv_translit_find): Remove.
10734 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10735 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10736 * iconv/skeleton.c: Remove transliteration initialization.
10737 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10738 __gconv_step_data initialization.
10739 * libio/iofwide.c (__libio_translit_): Remove.
10740 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10741 * wcsmbs/btowc.c (__btowc): Likewise.
10742 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10743 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10744 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10745 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10746 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10747 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10748 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10749 * wcsmbs/wctob.c (wctob): Likewise.
10751 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10754 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10755 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10757 * sysdeps/x86/Makefile: Adjust.
10759 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10760 Roland McGrath <roland@hack.frob.com>
10762 * locale/weight.h: Add include guard.
10763 (findidx): Make static rather than auto; take new parameters
10764 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10765 * locale/weightwc.h: Likewise.
10766 * posix/fnmatch_loop.c
10767 (FCT): Change type of EXTRA from int32_t to wint_t.
10768 Don't include either header inside the function.
10769 Call FINDIDX rather than findidx, and pass new arguments.
10770 #undef FINDIDX at the end of the file.
10771 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10772 FINDIDX before including fnmatch_loop.c for the non-wide version.
10773 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10774 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10775 for the wide version.
10776 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10777 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10778 Pass new arguments to findidx.
10779 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10780 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10781 Don't #include it inside the function. Pass new arguments to findidx.
10782 * posix/regex_internal.h
10783 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10784 (re_string_elem_size_at): Don't #include it inside the function.
10785 Pass new arguments to findidx.
10786 * string/strcoll_l.c: #include WEIGHT_H at top level.
10787 (get_next_seq): Don't #include it inside the function.
10788 Pass new arguments to findidx.
10789 (get_next_seq_nocache): Likewise.
10790 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10791 (STRXFRM): Don't #include it inside the function.
10792 Pass new arguments to findidx.
10794 2014-09-11 Florian Weimer <fweimer@redhat.com>
10797 * malloc/malloc.c (unlink): Turn asserts into a call to
10800 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10803 * libio/wfileops (do_ftell_wide): Free OUT.
10805 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10807 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10809 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10812 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10813 group if the current group is empty.
10815 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10817 * benchtests/bench-memset.c (test_main): Add more test from size
10818 from 32 to 512 bytes.
10819 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10820 Add POWER8 memset object.
10821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10822 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10823 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10825 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10827 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10828 multiarch POWER8 memset optimization.
10829 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10830 POWER8 memset optimization.
10832 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10833 Remove bzero multiarch objects.
10834 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10835 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10836 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10837 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10839 [__bzero]: Redefine to specific name.
10840 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10841 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10842 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10844 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10845 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10847 2014-09-10 Florian Weimer <fweimer@redhat.com>
10849 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10850 warnings into errors.
10852 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10853 __cxa_thread_atexit_impl prototype.
10855 2014-09-09 Steve Ellcey <sellcey@mips.com>
10857 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10858 Fix capitalization of error message.
10860 2014-09-09 Steve Ellcey <sellcey@mips.com>
10862 * sysdeps/mips/preconfigure: Modify ABI tests.
10864 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10866 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10868 2014-09-07 Roland McGrath <roland@hack.frob.com>
10869 Carlos O'Donell <carlos@systemhalted.org>
10871 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10872 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10873 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10874 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10875 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10876 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10877 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10878 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10879 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10880 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10881 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10882 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10883 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10884 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10885 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10886 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10887 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10888 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10889 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10890 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10891 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10892 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10893 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10894 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10895 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10896 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10897 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10898 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10899 Deconditionalize the code that was previously under [RESET_PID].
10900 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10901 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10902 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10903 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10906 2014-09-08 Allan McRae <allan@archlinux.org>
10908 * version.h (RELEASE): Set to "development".
10909 (VERSION): Set to "2.20.90"
10911 2014-09-07 Allan McRae <allan@archlinux.org
10913 * version.h (RELEASE): Set to "stable".
10914 (VERSION): Set to "2.20"
10915 * include/features.h (__GLIBC_MINOR__): Set to 20.
10917 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10920 * po/ko.po: Update Korean translation from translation project.
10922 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10925 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10926 macro for handling signed relocations.
10928 2014-09-03 Florian Weimer <fweimer@redhat.com>
10931 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10932 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10934 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10935 * iconvdata/ibm935.c (BODY): Likewise.
10936 * iconvdata/ibm937.c (BODY): Likewise.
10937 * iconvdata/ibm939.c (BODY): Likewise.
10938 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10940 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10942 * iconvdata/run-iconv-test.sh: New test loop for checking for
10945 2014-09-02 Khem Raj <raj.khem@gmail.com>
10947 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10950 2014-09-01 Allan McRae <allan@archlinux.org>
10952 * po/eo.po: Update Esperanto translation from translation project.
10954 * po/ca.po: Update Catalan translation from translation project.
10956 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10958 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10959 __proc_dostop call.
10961 2014-08-27 Mark Wielaard <mjw@redhat.com>
10964 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10965 to call set_thread_area instead of hand written asm.
10966 (__NR_set_thread_area): Removed define.
10967 (TLS_FLAG_WRITABLE): Likewise.
10968 (__ASSUME_SET_THREAD_AREA): Remove check.
10969 (TLS_EBX_ARG): Remove define.
10970 (TLS_LOAD_EBX): Likewise.
10972 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10974 Simplify atomicity of socket creation in bind.
10976 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10977 looking up the name after linking the file.
10979 2014-08-27 Allan McRae <allan@archlinux.org>
10981 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10983 2014-08-26 Florian Weimer <fweimer@redhat.com>
10986 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10987 trans_compare, open_translit, __gconv_translit_find):
10988 Remove module loading code.
10990 2014-08-26 Allan McRae <allan@archlinux.org>
10992 * po/vi.po: Update Vietnamese translation from translation project.
10994 * po/uk.po: Update Ukrainian translation from translation project.
10996 * po/fr.po: Update French translation from translation project.
10998 * po/ru.po: Update Russian translation from translation project.
11000 * po/pl.po: Update Polish translation from translation project.
11002 * po/cs.po: Update Czech translation from translation project.
11004 * po/de.po: Update German translation from translation project.
11006 * po/bg.po: Update Bulgarian translation from translation project.
11008 * po/sv.po: Update Sweedish translation from translation project.
11010 * po/nl.po: Update Dutch translation from translation project.
11012 * po/es.po: Update Spanish translation from translation project.
11014 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11016 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11018 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11019 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11020 (CPPFLAGS-iconvconfig): Likewise.
11021 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11023 * include/libc-symbols.h: Remove unnecessary check for
11025 * nptl/pthreadP.h: Likewise.
11026 * sysdeps/aarch64/setjmp.S: Likewise.
11027 * sysdeps/alpha/setjmp.S: Likewise.
11028 * sysdeps/arm/sysdep.h: Likewise.
11029 * sysdeps/i386/setjmp.S: Likewise.
11030 * sysdeps/m68k/setjmp.c: Likewise.
11031 * sysdeps/posix/getcwd.c: Likewise.
11032 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11033 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11034 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11035 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11036 * sysdeps/sh/sh3/setjmp.S: Likewise.
11037 * sysdeps/sh/sh4/setjmp.S: Likewise.
11038 * sysdeps/unix/alpha/sysdep.h: Likewise.
11039 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11041 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11042 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11045 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11046 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11047 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11048 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11050 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11052 * sysdeps/x86_64/setjmp.S: Likewise.
11054 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11057 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11059 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11060 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11062 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11064 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11067 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11068 and __x86_64__ when disabling x87 inline functions.
11070 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11073 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11074 asm statement with __cpuid_count.
11076 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11078 * configure.ac: Change __ehdr_start code to dereference the struct.
11079 Run readelf on the output to look for relocations.
11080 * configure: Regenerated.
11082 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11085 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11087 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11089 2014-08-12 Roland McGrath <roland@hack.frob.com>
11091 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11093 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11096 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11097 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11099 2014-08-12 Sean Anderson <seanga2@gmail.com>
11101 * malloc/malloc.c: Fix typo in comment.
11103 2014-08-09 Allan McRae <allan@archlinux.org>
11105 * Regenerate libc.po.
11107 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11109 * intl/tst-gettext2.sh: Check every lang file for creation.
11111 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11113 * sysdeps/aarch64/fpu/math_private.h
11114 (libc_feholdsetround_noex_aarch64_ctx): New function.
11116 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11118 * sysdeps/arm/armv6/strcpy.S (strcpy):
11119 Fix performance issue in misaligned cases.
11121 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11123 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11124 Move definition from termios.h.
11125 (struct termio): Likewise.
11126 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11127 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11128 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11129 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11131 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11132 Move definition to ioctl-types.h
11133 (struct termio): Likewise.
11134 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11135 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11136 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11137 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11140 2014-08-05 Richard Henderson <rth@redhat.com>
11142 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11144 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11146 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11147 Use __feraiseexcept.
11148 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11149 Protect libm symbols with IS_IN_libm.
11151 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11153 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11155 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11157 2014-08-04 Will Newton <will.newton@linaro.org>
11159 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11162 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11164 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11165 variants for each function.
11167 2014-08-04 Roland McGrath <roland@hack.frob.com>
11169 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11171 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11172 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11174 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11175 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11176 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11177 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11178 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11179 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11180 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11181 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11182 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11183 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11184 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11185 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11186 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11188 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11190 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11191 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11192 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11194 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11195 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11196 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11197 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11198 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11200 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11201 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11202 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11203 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11204 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11205 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11206 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11207 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11208 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11209 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11210 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11211 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11212 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11213 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11214 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11215 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11216 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11217 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11218 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11219 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11220 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11221 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11222 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11223 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11224 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11225 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11226 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11228 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11229 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11231 2014-08-04 Roland McGrath <roland@hack.frob.com>
11233 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11234 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11235 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11236 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11237 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11238 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11240 2014-08-04 Roland McGrath <roland@hack.frob.com>
11242 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11243 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11244 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11245 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11247 2014-08-04 Roland McGrath <roland@hack.frob.com>
11249 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11250 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11251 (__libc_vfork): Define function under this name.
11252 (__vfork): Define as an alias.
11253 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11254 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11256 2014-08-04 Roland McGrath <roland@hack.frob.com>
11258 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11259 that was previously under [RESET_PID].
11260 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11262 2014-08-04 Andreas Schwab <schwab@suse.de>
11264 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11266 2014-08-03 Mike Frysinger <vapier@gentoo.org>
11268 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11271 2014-08-01 Roland McGrath <roland@hack.frob.com>
11273 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11275 2014-08-01 Richard Henderon <rth@redhat.com>
11277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11278 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11279 typo in exact zero test.
11280 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11281 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11284 2014-08-01 Roland McGrath <roland@hack.frob.com>
11286 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11287 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11288 * sysdeps/arm/sysdep.h: ... here.
11289 [!__ASSEMBLER__]: Include <stdint.h>.
11291 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11293 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11294 (HAVE_WCTYPE_H): Likewise.
11295 (HAVE_ISWCTYPE): Likewise.
11296 (ENABLE_NLS): Likewise.
11297 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11298 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11300 * posix/regex_internal.c: Check if DEBUG is defined and is
11303 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11304 (HAVE_MBSRTOWCS): Likewise.
11305 * posix/fnmatch.c: Include string.h unconditionally.
11307 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11309 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11312 2014-07-31 Roland McGrath <roland@hack.frob.com>
11314 * sysdeps/generic/safe-fatal.h: New file.
11315 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11316 * nptl/forward.c: Include it.
11317 (__pthread_unwind): Use __safe_fatal as default action, rather
11318 than a bogus use of INTERNAL_SYSCALL that could never work.
11320 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11321 * configure.ac (libc_cv_builtin_trap): New test.
11322 * configure: Regenerated.
11323 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11324 (ABORT_INSTRUCTION): Define using __builtin_trap.
11326 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11327 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11328 * sysdeps/nptl/nptl-signals.h: New file.
11329 * nptl/pthreadP.h: Include <nptl-signals.h>.
11331 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11333 * sysdeps/s390/s390-64/utf16-utf32-z9.c
11334 (ONE_DIRECTION): Define.
11335 * sysdeps/s390/s390-64/utf8-utf16-z9.c
11336 (ONE_DIRECTION): Define.
11337 * sysdeps/s390/s390-64/utf8-utf32-z9.c
11338 (ONE_DIRECTION): Define.
11340 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11342 * sysdeps/s390/Makefile: Delete file.
11343 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11344 * sysdeps/s390/__longjmp.c: Delete file.
11345 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11346 Remove fields __flags and __reserved.
11347 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11348 and add versioning.
11349 * sysdeps/s390/rtld-__longjmp.c: Delete file.
11350 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11351 * sysdeps/s390/rtld-setjmp.S: Likewise.
11352 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11353 * sysdeps/s390/s390-32/__longjmp.c: ... here.
11354 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11355 * sysdeps/s390/s390-32/setjmp.S: ... here.
11357 (__sigsetjmp): Remove setting __flags field.
11358 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11359 * sysdeps/s390/s390-64/__longjmp.c: ... here.
11360 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11361 * sysdeps/s390/s390-64/setjmp.S: ... here.
11363 (__sigsetjmp): Remove setting __flags field.
11364 * sysdeps/s390/setjmp.S: Delete file.
11365 * sysdeps/s390/sigjmp.c: Likewise.
11366 * sysdeps/s390/v1-longjmp.c: Likewise.
11367 * sysdeps/s390/v1-setjmp.h: Likewise.
11368 * sysdeps/s390/v1-sigjmp.c: Likewise.
11369 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11370 Remove v1-longjmp_chk.
11371 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11372 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11373 Include debug/longjmp_chk.c and add versioning.
11374 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11375 Include nptl/pt-longjmp.c and add versioning.
11376 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11377 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11378 Include __longjmp.c.
11379 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11381 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11382 (__getcontext): Remove setting __flags field.
11384 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11385 Don't restore upper high grps.
11386 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11388 (__swapcontext): Remove setting uc_flags field.
11389 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11391 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11392 Include __longjmp.c.
11393 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11395 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11396 (__getcontext): Remove setting __flags field.
11398 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11399 (__swapcontext): Remove setting uc_flags field.
11400 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11401 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11402 Remove fields uc_high_gprs and __reserved.
11403 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11404 New file with reverted content.
11405 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11406 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11408 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11411 2014-07-31 Andreas Schwab <schwab@suse.de>
11413 * config.h.in (HAVE_IFUNC): Define to 0.
11414 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11417 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
11419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11420 memmove-avx-unaligned, memcpy-avx-unaligned and
11421 mempcpy-avx-unaligned.
11422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11423 Add tests for AVX memcpy functions.
11424 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11425 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11427 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11428 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11430 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11431 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11433 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11434 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11435 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11437 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11440 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11443 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
11446 * manual/llio.texi: Add section about open file description locks.
11447 * manual/examples/ofdlocks.c: Example of open file description
11449 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11450 F_OFD_SETLK, and F_OFD_SETLKW.
11452 2014-07-23 Allan McRae <allan@archlinux.org>
11454 * po/es.po: Update Spanish translation from translation project.
11456 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
11458 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11460 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
11463 * sysdeps/arm/dl-machine.h (elf_machine_rela)
11464 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11465 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11467 2014-07-17 Joseph Myers <joseph@codesourcery.com>
11470 * math/fesetenv.c (__fesetenv)
11471 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11472 * math/feupdateenv.c (__feupdateenv)
11473 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11475 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11476 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11477 (__ASSUME_SOCKETCALL): Do not define.
11479 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11480 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11481 (__ASSUME_SOCKETCALL): Do not define.
11482 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11483 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11484 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11485 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11486 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11487 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11488 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11489 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11491 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11492 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11493 (__ASSUME_SOCKETCALL): Do not define.
11494 (__ASSUME_IPC64): Define unconditionally.
11495 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11496 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11497 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11498 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11499 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11500 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11501 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11504 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11505 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11506 (__ASSUME_SOCKETCALL): Do not define.
11507 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11508 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11509 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11510 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11511 (__ASSUME_REQUEUE_PI): Define unconditionally.
11512 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11513 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11514 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11515 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11516 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11517 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11519 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11520 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11521 (__ASSUME_SOCKETCALL): Do not define.
11522 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11523 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11524 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11525 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11526 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11527 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11529 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11530 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11531 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11532 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11533 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11534 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11535 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11536 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11537 (__ASSUME_GETCPU_SYSCALL): Likewise.
11539 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11540 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
11541 cases for individual architectures.
11542 * sysdeps/gnu/configure: Regenerated.
11543 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11544 LIBC_SLIBDIR_RTLDDIR.
11545 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11546 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11547 LIBC_SLIBDIR_RTLDDIR.
11548 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11550 LIBC_SLIBDIR_RTLDDIR.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11553 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11554 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11556 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11557 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11559 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11560 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11561 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11562 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11564 * sysdeps/aarch64/shlib-versions: Move to ...
11565 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11566 * sysdeps/alpha/shlib-versions: Move to ...
11567 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11568 * sysdeps/arm/shlib-versions: Move to ...
11569 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11570 * sysdeps/hppa/shlib-versions: Move all contents except for
11571 libgcc_s entry to ...
11572 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11574 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11575 * sysdeps/ia64/shlib-versions: Move to ...
11576 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11578 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11579 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11580 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11581 * sysdeps/microblaze/shlib-versions: Move to ...
11582 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11583 * sysdeps/mips/shlib-versions: Move to ...
11584 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11586 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11587 * sysdeps/tile/shlib-versions: Move to ...
11588 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11589 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11591 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11592 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11594 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11596 2014-07-17 Will Newton <will.newton@linaro.org>
11598 * sysdeps/arm/bits/atomic.h
11599 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11600 (__arch_compare_and_exchange_bool_16_int): Likewise.
11601 (__arch_compare_and_exchange_bool_64_int): Likewise.
11603 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11604 into an #else block.
11606 2014-07-16 Roland McGrath <roland@hack.frob.com>
11608 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11609 just Linux configurations. Test empirically that the compiler sets
11610 __ARM_EABI__, rather than using the tuple to decide.
11611 * sysdeps/arm/preconfigure: Regenerated.
11612 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11613 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11614 contents appended ...
11615 * sysdeps/arm/configure.ac: ... here.
11616 * sysdeps/arm/configure: Regenerated.
11618 2014-07-15 Roland McGrath <roland@hack.frob.com>
11620 * nptl/pthread_kill.c: New file.
11621 * nptl/pthread_sigmask.c: New file.
11622 * nptl/pthread_sigqueue.c: New file.
11624 * sysdeps/nptl/lowlevellock.h: New file.
11625 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11626 * sysdeps/nptl/lowlevellock-futex.h: New file.
11628 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11629 Remove dead declarations.
11631 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11633 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11634 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11635 config-cflags-avx2.
11636 * sysdeps/x86_64/configure.ac: Likewise.
11637 * sysdeps/i386/configure: Regenerated.
11638 * sysdeps/x86_64/configure: Likewise.
11639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11640 memset-avx2 only if config-cflags-avx2 is yes.
11641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11642 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11644 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11645 only if HAVE_AVX2_SUPPORT is defined.
11646 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11648 2014-07-14 Alan Modra <amodra@gmail.com>
11651 * elf/elf.h (DT_PPC64_NUM): Correct value.
11652 * NEWS: Add to fixed bug list.
11654 2014-07-13 Jim Meyering <meyering@fb.com>
11657 regex: don't deref NULL upon heap allocation failure
11658 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11659 failure in one more place.
11660 To trigger the segfault, configure grep -with-included-regex,
11661 build it, and run these commands:
11662 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11664 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11666 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11668 2014-07-11 Richard Henderson <rth@redhat.com>
11670 * sysdeps/aarch64/libm-test-ulps: Update.
11672 2014-07-10 Florian Weimer <fweimer@redhat.com>
11675 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11676 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11677 (__nptl_setxid): Initialize error member. Call
11678 __nptl_setxid_error.
11679 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11680 * nptl/descr.h (struct xid_command): Add error member.
11681 * nptl/tst-setuid3.c: New file.
11682 * nptl/Makefile (tests): Add it.
11684 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11686 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11688 (__lll_trylock): Use __lll_base_trylock.
11689 (__lll_cond_trylock): Likewise.
11691 2014-07-10 Roland McGrath <roland@hack.frob.com>
11693 * nptl/pthread_create.c (start_thread): Use atomic_or and
11694 lll_futex_wake directly rather than lll_robust_dead.
11695 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11696 (lll_robust_dead): Macro removed.
11697 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11698 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11699 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11700 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11701 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11702 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11703 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11704 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11705 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11707 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11708 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11709 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11710 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11711 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11713 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11714 Use atomic_compare_and_exchange_val_acq directly rather than
11715 lll_robust_trylock.
11716 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11717 (__lll_robust_trylock, lll_robust_trylock): Removed.
11718 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11719 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11720 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11721 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11722 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11723 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11724 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11725 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11726 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11727 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11728 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11729 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11730 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11731 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11733 2014-07-02 Florian Weimer <fweimer@redhat.com>
11735 * manual/locale.texi (Locale Names): New section documenting
11736 locale name syntax. Adjust menu and node chaining accordingly.
11737 (Choosing Locale): Reference Locale Names, Locale Categories.
11738 Mention setting LC_ALL=C. Reflect that name syntax is now
11740 (Locale Categories): New section title. Reference Locale Names.
11741 LC_ALL is an environment variable, but not a category.
11742 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11743 description, now in Locale Name. Reference that section. Locale
11744 name syntax is now documented.
11746 2014-07-02 Florian Weimer <fweimer@redhat.com>
11749 * locale/findlocale.c (name_present, valid_locale_name): New
11751 (_nl_find_locale): Use the loc_name variable to store name
11752 candidates. Call name_present and valid_locale_name to check and
11753 validate locale names. Return an error if the locale is invalid.
11755 2014-07-02 Florian Weimer <fweimer@redhat.com>
11757 * locale/setlocale.c (setlocale): Use strdup for allocating
11758 composite name copy.
11760 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11762 Sync up with gnulib.
11763 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11764 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11765 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11766 and _GL_ARG_NONNULL.
11767 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11768 [!_LIBC]: Include code for Windows and Cygwin.
11769 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11770 Include prototype for int strerror_r.
11771 [!_LIBC] (is_open): New function.
11772 (flush_stdout): New function.
11773 (print_errno_message): Use it.
11775 (error_at_line): Likewise.
11776 (error_tail) Add function attribute macros. Use
11779 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11781 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11783 * io/ftw.c: Include sys/param.h unconditionally.
11785 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11788 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11790 (freecache): New function to free CACHE on exit.
11792 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11795 2014-07-09 David S. Miller <davem@davemloft.net>
11797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11799 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11800 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11801 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11802 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11803 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11804 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11805 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11806 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11807 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11808 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11809 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11810 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11811 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11813 2014-07-09 Andreas Schwab <schwab@suse.de>
11815 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11817 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11818 (do_test): Likewise.
11820 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11822 2014-07-09 Will Newton <will.newton@linaro.org>
11824 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11825 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11826 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11827 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11828 * sysdeps/hppa/start.S (_start): Likewise.
11830 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11832 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11834 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11837 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11839 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11840 after checking that it is non-NULL.
11842 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11844 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11846 * sysdeps/powerpc/memmove.c: Remove file.
11847 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11848 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11849 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11850 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11851 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11852 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11853 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11854 string memmove instead of removed powerpc one.
11856 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11857 [weak_alias]: Fix compiler warning due trailing data.
11858 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11859 [weak_alias]: Likewise.
11860 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11861 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11864 (__libc_ifunc_impl_list): Add memmove functions.
11866 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11868 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11870 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11872 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11874 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11876 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11878 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11880 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11882 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11884 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11886 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11888 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11890 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11892 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11894 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11896 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11898 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11900 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11903 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11905 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11906 to avoid alignment traps in non-cacheable memory.
11907 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11911 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11912 file: multiarch power7 memmove.
11913 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11914 multiarch default memmove.
11915 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11916 multiarch memove for powerpc32/power4.
11918 * string/bcopy.c: Use full path to include memmove.c.
11919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11921 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11922 bcopy for powerpc64.
11923 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11924 bcopy for powerpc64.
11925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11926 and memmove implementations.
11927 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11928 optimized multiarch memmove for POWER7/powerpc64.
11929 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11930 default multiarch memmove for powerpc64.
11931 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11932 multiarch for powerpc64.
11933 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11934 for POWER7/powerpc64.
11935 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11936 memmove for POWER7/powerpc64.
11938 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11941 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11942 __ELF_NATIVE_CLASS equal to 64.
11944 2014-07-07 Roland McGrath <roland@hack.frob.com>
11946 * sysdeps/nptl/lowlevellock.h: File removed.
11948 * NEWS: NPTL is no longer an add-on!
11949 * nptl/internaltypes.h: Moved ...
11950 * sysdeps/nptl/internaltypes.h: ... here.
11951 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11952 * sysdeps/nptl/fork.c: Likewise.
11953 * sysdeps/nptl/gai_misc.h: Likewise.
11954 * sysdeps/nptl/librt-cancellation.c: Likewise.
11955 * sysdeps/nptl/jmp-unwind.c: Likewise.
11956 * sysdeps/nptl/setxid.h: Likewise.
11957 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11958 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11959 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11960 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11961 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11962 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11963 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11964 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11965 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11966 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11967 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11968 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11969 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11970 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11971 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11972 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11973 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11974 * nptl/Makeconfig: Moved ...
11975 * sysdeps/nptl/Makeconfig: ... here.
11976 * nptl/configure: File removed.
11977 * nptl/ANNOUNCE: File removed.
11978 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11979 * sysdeps/unix/sysv/linux/configure: Regenerated.
11981 * nptl/Makefile (routines): Add libc_pthread_init,
11982 libc_multiple_threads, register-atfork and unregister-atfork.
11983 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11984 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11985 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11986 pthread-pi-defines.sym, structsem.sym.
11987 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11988 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11989 [$(subdir) = nptl] (tests): Add tst-setgetname.
11990 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11991 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11992 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11993 [!LIBC_SIGACTION]: Remove aliases.
11994 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11995 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11996 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11997 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11998 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11999 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12000 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12001 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12002 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12003 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12004 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12005 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12006 __libc_allocate_rtsig_private.
12007 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12008 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12009 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12010 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12011 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12012 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12013 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12014 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12015 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12016 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12017 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12018 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12019 * nptl/internaltypes.h: ... here.
12020 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12021 * sysdeps/nptl/jmp-unwind.c: ... here.
12022 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12023 * nptl/libc-lowlevellock.c: ... here.
12024 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12025 * nptl/libc_multiple_threads.c: ... here.
12026 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12027 * nptl/libc_pthread_init.c: ... here.
12028 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12029 * nptl/lowlevelbarrier.sym: ... here.
12030 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12031 * nptl/lowlevelcond.sym: ... here.
12032 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12033 * nptl/lowlevellock.c: ... here.
12034 * nptl/lowlevellock.h: Moved ...
12035 * sysdeps/nptl/lowlevellock.h: ... here.
12036 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12037 * nptl/lowlevelrobustlock.c: ... here.
12038 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12039 * nptl/lowlevelrobustlock.sym: ... here.
12040 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12041 * nptl/lowlevelrwlock.sym: ... here.
12042 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12043 * nptl/pt-fork.c: ... here.
12044 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12045 * nptl/pthread-pi-defines.sym: ... here.
12046 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12047 * nptl/pthread_attr_getaffinity.c: ... here.
12048 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12049 * nptl/pthread_attr_setaffinity.c: ... here.
12050 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12051 * nptl/pthread_mutex_cond_lock.c: ... here.
12052 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12054 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12055 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12056 * nptl/pthread_once.c: ... here, replacing old file.
12057 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12058 * nptl/pthread_yield.c: ... here.
12059 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12060 * nptl/register-atfork.c: ... here.
12061 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12062 * nptl/sem_post.c: ... here.
12063 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12064 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12065 * nptl/sem_timedwait.c: ... here.
12066 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12067 * nptl/sem_trywait.c: ... here.
12068 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12069 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12070 * nptl/sem_wait.c: ... here.
12071 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12072 * nptl/structsem.sym: ... here.
12073 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12074 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12075 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12076 * nptl/unregister-atfork.c: ... here.
12077 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12078 * nptl/unwindbuf.sym: ... here.
12079 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12080 * sysdeps/nptl/fork.c: ... here.
12081 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12082 * sysdeps/nptl/fork.h: ... here.
12083 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12084 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12085 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12086 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12087 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12088 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12089 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12090 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12091 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12092 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12093 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12094 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12095 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12096 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12097 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12098 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12099 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12100 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12101 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12102 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12103 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12104 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12105 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12106 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12107 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12108 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12109 * sysdeps/unix/sysv/linux/raise.c: ... here.
12110 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12111 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12112 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12113 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12114 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12115 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12116 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12117 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12118 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12119 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12120 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12121 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12122 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12123 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12124 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12126 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12128 * sysdeps/generic/memcopy.h: Add comment for
12129 MEMCPY_OK_FOR_FWD_MEMMOVE.
12131 2014-07-04 Will Newton <will.newton@linaro.org>
12133 * string/memchr.c: Merge from gnulib.
12134 [_LIBC]: Remove conditionals.
12135 (__ptr_t): Remove define.
12136 (LONG_MAX_32_BITS): Likewise.
12137 (LONG_MAX): Likewise.
12138 (MEMCHR): Use ANSI prototype and optimize algorithm.
12140 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12142 2014-07-03 Roland McGrath <roland@hack.frob.com>
12144 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12145 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12147 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12148 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12149 in a bare environment with no <stdlib.h> installed.
12150 * sysdeps/nptl/configure: Regenerated.
12152 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12154 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12155 AC_EGREP_CPP for kernel header checks, so they only succeed if
12156 including <linux/version.h> actually works right.
12157 * sysdeps/unix/sysv/linux/configure: Regenerated.
12159 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12160 value so it's not diagnosed as unused.
12162 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12163 thing) with "ifeq ($(subdir),rt)".
12165 2014-07-03 Richard Henderson <rth@redhat.com>
12167 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12168 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12169 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12171 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12172 (math_force_eval): New.
12174 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12175 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12177 * sysdeps/alpha/fpu/s_round.c: Remove file.
12178 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12180 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12181 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12182 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12183 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12184 (_dl_start, print_statistics): Likewise.
12185 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12186 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12188 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12189 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12190 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12191 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12192 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12193 (HP_SMALL_TIMING_AVAIL): Define.
12194 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12195 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12196 (HP_SMALL_TIMING_AVAIL): Define.
12197 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12198 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12200 * sysdeps/aarch64/hp-timing.h: New file.
12202 * sysdeps/generic/hp-timing.h: Remove dead comment.
12203 * sysdeps/generic/hp-timing-common.h: New file.
12204 * sysdeps/alpha/hp-timing.h: Include it.
12205 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12206 * sysdeps/i386/i686/hp-timing.h: Likewise.
12207 * sysdeps/ia64/hp-timing.h: Likewise.
12208 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12209 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12210 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12211 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12212 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12213 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12214 (hp_timing_t): New.
12216 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12217 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12218 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12219 * elf/rtld.c (_dl_start_final): Likewise.
12220 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12221 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12222 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12223 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12224 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12225 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12226 (HP_TIMING_DIFF_INIT): Remove.
12227 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12228 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12229 (HP_TIMING_DIFF_INIT): Remove.
12230 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12231 * sysdeps/i386/i686/hp-timing.c: Remove file.
12232 * sysdeps/x86_64/hp-timing.c: Remove file.
12233 * sysdeps/ia64/hp-timing.c: Remove file.
12234 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12235 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12236 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12237 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12239 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12240 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12241 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12242 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12243 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12244 (HP_TIMING_ACCUM): Remove.
12245 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12246 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12247 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12249 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12250 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12251 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12252 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12253 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12254 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12255 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12256 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12258 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12260 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
12262 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12264 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12266 Sync up with gettext.
12267 * intl/loadmsgcat.c: Define O_BINARY if not defined.
12268 [_MSC_VER]: Include malloc.h
12269 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12270 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12271 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
12272 TEMP_FAILURE_RETRY. Cast return of alloca.
12273 [!_LIBC] Call gl_rwlock_init.
12274 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12276 2014-07-02 Roland McGrath <roland@hack.frob.com>
12278 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12279 before checking its value.
12281 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12283 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12285 * debug/memcpy_chk.c: Don't include pagecopy.h.
12286 * debug/mempcpy_chk.c: Likewise.
12287 * string/memcpy.c: Likewise.
12288 * string/memmove.c: Likewise.
12289 * sysdeps/powerpc/memmove.c: Likewise.
12290 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
12291 definition of PAGE_COPY_FWD_MAYBE here...
12292 * sysdeps/generic/pagecopy.h: ... from here.
12293 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12295 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12296 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12298 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12302 (__libc_ifunc_impl_list): Likewise.
12303 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12304 multiarch strcat for PPC64.
12305 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12306 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12308 2014-07-02 Roland McGrath <roland@hack.frob.com>
12310 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12312 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12314 * intl/loadmsgcat.c: Remove declaration of
12315 get_sysdep_segment_value.
12316 (get_sysdep_segment_value): Use ISO C style.
12317 (_nl_load_domain): Use ISO C style. Get rid of redundant
12318 semicolon. Fix typo and formatting in comment.
12319 (_nl_unload_domain): Use ISO C style.
12321 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12323 2014-07-02 Will Newton <will.newton@linaro.org>
12325 * malloc/obstack.c: Merge from gnulib master.
12326 [HAVE_CONFIG_H]: Remove conditional code.
12327 [!_LIBC]: Include config.h.
12328 [!ELIDE_CODE]: Don't include inttypes.h, include
12329 stdint.h unconditionally.
12330 (print_and_abort): Mark as _Noreturn.
12331 (_obstack_allocated_p): Mark as __attribute_pure__.
12332 (obstack_free): Rename to __obstack_free.
12333 [!__attribute__]: Remove conditional code.
12334 * malloc/obstack.h: Merge from gnulib master.
12335 [__cplusplus]: Move conditional down.
12336 [!__attribute_pure__]: Define __attribute_pure__ here
12337 if it is not already defined.
12338 (_obstack_memory_used): Mark as __attribute_pure__.
12339 [!__obstack_free]: Define as obstack_free.
12340 [__GNUC__]: Remove check for ancient NeXT gcc.
12342 2014-07-02 Will Newton <will.newton@linaro.org>
12343 Paul Eggert <eggert@cs.ucla.edu>
12345 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12347 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12349 * resolv/gethnamaddr.c: Add comment warning that the file is
12352 2014-07-01 Carlos O'Donell <carlos@redhat.com>
12354 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12357 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12358 entry for aio_cancel and aio_cancel64.
12359 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12360 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12361 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12362 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12363 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12364 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12365 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12366 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12367 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12368 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12369 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12370 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12371 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12373 2014-07-01 Roland McGrath <roland@hack.frob.com>
12375 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12376 * nptl/pthread_mutex_lock.c: Likewise.
12377 * nptl/pthread_mutex_timedlock.c: Likewise.
12378 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12380 2014-07-01 Richard henderson <rth@redhat.com>
12382 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12383 (__isnan, __isnanl): Remove.
12384 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12386 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12388 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12390 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12392 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12394 * resolv/nss_dns/dns-host.c (getanswer_r)
12395 [MULTI_PTRS_ARE_ALIASES]: Remove code.
12397 2014-07-01 Joseph Myers <joseph@codesourcery.com>
12399 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12400 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12402 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12403 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12405 2014-07-01 Roland McGrath <roland@hack.frob.com>
12407 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12408 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12410 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12411 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12413 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12414 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12416 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12417 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12419 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12420 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12421 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12422 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12424 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12425 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12426 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12427 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12428 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12430 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12432 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12433 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12434 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12435 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12436 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12437 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12438 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12439 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12440 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12441 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12442 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12443 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12444 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12445 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12446 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12447 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12448 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12449 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12450 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12451 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12453 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12454 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12455 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12456 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12457 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12458 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12459 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12460 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12462 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
12464 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12465 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12466 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12469 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12473 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12475 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12476 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12478 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12480 * sysdeps/arm/libm-test-ulps: Regenerated.
12482 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12483 Roland McGrath <roland@hack.frob.com>
12485 * test-skeleton.c (signal_handler): Kill the whole process group
12486 before killing the child individually.
12487 (main): Report any failure on `setpgid'.
12489 2014-06-30 Roland McGrath <roland@hack.frob.com>
12491 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12492 from _TLS_H to _ARM_NPTL_TLS_H.
12493 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12494 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12496 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12499 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12500 (__expm1l): Return argument unchanged when small but not
12503 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12504 include macro name.
12505 (_FP_UNPACK_RAW_1_P): Likewise.
12506 (_FP_PACK_RAW_1): Likewise.
12507 (_FP_PACK_RAW_1_P): Likewise.
12508 (_FP_MUL_MEAT_1_wide): Likewise.
12509 (_FP_MUL_MEAT_DW_1_hard): Likewise.
12510 (_FP_MUL_MEAT_1_hard): Likewise.
12511 (_FP_DIV_MEAT_1_imm): Likewise.
12512 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12513 (_FP_DIV_MEAT_1_udiv): Likewise.
12514 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12515 (_FP_UNPACK_RAW_2): Likewise.
12516 (_FP_UNPACK_RAW_2_P): Likewise.
12517 (_FP_PACK_RAW_2): Likewise.
12518 (_FP_PACK_RAW_2_P): Likewise.
12519 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12520 (_FP_MUL_MEAT_2_wide): Likewise.
12521 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12522 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12523 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12524 (_FP_MUL_MEAT_2_gmp): Likewise.
12525 (_FP_DIV_MEAT_2_udiv): Likewise.
12526 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12527 (_FP_FRAC_SRL_4): Likewise.
12528 (_FP_FRAC_SRST_4): Likewise.
12529 (_FP_FRAC_SRS_4): Likewise.
12530 (_FP_UNPACK_RAW_4): Likewise.
12531 (_FP_UNPACK_RAW_4_P): Likewise.
12532 (_FP_PACK_RAW_4): Likewise.
12533 (_FP_PACK_RAW_4_P): Likewise.
12534 (_FP_MUL_MEAT_DW_4_wide): Likewise.
12535 (_FP_MUL_MEAT_4_wide): Likewise.
12536 (_FP_MUL_MEAT_4_gmp): Likewise.
12537 (umul_ppppmnnn): Likewise.
12538 (_FP_DIV_MEAT_4_udiv): Likewise.
12539 (__FP_FRAC_ADD_4): Likewise.
12540 (__FP_FRAC_SUB_3): Likewise.
12541 (__FP_FRAC_SUB_4): Likewise.
12542 (__FP_FRAC_DEC_3): Likewise.
12543 (__FP_FRAC_DEC_4): Likewise.
12544 (__FP_FRAC_ADDI_4): Likewise.
12545 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12546 (_FP_FRAC_SRL_8): Likewise.
12547 (_FP_FRAC_SRS_8): Likewise.
12549 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12550 include macro name.
12551 (FP_UNPACK_RAW_EP): Likewise.
12552 (FP_PACK_RAW_E): Likewise.
12553 (FP_PACK_RAW_EP): Likewise.
12554 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12555 (_FP_ISSIGNAN): Likewise.
12556 (_FP_ADD_INTERNAL): Likewise.
12557 (_FP_FMA): Likewise.
12558 (_FP_CMP): Likewise.
12559 (_FP_SQRT): Likewise.
12560 (_FP_TO_INT): Likewise.
12561 (_FP_FROM_INT): Likewise.
12562 (FP_EXTEND): Likewise.
12563 (_FP_DIV_MEAT_N_loop): Likewise.
12565 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12567 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12570 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12573 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12574 result with correct sign in case of exponents that produce
12575 overflow except for X very close to 1.
12577 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12579 mktime: merge #if/#ifdef usage from glibc
12580 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12581 as that works with both Glibc's and Gnulib's style.
12582 See thread starting at Siddhesh Poyarekar's bug report at:
12583 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12585 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12587 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12588 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12589 * sysdeps/tile/tilegx/memmove.c: Remove file.
12591 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12593 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12594 abi-name definition.
12595 * scripts/soversions.awk: Do not handle or generate ABI lines.
12596 * shlib-versions: Remove ABI entries.
12597 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12598 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12600 2014-06-27 Roland McGrath <roland@hack.frob.com>
12602 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12603 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12604 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12605 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12606 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12607 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12608 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12610 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12613 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12615 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12616 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12617 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12618 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12619 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12620 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12621 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12623 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12626 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12627 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12628 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12630 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12631 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12633 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12634 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12636 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12637 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12638 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12639 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12641 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12642 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12643 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12644 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12645 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12646 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12647 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12648 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12650 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12651 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12652 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12653 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12655 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12656 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12658 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12659 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12660 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12661 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12663 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12665 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12666 Identical file removed.
12667 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12669 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12670 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12671 Identical file removed.
12672 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12673 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12674 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12676 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12677 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12678 Identical file removed.
12679 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12680 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12681 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12682 Identical file removed.
12683 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12684 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12685 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12686 Identical file removed.
12687 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12688 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12689 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12690 Identical file removed.
12691 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12693 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12694 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12695 Identical file removed.
12696 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12698 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12699 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12700 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12701 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12702 Identical file removed.
12703 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12705 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12707 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12708 Identical file removed.
12709 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12711 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12712 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12713 Identical file removed.
12714 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12716 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12717 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12718 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12719 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12720 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12721 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12723 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12724 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12725 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12727 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12728 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12729 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12730 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12731 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12733 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12736 * nscd/nscd.c (monitor_child): Return exit status of child
12737 instead of return value from wait syscall.
12739 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12741 * configure.ac (libc_commonpagesize): Remove variable.
12742 (libc_relro_required): Likewise.
12743 (libc_cv_z_relro): Remove configure test.
12744 * configure: Regenerated.
12745 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12747 (libc_relro_required): Likewise.
12748 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12749 (libc_relro_required): Likewise.
12750 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12751 (libc_relro_required): Likewise.
12752 * sysdeps/arm/preconfigure: Regenerated.
12753 * sysdeps/ia64/preconfigure: Remove file.
12754 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12756 (libc_relro_required): Likewise.
12760 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12761 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12762 recompute overflowing results in original rounding mode.
12763 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12764 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12765 recompute overflowing results in original rounding mode.
12766 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12767 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12768 recompute overflowing results in original rounding mode.
12769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12770 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12771 recompute overflowing results in original rounding mode.
12772 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12773 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12774 recompute overflowing results in original rounding mode.
12775 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12776 (libc_feholdsetround_ctx): New macro.
12777 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12778 * sysdeps/i386/fpu/libm-test-ulps: Update.
12779 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12781 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12783 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12784 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12785 corresponding .cpsetup call.
12787 2014-06-26 Roland McGrath <roland@hack.frob.com>
12789 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12790 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12791 * sysdeps/arm/Makefile [$(subdir) = csu]
12792 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12793 (static-only-routines): Add aeabi_read_tp here.
12794 (shared-only-routines): Add libc-aeabi_read_tp here.
12795 (CFLAGS-libc-start.c): Add -fexceptions here.
12796 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12797 (sysdep_routines, static-only-routines, shared-only-routines):
12798 Don't add to these here.
12799 (CFLAGS-libc-start.c): Likewise.
12801 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12802 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12803 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12804 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12805 * sysdeps/arm/Makefile [$(subdir) = rt]
12806 (librt-sysdep_routines, librt-shared-only-routines):
12807 Append rt-aeabi_unwind_cpp_pr1 here.
12808 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12809 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12810 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12811 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12812 Append nptl-aeabi_unwind_cpp_pr1 here.
12813 (tests): Filter out tst-cleanupx4 here.
12814 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12815 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12816 Don't do those here.
12818 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12820 * scripts/list-sources.sh: Do not handle ports specially.
12822 2014-06-26 Roland McGrath <roland@hack.frob.com>
12824 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12825 * sysdeps/arm/feupdateenv.c: Likewise.
12827 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12829 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12831 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12832 trailing whitespace removed.
12833 * scripts/config.guess: Update to version 2014-03-23.
12834 * scripts/config.sub: Update to version 2014-05-01
12835 * scripts/install-sh: Update to version 2013-12-25.23.
12836 * scripts/move-if-change: Update from gnulib.
12838 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12840 * debug/memmove_chk.c: Remove pagecopy.h include.
12842 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12844 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12845 identical to gnulib mktime.
12847 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12849 * configure.ac: Do not test for machine being rs6000. Do not test
12850 for powerpc*-*soft.
12851 * configure: Regenerated.
12854 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12856 * configure: Regenerated.
12857 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12858 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12859 Remove configure test.
12860 * sysdeps/arm/configure: Regenerated.
12861 * sysdeps/nptl/configure.ac: Do not check
12862 libc_cv_asm_cfi_directives.
12863 * sysdeps/nptl/configure: Regenerated.
12864 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12865 * sysdeps/x86_64/nptl/configure: Remove generated file.
12866 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12868 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12870 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12872 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12873 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12874 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12877 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12878 instead of whether it is defined.
12879 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12880 * sysdeps/hppa/dl-machine.h: Likewise.
12881 * sysdeps/ia64/dl-machine.h: Likewise.
12882 * sysdeps/m68k/dl-machine.h: Likewise.
12883 * sysdeps/microblaze/dl-machine.h: Likewise.
12884 * sysdeps/mips/dl-machine.: Likewise.
12885 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12886 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12887 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12888 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12889 * sysdeps/sh/dl-machine.h: Likewise.
12890 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12891 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12892 * sysdeps/tile/dl-machine.h: Likewise.
12893 * sysdeps/x86_64/dl-machine.h: Likewise.
12895 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12897 (verify_persistent_db): Likewise.
12899 2014-06-26 Roland McGrath <roland@hack.frob.com>
12901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12902 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12904 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12907 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12910 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12912 Identical file removed.
12913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12914 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12916 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12918 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12920 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12922 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12925 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12927 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12929 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12932 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12934 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12936 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12938 Identical file removed.
12939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12940 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12942 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12945 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12948 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12950 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12952 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12954 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12956 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12959 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12962 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12964 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12967 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12969 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12971 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12973 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12974 * sysdeps/unix/sysv/linux/s390/Versions
12975 (libpthread: GLIBC_2.19): New version set.
12976 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12977 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12978 (librt: GLIBC_2.3.3): New version set.
12979 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12980 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12981 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12982 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12983 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12984 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12985 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12986 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12987 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12988 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12989 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12990 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12991 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12992 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12993 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12994 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12995 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12996 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12997 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12998 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12999 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13000 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13001 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13002 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13003 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13004 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13005 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13006 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13007 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13008 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13009 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13010 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13012 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13015 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13017 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13019 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13020 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13021 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13023 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13025 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13026 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13027 (__libc_vfork): Define the function under this name.
13028 [!NOT_IN_libc] (__vfork): Make this an alias.
13029 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13031 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13032 (__libc_vfork): Define the function under this name.
13033 [!NOT_IN_libc] (__vfork): Make this an alias.
13034 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13035 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13036 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13037 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13038 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13039 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13041 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13042 code that was previously under [RESET_PID].
13043 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13044 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13045 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13047 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13048 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13049 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13050 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13051 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13052 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13053 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13054 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13055 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13056 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13057 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13059 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13060 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13061 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13062 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13063 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13064 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13065 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13066 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13067 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13068 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13069 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13070 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13071 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13072 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13073 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13074 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13075 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13076 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13077 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13078 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13079 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13080 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13081 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13082 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13083 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13084 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13085 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13086 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13087 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13089 2014-06-25 Roland McGrath <roland@hack.frob.com>
13091 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13092 that was previously under [RESET_PID].
13093 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13095 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13097 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13098 not undefine and redefine.
13099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13100 [O_CLOEXEC]: Make code unconditional.
13101 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13102 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13103 <kernel-features.h>.
13104 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13105 conditional variable definition.
13106 (shm_open) [O_CLOEXEC]: Make code unconditional.
13107 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13110 * configure.ac (USE_REGPARMS): Don't define here.
13111 * configure: Regenerated.
13112 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13113 * sysdeps/i386/configure: Regenerated.
13115 * nptl/createthread.c: Don't include kernel-features.h.
13116 * nptl/pthread_cancel.c: Likewise.
13117 * nptl/pthread_condattr_setclock.c: Likewise.
13118 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13119 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13120 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13121 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13122 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13123 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13124 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13126 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13127 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13128 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13129 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13130 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13131 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13132 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13133 * nscd/gai.c: Likewise.
13134 * nss/nss_db/db-open.c: Likewise.
13135 * sysdeps/generic/ldsodefs.h: Likewise.
13136 * sysdeps/sh/nptl/tls.h: Likewise.
13137 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13138 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13139 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13140 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13141 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13142 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13143 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13144 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13146 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13147 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13148 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13149 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13150 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13151 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13152 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13153 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13154 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13155 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13156 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13157 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13158 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13159 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13160 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13161 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13162 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13163 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13164 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13165 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13166 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13167 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13168 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13169 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13170 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13171 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13172 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13173 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13174 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13175 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13176 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13177 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13178 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13179 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13180 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13181 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13182 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13183 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13184 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13185 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13186 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13187 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13188 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13189 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13190 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13191 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13192 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13193 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13194 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13217 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13218 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13219 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13220 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13221 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13222 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13223 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13224 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13225 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13226 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13227 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13228 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13229 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13230 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13231 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13232 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13233 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13234 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13235 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13236 * sysdeps/unix/sysv/linux/system.c: Likewise.
13237 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13238 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13239 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13240 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13241 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13242 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13243 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13245 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13246 * configure: Regenerated.
13247 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13249 * configure.ac (base_machine): Do not set specially for particular
13251 * configure: Regenerated.
13252 * sysdeps/powerpc/preconfigure: Move machine and base_machine
13253 settings from configure.ac.
13254 * sysdeps/i386/preconfigure: New file.
13255 * sysdeps/s390/preconfigure: Likewise.
13256 * sysdeps/sh/preconfigure: Likewise.
13257 * sysdeps/sparc/preconfigure: Likewise.
13259 2014-06-25 Roland McGrath <roland@hack.frob.com>
13261 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13262 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13263 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13264 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13265 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13266 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13267 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13268 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13269 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13270 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13271 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13272 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13273 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13274 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13275 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13276 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13277 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13278 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13279 * sysdeps/sparc/sparc64/Makefile: ... appended here.
13281 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13282 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13283 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13284 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13285 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13286 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13287 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13288 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13289 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13290 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13291 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13292 * sysdeps/sparc/sparc32/sem_post.c: ... here.
13293 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13294 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13295 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13296 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13297 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13298 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13299 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13300 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13301 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13302 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13303 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13304 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13305 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13306 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13307 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13308 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13309 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13310 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13311 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13312 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13313 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13314 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13315 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13316 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13317 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13318 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13321 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13323 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13326 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13329 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13331 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13334 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13336 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13338 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13340 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13343 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13346 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13348 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13351 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13353 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13355 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13357 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13359 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13362 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13365 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13367 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13370 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13372 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13374 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13376 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13379 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13382 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13384 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13387 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13389 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13391 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13393 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13395 * timezone/checktab.awk: Update from tzcode 2014e.
13396 * timezone/private.h: Likewise.
13397 * timezone/tzfile.h: Likewise.
13398 * timezone/zdump.c: Likewise.
13399 * timezone/zic.c: Likewise.
13401 * sysdeps/unix/sysv/linux/kernel-features.h
13402 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13404 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13405 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13406 Remove conditional code.
13408 2014-06-25 Will Newton <will.newton@linaro.org>
13410 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13411 (_dl_arm_cap_flags): Add HWCAP2 values.
13412 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13413 (_DL_HWCAP_COUNT): Increase to 37.
13414 (_DL_HWCAP_LAST): New define.
13415 (_DL_HWCAP2_LAST): New define.
13416 (_dl_procinfo): Add support for printing
13418 (_dl_string_hwcap): Use _dl_hwcap_string.
13420 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13424 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13426 * README: Do not mention ports directory.
13428 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13430 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13431 <kernel-features.h>.
13432 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13433 conditional variable definition.
13434 (__futimes): Update comment.
13435 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13436 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13439 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13440 arguments close to 0.
13441 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13443 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13445 * math/auto-libm-test-in: Add more tests of exp10.
13446 * math/auto-libm-test-out: Regenerated.
13447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13449 * sysdeps/unix/sysv/linux/kernel-features.h
13450 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13451 * sysdeps/unix/sysv/linux/readv.c: Do not include
13452 <kernel-features.h>.
13453 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13454 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13455 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13457 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13459 * sysdeps/unix/sysv/linux/writev.c: Do not include
13460 <kernel-features.h>.
13461 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13462 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13463 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13465 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13468 2014-06-25 Will Newton <will.newton@linaro.org>
13470 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13471 comment changes throughout the file. Remove checks
13472 for HAVE_*_H definitions that are not required.
13473 (__gen_tempname): Call abort if an unknown kind value is
13476 2014-06-25 Andreas Schwab <schwab@suse.de>
13479 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13480 scalbln, scalblnf, scalblnl in libc.
13482 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13485 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13486 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13487 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13489 2014-06-24 Roland McGrath <roland@hack.frob.com>
13491 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13492 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13493 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13494 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13496 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13497 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13499 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13500 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13501 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13502 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13503 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13504 * sysdeps/x86/bits/pthreadtypes.h: ... here.
13505 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13506 * sysdeps/x86/bits/semaphore.h: ... here.
13507 * sysdeps/x86/nptl/elide.h: Moved ...
13508 * sysdeps/x86/elide.h: ... here.
13509 * sysdeps/x86_64/nptl/Implies: File removed.
13510 * sysdeps/i386/nptl/Implies: File removed.
13512 2014-06-24 Joseph Myers <joseph@codesourcery.com>
13515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13516 return the argument for normal arguments with exponent below -64.
13517 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13519 * math/auto-libm-test-in: Add another test of expm1.
13520 * math/auto-libm-test-out: Regenerated.
13523 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13524 calling __erfcl for arguments at least 16.
13525 * math/auto-libm-test-in: Add more tests of erf.
13526 * math/auto-libm-test-out: Regenerated.
13528 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13529 individual architectures.
13530 * sysdeps/unix/sysv/linux/configure: Regenerated.
13531 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13532 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13533 * sysdeps/unix/sysv/linux/powerpc/configure.ac
13534 (ldd_rewrite_script): Define variable.
13535 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13540 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13541 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13542 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13543 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13544 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13545 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13546 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13547 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13549 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13552 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13553 Rename member __data.d to __data.__elision_data.
13555 2014-06-24 Wilco <wdijkstr@arm.com>
13557 * NEWS: Add 16918 to fixed bug list.
13559 2014-06-24 Wilco <wdijkstr@arm.com>
13561 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13563 2014-06-24 Wilco <wdijkstr@arm.com>
13565 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13566 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13567 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13568 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13569 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13570 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13571 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13574 2014-06-24 Wilco <wdijkstr@arm.com>
13576 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13578 2014-06-24 Wilco <wdijkstr@arm.com>
13580 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13581 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13582 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13583 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13585 2014-06-24 Wilco <wdijkstr@arm.com>
13588 * sysdeps/arm/feupdateenv.c (feupdateenv):
13589 Rewrite to reduce FPSCR accesses and fix return value.
13591 2014-06-24 Wilco <wdijkstr@arm.com>
13593 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13594 Optimize to avoid unnecessary FPSCR writes.
13595 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13596 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13597 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13598 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13600 2014-06-24 Wilco <wdijkstr@arm.com>
13602 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13603 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13604 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13605 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13606 Call libc_fetestexcept_vfp.
13607 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13608 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13609 __SOFTFP__ ifdef so that they can be built for softfp.
13611 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13613 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13614 argument type signed char.
13616 * Makerules (check-abi): Dump diff of symlist if the test
13619 2014-06-23 Roland McGrath <roland@hack.frob.com>
13621 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13624 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13625 Remove unused variable ST.
13627 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13631 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13632 small arguments before calling __expm1.
13633 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13634 small arguments before calling __expm1f.
13635 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13636 small arguments before calling __expm1l.
13637 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13639 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13640 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13641 spurious underflow for some cosh tests.
13642 * math/auto-libm-test-out: Regenerated.
13643 * sysdeps/i386/fpu/libm-test-ulps: Update.
13646 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13647 (__ieee754_y1): Set errno if return value overflows.
13648 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13649 (__ieee754_y1f): Set errno if return value overflows.
13650 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13651 (__ieee754_y1l): Set errno if return value overflows.
13652 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13653 (__ieee754_y1l): Set errno if return value overflows.
13654 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13655 * math/auto-libm-test-out: Regenerated.
13657 * math/gen-auto-libm-tests.c: Document use of
13658 ignore-zero-inf-sign.
13659 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13660 (input_flags): Add ignore-zero-inf-sign.
13661 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13662 * math/gen-libm-test.pl (generate_testfile): Handle
13663 ignore-zero-inf-sign.
13664 * math/auto-libm-test-in: Mark some cpow tests with
13665 ignore-zero-inf-sign and some with xfail-rounding.
13666 * math/auto-libm-test-out: Regenerated.
13667 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13668 * sysdeps/i386/fpu/libm-test-ulps: Update.
13669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13672 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13673 overflowing or underflowing operations take place with sign of
13675 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13676 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13677 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13678 (__ieee754_pow): Recompute overflowing and underflowing results in
13679 original rounding mode.
13680 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13681 (__powl_helper): Allow negative argument X and scale negated value
13682 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13683 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13684 overflowing or underflowing operations take place with sign of
13686 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13688 * math/auto-libm-test-in: Add more tests of pow.
13689 * math/auto-libm-test-out: Regenerated.
13690 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13691 (pow_tonearest_test_data): Remove.
13692 (pow_test_tonearest): Likewise.
13693 (pow_towardzero_test_data): Likewise.
13694 (pow_test_towardzero): Likewise.
13695 (pow_downward_test_data): Likewise.
13696 (pow_test_downward): Likewise.
13697 (pow_upward_test_data): Likewise.
13698 (pow_test_upward): Likewise.
13699 (main): Don't call removed functions.
13700 * sysdeps/i386/fpu/libm-test-ulps: Update.
13701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13703 2014-06-23 Roland McGrath <roland@hack.frob.com>
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13879 2014-06-23 Will Newton <will.newton@linaro.org>
13880 Wilco <wdijkstr@arm.com>
13882 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13883 implementation. Include get-rounding-mode.h.
13884 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13885 [!libc_feholdsetround_noex_ctx]: Define
13886 libc_feholdsetround_noex_ctx.
13887 [!libc_feholdsetround_noexf_ctx]: Define
13888 libc_feholdsetround_noexf_ctx.
13889 [!libc_feholdsetround_noexl_ctx]: Define
13890 libc_feholdsetround_noexl_ctx.
13891 (libc_feholdsetround_ctx): New function.
13892 (libc_feresetround_ctx): New function.
13893 (libc_feholdsetround_noex_ctx): New function.
13894 (libc_feresetround_noex_ctx): New function.
13896 2014-06-23 Roland McGrath <roland@hack.frob.com>
13898 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13899 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13900 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13901 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13902 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13903 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13905 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13906 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13907 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13908 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13909 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13910 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13911 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13912 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13914 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13915 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13917 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13920 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13922 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13923 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13925 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13926 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13927 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13928 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13929 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13930 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13931 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13932 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13934 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13935 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13937 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13938 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13939 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13940 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13942 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13943 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13944 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13945 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13946 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13947 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13948 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13949 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13950 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13951 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13953 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13956 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13957 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13958 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13960 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13961 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13962 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13964 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13965 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13966 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13967 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13969 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13970 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13971 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13972 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13973 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13974 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13976 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13977 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13978 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13979 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13980 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13982 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13983 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13984 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13985 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13986 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13987 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13988 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13989 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13991 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13992 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13993 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13994 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13995 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13996 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13997 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13998 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13999 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14001 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14002 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14003 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14004 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14005 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14006 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14007 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14008 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14009 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14011 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14013 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14014 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14015 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14016 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14017 (IPV6_PMTUDISC_INTERFACE): Likewise.
14018 (IPV6_PMTUDISC_OMIT): Likewise.
14020 2014-06-23 Andreas Schwab <schwab@suse.de>
14022 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14023 Remove unused errout label.
14025 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14027 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14028 macro: hardware supports Vector Crypto instructions.
14030 2014-06-23 Will Newton <will.newton@linaro.org>
14032 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14033 rather than __builtin_expect.
14035 * elf/dl-lookup.c (undefined_msg): Remove variable.
14036 (_dl_lookup_symbol_x): Replace undefined_msg with string
14039 * elf/dl-lookup.c (do_lookup_unique): New function.
14040 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14041 to a separate function.
14043 2014-06-23 Andreas Schwab <schwab@suse.de>
14046 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14047 before reading the next line.
14049 2014-06-23 Will Newton <will.newton@linaro.org>
14051 * test-skeleton.c (signal_handler): Use printf and %m
14052 rather than perror. Use printf rather than fprintf to
14053 stderr. Use puts rather than fputs to stderr.
14056 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14058 * nscd/nscd.c (thread_info_t): Remove typedef.
14059 (thread_info): Remove variable.
14061 2014-06-21 Allan McRae <allan@archlinux.org>
14063 * NEWS: Mention CVE-2014-4043.
14065 2014-06-20 Roland McGrath <roland@hack.frob.com>
14067 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14068 * nptl/smp.h: ... here.
14070 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14072 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14073 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14074 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14075 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14077 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14078 * nptl/stack-aliasing.h: New file.
14079 * sysdeps/i386/i686/stack-aliasing.h: New file.
14080 * sysdeps/i386/i686/nptl/Makefile: File removed.
14081 * sysdeps/x86_64/stack-aliasing.h: New file.
14082 * sysdeps/x86_64/nptl/Makefile
14083 (CFLAGS-pthread_create.c): Variable removed.
14085 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14086 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14088 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14089 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14092 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14094 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14095 (__ASSUME_SIGFRAME_V2): Remove macro.
14096 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14097 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14098 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14099 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14100 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14101 Declare as function. Remove conditional macro definitions.
14102 (__default_rt_sa_restorer): Likewise.
14103 (__default_sa_restorer_v1): Remove declaration.
14104 (__default_sa_restorer_v2): Likewise.
14105 (__default_rt_sa_restorer_v1): Likewise.
14106 (__default_rt_sa_restorer_v2): Likewise.
14107 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14108 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14109 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14111 2014-06-20 Roland McGrath <roland@hack.frob.com>
14113 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14114 (libpthread-routines): Add sysdep.
14115 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14116 * sysdeps/unix/sysv/linux/sparc/Versions
14117 (libpthread: GLIBC_2.3.3): New version set.
14118 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14119 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14120 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14121 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14122 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14123 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14125 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14126 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14127 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14128 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14129 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14130 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14131 * sysdeps/sparc/nptl/sem_init.c: ... here.
14132 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14133 * sysdeps/sparc/nptl/sem_post.c: ... here.
14134 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14135 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14136 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14137 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14138 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14139 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14140 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14141 (libpthread-routines): Add cpu_relax.
14142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14144 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14145 (librt: GLIBC_2.3.3): New version set.
14146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14147 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14148 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14149 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14152 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14155 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14157 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14159 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14161 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14163 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14166 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14174 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14178 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14182 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14189 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14195 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14197 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14200 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14204 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14206 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14208 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14209 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14210 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14211 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14212 * nscd/nscd.c: Likewise.
14213 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14214 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14215 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14216 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14218 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14219 <kernel-features.h>.
14220 (init_mq_netlink): Remove conditional have_sock_cloexec
14221 definitions. Remove code conditional on have_sock_cloexec < 0.
14222 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14223 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14224 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14225 <kernel-features.h>.
14226 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14227 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14229 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14232 Add tests for memset_chk and memset.
14234 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14237 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14240 * elf/tst-dl-iter-static.c: New file.
14241 * elf/Makefile (tests-static): Add tst-dl-iter-static.
14243 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14246 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14248 * sysdeps/unix/sysv/linux/kernel-features.h
14249 (__ASSUME_F_GETOWN_EX): Remove macro.
14250 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14251 <kernel-features.h>.
14252 (miss_F_GETOWN_EX): Remove variable or macro.
14253 (do_fcntl): Do not check miss_F_GETOWN_EX.
14254 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14256 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14258 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14259 [!__ASSUME_AT_RANDOM]: Remove conditional code.
14260 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14262 * sysdeps/unix/sysv/linux/kernel-features.h
14263 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14264 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14265 [ADJ_OFFSET_SS_READ]: Make code unconditional.
14266 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14268 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14271 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14272 Fix calculation of the symbol's value.
14273 * sysdeps/arm/tst-armtlsdescloc.c: New file.
14274 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14275 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14276 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14277 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14278 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14279 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14280 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14281 (modules-names): Add `tst-armtlsdescmod',
14282 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14283 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14284 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14285 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14286 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14287 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14288 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14289 ($(objpfx)tst-armtlsdescloc): New dependency.
14290 ($(objpfx)tst-armtlsdescextnow): Likewise.
14291 ($(objpfx)tst-armtlsdescextlazy): Likewise.
14292 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14293 TLS scheme support.
14294 * sysdeps/arm/configure: Regenerate.
14296 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14298 * include/fcntl.h (__atfct_seterrno): Remove prototype.
14299 (__atfct_seterrno_2): Likewise.
14300 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14301 <kernel-features.h>.
14302 (__ASSUME_ATFCTS): Do not undefine and redefine.
14303 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14304 (__have_atfcts): Remove conditional definition.
14305 (__fxstatat([__NR_fstatat64]: Make code unconditional.
14306 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14307 unreachable if [__ASSUME_ATFCTS].
14308 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14309 not undefine and redefine.
14310 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14311 <kernel-features.h>.
14312 (faccessat) [__NR_faccessat]: Make code unconditional.
14313 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14314 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14315 <kernel-features.h>.
14316 (fchmodat) [__NR_fchmodat]: Make code unconditional.
14317 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14318 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14319 <kernel-features.h>.
14320 (fchownat) [__NR_fchownat]: Make code unconditional.
14321 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14322 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14323 <kernel-features.h>.
14324 (futimesat) [__NR_futimesat]: Make code unconditional.
14325 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14326 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14327 <kernel-features.h>.
14328 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14329 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14330 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14331 <kernel-features.h>.
14332 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14333 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14334 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14335 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14336 <kernel-features.h>.
14337 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14338 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14339 * sysdeps/unix/sysv/linux/linkat.c: Do not include
14340 <kernel-features.h>.
14341 (linkat) [__NR_linkat]: Make code unconditional.
14342 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14343 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14344 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14345 <kernel-features.h>.
14346 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14347 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14348 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14349 <kernel-features.h>.
14350 (mkdirat) [__NR_mkdirat]: Make code unconditional.
14351 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14352 * sysdeps/unix/sysv/linux/openat.c: Do not include
14353 <kernel-features.h>.
14354 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14355 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14356 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14357 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14358 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14359 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14360 <kernel-features.h>.
14361 (readlinkat) [__NR_readlinkat]: Make code unconditional.
14362 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
14363 result of INLINE_SYSCALL directly, not via int variable.
14364 * sysdeps/unix/sysv/linux/renameat.c: Do not include
14365 <kernel-features.h>.
14366 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14367 (renameat) [__NR_renameat]: Make code unconditional.
14368 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14369 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14370 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14371 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14372 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14373 (__ASSUME_ATFCTS): Do not undefine and redefine.
14374 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14375 <kernel-features.h>.
14376 (symlinkat) [__NR_symlinkat]: Make code unconditional.
14377 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14378 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14379 <kernel-features.h>.
14380 (unlinkat) [__NR_unlinkat]: Make code unconditional.
14381 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14382 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14383 (__ASSUME_ATFCTS): Do not undefine and redefine.
14384 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14385 <kernel-features.h>.
14386 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14387 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14388 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14389 <kernel-features.h>.
14390 (__xmknodat) [__NR_mknodat]: Make code unconditional.
14391 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14393 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14395 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14397 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
14400 * posix/regcomp.c (parse_reg_exp): Deallocate partially
14401 constructed tree before returning error.
14402 * posix/bug-regexp36.c: Expand test case.
14404 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14407 * math/libm-test.inc (scalbln_test_date):
14408 Add errno expectations.
14409 * math/w_scalblnf.c: New File.
14410 Add wrapper which checks for setting errno to ERANGE.
14411 Add weak_alias for corresponding scalbln function.
14412 * math/w_scalbln.c: Likewise.
14413 * math/w_scalblnl.c: Likewise.
14414 * math/Makefile (libm-calls): Add w_scalbln.
14415 * sysdeps/ieee754/flt-32/s_scalblnf.c:
14416 Remove weak_alias for corresponding scalbln function.
14417 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14419 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14421 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14422 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14423 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14424 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14425 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14426 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14427 Remove long_double_symbol for scalblnl function in libm, libc.
14428 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14429 Add wrapper which checks for setting errno to ERANGE.
14430 Add long_double_symbol for scalblnl function in libm, libc.
14431 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14432 Remove long_double_symbol for scalblnl in libm.
14433 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14434 Add wrapper which checks for setting errno to ERANGE.
14435 Add long_double_symbol for scalblnl function in libm.
14436 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14437 Do not use wrapper because of own implementation.
14439 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
14441 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14442 3 bytes for __pad1 for x32.
14443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14445 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
14446 H.J. Lu <hongjiu.lu@intel.com>
14448 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14449 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14450 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14451 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14452 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14454 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
14457 * posix/regcomp.c (parse_expression): Deallocate partially
14458 constructed tree before returning error.
14459 * posix/Makefile.c (tests): Add bug-regex36.
14460 (generated): Add bug-regex36.mtrace.
14461 (tests-special): Add $(objpfx)bug-regex36-mem.out
14462 (bug-regex36-ENV): New variable.
14463 ($(objpfx)bug-regex36-mem.out): New rule.
14464 * posix/bug-regex36.c: New file.
14466 2014-06-19 Will Newton <will.newton@linaro.org>
14468 * malloc/malloc.c (systrim): If extra is zero then return
14471 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14473 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14475 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
14477 * sysdeps/aarch64/strchr.S: New file.
14479 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14482 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14483 from arguments -2 or below.
14484 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14485 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14487 2014-06-18 Andreas Schwab <schwab@suse.de>
14490 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14491 of a bracket expr not to run off the end of the string.
14492 * posix/Makefile (tests): Add tst-fnmatch3.
14493 * posix/tst-fnmatch3.c: New file.
14495 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14497 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14498 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14499 [$(cross-compiling) = no]: Likewise.
14500 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14501 [$(cross-compiling) = no]: Likewise.
14503 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14506 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14507 double, adjusted for any remainder from the high double.
14508 * math/libm-test.inc (nearbyint): Add tests.
14511 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14513 * nptl/sysdeps/powerpc/Makefile: Moved ...
14514 * sysdeps/powerpc/nptl/Makefile: ... here.
14515 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14516 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14517 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14518 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14519 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14520 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14521 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14522 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14523 * nptl/sysdeps/powerpc/tls.h: Moved ...
14524 * sysdeps/powerpc/nptl/tls.h: ... here.
14526 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14529 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14530 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14531 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14532 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14533 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14534 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14535 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14536 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14537 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14539 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
14541 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14543 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
14545 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14548 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14551 2014-06-16 Florian Weimer <fweimer@redhat.com>
14554 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14555 non-executed part of the test.
14557 2014-06-16 Andreas Schwab <schwab@suse.de>
14559 * string/bits/string2.h (strdup, strndup): Update feature guard.
14561 2014-06-14 David S. Miller <davem@davemloft.net>
14563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14565 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14567 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14568 that was previously under [RESET_PID].
14569 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14571 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14572 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14573 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14574 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14575 (__libc_vfork): New strong alias.
14576 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14578 2014-06-14 Andi Kleen <ak@linux.intel.com>
14580 * sysdeps/generic/elide.h: New file.
14582 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14584 * Makefile (installed-headers): Adjust path of pthread.h header.
14586 2014-06-13 Roland McGrath <roland@hack.frob.com>
14588 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14589 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14590 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14591 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14593 * nptl/sysdeps/s390/Makefile: Moved ...
14594 * sysdeps/s390/nptl/Makefile: ... here.
14595 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14596 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14597 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14598 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14599 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14600 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14601 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14602 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14603 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14604 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14605 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14606 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14607 * nptl/sysdeps/s390/tls.h: Moved ...
14608 * sysdeps/s390/nptl/tls.h: ... here.
14610 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14611 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14613 2014-06-13 David S. Miller <davem@davemloft.net>
14615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14618 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14622 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14623 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14624 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14625 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14626 Remove RESET_PID cpp guards.
14627 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14628 Remove RESET_PID cpp guards.
14629 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14631 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14633 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14636 2014-06-13 Andi Kleen <ak@linux.intel.com>
14638 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14639 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14640 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14641 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14642 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14643 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14644 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14645 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14646 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14647 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14648 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14649 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14650 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14651 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14652 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14653 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14654 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14655 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14656 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14657 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14659 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14660 (pthread_rwlock_rdlock): Add elision.
14661 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14662 (pthread_rwlock_wrlock): Add elision.
14663 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14664 (pthread_rwlock_trywrlock): Add elision.
14665 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14666 (pthread_rwlock_tryrdlock): Add elision.
14667 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14668 (pthread_rwlock_tryrdlock): Add elision unlock.
14669 * nptl/sysdeps/pthread/pthread.h:
14670 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14671 (PTHREAD_RWLOCK_INITIALIZER,
14672 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14673 Handle new elision field.
14674 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14675 * sysdeps/arm/nptl/bits/pthreadtypes.h
14676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14677 * sysdeps/sh/nptl/bits/pthreadtypes.h
14678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14679 * sysdeps/tile/nptl/bits/pthreadtypes.h
14680 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14681 * sysdeps/a/nptl/bits/pthreadtypes.h
14682 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14683 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14685 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14687 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14689 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14690 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14691 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14693 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14695 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14696 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14697 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14698 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14699 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14700 (elision_init): Set try_xbegin to zero when no RTM.
14701 * sysdeps/x86/nptl/bits/pthreadtypes.h
14702 (pthread_rwlock_t): Change __pad1 to __rwelision.
14703 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14705 2014-06-13 Andi Kleen <ak@linux.intel.com>
14707 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14708 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14709 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14710 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14712 2014-06-13 Meador Inge <meadori@codesourcery.com>
14715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14716 that the cached result has been set before returning it.
14718 2014-06-12 Roland McGrath <roland@hack.frob.com>
14720 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14721 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14722 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14723 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14724 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14725 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14727 * nptl/sysdeps/sparc/Makefile: Moved ...
14728 * sysdeps/sparc/nptl/Makefile: ... here.
14729 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14730 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14731 * nptl/sysdeps/sparc/tls.h: Moved ...
14732 * sysdeps/sparc/nptl/tls.h: ... here.
14733 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14734 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14735 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14736 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14737 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14738 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14739 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14740 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14741 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14742 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14743 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14744 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14745 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14746 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14747 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14748 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14749 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14750 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14752 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14753 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14755 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14756 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14758 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14759 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14762 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14764 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14765 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14767 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14768 (struct list_links): Type removed.
14769 (struct thread_node, struct timer_node): Replace struct list_links
14770 with struct list_head.
14771 (list_unlink_ip): Likewise.
14772 * sysdeps/pthread/timer_routines.c
14773 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14774 (list_append, list_insbefore): Likewise.
14775 (list_init): Function removed.
14776 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14777 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14778 * sysdeps/pthread/Makefile: ... here, new file.
14780 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14781 * sysdeps/nptl/Implies: ... here.
14782 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14783 * nptl/sysdeps/pthread/list.h: Moved ...
14784 * include/list.h: ... here.
14785 * nptl/sysdeps/pthread/createthread.c: Moved ...
14786 * nptl/createthread.c: ... here.
14787 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14788 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14789 * nptl/pt-longjmp.c: ... here.
14790 * nptl/sysdeps/pthread/Makefile: Moved ...
14791 * sysdeps/nptl/Makefile: ... here.
14792 * nptl/sysdeps/pthread/Subdirs: Moved ...
14793 * sysdeps/nptl/Subdirs: ... here.
14794 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14795 * sysdeps/nptl/aio_misc.h: ... here.
14796 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14797 * sysdeps/nptl/bits/libc-lock.h: ... here.
14798 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14799 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14800 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14801 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14802 * nptl/sysdeps/pthread/configure: Moved ...
14803 * sysdeps/nptl/configure: ... here.
14804 * nptl/sysdeps/pthread/configure.ac: Moved ...
14805 * sysdeps/nptl/configure.ac: ... here.
14806 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14807 * sysdeps/nptl/gai_misc.h: ... here.
14808 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14809 * sysdeps/nptl/librt-cancellation.c: ... here.
14810 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14811 * sysdeps/nptl/malloc-machine.h: ... here.
14812 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14813 * sysdeps/nptl/pthread-functions.h: ... here.
14814 * nptl/sysdeps/pthread/pthread.h: Moved ...
14815 * sysdeps/nptl/pthread.h: ... here.
14816 * nptl/sysdeps/pthread/setxid.h: Moved ...
14817 * sysdeps/nptl/setxid.h: ... here.
14818 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14819 * sysdeps/nptl/sigfillset.c: ... here.
14820 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14821 * sysdeps/nptl/tcb-offsets.h: ... here.
14822 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14823 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14824 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14825 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14826 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14827 * sysdeps/pthread/allocalim.h: ... here.
14828 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14829 * sysdeps/pthread/bits/sigthread.h: ... here.
14830 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14831 * sysdeps/pthread/flockfile.c: ... here.
14832 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14833 * sysdeps/pthread/ftrylockfile.c: ... here.
14834 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14835 * sysdeps/pthread/funlockfile.c: ... here.
14836 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14837 * sysdeps/pthread/posix-timer.h: ... here.
14838 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14839 * sysdeps/pthread/timer_create.c: ... here.
14840 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14841 * sysdeps/pthread/timer_delete.c: ... here.
14842 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14843 * sysdeps/pthread/timer_getoverr.c: ... here.
14844 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14845 * sysdeps/pthread/timer_gettime.c: ... here.
14846 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14847 * sysdeps/pthread/timer_routines.c: ... here.
14848 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14849 * sysdeps/pthread/timer_settime.c: ... here.
14850 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14851 * sysdeps/pthread/tst-timer.c: ... here.
14852 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14853 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14855 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14856 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14858 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14859 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14860 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14861 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14862 Update #include target.
14863 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14864 * sysdeps/i386/i686/nptl/Makefile: ... here.
14865 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14866 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14867 Update #include target.
14868 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14869 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14870 * nptl/sysdeps/i386/Makefile: Moved ...
14871 * sysdeps/i386/nptl/Makefile: ... here.
14872 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14873 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14874 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14875 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14876 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14877 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14878 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14879 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14880 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14881 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14882 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14883 * nptl/sysdeps/i386/tls.h: Moved ...
14884 * sysdeps/i386/nptl/tls.h: ... here.
14886 * sysdeps/sh/Makefile [$(subdir) = csu]
14887 (gen-as-const-headers): Add tcb-offsets.sym.
14888 * nptl/sysdeps/sh/Makefile: File removed.
14889 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14890 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14891 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14892 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14893 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14894 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14895 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14896 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14897 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14898 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14899 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14900 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14901 * nptl/sysdeps/sh/tls.h: Moved ...
14902 * sysdeps/sh/nptl/tls.h: ... here.
14903 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14904 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14905 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14906 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14907 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14908 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14909 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14910 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14911 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14912 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14913 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14914 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14915 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14916 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14917 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14918 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14919 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14920 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14922 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14923 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14924 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14925 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14926 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14927 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14929 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14930 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14932 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14933 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14934 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14935 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14936 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14937 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14938 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14939 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14940 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14941 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14942 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14943 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14944 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14945 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14946 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14947 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14948 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14949 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14950 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14952 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14954 * posix/spawn_faction_addopen.c: Include string.h.
14956 2014-06-11 Roland McGrath <roland@hack.frob.com>
14958 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14959 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14960 * nptl/sysdeps/x86_64/Makefile: Moved ...
14961 * sysdeps/x86_64/nptl/Makefile: ... here.
14962 * nptl/sysdeps/x86_64/configure: Moved ...
14963 * sysdeps/x86_64/nptl/configure: ... here.
14964 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14965 * sysdeps/x86_64/nptl/configure.ac: ... here.
14966 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14967 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14968 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14969 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14970 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14971 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14972 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14973 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14974 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14975 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14976 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14977 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14978 * nptl/sysdeps/x86_64/tls.h: Moved ...
14979 * sysdeps/x86_64/nptl/tls.h: ... here.
14980 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14981 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14982 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14983 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14985 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14987 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14991 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14993 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14995 [POSIX] (off_t): Likewise.
14996 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14997 [POSIX] (S_ISBLK): Require macro.
14998 [POSIX] (S_ISCHR): Likewise.
14999 [POSIX] (S_ISDIR): Likewise.
15000 [POSIX] (S_ISFIFO): Likewise.
15001 [POSIX] (S_ISREG): Likewise.
15002 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15004 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15006 [POSIX] (time_t): Likewise.
15007 [POSIX] (timer_t): Likewise.
15009 2014-06-11 Florian Weimer <fweimer@redhat.com>
15012 * posix/spawn_int.h (struct __spawn_action): Make the path string
15013 non-const to support deallocation.
15014 * posix/spawn_faction_addopen.c
15015 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15016 * posix/spawn_faction_destroy.c
15017 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15018 path in all spawn_do_open actions.
15019 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15020 posix_spawn_file_actions_addopen.
15022 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15024 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15025 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15026 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15027 conditional code always true.
15028 (__libc_vfork): New alias.
15030 2014-06-11 Roland McGrath <roland@hack.frob.com>
15032 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15033 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15035 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15037 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15038 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15040 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15041 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15043 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15044 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15046 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15048 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15049 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15050 multiarch strcmp for PPC64.
15051 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15052 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15054 multiarch optimizations.
15055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15056 (__libc_ifunc_impl_list): Likewise.
15058 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15060 * benchtests/scripts/validate_benchout.py: New script.
15061 * benchtests/Makefile (bench-func): Call it.
15062 * benchtests/scripts/benchout.schema.json: New file.
15064 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15066 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15067 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15068 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15069 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15070 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15071 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15072 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15073 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15074 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15075 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15076 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15077 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15078 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15079 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15080 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15081 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15185 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15186 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15188 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15191 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15194 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15196 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15198 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15199 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15200 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15201 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15202 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15204 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15207 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15208 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15210 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15211 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15212 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15213 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15215 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15216 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15217 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15218 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15219 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15220 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15221 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15223 2014-06-10 Wilco <wdijkstr@arm.com>
15225 * math/test-fenv-return.c: New file.
15226 * math/Makefile: Add new test test-fenv-return.
15228 2014-06-10 Joseph Myers <joseph@codesourcery.com>
15231 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15232 when x - 1 is zero.
15233 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15234 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15235 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15236 0.0L for an argument of 1.0L.
15237 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15239 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15240 value when x - 1 is zero.
15241 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15242 * sysdeps/i386/fpu/libm-test-ulps: Update.
15243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15245 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
15248 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15250 2014-06-09 Roland McGrath <roland@hack.frob.com>
15252 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15253 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15255 2014-06-09 Roland McGrath <roland@hack.frob.com>
15257 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15258 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15260 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15261 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15263 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15264 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15266 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15267 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15269 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15270 if not already defined.
15271 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15272 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15273 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15274 (TLS_INIT_TP): Use it.
15275 (TLS_DEFINE_INIT_TP): New macro.
15276 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15278 2014-06-09 Joseph Myers <joseph@codesourcery.com>
15280 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15282 [POSIX] (IXANY): Likewise.
15283 [POSIX] (OLCUC): Likewise.
15284 [POSIX || POSIX2008] (CBAUD): Do not allow.
15285 [POSIX || POSIX2008] (DEFECHO): Likewise.
15286 [POSIX || POSIX2008] (ECHOCTL): Likewise.
15287 [POSIX || POSIX2008] (ECHOKE): Likewise.
15288 [POSIX || POSIX2008] (ECHOPRT): Likewise.
15289 [POSIX || POSIX2008] (EXTA): Likewise.
15290 [POSIX || POSIX2008] (EXTB): Likewise.
15291 [POSIX || POSIX2008] (FLUSHO): Likewise.
15292 [POSIX || POSIX2008] (LOBLK): Likewise.
15293 [POSIX || POSIX2008] (PENDIN): Likewise.
15294 [POSIX || POSIX2008] (SWTCH): Likewise.
15295 [POSIX || POSIX2008] (VDISCARD): Likewise.
15296 [POSIX || POSIX2008] (VDSUSP): Likewise.
15297 [POSIX || POSIX2008] (VLNEXT): Likewise.
15298 [POSIX || POSIX2008] (VREPRINT): Likewise.
15299 [POSIX || POSIX2008] (VSTATUS): Likewise.
15300 [POSIX || POSIX2008] (VWERASE): Likewise.
15301 (B*): Change to B[0123456789]*.
15302 * conform/data/time.h-data [POSIX || UNIX98]
15303 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15304 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15305 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15306 [POSIX] (tm_*): Do not allow.
15308 2014-06-07 Joseph Myers <joseph@codesourcery.com>
15310 * Makefile (install): Don't set LANGUAGE.
15311 * Makefile.in (install): Likewise.
15312 * assert/Makefile (test-assert-ENV): Remove variable.
15313 (test-assert-perr-ENV): Likewise.
15314 * elf/Makefile (neededtest4-ENV): Likewise.
15315 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15316 [$(cross-compiling) = no]: Don't set LANGUAGE.
15317 * io/ftwtest-sh (LANG): Remove variable.
15318 * libio/Makefile (tst-widetext-ENV): Likewise.
15319 * manual/install.texi (Running make install): Don't refer to
15320 environment settings for make install.
15321 * INSTALL: Regenerated.
15322 * nptl/tst-tls6.sh: Don't set LANG.
15323 * posix/globtest.sh (LANG): Remove variable.
15324 * string/Makefile (tester-ENV): Likewise.
15325 (inl-tester-ENV): Likewise.
15326 (noinl-tester-ENV): Likewise.
15327 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15328 [$(cross-compiling) = no]: Don't set LANGUAGE.
15329 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15330 without explicit environment settings.
15332 2014-06-06 Roland McGrath <roland@hack.frob.com>
15334 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15335 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15336 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15337 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15339 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
15341 * crypt/crypt-private.h [DOS]: Add some includes taken from the
15342 other files in the crypt directory.
15343 * crypt/crypt.c: Remove duplicate includes.
15344 * crypt/crypt-entry.c: Likewise.
15345 * crypt/crypt_util.c: Likewise.
15347 2014-06-06 Joseph Myers <joseph@codesourcery.com>
15349 * Makeconfig (run-program-env): New variable.
15350 (run-program-prefix-before-env): Likewise.
15351 (run-program-prefix-after-env): Likewise.
15352 (run-program-prefix): Define in terms of new variables.
15353 (built-program-cmd-before-env): New variable.
15354 (built-program-cmd-after-env): Likewise.
15355 (built-program-cmd): Define in terms of new variables.
15356 (test-program-prefix-before-env): New variable.
15357 (test-program-prefix-after-env): Likewise.
15358 (test-program-prefix): Define in terms of new variables.
15359 (test-program-cmd-before-env): New variable.
15360 (test-program-cmd-after-env): Likewise.
15361 (test-program-cmd): Define in terms of new variables.
15362 * Rules (make-test-out): Use $(run-program-env).
15363 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15364 (help): Do not mention environment variables. Mention
15365 --timeoutfactor option.
15366 (timeoutfactor): New variable.
15367 (blacklist_exports): Remove function.
15368 (exports): Remove variable.
15369 (command): Do not include ${exports}.
15370 * manual/install.texi (Configuring and compiling): Do not mention
15371 test wrappers preserving environment variables. Mention that last
15372 assignment to a variable must take precedence.
15373 * INSTALL: Regenerated.
15374 * benchtests/Makefile (run-bench): Use $(run-program-env).
15375 * catgets/Makefile ($(objpfx)test1.cat): Use
15376 $(built-program-cmd-before-env), $(run-program-env) and
15377 $(built-program-cmd-after-env).
15378 ($(objpfx)test2.cat): Do not specify environment variables
15380 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15381 $(run-program-env) and $(built-program-cmd-after-env).
15382 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15383 $(run-program-env) and $(test-program-cmd-after-env).
15384 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15386 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15387 run_program_env and test_program_cmd_after_env arguments.
15388 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15389 * elf/tst-pathopt.sh: Use run_program_env argument.
15390 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15391 $(test-wrapper-env) and $(run-program-env).
15392 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15393 run_program_env arguments.
15394 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15395 * intl/Makefile ($(objpfx)tst-gettext.out): Use
15396 $(test-program-prefix-before-env), $(run-program-env) and
15397 $(test-program-prefix-after-env).
15398 ($(objpfx)tst-gettext2.out): Likewise.
15399 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15400 run_program_env and test_program_prefix_after_env arguments.
15401 * intl/tst-gettext2.sh: Likewise.
15402 * intl/tst-gettext4.sh: Do not set environment variables
15404 * intl/tst-gettext6.sh: Likewise.
15405 * intl/tst-translit.sh: Likewise.
15406 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15407 $(test-program-prefix-before-env), $(run-program-env) and
15408 $(test-program-prefix-after-env).
15409 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15410 run_program_env and test_program_prefix_after_env arguments.
15411 * math/Makefile (run-regen-ulps): Use $(run-program-env).
15412 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15413 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
15414 explicitly with each use of ${test_wrapper_env}.
15415 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15416 $(test-program-prefix-before-env), $(run-program-env) and
15417 $(test-program-prefix-after-env).
15418 * posix/tst-getconf.sh: Do not set environment variables
15420 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15421 run_program_env and test_program_prefix_after_env arguments.
15422 * stdio-common/tst-printf.sh: Do not set environment variables
15424 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15425 $(test-program-prefix-before-env), $(run-program-env) and
15426 $(test-program-prefix-after-env).
15427 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15428 run_program_env and test_program_prefix_after_env arguments.
15429 Split $test calls into $test_pre and $test.
15430 * timezone/Makefile (build-testdata): Use
15431 $(built-program-cmd-before-env), $(run-program-env) and
15432 $(built-program-cmd-after-env).
15434 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15436 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15437 strlen for non SHARED builds.
15439 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15441 * nptl/allocatestack.c (check_list): Inlined function...
15442 (__reclaim_stacks): ... here.
15444 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15447 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15450 2014-06-05 Joseph Myers <joseph@codesourcery.com>
15452 * Rules (make-test-out): Include
15453 LOCPATH=$(common-objpfx)localedata in default environment.
15454 * debug/Makefile (tst-chk1-ENV): Remove variable.
15455 (tst-chk2-ENV): Likewise.
15456 (tst-chk3-ENV): Likewise.
15457 (tst-chk4-ENV): Likewise.
15458 (tst-chk5-ENV): Likewise.
15459 (tst-chk6-ENV): Likewise.
15460 (tst-lfschk1-ENV): Likewise.
15461 (tst-lfschk2-ENV): Likewise.
15462 (tst-lfschk3-ENV): Likewise.
15463 (tst-lfschk4-ENV): Likewise.
15464 (tst-lfschk5-ENV): Likewise.
15465 (tst-lfschk6-ENV): Likewise.
15466 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15467 (tst-iconv7-ENV): Likewise.
15468 * intl/Makefile (LOCPATH-ENV): Likewise.
15469 (tst-codeset-ENV): Likewise.
15470 (tst-gettext3-ENV): Likewise.
15471 (tst-gettext5-ENV): Likewise.
15472 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15473 (tst-fopenloc-ENV): Likewise.
15474 (tst-fgetws-ENV): Remove variable.
15475 (tst-ungetwc1-ENV): Likewise.
15476 (tst-ungetwc2-ENV): Likewise.
15477 (bug-ungetwc2-ENV): Likewise.
15478 (tst-swscanf-ENV): Likewise.
15479 (bug-ftell-ENV): Likewise.
15480 (tst-fgetwc-ENV): Likewise.
15481 (tst-fseek-ENV): Likewise.
15482 (tst-ftell-partial-wide-ENV): Likewise.
15483 (tst-ftell-active-handler-ENV): Likewise.
15484 (tst-ftell-append-ENV): Likewise.
15485 * posix/Makefile (tst-fnmatch-ENV): Likewise.
15486 (tst-regexloc-ENV): Likewise.
15487 (bug-regex1-ENV): Likewise.
15488 (tst-regex-ENV): Likewise.
15489 (tst-regex2-ENV): Likewise.
15490 (bug-regex5-ENV): Likewise.
15491 (bug-regex6-ENV): Likewise.
15492 (bug-regex17-ENV): Likewise.
15493 (bug-regex18-ENV): Likewise.
15494 (bug-regex19-ENV): Likewise.
15495 (bug-regex20-ENV): Likewise.
15496 (bug-regex22-ENV): Likewise.
15497 (bug-regex23-ENV): Likewise.
15498 (bug-regex25-ENV): Likewise.
15499 (bug-regex26-ENV): Likewise.
15500 (bug-regex30-ENV): Likewise.
15501 (bug-regex32-ENV): Likewise.
15502 (bug-regex33-ENV): Likewise.
15503 (bug-regex34-ENV): Likewise.
15504 (bug-regex35-ENV): Likewise.
15505 (tst-rxspencer-ENV): Likewise.
15506 (tst-rxspencer-no-utf8-ENV): Likewise.
15507 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15508 (tst-sscanf-ENV): Likewise.
15509 (tst-swprintf-ENV): Likewise.
15510 (tst-swscanf-ENV): Likewise.
15511 (test-vfprintf-ENV): Likewise.
15512 (scanf13-ENV): Likewise.
15513 (bug14-ENV): Likewise.
15514 (tst-grouping-ENV): Likewise.
15515 * stdlib/Makefile (tst-strtod-ENV): Likewise.
15516 (tst-strtod3-ENV): Likewise.
15517 (tst-strtod4-ENV): Likewise.
15518 (tst-strtod5-ENV): Likewise.
15519 (testmb2-ENV): Likewise./
15520 * string/Makefile (tst-strxfrm-ENV): Likewise.
15521 (tst-strxfrm2-ENV): Likewise.
15522 (bug-strcoll1-ENV): Likewise.
15523 (test-strcasecmp-ENV): Likewise.
15524 (test-strncasecmp-ENV): Likewise.
15525 * time/Makefile (tst-strptime-ENV): Likewise.
15526 (tst-ftime_l-ENV): Likewise.
15527 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15528 (tst-mbrtowc-ENV): Likewise.
15529 (tst-wcrtomb-ENV): Likewise.
15530 (tst-mbrtowc2-ENV): Likewise.
15531 (tst-c16c32-1-ENV): Likewise.
15532 (tst-mbsnrtowcs-ENV): Likewise.
15534 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15536 * manual/resource.texi (How to get information about the memory
15537 subsystem?): Fix typo.
15538 Reported by Peon de la Parra Ivan <peon@keba.com>
15540 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
15543 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15544 (pthread_spin_lock): Branch out of spin loop to proper location.
15545 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15546 (pthread_spin_lock): Likewise.
15548 * nptl/tst-spin4.c: New test.
15549 * nptl/Makefile (tests): Add tst-spin4.
15551 2014-06-03 Andreas Schwab <schwab@suse.de>
15554 * resolv/res_send.c (send_dg): Reload file descriptor after
15557 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15559 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15561 2014-06-03 Richard Henderson <rth@redhat.com>
15563 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15564 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15565 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15566 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15567 in the SAVE_PID block.
15568 (__libc_vfork): New alias.
15569 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15571 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15572 child in registers, not on the stack. Remove RESET_PID conditionals.
15573 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15575 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15577 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15579 2014-06-03 Wilco <wdijkstr@arm.com>
15581 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15582 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15583 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15584 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15585 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15588 2014-06-03 Wilco <wdijkstr@arm.com>
15590 * sysdeps/aarch64/fpu/math_private.h
15591 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15592 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15593 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15594 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15597 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15599 * crypt/crypt-private.h: Include ufc-crypt.h.
15600 (__b64_from_24bit): Declare extern.
15601 * crypt/crypt_util.c(__b64_from_24bit): New function.
15602 (b64t): New static const variable.
15603 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15604 (b64t): Remove variable.
15605 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15606 * crypt/sha256-crypt.c: Include crypt-private.h.
15607 (b64t): Remove variable.
15608 (__sha256_crypt_r): Remove b64_from_24bit and replace
15609 with __b64_from_24bit.
15610 * crypt/sha512-crypt.c: Likewise.
15612 2014-06-02 Roland McGrath <roland@hack.frob.com>
15614 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15615 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15616 Label the code __libc_vfork rather than __vfork.
15617 [!NOT_IN_libc] (vfork): Define as weak alias.
15618 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15619 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15620 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15622 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15624 * malloc/malloc.c (malloc_info): Fix format specifier for
15627 2014-06-02 Wilco <wdijkstr@arm.com>
15629 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15632 2014-06-02 Wilco <wdijkstr@arm.com>
15635 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15636 Rewrite to reduce FPCR/FPSR accesses.
15638 2014-06-01 David S. Miller <davem@davemloft.net>
15640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15642 2014-05-31 David S. Miller <davem@davemloft.net>
15644 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15645 to occur in round to nearest mode when |x| >= 2.0
15647 2014-05-30 Richard Henderson <rth@twiddle.net>
15649 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15650 (PSEUDO_RET_NOERRNO): Remove.
15651 (ret): Don't redefine.
15652 (ret_NOERRNO): Define in terms of ret.
15653 (ret_ERRVAL): Likewise.
15655 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15656 use of PSEUDO_RET; perform the error check directly.
15658 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15660 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15663 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15665 * malloc/malloc (malloc_info): Fix formatting.
15667 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15668 Roland McGrath <roland@hack.frob.com>
15670 * malloc/malloc (malloc_info): Also print mmapped statistics.
15672 2014-05-30 Roland McGrath <roland@hack.frob.com>
15674 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15675 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15677 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15679 * malloc/malloc.c (malloc_info): Inline mi_arena.
15681 2014-05-29 Richard Henderson <rth@twiddle.net>
15683 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15684 Remove comma before expanding ASM_ARGS_##nr.
15685 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15686 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15688 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15689 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15690 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15691 (ASM_ARGS_1): Add leading comma.
15693 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15694 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15695 to __errno_location.
15696 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15697 Remove the expected plt for __errno_location.
15699 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15700 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15703 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15704 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15705 it and break it down.
15706 (DOCARGS_0, DOCARGS_1): Do nothing.
15707 (DOCARGS_2): Update to store into the new stack frame.
15708 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15709 (UNDOCARGS_1): Update to restore from the new stack frame.
15710 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15711 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15713 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15714 (SINGLE_THREAD_P): New parameter for result regno.
15715 (PSEUDO): Update to match; use cbz instead of beq.
15717 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15718 Use ENTRY to define the _nocancel entry point. Share the syscall
15719 and syscall error check paths with the cancel path.
15722 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15723 whitespace; tabs before and after asm mnemonics.
15725 2014-05-29 Eric Wong <normalperson@yhbt.net>
15728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15729 Call fstat64 or stat64 internally, depending on arguments passed.
15730 Replace stat buffer argument with file descriptor argument.
15731 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15732 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15733 Pass fd to __internal_statvfs instead of calling fstat64.
15734 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15735 Pass fd to __internal_statvfs64 instead of calling fstat64.
15736 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15737 Pass -1 to __internal_statvfs instead of calling stat64.
15738 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15739 Pass -1 to __internal_statvfs64 instead of calling stat64.
15741 2014-05-28 Roland McGrath <roland@hack.frob.com>
15743 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15744 that was previously under [RESET_PID].
15745 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15747 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15748 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15750 2014-05-27 Roland McGrath <roland@hack.frob.com>
15752 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15754 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15755 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15757 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15759 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15761 2014-05-27 Andreas Schwab <schwab@suse.de>
15763 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15765 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15766 * elf/rtld.c (init_tls, dl_main): Likewise.
15767 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15768 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15769 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15770 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15771 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15772 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15773 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15774 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15775 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15776 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15777 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15778 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15779 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15780 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15781 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15782 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15783 * sysdeps/generic/tls.h: Update description.
15785 2014-05-27 Will Newton <will.newton@linaro.org>
15788 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15789 and restore r2 rather than just restoring.
15791 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15794 * libio/tst-ftell-append.c: New test case.
15795 * libio/Makefile (tests): Add test case.
15796 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15798 * libio/wfileops.c (do_ftell_wide): Likewise.
15800 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15804 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15808 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15809 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15811 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15812 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15813 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15814 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15817 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15820 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15821 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15822 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15823 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15824 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15826 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15827 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15829 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15831 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15833 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15834 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15835 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15837 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15838 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15839 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15840 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15842 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15848 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15851 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15855 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15858 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15863 conditional [RESET_PID].
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15865 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15867 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15872 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15873 (__libc_vfork): New strong alias.
15874 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15876 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15881 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15882 (__libc_vfork): New strong alias.
15883 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15885 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15888 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15890 * malloc/malloc.c (mi_arena): New function.
15891 (malloc_info): Remove nested function mi_arena. Call non-nosted
15894 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15896 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15898 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15899 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15900 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15901 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15902 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15903 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15904 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15906 2014-05-26 Andreas Schwab <schwab@suse.de>
15909 * locale/programs/repertoire.c (repertoire_read): Add slash
15910 between I18NPATH element and file name.
15911 * locale/programs/locfile.c (locfile_read): Likewise.
15913 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15915 * nptl/pthread_mutexattr_settype.c
15916 (__pthread_mutexattr_settype):
15917 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15919 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15921 * nptl/tst-mutex5 (do_test):
15922 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15924 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15926 * benchtests/README: Document 'init' directive.
15927 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15929 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15930 (parse_file): Recognize 'init' directive.
15932 2014-05-26 Kyle McMartin <kyle@redhat.com>
15935 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15936 alignment of struct pthread.
15938 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15941 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15942 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15943 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15944 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15946 2014-05-25 Richard Henderson <rth@twiddle.net>
15948 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15949 (SINGLE_THREAD_P_PIC): Remove.
15950 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15951 (SINGLE_THREAD_P_PIC): Remove.
15953 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15954 branch to syscall error ...
15955 (PSEUDO): ... here.
15956 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15957 from __local_syscall_error to .Lsyscall_error.
15958 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15959 (SYSCALL_ERROR): Update label name.
15961 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15962 Do not use DOARGS/UNDOARGS.
15963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15964 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15965 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15966 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15967 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15969 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15972 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15973 define if !NOT_IN_libc.
15974 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15975 define with non-default symbol versions.
15977 2014-05-23 Richard Henderson <rth@twiddle.net>
15979 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15980 (vfork, __vfork): Define via compat_symbol.
15982 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15983 [!HAVE_IFUNC] (vfork_compat): Remove.
15984 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15986 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15989 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15990 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15993 2014-05-23 Richard Henderson <rth@twiddle.net>
15995 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15996 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15997 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15998 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16000 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16001 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16002 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16003 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16004 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16005 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16006 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16007 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16008 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16009 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16010 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16011 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16012 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16013 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16014 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16015 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16016 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16017 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16018 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16019 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16020 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16021 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16022 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16023 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16024 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16025 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16026 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16027 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16028 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16029 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16030 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16031 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16032 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16033 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16034 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16035 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16036 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16037 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16038 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16039 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16040 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16041 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16042 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16043 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16044 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16045 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16046 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16047 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16048 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16049 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16050 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16051 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16053 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16055 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16057 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16058 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16059 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16060 before exiting on error.
16061 (__libc_vfork): New strong alias.
16062 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16063 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16065 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16066 that was previously under [RESET_PID].
16067 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16069 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16071 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16074 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16075 value when x - 1 is zero.
16076 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16077 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16078 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16079 0.0L for an argument of 1.0L.
16080 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16082 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16083 value when x - 1 is zero.
16084 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16088 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16090 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16091 alphasort and versionsort.
16093 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16095 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16097 [copysignf]: Likewise.
16099 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16101 * crypt/md5-crypt.c: Fix formatting.
16103 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16105 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16106 (b64_from_24bit): New function.
16108 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16110 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16111 libc_hidden_builtin_def to ifunc.
16112 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16113 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16115 2014-05-21 Roland McGrath <roland@hack.frob.com>
16117 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16118 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16120 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16122 * nscd/Depend (linuxthreads): Remove.
16124 * resolv/Depend (linuxthreads): Remove.
16125 * rt/Depend (linuxthreads): Remove.
16127 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16128 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16129 $(common-objpfx)elf/.
16130 (link-libc-before-gnulib): Likewise.
16131 (elfobjdir): Remove variable.
16132 * Makefile (install): Use $(elf-objpfx) instead of
16133 $(common-objpfx)elf/.
16134 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16136 (link-libc-deps): Likewise.
16137 ($(common-objpfx)libc.so): Likewise.
16138 ($(common-objpfx)linkobj/libc.so): Likewise.
16139 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16140 instead of $(common-objpfx)elf/.
16141 (symbolic-link-list): Likewise.
16142 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16143 [$(cross-compiling) = no]: Likewise.
16144 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16146 (static-gnulib-arch): Likewise.
16147 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16148 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16149 $(common-objpfx)elf/.
16151 2014-05-21 Richard Henderson <rth@redhat.com>
16153 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16154 (SINGLE_THREAD_P): Use the correct width load. Fold
16155 into the ldr offset.
16157 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16158 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16160 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16162 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16163 (libgcc_s_resume): Use __attribute_used__.
16164 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16167 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16169 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16170 optimization when used with float constants.
16172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16174 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16177 * locale/nl_langinfo_l.c: Make direct reference to every
16178 _nl_current_CATEGORY symbol.
16179 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16180 (tests-static): Add tst-langinfo-static.
16181 (tests-special): Add tst-langinfo-static.out.
16182 ($(objpfx)tst-langinfo.out): Redirect output.
16183 ($(objpfx)tst-langinfo-static.out): New.
16184 * localedata/tst-langinfo.sh: Send output to stdout.
16185 * localedata/tst-langinfo-static.c: New file.
16188 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16189 when the shift amount is modulo the limb size.
16191 2014-05-20 Richard Henderson <rth@redhat.com>
16194 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16195 Change type of sa_flags from unsigned int to int.
16198 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16200 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16202 2014-05-20 Will Newton <will.newton@linaro.org>
16204 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16205 Test the return value of the system call in the nocancel case.
16207 2014-05-20 Will Newton <will.newton@linaro.org>
16208 Yvan Roux <yvan.roux@linaro.org>
16210 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16211 #include of asm/ptrace.h.
16212 (PTRACE_GET_THREAD_AREA): Remove #undef.
16213 (PTRACE_GETHBPREGS): Likewise.
16214 (PTRACE_SETHBPREGS): Likewise.
16215 (struct user_regs_struct): New structure.
16216 (struct user_fpsimd_struct): New structure.
16217 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16218 #include of asm/ptrace.h and second #include of sys/user.h.
16219 (PTRACE_GET_THREAD_AREA): Remove #undef.
16220 (PTRACE_GETHBPREGS): Likewise.
16221 (PTRACE_SETHBPREGS): Likewise.
16222 (ELF_NGREG): Use new struct user_regs_struct.
16223 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16225 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16227 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16228 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16230 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16233 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16234 membar to avoid block loads/stores to overlap previous stores.
16236 2014-05-17 Richard Henderson <rth@redhat.com>
16238 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16239 Create the __##syscall_name##_nocancel entry point.
16240 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16241 Remove; let the sysdep-cancel.h code create it.
16243 2014-05-17 David S. Miller <davem@davemloft.net>
16245 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16246 Protect with __USE_GNU.
16247 (TIOCSET_TEMPT): Likewise.
16248 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16249 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16250 these are already provided in bits/ioctl-types.h
16252 2014-05-16 Roland McGrath <roland@hack.frob.com>
16254 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16255 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16257 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16258 Use wait4 regardless of [__NR_waitpid].
16260 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16263 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16264 (_FP_NANSIGN_Q): Set the quiet bit.
16266 2014-05-16 Joseph Myers <joseph@codesourcery.com>
16268 * benchtests/Makefile
16269 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16270 not $(common-objpfx)math/libm.so.
16271 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16272 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16273 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16274 $(common-objpfx)dlfcn/libdl.so.
16275 ($(objpfx)tst-audit8): Depend on $(libm), not
16276 $(common-objpfx)math/libm.so.
16277 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16278 not $(common-objpfx)dlfcn/libdl.so.
16280 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16281 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
16282 [$(build-shared) = yes].
16283 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16284 $(common-objpfx)nptl/libpthread.so.
16285 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16286 $(common-objpfx)math/libm.so$(libm.so-version) or
16287 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16288 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16289 $(common-objpfx)dlfcn/libdl.so.
16290 * setjmp/Makefile (link-libm): Remove variable.
16291 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16292 * stdio-common/Makefile (link-libm): Remove variable.
16293 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16294 * stdlib/Makefile (link-libm): Remove variable.
16295 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16296 ($(objpfx)tst-strtod-round): Likewise.
16297 ($(objpfx)tst-tininess): Likewise.
16298 ($(objpfx)tst-strtod-underflow): Likewise.
16299 ($(objpfx)tst-strtod6): Likewise.
16300 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16301 $(libdl), not $(common-objpfx)nptl/libpthread.so and
16302 $(common-objpfx)dlfcn/libdl.so.
16304 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16306 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16307 BSD terminal modes definitions.
16309 2014-05-16 Roland McGrath <roland@hack.frob.com>
16311 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16312 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16314 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16315 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16316 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16317 Don't do #include_next.
16318 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16319 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16320 Don't do #include_next.
16321 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16322 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16323 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16324 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16326 2014-05-16 Allan McRae <allan@archlinux.org>
16328 * po/sv.po: Update Swedish translation from translation project.
16330 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16333 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
16336 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16337 errno if the TIOCGPTN ioctl fails with an error different than
16339 * login/tst-ptsname.c: New file.
16340 * login/Makefile (tests): Add tst-ptsname.
16343 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16346 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16350 herrno to return EAI_AGAIN.
16352 2014-05-14 Roland McGrath <roland@hack.frob.com>
16354 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16355 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16356 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16357 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16358 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16359 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16360 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16361 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16362 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16363 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16364 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16365 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16366 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16367 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16368 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16369 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16370 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16371 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16372 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16373 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16374 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16375 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16376 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16377 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16378 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16379 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16380 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16381 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16382 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16383 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16385 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16387 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16390 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16392 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16394 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16396 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16398 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16400 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16402 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16404 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16406 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16408 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16410 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16412 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16414 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16416 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16419 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16421 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16423 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16425 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16427 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16429 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16431 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16433 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16435 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16437 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16440 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16442 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16444 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16445 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16446 (libpthread-sysdep_routines): Add elision-related stuff here instead.
16447 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16448 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16449 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16450 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16451 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16452 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16453 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16454 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16455 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16456 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16457 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16458 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16459 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16460 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16461 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16462 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16463 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16464 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16465 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16466 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16467 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16468 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16469 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16470 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16471 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16472 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16473 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16474 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16476 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16477 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16479 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16480 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16481 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16482 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16483 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16484 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16486 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16487 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16489 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16490 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16492 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16493 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16496 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16497 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16498 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16500 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16501 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16502 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16503 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16504 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16505 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16506 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16507 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16509 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16510 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16512 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16514 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16515 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16516 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16517 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16518 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16522 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16524 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16525 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16526 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16527 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16528 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16529 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16532 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16534 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16535 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16537 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16538 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16540 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16541 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16542 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16543 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16545 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16546 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16547 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16548 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16549 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16550 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16551 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16552 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16554 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16555 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16557 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16559 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16560 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16561 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16562 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16563 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16565 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16567 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16569 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16570 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16571 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16572 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16573 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16574 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16575 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16576 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16577 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16578 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16580 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16581 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16583 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16586 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16587 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16589 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16590 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16591 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16592 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16593 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16594 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16596 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16597 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16598 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16599 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16600 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16601 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16602 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16603 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16605 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16606 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16608 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16610 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16611 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16612 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16613 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16614 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16616 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16618 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16620 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16621 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16622 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16623 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16624 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16625 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16626 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16627 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16628 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16629 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16630 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16632 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16633 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16635 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16636 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16638 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16639 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16640 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16641 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16642 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16643 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16644 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16645 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16646 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16647 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16648 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16649 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16650 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16651 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16652 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16654 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16657 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16659 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16660 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16662 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16664 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16665 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16666 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16667 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16668 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16669 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16671 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16672 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16674 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16675 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16676 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16678 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16679 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16680 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16681 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16682 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16683 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16684 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16685 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16686 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16687 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16688 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16689 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16690 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16692 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16693 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16694 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16695 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16696 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16698 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16699 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16700 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16701 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16702 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16703 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16704 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16705 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16706 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16707 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16710 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16712 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16713 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16714 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16715 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16716 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16717 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16718 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16719 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16720 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16721 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16722 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16723 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16724 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16725 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16730 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16747 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16748 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16749 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16751 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16752 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16753 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16754 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16755 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16756 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16757 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16758 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16759 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16760 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16762 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16763 that was previously under [RESET_PID].
16764 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16765 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16766 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16768 * sysdeps/i386/nptl/Implies: New file.
16769 * sysdeps/x86_64/nptl/Implies: New file.
16770 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16771 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16772 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16773 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16775 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16776 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16777 (__libc_vfork): New strong alias.
16778 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16779 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16781 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16782 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16783 (__libc_vfork): New strong alias.
16784 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16785 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16787 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16788 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16789 (__libc_vfork): New strong alias.
16790 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16791 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16792 * nptl/pt-vfork.c: New file.
16793 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16794 (libpthread: GLIBC_2.20): New version set (empty).
16796 2014-05-14 Will Newton <will.newton@linaro.org>
16798 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16801 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16804 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16805 arguments with exponent 65 or above.
16806 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16807 arguments 0x1p113L or above.
16808 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16809 to arguments 0x1p107L or above.
16810 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16811 positive arguments with exponent 65 or above.
16812 * math/auto-libm-test-in: Add more tests of log1p.
16813 * math/auto-libm-test-out: Regenerated.
16816 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16817 non-finite arguments is +0.
16818 * math/s_cacosf.c (__cacosf): Likewise.
16819 * math/s_cacosl.c (__cacosl): Likewise.
16820 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16821 * sysdeps/i386/fpu/libm-test-ulps: Update.
16822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16825 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16827 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16828 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16829 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16830 for explicit high bit of mantissa when testing for argument equal
16832 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16833 * sysdeps/i386/fpu/libm-test-ulps: Update.
16834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16837 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16838 (__erf): Scale by 16 instead of 8 in potentially underflowing
16839 case. Ensure exception if result actually underflows.
16840 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16841 (__erff): Scale by 16 instead of 8 in potentially underflowing
16842 case. Ensure exception if result actually underflows.
16843 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16844 (efx8): Remove variable.
16845 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16846 case. Ensure exception if result actually underflows.
16847 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16848 (efx8): Remove variable.
16849 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16850 case. Ensure exception if result actually underflows.
16851 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16852 (efx8): Remove variable.
16853 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16854 case. Ensure exception if result actually underflows.
16855 * math/auto-libm-test-in: Add more tests of erf.
16856 * math/auto-libm-test-out: Regenerated.
16858 2014-05-14 Andreas Schwab <schwab@suse.de>
16860 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16861 Remove code conditionalized on USE___THREAD.
16863 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16864 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16867 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16869 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16870 Define unconditionally.
16871 (__ASSUME_O_CLOEXEC): Likewise.
16872 (__ASSUME_SOCK_CLOEXEC): Likewise.
16873 (__ASSUME_IN_NONBLOCK): Likewise.
16874 (__ASSUME_PIPE2): Likewise.
16875 (__ASSUME_EVENTFD2): Likewise.
16876 (__ASSUME_SIGNALFD4): Likewise.
16877 (__ASSUME_DUP3): Likewise.
16878 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16879 (__ASSUME_DUP3): Do not define.
16880 (__ASSUME_EVENTFD2): Likewise.
16881 (__ASSUME_IN_NONBLOCK): Likewise.
16882 (__ASSUME_O_CLOEXEC): Likewise.
16883 (__ASSUME_PIPE2): Likewise.
16884 (__ASSUME_SIGNALFD4): Likewise.
16885 (__ASSUME_SOCK_CLOEXEC): Likewise.
16886 (__ASSUME_UTIMES): Undefine.
16887 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16888 (__ASSUME_UTIMES): Do not define.
16889 (__ASSUME_O_CLOEXEC): Likewise.
16890 (__ASSUME_SOCK_CLOEXEC): Likewise.
16891 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16892 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16894 (__ASSUME_PIPE2): Likewise.
16895 (__ASSUME_EVENTFD2): Likewise.
16896 (__ASSUME_SIGNALFD4): Likewise.
16897 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16898 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16900 (__ASSUME_EVENTFD2): Likewise.
16901 (__ASSUME_SIGNALFD4): Likewise.
16902 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16903 (__ASSUME_32BITUIDS): Likewise.
16904 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16905 (__ASSUME_IPC64): Likewise.
16906 (__ASSUME_ST_INO_64_BIT): Likewise.
16907 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16908 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16909 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16910 (__ASSUME_UTIMES): Do not define.
16911 (__ASSUME_PSELECT): Likewise.
16912 (__ASSUME_PPOLL): Likewise.
16913 (__ASSUME_O_CLOEXEC): Likewise.
16914 (__ASSUME_SOCK_CLOEXEC): Likewise.
16915 (__ASSUME_IN_NONBLOCK): Likewise.
16916 (__ASSUME_PIPE2): Likewise.
16917 (__ASSUME_EVENTFD2): Likewise.
16918 (__ASSUME_SIGNALFD4): Likewise.
16919 (__ASSUME_DUP3): Likewise.
16920 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16921 (__ASSUME_UTIMES): Likewise.
16922 (__ASSUME_O_CLOEXEC): Likewise.
16923 (__ASSUME_SOCK_CLOEXEC): Likewise.
16924 (__ASSUME_IN_NONBLOCK): Likewise.
16925 (__ASSUME_PIPE2): Likewise.
16926 (__ASSUME_EVENTFD2): Likewise.
16927 (__ASSUME_SIGNALFD4): Likewise.
16928 (__ASSUME_DUP3): Likewise.
16929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16930 (__ASSUME_UTIMES): Likewise.
16931 (__ASSUME_O_CLOEXEC): Likewise.
16932 (__ASSUME_SOCK_CLOEXEC): Likewise.
16933 (__ASSUME_IN_NONBLOCK): Likewise.
16934 (__ASSUME_PIPE2): Likewise.
16935 (__ASSUME_EVENTFD2): Likewise.
16936 (__ASSUME_SIGNALFD4): Likewise.
16937 (__ASSUME_DUP3): Likewise.
16938 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16940 (__ASSUME_UTIMES): Likewise.
16941 (__ASSUME_EVENTFD2): Likewise.
16942 (__ASSUME_SIGNALFD4): Likewise.
16943 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16944 (__ASSUME_O_CLOEXEC): Likewise.
16945 (__ASSUME_SOCK_CLOEXEC): Likewise.
16946 (__ASSUME_IN_NONBLOCK): Likewise.
16947 (__ASSUME_PIPE2): Likewise.
16948 (__ASSUME_EVENTFD2): Likewise.
16949 (__ASSUME_SIGNALFD4): Likewise.
16950 (__ASSUME_DUP3): Likewise.
16951 (__ASSUME_UTIMES): Undefine.
16953 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16954 feclearexcept. Remove symbol versioning code.
16955 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16956 symbol versioning code.
16957 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16958 symbol versioning code.
16959 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16960 feupdateenv. Remove symbol versioning code.
16961 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16962 fegetexceptflag. Remove symbol versioning code.
16963 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16964 fesetexceptflag. Remove symbol versioning code.
16965 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16966 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16967 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16968 (__posix_fadvise64_l32): Remove prototype.
16969 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16972 2014-05-13 Roland McGrath <roland@hack.frob.com>
16974 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16975 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16976 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16977 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16979 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16981 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16982 current working directory
16984 2014-05-13 Roland McGrath <roland@hack.frob.com>
16986 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16987 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16988 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16989 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16990 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16991 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16992 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16993 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16994 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16995 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16996 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16997 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16998 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16999 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17000 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17001 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17002 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17003 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17004 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17005 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17006 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17007 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17008 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17009 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17010 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17011 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17012 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17013 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17014 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17015 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17016 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17017 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17018 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17019 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17020 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17021 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17022 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17023 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17024 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17025 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17026 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17027 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17029 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17030 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17032 * sysdeps/unix/sysv/linux/arm/Makefile
17033 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17034 Add rt-aeabi_unwind_cpp_pr1.
17035 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17036 Add nptl-aeabi_unwind_cpp_pr1.
17037 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17038 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17039 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17040 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17041 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17042 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17044 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17045 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17046 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17047 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17049 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17050 Deconditionalize the code that was previously under [RESET_PID].
17051 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17053 * sysdeps/generic/exit-thread.h: New file.
17054 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17055 * include/unistd.h (__exit_thread): Remove declaration.
17056 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17057 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17058 * csu/libc-start.c: Include <exit-thread.h>.
17059 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17060 * nptl/pthread_create.c: Include <exit-thread.h>.
17061 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17062 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17063 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17064 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17065 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17066 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17067 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17068 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17069 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17070 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17071 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17072 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17073 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17074 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17075 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17076 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17077 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17079 2014-05-13 Andreas Schwab <schwab@suse.de>
17081 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17083 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17085 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17086 (__ASSUME_UTIMES): Do not condition on kernel version.
17087 (__ASSUME_PSELECT): Define unconditionally.
17088 (__ASSUME_PPOLL): Likewise.
17089 (__ASSUME_ATFCTS): Likewise.
17090 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17091 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17092 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17093 (__ASSUME_UTIMENSAT): Define unconditionally.
17094 (__ASSUME_PRIVATE_FUTEX): Likewise.
17095 (__ASSUME_FALLOCATE): Likewise.
17096 (__ASSUME_O_CLOEXEC): Likewise.
17097 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17098 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17099 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17100 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17101 (__ASSUME_IN_NONBLOCK): Likewise.
17102 (__ASSUME_PIPE2): Likewise.
17103 (__ASSUME_EVENTFD2): Likewise.
17104 (__ASSUME_SIGNALFD4): Likewise.
17105 (__ASSUME_DUP3): Likewise.
17106 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17107 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17108 (__ASSUME_AT_RANDOM): Likewise.
17109 (__ASSUME_PREADV): Likewise.
17110 (__ASSUME_PWRITEV): Likewise.
17111 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17112 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17113 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17114 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17115 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17116 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17117 (__ASSUME_O_CLOEXEC): Define unconditionally.
17118 (__ASSUME_PSELECT): Do not undefine conditionally.
17119 (__ASSUME_PPOLL): Likewise.
17120 (__ASSUME_ATFCTS): Likewise.
17121 (__ASSUME_SET_ROBUST_LIST): Likewise.
17122 (__ASSUME_UTIMENSAT): Likewise.
17123 (__ASSUME_FDATASYNC): Define unconditionally.
17124 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17125 (__ASSUME_SIGFRAME_V2): Likewise.
17126 )__ASSUME_EVENTFD2): Likewise.
17127 (__ASSUME_SIGNALFD4): Likewise.
17128 (__ASSUME_PSELECT): Do not undefine conditionally.
17129 (__ASSUME_PPOLL): Likewise.
17130 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17131 (__ASSUME_PSELECT): Define unconditionally.
17132 (__ASSUME_PPOLL): Likewise.
17133 (__ASSUME_O_CLOEXEC): Likewise.
17134 (__ASSUME_SOCK_CLOEXEC): Likewise.
17135 (__ASSUME_IN_NONBLOCK): Likewise.
17136 (__ASSUME_PIPE2): Likewise.
17137 (__ASSUME_EVENTFD2): Likewise.
17138 (__ASSUME_SIGNALFD4): Likewise.
17139 (__ASSUME_DUP3): Likewise.
17140 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17141 (__ASSUME_O_CLOEXEC): Likewise.
17142 (__ASSUME_SOCK_CLOEXEC): Likewise.
17143 (__ASSUME_IN_NONBLOCK): Likewise.
17144 (__ASSUME_PIPE2): Likewise.
17145 (__ASSUME_EVENTFD2): Likewise.
17146 (__ASSUME_SIGNALFD4): Likewise.
17147 (__ASSUME_DUP3): Likewise.
17148 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17149 (__ASSUME_EVENTFD2): Likewise.
17150 (__ASSUME_SIGNALFD4): Likewise.
17151 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17153 2014-05-12 Andreas Schwab <schwab@suse.de>
17156 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17157 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17158 than maximum RPC packet size.
17159 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17160 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17161 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17162 (_nss_nis_getservbyport_r): Likewise.
17164 2014-05-12 Will Newton <will.newton@linaro.org>
17166 * malloc/Makefile (tests): Add tst-mallopt.
17167 * malloc/tst-mallopt.c: New file.
17169 2014-05-09 Roland McGrath <roland@hack.frob.com>
17171 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17172 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17174 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17176 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17177 (tst-tlsmod6.so): Likewise.
17179 2014-05-09 Roland McGrath <roland@hack.frob.com>
17181 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17183 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17186 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17187 and <dl-procinfo.h>.
17188 (__fegetenv): Save SSE state in envp->__eip if supported.
17189 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17190 envp->__eip if supported.
17191 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17192 and <dl-procinfo.h>.
17193 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17194 __data_offset and __data_selector in environment to 0. Set SSE
17195 state if supported.
17196 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17198 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17200 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17202 2014-05-09 Will Newton <will.newton@linaro.org>
17204 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17205 and libc_relro_required for ARM.
17206 * sysdeps/arm/preconfigure: Regenerate.
17208 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17209 Stefan Liebler <stli@linux.vnet.ibm.com>
17211 * config.make.in (enable-lock-elision): New Makefile variable.
17212 * configure.ac: Likewise.
17213 * configure: Regenerate.
17214 * sysdeps/s390/configure.ac:
17215 Add check for gcc transactions support.
17216 * sysdeps/s390/configure: Regenerate.
17217 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17218 Build elision files if enabled.
17219 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17220 Add lock elision support for s390.
17221 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17222 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17223 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17224 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17225 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17226 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17227 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17229 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17231 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17233 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17235 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17236 (__lll_timedlock_elision, __lll_lock_elision)
17237 (__lll_unlock_elision, __lll_trylock_elision)
17238 (lll_timedlock_elision, lll_lock_elision)
17239 (lll_unlock_elision, lll_trylock_elision): Add.
17240 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17241 (pthread_mutex_t): Add lock elision support for s390.
17243 2014-05-14 Wilco <wdijkstr@arm.com>
17245 * sysdeps/arm/fclrexcpt.c: Cleanup.
17246 * sysdeps/arm/fedisblxcpt.c: Cleanup.
17247 * sysdeps/arm/feenablxcpt.c: Cleanup.
17248 * sysdeps/arm/fegetenv.c: Cleanup.
17249 * sysdeps/arm/fegetexcept.c: Cleanup.
17250 * sysdeps/arm/fegetround.c: Cleanup.
17251 * sysdeps/arm/feholdexcpt.c: Cleanup.
17252 * sysdeps/arm/fesetenv.c: Cleanup.
17253 * sysdeps/arm/fesetround.c: Cleanup.
17254 * sysdeps/arm/feupdateenv.c: Cleanup.
17255 * sysdeps/arm/fgetexcptflg.c: Cleanup.
17256 * sysdeps/arm/fraiseexcpt.c: Cleanup.
17257 * sysdeps/arm/fsetexcptflg.c: Cleanup.
17258 * sysdeps/arm/ftestexcept.c: Cleanup.
17259 * sysdeps/arm/get-rounding-mode.h: Cleanup.
17260 * sysdeps/arm/setfpucw.c: Cleanup.
17262 2014-05-09 Will Newton <will.newton@linaro.org>
17264 * sysdeps/arm/armv7/strcmp.S: New file.
17265 * NEWS: Mention addition of ARMv7 optimized strcmp.
17267 2014-05-08 Roland McGrath <roland@hack.frob.com>
17269 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17270 look for %.ac rather than %.in.
17272 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17273 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17274 * sysdeps/mach/hurd/configure: Regenerated.
17275 * sysdeps/unix/sysv/linux/configure: Regenerated.
17277 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17279 2014-05-07 Steve Ellcey <sellcey@mips.com>
17282 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17286 2014-05-07 Andreas Schwab <schwab@suse.de>
17288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17289 when skipping over non-matching result from nscd.
17291 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
17294 * nptl/sockperf.c (client): Check socket return value.
17297 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17298 nscd security class.
17300 2014-05-06 Roland McGrath <roland@hack.frob.com>
17302 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17303 * sysdeps/arm/unwind.h: ... here.
17305 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
17308 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17311 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17313 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17314 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17315 multiarch strncpy for PPC64.
17316 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17317 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17319 multiarch optimizations.
17320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17321 (__libc_ifunc_impl_list): Likewise.
17322 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17323 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17324 multiarch stpncpy for PPC64.
17325 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17326 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17328 2014-05-06 Andreas Schwab <schwab@suse.de>
17331 * gmon/mcount.c (_MCOUNT_DECL): Use
17332 atomic_compare_and_exchange_bool_acq instead of
17333 catomic_compare_and_exchange_bool_acq.
17335 2014-05-05 Roland McGrath <roland@hack.frob.com>
17337 * elf/Makefile (others, install-bin): Remove pldd.
17338 (pldd-modules): Variable removed.
17339 ($(objpfx)pldd): Target removed.
17340 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17341 (others, install-bin): Append pldd here.
17342 ($(objpfx)pldd): New target.
17344 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17345 to 0, so the first #if test emitted later doesn't see it undefined.
17346 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17347 * sysdeps/gnu/errlist.c: Regenerated.
17349 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17351 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17352 [libc_hidden_builtin_def]: Define to empty value.
17353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17354 [libc_hidden_builtin_def]: Likewise.
17355 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17356 [libc_hidden_builtin_def]: Likewise.
17357 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17358 [libc_hidden_builtin_def]: Likewise.
17359 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17360 __redirect_memcpy and define ifunc as default hidden symbol.
17361 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17362 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17364 2014-05-04 Adam Conrad <adconrad@0c3.net>
17366 * locale/iso-4217.def: Reintroduce XDR currency.
17368 2014-05-04 Allan McRae <allan@archlinux.org>
17370 * po/eo.po: Update Esperanto translation from translation project.
17372 2014-05-02 Carlos O'Donell <carlos@redhat.com>
17374 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17375 and FEATURE_INDEX_MAX to 1.
17376 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17378 2014-05-01 Steve Ellcey <sellcey@mips.com>
17380 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17381 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17382 * iconvdata/big5.c (ONE_DIRECTION): Define.
17383 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17384 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17385 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17386 * iconvdata/cp932.c (ONE_DIRECTION): Define.
17387 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17388 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17389 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17390 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17391 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17392 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17393 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17394 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17395 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17396 * iconvdata/gbk.c (ONE_DIRECTION): Define.
17397 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17398 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17399 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17400 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17401 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17402 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17403 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17404 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17405 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17406 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17407 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17408 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17409 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17410 * iconvdata/iso646.c (ONE_DIRECTION): Define.
17411 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17412 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17413 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17414 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17415 * iconvdata/johab.c (ONE_DIRECTION): Define.
17416 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17417 * iconvdata/sjis.c (ONE_DIRECTION): Define.
17418 * iconvdata/t.61.c (ONE_DIRECTION): Define.
17419 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17420 * iconvdata/tscii.c (ONE_DIRECTION): Define.
17421 * iconvdata/uhc.c (ONE_DIRECTION): Define.
17422 * iconvdata/unicode.c (ONE_DIRECTION): Define.
17423 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17424 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17425 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17427 2014-05-01 Roland McGrath <roland@hack.frob.com>
17429 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17430 (_IO_JUMPS_OFFSET): Define to 0.
17432 * nptl/sysdeps/pthread/bits/libc-lock.h
17433 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17434 (__libc_lock_define_initialized_recursive): Always define using
17435 initializer. Modern compilers treat uninitialized (implicit zero) and
17436 explicit zero initializers the same (i.e. put the datum in bss).
17438 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17440 * nscd/nscd-client.h: Include <string.h>.
17442 2014-05-01 David S. Miller <davem@davemloft.net>
17445 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17446 multiple zero bytes exist at the end of a string.
17447 Reported by Aurelien Jarno <aurelien@aurel32.net>
17449 * string/test-strcmp.c (check): Add explicit test for situations where
17450 there are multiple zero bytes after the first.
17452 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17455 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17456 when compiling wprintf.
17457 * stdio-common/tstdiomisc.c (t3): New function.
17460 2014-05-01 Steve Ellcey <sellcey@mips.com>
17462 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17463 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17464 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17465 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17467 2014-05-01 Steve Ellcey <sellcey@mips.com>
17469 * stdlib/longlong.h: Updated from GCC.
17471 2014-05-01 Will Newton <will.newton@linaro.org>
17472 Bernard Ogden <bernie.ogden@linaro.org>
17474 * NEWS: Update fixed bug list.
17477 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17479 2014-04-30 David S. Miller <davem@davemloft.net>
17481 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17482 (libc_feholdexcept_setround_sparc_ctx): New function.
17483 (libc_fesetenv_sparc_ctx): Likewise.
17484 (libc_feupdateenv_sparc_ctx): Likewise.
17485 (libc_feholdsetround_sparc_ctx): Likewise.
17486 (libc_feholdexcept_setround_ctx): Define.
17487 (libc_feholdexcept_setroundf_ctx): Likewise.
17488 (libc_feholdexcept_setroundl_ctx): Likewise.
17489 (libc_fesetenv_ctx): Likewise.
17490 (libc_fesetenvf_ctx): Likewise.
17491 (libc_fesetenvl_ctx): Likewise.
17492 (libc_feupdateenv_ctx): Likewise.
17493 (libc_feupdateenvf_ctx): Likewise.
17494 (libc_feupdateenvl_ctx): Likewise.
17495 (libc_feresetround_ctx): Likewise.
17496 (libc_feresetroundf_ctx): Likewise.
17497 (libc_feresetroundl_ctx): Likewise.
17498 (libc_feholdsetround_ctx): Likewise.
17499 (libc_feholdsetroundf_ctx): Likewise.
17500 (libc_feholdsetroundl_ctx): Likewise.
17502 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17503 with __USE_GNU instead of XOPEN cpp guards.
17505 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17509 with XOPEN cpp guards.
17511 2014-04-30 Julian Brown <julian@codesourcery.com>
17514 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17517 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17520 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17522 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17523 * sysdeps/unix/sysv/linux/configure: Regenerated.
17524 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17525 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17526 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17527 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17528 * README: Update reference to required Linux kernel version.
17529 * manual/install.texi (Linux): Update reference to required Linux
17530 kernel headers version.
17531 * INSTALL: Regenerated.
17533 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17535 [POSIX] (limits.h): Likewise.
17536 [POSIX] (math.h): Likewise.
17537 [POSIX] (sys/wait.h): Likewise.
17538 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17540 [POSIX] (stddef.h): Do not allow header inclusion.
17542 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17544 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17546 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
17548 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17549 Return immediately after lll_futex_wake.
17551 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17554 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17556 (datahead_init_pos): Call datahead_init_common early.
17557 (datahead_init_neg): Likewise.
17559 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17560 datahead_init_neg): New functions.
17561 * nscd/aicache.c (addhstaiX): Use them.
17562 * nscd/grpcache.c (cache_addgr): Likewise.
17563 * nscd/hstcache.c (cache_addhst): Likewise.
17564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17565 * nscd/netgroupcache.c (do_notfound): Likewise.
17566 (addgetnetgrentX): Likewise.
17567 (addinnetgrX): Likewise.
17568 * nscd/pwdcache.c (cache_addpw): Likewise.
17569 * nscd/servicescache.c (cache_addserv): Likewise.
17571 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17572 Atsushi Onoe <atsushi@onoe.org>
17577 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17578 one response is valid.
17579 * resolv/res_send.c (send_dg): Check for validity of other
17580 response if the current response is a referral.
17582 2014-04-29 Steve Ellcey <sellcey@mips.com>
17584 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17586 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17589 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17590 Always divide by positive zero when computing -Inf result.
17591 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17592 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17594 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17596 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17597 FPSCR if value do not change.
17598 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17599 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17600 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17601 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17602 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17603 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17606 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17608 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17609 * sysdeps/unix/sysv/linux/hppa: Move directory from
17610 ports/systeps/unix/sysv/linux/hppa.
17611 * README: Update listing for hppa-*-linux-gnu.
17613 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17616 * manual/stdio.texi (Hook functions): Fix types of stream hook
17619 * socket/sys/socket.h: Fix typo in comment.
17621 2014-04-28 Wilco <wdijkstr@arm.com>
17623 * sysdeps/arm/fenv_private.h: New file.
17624 * sysdeps/arm/math_private.h: New file.
17625 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17627 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17629 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17631 (La_x86_64_retval): Likewise.
17633 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17635 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17636 fpsr if value didn't change.
17637 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17638 to fpcr if value didn't change.
17639 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17640 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17641 fpsr or fpcr if value didn't change.
17642 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17643 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17644 fpcr if value didn't change.
17645 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17646 to fpsr if value didn't change.
17648 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17650 * nptl/tst-sem3.c: Use test-skeleton.c
17651 (main): Rename to do_test. Use return instead of
17653 * nptl/tst-sem4.c: Use test-skeleton.c
17654 (main): Rename to do_test.
17656 2014-04-22 David S. Miller <davem@davemloft.net>
17658 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17659 (struct sigaction): New struct member __glibc_reserved0, change
17660 type of sa_flags to int.
17662 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17664 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17665 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17667 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17669 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17670 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17672 2014-04-22 Will Newton <will.newton@linaro.org>
17673 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17675 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17676 (__longjmp): Add longjmp and longjmp_target SystemTap
17678 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17679 (__sigsetjmp): Add setjmp SystemTap probe.
17681 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17683 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17684 match manual order.
17686 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17688 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17690 * sysdeps/powerpc/fpu/fenv_private.h
17691 (libc_feholdexcept_setroundl_ctx): Define to
17692 libc_feholdexcept_setround_ppc_ctx.
17693 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17694 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17695 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17696 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17698 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17700 * sysdeps/aarch64/math-tests.h: New file.
17702 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17704 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17707 Check and set bit_AVX2_Usable.
17708 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17710 (bit_AVX2): Likewise.
17711 (index_AVX2_Usable): Likewise.
17712 (CPUID_AVX2): Likewise.
17713 (HAS_AVX2): Likewise.
17715 2014-04-17 Will Newton <will.newton@linaro.org>
17717 * manual/setjmp.texi (System V contexts): Add note that
17718 calling setcontext on a context created by a call to a
17719 signal handler is undefined. Update text to note that
17720 setcontext from a signal handler is possible but not
17724 * stdlib/tst-setcontext.c: Include signal.h.
17725 (main): Check that the signal stack before and
17726 after swapcontext is the same.
17728 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17729 Re-implement to restore registers in user code and avoid
17730 rt_sigreturn system call.
17732 2014-04-17 Wilco <wdijkstr@arm.com>
17734 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17735 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17736 * math/test-fenv.c: Skip exception trap tests on targets which only
17737 support non-stop mode.
17739 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17740 Wilco Dijkstra <wilco.dijkstra@arm.com>
17742 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17743 (libc_feholdsetround_aarch64_ctx)
17744 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17745 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17746 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17747 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17748 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17749 (libc_feresetround_noexl_ctx): Define.
17751 2014-04-16 Richard Henderson <rth@redhat.com>
17753 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17755 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17758 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17759 const from the non-libc, non-ldso copy.
17761 * sysdeps/alpha/libm-test-ulps: Regenerate.
17763 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17764 Wilco Dijkstra <wilco.dijkstra@arm.com>
17766 * sysdeps/aarch64/fpu/math_private.h: New file.
17768 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17770 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17772 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17775 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17776 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17777 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17778 Intel MPX bound registers before _dl_profile_fixup.
17779 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17780 registers after _dl_profile_fixup. Save and restore bound
17781 registers bnd0/bnd1 when calling _dl_call_pltexit.
17782 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17783 (LR_BND_OFFSET): Likewise.
17784 (LRV_BND0_OFFSET): Likewise.
17785 (LRV_BND1_OFFSET): Likewise.
17787 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17789 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17791 * sysdeps/mach/hurd/i386/tls.h: ... here.
17792 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17793 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17796 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17798 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17800 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17802 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17804 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17807 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17808 * sysdeps/s390/configure: Regenerate.
17811 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17812 Set round-to-nearest internally to reduce error accumulation.
17814 2014-04-16 Alan Modra <amodra@gmail.com>
17818 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17819 * math/libm-test.inc (frexp_test_data): Add tests.
17820 * NEWS: Update fixed bug list.
17822 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17824 * benchtests/Makefile: Depend on libraries in build directory.
17825 (bench-math): Separate out math tests.
17826 (bench-pthread): Separate out pthread tests.
17827 (bench): Include math and pthread tests.
17829 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17832 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17833 _dl_debug_initialize.
17835 * configure.ac: Remove SELinux header check.
17836 * configure: Regenerate.
17837 * nscd/selinux.c (perms): Array of const char* to permission names.
17838 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17839 default policy. Call string_to_security_class and string_to_av_perm to
17840 translate strings. Enforce default policy and call avs_has_perm with
17841 results of translated strings.
17843 2014-04-13 David S. Miller <davem@davemloft.net>
17845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17847 2014-04-12 Allan McRae <allan@archlinux.org>
17850 * manual/string.texi (Collation Functions): Fix qsort argument
17852 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17854 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17856 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17857 Make the test a no-op if there are no exceptions defined.
17859 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17861 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17862 enable-hardcoded-path-in-tests
17864 2014-04-11 Will Newton <will.newton@linaro.org>
17866 * benchtests/Makefile (extra-objs): Add json-lib.o.
17867 (bench-func): Tidy up JSON output.
17868 * benchtests/bench-skeleton.c: Include json-lib.h.
17869 (main): Use JSON library functions to do output of
17871 * benchtests/bench-timing-type.c (main): Output the
17872 timing type simply, leaving formatting to the user.
17873 * benchtests/json-lib.c: New file.
17874 * benchtests/json-lib.h: Likewise.
17876 2014-04-11 Torvald Riegel <triegel@redhat.com>
17879 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17880 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17881 memory barriers. Add comments.
17882 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17883 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17884 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17885 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17886 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17887 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17889 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17891 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17892 * sysdeps/s390/s390-64/configure.ac: ... this ...
17893 * sysdeps/s390/configure.ac: ... to here.
17894 * sysdeps/s390/s390-32/configure: Delete file.
17895 * sysdeps/s390/s390-64/configure: Delete file.
17896 * sysdeps/s390/configure: Regenerate.
17898 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17900 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17902 2014-04-11 Will Newton <will.newton@linaro.org>
17904 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17905 to zero if it is not defined elsewhere. (mtrim): Test
17906 the value of MALLOC_DEBUG with #if rather than #ifdef.
17908 2014-04-10 Torvald Riegel <triegel@redhat.com>
17910 * benchtests/pthread_once-inputs: New file.
17911 * benchtests/pthread_once-source.c: New file.
17912 * benchtests/README: Update documentation.
17914 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17915 H.J. Lu <hongjiu.lu@intel.com>
17918 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17919 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17920 * sysdeps/x86_64/configure: Regenerated.
17921 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17923 (REGISTER_SAVE_RAX): Likewise.
17924 (REGISTER_SAVE_RCX): Likewise.
17925 (REGISTER_SAVE_RDX): Likewise.
17926 (REGISTER_SAVE_RSI): Likewise.
17927 (REGISTER_SAVE_RDI): Likewise.
17928 (REGISTER_SAVE_R8): Likewise.
17929 (REGISTER_SAVE_R9): Likewise.
17930 (REGISTER_SAVE_BND0): Likewise.
17931 (REGISTER_SAVE_BND1): Likewise.
17932 (REGISTER_SAVE_BND2): Likewise.
17933 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17934 bound registers when calling _dl_fixup.
17936 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17938 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17939 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17941 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17942 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17943 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17944 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17945 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17946 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17947 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17949 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17952 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17953 pathconf(_PC_NAME_MAX).
17955 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17957 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17958 Remove macro usage.
17959 (__PTHREAD_SPINS): Move definition to ...
17960 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17961 (__PTHREAD_SPINS): ... here.
17962 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17963 (__PTHREAD_SPIN): Likewise.
17964 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17965 (__PTHREAD_SPIN): Likewise.
17966 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17967 (__PTHREAD_SPIN): Likewise.
17968 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17969 (__PTHREAD_SPIN): Likewise.
17970 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17971 (__PTHREAD_SPIN): Likewise.
17972 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17973 (__PTHREAD_SPIN): Likewise.
17974 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17975 (__PTHREAD_SPIN): Likewise.
17976 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17977 (__PTHREAD_SPIN): Likewise.
17978 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17979 (__PTHREAD_SPIN): Likewise.
17980 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17981 (__PTHREAD_SPIN): Likewise.
17982 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17983 (__PTHREAD_SPIN): Likewise.
17984 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17985 (__PTHREAD_SPIN): Likewise.
17987 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17988 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17989 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17990 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17992 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17993 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17994 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17995 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17996 correct imply path.
17997 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17998 strlen symbol for non multi-arch builds.
17999 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18000 missing hidden_def and weak_alias.
18002 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18004 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18006 2014-04-07 Will Newton <will.newton@linaro.org>
18008 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18009 and contents. [!_LIBC] Remove #ifndef and contents.
18010 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18011 * string/memccpy.c (__memccpy): Use ANSI prototype.
18012 * string/memfrob.c (memfrob): Likewise.
18013 * string/strcoll.c (STRCOLL): Likewise.
18014 * string/strlen.c (strlen): Likewise.
18015 * string/strtok.c (STRTOK): Likewise.
18016 * string/strcat.c: Remove unused #include of memcopy.h.
18017 (strcat): Use ANSI prototype.
18018 * string/strchr.c: Remove unused #include of memcopy.h.
18019 (strchr): Use ANSI prototype.
18020 * string/strcmp.c: Remove unused #include of memcopy.h.
18021 (strcmp): Use ANSI prototype.
18022 * string/strcpy.c: Remove unused #include of memcopy.h.
18023 (strcpy): Use ANSI prototype.
18025 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18027 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18028 * config.make.in (config-extra-cppflags): Set it from
18029 libc_extra_cppflags.
18030 * configure.ac (libc_extra_cflags): Make it accumulate over
18031 configure fragments.
18032 (libc_extra_cppflags): New flag.
18033 * configure. Regenerate.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18035 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18036 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18040 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18041 result for FE_DOWNWARD rounding mode.
18042 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18046 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18048 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18049 in function argument name.
18051 2014-04-03 David Svoboda <svoboda@cert.org>
18054 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18057 2014-04-03 Roland McGrath <roland@hack.frob.com>
18059 * elf/dl-unmap-segments.h: New file.
18060 * sysdeps/generic/ldsodefs.h
18061 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18062 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18063 * elf/dl-fptr.c: Likewise.
18064 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18065 * sysdeps/aarch64/tlsdesc.c: Likewise.
18066 * sysdeps/arm/tlsdesc.c: Likewise.
18067 * sysdeps/i386/tlsdesc.c: Likewise.
18068 * sysdeps/tile/dl-runtime.c: Likewise.
18069 * sysdeps/x86_64/tlsdesc.c: Likewise.
18070 * elf/dl-load.h: New file.
18071 * elf/dl-load.c: Include it.
18072 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18073 Macros moved to dl-load.h.
18074 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18075 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18076 Use _dl_unmap_segments in place of __munmap.
18077 Break out segment-mapping loop into ...
18078 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18080 2014-04-03 Will Newton <will.newton@linaro.org>
18082 * elf/dl-lookup.c (do_lookup_x): Remove comment
18083 referring to nested function and move variable
18084 declarations down to before first use.
18086 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18090 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18092 * math/s_catanf.c (__catanf): Likewise.
18093 * math/s_catanh.c (__catanh): Likewise.
18094 * math/s_catanhf.c (__catanhf): Likewise.
18095 * math/s_catanhl.c (__catanhl): Likewise.
18096 * math/s_catanl.c (__catanl): Likewise.
18097 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18098 by positive zero when computing -Inf result.
18099 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18100 (catanh_test): Likewise.
18101 * sysdeps/i386/fpu/libm-test-ulps: Update.
18102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18105 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18106 instead of using underflowing value in computing result.
18107 * math/s_clog10.c (__clog10): Likewise.
18108 * math/s_clog10f.c (__clog10f): Likewise.
18109 * math/s_clog10l.c (__clog10l): Likewise.
18110 * math/s_clogf.c (__clogf): Likewise.
18111 * math/s_clogl.c (__clogl): Likewise.
18112 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18113 (clog10_test): Likewise.
18114 * sysdeps/i386/fpu/libm-test-ulps: Update.
18115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18117 2014-04-02 Alan Modra <amodra@gmail.com>
18120 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18121 output when value is near a power of two. Use int64_t for lx and
18122 remove casts. Use decimal rather than hex exponent constants.
18123 Don't use long double multiplication when double will suffice.
18124 * math/libm-test.inc (nextafter_test_data): Add tests.
18125 * NEWS: Add 16739 and 16786 to bug list.
18127 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18129 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18131 2014-04-01 Will Newton <will.newton@linaro.org>
18133 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18134 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18136 2014-04-01 Florian Weimer <fweimer@redhat.com>
18139 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18140 * nptl/tst-setuid2.c: New file.
18141 * nptl/Makefile (xtests): Add tst-setuid2.
18143 2014-04-01 Alan Modra <amodra@gmail.com>
18146 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18148 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18152 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18153 set errno as appropriate.
18154 * math/w_scalbf.c (__scalbf): Likewise.
18155 * math/w_scalbl.c (__scalbl): Likewise.
18156 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18157 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18158 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18159 Add more NaN tests.
18162 * math/w_atan2.c: Include <errno.h>.
18163 (__atan2): Set errno for result underflowing to zero.
18164 * math/w_atan2f.c: Include <errno.h>.
18165 (__atan2f): Set errno for result underflowing to zero.
18166 * math/w_atan2l.c: Include <errno.h>.
18167 (__atan2l): Set errno for result underflowing to zero.
18168 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18170 * math/auto-libm-test-out: Regenerated.
18172 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18174 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18175 Encode instruction correctly in little endian.
18176 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18178 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18180 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18182 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18185 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18188 * sysdeps/unix/sysv/linux/kernel-features.h
18189 [__sparc__ && !__arch64__ && !__sparc_v9__]
18190 (__ASSUME_SET_ROBUST_LIST): Do not define.
18191 [__sparc__ && !__arch64__ && !__sparc_v9__]
18192 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18193 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18195 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18196 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18197 (__ASSUME_REQUEUE_PI): Likewise.
18198 (__ASSUME_SET_ROBUST_LIST): Likewise.
18199 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18200 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18202 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18203 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18205 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18207 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18209 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18210 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18212 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18213 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18217 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18218 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18219 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18221 2014-03-31 Will Newton <will.newton@linaro.org>
18223 * benchtests/Makefile (bench): Add ffs and ffsll to list
18225 * benchtests/ffs-inputs: New file.
18226 * benchtests/ffsll-inputs: Likewise.
18228 2014-03-29 Joseph Myers <joseph@codesourcery.com>
18231 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18232 too large before casting to int.
18233 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18234 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18235 * math/libm-test.inc (scalb_test_data): Add more tests.
18237 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18239 * benchtests/Makefile (DETAILED_OPT): New make option.
18240 (bench-func): Run benchmark program with -d if DETAILED_OPT is
18242 * benchtests/bench-skeleton.c: Include stdbool.h.
18243 (main): Store and print timings per input.
18244 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18245 member to each argument value.
18246 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18247 (_print_arg_data): Initialize per-input timing to 0.
18249 * benchtests/Makefile (timing-type): New binary.
18250 (bench-clean): Also remove bench-timing-type.
18251 (bench): New target for timing-type.
18252 (bench-func): Print output in JSON format.
18253 * benchtests/bench-skeleton.c (main): Print output in JSON
18255 * benchtests/bench-timing-type.c: New file.
18256 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18257 (TIMING_PRINT_STATS): Remove.
18258 * benchtests/scripts/bench.py (_print_arg_data): Store variant
18261 * benchtests/bench-modf.c: Remove.
18262 * benchtests/modf-inputs: New inputs file.
18264 2014-03-28 Joseph Myers <joseph@codesourcery.com>
18267 * math/s_clog10.c (M_PI_LOG10E): New macro.
18268 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18269 imaginary parts are 0.
18270 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18271 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18272 imaginary parts are 0.
18273 * math/s_clog10l.c (M_PI_LOG10El): New macro.
18274 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18275 imaginary parts are 0.
18276 * math/libm-test.inc (clog10_test_data): Update expected results
18277 for when real and imaginary parts are 0.
18279 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18281 * elf/dl-load.c: Finish conversion of __builtin_expect into
18282 __glibc_{un}likely.
18284 2014-03-27 Joseph Myers <joseph@codesourcery.com>
18287 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18288 1+x for argument with exponent below -67.
18289 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18291 * math/auto-libm-test-in: Add more tests of exp.
18292 * math/auto-libm-test-out: Regenerated.
18294 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18297 * inet/getnetgrent_r.c (get_nonempty_val): New function.
18298 (nscd_getnetgrent): Use it.
18301 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18304 2014-03-27 Andi Kleen <ak@linux.intel.com>
18306 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18307 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18308 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18309 (lll_robust_unlock): Remove out of line section. Use cfi
18311 (LLL_STUB_UNWIND_INFO*): Remove.
18312 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18313 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18314 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18315 (lll_robust_unlock): Remove out of line section. Use cfi
18317 (LLL_STUB_UNWIND_INFO*): Remove.
18319 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18322 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18325 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
18327 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18329 2014-03-26 Joseph Myers <joseph@codesourcery.com>
18332 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18334 * math/test-fenv-preserve.c: New file.
18335 * math/Makefile (tests): Add test-fenv-preserve.
18337 2014-03-26 Will Newton <will.newton@linaro.org>
18339 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18341 2014-03-25 Roland McGrath <roland@hack.frob.com>
18343 * scripts/versionlist.awk: Partition the version sets and emit all
18344 GLIBC_* (sorted) before all others (sorted).
18346 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18348 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18349 GLIBC_2.2.5 version.
18351 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18353 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18356 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18361 2014-03-25 Andreas Schwab <schwab@suse.de>
18363 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18364 label to be used after in6ailist is initialized.
18366 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18368 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18369 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18371 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18375 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18377 (fp_formats): Update initializers.
18378 (init_fp_formats): Initialize new field.
18379 (output_for_one_input_case): Allow underflow for results up to
18381 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18382 * math/auto-libm-test-in: Don't mark some underflows from asin and
18384 * math/auto-libm-test-out: Regenerated.
18385 * sysdeps/i386/fpu/libm-test-ulps: Update.
18386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18388 2014-03-25 Andreas Schwab <schwab@suse.de>
18390 * libio/Makefile (tst-ftell-partial-wide-ENV)
18391 (tst-ftell-active-handler-ENV): Define.
18393 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18395 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18397 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18399 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18401 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18403 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18404 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18405 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18407 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18410 * elf/dl-load.c (open_verify): Add mode parameter.
18411 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18412 (open_path): Change from boolean 'secure' to complete flag 'mode'
18413 (_dl_map_object): Adjust.
18414 * elf/Makefile (tests): Add tst-dlopen-aout.
18415 * elf/tst-dlopen-aout.c: New test.
18417 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18420 * sysdeps/unix/sysv/linux/s390/bits/stat.h
18421 (struct stat): Rename member pad0 to __glibc_reserved0.
18424 * sysdeps/s390/s390-32/bits/wordsize.h
18425 (__WORDSIZE32_SIZE_ULONG): New define.
18426 * sysdeps/s390/s390-64/bits/wordsize.h
18427 (__WORDSIZE32_SIZE_ULONG): Likewise.
18428 * sysdeps/generic/stdint.h (SIZE_MAX):
18429 Define as UL if __WORDSIZE32_SIZE_ULONG.
18432 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18433 (__glibc_reserved0): New variable.
18434 (sa_flags): Change type to int.
18436 * posix/Makefile (before-compile): Use += before-compile instead
18439 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18440 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18442 2014-03-20 Andreas Schwab <schwab@suse.de>
18445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18446 non-matching result from nscd.
18448 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18450 * scripts/bench.py: Moved to ...
18451 * benchtests/scripts/bench.py: ... here.
18452 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18454 2014-03-24 Andreas Schwab <schwab@suse.de>
18457 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18458 alloca_account and account alloca use for struct in6ailist.
18460 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18463 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18464 rounding mode to recompute results that overflow to infinity or
18466 * math/auto-libm-test-in: Don't mark tests as expected to fail for
18468 * math/auto-libm-test-out: Regenerated.
18469 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18470 (ccosh_test): Likewise.
18471 (csin_test_data): Use plus_oflow.
18472 (csin_test): Use ALL_RM_TEST.
18473 (csinh_test_data): Use plus_oflow.
18474 (csinh_test): Use ALL_RM_TEST.
18475 * sysdeps/i386/fpu/libm-test-ulps: Update.
18476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18478 2014-03-21 Joseph Myers <joseph@codesourcery.com>
18480 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18481 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18482 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18485 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18486 when x - 1 is zero.
18487 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18488 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18489 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18490 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18492 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18493 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18495 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18496 * sysdeps/i386/fpu/libm-test-ulps: Update.
18497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18499 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18501 * scripts/bench.pl: Remove file.
18502 * scripts/bench.py: New benchmark script.
18503 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18504 * benchtests/README: Mention python dependency.
18505 * scripts/pylintrc: New file.
18506 * scripts/pylint: New file.
18508 * bits/mathdef.h: Use #ifdef instead of #if.
18509 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18510 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18511 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18512 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18513 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18514 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18516 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18517 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18519 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18521 and strpbrk-ppc64 objects.
18522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18523 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18524 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18525 multiarch strpbrk for POWER7.
18526 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18527 multiarch strpbrk for PPC64.
18528 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18530 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18531 strpbrk for POWER7.
18533 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18535 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18536 (atan_test): Likewise.
18537 (atanh_test_data): Use NO_TEST_INLINE for two tests.
18538 (atanh_test): Use ALL_RM_TEST.
18539 (atan2_test_data): Likewise.
18540 (cabs_test): Likewise.
18541 (cacosh_test): Likewise.
18542 (carg_test): Likewise.
18543 (casin_test): Likewise.
18544 (casinh_test): Likewise.
18545 (cbrt_test): Likewise.
18546 (csqrt_test): Likewise.
18547 (erf_test): Likewise.
18548 (erfc_test): Likewise.
18549 (pow10_test): Likewise.
18550 (exp2_test): Likewise.
18551 (hypot_test): Likewise.
18552 (j0_test): Likewise.
18553 (j1_test): Likewise.
18554 (lgamma_test): Likewise.
18555 (gamma_test): Likewise.
18556 (sincos_test): Likewise.
18557 (tanh_test): Likewise.
18558 (y0_test): Likewise.
18559 (y1_test): Likewise.
18560 * sysdeps/i386/fpu/libm-test-ulps: Update.
18561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18563 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18565 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18567 and strcspn-ppc64 objects.
18568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18569 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18570 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18571 multiarch strcspn for POWER7.
18572 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18573 multiarch strcspn for PPC64.
18574 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18576 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18577 strcspn for POWER7.
18579 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18581 * math/gen-libm-test.pl (generate_testfile): Expect only function
18582 name as argument to AUTO_TESTS_* and pass results for all rounding
18583 modes to parse_args.
18584 (parse_auto_input): Separate inputs of automatic tests from
18585 outputs before storing in %auto_tests.
18586 * math/libm-test.inc (acos_test_data): Update call to
18588 (acos_test): Use ALL_RM_TEST.
18589 (acos_tonearest_test_data): Remove.
18590 (acos_test_tonearest): Likewise.
18591 (acos_towardzero_test_data): Likewise.
18592 (acos_test_towardzero): Likewise.
18593 (acos_downward_test_data): Likewise.
18594 (acos_test_downward): Likewise.
18595 (acos_upward_test_data): Likewise.
18596 (acos_test_upward): Likewise.
18597 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18598 (asin_test_data): Likewise.
18599 (asin_test): Use ALL_RM_TEST.
18600 (asin_tonearest_test_data): Remove.
18601 (asin_test_tonearest): Likewise.
18602 (asin_towardzero_test_data): Likewise.
18603 (asin_test_towardzero): Likewise.
18604 (asin_downward_test_data): Likewise.
18605 (asin_test_downward): Likewise.
18606 (asin_upward_test_data): Likewise.
18607 (asin_test_upward): Likewise.
18608 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18609 (atan_test_data): Likewise.
18610 (atanh_test_data): Likewise.
18611 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18612 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18613 (carg_test_data): Likewise.
18614 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18615 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18616 (ccosh_test_data): Likewise.
18617 (cexp_test_data): Likewise.
18618 (clog_test_data): Likewise.
18619 (clog10_test_data): Likewise.
18620 (cos_test_data): Update call to AUTO_TESTS_f_f.
18621 (cos_test): Use ALL_RM_TEST.
18622 (cos_tonearest_test_data): Remove.
18623 (cos_test_tonearest): Likewise.
18624 (cos_towardzero_test_data): Likewise.
18625 (cos_test_towardzero): Likewise.
18626 (cos_downward_test_data): Likewise.
18627 (cos_test_downward): Likewise.
18628 (cos_upward_test_data): Likewise.
18629 (cos_test_upward): Likewise.
18630 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18631 (cosh_test): Use ALL_RM_TEST.
18632 (cosh_tonearest_test_data): Remove.
18633 (cosh_test_tonearest): Likewise.
18634 (cosh_towardzero_test_data): Likewise.
18635 (cosh_test_towardzero): Likewise.
18636 (cosh_downward_test_data): Likewise.
18637 (cosh_test_downward): Likewise.
18638 (cosh_upward_test_data): Likewise.
18639 (cosh_test_upward): Likewise.
18640 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18641 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18642 (ctan_test_data): Likewise.
18643 (ctan_test): Use ALL_RM_TEST.
18644 (ctan_tonearest_test_data): Remove.
18645 (ctan_test_tonearest): Likewise.
18646 (ctan_towardzero_test_data): Likewise.
18647 (ctan_test_towardzero): Likewise.
18648 (ctan_downward_test_data): Likewise.
18649 (ctan_test_downward): Likewise.
18650 (ctan_upward_test_data): Likewise.
18651 (ctan_test_upward): Likewise.
18652 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18653 (ctanh_test): Use ALL_RM_TEST.
18654 (ctanh_tonearest_test_data): Remove.
18655 (ctanh_test_tonearest): Likewise.
18656 (ctanh_towardzero_test_data): Likewise.
18657 (ctanh_test_towardzero): Likewise.
18658 (ctanh_downward_test_data): Likewise.
18659 (ctanh_test_downward): Likewise.
18660 (ctanh_upward_test_data): Likewise.
18661 (ctanh_test_upward): Likewise.
18662 (erf_test_data): Update call to AUTO_TESTS_f_f.
18663 (erfc_test_data): Likewise.
18664 (exp_test_data): Likewise.
18665 (exp_test): Use ALL_RM_TEST.
18666 (exp_tonearest_test_data): Remove.
18667 (exp_test_tonearest): Likewise.
18668 (exp_towardzero_test_data): Likewise.
18669 (exp_test_towardzero): Likewise.
18670 (exp_downward_test_data): Likewise.
18671 (exp_test_downward): Likewise.
18672 (exp_upward_test_data): Likewise.
18673 (exp_test_upward): Likewise.
18674 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18675 (exp10_test): Use ALL_RM_TEST.
18676 (exp10_tonearest_test_data): Remove.
18677 (exp10_test_tonearest): Likewise.
18678 (exp10_towardzero_test_data): Likewise.
18679 (exp10_test_towardzero): Likewise.
18680 (exp10_downward_test_data): Likewise.
18681 (exp10_test_downward): Likewise.
18682 (exp10_upward_test_data): Likewise.
18683 (exp10_test_upward): Likewise.
18684 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18685 (expm1_test_data): Likewise.
18686 (expm1_test): Use ALL_RM_TEST.
18687 (expm1_tonearest_test_data): Remove.
18688 (expm1_test_tonearest): Likewise.
18689 (expm1_towardzero_test_data): Likewise.
18690 (expm1_test_towardzero): Likewise.
18691 (expm1_downward_test_data): Likewise.
18692 (expm1_test_downward): Likewise.
18693 (expm1_upward_test_data): Likewise.
18694 (expm1_test_upward): Likewise.
18695 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18696 (fma_test): Use ALL_RM_TEST.
18697 (fma_towardzero_test_data): Remove.
18698 (fma_test_towardzero): Likewise.
18699 (fma_downward_test_data): Likewise.
18700 (fma_test_downward): Likewise.
18701 (fma_upward_test_data): Likewise.
18702 (fma_test_upward): Likewise.
18703 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18704 (j0_test_data): Update call to AUTO_TESTS_f_f.
18705 (j1_test_data): Likewise.
18706 (jn_test_data): Update call to AUTO_TESTS_if_f.
18707 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18708 (log_test_data): Update call to AUTO_TESTS_f_f.
18709 (log10_test_data): Likewise.
18710 (log1p_test_data): Likewise.
18711 (log2_test_data): Likewise.
18712 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18713 (pow_tonearest_test_data): Likewise.
18714 (sin_test_data): Update call to AUTO_TESTS_f_f.
18715 (sin_test): Use ALL_RM_TEST.
18716 (sin_tonearest_test_data): Remove.
18717 (sin_test_tonearest): Likewise.
18718 (sin_towardzero_test_data): Likewise.
18719 (sin_test_towardzero): Likewise.
18720 (sin_downward_test_data): Likewise.
18721 (sin_test_downward): Likewise.
18722 (sin_upward_test_data): Likewise.
18723 (sin_test_upward): Likewise.
18724 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18725 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18726 (sinh_test): Use ALL_RM_TEST.
18727 (sinh_tonearest_test_data): Remove.
18728 (sinh_test_tonearest): Likewise.
18729 (sinh_towardzero_test_data): Likewise.
18730 (sinh_test_towardzero): Likewise.
18731 (sinh_downward_test_data): Likewise.
18732 (sinh_test_downward): Likewise.
18733 (sinh_upward_test_data): Likewise.
18734 (sinh_test_upward): Likewise.
18735 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18736 (sqrt_test): Use ALL_RM_TEST.
18737 (sqrt_tonearest_test_data): Remove.
18738 (sqrt_test_tonearest): Likewise.
18739 (sqrt_towardzero_test_data): Likewise.
18740 (sqrt_test_towardzero): Likewise.
18741 (sqrt_downward_test_data): Likewise.
18742 (sqrt_test_downward): Likewise.
18743 (sqrt_upward_test_data): Likewise.
18744 (sqrt_test_upward): Likewise.
18745 (tan_test_data): Update call to AUTO_TESTS_f_f.
18746 (tan_test): Use ALL_RM_TEST.
18747 (tan_tonearest_test_data): Remove.
18748 (tan_test_tonearest): Likewise.
18749 (tan_towardzero_test_data): Likewise.
18750 (tan_test_towardzero): Likewise.
18751 (tan_downward_test_data): Likewise.
18752 (tan_test_downward): Likewise.
18753 (tan_upward_test_data): Likewise.
18754 (tan_test_upward): Likewise.
18755 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18756 (tgamma_test_data): Likewise.
18757 (y0_test_data): Likewise.
18758 (y1_test_data): Likewise.
18759 (yn_test_data): Update call to AUTO_TESTS_if_f.
18760 (main): Do not call removed functions.
18762 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18764 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18765 (ldexp_test_data): Remove.
18766 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18768 (scalb_test): Use ALL_RM_TEST.
18770 2014-03-19 Andreas Schwab <schwab@suse.de>
18772 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18774 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18778 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18779 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18780 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18781 (__ASSUME_PREADV): Undefine.
18782 (__ASSUME_PWRITEV): Likewise.
18784 2014-03-18 Roland McGrath <roland@hack.frob.com>
18786 * bits/mman-linux.h: Add comment about non-Linux use.
18787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18788 bits/mman-linux.h resting place.
18790 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18791 * bits/mman-linux.h: ... here.
18793 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18795 * conform/conformtest.pl: Add standard definition when calling C
18796 preprocessor on data files.
18797 (checknamespace): Remove unused variable.
18799 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18801 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18802 minus_oflow, plus_uflow and minus_uflow in expected results.
18803 * math/libm-test.inc (scalbn_test_data): Add more tests of
18804 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18806 (scalbn_test): Use ALL_RM_TEST.
18807 (scalbln_test_data): Add more tests of negative arguments. Use
18808 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18809 (scalbln_test): Use ALL_RM_TEST.
18811 2014-03-18 Roland McGrath <roland@hack.frob.com>
18813 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18815 2014-03-18 Will Newton <will.newton@linaro.org>
18817 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18818 inaccurate comment.
18820 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18822 * Makerules [!subdir] (check-abi): Exit with error status if a
18825 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18827 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18828 for rint. Include results for all rounding modes.
18829 (nearbyint_test): Use ALL_RM_TEST.
18830 (rint_test_data): Include all tests used for nearbyint.
18832 2014-03-17 Will Newton <will.newton@linaro.org>
18834 * nptl/sysdeps/pthread/pthread.h: Revert previous
18837 * sysdeps/generic/ldsodefs.h: Revert previous
18840 * libio/genops.c: Revert previous change.
18841 * libio/libioP.h: Likewise.
18842 * stdio-common/vfprintf.c: Likewise.
18844 * sysdeps/generic/math_private.h: Revert previous
18847 * sysdeps/generic/math_private.h: Check whether
18848 HAVE_RM_CTX is defined with #ifdef rather
18851 * argp/argp-fmtstream.h: Check whether
18852 __STRICT_ANSI__ is defined with #ifdef rather
18854 * argp/argp.h: Likewise.
18856 * libio/genops.c: Check whether
18857 _IO_JUMPS_OFFSET is defined with #ifdef rather
18859 * libio/libioP.h: Likewise.
18860 * stdio-common/vfprintf.c: Likewise.
18862 * sysdeps/generic/ldsodefs.h: Check whether
18863 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18866 * nptl/sysdeps/pthread/pthread.h: Check
18867 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18870 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18872 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18874 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18878 * libio/fileops.c (_IO_file_open): Seek to end of file but
18879 don't cache the offset.
18880 (get_file_offset): Remove function.
18881 (do_ftell): Use cached offset when available.
18882 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18883 don't cache the offset.
18884 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18886 (do_one_test): Call it.
18887 (do_ftell_test): Fix up expected old offset for a+ mode.
18888 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18891 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18892 up test status with function return status.
18893 (do_write_test): Likewise.
18894 (do_append_test): Likewise.
18896 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18897 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18900 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18902 * math/gen-libm-test.pl (parse_args): Handle results specified for
18903 each rounding mode separately.
18904 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18905 tests and results from lrint_tonearest_test_data,
18906 lrint_towardzero_test_data, lrint_downward_test_data and
18907 lrint_upward_test_data.
18908 (lrint_test): Use ALL_RM_TEST.
18909 (lrint_tonearest_test_data): Remove.
18910 (lrint_test_tonearest): Likewise.
18911 (lrint_towardzero_test_data): Likewise.
18912 (lrint_test_towardzero): Likewise.
18913 (lrint_downward_test_data): Likewise.
18914 (lrint_test_downward): Likewise.
18915 (lrint_upward_test_data): Likewise.
18916 (lrint_test_upward): Likewise.
18917 (llrint_test_data): Merge in per-rounding-mode tests and results
18918 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18919 llrint_downward_test_data and llrint_upward_test_data.
18920 (llrint_test): Use ALL_RM_TEST.
18921 (llrint_tonearest_test_data): Remove.
18922 (llrint_test_tonearest): Likewise.
18923 (llrint_towardzero_test_data): Likewise.
18924 (llrint_test_towardzero): Likewise.
18925 (llrint_downward_test_data): Likewise.
18926 (llrint_test_downward): Likewise.
18927 (llrint_upward_test_data): Likewise.
18928 (llrint_test_upward): Likewise.
18929 (rint_test_data): Merge in per-rounding-mode tests and results
18930 from rint_tonearest_test_data, rint_towardzero_test_data,
18931 rint_downward_test_data and rint_upward_test_data. Add
18932 per-rounding-mode results for tests not in those arrays.
18933 (rint_test): Use ALL_RM_TEST.
18934 (rint_tonearest_test_data): Remove.
18935 (rint_test_tonearest): Likewise.
18936 (rint_towardzero_test_data): Likewise.
18937 (rint_test_towardzero): Likewise.
18938 (rint_downward_test_data): Likewise.
18939 (rint_test_downward): Likewise.
18940 (rint_upward_test_data): Likewise.
18941 (rint_test_upward): Likewise.
18942 (main): Don't call removed functions.
18944 2014-03-14 Roland McGrath <roland@hack.frob.com>
18946 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18947 "Compiled on ..." crapola. It is anti-useful.
18949 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18951 * scripts/evaluate-test.sh: Handle fourth argument to determine
18952 whether test run should stop on failure.
18953 * Makeconfig (stop-on-test-failure): New variable.
18954 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18955 $(stop-on-test-failure).
18956 * Makefile (tests): Give a summary of results from testing and
18957 exit with failure status if they include an ERROR or FAIL.
18958 (xtests): Likewise.
18959 * manual/install.texi (Configuring and compiling): Mention
18960 stop-on-test-failure=y.
18961 * INSTALL: Regenerated.
18963 2014-03-14 Roland McGrath <roland@hack.frob.com>
18965 * scripts/versionlist.awk: New file.
18966 * Makerules [$(build-shared) = yes]
18967 (postclean-generated): Add Versions.def, not Versions.def.v and
18969 ($(common-objpfx)Versions.def.v.i): Target removed.
18970 ($(common-objpfx)Versions.def): New target.
18971 ($(common-objpfx)Versions.all): Depend on that rather that
18972 $(common-objpfx)Versions.def.v.
18973 * Versions.def: File removed.
18975 * Makeconfig (+gccwarn): Add -Wundef.
18976 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18977 a dl-sysdep.h breaking its contract.
18978 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18979 * include/stackinfo.h: New file.
18980 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18981 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18982 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18983 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18984 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18985 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18986 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18987 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18988 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18989 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18990 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18991 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18992 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18993 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18994 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18996 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18999 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19001 * math/libm-test.inc (round_test_data): Add more tests.
19004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19006 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19009 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19011 * math/libm-test.inc (ceil_test_data): Add more tests.
19013 * math/libm-test.inc (trunc_test_data): Add more tests related to
19016 2014-03-14 Roland McGrath <roland@hack.frob.com>
19018 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19019 with #if rather than #ifdef.
19020 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19022 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19024 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19025 first. Disable AVX-512 GCC support if assembler doesn't support
19027 * sysdeps/x86_64/configure: Regenerated.
19029 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19031 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19032 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19033 (__old_pthread_attr_setstack): Likewise.
19034 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19035 [!_STACK_GROWS_DOWN]: Likewise.
19037 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19039 * config.make.in (have-bash2): Delete.
19040 * configure.ac (libc_cv_have_bash2): Delete.
19041 * configure: Regenerate.
19042 * elf/Makefile (common-ldd-rewrite): Rename to ...
19043 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19044 (sh-ldd-rewrite): Delete.
19045 (bash-ldd-rewrite): Delete.
19046 (have-bash2): Delete checks.
19047 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19050 * config.make.in (have-ksh): Delete.
19052 * configure.ac (libc_cv_have_ksh): Delete.
19053 * configure: Regenerate.
19055 * elf/Makefile: Delete $(have-ksh) check.
19056 ($(objpfx)sotruss): Change KSH to BASH.
19057 * elf/sotruss.ksh: Rename to ...
19058 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19059 function style to match POSIX. Drop ksh vim mode setting.
19061 * manual/time.texi (Specifying the Time Zone with TZ): Change
19062 Tuesday to Thursday.
19064 * debug/tst-longjmp_chk2.c: Update header comment.
19065 (stackoverflow_handler): Add comment. Call assert on pass value.
19067 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19070 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19071 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19072 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19073 (La_x86_64_vector): Add zmm.
19074 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19075 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19076 ($(objpfx)tst-audit10): New target.
19077 ($(objpfx)tst-audit10.out): Likewise.
19078 (tst-audit10-ENV): New.
19079 (AVX512-CFLAGS): Likewise.
19080 (CFLAGS-tst-audit10.c): Likewise.
19081 (CFLAGS-tst-auditmod10a.c): Likewise.
19082 (CFLAGS-tst-auditmod10b.c): Likewise.
19083 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19084 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19085 * sysdeps/x86_64/configure: Regenerated.
19086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19087 AVX-512 zmm register support.
19088 (_dl_x86_64_save_sse): Likewise.
19089 (_dl_x86_64_restore_sse): Likewise.
19090 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19091 size vector registers.
19092 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19093 (ZMM_SIZE): Likewise.
19094 * sysdeps/x86_64/tst-audit10.c: New file.
19095 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19096 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19098 2014-03-13 Roland McGrath <roland@hack.frob.com>
19100 * configure.ac (HAVE_EHDR_START): New check.
19101 * configure: Regenerated.
19102 * config.h.in (HAVE_EHDR_START): New #undef.
19103 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19104 assuming the lowest-addressed segment maps the start of the file.
19106 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19108 * INSTALL: Regenerated.
19110 2014-03-13 Will Newton <will.newton@linaro.org>
19112 * manual/setjmp.texi (System V contexts): Improve
19113 clarity and grammar of documentation.
19115 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19118 * elf/Makefile (tests): Add tst-pie2.
19119 (tests-pie): Add tst-pie2.
19120 * elf/tst-pie2.c: New file.
19121 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19123 * elf/rtld.c (map_doit): Load executable as lt_executable.
19124 (dl_main): Likewise.
19126 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19129 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19130 (__ASSUME_PSELECT): Undefine.
19132 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19135 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19136 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19138 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19139 selector for static builds.
19141 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19144 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19147 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19149 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19150 IFUNC selector for static builds.
19152 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19154 * sysdeps/mips/math_private.h [__mips_hard_float]
19155 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19156 libc_feresetround_mips_ctx.
19157 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19158 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19159 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19162 * math/s_nextafter.c (__nextafter): Do not return value from
19163 overflowing computation.
19164 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19165 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19166 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19168 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19170 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19171 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19173 2014-03-11 Roland McGrath <roland@hack.frob.com>
19175 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19176 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19177 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19178 the new mov targetting sp.
19180 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19183 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19184 Define it for static builds as well.
19185 (NO_BZERO_IMPL): Likewise.
19187 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19189 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19190 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19191 multiarch strspn for PPC64.
19192 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19193 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19195 (__libc_ifunc_impl_list): Likewise.
19196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19197 multiarch optimizations
19198 * string/strspn.c (strspn): Using macro to redefine symbol name.
19200 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19201 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19203 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19204 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19205 multiarch strncat for PPC64.
19206 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19207 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19209 (__libc_ifunc_impl_list): Likewise.
19210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19211 multiarch optimizations
19213 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19216 * nscd/nscd.service: Make service type forking.
19218 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19220 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19221 sign in non default rounding modes.
19222 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19224 2014-03-08 Joseph Myers <joseph@codesourcery.com>
19226 * math/libm-test.inc (ALL_RM_TEST): New macro.
19227 (ceil_test): Use ALL_RM_TEST.
19228 (cimag_test): Likewise.
19229 (conj_test): Likewise.
19230 (copysign_test): Likewise.
19231 (cproj_test): Likewise.
19232 (creal_test): Likewise.
19233 (fabs_test): Likewise.
19234 (floor_test): Likewise.
19235 (fmax_test): Likewise.
19236 (fmin_test): Likewise.
19237 (fmod_test): Likewise.
19238 (fpclassify_test): Likewise.
19239 (frexp_test): Likewise.
19240 (ilogb_test): Likewise.
19241 (isfinite_test): Likewise.
19242 (finite_test): Likewise.
19243 (isgreater_test): Likewise.
19244 (isgreaterequal_test): Likewise.
19245 (isinf_test): Likewise.
19246 (isless_test): Likewise.
19247 (islessequal_test): Likewise.
19248 (islessgreater_test): Likewise.
19249 (isnan_test): Likewise.
19250 (isnormal_test): Likewise.
19251 (issignaling_test): Likewise.
19252 (isunordered_test): Likewise.
19253 (logb_test): Likewise.
19254 (logb_downward_test_data): Remove.
19255 (logb_test_downward): Likewise.
19256 (lround_test): Use ALL_RM_TEST.
19257 (llround_test): Likewise.
19258 (modf_test): Likewise.
19259 (nexttoward_test): Likewise.
19260 (remainder_test): Likewise.
19261 (drem_test): Likewise.
19262 (remainder_tonearest_test_data): Likewise.
19263 (remainder_test_tonearest): Likewise.
19264 (drem_test_tonearest): Likewise.
19265 (remainder_towardzero_test_data): Likewise.
19266 (remainder_test_towardzero): Likewise.
19267 (drem_test_towardzero): Likewise.
19268 (remainder_downward_test_data): Likewise.
19269 (remainder_test_downward): Likewise.
19270 (drem_test_downward): Likewise.
19271 (remainder_upward_test_data): Likewise.
19272 (remainder_test_upward): Likewise.
19273 (drem_test_upward): Likewise.
19274 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
19275 (round_test): Use ALL_RM_TEST.
19276 (signbit_test): Likewise.
19277 (trunc_test): Likewise.
19278 (significand_test): Likewise.
19279 (main): Don't call removed functions.
19281 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19284 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19285 || __USE_XOPEN2K8].
19286 (ILL_ILLOPN): Likewise.
19287 (ILL_ILLADR): Likewise.
19288 (ILL_ILLTRP): Likewise.
19289 (ILL_PRVOPC): Likewise.
19290 (ILL_PRVREG): Likewise.
19291 (ILL_COPROC): Likewise.
19292 (ILL_BADSTK): Likewise.
19293 (FPE_INTDIV): Likewise.
19294 (FPE_INTOVF): Likewise.
19295 (FPE_FLTDIV): Likewise.
19296 (FPE_FLTOVF): Likewise.
19297 (FPE_FLTUND): Likewise.
19298 (FPE_FLTRES): Likewise.
19299 (FPE_FLTINV): Likewise.
19300 (FPE_FLTSUB): Likewise.
19301 (SEGV_MAPERR): Likewise.
19302 (SEGV_ACCERR): Likewise.
19303 (BUS_ADRALN): Likewise.
19304 (BUS_ADRERR): Likewise.
19305 (BUS_OBJERR): Likewise.
19306 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19307 (TRAP_TRACE): Likewise.
19308 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19310 (CLD_KILLED): Likewise.
19311 (CLD_DUMPED): Likewise.
19312 (CLD_TRAPPED): Likewise.
19313 (CLD_STOPPED): Likewise.
19314 (CLD_CONTINUED): Likewise.
19315 (POLL_IN): Likewise.
19316 (POLL_OUT): Likewise.
19317 (POLL_MSG): Likewise.
19318 (POLL_ERR): Likewise.
19319 (POLL_PRI): Likewise.
19320 (POLL_HUP): Likewise.
19321 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19323 (ILL_ILLOPN): Likewise.
19324 (ILL_ILLADR): Likewise.
19325 (ILL_ILLTRP): Likewise.
19326 (ILL_PRVOPC): Likewise.
19327 (ILL_PRVREG): Likewise.
19328 (ILL_COPROC): Likewise.
19329 (ILL_BADSTK): Likewise.
19330 (FPE_INTDIV): Likewise.
19331 (FPE_INTOVF): Likewise.
19332 (FPE_FLTDIV): Likewise.
19333 (FPE_FLTOVF): Likewise.
19334 (FPE_FLTUND): Likewise.
19335 (FPE_FLTRES): Likewise.
19336 (FPE_FLTINV): Likewise.
19337 (FPE_FLTSUB): Likewise.
19338 (SEGV_MAPERR): Likewise.
19339 (SEGV_ACCERR): Likewise.
19340 (BUS_ADRALN): Likewise.
19341 (BUS_ADRERR): Likewise.
19342 (BUS_OBJERR): Likewise.
19343 (BUS_MCEERR_AR): Likewise.
19344 (BUS_MCEERR_AO): Likewise.
19345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19346 (TRAP_TRACE): Likewise.
19347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19349 (CLD_KILLED): Likewise.
19350 (CLD_DUMPED): Likewise.
19351 (CLD_TRAPPED): Likewise.
19352 (CLD_STOPPED): Likewise.
19353 (CLD_CONTINUED): Likewise.
19354 (POLL_IN): Likewise.
19355 (POLL_OUT): Likewise.
19356 (POLL_MSG): Likewise.
19357 (POLL_ERR): Likewise.
19358 (POLL_PRI): Likewise.
19359 (POLL_HUP): Likewise.
19360 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19361 (ILL_ILLOPN): Likewise.
19362 (ILL_ILLADR): Likewise.
19363 (ILL_ILLTRP): Likewise.
19364 (ILL_PRVOPC): Likewise.
19365 (ILL_PRVREG): Likewise.
19366 (ILL_COPROC): Likewise.
19367 (ILL_BADSTK): Likewise.
19368 (FPE_INTDIV): Likewise.
19369 (FPE_INTOVF): Likewise.
19370 (FPE_FLTDIV): Likewise.
19371 (FPE_FLTOVF): Likewise.
19372 (FPE_FLTUND): Likewise.
19373 (FPE_FLTRES): Likewise.
19374 (FPE_FLTINV): Likewise.
19375 (FPE_FLTSUB): Likewise.
19376 (SEGV_MAPERR): Likewise.
19377 (SEGV_ACCERR): Likewise.
19378 (BUS_ADRALN): Likewise.
19379 (BUS_ADRERR): Likewise.
19380 (BUS_OBJERR): Likewise.
19381 (BUS_MCEERR_AR): Likewise.
19382 (BUS_MCEERR_AO): Likewise.
19383 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19384 (TRAP_TRACE): Likewise.
19385 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19387 (CLD_KILLED): Likewise.
19388 (CLD_DUMPED): Likewise.
19389 (CLD_TRAPPED): Likewise.
19390 (CLD_STOPPED): Likewise.
19391 (CLD_CONTINUED): Likewise.
19392 (POLL_IN): Likewise.
19393 (POLL_OUT): Likewise.
19394 (POLL_MSG): Likewise.
19395 (POLL_ERR): Likewise.
19396 (POLL_PRI): Likewise.
19397 (POLL_HUP): Likewise.
19398 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19400 (ILL_ILLOPN): Likewise.
19401 (ILL_ILLADR): Likewise.
19402 (ILL_ILLTRP): Likewise.
19403 (ILL_PRVOPC): Likewise.
19404 (ILL_PRVREG): Likewise.
19405 (ILL_COPROC): Likewise.
19406 (ILL_BADSTK): Likewise.
19407 (ILL_BADIADDR): Likewise.
19408 (ILL_BREAK): Likewise.
19409 (FPE_INTDIV): Likewise.
19410 (FPE_INTOVF): Likewise.
19411 (FPE_FLTDIV): Likewise.
19412 (FPE_FLTOVF): Likewise.
19413 (FPE_FLTUND): Likewise.
19414 (FPE_FLTRES): Likewise.
19415 (FPE_FLTINV): Likewise.
19416 (FPE_FLTSUB): Likewise.
19417 (FPE_DECOVF): Likewise.
19418 (FPE_DECDIV): Likewise.
19419 (FPE_DECERR): Likewise.
19420 (FPE_INVASC): Likewise.
19421 (FPE_INVDEC): Likewise.
19422 (SEGV_MAPERR): Likewise.
19423 (SEGV_ACCERR): Likewise.
19424 (SEGV_PSTKOVF): Likewise.
19425 (BUS_ADRALN): Likewise.
19426 (BUS_ADRERR): Likewise.
19427 (BUS_OBJERR): Likewise.
19428 (BUS_MCEERR_AR): Likewise.
19429 (BUS_MCEERR_AO): Likewise.
19430 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19431 (TRAP_TRACE): Likewise.
19432 (TRAP_BRANCH): Likewise.
19433 (TRAP_HWBKPT): Likewise.
19434 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19436 (CLD_KILLED): Likewise.
19437 (CLD_DUMPED): Likewise.
19438 (CLD_TRAPPED): Likewise.
19439 (CLD_STOPPED): Likewise.
19440 (CLD_CONTINUED): Likewise.
19441 (POLL_IN): Likewise.
19442 (POLL_OUT): Likewise.
19443 (POLL_MSG): Likewise.
19444 (POLL_ERR): Likewise.
19445 (POLL_PRI): Likewise.
19446 (POLL_HUP): Likewise.
19447 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19448 (ILL_ILLOPN): Likewise.
19449 (ILL_ILLADR): Likewise.
19450 (ILL_ILLTRP): Likewise.
19451 (ILL_PRVOPC): Likewise.
19452 (ILL_PRVREG): Likewise.
19453 (ILL_COPROC): Likewise.
19454 (ILL_BADSTK): Likewise.
19455 (FPE_INTDIV): Likewise.
19456 (FPE_INTOVF): Likewise.
19457 (FPE_FLTDIV): Likewise.
19458 (FPE_FLTOVF): Likewise.
19459 (FPE_FLTUND): Likewise.
19460 (FPE_FLTRES): Likewise.
19461 (FPE_FLTINV): Likewise.
19462 (FPE_FLTSUB): Likewise.
19463 (SEGV_MAPERR): Likewise.
19464 (SEGV_ACCERR): Likewise.
19465 (BUS_ADRALN): Likewise.
19466 (BUS_ADRERR): Likewise.
19467 (BUS_OBJERR): Likewise.
19468 (BUS_MCEERR_AR): Likewise.
19469 (BUS_MCEERR_AO): Likewise.
19470 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19471 (TRAP_TRACE): Likewise.
19472 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19474 (CLD_KILLED): Likewise.
19475 (CLD_DUMPED): Likewise.
19476 (CLD_TRAPPED): Likewise.
19477 (CLD_STOPPED): Likewise.
19478 (CLD_CONTINUED): Likewise.
19479 (POLL_IN): Likewise.
19480 (POLL_OUT): Likewise.
19481 (POLL_MSG): Likewise.
19482 (POLL_ERR): Likewise.
19483 (POLL_PRI): Likewise.
19484 (POLL_HUP): Likewise.
19485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19486 (ILL_ILLOPN): Likewise.
19487 (ILL_ILLADR): Likewise.
19488 (ILL_ILLTRP): Likewise.
19489 (ILL_PRVOPC): Likewise.
19490 (ILL_PRVREG): Likewise.
19491 (ILL_COPROC): Likewise.
19492 (ILL_BADSTK): Likewise.
19493 (FPE_INTDIV): Likewise.
19494 (FPE_INTOVF): Likewise.
19495 (FPE_FLTDIV): Likewise.
19496 (FPE_FLTOVF): Likewise.
19497 (FPE_FLTUND): Likewise.
19498 (FPE_FLTRES): Likewise.
19499 (FPE_FLTINV): Likewise.
19500 (FPE_FLTSUB): Likewise.
19501 (SEGV_MAPERR): Likewise.
19502 (SEGV_ACCERR): Likewise.
19503 (BUS_ADRALN): Likewise.
19504 (BUS_ADRERR): Likewise.
19505 (BUS_OBJERR): Likewise.
19506 (BUS_MCEERR_AR): Likewise.
19507 (BUS_MCEERR_AO): Likewise.
19508 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19509 (TRAP_TRACE): Likewise.
19510 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19512 (CLD_KILLED): Likewise.
19513 (CLD_DUMPED): Likewise.
19514 (CLD_TRAPPED): Likewise.
19515 (CLD_STOPPED): Likewise.
19516 (CLD_CONTINUED): Likewise.
19517 (POLL_IN): Likewise.
19518 (POLL_OUT): Likewise.
19519 (POLL_MSG): Likewise.
19520 (POLL_ERR): Likewise.
19521 (POLL_PRI): Likewise.
19522 (POLL_HUP): Likewise.
19523 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19524 (ILL_ILLOPN): Likewise.
19525 (ILL_ILLADR): Likewise.
19526 (ILL_ILLTRP): Likewise.
19527 (ILL_PRVOPC): Likewise.
19528 (ILL_PRVREG): Likewise.
19529 (ILL_COPROC): Likewise.
19530 (ILL_BADSTK): Likewise.
19531 (FPE_INTDIV): Likewise.
19532 (FPE_INTOVF): Likewise.
19533 (FPE_FLTDIV): Likewise.
19534 (FPE_FLTOVF): Likewise.
19535 (FPE_FLTUND): Likewise.
19536 (FPE_FLTRES): Likewise.
19537 (FPE_FLTINV): Likewise.
19538 (FPE_FLTSUB): Likewise.
19539 (SEGV_MAPERR): Likewise.
19540 (SEGV_ACCERR): Likewise.
19541 (BUS_ADRALN): Likewise.
19542 (BUS_ADRERR): Likewise.
19543 (BUS_OBJERR): Likewise.
19544 (BUS_MCEERR_AR): Likewise.
19545 (BUS_MCEERR_AO): Likewise.
19546 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19547 (TRAP_TRACE): Likewise.
19548 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19550 (CLD_KILLED): Likewise.
19551 (CLD_DUMPED): Likewise.
19552 (CLD_TRAPPED): Likewise.
19553 (CLD_STOPPED): Likewise.
19554 (CLD_CONTINUED): Likewise.
19555 (POLL_IN): Likewise.
19556 (POLL_OUT): Likewise.
19557 (POLL_MSG): Likewise.
19558 (POLL_ERR): Likewise.
19559 (POLL_PRI): Likewise.
19560 (POLL_HUP): Likewise.
19561 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19562 (ILL_ILLOPN): Likewise.
19563 (ILL_ILLADR): Likewise.
19564 (ILL_ILLTRP): Likewise.
19565 (ILL_PRVOPC): Likewise.
19566 (ILL_PRVREG): Likewise.
19567 (ILL_COPROC): Likewise.
19568 (ILL_BADSTK): Likewise.
19569 (ILL_DBLFLT): Likewise.
19570 (ILL_HARDWALL): Likewise.
19571 (FPE_INTDIV): Likewise.
19572 (FPE_INTOVF): Likewise.
19573 (FPE_FLTDIV): Likewise.
19574 (FPE_FLTOVF): Likewise.
19575 (FPE_FLTUND): Likewise.
19576 (FPE_FLTRES): Likewise.
19577 (FPE_FLTINV): Likewise.
19578 (FPE_FLTSUB): Likewise.
19579 (SEGV_MAPERR): Likewise.
19580 (SEGV_ACCERR): Likewise.
19581 (BUS_ADRALN): Likewise.
19582 (BUS_ADRERR): Likewise.
19583 (BUS_OBJERR): Likewise.
19584 (BUS_MCEERR_AR): Likewise.
19585 (BUS_MCEERR_AO): Likewise.
19586 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19587 (TRAP_TRACE): Likewise.
19588 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19590 (CLD_KILLED): Likewise.
19591 (CLD_DUMPED): Likewise.
19592 (CLD_TRAPPED): Likewise.
19593 (CLD_STOPPED): Likewise.
19594 (CLD_CONTINUED): Likewise.
19595 (POLL_IN): Likewise.
19596 (POLL_OUT): Likewise.
19597 (POLL_MSG): Likewise.
19598 (POLL_ERR): Likewise.
19599 (POLL_PRI): Likewise.
19600 (POLL_HUP): Likewise.
19601 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19602 (ILL_ILLOPN): Likewise.
19603 (ILL_ILLADR): Likewise.
19604 (ILL_ILLTRP): Likewise.
19605 (ILL_PRVOPC): Likewise.
19606 (ILL_PRVREG): Likewise.
19607 (ILL_COPROC): Likewise.
19608 (ILL_BADSTK): Likewise.
19609 (FPE_INTDIV): Likewise.
19610 (FPE_INTOVF): Likewise.
19611 (FPE_FLTDIV): Likewise.
19612 (FPE_FLTOVF): Likewise.
19613 (FPE_FLTUND): Likewise.
19614 (FPE_FLTRES): Likewise.
19615 (FPE_FLTINV): Likewise.
19616 (FPE_FLTSUB): Likewise.
19617 (SEGV_MAPERR): Likewise.
19618 (SEGV_ACCERR): Likewise.
19619 (BUS_ADRALN): Likewise.
19620 (BUS_ADRERR): Likewise.
19621 (BUS_OBJERR): Likewise.
19622 (BUS_MCEERR_AR): Likewise.
19623 (BUS_MCEERR_AO): Likewise.
19624 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19625 (TRAP_TRACE): Likewise.
19626 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19628 (CLD_KILLED): Likewise.
19629 (CLD_DUMPED): Likewise.
19630 (CLD_TRAPPED): Likewise.
19631 (CLD_STOPPED): Likewise.
19632 (CLD_CONTINUED): Likewise.
19633 (POLL_IN): Likewise.
19634 (POLL_OUT): Likewise.
19635 (POLL_MSG): Likewise.
19636 (POLL_ERR): Likewise.
19637 (POLL_PRI): Likewise.
19638 (POLL_HUP): Likewise.
19639 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19640 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19643 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19644 before #include of <time.h>.
19645 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19646 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19647 (test-xfail-UNIX98/sched.h/conform): Likewise.
19649 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19651 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19652 error absence of trapping exception support.
19653 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19655 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19657 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19658 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19659 * timezone/Makefile (testdata): Move definition above include of
19661 (test-zones): New variable.
19662 (tests-special): Add zone files.
19663 (build-testdata): Use $(evaluate-test).
19665 * elf/Makefile (tests-special): Rename tests to end with .out.
19666 ($(objpfx)noload-mem): Likewise.
19667 ($(objpfx)tst-leaks1-mem): Likewise.
19668 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19669 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19670 $(objpfx)test-iconvconfig.out.
19671 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19672 set -e inside subshell and redirect output to file.
19673 * iconvdata/Makefile (generated): Rename tests to end with .out.
19675 (tests-special): Rename tests to end with .out.
19676 ($(objpfx)mtrace-tst-loading): Likewise.
19677 * intl/Makefile (generated): Likewise.
19678 (tests-special): Likewise.
19679 ($(objpfx)mtrace-tst-gettext): Likewise.
19680 * misc/Makefile (generated): Likewise.
19681 (tests-special): Likewise.
19682 ($(objpfx)tst-error1-mem): Likewise.
19683 * nptl/Makefile (tests-special): Likewise.
19684 ($(objpfx)tst-stack3-mem): Likewise.
19685 (generated): Likewise.
19686 * posix/Makefile (generated): Likewise.
19687 (tests-special): Likewise.
19688 (xtests-special): Likewise.
19689 ($(objpfx)tst-fnmatch-mem): Likewise.
19690 ($(objpfx)bug-regex2-mem): Likewise.
19691 ($(objpfx)bug-regex14-mem): Likewise.
19692 ($(objpfx)bug-regex21-mem): Likewise.
19693 ($(objpfx)bug-regex31-mem): Likewise.
19694 ($(objpfx)tst-vfork3-mem): Likewise.
19695 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19696 ($(objpfx)tst-pcre-mem): Likewise.
19697 ($(objpfx)tst-boost-mem): Likewise.
19698 ($(objpfx)bug-ga2-mem): Likewise.
19699 ($(objpfx)bug-glob2-mem): Likewise.
19700 * resolv/Makefile (generate): Likewise.
19701 (tests-special): Likewise.
19702 (xtests-special): Likewise.
19703 (generated): Likewise.
19704 ($(objpfx)mtrace-tst-leaks): Likewise.
19705 ($(objpfx)mtrace-tst-leaks2): Likewise.
19707 * scripts/merge-test-results.sh: New file.
19708 * Makefile (tests-special-notdir): New variable.
19709 (tests): Run merge-test-results.sh.
19710 (xtests): Likewise.
19711 * Rules (tests-special-notdir): New variable.
19712 (xtests-special-notdir): Likewise.
19713 (tests): Run merge-test-results.sh
19714 (xtests): Likewise.
19716 * Makeconfig (test-xfail-name): New variable.
19717 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19718 compute variable name for expected failures.
19719 * conform/Makefile (conformtest-headers-data): New variable.
19720 (conformtest-standards): Likewise.
19721 (conformtest-headers-ISO): Likewise.
19722 (conformtest-headers-ISO99): Likewise.
19723 (conformtest-headers-ISO11): Likewise.
19724 (conformtest-headers-POSIX): Likewise.
19725 (conformtest-headers-XPG3): Likewise.
19726 (conformtest-headers-XPG4): Likewise.
19727 (conformtest-headers-UNIX98): Likewise.
19728 (conformtest-headers-XOPEN2K): Likewise.
19729 (conformtest-headers-POSIX2008): Likewise.
19730 (conformtest-headers-XOPEN2K8): Likewise.
19731 (conformtest-header-list-base): Likewise.
19732 (conformtest-header-list-tests): Likewise.
19733 (conformtest-header-base): Likewise.
19734 (conformtest-header-tests): Likewise.
19735 (tests-special): Add $(conformtest-header-list-tests). If
19736 [$(fast-check) && !$(cross-compiling)], add
19737 $(conformtest-header-tests) instead of
19738 $(objpfx)run-conformtest.out.
19739 (generated): Add $(conformtest-header-list-base). If
19740 [$(fast-check) && !$(cross-compiling)], add
19741 $(conformtest-header-base). Remove previous setting.
19742 ($(conformtest-header-list-tests)): New target.
19743 (test-xfail-run-conformtest): Remove variable.
19744 ($(objpfx)run-conformtest.out): Remove target.
19745 (test-xfail-ISO11/complex.h/conform): New variable.
19746 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19747 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19748 (test-xfail-XPG3/varargs.h/conform): Likewise.
19749 (test-xfail-XPG4/varargs.h/conform): Likewise.
19750 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19751 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19752 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19753 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19754 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19755 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19756 (test-xfail-XPG3/ftw.h/conform): Likewise.
19757 (test-xfail-XPG3/grp.h/conform): Likewise.
19758 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19759 (test-xfail-XPG3/limits.h/conform): Likewise.
19760 (test-xfail-XPG3/pwd.h/conform): Likewise.
19761 (test-xfail-XPG3/search.h/conform): Likewise.
19762 (test-xfail-XPG3/signal.h/conform): Likewise.
19763 (test-xfail-XPG3/stdio.h/conform): Likewise.
19764 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19765 (test-xfail-XPG3/string.h/conform): Likewise.
19766 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19767 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19768 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19769 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19770 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19771 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19772 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19773 (test-xfail-XPG3/termios.h/conform): Likewise.
19774 (test-xfail-XPG3/time.h/conform): Likewise.
19775 (test-xfail-XPG3/unistd.h/conform): Likewise.
19776 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19777 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19778 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19779 (test-xfail-XPG4/netdb.h/conform): Likewise.
19780 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19781 (test-xfail-XPG4/signal.h/conform): Likewise.
19782 (test-xfail-XPG4/stdio.h/conform): Likewise.
19783 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19784 (test-xfail-XPG4/stropts.h/conform): Likewise.
19785 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19786 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19787 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19788 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19789 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19790 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19791 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19792 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19793 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19794 (test-xfail-XPG4/termios.h/conform): Likewise.
19795 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19796 (test-xfail-XPG4/unistd.h/conform): Likewise.
19797 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19798 (test-xfail-POSIX/sched.h/conform): Likewise.
19799 (test-xfail-POSIX/signal.h/conform): Likewise.
19800 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19801 (test-xfail-POSIX/tar.h/conform): Likewise.
19802 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19803 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19804 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19805 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19806 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19807 (test-xfail-UNIX98/sched.h/conform): Likewise.
19808 (test-xfail-UNIX98/signal.h/conform): Likewise.
19809 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19810 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19811 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19812 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19813 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19814 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19815 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19816 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19817 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19818 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19819 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19820 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19821 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19822 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19823 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19824 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19825 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19826 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19827 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19828 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19829 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19830 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19831 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19832 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19833 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19834 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19835 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19836 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19837 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19838 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19839 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19840 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19841 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19842 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19843 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19844 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19845 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19846 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19847 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19848 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19849 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19850 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19851 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19852 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19853 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19854 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19855 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19856 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19857 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19858 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19859 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19860 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19861 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19862 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19863 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19864 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19865 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19866 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19867 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19868 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19869 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19870 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19871 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19872 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19873 (conformtest-cc-flags): Likewise.
19874 ($(conformtest-header-tests): New target.
19875 * conform/check-header-lists.sh: New file.
19876 * conform/run-conformtest.sh: Remove.
19878 * conform/conformtest.pl: Allow ' and \ in values given for
19880 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19882 [POSIX] (sys/types.h): Likewise.
19883 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19885 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19887 * conform/data/signal.h-data (SIGIO): Remove expectation.
19888 [XPG3] (SIGBUS): Do not expect.
19889 [POSIX || XPG3] (SIGPOLL): Likewise.
19890 [POSIX || XPG3] (SIGPROF): Likewise.
19891 [POSIX || XPG3] (SIGSYS): Likewise.
19892 [XPG3] (SIGTRAP): Likewise.
19893 [POSIX || XPG3] (SIGURG): Likewise.
19894 [POSIX || XPG3] (SIGVTALRM): Likewise.
19895 [POSIX || XPG3] (SIGXCPU): Likewise.
19896 [POSIX || XPG3] (SIGXFSZ): Likewise.
19897 [POSIX] (SA_SIGINFO): Expect.
19898 [XPG3] (siginfo_t): Do not expect type or contents.
19899 [POSIX] (si_pid): Do not expect element.
19900 [POSIX] (si_uid): Likewise.
19901 [POSIX] (si_addr): Likewise.
19902 [POSIX] (si_status): Likewise.
19903 [POSIX] (si_band): Likewise.
19904 [XPG4] (si_value): Likewise.
19905 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19906 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19907 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19908 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19909 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19910 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19911 [POSIX || XPG3] (ILL_COPROC): Likewise.
19912 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19913 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19914 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19915 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19916 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19917 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19918 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19919 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19920 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19921 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19922 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19923 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19924 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19925 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19926 [POSIX || XPG3] (CLD_EXITED): Likewise.
19927 [POSIX || XPG3] (CLD_KILLED): Likewise.
19928 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19929 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19930 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19931 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19932 [POSIX || XPG3] (POLL_IN): Likewise.
19933 [POSIX || XPG3] (POLL_OUT): Likewise.
19934 [POSIX || XPG3] (POLL_MSG): Likewise.
19935 [POSIX || XPG3] (POLL_ERR): Likewise.
19936 [POSIX || XPG3] (POLL_PRI): Likewise.
19937 [POSIX || XPG3] (POLL_HUP): Likewise.
19938 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19939 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19940 (SIG*): Do not allow.
19941 [XPG3] (si_*): Likewise.
19942 [XPG3] (SI_*): Likewise.
19943 [XPG3 || XPG4] (sigev_*): Likewise.
19944 [XPG3 || XPG4] (SIGEV_*): Likewise.
19945 [XPG3 || XPG4] (sival_*): Likewise.
19946 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19947 [POSIX || XPG3] (BUS_*): Likewise.
19948 [POSIX || XPG3] (CLD_*): Likewise.
19949 [POSIX || XPG3] (FPE_*): Likewise.
19950 [POSIX || XPG3] (ILL_*): Likewise.
19951 [POSIX || XPG3] (POLL_*): Likewise.
19952 [POSIX || XPG3] (SEGV_*): Likewise.
19953 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19954 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19955 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19956 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19957 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19958 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19959 Specify type and value.
19960 (TVERSLEN): Likewise.
19961 (REGTYPE): Likewise.
19962 (AREGTYPE): Likewise.
19963 (LNKTYPE): Likewise.
19964 (SYMTYPE): Likewise.
19965 (CHRTYPE): Likewise.
19966 (BLKTYPE): Likewise.
19967 (DIRTYPE): Likewise.
19968 (FIFOTYPE): Likewise.
19969 (CONTTYPE): Likewise.
19973 (TUREAD): Likewise.
19974 (TUWRITE): Likewise.
19975 (TUEXEC): Likewise.
19976 (TGREAD): Likewise.
19977 (TGWRITE): Likewise.
19978 (TGEXEC): Likewise.
19979 (TOREAD): Likewise.
19980 (TOWRITE): Likewise.
19981 (TOEXEC): Likewise.
19982 [POSIX] (TSVTX): Expect constant.
19984 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19986 * Makefile (tests): Change dependencies to ....
19987 (tests-special): ... additions to this variable.
19988 (tests): Depend on $(tests-special).
19989 * Makerules (check-abi-list): New variable.
19990 (check-abi): Depend on $(check-abi-list).
19991 [$(subdir) = elf] (tests-special): Add
19992 $(objpfx)check-abi-libc.out.
19993 [$(build-shared) = yes && subdir] (tests-special): Add
19995 [$(build-shared) = yes && subdir] (tests): Do not depend on
19997 * Rules (tests): Depend on $(tests-special).
19998 (xtests): Depend on $(xtests-special).
19999 * catgets/Makefile (tests): Change dependencies to ....
20000 (tests-special): ... additions to this variable.
20001 * conform/Makefile (tests): Change dependencies to ....
20002 (tests-special): ... additions to this variable.
20003 * elf/Makefile (tests): Change dependencies to ....
20004 (tests-special): ... additions to this variable.
20005 * grp/Makefile (tests): Change dependencies to ....
20006 (tests-special): ... additions to this variable.
20007 * iconv/Makefile (xtests): Change dependencies to ....
20008 (xtests-special): ... additions to this variable.
20009 * iconvdata/Makefile (tests): Change dependencies to ....
20010 (tests-special): ... additions to this variable.
20011 * intl/Makefile (tests): Change dependencies to ....
20012 (tests-special): ... additions to this variable. Also add
20013 $(objpfx)tst-gettext.out.
20014 * io/Makefile (tests): Change dependencies to ....
20015 (tests-special): ... additions to this variable.
20016 * libio/Makefile (tests): Change dependencies to ....
20017 (tests-special): ... additions to this variable.
20018 * malloc/Makefile (tests): Change dependencies to ....
20019 (tests-special): ... additions to this variable.
20020 * misc/Makefile (tests): Change dependencies to ....
20021 (tests-special): ... additions to this variable.
20022 * nptl/Makefile (tests): Change dependencies to ....
20023 (tests-special): ... additions to this variable.
20024 * nptl_db/Makefile (tests): Change dependencies to ....
20025 (tests-special): ... additions to this variable.
20026 * posix/Makefile (tests): Change dependencies to ....
20027 (tests-special): ... additions to this variable.
20028 (xtests): Change dependencies to ....
20029 (xtests-special): ... additions to this variable.
20030 * resolv/Makefile (tests): Change dependencies to ....
20031 (tests-special): ... additions to this variable.
20032 (xtests): Change dependencies to ....
20033 (xtests-special): ... additions to this variable.
20034 * stdio-common/Makefile (tests): Change dependencies to ....
20035 (tests-special): ... additions to this variable.
20036 (do-tst-unbputc): Remove target.
20037 (do-tst-printf): Likewise.
20038 * stdlib/Makefile (tests): Change dependencies to ....
20039 (tests-special): ... additions to this variable.
20040 * string/Makefile (tests): Change dependencies to ....
20041 (tests-special): ... additions to this variable.
20042 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20043 (tests-special): ... additions to this variable.
20045 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20047 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20049 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20050 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20052 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20053 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20054 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20055 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20056 * conform/data/libgen.h-data [XPG3]: Likewise.
20057 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20058 * conform/data/ndbm.h-data [XPG3]: Likewise.
20059 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20060 * conform/data/netdb.h-data [XPG3]: Likewise.
20061 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20062 * conform/data/poll.h-data [XPG3]: Likewise.
20063 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20064 * conform/data/strings.h-data [XPG3]: Likewise.
20065 * conform/data/stropts.h-data [XPG3]: Likewise.
20066 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20067 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20068 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20070 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20071 * conform/data/sys/time.h-data [XPG3]: Likewise.
20072 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20073 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20074 * conform/data/sys/un.h-data [XPG3]: Likewise.
20075 * conform/data/syslog.h-data [XPG3]: Likewise.
20076 * conform/data/ucontext.h-data [XPG3]: Likewise.
20077 * conform/data/utmpx.h-data [XPG3]: Likewise.
20078 * conform/data/varargs.h-data [UNIX98]: Enable file.
20080 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20082 * math/libm-test.inc (struct test_f_f_data): Move expected results
20083 into structure for each rounding mode.
20084 (struct test_ff_f_data): Likewise.
20085 (struct test_ff_f_data_nexttoward): Likewise.
20086 (struct test_fi_f_data): Likewise.
20087 (struct test_fl_f_data): Likewise.
20088 (struct test_if_f_data): Likewise.
20089 (struct test_fff_f_data): Likewise.
20090 (struct test_c_f_data): Likewise.
20091 (struct test_f_f1_data): Likewise.
20092 (struct test_fF_f1_data): Likewise.
20093 (struct test_ffI_f1_data): Likewise.
20094 (struct test_c_c_data): Likewise.
20095 (struct test_cc_c_data): Likewise.
20096 (struct test_f_i_data): Likewise.
20097 (struct test_ff_i_data): Likewise.
20098 (struct test_f_l_data): Likewise.
20099 (struct test_f_L_data): Likewise.
20100 (struct test_fFF_11_data): Likewise.
20102 (RM_FE_DOWNWARD): Likewise.
20103 (RM_FE_TONEAREST): Likewise.
20104 (RM_FE_TOWARDZERO): Likewise.
20105 (RM_FE_UPWARD): Likewise.
20106 (RUN_TEST_LOOP_f_f): Update references to expected results.
20107 (RUN_TEST_LOOP_2_f): Likewise.
20108 (RUN_TEST_LOOP_fff_f): Likewise.
20109 (RUN_TEST_LOOP_c_f): Likewise.
20110 (RUN_TEST_LOOP_f_f1): Likewise.
20111 (RUN_TEST_LOOP_fF_f1): Likewise.
20112 (RUN_TEST_LOOP_fI_f1): Likewise.
20113 (RUN_TEST_LOOP_ffI_f1): Likewise.
20114 (RUN_TEST_LOOP_c_c): Likewise.
20115 (RUN_TEST_LOOP_cc_c): Likewise.
20116 (RUN_TEST_LOOP_f_i): Likewise.
20117 (RUN_TEST_LOOP_f_i_tg): Likewise.
20118 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20119 (RUN_TEST_LOOP_f_b): Likewise.
20120 (RUN_TEST_LOOP_f_b_tg): Likewise.
20121 (RUN_TEST_LOOP_f_l): Likewise.
20122 (RUN_TEST_LOOP_f_L): Likewise.
20123 (RUN_TEST_LOOP_fFF_11): Likewise.
20124 * math/gen-libm-test.pl (parse_args): Output four copies of
20125 expected results for each test.
20127 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20128 (__ASSUME_UTIMES): Remove.
20129 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20130 (__ASSUME_UTIMES): Likewise.
20132 * math/gen-auto-libm-tests.c: Update comment on output format.
20133 (output_for_one_input_case): Generate before-rounding and
20134 after-rounding information as conditions on output flags not
20135 floating-point format.
20136 * math/auto-libm-test-out: Regenerated.
20137 * math/gen-libm-test.pl (cond_value): New function.
20138 (or_cond_value): Use cond_value.
20139 (generate_testfile): Handle conditional exceptions.
20141 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20143 * math/libm-test.inc (max_valid_error): New variable.
20144 (init_max_error): Take new argument specifying whether function
20145 results are exactly determined. Set max_valid_error and bound
20146 other variables for errors based on this argument.
20147 (set_max_error): Do not record results above max_valid_error.
20148 (check_float_internal): Only accept errors of up to 0.5ulps if
20149 also at most max_valid_error.
20150 (START): Take new argument EXACT and pass it to init_max_error.
20151 (acos_test): Update call to START.
20152 (acos_test_tonearest): Likewise.
20153 (acos_test_towardzero): Likewise.
20154 (acos_test_downward): Likewise.
20155 (acos_test_upward): Likewise.
20156 (acosh_test): Likewise.
20157 (asin_test): Likewise.
20158 (asin_test_tonearest): Likewise.
20159 (asin_test_towardzero): Likewise.
20160 (asin_test_downward): Likewise.
20161 (asin_test_upward): Likewise.
20162 (asinh_test): Likewise.
20163 (atan_test): Likewise.
20164 (atanh_test): Likewise.
20165 (atan2_test): Likewise.
20166 (cabs_test): Likewise.
20167 (cacos_test): Likewise.
20168 (cacosh_test): Likewise.
20169 (carg_test): Likewise.
20170 (casin_test): Likewise.
20171 (casinh_test): Likewise.
20172 (catan_test): Likewise.
20173 (catanh_test): Likewise.
20174 (cbrt_test): Likewise.
20175 (ccos_test): Likewise.
20176 (ccosh_test): Likewise.
20177 (ceil_test): Likewise.
20178 (cexp_test): Likewise.
20179 (cimag_test): Likewise.
20180 (clog_test): Likewise.
20181 (clog10_test): Likewise.
20182 (conj_test): Likewise.
20183 (copysign_test): Likewise.
20184 (cos_test): Likewise.
20185 (cos_test_tonearest): Likewise.
20186 (cos_test_towardzero): Likewise.
20187 (cos_test_downward): Likewise.
20188 (cos_test_upward): Likewise.
20189 (cosh_test): Likewise.
20190 (cosh_test_tonearest): Likewise.
20191 (cosh_test_towardzero): Likewise.
20192 (cosh_test_downward): Likewise.
20193 (cosh_test_upward): Likewise.
20194 (cpow_test): Likewise.
20195 (cproj_test): Likewise.
20196 (creal_test): Likewise.
20197 (csin_test): Likewise.
20198 (csinh_test): Likewise.
20199 (csqrt_test): Likewise.
20200 (ctan_test): Likewise.
20201 (ctan_test_tonearest): Likewise.
20202 (ctan_test_towardzero): Likewise.
20203 (ctan_test_downward): Likewise.
20204 (ctan_test_upward): Likewise.
20205 (ctanh_test): Likewise.
20206 (ctanh_test_tonearest): Likewise.
20207 (ctanh_test_towardzero): Likewise.
20208 (ctanh_test_downward): Likewise.
20209 (ctanh_test_upward): Likewise.
20210 (erf_test): Likewise.
20211 (erfc_test): Likewise.
20212 (exp_test): Likewise.
20213 (exp_test_tonearest): Likewise.
20214 (exp_test_towardzero): Likewise.
20215 (exp_test_downward): Likewise.
20216 (exp_test_upward): Likewise.
20217 (exp10_test): Likewise.
20218 (exp10_test_tonearest): Likewise.
20219 (exp10_test_towardzero): Likewise.
20220 (exp10_test_downward): Likewise.
20221 (exp10_test_upward): Likewise.
20222 (pow10_test): Likewise.
20223 (exp2_test): Likewise.
20224 (expm1_test): Likewise.
20225 (expm1_test_tonearest): Likewise.
20226 (expm1_test_towardzero): Likewise.
20227 (expm1_test_downward): Likewise.
20228 (expm1_test_upward): Likewise.
20229 (fabs_test): Likewise.
20230 (fdim_test): Likewise.
20231 (floor_test): Likewise.
20232 (fma_test): Likewise.
20233 (fma_test_towardzero): Likewise.
20234 (fma_test_downward): Likewise.
20235 (fma_test_upward): Likewise.
20236 (fmax_test): Likewise.
20237 (fmin_test): Likewise.
20238 (fmod_test): Likewise.
20239 (fpclassify_test): Likewise.
20240 (frexp_test): Likewise.
20241 (hypot_test): Likewise.
20242 (ilogb_test): Likewise.
20243 (isfinite_test): Likewise.
20244 (finite_test): Likewise.
20245 (isgreater_test): Likewise.
20246 (isgreaterequal_test): Likewise.
20247 (isinf_test): Likewise.
20248 (isless_test): Likewise.
20249 (islessequal_test): Likewise.
20250 (islessgreater_test): Likewise.
20251 (isnan_test): Likewise.
20252 (isnormal_test): Likewise.
20253 (issignaling_test): Likewise.
20254 (isunordered_test): Likewise.
20255 (j0_test): Likewise.
20256 (j1_test): Likewise.
20257 (jn_test): Likewise.
20258 (ldexp_test): Likewise.
20259 (lgamma_test): Likewise.
20260 (gamma_test): Likewise.
20261 (lrint_test): Likewise.
20262 (lrint_test_tonearest): Likewise.
20263 (lrint_test_towardzero): Likewise.
20264 (lrint_test_downward): Likewise.
20265 (lrint_test_upward): Likewise.
20266 (llrint_test): Likewise.
20267 (llrint_test_tonearest): Likewise.
20268 (llrint_test_towardzero): Likewise.
20269 (llrint_test_downward): Likewise.
20270 (llrint_test_upward): Likewise.
20271 (log_test): Likewise.
20272 (log10_test): Likewise.
20273 (log1p_test): Likewise.
20274 (log2_test): Likewise.
20275 (logb_test): Likewise.
20276 (logb_test_downward): Likewise.
20277 (lround_test): Likewise.
20278 (llround_test): Likewise.
20279 (modf_test): Likewise.
20280 (nearbyint_test): Likewise.
20281 (nextafter_test): Likewise.
20282 (nexttoward_test): Likewise.
20283 (pow_test): Likewise.
20284 (pow_test_tonearest): Likewise.
20285 (pow_test_towardzero): Likewise.
20286 (pow_test_downward): Likewise.
20287 (pow_test_upward): Likewise.
20288 (remainder_test): Likewise.
20289 (drem_test): Likewise.
20290 (remainder_test_tonearest): Likewise.
20291 (drem_test_tonearest): Likewise.
20292 (remainder_test_towardzero): Likewise.
20293 (drem_test_towardzero): Likewise.
20294 (remainder_test_downward): Likewise.
20295 (drem_test_downward): Likewise.
20296 (remainder_test_upward): Likewise.
20297 (drem_test_upward): Likewise.
20298 (remquo_test): Likewise.
20299 (rint_test): Likewise.
20300 (rint_test_tonearest): Likewise.
20301 (rint_test_towardzero): Likewise.
20302 (rint_test_downward): Likewise.
20303 (rint_test_upward): Likewise.
20304 (round_test): Likewise.
20305 (scalb_test): Likewise.
20306 (scalbn_test): Likewise.
20307 (scalbln_test): Likewise.
20308 (signbit_test): Likewise.
20309 (sin_test): Likewise.
20310 (sin_test_tonearest): Likewise.
20311 (sin_test_towardzero): Likewise.
20312 (sin_test_downward): Likewise.
20313 (sin_test_upward): Likewise.
20314 (sincos_test): Likewise.
20315 (sinh_test): Likewise.
20316 (sinh_test_tonearest): Likewise.
20317 (sinh_test_towardzero): Likewise.
20318 (sinh_test_downward): Likewise.
20319 (sinh_test_upward): Likewise.
20320 (sqrt_test): Likewise.
20321 (sqrt_test_tonearest): Likewise.
20322 (sqrt_test_towardzero): Likewise.
20323 (sqrt_test_downward): Likewise.
20324 (sqrt_test_upward): Likewise.
20325 (tan_test): Likewise.
20326 (tan_test_tonearest): Likewise.
20327 (tan_test_towardzero): Likewise.
20328 (tan_test_downward): Likewise.
20329 (tan_test_upward): Likewise.
20330 (tanh_test): Likewise.
20331 (tgamma_test): Likewise.
20332 (trunc_test): Likewise.
20333 (y0_test): Likewise.
20334 (y1_test): Likewise.
20335 (yn_test): Likewise.
20336 (significand_test): Likewise.
20338 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20339 individual tests in comment.
20340 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20341 (prev_max_error): New variable.
20342 (prev_real_max_error): Likewise.
20343 (prev_imag_max_error): Likewise.
20344 (compare_ulp_data): Don't refer to test names in comment.
20345 (find_test_ulps): Remove function.
20346 (find_function_ulps): Likewise.
20347 (find_complex_function_ulps): Likewise.
20348 (init_max_error): Take function name as argument. Look up ulps
20350 (print_ulps): Remove function.
20351 (print_max_error): Use prev_max_error instead of calling
20352 find_function_ulps.
20353 (print_complex_max_error): Use prev_real_max_error and
20354 prev_imag_max_error instead of calling find_complex_function_ulps.
20355 (check_float_internal): Take max_ulp parameter instead of calling
20356 find_test_ulps. Don't call print_ulps.
20357 (check_float): Update call to check_float_internal.
20358 (check_complex): Update calls to check_float_internal.
20359 (START): Pass argument to init_max_error.
20360 * math/gen-libm-test.pl (%results): Don't include "kind"
20362 (parse_ulps): Don't handle ulps of individual tests.
20363 (print_ulps_file): Likewise.
20364 (output_ulps): Likewise.
20365 * math/README.libm-test: Update.
20366 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20368 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20369 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20370 * sysdeps/arm/libm-test-ulps: Likewise.
20371 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20372 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20373 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20374 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20375 * sysdeps/microblaze/libm-test-ulps: Likewise.
20376 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20377 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20378 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20379 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20380 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20381 * sysdeps/sh/libm-test-ulps: Likewise.
20382 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20383 * sysdeps/tile/libm-test-ulps: Likewise.
20384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20386 2014-03-04 Joseph Myers <joseph@codesourcery.com>
20388 * math/libm-test.inc (print_complex_max_error): Check separately
20389 whether real and imaginary errors are within allowed range and
20390 pass 0 to print_complex_function_ulps instead of value within
20393 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20395 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20397 (get_handles_fopen): Likewise.
20398 (do_write_test): Likewise.
20400 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20402 * libio/fileops.c (do_ftell): Use cached offset when
20404 * libio/iofwide.c (do_ftell_wide): Likewise.
20405 * libio/iofdopen.c (_IO_new_fdopen): Don't use
20407 * libio/wfileops.c (_IO_fwide): Don't cache offset.
20410 * libio/libioP.h (get_file_offset): New function.
20411 * libio/fileops.c (get_file_offset): Likewise.
20412 (do_ftell): Likewise.
20413 (_IO_new_file_seekoff): Split out ftell logic.
20414 * libio/wfileops.c (do_ftell_wide): Likewise.
20415 (_IO_wfile_seekoff): Split out ftell logic.
20416 * libio/tst-ftell-active-handler.c: New test case.
20417 * libio/Makefile (tests): Add it.
20419 2014-03-03 Roland McGrath <roland@hack.frob.com>
20421 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20422 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20424 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20427 * nscd/connections.c (nscd_init): Call do_exit.
20428 (start_threads): Call do_exit and notify_parent.
20429 (begin_drop_privileges): Call do_exit.
20430 (finish_drop_privileges): Likewise.
20431 * nscd/selinux.c (preserve_capabilities): Likewise.
20432 (install_real_capabilities): Likewise.
20433 (nscd_selinux_enabled): Likewise.
20434 (avc_create_thread): Likewise.
20435 (avc_alloc_lock): Likewise.
20436 (nscd_avc_init): Likewise.
20437 * nscd/nscd.c (parent_fd): New static variable.
20438 (main): Create a pipe between parent and child processes.
20439 Skip closing parent_fd.
20440 (monitor_child): New function.
20441 (do_exit): Likewise.
20442 (notify_parent): Likewise.
20443 * nscd/nscd.h (notify_parent): Likewise.
20444 (do_exit): Likewise.
20446 2014-03-03 Carlos O'Donell <carlos@redhat.com>
20448 * malloc/malloc.c (__libc_calloc): Revert last change.
20450 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20454 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20456 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20460 (__libc_ifunc_impl_list): Likewise.
20461 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20462 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20463 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20464 * string/strrchr.c: Define STRRCHR.
20466 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
20468 * benchtest/bench-strtok.c (simple_strtok): Delete.
20469 (strtok_string): Use as benchmark.
20470 * string/strtok (STRTOK): New macro.
20472 2014-02-28 Carlos O'Donell <carlos@redhat.com>
20474 * manual/threads.texi: Add header and standard comments to all
20477 * elf/dl-lookup.c (check_match): New function.
20478 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20479 (do_lookup_x): Remove nested function check_match. Use non-nested
20480 function check_match.
20482 2014-02-28 Roland McGrath <roland@hack.frob.com>
20484 * csu/Makefile (generated, before-compile): Use += rather than =.
20485 * catgets/Makefile (generated, generated-dirs): Likewise.
20486 * debug/Makefile (generated): Likewise.
20487 * dlfcn/Makefile (generated): Likewise.
20488 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20489 * iconvdata/Makefile (before-compile, generated): Likewise.
20490 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20491 * libio/Makefile (generated): Likewise.
20492 * malloc/Makefile (generated): Likewise.
20493 * manual/Makefile (generated, generated-dirs): Likewise.
20494 * misc/Makefile (generated): Likewise.
20495 * posix/Makefile (generated): Likewise.
20496 * resolv/Makefile (generated): Likewise.
20497 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20498 * timezone/Makefile (generated, generated-dirs): Likewise.
20500 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20502 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20505 power8 implementation.
20506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20507 file: POWER8 llround ifunc implementation.
20508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20509 (__lllround): Add POWER8 implementation.
20510 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20511 POWER8 llround implementation.
20513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20514 power8 implementation.
20515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20516 file: POWER8 llrint ifunc implementation.
20517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20518 Add POWER8 implementation.
20519 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20520 POWER8 llrint implementation.
20522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20523 power8 implementation.
20524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20525 file: POWER8 finite ifunc implementation.
20526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20527 Add POWER8 implementation.
20528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20530 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20531 POWER8 finite implementation.
20532 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20535 power8 implementation.
20536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20537 file: POWER8 isinf ifunc implementation.
20538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20539 POWER8 implementation.
20540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20542 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20543 isinf implementation.
20544 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20546 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20547 (INIT_ARCH): Add hwcap2 initialization.
20548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20549 power8 implementation.
20550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20551 file: POWER8 isnan ifunc implementation.
20552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20553 POWER8 implementation.
20554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20556 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20557 isnan implementation.
20558 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20560 2014-02-27 Joey Ye <joey.ye@arm.com>
20562 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20563 (_FP_NANFRAC_Q): Set to zero.
20565 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20568 * math/auto-libm-test-in: New test inputs.
20569 * math/auto-libm-test-out: Regenerate.
20570 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20573 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20575 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20577 * scripts/evaluate-test.sh: Take new argument indicating whether
20578 failure is expected.
20579 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20580 indicating whether failure is expected.
20581 * conform/Makefile (test-xfail-run-conformtest): New variable.
20582 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20584 * posix/Makefile (test-xfail-annexc): New variable.
20585 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20587 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20589 * argp/Makefile: Include Makeconfig immediately after defining
20591 * assert/Makefile: Likewise.
20592 * benchtests/Makefile: Likewise.
20593 * catgets/Makefile: Likewise.
20594 * conform/Makefile: Likewise.
20595 * crypt/Makefile: Likewise.
20596 * csu/Makefile: Likewise.
20597 (all): Remove target.
20598 * ctype/Makefile: Include Makeconfig immediately after defining
20600 * debug/Makefile: Likewise.
20601 * dirent/Makefile: Likewise.
20602 * dlfcn/Makefile: Likewise.
20603 * gmon/Makefile: Likewise.
20604 * gnulib/Makefile: Likewise.
20605 * grp/Makefile: Likewise.
20606 * gshadow/Makefile: Likewise.
20607 * hesiod/Makefile: Likewise.
20608 * hurd/Makefile: Likewise.
20609 (all): Remove target.
20610 * iconvdata/Makefile: Include Makeconfig immediately after
20612 * inet/Makefile: Likewise.
20613 * intl/Makefile: Likewise.
20614 * io/Makefile: Likewise.
20615 * libio/Makefile: Likewise.
20616 (all): Remove target.
20617 * locale/Makefile: Include Makeconfig immediately after defining
20619 * login/Makefile: Likewise.
20620 * mach/Makefile: Likewise.
20621 (all): Remove target.
20622 * malloc/Makefile: Include Makeconfig immediately after defining
20624 (all): Remove target.
20625 * manual/Makefile: Include Makeconfig immediately after defining
20627 * math/Makefile: Likewise.
20628 * misc/Makefile: Likewise.
20629 * nis/Makefile: Likewise.
20630 * nss/Makefile: Likewise.
20631 * po/Makefile: Likewise.
20632 (all): Remove target.
20633 * posix/Makefile: Include Makeconfig immediately after defining
20635 * pwd/Makefile: Likewise.
20636 * resolv/Makefile: Likewise.
20637 * resource/Makefile: Likewise.
20638 * rt/Makefile: Likewise.
20639 * setjmp/Makefile: Likewise.
20640 * shadow/Makefile: Likewise.
20641 * signal/Makefile: Likewise.
20642 * socket/Makefile: Likewise.
20643 * soft-fp/Makefile: Likewise.
20644 * stdio-common/Makefile: Likewise.
20645 * stdlib/Makefile: Likewise.
20646 * streams/Makefile: Likewise.
20647 * string/Makefile: Likewise.
20648 * sunrpc/Makefile: Likewise.
20649 (all): Remove target.
20650 * sysvipc/Makefile: Include Makeconfig immediately after defining
20652 * termios/Makefile: Likewise.
20653 * time/Makefile: Likewise.
20654 * timezone/Makefile: Likewise.
20655 (all): Remove target.
20656 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20658 * wctype/Makefile: Likewise.
20660 2014-02-26 Steve Ellcey <sellcey@mips.com>
20662 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20663 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20664 (libc_feholdexcept_setround_mips): Ditto.
20665 (libc_feholdsetround): New.
20666 (libc_feholdsetroundf): New.
20667 (libc_feholdsetroundl): New.
20668 (libc_feupdateenv_test_mips): New.
20669 (libc_feupdateenv_test): New.
20670 (libc_feupdateenv_testf): New.
20671 (libc_feupdateenv_testl): New.
20672 (libc_feresetround): New.
20673 (libc_feresetroundf): New.
20674 (libc_feresetroundl): New.
20675 (libc_fetestexcept_mips): New.
20676 (libc_fetestexcept): New.
20677 (libc_fetestexceptf): New.
20678 (libc_fetestexceptl): New.
20679 (HAVE_RM_CTX): New.
20680 (libc_feholdexcept_setround_mips_ctx): New.
20681 (libc_feholdexcept_setround_ctx): New.
20682 (libc_feholdexcept_setroundf_ctx): New.
20683 (libc_feholdexcept_setroundl_ctx): New.
20684 (libc_fesetenv_mips_ctx): New.
20685 (libc_fesetenv_ctx): New.
20686 (libc_fesetenv_ctxf): New.
20687 (libc_fesetenv_ctxl): New.
20688 (libc_feupdateenv_mips_ctx): New.
20689 (libc_feupdateenv_ctx): New.
20690 (libc_feupdateenvf_ctx): New.
20691 (libc_feupdateenvl_ctx): New.
20692 (libc_feholdsetround_mips_ctx): New.
20693 (libc_feholdsetround_ctx): New.
20694 (libc_feholdsetroundf_ctx): New.
20695 (libc_feholdsetroundl_ctx): New.
20696 (libc_feresetround_mips_ctx): New.
20697 (libc_feresetround_ctx): New.
20698 (libc_feresetroundf_ctx): New.
20699 (libc_feresetroundl_ctx): New.
20701 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20703 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20705 * manual/ipc.texi: New file.
20706 * manual/Makefile (chapters): Add ipc.
20707 * manual/job.texi: Add "Inter-Process Communication" to next.
20708 * manual/process.texi: Add "Inter-Process Communication" to prev.
20710 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20714 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20716 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20718 * manual/arith.texi: Fix spaces after sentences.
20719 * manual/charset.texi: Likewise.
20720 * manual/errno.texi: Likewise.
20721 * manual/install.texi: Likewise.
20722 * manual/llio.texi: Likewise.
20723 * manual/locale.texi: Likewise.
20724 * manual/maint.texi: Likewise.
20725 * manual/math.texi: Likewise.
20726 * manual/memory.texi: Likewise.
20727 * manual/message.texi: Likewise.
20728 * manual/probes.texi: Likewise.
20729 * manual/resource.texi: Likewise.
20730 * manual/signal.texi: Likewise.
20731 * manual/socket.texi: Likewise.
20732 * manual/stdio.texi: Likewise.
20733 * manual/string.texi: Likewise.
20734 * manual/time.texi: Likewise.
20735 * manual/users.texi: Likewise.
20737 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20740 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20741 _DEFAULT_SOURCE is defined.
20743 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20744 Carlos O'Donell <carlos@redhat.com>
20747 * elf/dl-tls.c (_dl_count_modids): New function.
20748 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20749 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20750 audit library and increment generation counter.
20751 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20752 * elf/tst-audit9.c: New file.
20753 * elf/tst-auditmod9a.c: New file.
20754 * elf/tst-auditmod9b.c: New file.
20755 * elf/Makefile: Add rules to build and run tst-audit9.
20757 2014-02-25 Florian Weimer <fweimer@redhat.com>
20760 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20762 2014-02-25 Will Newton <will.newton@linaro.org>
20764 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20765 (__longjmp): Restore sp and lr before restoring callee
20766 saved registers. Add longjmp and longjmp_target
20767 SystemTap probe point.
20768 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20769 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20770 Define to zero to match jmpbuf layout.
20771 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20772 (__sigsetjmp): Save sp and lr before saving callee
20773 saved registers. Add setjmp SystemTap probe point.
20775 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20777 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20779 2014-02-24 Andreas Schwab <schwab@suse.de>
20782 * elf/pldd.c (wait_for_ptrace_stop): New function.
20783 (main): Call it after attaching.
20785 2014-02-22 Roland McGrath <roland@hack.frob.com>
20787 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20788 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20789 Versions files is now verboten.
20790 * hurd/Versions (libc: GLIBC_2.0):
20791 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20792 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20793 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20794 * mach/Versions: Likewise.
20796 * csu/Versions: Remove unused %include.
20797 * resolv/Versions: Likewise.
20799 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20801 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20802 ($(objpfx)check-local-headers.out): Likewise.
20803 ($(objpfx)begin-end-check.out): Likewise.
20804 * Makerules (check-abi-%.out): Likewise.
20805 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20806 ($(objpfx)test2.cat): Likewise.
20807 ($(objpfx)de/libc.cat): Likewise.
20808 ($(objpfx)test-gencat.out): Likewise.
20809 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20810 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20811 ($(objpfx)noload-mem): Likewise.
20812 ($(objpfx)tst-pathopt.out): Likewise.
20813 ($(objpfx)tst-rtld-load-self.out): Likewise.
20814 ($(objpfx)tst-array1-cmp.out): Likewise.
20815 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20816 ($(objpfx)tst-array2-cmp.out): Likewise.
20817 ($(objpfx)tst-array3-cmp.out): Likewise.
20818 ($(objpfx)tst-array4-cmp.out): Likewise.
20819 ($(objpfx)tst-array5-cmp.out): Likewise.
20820 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20821 ($(objpfx)check-textrel.out): Likewise.
20822 ($(objpfx)check-execstack.out): Likewise.
20823 ($(objpfx)check-localplt.out): Likewise.
20824 ($(objpfx)order2-cmp.out): Likewise.
20825 ($(objpfx)tst-leaks1-mem): Likewise.
20826 ($(objpfx)tst-leaks1-static-mem): Likewise.
20827 ($(objpfx)tst-initorder-cmp.out): Likewise.
20828 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20829 ($(objpfx)tst-unused-dep.out): Likewise.
20830 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20831 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20832 * iconv/Makefile (test-iconvconfig): Likewise.
20833 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20834 ($(objpfx)iconv-test.out): Likewise.
20835 ($(objpfx)tst-tables.out): Likewise.
20836 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20837 ($(objpfx)tst-gettext.out): Likewise.
20838 ($(objpfx)tst-translit.out): Likewise.
20839 ($(objpfx)tst-gettext2.out): Likewise.
20840 ($(objpfx)tst-gettext4.out): Likewise.
20841 ($(objpfx)tst-gettext6.out): Likewise.
20842 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20843 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20844 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20845 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20846 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20847 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20848 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20849 ($(objpfx)wordexp-tst.out): Likewise.
20850 ($(objpfx)annexc.out): Likewise.
20851 ($(objpfx)tst-fnmatch-mem): Likewise.
20852 ($(objpfx)bug-regex2-mem): Likewise.
20853 ($(objpfx)bug-regex14-mem): Likewise.
20854 ($(objpfx)bug-regex21-mem): Likewise.
20855 ($(objpfx)bug-regex31-mem): Likewise.
20856 ($(objpfx)tst-vfork3-mem): Likewise.
20857 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20858 ($(objpfx)tst-pcre-mem): Likewise.
20859 ($(objpfx)tst-boost-mem): Likewise.
20860 ($(objpfx)tst-getconf.out): Likewise.
20861 ($(objpfx)bug-ga2-mem): Likewise.
20862 ($(objpfx)bug-glob2-mem): Likewise.
20863 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20864 ($(objpfx)mtrace-tst-leaks2): Likewise.
20865 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20866 ($(objpfx)tst-printf.out): Likewise.
20867 ($(objpfx)tst-setvbuf1.out): Likewise.
20868 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20869 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20870 ($(objpfx)tst-fmtmsg.out): Likewise.
20871 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20872 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20874 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20875 * bits/sigaction.h [__USE_MISC]: Likewise.
20876 * bits/waitstatus.h: Update #endif comments.
20877 * ctype/ctype.h: Likewise.
20878 * dirent/dirent.h: Likewise.
20879 [__USE_MISC]: Remove redundant conditionals.
20880 * grp/grp.h: Update #endif comments.
20881 [__USE_GNU]: Remove redundant conditionals.
20882 [__USE_MISC]: Likewise.
20883 * inet/netinet/in.h [__USE_GNU]: Likewise.
20884 * io/sys/stat.h [__USE_MISC]: Likewise.
20885 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20886 * libio/bits/stdio.h: Update #endif comments.
20887 [__USE_MISC]: Remove redundant conditionals.
20888 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20889 * libio/stdio.h: Update #endif comments.
20890 [__USE_MISC]: Remove redundant conditionals.
20891 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20892 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20893 * math/math.h: Update #else and #endif comments.
20894 [__USE_MISC]: Remove redundant conditionals.
20895 * misc/sys/uio.h: Update #endif comments.
20896 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20897 * posix/glob.h [__USE_MISC]: Likewise.
20898 * posix/sys/types.h: Update #endif comments.
20899 [__USE_MISC]: Remove redundant conditionals.
20900 * posix/sys/wait.h: Update #endif comments.
20901 [__USE_MISC]: Remove redundant conditionals.
20902 * posix/unistd.h: Update #endif comments.
20903 [__USE_MISC]: Remove redundant conditionals.
20904 * pwd/pwd.h [__USE_GNU]: Likewise.
20905 [__USE_MISC]: Likewise.
20906 * resolv/netdb.h [__USE_GNU]: Likewise.
20907 * signal/signal.h: Update #endif comments.
20908 [__USE_MISC]: Remove redundant conditionals.
20909 * stdlib/stdlib.h: Update #else and #endif comments.
20910 [__USE_MISC]: Remove redundant conditionals.
20911 [__USE_GNU]: Likewise.
20912 * string/bits/string2.h [__USE_MISC]: Likewise.
20913 * string/string.h: Update #endif comments.
20914 [__USE_MISC]: Remove redundant conditionals.
20915 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20917 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20918 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20919 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20921 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20925 [__USE_MISC]: Remove redundant conditionals.
20926 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20927 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20928 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20929 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20930 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20932 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20933 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20935 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20936 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20938 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20940 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20941 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20943 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20945 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20946 * sysdeps/x86/bits/string.h: Update #endif comments.
20947 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20949 * time/sys/time.h: Update #endif comments.
20950 * time/time.h: Likewise.
20951 [__USE_MISC]: Remove redundant conditionals.
20953 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20956 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20958 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20960 * Versions.def (librt): Add GLIBC_2.17.
20962 2014-02-21 Adam Conrad <adconrad@0c3.net>
20964 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20965 synonym for _SYS_AUXV_H to allow direct inclusion.
20966 * sysdeps/sparc/bits/hwcap.h: Likewise.
20967 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20968 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20969 * sysdeps/sparc/sysdep.h: Likewise.
20971 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20973 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20975 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20977 * benchtests/bench-strrchr.c: Print length instead of position.
20979 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20982 * sysdeps/unix/sysv/linux/kernel-features.h
20983 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20984 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20985 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20986 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20988 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20989 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20990 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20991 (__ASSUME_SENDMMSG): Define instead of using previous
20992 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20993 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20994 (__ASSUME_SENDMMSG_SYSCALL): Define.
20995 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20996 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20998 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20999 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21001 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21002 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21004 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21005 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21006 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21007 [__ASSUME_SENDMMSG]: Change conditionals to
21008 [__ASSUME_SENDMMSG_SOCKETCALL].
21009 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21010 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21012 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21013 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21015 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21016 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21017 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21018 [!__ASSUME_SENDMMSG]: Change conditional to
21019 [!__ASSUME_SENDMMSG_SOCKETCALL].
21020 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21021 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21025 * sysdeps/unix/sysv/linux/kernel-features.h
21026 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21027 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21028 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21029 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21030 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21031 [__i386__ || __sparc__]
21032 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21033 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21034 (__ASSUME_RECVMMSG): Define instead of using previous
21035 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21036 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21037 (__ASSUME_RECVMMSG_SYSCALL): Define.
21038 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21039 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21041 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21042 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21044 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21045 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21047 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21048 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21049 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21050 [__ASSUME_RECVMMSG]: Change condition to
21051 [__ASSUME_RECVMMSG_SOCKETCALL].
21052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21053 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21055 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21056 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21057 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21059 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21060 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21061 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21062 [!__ASSUME_RECVMMSG]: Change condition to
21063 [!__ASSUME_RECVMMSG_SOCKETCALL].
21064 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21065 (__ASSUME_RECVMMSG_SYSCALL): Define.
21068 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21069 __powerpc__ || __s390__ || __sh__ || __sparc__]
21070 (__ASSUME_SOCKETCALL): Define.
21071 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21072 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21073 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21074 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21075 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21076 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21077 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21078 (__ASSUME_ACCEPT4): Define instead of using previous
21079 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21080 __powerpc__ || __sparc__ || __s390__)] condition.
21081 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21082 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21083 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21084 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21085 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21086 [!__ASSUME_ACCEPT4]: Change condition to
21087 [!__ASSUME_ACCEPT4_SOCKETCALL].
21088 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21089 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21090 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21091 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21092 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21093 __ASSUME_ACCEPT4_SYSCALL.
21094 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21095 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21096 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21097 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21098 __ASSUME_ACCEPT4_SYSCALL.
21099 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21100 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21101 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21102 [__ASSUME_ACCEPT4]: Change condition to
21103 [__ASSUME_ACCEPT4_SOCKETCALL].
21104 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21105 (__ASSUME_SOCKETCALL): Define.
21106 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21107 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21108 (__ASSUME_SOCKETCALL): Define.
21109 (__ASSUME_ACCEPT4): Remove.
21110 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21112 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21113 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21115 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21116 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21118 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21120 (HWCAP_ARM_LPAE): Likewise.
21121 (HWCAP_ARM_EVTSTRM): Likewise.
21122 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21123 Add vpfd32, lpae and evtstrm.
21124 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21127 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21129 * math/auto-libm-test-in: Add tests of clog10.
21130 * math/auto-libm-test-out: Regenerated.
21131 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21132 * sysdeps/i386/fpu/libm-test-ulps: Update.
21133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21135 2014-02-18 Andreas Schwab <schwab@suse.de>
21138 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21139 Store non-zero if the second buffer was newly allocated.
21140 (send_dg): Likewise.
21141 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21142 to send_vc and send_dg.
21143 (res_nsend): Pass NULL for ansp2_malloced.
21144 * resolv/res_query.c (__libc_res_nquery): Add parameter
21145 answerp2_malloced and pass it down to __libc_res_nsend.
21146 (res_nquery): Pass additional NULL to __libc_res_nquery.
21147 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21148 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21149 second answer buffer if answerp2_malloced was set.
21150 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21151 (__libc_res_nquerydomain): Add parameter
21152 answerp2_malloced and pass it down to __libc_res_nquery.
21153 (res_nquerydomain): Pass additional NULL to
21154 __libc_res_nquerydomain.
21155 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21156 additional NULL to __libc_res_nsend and __libc_res_nquery.
21157 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21158 additional NULL to __libc_res_nsearch.
21159 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21160 parameter of __libc_res_nsearch to check for separately allocated
21162 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21164 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21165 additional NULL to __libc_res_nquery.
21166 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21167 __libc_res_nsearch.
21168 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21169 * include/resolv.h: Update prototypes of __libc_res_nquery,
21170 __libc_res_nsearch, __libc_res_nsend.
21172 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21174 * math/auto-libm-test-in: Add tests of fma.
21175 * math/auto-libm-test-out: Regenerated.
21176 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21177 (fma_towardzero_test_data): Likewise.
21178 (fma_downward_test_data): Likewise.
21179 (fma_upward_test_data): Likewise.
21180 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21182 (rounding_modes): Add values for new field.
21183 (func_calc_method): Add value mpfr_fff_f.
21184 (func_calc_desc): Add mpfr_fff_f union field.
21185 (test_function): Add field exact_args.
21186 (FUNC): Add macro argument EXACT_ARGS.
21187 (FUNC_mpfr_f_f): Update call to FUNC.
21188 (FUNC_mpfr_f_f): Likewise.
21189 (FUNC_mpfr_ff_f): Likewise.
21190 (FUNC_mpfr_if_f): Likewise.
21191 (FUNC_mpc_c_f): Likewise.
21192 (FUNC_mpc_c_c): Likewise.
21193 (test_functions): Add fma. Update calls to FUNC.
21194 (handle_input_arg): Add argument exact_args.
21195 (add_test): Update call to handle_input_arg.
21196 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21197 (output_for_one_input_case): Update call to calc_generic_results.
21198 Recalculate exact zero results in each rounding mode.
21200 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21201 non-negative before setting low bit.
21202 * math/auto-libm-test-in: Mark one asin test possibly having
21203 spurious underflow.
21204 * math/auto-libm-test-out: Regenerated.
21205 * sysdeps/i386/fpu/libm-test-ulps: Update.
21206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21208 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21210 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21211 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21212 ports/sysdeps/unix/sysv/linux/microblaze.
21213 * README: Add missing listing for microblaze*-*-linux-gnu.
21215 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
21217 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21220 2014-02-16 Mike Frysinger <vapier@gentoo.org>
21222 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21223 * sysdeps/unix/sysv/linux/ia64: Move directory from
21224 ports/sysdeps/unix/sysv/linux/ia64.
21225 * README: Update listing for ia64-*-linux-gnu.
21227 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21228 Joseph Myers <joseph@codesourcery.com>
21230 * Makeconfig (test-name): New variable.
21231 (evaluate-test): Likewise.
21232 * Makerules (do-test-clean): Remove .test-result files.
21233 (common-mostlyclean): Likewise.
21234 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21235 * scripts/evaluate-test.sh: New file.
21237 2014-02-14 Joseph Myers <joseph@codesourcery.com>
21239 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21240 separate $(objpfx)tst-fopenloc-cmp.out and
21241 $(objpfx)tst-fopenloc-mem.out targets.
21242 (tests): Update dependencies.
21243 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21244 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21245 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21246 (tst-rxspencer-no-utf8-ARGS): New variable.
21247 (tst-rxspencer-no-utf8-ENV): Likewise.
21248 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21249 instead of $(objpfx)tst-rxspencer-mem.
21250 ($(objpfx)tst-rxspencer-mem): Change target to
21251 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
21252 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21253 * posix/tst-rxspencer-no-utf8.c: New file.
21255 * elf/Makefile ($(objpfx)order.out): Remove rule.
21256 [$(run-built-tests) = yes] (tests): Depend on
21257 $(objpfx)order-cmp.out.
21258 ($(objpfx)order-cmp.out): New rule.
21259 [$(run-built-tests) = yes] (tests): Depend on
21260 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21261 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21262 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21263 $(objpfx)tst-array5-static-cmp.out.
21264 ($(objpfx)tst-array1.out): Remove rule.
21265 ($(objpfx)tst-array1-cmp.out): New rule.
21266 ($(objpfx)tst-array1-static.out): Remove rule.
21267 ($(objpfx)tst-array1-static-cmp.out): New rule.
21268 ($(objpfx)tst-array2.out): Remove rule.
21269 ($(objpfx)tst-array2-cmp.out): New rule.
21270 ($(objpfx)tst-array3.out): Remove rule.
21271 ($(objpfx)tst-array3-cmp.out): New rule.
21272 ($(objpfx)tst-array4.out): Remove rule.
21273 ($(objpfx)tst-array4-cmp.out): New rule.
21274 ($(objpfx)tst-array5.out): Remove rule.
21275 ($(objpfx)tst-array5-cmp.out): New rule.
21276 ($(objpfx)tst-array5-static.out): Remove rule.
21277 ($(objpfx)tst-array5-static-cmp.out): New rule.
21278 [$(run-built-tests) = yes] (tests): Depend on
21279 $(objpfx)order2-cmp.out.
21280 ($(objpfx)order2.out): Remove rule.
21281 ($(objpfx)order2-cmp.out): New rule.
21282 ($(objpfx)tst-initorder.out): Remove rule.
21283 [$(run-built-tests) = yes] (tests): Depend on
21284 $(objpfx)tst-initorder-cmp.out.
21285 ($(objpfx)tst-initorder-cmp.out): New rule.
21286 ($(objpfx)tst-initorder2.out): Remove rule.
21287 [$(run-built-tests) = yes] (tests): Depend on
21288 $(objpfx)tst-initorder2-cmp.out.
21289 ($(objpfx)tst-initorder2-cmp.out): New rule.
21290 [$(run-built-tests) = yes] (tests): Depend on
21291 $(objpfx)tst-unused-dep-cmp.out.
21292 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21293 ($(objpfx)tst-unused-dep-cmp.out): New rule.
21294 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21295 on $(objpfx)tst-setvbuf1-cmp.out.
21296 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21297 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21298 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21299 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21300 ($(objpfx)tst-svc.out): Remove rule.
21301 ($(objpfx)tst-svc-cmp.out): New rule.
21303 2014-02-13 Joseph Myers <joseph@codesourcery.com>
21305 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21306 * ctype/ctype.h [__USE_MISC]: Likewise.
21307 * dirent/dirent.h [__USE_MISC]: Likewise.
21308 * grp/grp.h [__USE_MISC]: Likewise.
21309 * io/fcntl.h [__USE_MISC]: Likewise.
21310 * io/sys/stat.h [__USE_MISC]: Likewise.
21311 * libio/stdio.h [__USE_MISC]: Likewise.
21312 * posix/unistd.h [__USE_MISC]: Likewise.
21313 * pwd/pwd.h [__USE_MISC]: Likewise.
21314 * stdlib.h [__USE_MISC]: Likewise.
21315 * string/bits/string2.h [__USE_MISC]: Likewise.
21316 * string/string.h [__USE_MISC]: Likewise.
21317 * time/time.h [__USE_MISC]: Likewise.
21319 2014-02-13 Andreas Schwab <schwab@suse.de>
21322 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21323 second answer buffer if it was separately allocated.
21325 2014-02-12 Joseph Myers <joseph@codesourcery.com>
21327 * sysdeps/mips/math-tests.h: Include <features.h>.
21328 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21329 (ROUNDING_TESTS_long_double): Do not define.
21330 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21331 (EXCEPTION_TESTS_long_double): Likewise.
21332 * sysdeps/mips/mips64/libm-test-ulps: Update.
21334 * include/features.h (__USE_BSD): Remove macro definitions.
21335 (__USE_SVID): Likewise.
21336 (_BSD_SOURCE): Likewise.
21337 (_SVID_SOURCE): Likewise.
21338 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21339 from definition of _DEFAULT_SOURCE.
21340 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21342 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21343 * bits/mman.h [__USE_BSD]: Likewise.
21344 * bits/termios.h [__USE_BSD]: Likewise.
21345 * bits/waitstatus.h [__USE_BSD]: Likewise.
21346 * ctype/ctype.h [__USE_SVID]: Likewise.
21347 * dirent/dirent.h [__USE_BSD]: Likewise.
21348 * grp/grp.h [__USE_SVID]: Likewise.
21349 [__USE_BSD]: Likewise.
21350 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21351 * io/fcntl.h [__USE_BSD]: Likewise.
21352 * io/ftw.h [__USE_BSD]: Likewise.
21353 * io/sys/stat.h [__USE_BSD]: Likewise.
21354 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21355 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21356 * libio/stdio.h [__USE_SVID]: Likewise.
21357 [__USE_BSD]: Likewise.
21358 * math/math.h [__USE_SVID]: Likewise.
21359 [__USE_BSD]: Likewise.
21360 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21361 * misc/bits/syslog.h [__USE_BSD]: Likewise.
21362 * misc/search.h [__USE_SVID]: Likewise.
21363 * misc/sys/mman.h [__USE_BSD]: Likewise.
21364 * misc/sys/syslog.h [__USE_BSD]: Likewise.
21365 * misc/sys/uio.h [__USE_BSD]: Likewise.
21366 * posix/bits/unistd.h [__USE_BSD]: Likewise.
21367 * posix/glob.h [__USE_BSD]: Likewise.
21368 * posix/regex.h [__USE_BSD]: Likewise.
21369 * posix/sys/types.h [__USE_BSD]: Likewise.
21370 [__USE_SVID]: Likewise.
21371 * posix/sys/utsname.h [__USE_SVID]: Likewise.
21372 * posix/sys/wait.h [__USE_BSD]: Likewise.
21373 [__USE_SVID]: Likewise.
21374 * posix/unistd.h [__USE_BSD]: Likewise.
21375 [__USE_SVID]: Likewise.
21376 * pwd/pwd.h [__USE_SVID]: Likewise.
21377 * resolv/netdb.h [__USE_BSD]: Likewise.
21378 * setjmp/setjmp.h [__USE_BSD]: Likewise.
21379 * signal/signal.h [__USE_BSD]: Likewise.
21380 [__USE_SVID]: Likewise.
21381 * socket/sys/socket.h [__USE_BSD]: Likewise.
21382 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21383 * stdlib/stdlib.h [__USE_BSD]: Likewise.
21384 [__USE_SVID]: Likewise.
21385 * string/bits/string2.h [__USE_BSD]: Likewise.
21386 [__USE_SVID]: Likewise.
21387 * string/bits/string3.h [__USE_BSD]: Likewise.
21388 * string/endian.h [__USE_BSD]: Likewise.
21389 * string/string.h [__USE_SVID]: Likewise.
21390 [__USE_BSD]: Likewise.
21391 * string/strings.h [__USE_BSD]: Likewise.
21392 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21393 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21394 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21395 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21396 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21397 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21399 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21401 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21402 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21404 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21405 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21407 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21409 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21410 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21411 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21413 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21415 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21416 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21417 * termios/termios.h [__USE_BSD]: Likewise.
21418 * time/sys/time.h [__USE_BSD]: Likewise.
21419 * time/time.h [__USE_BSD]: Likewise.
21420 [__USE_SVID]: Likewise.
21422 * Makefile (subdir_targets): Remove subdir_lint.out.
21424 * stdio-common/Makefile (do-tst-unbputc): Remove target.
21425 (do-tst-printf): Likewise.
21426 (tests): Depend directly on $(objpfx)tst-unbputc.out and
21427 $(objpfx)tst-printf.out.
21429 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21431 * Makerules (check-abi-%): Change target to
21432 $(objpfx)check-abi-%.out.
21433 (check-abi target): Update dependencies.
21434 (check-abi-pattern variable): Redirect output of diff to $@.
21435 (check-abi variable): Likewise.
21436 * elf/Makefile (check-abi): Update dependencies.
21438 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21440 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21441 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21443 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21444 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21445 value has largest subnormal exponent.
21446 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21447 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21448 * sysdeps/aarch64/soft-fp/sfp-machine.h
21449 (_FP_TININESS_AFTER_ROUNDING): New macro.
21450 * sysdeps/alpha/soft-fp/sfp-machine.h
21451 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21452 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21454 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21455 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21456 * sysdeps/mips/soft-fp/sfp-machine.h
21457 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21458 * sysdeps/powerpc/soft-fp/sfp-machine.h
21459 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21460 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21462 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21463 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21464 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21465 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21466 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21469 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
21472 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21475 2014-02-12 Richard Henderson <rth@redhat.com>
21477 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21478 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21479 * sysdeps/unix/sysv/linux/alpha: Move directory from
21480 ports/sysdeps/unix/sysv/linux/alpha.
21481 * README: Update listing for alpha-*-linux-gnu.
21483 2014-02-11 Joseph Myers <joseph@codesourcery.com>
21485 * include/features.h: Update comment documenting feature test
21487 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
21489 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21490 (_SVID_SOURCE): Likewise.
21491 (_DEFAULT_SOURCE): Update description of default features.
21492 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21494 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21495 (S_ISVTX): Likewise.
21496 * manual/math.texi (Mathematical Constants): Likewise.
21497 * manual/signal.texi (Interrupted Primitives): Likewise.
21498 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21499 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21500 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21501 Don't refer to _SVID_SOURCE in warning text.
21503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21505 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21507 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21508 * sysdeps/mips/dl-lookup.c: Remove.
21509 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21511 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21514 * math/auto-libm-test-in: Add testcase for expl.
21515 * math/auto-libm-test-out: Regenerate.
21516 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21517 calculation of unsafe.
21518 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21520 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21522 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21523 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21524 ports/sysdeps/unix/sysv/linux/aarch64.
21525 * README: Update listing for aarch64*-*-linux-gnu.
21527 2014-02-11 Will Newton <will.newton@linaro.org>
21529 * manual/probes.texi (Mathematical Function Probes): Use
21530 "triggered" instead of "hit".
21532 * manual/probes.texi (Internal Probes): Add documentation
21533 of setjmp, longjmp and longjmp_target probes.
21535 * include/stap-probe.h: Add comment about probe argument
21538 * malloc/mtrace.c (attribute_hidden): Remove unused macro
21539 definition. (tr_where, tr_freehook, tr_mallochook,
21540 tr_reallochook, tr_memalignhook): Use ANSI protoype.
21542 2014-02-11 David S. Miller <davem@davemloft.net>
21544 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21545 processing int_tests.
21547 2014-02-10 Joseph Myers <joseph@codesourcery.com>
21549 * sysdeps/mips: Move directory from ports/sysdeps/mips.
21550 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21551 * sysdeps/unix/sysv/linux/mips: Move directory from
21552 ports/sysdeps/unix/sysv/linux/mips.
21553 * README: Update listing for mips-*-linux-gnu and
21554 mips64-*-linux-gnu.
21556 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21558 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21559 * sysdeps/unix/sysv/linux/m68k: Move directory from
21560 ports/sysdeps/unix/sysv/linux/m68k.
21561 * README: Update listing for m68k-*-linux-gnu.
21563 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21565 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21566 * sysdeps/unix/sysv/linux/generic: Move directory from
21567 ports/sysdeps/unix/sysv/linux/generic.
21568 * sysdeps/unix/sysv/linux/tile: Move directory from
21569 ports/sysdeps/unix/sysv/linux/tile.
21570 * README: Update listing for tile*-*-linux-gnu.
21572 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21574 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21576 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21577 * catgets/open_catalog.c (__open_catalog): Likewise.
21578 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21579 * debug/confstr_chk.c: Likewise.
21580 * debug/fread_chk.c (__fread_chk): Likewise.
21581 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21582 * debug/getgroups_chk.c: Likewise.
21583 * debug/mbsnrtowcs_chk.c: Likewise.
21584 * debug/mbsrtowcs_chk.c: Likewise.
21585 * debug/mbstowcs_chk.c: Likewise.
21586 * debug/memcpy_chk.c: Likewise.
21587 * debug/memmove_chk.c: Likewise.
21588 * debug/mempcpy_chk.c: Likewise.
21589 * debug/memset_chk.c: Likewise.
21590 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21591 * debug/strcat_chk.c (__strcat_chk): Likewise.
21592 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21593 * debug/strncat_chk.c (__strncat_chk): Likewise.
21594 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21595 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21596 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21597 * debug/wcpncpy_chk.c: Likewise.
21598 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21599 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21600 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21601 * debug/wcsncpy_chk.c: Likewise.
21602 * debug/wcsnrtombs_chk.c: Likewise.
21603 * debug/wcsrtombs_chk.c: Likewise.
21604 * debug/wcstombs_chk.c: Likewise.
21605 * debug/wmemcpy_chk.c: Likewise.
21606 * debug/wmemmove_chk.c: Likewise.
21607 * debug/wmempcpy_chk.c: Likewise.
21608 * debug/wmemset_chk.c: Likewise.
21609 * dirent/scandirat.c (SCANDIRAT): Likewise.
21610 * dlfcn/dladdr1.c (dladdr1): Likewise.
21611 * dlfcn/dladdr.c (dladdr): Likewise.
21612 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21613 * dlfcn/dlerror.c (__dlerror): Likewise.
21614 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21615 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21616 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21617 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21618 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21619 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21620 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21621 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21623 * elf/dl-conflict.c: Likewise.
21624 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21625 * elf/dl-dst.h: Likewise.
21626 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21627 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21628 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21629 * elf/dl-init.c (call_init, _dl_init): Likewise.
21630 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21631 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21632 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21634 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21636 * elf/dl-minimal.c (__libc_memalign): Likewise.
21637 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21638 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21639 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21640 * elf/dl-sym.c (do_sym): Likewise.
21641 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21642 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21643 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21644 * elf/dl-writev.h (_dl_writev): Likewise.
21645 * elf/ldconfig.c (search_dir): Likewise.
21646 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21647 (dl_main): Likewise.
21648 * elf/setup-vdso.h (setup_vdso): Likewise.
21649 * grp/compat-initgroups.c (compat_call): Likewise.
21650 * grp/fgetgrent.c (fgetgrent): Likewise.
21651 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21652 * grp/putgrent.c (putgrent): Likewise.
21653 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21655 * hurd/hurdinit.c: Likewise.
21656 * iconvdata/8bit-gap.c (struct): Likewise.
21657 * iconvdata/ansi_x3.110.c : Likewise.
21658 * iconvdata/big5.c : Likewise.
21659 * iconvdata/big5hkscs.c : Likewise.
21660 * iconvdata/cp1255.c: Likewise.
21661 * iconvdata/cp1258.c : Likewise.
21662 * iconvdata/cp932.c : Likewise.
21663 * iconvdata/euc-cn.c: Likewise.
21664 * iconvdata/euc-jisx0213.c : Likewise.
21665 * iconvdata/euc-jp.c: Likewise.
21666 * iconvdata/euc-jp-ms.c : Likewise.
21667 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21668 * iconvdata/gb18030.c : Likewise.
21669 * iconvdata/gbbig5.c (const): Likewise.
21670 * iconvdata/gbgbk.c: Likewise.
21671 * iconvdata/gbk.c : Likewise.
21672 * iconvdata/ibm1364.c : Likewise.
21673 * iconvdata/ibm930.c : Likewise.
21674 * iconvdata/ibm932.c: Likewise.
21675 * iconvdata/ibm933.c : Likewise.
21676 * iconvdata/ibm935.c : Likewise.
21677 * iconvdata/ibm937.c : Likewise.
21678 * iconvdata/ibm939.c : Likewise.
21679 * iconvdata/ibm943.c: Likewise.
21680 * iconvdata/iso_11548-1.c: Likewise.
21681 * iconvdata/iso-2022-cn.c : Likewise.
21682 * iconvdata/iso-2022-cn-ext.c : Likewise.
21683 * iconvdata/iso-2022-jp-3.c: Likewise.
21684 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21685 * iconvdata/iso-2022-kr.c : Likewise.
21686 * iconvdata/iso646.c (gconv_end): Likewise.
21687 * iconvdata/iso_6937-2.c : Likewise.
21688 * iconvdata/iso_6937.c : Likewise.
21689 * iconvdata/iso8859-1.c: Likewise.
21690 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21691 * iconvdata/shift_jisx0213.c : Likewise.
21692 * iconvdata/sjis.c : Likewise.
21693 * iconvdata/t.61.c : Likewise.
21694 * iconvdata/tcvn5712-1.c : Likewise.
21695 * iconvdata/tscii.c: Likewise.
21696 * iconvdata/uhc.c : Likewise.
21697 * iconvdata/unicode.c (gconv_end): Likewise.
21698 * iconvdata/utf-16.c (gconv_end): Likewise.
21699 * iconvdata/utf-32.c (gconv_end): Likewise.
21700 * iconvdata/utf-7.c (base64): Likewise.
21701 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21702 * iconv/gconv_close.c (__gconv_close): Likewise.
21703 * iconv/gconv_open.c (__gconv_open): Likewise.
21704 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21705 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21706 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21707 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21708 (ucs4le_internal_loop_single): Likewise.
21709 * iconv/iconv.c (iconv): Likewise.
21710 * iconv/iconv_close.c: Likewise.
21711 * iconv/loop.c (SINGLE): Likewise.
21712 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21713 * include/atomic.h: Likewise.
21714 * inet/inet6_option.c (option_alloc): Likewise.
21715 * intl/bindtextdom.c (set_binding_values): Likewise.
21716 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21717 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21718 * intl/localealias.c (read_alias_file): Likewise.
21719 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21720 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21721 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21722 * libio/fmemopen.c (fmemopen): Likewise.
21723 * libio/iofgets.c (_IO_fgets): Likewise.
21724 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21725 * libio/iofgetws.c (fgetws): Likewise.
21726 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21727 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21728 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21729 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21730 * locale/findlocale.c (_nl_find_locale): Likewise.
21731 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21732 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21734 * locale/setlocale.c (setlocale): Likewise.
21735 * login/programs/pt_chown.c (main): Likewise.
21736 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21737 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21738 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21739 (mmap, mmap64, mremap, munmap): Likewise.
21740 * math/e_exp2l.c: Likewise.
21741 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21742 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21743 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21744 * math/s_catan.c (__catan): Likewise.
21745 * math/s_catanf.c (__catanf): Likewise.
21746 * math/s_catanh.c (__catanh): Likewise.
21747 * math/s_catanhf.c (__catanhf): Likewise.
21748 * math/s_catanhl.c (__catanhl): Likewise.
21749 * math/s_catanl.c (__catanl): Likewise.
21750 * math/s_ccosh.c (__ccosh): Likewise.
21751 * math/s_ccoshf.c (__ccoshf): Likewise.
21752 * math/s_ccoshl.c (__ccoshl): Likewise.
21753 * math/s_cexp.c (__cexp): Likewise.
21754 * math/s_cexpf.c (__cexpf): Likewise.
21755 * math/s_cexpl.c (__cexpl): Likewise.
21756 * math/s_clog10.c (__clog10): Likewise.
21757 * math/s_clog10f.c (__clog10f): Likewise.
21758 * math/s_clog10l.c (__clog10l): Likewise.
21759 * math/s_clog.c (__clog): Likewise.
21760 * math/s_clogf.c (__clogf): Likewise.
21761 * math/s_clogl.c (__clogl): Likewise.
21762 * math/s_csin.c (__csin): Likewise.
21763 * math/s_csinf.c (__csinf): Likewise.
21764 * math/s_csinh.c (__csinh): Likewise.
21765 * math/s_csinhf.c (__csinhf): Likewise.
21766 * math/s_csinhl.c (__csinhl): Likewise.
21767 * math/s_csinl.c (__csinl): Likewise.
21768 * math/s_csqrt.c (__csqrt): Likewise.
21769 * math/s_csqrtf.c (__csqrtf): Likewise.
21770 * math/s_csqrtl.c (__csqrtl): Likewise.
21771 * math/s_ctan.c (__ctan): Likewise.
21772 * math/s_ctanf.c (__ctanf): Likewise.
21773 * math/s_ctanh.c (__ctanh): Likewise.
21774 * math/s_ctanhf.c (__ctanhf): Likewise.
21775 * math/s_ctanhl.c (__ctanhl): Likewise.
21776 * math/s_ctanl.c (__ctanl): Likewise.
21777 * math/w_pow.c: Likewise.
21778 * math/w_powf.c: Likewise.
21779 * math/w_powl.c: Likewise.
21780 * math/w_scalb.c (sysv_scalb): Likewise.
21781 * math/w_scalbf.c (sysv_scalbf): Likewise.
21782 * math/w_scalbl.c (sysv_scalbl): Likewise.
21783 * misc/error.c (error_tail): Likewise.
21784 * misc/pselect.c (__pselect): Likewise.
21785 * nis/nis_callback.c (__nis_create_callback): Likewise.
21786 * nis/nis_call.c (__nisfind_server): Likewise.
21787 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21788 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21789 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21790 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21791 * nis/nis_lookup.c (nis_lookup): Likewise.
21792 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21793 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21794 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21795 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21796 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21797 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21798 * nis/nss_compat/compat-initgroups.c (add_group)
21799 (internal_getgrent_r): Likewise.
21800 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21801 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21802 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21803 (internal_getspnam_r): Likewise.
21804 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21805 (_nss_nis_getaliasbyname_r): Likewise.
21806 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21807 (_nss_nis_getntohost_r): Likewise.
21808 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21809 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21810 (_nss_nis_getgrgid_r): Likewise.
21811 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21812 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21813 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21814 (_nss_nis_gethostbyname4_r): Likewise.
21815 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21816 (initgroups_netid): Likewise.
21817 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21818 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21819 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21820 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21821 (_nss_nis_getprotobynumber_r): Likewise.
21822 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21823 (_nss_nis_getsecretkey): Likewise.
21824 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21825 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21826 (_nss_nis_getpwuid_r): Likewise.
21827 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21828 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21829 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21830 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21831 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21832 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21833 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21835 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21836 (_nss_nisplus_getntohost_r): Likewise.
21837 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21838 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21839 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21840 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21842 * nis/nss_nisplus/nisplus-initgroups.c
21843 (_nss_nisplus_initgroups_dyn): Likewise.
21844 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21845 (_nss_nisplus_getnetbyaddr_r): Likewise.
21846 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21847 (_nss_nisplus_getprotobynumber_r): Likewise.
21848 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21849 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21850 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21852 * nis/nss_nisplus/nisplus-service.c
21853 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21854 (_nss_nisplus_getservbyport_r): Likewise.
21855 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21856 (_nss_nisplus_getspnam_r): Likewise.
21857 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21859 * nscd/aicache.c (addhstaiX): Likewise.
21860 * nscd/cache.c (cache_search, prune_cache): Likewise.
21861 * nscd/connections.c (register_traced_file, send_ro_fd)
21862 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21863 (main_loop_epoll): Likewise.
21864 * nscd/grpcache.c (addgrbyX): Likewise.
21865 * nscd/hstcache.c (addhstbyX): Likewise.
21866 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21867 * nscd/mem.c (gc, mempool_alloc): Likewise.
21868 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21869 (addinnetgrX): Likewise.
21870 * nscd/nscd-client.h (__nscd_acquire_maplock)
21871 (__nscd_drop_map_ref): Likewise.
21872 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21873 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21874 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21876 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21877 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21878 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21879 (__nscd_get_map_ref): Likewise.
21880 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21881 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21883 * nscd/pwdcache.c (addpwbyX): Likewise.
21884 * nscd/selinux.c (preserve_capabilities): Likewise.
21885 * nscd/servicescache.c (addservbyX): Likewise.
21886 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21887 * posix/fnmatch.c (fnmatch): Likewise.
21888 * posix/getopt.c (_getopt_internal_r): Likewise.
21889 * posix/glob.c (glob, glob_in_dir): Likewise.
21890 * posix/wordexp.c (exec_comm_child): Likewise.
21891 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21892 (getanswer_r, gaih_getanswer_slice): Likewise.
21893 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21894 * resolv/res_init.c: Likewise.
21895 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21896 * resolv/res_query.c (__libc_res_nquery): Likewise.
21897 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21899 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21900 * stdio-common/perror.c (perror): Likewise.
21901 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21902 * stdio-common/tmpnam.c (tmpnam): Likewise.
21903 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21904 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21905 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21907 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21908 * stdlib/putenv.c (putenv): Likewise.
21909 * stdlib/setenv.c (__add_to_environ): Likewise.
21910 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21911 * stdlib/strtol_l.c (INTERNAL): Likewise.
21912 * string/memmem.c (memmem): Likewise.
21913 * string/strerror.c (strerror): Likewise.
21914 * string/strnlen.c (__strnlen): Likewise.
21915 * string/test-memmem.c (simple_memmem): Likewise.
21916 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21917 * sunrpc/pm_getport.c (__get_socket): Likewise.
21918 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21919 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21920 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21921 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21923 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21924 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21925 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21926 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21927 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21928 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21930 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21932 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21933 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21934 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21935 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21936 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21938 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21939 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21940 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21941 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21942 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21943 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21945 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21947 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21949 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21951 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21952 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21953 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21954 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21955 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21956 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21958 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21961 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21962 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21964 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21966 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21968 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21970 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21972 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21973 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21974 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21976 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21977 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21978 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21979 * sysdeps/posix/sleep.c: Likewise.
21980 * sysdeps/posix/tempname.c: Likewise.
21981 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21982 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21984 * sysdeps/powerpc/powerpc32/dl-machine.h
21985 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21986 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21988 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21989 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21991 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21992 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21993 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21994 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21995 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21996 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21997 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21998 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21999 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22000 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22001 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22002 (elf_machine_lazy_rel): Likewise.
22003 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22005 (elf_machine_lazy_rel): Likewise.
22006 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22007 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22008 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22009 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22010 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22011 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22012 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22015 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22016 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22017 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22018 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22019 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22020 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22021 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22022 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22023 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22024 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22025 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22027 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22028 (__posix_fallocate64_l64): Likewise.
22029 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22030 (posix_fallocate): Likewise.
22031 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22033 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22034 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22035 (getifaddrs_internal): Likewise.
22036 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22037 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22038 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22039 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22040 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22041 (__posix_fallocate64_l64): Likewise.
22042 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22044 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22045 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22046 (__get_clockfreq): Likewise.
22047 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22048 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22049 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22051 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22052 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22053 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22054 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22056 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22057 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22058 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22060 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22061 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22062 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22064 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22065 (posix_fallocate): Likewise.
22066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22067 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22068 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22069 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22070 (elf_machine_rela, elf_machine_rela_relative)
22071 (elf_machine_lazy_rel): Likewise.
22072 * time/asctime.c (asctime_internal): Likewise.
22073 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22074 * time/tzset.c (__tzset_parse_tz): Likewise.
22075 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22076 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22077 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22078 * wcsmbs/wcsmbsload.h: Likewise.
22081 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22083 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22084 (arena_get2): Remove THREAD_STATS conditionals.
22085 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22086 (__malloc_stats, int): Likewise.
22088 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22090 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22091 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22093 * manual/setjmp.texi: Fix typos/grammar errors.
22095 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22096 Only return early when n is <= 0. Delete unused return statement.
22098 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22099 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22100 * debug/tst-longjmp_chk3.c: New file.
22102 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22103 (test_main): Replace code with set_fortify_handler call.
22104 * debug/test-strcpy_chk.c: Likewise.
22105 * debug/tst-chk1.c: Likewise.
22106 * debug/tst-longjmp_chk.c: Likewise.
22107 * test-skeleton.c: Include fcntl.h & paths.h
22108 (set_fortify_handler): Define.
22110 * debug/tst-longjmp_chk.c: Add header comment and include
22111 ../test-skeleton.c.
22112 (do_test): Mark static.
22113 (TEST_FUNCTION): Define.
22115 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22116 (IP_PMTUDISC_INTERFACE): Likewise.
22117 (IP_MULTICAST_IF): Likewise.
22118 (IP_MULTICAST_TTL): Likewise.
22119 (IP_MULTICAST_LOOP): Likewise.
22120 (IP_ADD_MEMBERSHIP): Likewise.
22121 (IP_DROP_MEMBERSHIP): Likewise.
22122 (IP_UNBLOCK_SOURCE): Likewise.
22123 (IP_BLOCK_SOURCE): Likewise.
22124 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22125 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22126 (IP_MSFILTER): Likewise.
22127 (MCAST_JOIN_GROUP): Likewise.
22128 (MCAST_BLOCK_SOURCE): Likewise.
22129 (MCAST_UNBLOCK_SOURCE): Likewise.
22130 (MCAST_LEAVE_GROUP): Likewise.
22131 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22132 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22133 (MCAST_MSFILTER): Likewise.
22134 (IP_MULTICAST_ALL): Likewise.
22135 (IP_UNICAST_IF): Likewise.
22137 * timezone/Makefile: Delete $(have-ksh) check.
22138 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22139 * timezone/tzselect.ksh: Add +x mode bits.
22141 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22142 (ANON_INODE_FS_MAGIC): Likewise.
22143 (BDEVFS_MAGIC): Likewise.
22144 (BINFMTFS_MAGIC): Likewise.
22145 (BTRFS_TEST_MAGIC): Likewise.
22146 (CRAMFS_MAGIC_WEND): Likewise.
22147 (DEBUGFS_MAGIC): Likewise.
22148 (ECRYPTFS_SUPER_MAGIC): Likewise.
22149 (EXT3_SUPER_MAGIC): Likewise.
22150 (EXT4_SUPER_MAGIC): Likewise.
22151 (FUTEXFS_SUPER_MAGIC): Likewise.
22152 (HOSTFS_SUPER_MAGIC): Likewise.
22153 (HUGETLBFS_MAGIC): Likewise.
22154 (MINIX3_SUPER_MAGIC): Likewise.
22155 (MTD_INODE_FS_MAGIC): Likewise.
22156 (NILFS_SUPER_MAGIC): Likewise.
22157 (OPENPROM_SUPER_MAGIC): Likewise.
22158 (PIPEFS_MAGIC): Likewise.
22159 (PSTOREFS_MAGIC): Likewise.
22160 (QNX6_SUPER_MAGIC): Likewise.
22161 (RAMFS_MAGIC): Likewise.
22162 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22163 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22164 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22165 (SECURITYFS_MAGIC): Likewise.
22166 (SELINUX_MAGIC): Likewise.
22167 (SMACK_MAGIC): Likewise.
22168 (SOCKFS_MAGIC): Likewise.
22169 (SQUASHFS_MAGIC): Likewise.
22170 (STACK_END_MAGIC): Likewise.
22171 (TMPFS_MAGIC): Likewise.
22172 (USBDEVICE_SUPER_MAGIC): Likewise.
22173 (V9FS_MAGIC): Likewise.
22174 (XENFS_SUPER_MAGIC): Likewise.
22175 (CRAMFS_MAGIC): Fix typo in comment.
22176 (EXT2_SUPER_MAGIC): Update comment.
22177 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22179 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22181 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22182 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22183 * sysdeps/unix/sysv/linux/arm: Move directory from
22184 ports/sysdeps/unix/sysv/linux/arm.
22185 * README: Update listing for arm-*-linux-gnueabi.
22187 * README: Remove mention of am33.
22189 2014-02-07 Roland McGrath <roland@hack.frob.com>
22191 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22192 than the comma operator, to avoid "rhs of comma has no effect"
22194 (__sigfillset, __sigandset, __sigorset): Likewise.
22195 * include/signal.h (__sigemptyset): Likewise.
22196 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22198 2014-02-07 Allan McRae <allan@archlinux.org>
22200 * version.h (RELEASE): Set to "development".
22201 (VERSION): Set to "2.19.90"
22202 * NEWS: Add 2.20 section.
22204 2014-02-06 Carlos O'Donell <carlos@redhat.com>
22207 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22209 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22211 * manual/contrib.texi: Update entry for Carlos O'Donell,
22212 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22214 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
22216 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22218 * sysdeps/unix/sysv/linux/kernel-features.h
22219 [__LINUX_KERNEL_VERSION >= 0x020621]
22220 (__ASSUME_PROC_PID_TASK_COMM): Define.
22222 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22225 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22226 conversion when destination buffer does not have enough space.
22227 * libio/tst-ftell-partial-wide.c: New test case.
22228 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22230 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22231 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22232 Leonard and Allan McRae.
22234 2014-02-04 David S. Miller <davem@davemloft.net>
22236 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22239 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22268 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22270 * nptl/shlib-versions: Change powerpc*le start to 2.17.
22271 * shlib-versions: Likewise.
22273 2014-02-04 Roland McGrath <roland@hack.frob.com>
22274 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22276 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22277 (abilist-pattern): New variable, set to %-le.abilist.
22279 * Makerules (abilist-pattern): New variable.
22280 (vpath): Use $(abilist-pattern) in place of %.abilist.
22281 (check-abi-% pattern rule): Likewise.
22282 (check-abi, update-abi): Likewise.
22284 2014-02-04 Eric Wong <normalperson@yhbt.net>
22286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22288 2014-02-03 Carlos O'Donell <carlos@redhat.com>
22290 * manual/startup.texi: Add next, previous, and top entries for
22291 the `Program Arguments' and `Environment Variables' nodes.
22293 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
22295 * manual/macros.texi: Add comments before MTASC-safety macros.
22297 * manual/users.texi: Document MTASC-safety properties.
22299 * manual/threads.texi (pthread_key_create, pthread_key_delete)
22300 (pthread_getspecific, pthread_setspecific): Format with
22301 @deftypefun, and add @safety note.
22302 * manual/signal.texi: Move comments that analyze the above
22303 functions to their home place.
22305 2014-02-03 Allan McRae <allan@archlinux.org>
22307 * po/sl.po: Update Slovenian translation from translation project.
22309 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
22311 * manual/time.texi (timegm): Add missing blank after @c.
22312 Reported by Joseph Myers <joseph@codesourcery.com>.
22314 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
22316 * manual/check-safety.sh: New.
22317 * manual/Makefile ($(objpfx)stamp-summary): Run it.
22319 * manual/terminal.texi: Document MTASC-safety properties.
22321 * manual/filesys.texi: Document MTASC-safety properties.
22323 * manual/errno.texi: Document MTASC-safety properties.
22325 * manual/intro.texi: Document safety identifiers and
22328 * manual/string.texi (wcstok): Fix prototype.
22329 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22331 * manual/time.texi: Document MTASC-safety properties.
22333 * manual/string.texi: Document MTASC-safety properties.
22335 * manual/threads.texi: Document MTASC-safety properties.
22337 * manual/stdio.texi: Document MTASC-safety properties.
22339 * manual/syslog.texi: Document MTASC-safety properties.
22341 * manual/sysinfo.texi: Document MTASC-safety properties.
22343 * manual/startup.texi: Document MTASC-safety properties.
22345 * manual/socket.texi: Document MTASC-safety properties.
22347 * manual/signal.texi: Document MTASC-safety properties.
22349 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22351 * manual/setjmp.texi: Document MTASC-safety properties.
22353 * manual/search.texi: Document MTASC-safety properties.
22355 * manual/resource.texi: Document MTASC-safety properties.
22357 * manual/process.texi: Document MTASC-safety properties.
22359 * manual/platform.texi: Document MTASC-safety properties.
22361 * manual/pipe.texi: Document MTASC-safety properties.
22363 * manual/pattern.texi: Document MTASC-safety properties.
22365 * manual/message.texi: Document MTASC-safety properties.
22368 * manual/memory.texi: Document MTASC-safety properties.
22370 * manual/math.texi: Document MTASC-safety properties.
22372 * manual/locale.texi: Document MTASC-safety properties.
22374 * manual/llio.texi: Document MTASC-safety properties.
22376 * manual/libdl.texi: New.
22378 * manual/lang.texi: Document MTASC-safety properties.
22380 * manual/job.texi: Document MTASC-safety properties.
22382 * manual/getopt.texi: Document MTASC-safety properties.
22384 * manual/ctype.texi: Document MTASC-safety properties.
22386 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22389 * csu/libc-tls.c (static_map): Remove variable.
22390 (__libc_setup_tls): Use main executable's link map for TLS data.
22391 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22392 casing for LM_ID_BASE and GL(dl_nns).
22393 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22394 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
22395 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22396 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22397 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22399 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22402 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
22404 * manual/debug.texi: Document MTASC-safety properties.
22406 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
22409 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22410 of __x86_64__ when disabling x87 inline functions.
22412 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
22414 * manual/charset.texi: Document MTASC-safety properties.
22416 * manual/crypt.texi: Document MTASC-safety properties.
22418 * manual/conf.texi: Document MTASC-safety properties.
22420 * manual/arith.texi: Document MTASC-safety properties.
22422 * manual/argp.texi: Document MTASC-safety properties.
22424 * manual/macros.texi: Introduce macros to document multi
22425 thread, asynchronous signal and asynchronous cancellation
22427 * manual/intro.texi: Introduce the properties themselves.
22429 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22431 * sysdeps/sh/sh4/Makefile: New file.
22433 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
22435 * math/gen-libm-test.pl ($srcdir): New variable.
22436 ($auto_input): Use it.
22438 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22441 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22442 access beyond array bounds when parsing netgroups file.
22444 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22445 the old buffer before realloc.
22447 2014-01-27 Allan McRae <allan@archlinux.org>
22449 * po/fr.po: Update French translation from translation project.
22451 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22453 * sysdeps/sh/libm-test-ulps: Regenerate.
22455 2014-01-24 David S. Miller <davem@davemloft.net>
22457 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22459 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22461 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22462 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22464 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22467 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22468 string pointers after reallocation.
22470 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22472 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22473 __SH4A__ instead of __SH_FPU_ANY__.
22475 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22477 * sysdeps/sh/fpu_control.h: New file.
22478 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22479 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22480 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22481 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22482 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22483 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22484 * sysdeps/sh/sys/ucontext.h: Remove.
22485 * sysdeps/sh/sys: Remove directory.
22487 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22489 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22490 s390/sys/ucontext.h.
22491 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22492 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22494 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22497 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22499 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22502 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22503 Adjust the vDSO correctly for internal calls.
22504 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22506 2014-01-20 Allan McRae <allan@archlinux.org>
22508 * po/ca.po: Update Catalan translation from translation project.
22510 2014-01-16 Mike Frysinger <vapier@gentoo.org>
22512 * sysdeps/s390/sotruss-lib.c: New file.
22514 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22518 (__GI___gettimeofday): Alias for a different internal symbol to avoid
22519 local calls issues by not having a PLT stub required for IFUNC calls.
22520 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22522 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22524 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22525 * math/test-fpucw-static.c: Likewise.
22527 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22530 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22532 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22534 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22535 implementation for powerpc.
22537 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
22540 * sysdeps/posix/system.c (__libc_system): Do not enable
22541 asynchronous cancellation.
22543 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22546 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22547 handling only for numbers special also in the IEEE case.
22549 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22551 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22553 2014-01-11 Allan McRae <allan@archlinux.org>
22555 * po/bg.po: Update Bulgarian translation from translation project.
22557 * po/de.po: Update German translation from translation project.
22559 2014-01-10 Roland McGrath <roland@hack.frob.com>
22561 * sysdeps/generic/gcc-compat.h: New file.
22563 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22565 * benchtests/asin-inputs: Correct slow inputs.
22566 * benchtests/acos-inputs: Likewise.
22568 2014-01-10 Allan McRae <allan@archlinux.org>
22570 * po:sv.po: Update Swedish translation from translation project.
22572 * po/vi.po: Update Vietnamese translation from translation project.
22574 * po/eo.po: Update Esperanto translation from translation project.
22576 * po/cs.po: Update Czech translation from translation project.
22578 * po/nl.po: Update Dutch translation from translation project.
22580 * po/pl.po: Update Polish translation from translation project.
22582 * po/ru.po: Update Russian translation from translation project.
22584 * po/uk.po: Update Ukrainian translation from translation project.
22586 2014-01-08 Brooks Moses <bmoses@google.com>
22588 * elf/dl-load.c: Fix comment typo.
22590 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22592 * po/header.pot: Rename to...
22593 * po/pot.header: ... this.
22594 * po/Makefile: Use pot.header.
22596 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22597 Maxim Kuvyrkov <maxim@kugelworks.com>
22600 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22601 SRC and DEST against LEN.
22603 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22606 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22608 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22610 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22614 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22617 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22618 for large positive arguments.
22620 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22622 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22624 * math/auto-libm-test-in: Mark various tests with
22625 xfail-rounding:ldbl-128ibm.
22626 * math/auto-libm-test-out: Regenerated.
22629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22630 Increase overflow threshold.
22632 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22635 * stdio-common/vfprintf.c: Check for integer overflow.
22637 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22639 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22640 the first argument and return value of __tls_get_addr_internal.
22642 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22644 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22645 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22647 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22649 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22650 * sysdeps/s390/rtld-global-offsets.sym: New file.
22651 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22653 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22654 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22655 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22657 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22658 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22664 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22665 halfs of GPRs for high_gprs contexts.
22666 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22667 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22669 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22671 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22673 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22674 for high GPRs (uc_high_gprs) and for future extensions
22676 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22677 for future extensions (__reserved).
22678 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22680 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22681 SC_HIGHGPRS offset definition.
22682 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22683 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22685 * Versions.def: Add GLIBC_2.19 for libpthread.
22686 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22687 siglongjmp for libpthread with GLIBC_2.19 symver.
22688 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22689 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22690 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22691 * sysdeps/s390/__longjmp.c: New file.
22692 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22693 * sysdeps/s390/longjmp.c: New file.
22694 * sysdeps/s390/setjmp.S: New file.
22695 * sysdeps/s390/sigjmp.S: New file.
22696 * sysdeps/s390/v1-longjmp.c: New file.
22697 * sysdeps/s390/v1-setjmp.h: New file.
22698 * sysdeps/s390/v1-sigjmp.c: New file.
22699 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22700 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22701 GLIBC_2.19 version.
22702 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22703 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22704 versioned symbols for ____longjmp_chk.
22705 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22715 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22716 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22717 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22718 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22719 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22720 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22721 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22722 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22723 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22724 * sysdeps/s390/rtld-__longjmp.c: New file.
22725 * sysdeps/s390/rtld-setjmp.S: New file.
22727 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22730 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22731 Return -__logl (x) for small positive arguments without evaluating
22734 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22736 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22738 (__ptrace_peeksiginfo_args): ... this.
22739 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22740 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22741 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22743 2014-01-06 Allan McRae <allan@archlinux.org>
22745 * inet/netinet/in.h: Fix typo in comment.
22747 2014-01-05 Andreas Jaeger <aj@suse.de>
22749 * sysdeps/i386/fpu/libm-test-ulps: Update.
22751 2014-01-05 Allan McRae <allan@archlinux.org>
22753 * po/libc.pot: Regenerated.
22755 * malloc/memusagestat.c: Fix gettext call formatting.
22757 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22759 * nscd/nscd.c: Improve usage() output.
22761 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22763 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22764 * sysdeps/unix/sysv/linux/configure: Regenerated.
22765 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22766 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22768 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22771 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22772 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22774 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22776 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22777 extra tokens at end of #undef directive.
22778 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22779 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22780 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22782 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22784 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22786 * math/auto-libm-test-in: Mark various tests with
22787 xfail-rounding:ldbl-128ibm.
22788 * math/auto-libm-test-out: Regenerated.
22790 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22793 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22794 numbers with subnormal high part when calculating exponent.
22797 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22801 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22803 (__ieee754_acoshl): Use __log1pl not __log1p.
22805 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22807 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22808 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22809 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22810 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22811 (reused_arena, arena_get2): Convert to GNU style.
22812 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22813 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22814 (memalign_check, __malloc_set_state): Likewise.
22815 * malloc/mallocbug.c (main): Likewise.
22816 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22817 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22818 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22819 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22820 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22821 (__posix_memalign, malloc_info): Likewise.
22822 * malloc/malloc.h: Likewise.
22823 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22824 (mallochook, memalignhook, reallochook, mabort): Likewise.
22825 * malloc/mcheck.h: Likewise.
22826 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22827 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22828 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22829 * malloc/morecore.c (__default_morecore): Likewise.
22830 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22831 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22832 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22833 (print_and_abort): Likewise.
22834 * malloc/obstack.h: Likewise.
22835 * malloc/set-freeres.c (__libc_freeres): Likewise.
22836 * malloc/tst-mallocstate.c (main): Likewise.
22837 * malloc/tst-mtrace.c (main): Likewise.
22838 * malloc/tst-realloc.c (do_test): Likewise.
22840 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22843 * nscd/netgroupcache.c (do_notfound): New function.
22844 (addgetnetgrentX): Use it.
22847 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22848 NSS_STATUS_NOTFOUND.
22850 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22852 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22855 2014-01-01 Allan McRae <allan@archlinux.org>
22857 * scripts/update-copyrights: Update configure input file suffix.
22859 * NEWS: Update copyright year.
22860 * catgets/gencat.c: Likewise.
22861 * csu/version.c: Likewise.
22862 * debug/catchsegv.sh: Likewise.
22863 * debug/pcprofiledump.c: Likewise.
22864 * debug/xtrace.sh: Likewise.
22865 * elf/ldconfig.c: Likewise.
22866 * elf/ldd.bash.in: Likewise.
22867 * elf/pldd.c: Likewise.
22868 * elf/sotruss.ksh: Likewise.
22869 * elf/sprof.c: Likewise.
22870 * iconv/iconv_prog.c: Likewise.
22871 * iconv/iconvconfig.c: Likewise.
22872 * locale/programs/locale.c: Likewise.
22873 * locale/programs/localedef.c: Likewise.
22874 * login/programs/pt_chown.c: Likewise.
22875 * malloc/memusage.sh: Likewise.
22876 * malloc/memusagestat.c: Likewise.
22877 * malloc/mtrace.pl: Likewise.
22878 * manual/libc.texinfo: Likewise.
22879 * nscd/nscd.c: Likewise.
22880 * nss/getent.c: Likewise.
22881 * nss/makedb.c: Likewise.
22882 * posix/getconf.c: Likewise.
22883 * scripts/test-installation.pl: Likewise.
22885 * All files with FSF copyright notices: Update copyright dates
22886 using scripts/update-copyrights.
22887 * intl/plural.c: Regenerated.
22888 * locale/programs/charmap-kw.h: Likewise.
22889 * locale/programs/locfile-kw.h: Likewise.
22891 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22893 * sysdeps/unix/sysv/linux/configure: Regenerated.
22894 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22895 the linux/fanotify.h header.
22896 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22897 HAVE_LINUX_FANOTIFY_H is defined.
22899 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22901 * benchtests/cos-inputs: New inputs.
22902 * benchtests/sin-inputs: Likewise.
22904 * benchtests/atan-inputs: New inputs. Fix name of multiple
22905 precision fallback inputs.
22907 * benchtests/atanh-inputs: New inputs.
22908 * benchtests/tanh-inputs: Likewise.
22910 * benchtests/acosh-inputs: New inputs.
22911 * benchtests/asinh-inputs: Likewise.
22913 * benchtests/cosh-inputs: New inputs.
22914 * benchtests/sinh-inputs: Likewise.
22916 * benchtests/acos-inputs: Add more inputs.
22917 * benchtests/asin-inputs: Likewise.
22919 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22922 * manual/arith.texi: Fix spelling.
22923 * manual/charset.texi: Likewise.
22924 * manual/errno.texi: Likewise.
22925 * manual/filesys.texi: Likewise.
22926 * manual/lang.texi: Likewise.
22927 * manual/llio.texi: Likewise.
22928 * manual/locale.texi: Likewise.
22929 * manual/message.texi: Likewise.
22930 * manual/resource.texi: Likewise.
22931 * manual/search.texi: Likewise.
22932 * manual/setjmp.texi: Likewise.
22933 * manual/stdio.texi: Likewise.
22934 * manual/string.texi: Likewise.
22935 * manual/sysinfo.texi: Likewise.
22936 * manual/time.texi: Likewise.
22938 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22940 * po/sl.po: New file.
22942 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22944 * .gitignore: Add core/.gdbinit/.gdb_history.
22946 2013-12-27 Allan McRae <allan@archlinux.org>
22949 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22950 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22952 2013-12-24 Brooks Moses <bmoses@google.com>
22954 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22955 all compilers that claim C++98 compliance, not just GCC.
22956 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22959 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22961 * NEWS: Restore accidentally deleted bug-fix entries.
22963 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22964 Ondřej Bílka <neleai@seznam.cz>
22967 * malloc/malloc.c (_int_free): Perform sanity check only if we
22970 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22973 * manual/stdio.texi (String Input Conversions): Clarify that character
22974 classes are not supported.
22976 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22980 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22984 Calculate results for small negative arguments directly rather
22985 than using reflection formula with special underflow handling.
22987 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22988 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22989 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22990 (fchflags): Likewise.
22991 (revoke): Likewise.
22992 (setlogin): Likewise.
22993 (sigaltstack): Likewise.
22995 (sigblock): Remove.
22996 (sigsetmask): Likewise.
22998 (waitpid): Likewise.
22999 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23000 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23002 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23003 * sysdeps/unix/bsd/Makefile: ... here.
23004 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23005 * sysdeps/unix/bsd/Versions: ... here.
23006 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23007 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23008 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23009 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23010 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23011 * sysdeps/unix/bsd/sigblock.c: ... here.
23012 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23013 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23014 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23015 * sysdeps/unix/bsd/sigvec.c: ... here.
23016 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23017 * sysdeps/unix/bsd/tcdrain.c: ... here.
23018 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23019 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23020 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23021 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23022 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23023 * sysdeps/unix/bsd/wait.c: ... here.
23024 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23025 * sysdeps/unix/bsd/wait3.c: ... here.
23026 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23027 * sysdeps/unix/bsd/waitpid.c: ... here.
23029 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23032 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23033 round-to-nearest for [!USE_AS_EXPM1L].
23034 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23035 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23036 more tests of exp and exp10. Expect some exp10 tests to miss
23037 exceptions or fail in directed rounding modes.
23038 * math/auto-libm-test-out: Regenerated.
23039 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23040 (exp10_test_tonearest): New function.
23041 (exp10_towardzero_test_data): New array.
23042 (exp10_test_towardzero): New function.
23043 (exp10_downward_test_data): New array.
23044 (exp10_test_downward): New function.
23045 (exp10_upward_test_data): New array.
23046 (exp10_test_upward): New function.
23047 (main): Call the new functions.
23048 * sysdeps/i386/fpu/libm-test-ulps: Update.
23049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23051 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23053 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23054 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23055 * math/auto-libm-test-out: Regenerated.
23056 * math/libm-test.inc (acosh_test_data): Add more tests.
23057 (atanh_test_data): Likewise.
23058 (ceil_test_data): Likewise.
23059 (copysign_test_data): Likewise.
23060 * sysdeps/i386/fpu/libm-test-ulps: Update.
23061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23063 * timezone/checktab.awk: Update from tzcode 2013i.
23064 * timezone/private.h: Likewise.
23065 * timezone/scheck.c: Likewise.
23066 * timezone/tzfile.h: Likewise.
23067 * timezone/tzselect.ksh: Likewise.
23068 * timezone/zdump.c: Likewise.
23069 * timezone/zic.c: Likewise.
23071 * math/auto-libm-test-in: Add tests of cpow.
23072 * math/auto-libm-test-out: Regenerated.
23073 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23074 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23076 (func_calc_desc): Add mpc_cc_c union field.
23077 (test_functions): Add cpow.
23078 (special_fill_2pi): New function.
23079 (special_real_inputs): Add 2pi.
23080 (calc_generic_results): Handle mpc_cc_c.
23081 * sysdeps/i386/fpu/libm-test-ulps: Update.
23082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23084 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23085 csqrt, ctan and ctanh.
23086 * math/auto-libm-test-out: Regenerated.
23087 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23088 (TEST_COND_x86): Likewise.
23089 (ccos_test_data): Use AUTO_TESTS_c_c.
23090 (ccosh_test_data): Likewise.
23091 (cexp_test_data): Likewise.
23092 (clog_test_data): Likewise.
23093 (csqrt_test_data): Likewise.
23094 (ctan_test_data): Likewise.
23095 (ctan_tonearest_test_data): Likewise.
23096 (ctan_towardzero_test_data): Likewise.
23097 (ctan_downward_test_data): Likewise.
23098 (ctan_upward_test_data): Likewise.
23099 (ctanh_test_data): Likewise.
23100 (ctanh_tonearest_test_data): Likewise.
23101 (ctanh_towardzero_test_data): Likewise.
23102 (ctanh_downward_test_data): Likewise.
23103 (ctanh_upward_test_data): Likewise.
23104 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23106 (func_calc_desc): Add mpc_c_c union field.
23107 (FUNC_mpc_c_c): New macro.
23108 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23109 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23111 (special_fill_min_subnorm_p120): New function.
23112 (special_real_inputs): Add min_subnorm_p120.
23113 (calc_generic_results): Handle mpc_c_c.
23114 * sysdeps/i386/fpu/libm-test-ulps: Update.
23115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23117 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23119 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23120 (do_sin_slow): New functions.
23121 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23122 (cslow2, csloww1, csloww2): Use the new functions.
23124 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23125 Use M to change sign of result instead of X. Assume X is
23127 (csloww1): Likewise.
23131 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23132 arguments A and DA.
23136 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23138 (sloww1): Don't adjust sign of DX.
23139 (csloww1): Likewise.
23140 (sloww2): Use X directly and don't adjust sign of DX.
23141 (csloww2): Likewise.
23143 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23145 * math/auto-libm-test-in: Add tests of cabs and carg.
23146 * math/auto-libm-test-out: Regenerated.
23147 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23148 (carg_test_data): Likewise.
23149 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23151 (func_calc_desc): Add mpc_c_f union field.
23152 (test_functions): Add cabs and carg.
23153 (calc_generic_results): Handle mpc_c_f.
23155 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23156 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23157 as a macro and a compat symbol.
23158 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23159 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23160 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23161 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23162 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23163 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23165 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23167 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23169 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23171 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23173 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23175 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23176 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23179 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23183 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23185 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23186 trailing whitespace removed.
23187 * scripts/config.guess: Update to version 2013-11-29.
23188 * scripts/config.sub: Update to version 2013-10-01.
23190 * math/auto-libm-test-in: Add tests of sincos.
23191 * math/auto-libm-test-out: Regenerated.
23192 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23193 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23195 (func_calc_desc): Add mpfr_f_11 union field.
23196 (test_functions): Add sincos.
23197 (calc_generic_results): Handle mpfr_f_11.
23198 * sysdeps/i386/fpu/libm-test-ulps: Update.
23199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23201 2013-12-19 Andreas Schwab <schwab@suse.de>
23203 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23205 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23206 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23207 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23209 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23211 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23212 * sysdeps/i386/fpu/libm-test-ulps: Update.
23213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23216 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23217 round-to-nearest mode when using frndint.
23218 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23219 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23220 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23222 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23224 * math/auto-libm-test-out: Regenerated.
23225 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23226 (TEST_COND_x86): Likewise.
23227 (expm1_tonearest_test_data): New array.
23228 (expm1_test_tonearest): New function.
23229 (expm1_towardzero_test_data): New array.
23230 (expm1_test_towardzero): New function.
23231 (expm1_downward_test_data): New array.
23232 (expm1_test_downward): New function.
23233 (expm1_upward_test_data): New array.
23234 (expm1_test_upward): New function.
23235 (main): Run the new test functions.
23236 * sysdeps/i386/fpu/libm-test-ulps: Update.
23237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23239 * include/features.h: Update comment documenting feature test
23240 macros. Mention _DEFAULT_SOURCE in comment.
23241 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23242 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23243 _BSD_SOURCE and _SVID_SOURCE.
23244 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23245 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23246 !_SVID_SOURCE]: Likewise.
23247 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23248 (__USE_POSIX_IMPLICITLY): Define.
23249 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23250 (_POSIX_SOURCE): Undefine and redefine.
23251 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23252 (_POSIX_C_SOURCE): Likewise.
23253 * manual/creature.texi (_DEFAULT_SOURCE): Document.
23254 (Feature Test Macros): Update documentation of default features.
23256 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23258 * benchtests/Makefile: Add bench-strtok.
23259 * benchtests/bench-strtok.c: New file: strtok benchtest.
23261 2013-12-19 Allan McRae <allan@archlinux.org>
23263 * manual/install.texi: Suppress menu for plain text output.
23264 * INSTALL: Regenerated.
23266 2013-12-18 Brooks Moses <bmoses@google.com>
23269 * misc/getauxval.c: Include errno.h.
23270 (__getauxval): Set errno to ENOENT if the requested type is not
23272 * misc/sys/auxv.h (getauxval): Document that it may set errno;
23273 don't declare with __attribute_const__.
23274 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23275 * manual/startup.texi: Document that getauxval sets errno.
23277 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23279 * math/auto-libm-test-in: Add tests of jn and yn.
23280 * math/auto-libm-test-out: Regenerated.
23281 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23282 (yn_test_data): Likewise.
23283 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23285 (func_calc_desc): Add mpfr_if_f union field.
23286 (FUNC_mpfr_if_f): New macro.
23287 (test_functions): Add jn and yn.
23288 (calc_generic_results): Assert type of second input for
23289 mpfr_ff_f. Handle mpfr_if_f.
23290 (output_for_one_input_case): Disable all checking for arguments
23291 fitting floating-point types in case of an integer argument.
23292 * sysdeps/i386/fpu/libm-test-ulps: Update.
23293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23296 Don't expect fegetround reference in libm.so.
23298 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23300 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23301 $(config-cflags-nofma).
23303 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23305 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23306 * math/auto-libm-test-out: Regenerated.
23309 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23310 to determine exponent and adjust argument to have exponent of -1.
23311 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23313 * math/auto-libm-test-out: Regenerated.
23314 * sysdeps/i386/fpu/libm-test-ulps: Update.
23315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23317 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
23319 * manual/probes.texi: Remove cases when per-thread arenas are
23322 2013-12-18 Andreas Schwab <schwab@suse.de>
23324 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23325 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23326 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23327 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23328 * sysdeps/i386/i686/multiarch/Makefile: Update.
23329 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23331 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23333 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23334 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23336 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
23339 Support TZ transition times < 00:00:00.
23340 This is needed for version-3 tz-format files; it supports time
23341 stamps past 2037 for America/Godthab (the only entry in the tz
23342 database for which this change is relevant).
23343 * manual/time.texi (TZ Variable): Document transition times
23344 from -167:59:59 through -00:00:01.
23345 * time/tzset.c (tz_rule): Time of day is now signed.
23346 (__tzset_parse_tz): Parse negative time of day.
23348 Document TZ transition times >= 25:00:00.
23349 * manual/time.texi (TZ Variable): Document transition times from
23350 25:00:00 through 167:59:59. These are already supported, and this
23351 support will help with version-3 tz-format files.
23353 * manual/time.texi (TZ Variable): Modernize North America example
23354 to reflect current (i.e., 2007-and-later) daylight saving rules.
23356 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23358 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23360 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23361 * sysdeps/unix/bsd/bits/stat.h: Likewise.
23362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23364 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23365 * sysdeps/unix/bsd/bsdstat.h: Likewise.
23366 * sysdeps/unix/bsd/clock.c: Likewise.
23367 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23368 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23369 * sysdeps/unix/bsd/init-posix.c: Likewise.
23370 * sysdeps/unix/bsd/poll.c: Likewise.
23371 * sysdeps/unix/bsd/ptsname.c: Likewise.
23372 * sysdeps/unix/bsd/seekdir.c: Likewise.
23373 * sysdeps/unix/bsd/setegid.c: Likewise.
23374 * sysdeps/unix/bsd/seteuid.c: Likewise.
23375 * sysdeps/unix/bsd/setgid.c: Likewise.
23376 * sysdeps/unix/bsd/setrgid.c: Likewise.
23377 * sysdeps/unix/bsd/setruid.c: Likewise.
23378 * sysdeps/unix/bsd/setsid.c: Likewise.
23379 * sysdeps/unix/bsd/setuid.c: Likewise.
23380 * sysdeps/unix/bsd/sigaction.c: Likewise.
23381 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23382 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23383 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23384 * sysdeps/unix/bsd/telldir.c: Likewise.
23385 * sysdeps/unix/bsd/times.c: Likewise.
23386 * sysdeps/unix/bsd/usleep.c: Likewise.
23388 * misc/Makefile (install-lib): Remove libbsd-compat.a.
23389 ($(objpfx)libbsd-compat.a): Remove rule.
23391 * include/features.h (__FAVOR_BSD): Do not define.
23392 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23393 features conflicting with POSIX.
23394 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23395 (_BSD_SOURCE): Remove description of not being a subset of other
23396 feature test macros.
23397 * manual/job.texi (getpgrp): Do not document BSD version.
23398 (getpgid): Do not document by reference to BSD getpgrp.
23399 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23400 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23401 * signal/signal.h [__FAVOR_BSD]: Likewise.
23402 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23403 instead of making contents conditional on [__FAVOR_BSD].
23404 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23406 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23410 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23413 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23414 values below 2**-450, not 2**-500.
23415 * math/auto-libm-test-in: Don't allow spurious underflow from
23417 * math/auto-libm-test-out: Regenerated.
23421 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23422 values of ha and hb and sort them after adjusting subnormal
23424 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23426 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23427 values of ea and eb and sort them after adjusting subnormal
23429 * math/auto-libm-test-in: Do not expect some hypot tests of
23430 subnormals to fail. Add more hypot tests.
23431 * math/auto-libm-test-out: Regenerated.
23433 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23436 * sysdeps/sh/s_fma.c: New file.
23437 * sysdeps/sh/s_fmaf.c: New file.
23438 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
23440 * sysdeps/sh/Implies: Add sh/soft-fp.
23442 2013-12-16 Roland McGrath <roland@hack.frob.com>
23444 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
23445 level of indirection to members `objname', `errstring', `malloced'.
23446 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23447 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
23448 it as the __longjmp argument (just pass 1 instead).
23449 (_dl_catch_error): Initialize C with argument pointers and address of
23450 volatile local ERRCODE rather than copying values out of C at return.
23452 2013-12-16 Joseph Myers <joseph@codesourcery.com>
23454 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23455 * math/auto-libm-test-out: Regenerated.
23456 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23457 (hypot_test_data): Likewise.
23458 (pow_test_data): Likewise.
23459 (pow_tonearest_test_data): Likewise.
23460 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23462 (func_calc_desc): Add mpfr_ff_f union field.
23463 (FUNC_mpfr_ff_f): New macro.
23464 (test_functions): Add atan2, hypot and pow.
23465 (special_fill_min): New function.
23466 (special_fill_minus_min): Likewise.
23467 (special_fill_min_subnorm): Likewise.
23468 (special_fill_minus_min_subnorm): Likewise.
23469 (special_real_inputs): Add min, -min, min_subnorm and
23471 (calc_generic_results): Handle mpfr_ff_f.
23472 * sysdeps/i386/fpu/libm-test-ulps: Update.
23473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23475 2013-12-16 Will Newton <will.newton@linaro.org>
23477 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23478 (Aligned Memory Blocks): Add documentation for aligned_alloc
23479 and suggest it as an alternative to posix_memalign.
23480 (Hooks for Malloc): Document __memalign_hook is also called
23481 for aligned_alloc. (Summary of Malloc): Add summary for
23482 aligned alloc. Document __memalign_hook is also called
23485 2013-12-16 Will Newton <will.newton@linaro.org>
23487 * manual/memory.texi (Malloc Examples): Clarify default
23488 alignment documentation. Suggest posix_memalign rather
23489 than memalign or valloc.
23490 (Aligned Memory Blocks): Remove suggestion to use memalign
23491 or valloc. Remove obsolete comment about BSD.
23492 Document memalign errno values and mark the function obsolete.
23493 Document posix_memalign returned error codes. Mark valloc
23494 as obsolete. (Hooks for Malloc): __memalign_hook is also
23495 called for posix_memalign and valloc.
23496 (Summary of Malloc): Add posix_memalign to function summary.
23497 __memalign_hook is also called for posix_memalign and valloc.
23499 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23501 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23505 (sloww): Use mynumber union. Expand ternary operator into
23506 if-else statements.
23507 (cslow): use mynumber union.
23509 2013-12-16 Allan McRae <allan@archlinux.org>
23511 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23512 * configure: Regenerated.
23514 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23517 * configure.ac: Added --enable-maintainer-mode. Check for
23518 autoconf when enabled.
23519 * configure: Regenerated.
23521 * nscd/nscd.service: New file.
23522 * nscd/nscd.tmpfiles: New file.
23524 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23527 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23528 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23529 * sysdeps/x86_64/multiarch/strstr.c: ... here.
23530 (strstr): Add __strstr_sse2_unaligned ifunc.
23531 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23532 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23533 (strcasestr): Remove __strcasestr_sse42 ifunc.
23534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23538 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23540 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23541 * sysdeps/sh/bits/fenv.h: ... here.
23542 * sysdeps/sh/sh4/fpu/bits: Remove directory.
23544 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23546 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23549 hypotf multiarch implementations.
23550 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23551 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23552 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23553 multiarch hypot for PPC64.
23554 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23555 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23557 multiarch hypotf for PPC64.
23559 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23560 modff multiarch implementations.
23561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23564 multiarch modf for PPC64.
23565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23568 multiarch modff for PPC64.
23570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23571 and logl multiarch implementations.
23572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23575 multiarch logb for PPC64.
23576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23579 multiarch logb for PPC64.
23580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23583 multiarch logb for PPC64.
23585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23586 isinff multiarch implementation.
23587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23591 multiarch isinf for PPC64.
23592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23595 multiarch isinff for PPC64.
23597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23598 finitef multiarch implementation.
23599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23603 multiarch finite for PPC64.
23604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23607 multiarch finitef for PPC64.
23609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23610 lrint multiarch implementation.
23611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23615 multiarch llrint for PPC64.
23616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23617 multiarch lrint for PPC64.
23619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23620 copysignf multiarch implementation.
23621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23626 multiarch copysign for PPC64.
23627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23628 multiarch copysignf for PPC64.
23630 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23631 multiarch implementation.
23632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23640 multiarch llround for PPC64.
23641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23642 multiarch trunc for PPC64.
23643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23644 multiarch truncf for PPC64.
23646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23647 multiarch implementation.
23648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23656 multiarch llround for PPC64.
23657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23658 multiarch round for PPC64.
23659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23660 multiarch roundf for PPC64.
23662 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23663 multiarch implementation.
23664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23672 multiarch llround for PPC64.
23673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23674 multiarch floor for PPC64.
23675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23676 multiarch floorf for PPC64.
23678 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23679 multiarch implementation.
23680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23688 multiarch llround for PPC64.
23689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23690 multiarch ceil for PPC64.
23691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23692 multiarch ceilf for PPC64.
23694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23695 multiarch implementation.
23696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23703 multiarch llround for PPC64.
23704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23705 multiarch lround for PPC64.
23707 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23708 multiarch implementation.
23709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23716 multiarch isnan for PPC64.
23717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23718 multiarch isnanf for PPC64.
23720 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23721 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23722 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23723 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23724 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23727 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23728 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23730 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23733 multiarch implementations.
23734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23735 (__libc_ifunc_impl_list): Likewise.
23736 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23737 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23738 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23739 multiarch stpcpy for PPC64.
23741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23742 multiarch implementations.
23743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23744 (__libc_ifunc_impl_list): Likewise.
23745 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23746 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23747 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23748 multiarch strcpy for PPC64.
23750 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23751 redefine function name.
23752 (_wordcopy_fwd_dest_aligned): Likewise.
23753 (_wordcopy_bwd_aligned): Likewise.
23754 (_wordcopy_bwd_dest_aligned): Likewise.
23755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23756 multiarch implementations.
23757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23758 (__libc_ifunc_impl_list): Likewise.
23759 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23760 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23761 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23762 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23763 multiarch wcscpy for PPC64.
23765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23766 multiarch implementations.
23767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23768 (__libc_ifunc_impl_list): Likewise.
23769 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23770 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23771 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23772 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23773 multiarch wcscpy for PPC64.
23775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23776 multiarch implementations.
23777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23778 (__libc_ifunc_impl_list): Likewise.
23779 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23780 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23781 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23782 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23783 multiarch wcsrchr for PPC64.
23785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23786 multiarch implementations.
23787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23788 (__libc_ifunc_impl_list): Likewise.
23789 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23790 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23791 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23792 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23793 multiarch wcschr for PPC64.
23795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23796 multiarch implementations.
23797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23798 (__libc_ifunc_impl_list): Likewise.
23799 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23800 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23801 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23802 multiarch strchrnul for PPC64.
23804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23807 (__libc_ifunc_impl_list): Likewise.
23808 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23809 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23810 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23811 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23817 (__libc_ifunc_impl_list): Likewise.
23818 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23819 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23820 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23821 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23825 multiarch implementations.
23826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23827 (__libc_ifunc_impl_list): Likewise.
23828 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23829 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23830 strncasecmp for PPC64.
23831 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23832 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23833 multiarch strncasecmp_l for PPC64.
23835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23836 multiarch implementations.
23837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23838 (__libc_ifunc_impl_list): Likewise.
23839 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23840 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23841 multiarch strcasecmp for PPC64.
23842 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23844 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23845 multiarch strcasecmp_l for PPC64.
23847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23850 (__libc_ifunc_impl_list): Likewise.
23851 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23852 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23853 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23859 (__libc_ifunc_impl_list): Likewise.
23860 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23861 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23862 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23868 (__libc_ifunc_impl_list): Likewise.
23869 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23870 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23871 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23872 rawmemrchr for PPC64.
23874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23877 (__libc_ifunc_impl_list): Likewise.
23878 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23879 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23880 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23886 (__libc_ifunc_impl_list): Likewise.
23887 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23888 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23889 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23895 (__libc_ifunc_impl_list): Likewise.
23896 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23897 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23898 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23901 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23902 avoid cretion of __bzero symbol.
23903 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23905 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23907 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23910 multiarch implementations.
23911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23912 (__libc_ifunc_impl_list): Likewise.
23913 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23914 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23915 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23916 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23918 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23919 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23920 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23921 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23922 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23924 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23926 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23930 (__libc_ifunc_impl_list): Likewise.
23931 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23932 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23933 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23934 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23938 multiarch for POWER/PPC64.
23939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23940 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23941 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23942 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23943 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23944 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23945 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23946 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23947 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23950 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23951 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23952 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23953 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23954 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23955 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23956 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23957 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23958 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23959 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23960 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23961 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23962 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23963 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23964 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23973 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23975 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23977 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23979 * benchtests/Makefile (bench): Add exp2 and log2.
23980 (LDLIBS-bench-exp2): Add -lm.
23981 (LDLIBS-bench-log2): Likewise.
23982 * benchtests/exp2-inputs: New inputs file.
23983 * benchtests/log2-inputs: New inputs file.
23984 * benchtests/log-inputs: Add new inputs.
23985 * benchtests/tan-inputs: Likewise.
23987 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23989 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23991 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23992 (csloww2): ... from here.
23994 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23995 instead of structures.
23996 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23997 (POLYNOMIAL): Likewise.
23998 (TAYLOR_SLOW): Likewise.
24004 (sloww1); Likewise.
24005 (sloww2): Likewise.
24006 (bsloww1): Likewise.
24007 (bsloww2): Likewise.
24008 (cslow2): Likewise.
24009 (csloww): Likewise.
24010 (csloww1): Likewise.
24011 (csloww2): Likewise.
24013 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24015 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24016 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24017 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24018 * malloc/hooks.c (realloc_check): Likewise.
24020 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24021 * malloc/arena.c: Remove PER_THREAD conditional.
24022 [!PER_THREAD]: Remove code.
24023 (ptmalloc_unlock_all2): Likewise.
24024 (ptmalloc_init): Likewise.
24025 (_int_new_arena): Likewise.
24026 (arena_get2): Likewise.
24027 * malloc/hooks.c (__malloc_get_state): Likewise.
24028 (__malloc_set_state): Likewise.
24029 * malloc/malloc.c: Likewise.
24030 (struct malloc_state): Likewise.
24031 (struct malloc_par): Likewise.
24032 (__libc_realloc): Likewise.
24033 (__libc_mallopt): Likewise.
24035 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24037 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24039 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24041 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24042 macro to a function. Check for zero perturb_byte.
24043 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24045 * malloc/malloc.c: (force_reg): Remove.
24046 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24047 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24048 force_reg by atomic_forced_read.
24049 * malloc/arena.c (ptmalloc_init): Likewise.
24050 * malloc/hooks.c (top_check): Likewise.
24052 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24056 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24060 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24062 * math/auto-libm-test-in: Add tests of lgamma.
24063 * math/auto-libm-test-out: Regenerated.
24064 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24065 (M_LOG_2_SQRT_PIl): Likewise.
24066 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24067 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24069 (func_calc_desc): Add mpfr_f_f1 union field.
24070 (ARGS1): New macro.
24078 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24079 (test_functions): Add lgamma.
24080 (calc_generic_results): Handle mpfr_f_f1.
24081 * sysdeps/i386/fpu/libm-test-ulps: Update.
24082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24084 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24086 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24087 __mpn_add_n for PowerPC64/POWER7.
24088 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24089 __mpn_sub_n for PowerPC64/POWER7.
24091 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24092 __mpn_addmul_1 for PowerPC64.
24093 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24094 __mpn_submul_1 for PowerPC64.
24095 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24097 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24100 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24103 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24105 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24107 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24109 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24110 add multiarch folders.
24111 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24112 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24113 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24114 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24115 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24116 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24117 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24118 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24119 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24120 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24121 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24130 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24136 multiarch __ieee754_hypot for PowerPC32.
24137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24142 multiarch __ieee754_hypotf for PowerPC32.
24144 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24145 long_double_symbol only if __logbl is defined.
24146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24147 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24149 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24151 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24152 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24153 path for implementation.
24154 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24155 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24157 logb, and logbl multiarch implementations for PowerPC32.
24158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24163 multiarch logb for PowerPC32.
24164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24169 multiarch logbf for PowerPC32.
24170 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24174 multiarch logbl implementation for PowerPC32.
24176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24177 and modff multiarch implementations.
24178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24183 multiarch modf for PowerPC32.
24184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24189 multiarch modff for PowerPC32.
24191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24192 and lrintf multiarch implementations.
24193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24198 multiarch lrint for PowerPC32.
24199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24200 file: multiarch lrintf for PowerPC32.
24202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24203 and lroundf multiarch implementations.
24204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24211 multiarch lround for PowerPC32.
24212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24213 file: multiarch lroundf for PowerPC32.
24215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24216 copysign and copysignf multiarch implementations.
24217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24222 file: multiarch copysign for PowerPC32.
24223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24224 file: multiarch copysignf for PowerPC32.
24226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24227 and truncf multiarch implementations.
24228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24233 multiarch trunc for PowerPC32.
24234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24239 multiarch truncf for PowerPC32.
24241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24242 and roundf multiarch implementations.
24243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24248 multiarch round for PowerPC32.
24249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24254 multiarch roundf for PowerPC32.
24256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24257 and floorf multiarch implementations.
24258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24263 multiarch floor for PowerPC32.
24264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24269 multiarch floorf for PowerPC32.
24271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24272 and ceilf multiarch implementations.
24273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24278 multiarch ceil for PowerPC32.
24279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24284 multiarch ceilf for PowerPC32.
24286 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24288 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24289 FINITEF is defined.
24290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24291 and finitef multiarch implementations.
24292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24297 multiarch finite for PowerPC32.
24298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24301 file: multiarch finitef for PowerPC32.
24303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24304 and isinff multiarch implementations.
24305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24310 multiarch isinf for PowerPC32.
24311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24314 multiarch isinff for PowerPC32.
24316 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24317 alias when __isnan is defined.
24318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24319 and isnanf multiarch implementations.
24320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24329 multiarch isnan for PowerPC32.
24330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24335 multiarch isnanf for PowerPC32.
24337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24338 and sqrtf multiarch implementations.
24339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24344 multiarch sqrt for PowerPC32.
24345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24350 multiarch sqrtf for PowerPC32.
24352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24353 and llroundf multiarch implementations.
24354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24361 file: multiarch llround for PowerPC32.
24362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24363 file: multiarch llroundf for PowerPC32.
24365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24366 multiarch PowerPC32 fpu implementations.
24367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24372 multiarch llrint for PowerPC32.
24373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24382 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24384 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24386 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24388 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24389 multiarch wordcopy for PPC32.
24390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24393 (__libc_ifunc_impl_list): Likewise.
24394 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24395 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24396 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24397 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24398 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24399 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24401 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24406 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24409 multiarch wcscpy for PPC32.
24410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24413 (__libc_ifunc_impl_list): Likewise.
24414 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24415 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24416 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24417 sysdeps/powerpc/power6/wcscpy.c.
24419 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24424 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24427 multiarch wcsrchr for PPC32.
24428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24431 (__libc_ifunc_impl_list): Likewise.
24432 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24433 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24434 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24435 sysdeps/powerpc/power6/wcsrchr.c.
24437 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24443 multiarch wcschr for PPc32.
24444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24447 (__libc_ifunc_impl_list): Likewise.
24448 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24449 * sysdeps/powerpc/power6/wcschr.c: ... to here.
24450 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24451 sysdeps/powerpc/power6/wcschr.c.
24453 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24454 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24456 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24457 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24458 file: multiarch strchr for PPC32.
24459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24462 (__libc_ifunc_impl_list): Likewise.
24464 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24466 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24468 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24470 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24471 multiarch strchrnul for PPC32.
24472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24475 (__libc_ifunc_impl_list): Likewise.
24477 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24479 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24480 multiarch strncasecmp for PPC32.
24481 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24483 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24484 multiarch strncasecmp_l for PPC32.
24485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24486 strncasecmp multiarch objects.
24487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24488 (__libc_ifunc_impl_list): Likewise.
24490 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24492 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24493 multiarch strncasecmp for PPC32.
24494 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24496 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24497 multiarch strcasecmp_l for PPC32.
24498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24501 (__libc_ifunc_impl_list): Likewise.
24503 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24505 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24507 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24508 multiarch strncmp for PPC32.
24509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24512 (__libc_ifunc_impl_list): Likewise.
24514 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24515 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24517 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24518 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24522 (__libc_ifunc_impl_list): Likewise.
24524 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24526 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24528 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24532 (__libc_ifunc_impl_list): Likewise.
24534 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24536 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24538 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24539 multiarch rawmemchr for PPC32.
24540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24543 (__libc_ifunc_impl_list): Likewise.
24545 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24547 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24549 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24550 file: memrchr multiarch for PPC32.
24551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24554 (__libc_ifunc_impl_list): Likewise.
24556 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24557 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24559 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24560 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24561 multiarch memchr for PPC32.
24562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24565 (__libc_ifunc_impl_list): Likewise.
24567 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24568 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24570 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24572 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24573 file: multiarch mempcpy for PPC32.
24574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24577 (__libc_ifunc_impl_list): Likewise.
24579 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24580 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24581 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24582 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24583 multiarch bzero for PPC32.
24584 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24586 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24588 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24589 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24590 file: multiarch memset for PPC32.
24591 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24593 memset multiarch objects.
24594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24595 (__libc_ifunc_impl_list): Likewise.
24597 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24600 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24602 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24606 (__libc_ifunc_impl_list): Likewise.
24608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24609 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24612 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24614 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24616 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24617 multiarch memcpy for PPC32.
24618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24621 (__libc_ifunc_impl_list): Likewise.
24623 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24624 support multiarch for POWER/PPC32.
24625 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24627 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24629 Implies file to make multiarch folder appers before the fpu and
24630 default folder for power4 configuration.
24632 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24634 * scripts/bench.pl: Append volatile keyword to type.
24636 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24638 * sysdeps/sh/sotruss-lib.c: New file.
24639 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24641 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24645 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24648 * math/w_tgamma.c: Include <errno.h>.
24649 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24650 * math/w_tgammaf.c: Include <errno.h>.
24651 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24652 * math/w_tgammal.c: Include <errno.h>.
24653 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24654 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24655 underflow. Add more tgamma tests.
24656 * math/auto-libm-test-out: Regenerated.
24657 * sysdeps/i386/fpu/libm-test-ulps: Update.
24658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24660 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24661 sin, sinh, tan, tanh, tgamma, y0 and y1.
24662 * math/auto-libm-test-out: Regenerated.
24663 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24664 (TEST_COND_x86): Likewise.
24665 (M_E2l): Remove macro.
24667 (M_2_SQRT_PIl): Likewise.
24668 (M_SQRT_PIl): Likewise.
24669 (M_1_DIV_El): Likewise.
24670 (log_test_data): Use AUTO_TESTS_f_f.
24671 (log10_test_data): Likewise.
24672 (log1p_test_data): Likewise.
24673 (log2_test_data): Likewise.
24674 (sin_test_data): Likewise.
24675 (sin_tonearest_test_data): Likewise.
24676 (sin_towardzero_test_data): Likewise.
24677 (sin_downward_test_data): Likewise.
24678 (sin_upward_test_data): Likewise.
24679 (sinh_test_data): Likewise.
24680 (sinh_tonearest_test_data): Likewise.
24681 (sinh_towardzero_test_data): Likewise.
24682 (sinh_downward_test_data): Likewise.
24683 (sinh_upward_test_data): Likewise.
24684 (tan_test_data): Likewise.
24685 (tan_tonearest_test_data): Likewise.
24686 (tan_towardzero_test_data): Likewise.
24687 (tan_downward_test_data): Likewise.
24688 (tan_upward_test_data): Likewise.
24689 (tanh_test_data): Likewise.
24690 (tgamma_test_data): Likewise.
24691 (y0_test_data): Likewise.
24692 (y1_test_data): Likewise.
24693 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24694 (special_real_inputs): Add pi/4.
24695 * sysdeps/i386/fpu/libm-test-ulps: Update.
24696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24698 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24700 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24701 "longjmp_target" static probes.
24702 (__longjmp): Rename to __longjmp_symbol.
24703 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24704 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24705 on which longjmp to generate.
24706 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24707 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24709 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24710 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24711 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24712 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24713 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24714 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24716 __longjmp_symbol based on which __longjmp to generate.
24717 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24719 (setjmp): Rename to setjmp_symbol.
24720 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24721 (_setjmp): Rename to _setjmp_symbol.
24722 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24723 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24724 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24725 which setjmp to generate.
24726 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24727 "longjmp_target" static probes.
24729 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24731 * benchtests/README: Add note about output arguments.
24732 * benchtests/bench-sincos.c: Remove file.
24733 * benchtests/sincos-inputs: New file.
24734 * scripts/bench.pl: Identify output arguments and define
24735 static variables for them.
24737 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24740 * Makefile (INSTALL): Add install-plain.texi as the primary
24742 * manual/install-plain.texi: New file.
24743 * manual/install.texi: Include node directive only for
24744 non-plaintext output.
24746 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24748 * stdlib/longlong.h: Update from GCC.
24752 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24753 * math/w_j0f.c (y0f): Likewise.
24754 * math/w_j0l.c (__y0l): Likewise.
24755 * math/w_j1.c (y1): Likewise.
24756 * math/w_j1f.c (y1f): Likewise.
24757 * math/w_j1l.c (__y1l): Likewise
24758 * math/w_jn.c (yn): Likewise.
24759 * math/w_jnf.c (ynf): Likewise.
24760 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24761 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24762 value for Bessel function domain errors outside _SVID_ mode.
24763 Adjust sign of return value for yn (negative integer, 0).
24764 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24765 by zero in return for negative x and set sign appropriately for
24767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24768 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24769 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24770 expectations in error cases.
24771 (y1_test_data): Likewise.
24772 (yn_test_data): Likewise.
24773 * sysdeps/i386/fpu/libm-test-ulps: Update.
24774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24776 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24778 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24779 "64" to "64-v1". Add "64-v2".
24780 (abi-64-options): Rename to ...
24781 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24782 (abi-64-condition): Rename to ...
24783 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24784 (abi-64-ld-soname): Rename to ...
24785 (abi-64-v1-ld-soname): ... this.
24786 (abi-64-v2-options): Define.
24787 (abi-64-v2-condition): Likewise.
24788 (abi-64-v2-ld-soname): Likewise.
24789 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24790 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24795 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24796 Alan Modra <amodra@gmail.com>
24798 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24799 New versions for use with the ELFv2 ABI.
24800 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24801 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24803 (struct La_ppc64v2_retval): Likewise.
24804 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24805 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24806 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24807 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24808 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24809 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24810 Do not save or restore CR.
24811 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24812 (_dl_profile_resolve): Do no save or restore CR. Support extended
24813 return values for ELFv2 ABI. Fix location of FPR return registers.
24814 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24815 updated values for _CALL_ELF == 2.
24816 (La_regs, La_retval, int_retval): Likewise.
24818 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24820 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24821 (FRAME_MIN_SIZE_PARM): Likewise.
24822 (FRAME_BACKCHAIN): Likewise.
24823 (FRAME_CR_SAVE): Likewise.
24824 (FRAME_LR_SAVE): Likewise.
24825 (FRAME_TOC_SAVE): Likewise.
24826 (FRAME_PARM_SAVE): Likewise.
24827 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24828 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24829 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24830 (call_mcount_parm_offset): New macro.
24831 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24832 (PROF): Use symbolic stack frame offsets.
24833 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24834 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24835 Redefine in terms of FRAME_MIN_SIZE.
24836 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24837 (_dl_profile_resolve): Likewise. Update comment.
24838 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24839 symbols stack frame offsets.
24840 (__sigsetjmp): Likewise.
24841 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24842 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24843 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24844 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24847 (FRAME_BACKCHAIN): Remove.
24848 (FRAME_CR_SAVE): Likewise.
24849 (FRAME_LR_SAVE): Likewise.
24850 (FRAME_COMPILER_DW): Likewise.
24851 (FRAME_LINKER_DW): Likewise.
24852 (FRAME_TOC_SAVE): Likewise.
24853 (FRAME_PARM_SAVE): Likewise.
24854 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24855 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24856 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24858 (CHECK_SP): Use symbolic stack frame offsets.
24859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24860 zone" instead of caller's parameter save area for temp storage.
24861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24862 Likewise. Also, use symbolic stack frame offsets.
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24864 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24865 our own stack frame instead of the caller's.
24866 (__socket): Use symbolic stack frame offsets.
24868 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24869 Alan Modra <amodra@gmail.com>
24871 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24873 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24874 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24875 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24877 (elf_machine_fixup_plt): Call it.
24878 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24880 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24881 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24882 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24883 r2 before calling target.
24885 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24886 Alan Modra <amodra@gmail.com>
24888 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24889 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24890 versions of macros to support ELFv2 ABI.
24891 (LOCALENTRY): New macro.
24892 (ENTRY, EALIGN): Use it.
24893 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24894 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24895 fall through into ENTRY entry point.
24896 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24897 Only define if _CALL_ELF != 2.
24899 (elf_machine_matches_host): Verify ABI version matches.
24900 (RTLD_START): Use LOCALENTRY.
24901 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24902 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24903 (PLT_ENTRY_WORDS): New macro.
24904 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24905 (elf_machine_runtime_setup): Support ELFv2 ABI.
24906 (elf_machine_fixup_plt): Likewise.
24907 (elf_machine_plt_conflict): Likewise.
24908 (resolve_ifunc): Likewise.
24909 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24910 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24913 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24915 (makecontext): Support ELFv2 ABI.
24916 * elf/elf.h (EF_PPC64_ABI): Define.
24918 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24920 * sysdeps/powerpc/powerpc64/sysdep.h
24921 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24922 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24923 (ENTRY) [ASSEMBLER]: ... but instead here ...
24924 (EALIGN) [ASSEMBLER]: ... and here.
24925 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24926 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24927 (ENTRY_2) [!ASSEMBLER]: Use it.
24928 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24929 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24930 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24931 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24932 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24934 Use PPC64_LOAD_FUNCPTR.
24936 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24938 2013-12-04 Alan Modra <amodra@gmail.com>
24940 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24941 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24942 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24943 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24946 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24947 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24948 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24949 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24950 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24952 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24955 (__makecontext): Fix incorrect CFI when backtracing out of
24956 context created via makecontext.
24957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24958 (__setcontext): Fix incorrect CFI during switch to new context.
24959 (__novec_setcontext): Likewise.
24961 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24964 * time/strptime_l.c (__strptime_internal): Allow modifiers
24966 * time/tst-strptime.c (day_tests): Add testcase.
24968 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24970 * scripts/bench.pl: Skip over blank lines.
24972 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24975 * manual/time.texi (Calendar Time): Clarify what timezone functions
24978 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24982 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24984 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24986 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24987 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24988 * debug/memset_chk.c (__memset_chk): Likewise.
24989 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24990 * debug/strncpy_chk.c: Likewise.
24992 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24996 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24997 (__ieee754_exp): For possibly underflowing results, check size of
24998 result and force underflow exception if required.
24999 * math/auto-libm-test-in: Add more tests of exp.
25000 * math/auto-libm-test-out: Regenerated.
25001 * sysdeps/i386/fpu/libm-test-ulps: Update.
25002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25005 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25006 * math/w_exp2f.c (__exp2f): Likewise.
25007 * math/w_exp2l.c (__exp2l): Likewise.
25008 * math/auto-libm-test-in: Do not allow missing errno on exp2
25010 * math/auto-libm-test-out: Regenerated.
25012 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25015 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25016 handle filename validation.
25017 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25020 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25023 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25024 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25025 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25027 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25028 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25029 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25030 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25031 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25032 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25033 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25034 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25035 Add more erfc tests.
25036 * math/auto-libm-test-out: Regenerated.
25037 * sysdeps/i386/fpu/libm-test-ulps: Update.
25038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25040 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25041 exp2, expm1, j0 and j1.
25042 * math/auto-libm-test-out: Regenerated.
25043 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25044 (erfc_test_data): Likewise.
25045 (exp_test_data): Likewise.
25046 (exp_tonearest_test_data): Likewise.
25047 (exp_towardzero_test_data): Likewise.
25048 (exp_downward_test_data): Likewise.
25049 (exp_upward_test_data): Likewise.
25050 (exp10_test_data): Likewise.
25051 (exp2_test_data): Likewise.
25052 (expm1_test_data): Likewise.
25053 (j0_test_data): Likewise.
25054 (j1_test_data): Likewise.
25055 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25056 (input_flag_type): Add flag_xfail_rounding.
25057 (input_flags): Add xfail-rounding.
25058 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25059 (output_for_one_input_case): Handle flag_xfail_rounding.
25060 * sysdeps/i386/fpu/libm-test-ulps: Update.
25061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25063 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25066 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25069 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25072 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25073 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25074 (STAP_PROBE0): New macro.
25075 (STAP_PROBE1): Likewise.
25076 (STAP_PROBE2): Likewise.
25077 (STAP_PROBE3): Likewise.
25078 (STAP_PROBE4): Likewise.
25080 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25082 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25084 2013-12-02 Steve Ellcey <sellcey@mips.com>
25086 * benchtests/Makefile (bench): Add sqrt.
25087 (LDLIBS-bench-sqrt): New.
25088 * benchtests/sqrt-input: New.
25090 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25092 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25093 (GAIH_EAI): Likewise.
25094 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25095 (gaih_inet): Likewise.
25096 (getaddrinfo): Don't use GAIH_EAI.
25098 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25099 (struct gaih): Remove definition.
25101 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25103 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25104 Use HERRNOP directly.
25106 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25110 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25112 * math/gen-auto-libm-tests.c (test_functions): Add more
25113 single-argument functions.
25114 (special_fill_pi_2): New function.
25115 (special_fill_minus_pi_2): Likewise.
25116 (special_fill_pi_6): Likewise.
25117 (special_fill_minus_pi_6): Likewise.
25118 (special_fill_pi_3): Likewise.
25119 (special_fill_2pi_3): Likewise.
25120 (special_fill_e): Likewise.
25121 (special_fill_1_e): Likewise.
25122 (special_fill_e_minus_1): Likewise.
25123 (special_real_inputs): Add more special inputs.
25124 (output_for_one_input_case): Do not require ERANGE on underflow to
25125 zero if round-to-nearest result does not underflow to zero, unless
25126 exact results required.
25127 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25128 atan, atanh, cbrt, cos and cosh.
25129 * math/auto-libm-test-out: Regenerated.
25130 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25131 (acos_tonearest_test_data): Likewise.
25132 (acos_towardzero_test_data): Likewise.
25133 (acos_downward_test_data): Likewise.
25134 (acos_upward_test_data): Likewise.
25135 (acosh_test_data): Likewise.
25136 (asin_test_data): Likewise.
25137 (asin_tonearest_test_data): Likewise.
25138 (asin_towardzero_test_data): Likewise.
25139 (asin_upward_test_data): Likewise.
25140 (asinh_test_data): Likewise.
25141 (atan_test_data): Likewise.
25142 (atanh_test_data): Likewise.
25143 (cbrt_test_data): Likewise.
25144 (cos_test_data): Likewise.
25145 (cos_tonearest_test_data): Likewise.
25146 (cos_towardzero_test_data): Likewise.
25147 (cos_downward_test_data): Likewise.
25148 (cos_upward_test_data): Likewise.
25149 (cosh_test_data): Likewise.
25150 (cosh_tonearest_test_data): Likewise.
25151 (cosh_towardzero_test_data): Likewise.
25152 (cosh_downward_test_data): Likewise.
25153 (cosh_upward_test_data): Likewise.
25154 * sysdeps/i386/fpu/libm-test-ulps: Update.
25155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25157 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25160 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25161 * math/w_exp10f.c (__exp10f): Likewise.
25162 * math/w_exp10l.c (__exp10l): Likewise.
25163 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25164 errno settings in existing tests.
25167 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25168 precision control set to double precision.
25169 * sysdeps/i386/fpu/w_sqrt.c: New file.
25170 * math/auto-libm-test-in: Add more tests.
25171 * math/auto-libm-test-out: Update.
25173 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25174 (sqrt_test_tonearest): New function.
25175 (sqrt_towardzero_test_data): New variable.
25176 (sqrt_test_towardzero): New function.
25177 (sqrt_downward_test_data): New variable.
25178 (sqrt_test_downward): New function.
25179 (sqrt_upward_test_data): New variable.
25180 (sqrt_test_upward): New function.
25181 (main): Call the new functions.
25183 * math/gen-auto-libm-tests.c: New file.
25184 * math/auto-libm-test-in: Likewise.
25185 * math/auto-libm-test-out: New generated file.
25186 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25188 (%beautify): Add generated representations of zero.
25189 (top level): Set $auto_input and call parse_auto_input.
25190 (beautify): Remove trailing "f" from hex float constants.
25191 (parse_args): Handle XFAIL_TEST.
25192 (convert_condition): New function.
25193 (or_value): Likewise.
25194 (or_cond_value): Likewise.
25195 (generate_testfile): Handle AUTO_TESTS_* lines.
25196 (parse_auto_input): New function.
25197 * math/libm-test.inc (XFAIL_TEST): New macro.
25198 (ERRNO_UNCHANGED): Update value.
25199 (ERRNO_EDOM): Likewise.
25200 (ERRNO_ERANGE): Likewise.
25201 (IGNORE_RESULT): Likewise.
25202 (TEST_COND_flt_32): New macro.
25203 (TEST_COND_dbl_64): Likewise.
25204 (TEST_COND_ldbl_96_intel): Likewise.
25205 (TEST_COND_ldbl_96_m68k): Likewise.
25206 (TEST_COND_ldbl_128): Likewise.
25207 (TEST_COND_ldbl_128ibm): Likewise.
25208 (TEST_COND_long32): Likewise.
25209 (TEST_COND_long64): Likewise.
25210 (TEST_COND_before_rounding): Likewise.
25211 (TEST_COND_after_rounding): Likewise.
25212 (enable_test): Handle XFAIL_TEST flag.
25213 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25214 with finite results.
25215 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25216 auto-libm-test-out.
25218 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25219 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25222 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25223 __tls_get_addr_internal instead of __tls_get_offset in order to
25224 avoid GOT pointer dependency. Make rtld export
25225 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25226 __tls_get_addr since we are a __tls_get_offset platform.
25227 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25228 GOT pointer being set up before.
25229 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25231 2013-11-28 Joseph Myers <joseph@codesourcery.com>
25233 * manual/math.texi (Errors in Math Functions): Document accuracy
25237 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25238 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25239 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25240 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25241 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25242 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25243 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25244 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25245 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25246 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25248 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25249 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25250 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25251 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25252 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25254 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25255 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25256 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25257 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25258 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25260 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25262 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25264 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25265 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25266 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25267 atomic-feupdateenv and flt-rounds.
25268 * sysdeps/powerpc/nofpu/Versions (libc): Add
25269 __atomic_feholdexcept, __atomic_feclearexcept,
25270 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25271 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25272 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25273 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25274 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25279 * manual/arith.texi (FP Exceptions): Document that exceptions may
25280 not be raised when matherr is used.
25281 (Math Error Reporting): Document overflow in directed rounding
25282 modes. Document that errno may not be set when finite values are
25283 returned on overflow. Document intent to set errno on underflow
25284 only for underflow to zero.
25287 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25288 round-to-nearest then adjust result for other rounding modes.
25289 * include/fenv.h (fegetround): Use libm_hidden_proto.
25290 * math/fegetround.c (fegetround): Use libm_hidden_def.
25291 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25292 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25293 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25294 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25296 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25297 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25298 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25299 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25301 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25304 * nss/Versions (libnss_files): Add
25305 _nss_files_gethostbyname3_r.
25306 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25308 (HOST_DB_LOOKUP): Remove macro.
25309 (_nss_files_gethostbyname_r): Implement function without the
25310 HOST_DB_LOOKUP macro.
25311 (_nss_files_gethostbyname2_r): Likewise.
25313 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
25315 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25317 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
25319 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25320 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25323 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25325 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25326 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25327 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25328 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25329 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25330 __fe_nomask_env_priv and attribute_hidden.
25331 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25332 (libc_feupdateenv_test_ppc): Likewise.
25333 (libc_feresetround_ppc): Likewise.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25335 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25336 compat_symbol macro.
25337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25338 (__fe_nomask_env): Likewise.
25339 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25341 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25343 * string/Makefile: Remove ifunc tests.
25344 * string/test-string.h: Define TEST_IFUNC.
25345 * string/test-bcopy-ifunc.c: Remove.
25346 * string/test-bzero-ifunc.c: Likewise.
25347 * string/test-memccpy-ifunc.c: Likewise.
25348 * string/test-memchr-ifunc.c: Likewise.
25349 * string/test-memcmp-ifunc.c: Likewise.
25350 * string/test-memcpy-ifunc.c: Likewise.
25351 * string/test-memmem-ifunc.c: Likewise.
25352 * string/test-memmove-ifunc.c: Likewise.
25353 * string/test-mempcpy-ifunc.c: Likewise.
25354 * string/test-memrchr-ifunc.c: Likewise.
25355 * string/test-memset-ifunc.c: Likewise.
25356 * string/test-rawmemchr-ifunc.c: Likewise.
25357 * string/test-stpcpy-ifunc.c: Likewise.
25358 * string/test-stpncpy-ifunc.c: Likewise.
25359 * string/test-strcasecmp-ifunc.c: Likewise.
25360 * string/test-strcasestr-ifunc.c: Likewise.
25361 * string/test-strcat-ifunc.c: Likewise.
25362 * string/test-strchr-ifunc.c: Likewise.
25363 * string/test-strchrnul-ifunc.c: Likewise.
25364 * string/test-strcmp-ifunc.c: Likewise.
25365 * string/test-strcpy-ifunc.c: Likewise.
25366 * string/test-strcspn-ifunc.c: Likewise.
25367 * string/test-strlen-ifunc.c: Likewise.
25368 * string/test-strncasecmp-ifunc.c: Likewise.
25369 * string/test-strncat-ifunc.c: Likewise.
25370 * string/test-strncmp-ifunc.c: Likewise.
25371 * string/test-strncpy-ifunc.c: Likewise.
25372 * string/test-strnlen-ifunc.c: Likewise.
25373 * string/test-strpbrk-ifunc.c: Likewise.
25374 * string/test-strrchr-ifunc.c: Likewise.
25375 * string/test-strspn-ifunc.c: Likewise.
25376 * string/test-strstr-ifunc.c: Likewise.
25378 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25380 * benchtests/Makefile: Remove ifunc tests.
25381 * benchtests/bench-string.h: Define TEST_IFUNC.
25382 * benchtests/bench-bcopy-ifunc.c: Remove.
25383 * benchtests/bench-bzero-ifunc.c: Likewise.
25384 * benchtests/bench-memccpy-ifunc.c: Likewise.
25385 * benchtests/bench-memchr-ifunc.c: Likewise.
25386 * benchtests/bench-memcmp-ifunc.c: Likewise.
25387 * benchtests/bench-memcpy-ifunc.c: Likewise.
25388 * benchtests/bench-memmem-ifunc.c: Likewise.
25389 * benchtests/bench-memmove-ifunc.c: Likewise.
25390 * benchtests/bench-mempcpy-ifunc.c: Likewise.
25391 * benchtests/bench-memrchr-ifunc.c: Likewise.
25392 * benchtests/bench-memset-ifunc.c: Likewise.
25393 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25394 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25395 * benchtests/bench-stpcpy-ifunc.c: Likewise.
25396 * benchtests/bench-stpncpy-ifunc.c: Likewise.
25397 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25398 * benchtests/bench-strcasestr-ifunc.c: Likewise.
25399 * benchtests/bench-strcat-ifunc.c: Likewise.
25400 * benchtests/bench-strchr-ifunc.c: Likewise.
25401 * benchtests/bench-strchrnul-ifunc.c: Likewise.
25402 * benchtests/bench-strcmp-ifunc.c: Likewise.
25403 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25404 * benchtests/bench-strcpy-ifunc.c: Likewise.
25405 * benchtests/bench-strcspn-ifunc.c: Likewise.
25406 * benchtests/bench-strlen-ifunc.c: Likewise.
25407 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25408 * benchtests/bench-strncat-ifunc.c: Likewise.
25409 * benchtests/bench-strncmp-ifunc.c: Likewise.
25410 * benchtests/bench-strncpy-ifunc.c: Likewise.
25411 * benchtests/bench-strnlen-ifunc.c: Likewise.
25412 * benchtests/bench-strpbrk-ifunc.c: Likewise.
25413 * benchtests/bench-strrchr-ifunc.c: Likewise.
25414 * benchtests/bench-strsep-ifunc.c: Likewise.
25415 * benchtests/bench-strspn-ifunc.c: Likewise.
25416 * benchtests/bench-strstr-ifunc.c: Likewise.
25418 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25420 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25422 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25424 * resolv/netdb.h: Use __glibc_reserved instead __unused.
25425 * rt/aio.h: Likewise.
25426 * sysdeps/gnu/bits/utmp.h: Likewise.
25427 * sysdeps/gnu/bits/utmpx.h: Likewise.
25428 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25429 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25430 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25431 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25432 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25433 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25434 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25435 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25436 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25437 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25438 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25439 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25440 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25442 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25443 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25444 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25445 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25446 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25447 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25448 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25449 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25450 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25451 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25452 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25454 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25455 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25456 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25457 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25458 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25459 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25460 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25461 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25462 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25463 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25464 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25465 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25466 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25467 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25468 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25469 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25471 2013-11-25 Carlos O'Donell <carlos@redhat.com>
25474 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25475 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25477 2013-11-25 Joseph Myers <joseph@codesourcery.com>
25479 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25480 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25483 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25485 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25486 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25487 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25488 (__fesetround): Remove define.
25489 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25490 rounding and exceptions handling.
25491 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25492 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25493 (__fe_nomask_env): Likewise.
25494 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25495 __fegetround instead of fegetround.
25496 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25497 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25499 2013-11-21 Roland McGrath <roland@hack.frob.com>
25501 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25504 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25506 2013-11-21 Meador Inge <meadori@codesourcery.com>
25509 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25510 (encrypt_r): Likewise.
25511 * malloc/obstack.h (obstack_free): Likewise.
25512 * posix/unistd.h (encrypt): Likewise.
25514 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
25516 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25517 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25518 DL_CALL_DT_FINI() that call the functions directly.
25519 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25520 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25521 * elf/dl-fini.c: Likewise.
25523 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25525 * malloc/hooks.c (memalign_check): Add alignment rounding.
25526 * malloc/malloc.c (_mid_memalign): New function.
25527 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25528 Implement by calling _mid_memalign.
25529 * manual/probes.texi (Memory Allocation Probes): Remove
25530 memory_valloc_retry and memory_pvalloc_retry.
25532 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25534 * locale/programs/locarchive.c (open_archive): Add const
25535 qualifier to ARCHIVEFNAME and copy default fname to
25539 * libio/tst-widetext.input: Rename Oriya to Odia.
25540 * locale/iso-639.def: Likewise.
25542 * manual/probes.texi (Mathematical Function Probes): Add
25543 documentation for sin, cos, asin and acos probes.
25544 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25545 (__sin32): Add slowasin probe.
25546 (__cos32): Add slowacos probe.
25547 (__mpsin): Add slowsin probe.
25548 (__mpcos): Add slowcos probe.
25550 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25553 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25554 thread-local __sim_exceptions_thread and global
25555 __sim_exceptions_global.
25556 (__sim_disabled_exceptions): Change to thread-local
25557 __sim_disabled_exceptions_thread and global
25558 __sim_disabled_exceptions_global.
25559 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25560 and global __sim_round_mode_global.
25561 (__simulate_exceptions): Use thread-local floating-point state and
25562 set global state from it as needed.
25563 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25564 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25565 __sim_round_mode_thread.
25566 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25567 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25568 and global __sim_exceptions_global.
25569 (__sim_disabled_exceptions): Change to thread-local
25570 __sim_disabled_exceptions_thread and global
25571 __sim_disabled_exceptions_global.
25572 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25573 and global __sim_round_mode_global.
25574 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25575 (SIM_SET_GLOBAL): Likewise.
25576 * sysdeps/powerpc/soft-fp/sfp-machine.h
25577 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25578 __sim_round_mode_thread.
25579 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25580 __sim_disabled_exceptions_thread.
25581 (__sim_exceptions): Change to __sim_exceptions_thread.
25582 (__sim_disabled_exceptions): Change to
25583 __sim_disabled_exceptions_thread.
25584 (__sim_round_mode): Change to __sim_round_mode_thread.
25585 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25586 thread-local floating-point state and set global state from it as
25588 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25589 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25590 (__sim_disabled_exceptions): Remove extern declaration.
25591 (feenableexcept): Use thread-local floating-point state and set
25592 global state from it as needed.
25593 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25594 extern declaration.
25595 (__sim_disabled_exceptions): Likewise.
25596 (__sim_round_mode): Likewise.
25597 (__fegetenv): Use thread-local floating-point state.
25598 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25599 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25600 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25601 floating-point state and set global state from it as needed.
25602 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25603 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25604 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25606 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25607 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25609 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25610 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25611 Use __sim_round_mode_thread.
25612 * math/test-fenv-tls.c: New file.
25613 * math/Makefile (tests): Add test-fenv-tls.
25614 ($(objpfx)test-fenv-tls): Depend on
25615 $(common-objpfx)nptl/libpthread.so.
25617 2013-11-19 Andreas Schwab <schwab@suse.de>
25619 * locale/programs/locale.c (show_info): Decode wordarray elements.
25620 * locale/categories.def (LC_MONETARY): Add element for
25621 _NL_MONETARY_CRNCYSTR.
25622 * locale/C-monetary.c (conversion_rate): New variable.
25623 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25626 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25628 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25629 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25631 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25633 * elf/Makefile (tst-auxv): New test.
25634 * elf/tst-auxv.c: New
25635 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25637 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25639 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25640 (hidden_proto): Caller changed.
25641 (hidden_tls_proto): New macro.
25642 (libc_hidden_tls_proto): Likewise.
25643 (rtld_hidden_tls_proto): Likewise.
25644 (libm_hidden_tls_proto): Likewise.
25645 (libresolv_hidden_tls_proto): Likewise.
25646 (librt_hidden_tls_proto): Likewise.
25647 (libdl_hidden_tls_proto): Likewise.
25648 (libnss_files_hidden_tls_proto): Likewise.
25649 (libnsl_hidden_tls_proto): Likewise.
25650 (libnss_nisplus_hidden_tls_proto): Likewise.
25651 (libutil_hidden_tls_proto): Likewise.
25653 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25656 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25657 (decompose_rpath): Defer expansion to fillin_rpath.
25658 (_dl_init_paths): Pass linkmap to fillin_rpath.
25660 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25662 * benchtests/Makefile: Add strsep.
25663 * benchtests/bench-strsep.c: New file: strsep benchtest.
25664 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25666 2013-11-18 Andreas Schwab <schwab@suse.de>
25668 * locale/programs/locale.c (show_info) [case byte]: Check for
25669 '\377' instead of '\177'.
25670 * locale/C-monetary.c (not_available): Always use "\377".
25671 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25672 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25673 detect unavailable sign_posn locale elements.
25674 * locale/localeconv.c (__localeconv): For grouping and
25675 mon_grouping handle "\177" and "\377" like no grouping.
25676 (INT_ELEM): New macro. Use it to set all numeric members.
25677 * locale/programs/ld-monetary.c (monetary_read)
25678 <tok_mon_grouping>: Normalize single -1 to the empty string.
25679 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25682 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25685 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25686 when we match (nil).
25687 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25689 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25691 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25692 (NO_TEST_INLINE): Update value.
25693 (ERRNO_UNCHANGED): Likewise.
25694 (ERRNO_EDOM): Likewise.
25695 (ERRNO_ERANGE): Likewise.
25696 (IGNORE_RESULT): Likewise.
25697 (check_float_internal): Check signs of NaN results if
25698 TEST_NAN_SIGN used.
25699 (check_complex): Pass TEST_NAN_SIGN flag through to second
25700 check_float_internal call.
25701 (copysign_test_data): Add tests with quiet NaNs as second
25702 argument. Use TEST_NAN_SIGN.
25703 (fabs_test_data): Add test of negative quiet NaN argument. Use
25705 (signbit_test_data): Add tests of quiet NaN argument.
25706 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25708 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25710 (parse_args): Handle function results specified as IGNORE.
25711 * math/libm-test.inc (IGNORE_RESULT): New macro.
25712 (check_float_internal): Do not check numerical result if flag
25714 (check_complex): Pass through IGNORE_RESULT to second
25715 check_float_internal call.
25716 (check_int): Do not check numerical result if flag IGNORE_RESULT
25718 (check_long): Likewise.
25719 (check_bool): Likewise.
25720 (check_longlong): Likewise.
25721 (lrint_test_data): Add tests of infinite and NaN arguments.
25722 (lrint_tonearest_test_data): Likewise.
25723 (lrint_towardzero_test_data): Likewise.
25724 (lrint_downward_test_data): Likewise.
25725 (lrint_upward_test_data): Likewise.
25726 (llrint_test_data): Likewise.
25727 (llrint_tonearest_test_data): Likewise.
25728 (llrint_towardzero_test_data): Likewise.
25729 (llrint_downward_test_data): Likewise.
25730 (llrint_upward_test_data): Likewise.
25731 (lround_test_data): Likewise.
25732 (llround_test_data): Likewise.
25734 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25735 (ERRNO_UNCHANGED): Update value.
25736 (ERRNO_EDOM): Likewise.
25737 (ERRNO_ERANGE): Likewise.
25738 (NO_TEST_INLINE_FLOAT): New macro.
25739 (NO_TEST_INLINE_DOUBLE): Likewise.
25740 (enable_test): New function.
25741 (RUN_TEST_f_f): Check enable_test before running test.
25742 (RUN_TEST_2_f): Likewise.
25743 (RUN_TEST_fff_f): Likewise.
25744 (RUN_TEST_c_f): Likewise.
25745 (RUN_TEST_f_f1): Likewise.
25746 (RUN_TEST_fF_f1): Likewise.
25747 (RUN_TEST_fI_f1): Likewise.
25748 (RUN_TEST_ffI_f1): Likewise.
25749 (RUN_TEST_c_c): Likewise.
25750 (RUN_TEST_cc_c): Likewise.
25751 (RUN_TEST_f_i): Likewise.
25752 (RUN_TEST_f_i_tg): Likewise.
25753 (RUN_TEST_ff_i_tg): Likewise.
25754 (RUN_TEST_f_b): Likewise.
25755 (RUN_TEST_f_b_tg): Likewise.
25756 (RUN_TEST_f_l): Likewise.
25757 (RUN_TEST_f_L): Likewise.
25758 (RUN_TEST_fFF_11): Likewise.
25759 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25761 (cosh_test_data): Likewise.
25762 (exp_test_data): Likewise.
25763 (expm1_test_data): Likewise.
25764 (hypot_test_data): Likewise.
25765 (pow_test_data): Likewise.
25766 (sinh_test_data): Likewise.
25767 (tanh_test_data): Likewise.
25768 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25771 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25772 tests with quiet NaN input and output.
25773 (acosh_test_data): Likewise.
25774 (asin_test_data): Likewise.
25775 (asinh_test_data): Likewise.
25776 (atan_test_data): Likewise.
25777 (atanh_test_data): Likewise.
25778 (atan2_test_data): Likewise.
25779 (cbrt_test_data): Likewise.
25780 (cos_test_data): Likewise.
25781 (cosh_test_data): Likewise.
25782 (erf_test_data): Likewise.
25783 (erfc_test_data): Likewise.
25784 (exp_test_data): Likewise.
25785 (exp10_test_data): Likewise.
25786 (exp2_test_data): Likewise.
25787 (expm1_test_data): Likewise.
25788 (hypot_test_data): Likewise.
25789 (j0_test_data): Likewise.
25790 (j1_test_data): Likewise.
25791 (jn_test_data): Likewise.
25792 (lgamma_test_data): Likewise.
25793 (log_test_data): Likewise.
25794 (log10_test_data): Likewise.
25795 (log1p_test_data): Likewise.
25796 (log2_test_data): Likewise.
25797 (pow_test_data): Likewise.
25798 (scalb_test_data): Likewise.
25799 (sin_test_data): Likewise.
25800 (sincos_test_data): Likewise.
25801 (sinh_test_data): Likewise.
25802 (tan_test_data): Likewise.
25803 (tanh_test_data): Likewise.
25804 (tgamma_test_data): Likewise.
25805 (y0_test_data): Likewise.
25806 (y1_test_data): Likewise.
25807 (yn_test_data): Likewise.
25810 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25811 argument being NaN and avoid computations with second argument in
25813 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25814 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25815 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25817 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25819 * locale/iso-639.def: Add Chitwani Tharu (the).
25821 2013-11-14 Andreas Schwab <schwab@suse.de>
25823 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25824 word instead of empty string.
25826 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25829 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25831 (__fe_nomask_env): Likewise.
25833 2013-11-13 Steve Ellcey <sellcey@mips.com>
25835 * benchtests/bench-timing.h: Include time.h.
25837 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25840 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25842 * sysdeps/unix/sysv/linux/configure: Regenerated.
25844 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25847 * stdlib/strtod_l.c (round_and_return): Do not consider
25848 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25849 exponent one less than half the least subnormal exponent.
25850 * stdlib/test-strtod-round-data: Add more tests.
25851 * stdlib/tst-strtod-round.c (tests): Regenerated.
25853 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25856 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25857 (__fe_mask_env): Likewise.
25858 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25859 libm_hidden_proto and add function prototype.
25860 (__fe_mask_env): Add function prototype.
25861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25862 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25864 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25866 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25868 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25870 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25871 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25873 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25875 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25876 of htab_find_slot().
25878 2013-11-11 David S. Miller <davem@davemloft.net>
25881 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25882 symbol in the non-vis3 case in static builds.
25883 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25884 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25885 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25886 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25888 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25891 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25894 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25896 * benchtests/Makefile: Add bench-strtod.
25897 * benchtests/bench-strtod.c: New file: strtod benchtest
25899 2013-11-11 Andreas Schwab <schwab@suse.de>
25902 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25903 terminating NUL in key length.
25905 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25907 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25908 Add artificial ODP entry for vDSO symbol for PPC64.
25909 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25910 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25912 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25915 * nss/getent.c (services_keys): Recognize services starting with digit.
25917 2013-11-06 David S. Miller <davem@davemloft.net>
25920 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25921 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25923 2013-11-06 Will Newton <will.newton@linaro.org>
25925 * manual/memory.texi (Malloc Examples): Remove register
25926 keyword from examples.
25928 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25930 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25932 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25935 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25936 depending on [__GCC_IEC_559 > 0].
25937 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25938 depending on [__GCC_IEC_559_COMPLEX > 0].
25940 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25942 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25945 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25947 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25949 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25952 * malloc/malloc (malloc_info): Do not handle first bin as
25955 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25957 * locale/iso-639.def: Add Central Nahuatl (nhn).
25959 2013-11-01 Bruno Haible <bruno@clisp.org>
25962 * manual/math.texi (BSD Random): Specify range upper bound as
25965 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25967 * locale/iso-639.def: Add Meadow Mari (mhr).
25969 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25971 [BZ #14752], [BZ #15763]
25972 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25974 * rt/tst_shm.c: Add test for escaping directory.
25976 2013-10-31 Andreas Schwab <schwab@suse.de>
25979 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25980 followed by 'x' as part of digit sequence.
25981 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25983 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25986 * configure.ac: allow GNU Make 4.0 and greater.
25987 * configure: Regenerated.
25989 2013-10-30 Will Newton <will.newton@linaro.org>
25992 * malloc/hooks.c (memalign_check): Limit alignment to the
25993 maximum representable power of two.
25994 * malloc/malloc.c (__libc_memalign): Likewise.
25995 * malloc/tst-memalign.c (do_test): Add test for very
25996 large alignment values.
25997 * malloc/tst-posix_memalign.c (do_test): Likewise.
25999 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26002 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26003 (munmap_chunk): Likewise.
26004 (mremap_chunk): Likewise.
26006 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26009 * stdlib/div.c (div): Remove obsolete code.
26010 * stdlib/ldiv.c (ldiv): Likewise.
26011 * stdlib/lldiv.c (lldiv): Likewise.
26013 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26016 * nss/nss_files/files-XXX.c (get_contents_ret): New
26018 (get_contents): New function.
26019 (internal_getent): Use it. Expand size of LINEBUFLEN.
26021 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26023 * configure.in: Moved to ...
26024 * configure.ac: ... here. Change reference to configure.in
26026 * sysdeps/arm/preconfigure.ac: ... here.
26027 configure.in to configure.ac.
26028 * sysdeps/gnu/configure.in: Moved to ...
26029 * sysdeps/gnu/configure.ac: ... here.
26030 * sysdeps/i386/configure.in: Moved to ...
26031 * sysdeps/i386/configure.ac: ... here.
26032 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26033 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26034 * sysdeps/mach/configure.in: Moved to ...
26035 * sysdeps/mach/configure.ac: ... here.
26036 * sysdeps/mach/hurd/configure.in: Moved to ...
26037 * sysdeps/mach/hurd/configure.ac: ... here.
26038 * sysdeps/powerpc/configure.in: Moved to ...
26039 * sysdeps/powerpc/configure.ac: ... here.
26040 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26041 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26042 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26043 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26044 * sysdeps/s390/s390-32/configure.in: Moved to ...
26045 * sysdeps/s390/s390-32/configure.ac: ... here.
26046 * sysdeps/s390/s390-64/configure.in: Moved to ...
26047 * sysdeps/s390/s390-64/configure.ac: ... here.
26048 * sysdeps/sh/configure.in: Moved to ...
26049 * sysdeps/sh/configure.ac: ... here.
26050 * sysdeps/sparc/configure.in: Moved to ...
26051 * sysdeps/sparc/configure.ac: ... here.
26052 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26053 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26054 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26055 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26056 * sysdeps/x86_64/configure.in: Moved to ...
26057 * sysdeps/x86_64/configure.ac: ... here.
26058 * sysdeps/x86_64/preconfigure.in: Moved to ...
26059 * sysdeps/x86_64/preconfigure.ac: ... here.
26060 * aclocal.m4: Change reference to configure.in to configure.ac.
26061 * config.h.in: Likewise.
26062 * manual/install.texi: Likewise.
26063 * manual/maint.texi: Likewise.
26064 * Makefile: Likewise.
26065 * malloc/Makefile: Likewise.
26066 * nscd/Makefile: Likewise.
26067 * Makeconfig: Change reference to configure.in and
26068 preconfigure.in to configure.ac and preconfigure.ac
26070 * INSTALL: Regenerated.
26071 * configure: Likewise.
26072 * sysdeps/gnu/configure: Likewise.
26073 * sysdeps/i386/configure: Likewise.
26074 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26075 * sysdeps/mach/configure: Likewise.
26076 * sysdeps/mach/hurd/configure: Likewise.
26077 * sysdeps/powerpc/configure: Likewise.
26078 * sysdeps/powerpc/powerpc32/configure: Likewise.
26079 * sysdeps/powerpc/powerpc64/configure: Likewise.
26080 * sysdeps/s390/s390-32/configure: Likewise.
26081 * sysdeps/s390/s390-64/configure: Likewise.
26082 * sysdeps/sh/configure: Likewise.
26083 * sysdeps/sparc/configure: Likewise.
26084 * sysdeps/unix/sysv/linux/configure: Likewise.
26085 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26086 * sysdeps/x86_64/configure: Likewise.
26087 * sysdeps/x86_64/preconfigure: Likewise.
26089 2013-10-29 Andreas Schwab <schwab@suse.de>
26091 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26093 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26095 * benchtests/pow-inputs: Add new inputs.
26097 * benchtests/exp-inputs: Add new inputs.
26099 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26100 conditional check for return value.
26101 (__cos32): Likewise.
26103 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26105 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26106 to provide a boost for large inputs with word alignment.
26107 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26108 implementation based on optimized PPC64 strcpy.
26109 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26110 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26111 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26112 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26114 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26117 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26119 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26122 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26123 * time/tst-strptime.c (day_tests): Add testcase.
26125 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26128 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26130 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26133 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26134 MAP_FAILED on error.
26136 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26139 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26140 heap for large requests.
26142 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26145 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26146 result if the result has no associated interface.
26147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26148 interface for all 127.X.Y.Z addresses.
26150 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26152 * locale/iso-639.def: Add Ligurian (lij)
26154 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26157 * sunrpc/rpc_main.c: Document rpcgen -5.
26159 2013-10-19 Michael Stahl <mstahl@redhat.com>
26161 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26163 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26166 * posix/glob.c: Match only directories when trailing slash is present.
26167 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26168 (main): Add testcase.
26170 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26173 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26175 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26177 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26178 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26179 AUTH_DES and cindex for FIPS 140-2.
26180 (DES Encryption): Add cindex FIPS 46-3.
26182 * locale/locarchive.h (struct locarhandle): Add fname.
26183 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26184 if an optional argument was specified to --list-archive,
26186 * locale/programs/locarchive.c (show_archive_content): Take new
26187 argument fname and pass it via ah.fname to open_archive.
26188 * locale/programs/localedef.h: Update decl.
26189 (open_archive): If AH->fname is non-null, open that file
26190 rather than the default file name, and don't ignore ENOENT.
26191 (create_archive): Set AH.fname to NULL.
26192 (delete_locales_from_archive): Likewise.
26193 (add_locales_to_archive): Likewise.
26194 * locale/programs/locfile.c (write_all_categories): Likewise.
26196 2013-10-18 Joseph Myers <joseph@codesourcery.com>
26197 Aldy Hernandez <aldyh@redhat.com>
26199 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26200 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26201 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26202 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26203 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26204 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26205 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26206 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26207 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26208 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26209 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26210 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26211 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26212 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26213 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26215 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26217 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26219 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26221 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26222 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26224 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26225 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26226 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26227 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26229 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26230 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26231 * sysdeps/powerpc/preconfigure: Likewise.
26232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26234 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26235 Replace contents of file by #include of <fenv_libc.h>.
26236 * sysdeps/powerpc/soft-fp/sfp-machine.h
26237 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26239 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26240 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26241 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26242 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26243 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26244 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26246 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26247 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26250 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26252 Allow copysignl PLT reference to be missing.
26254 2013-10-18 Richard Sandiford <richard@codesourcery.com>
26255 Joseph Myers <joseph@codesourcery.com
26258 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26260 (add_to_tablewc): Assert sequence of wide characters is nonempty.
26262 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26264 * elf/tst-tls-dlinfo.c: Don't include tls.h.
26265 * elf/tst-tls1.c: Likewise.
26266 * elf/tst-tls10.h: Likewise.
26267 * elf/tst-tls14.c: Likewise.
26268 * elf/tst-tls2.c: Likewise.
26269 * elf/tst-tls3.c: Likewise.
26270 * elf/tst-tls4.c: Likewise.
26271 * elf/tst-tls5.c: Likewise.
26272 * elf/tst-tls6.c: Likewise.
26273 * elf/tst-tls7.c: Likewise.
26274 * elf/tst-tls8.c: Likewise.
26275 * elf/tst-tls9.c: Likewise.
26276 * elf/tst-tlsmod1.c: Likewise.
26277 * elf/tst-tlsmod13.c: Likewise.
26278 * elf/tst-tlsmod13a.c: Likewise.
26279 * elf/tst-tlsmod14a.c: Likewise.
26280 * elf/tst-tlsmod16a.c: Likewise.
26281 * elf/tst-tlsmod16b.c: Likewise.
26282 * elf/tst-tlsmod2.c: Likewise.
26283 * elf/tst-tlsmod3.c: Likewise.
26284 * elf/tst-tlsmod4.c: Likewise.
26285 * elf/tst-tlsmod5.c: Likewise.
26286 * elf/tst-tlsmod6.c: Likewise.
26288 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
26291 * malloc/malloc.c: remove checks for statistics.
26293 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26296 * inet/inet_net.c (inet_network): Detect additional invalid strings.
26297 * inet/tst-network.c: Add testcase.
26299 2013-10-17 Andreas Schwab <schwab@suse.de>
26302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26303 to determine canonical name.
26305 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26307 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26308 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26310 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26311 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26312 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26313 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26314 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26315 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26316 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26317 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26318 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26319 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26320 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26321 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26322 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26324 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26325 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26326 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26327 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26328 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26329 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26330 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26331 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26332 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26333 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26334 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26335 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26336 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26337 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26338 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26339 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26340 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26343 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26345 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26348 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26352 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26353 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26354 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26355 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26356 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26357 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26358 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26359 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26360 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26361 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26362 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26364 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26366 2013-10-17 Joseph Myers <joseph@codesourcery.com>
26369 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26370 make result into a quiet NaN.
26372 2013-10-16 Joseph Myers <joseph@codesourcery.com>
26374 * soft-fp/adddf3.c: Fix horizontal whitespace.
26375 * soft-fp/addsf3.c: Likewise.
26376 * soft-fp/addtf3.c: Likewise.
26377 * soft-fp/divdf3.c: Likewise.
26378 * soft-fp/divsf3.c: Likewise.
26379 * soft-fp/divtf3.c: Likewise.
26380 * soft-fp/double.h: Likewise.
26381 * soft-fp/eqdf2.c: Likewise.
26382 * soft-fp/eqsf2.c: Likewise.
26383 * soft-fp/eqtf2.c: Likewise.
26384 * soft-fp/extenddftf2.c: Likewise.
26385 * soft-fp/extended.h: Likewise.
26386 * soft-fp/extendsfdf2.c: Likewise.
26387 * soft-fp/extendsftf2.c: Likewise.
26388 * soft-fp/extendxftf2.c: Likewise.
26389 * soft-fp/fixdfdi.c: Likewise.
26390 * soft-fp/fixdfsi.c: Likewise.
26391 * soft-fp/fixdfti.c: Likewise.
26392 * soft-fp/fixsfdi.c: Likewise.
26393 * soft-fp/fixsfsi.c: Likewise.
26394 * soft-fp/fixsfti.c: Likewise.
26395 * soft-fp/fixtfdi.c: Likewise.
26396 * soft-fp/fixtfsi.c: Likewise.
26397 * soft-fp/fixtfti.c: Likewise.
26398 * soft-fp/fixunsdfdi.c: Likewise.
26399 * soft-fp/fixunsdfsi.c: Likewise.
26400 * soft-fp/fixunsdfti.c: Likewise.
26401 * soft-fp/fixunssfdi.c: Likewise.
26402 * soft-fp/fixunssfsi.c: Likewise.
26403 * soft-fp/fixunssfti.c: Likewise.
26404 * soft-fp/fixunstfdi.c: Likewise.
26405 * soft-fp/fixunstfsi.c: Likewise.
26406 * soft-fp/fixunstfti.c: Likewise.
26407 * soft-fp/floatdidf.c: Likewise.
26408 * soft-fp/floatdisf.c: Likewise.
26409 * soft-fp/floatditf.c: Likewise.
26410 * soft-fp/floatsidf.c: Likewise.
26411 * soft-fp/floatsisf.c: Likewise.
26412 * soft-fp/floatsitf.c: Likewise.
26413 * soft-fp/floattidf.c: Likewise.
26414 * soft-fp/floattisf.c: Likewise.
26415 * soft-fp/floattitf.c: Likewise.
26416 * soft-fp/floatundidf.c: Likewise.
26417 * soft-fp/floatundisf.c: Likewise.
26418 * soft-fp/floatunditf.c: Likewise.
26419 * soft-fp/floatunsidf.c: Likewise.
26420 * soft-fp/floatunsisf.c: Likewise.
26421 * soft-fp/floatunsitf.c: Likewise.
26422 * soft-fp/floatuntidf.c: Likewise.
26423 * soft-fp/floatuntisf.c: Likewise.
26424 * soft-fp/floatuntitf.c: Likewise.
26425 * soft-fp/fmadf4.c: Likewise.
26426 * soft-fp/fmasf4.c: Likewise.
26427 * soft-fp/fmatf4.c: Likewise.
26428 * soft-fp/gedf2.c: Likewise.
26429 * soft-fp/gesf2.c: Likewise.
26430 * soft-fp/getf2.c: Likewise.
26431 * soft-fp/ledf2.c: Likewise.
26432 * soft-fp/lesf2.c: Likewise.
26433 * soft-fp/letf2.c: Likewise.
26434 * soft-fp/muldf3.c: Likewise.
26435 * soft-fp/mulsf3.c: Likewise.
26436 * soft-fp/multf3.c: Likewise.
26437 * soft-fp/negdf2.c: Likewise.
26438 * soft-fp/negsf2.c: Likewise.
26439 * soft-fp/negtf2.c: Likewise.
26440 * soft-fp/op-1.h: Likewise.
26441 * soft-fp/op-2.h: Likewise.
26442 * soft-fp/op-4.h: Likewise.
26443 * soft-fp/op-8.h: Likewise.
26444 * soft-fp/op-common.h: Likewise.
26445 * soft-fp/quad.h: Likewise.
26446 * soft-fp/single.h: Likewise.
26447 * soft-fp/soft-fp.h: Likewise.
26448 * soft-fp/sqrtdf2.c: Likewise.
26449 * soft-fp/sqrtsf2.c: Likewise.
26450 * soft-fp/sqrttf2.c: Likewise.
26451 * soft-fp/subdf3.c: Likewise.
26452 * soft-fp/subsf3.c: Likewise.
26453 * soft-fp/subtf3.c: Likewise.
26454 * soft-fp/truncdfsf2.c: Likewise.
26455 * soft-fp/trunctfdf2.c: Likewise.
26456 * soft-fp/trunctfsf2.c: Likewise.
26457 * soft-fp/trunctfxf2.c: Likewise.
26458 * soft-fp/unorddf2.c: Likewise.
26459 * soft-fp/unordsf2.c: Likewise.
26460 * soft-fp/unordtf2.c: Likewise.
26462 2013-10-15 Joseph Myers <joseph@codesourcery.com>
26464 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26465 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26467 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
26469 * elf/dl-libc.c: Clear initfini list after freeing.
26471 2013-10-14 Joseph Myers <joseph@codesourcery.com>
26473 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26474 * soft-fp/addsf3.c: Likewise.
26475 * soft-fp/addtf3.c: Likewise.
26476 * soft-fp/divdf3.c: Likewise.
26477 * soft-fp/divsf3.c: Likewise.
26478 * soft-fp/divtf3.c: Likewise.
26479 * soft-fp/double.h: Likewise.
26480 * soft-fp/eqdf2.c: Likewise.
26481 * soft-fp/eqsf2.c: Likewise.
26482 * soft-fp/eqtf2.c: Likewise.
26483 * soft-fp/extenddftf2.c: Likewise.
26484 * soft-fp/extended.h: Likewise.
26485 * soft-fp/extendsfdf2.c: Likewise.
26486 * soft-fp/extendsftf2.c: Likewise.
26487 * soft-fp/extendxftf2.c: Likewise.
26488 * soft-fp/fixdfdi.c: Likewise.
26489 * soft-fp/fixdfsi.c: Likewise.
26490 * soft-fp/fixdfti.c: Likewise.
26491 * soft-fp/fixsfdi.c: Likewise.
26492 * soft-fp/fixsfsi.c: Likewise.
26493 * soft-fp/fixsfti.c: Likewise.
26494 * soft-fp/fixtfdi.c: Likewise.
26495 * soft-fp/fixtfsi.c: Likewise.
26496 * soft-fp/fixtfti.c: Likewise.
26497 * soft-fp/fixunsdfdi.c: Likewise.
26498 * soft-fp/fixunsdfsi.c: Likewise.
26499 * soft-fp/fixunsdfti.c: Likewise.
26500 * soft-fp/fixunssfdi.c: Likewise.
26501 * soft-fp/fixunssfsi.c: Likewise.
26502 * soft-fp/fixunssfti.c: Likewise.
26503 * soft-fp/fixunstfdi.c: Likewise.
26504 * soft-fp/fixunstfsi.c: Likewise.
26505 * soft-fp/fixunstfti.c: Likewise.
26506 * soft-fp/floatdidf.c: Likewise.
26507 * soft-fp/floatdisf.c: Likewise.
26508 * soft-fp/floatditf.c: Likewise.
26509 * soft-fp/floatsidf.c: Likewise.
26510 * soft-fp/floatsisf.c: Likewise.
26511 * soft-fp/floatsitf.c: Likewise.
26512 * soft-fp/floattidf.c: Likewise.
26513 * soft-fp/floattisf.c: Likewise.
26514 * soft-fp/floattitf.c: Likewise.
26515 * soft-fp/floatundidf.c: Likewise.
26516 * soft-fp/floatundisf.c: Likewise.
26517 * soft-fp/floatunsidf.c: Likewise.
26518 * soft-fp/floatunsisf.c: Likewise.
26519 * soft-fp/floatuntidf.c: Likewise.
26520 * soft-fp/floatuntisf.c: Likewise.
26521 * soft-fp/floatuntitf.c: Likewise.
26522 * soft-fp/fmadf4.c: Likewise.
26523 * soft-fp/fmasf4.c: Likewise.
26524 * soft-fp/fmatf4.c: Likewise.
26525 * soft-fp/gedf2.c: Likewise.
26526 * soft-fp/gesf2.c: Likewise.
26527 * soft-fp/getf2.c: Likewise.
26528 * soft-fp/ledf2.c: Likewise.
26529 * soft-fp/lesf2.c: Likewise.
26530 * soft-fp/letf2.c: Likewise.
26531 * soft-fp/muldf3.c: Likewise.
26532 * soft-fp/mulsf3.c: Likewise.
26533 * soft-fp/multf3.c: Likewise.
26534 * soft-fp/negdf2.c: Likewise.
26535 * soft-fp/negsf2.c: Likewise.
26536 * soft-fp/negtf2.c: Likewise.
26537 * soft-fp/op-1.h: Likewise.
26538 * soft-fp/op-2.h: Likewise.
26539 * soft-fp/op-4.h: Likewise.
26540 * soft-fp/op-8.h: Likewise.
26541 * soft-fp/op-common.h: Likewise.
26542 * soft-fp/quad.h: Likewise.
26543 * soft-fp/single.h: Likewise.
26544 * soft-fp/soft-fp.h: Likewise.
26545 * soft-fp/sqrtdf2.c: Likewise.
26546 * soft-fp/sqrtsf2.c: Likewise.
26547 * soft-fp/sqrttf2.c: Likewise.
26548 * soft-fp/subdf3.c: Likewise.
26549 * soft-fp/subsf3.c: Likewise.
26550 * soft-fp/subtf3.c: Likewise.
26551 * soft-fp/truncdfsf2.c: Likewise.
26552 * soft-fp/trunctfdf2.c: Likewise.
26553 * soft-fp/trunctfsf2.c: Likewise.
26554 * soft-fp/trunctfxf2.c: Likewise.
26555 * soft-fp/unorddf2.c: Likewise.
26556 * soft-fp/unordsf2.c: Likewise.
26557 * soft-fp/unordtf2.c: Likewise.
26559 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26562 * misc/error.c (error_tail): Fix possible buffer overflow.
26564 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26567 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26570 2013-10-14 P. J. McDermott <pj@pehjota.net>
26573 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26574 testing pipefail option.
26576 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26578 * soft-fp/double.h: Indent preprocessor directives inside #if.
26579 * soft-fp/extended.h: Likewise.
26580 * soft-fp/op-2.h: Likewise.
26581 * soft-fp/op-4.h: Likewise.
26582 * soft-fp/op-common.h: Likewise.
26583 * soft-fp/quad.h: Likewise.
26584 * soft-fp/single.h: Likewise.
26585 * soft-fp/soft-fp.h: Likewise.
26587 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26589 * iconv/iconv_prog.c: Fix typos.
26590 * stdio-common/psiginfo-data.h: Likewise.
26592 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26595 * locale/setlocale.c: Fix typo.
26597 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26600 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26601 signaling NaN arguments.
26602 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26603 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26606 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26607 unordered operands.
26608 * soft-fp/gesf2.c (__gesf2): Likewise.
26609 * soft-fp/getf2.c (__getf2): Likewise.
26610 * soft-fp/ledf2.c (__ledf2): Likewise.
26611 * soft-fp/lesf2.c (__lesf2): Likewise.
26612 * soft-fp/letf2.c (__letf2): Likewise.
26614 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26615 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26616 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26617 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26618 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26619 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26620 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26621 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26622 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26623 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26624 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26625 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26626 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26627 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26628 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26629 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26630 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26631 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26632 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26633 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26634 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26635 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26636 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26637 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26638 * soft-fp/floattidf.c (__floattidf): Likewise.
26639 * soft-fp/floattisf.c (__floattisf): Likewise.
26640 * soft-fp/floattitf.c (__floattitf): Likewise.
26641 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26642 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26643 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26644 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26645 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26646 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26647 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26648 * soft-fp/gesf2.c (__gesf2): Likewise.
26649 * soft-fp/getf2.c (__getf2): Likewise.
26650 * soft-fp/ledf2.c (__ledf2): Likewise.
26651 * soft-fp/lesf2.c (__lesf2): Likewise.
26652 * soft-fp/letf2.c (__letf2): Likewise.
26654 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26655 Undefine and redefine.
26656 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26657 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26658 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26659 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26660 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26661 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26662 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26663 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26664 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26665 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26666 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26667 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26668 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26669 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26670 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26673 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26674 without decrementing exponent if mantissa >= that for the
26675 denominator, not >.
26676 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26677 denominator, not >. Decrement exponent in < case instead of
26678 incrementing in >= case.
26679 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26680 without decrementing exponent if mantissa >= that for the
26681 denominator, not >.
26683 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26684 computing saturated result for unsigned overflow.
26686 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26687 Jeff Law <law@redhat.com>
26689 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26690 (atan2Mp): Add systemtap probe marker.
26691 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26692 (__ieee754_log): Add systemtap probe marker.
26693 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26694 (atanMp): Add systemtap probe marker.
26695 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26696 (tanMp): Add systemtap probe marker.
26697 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26698 (__slowexp): Add systemtap probe marker.
26699 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26700 (__slowpow): Add systemtap probe marker.
26701 * manual/probes.texi: Document probes.
26703 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26706 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26708 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26710 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26711 written to buffer but not flushed.
26712 * libio/iofwrite_u.c: Likewise.
26713 * libio/iopadn.c: Return bytes returned even if EOF was
26715 * libio/iowpadn.c: Likewise.
26716 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26717 if _IO_padn does not write the whole buffer.
26718 [!COMPILE_WPRINTF] (PAD): Likewise.
26720 2013-10-10 David S. Miller <davem@davemloft.net>
26722 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26725 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26727 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26728 instead of FSF address.
26729 * soft-fp/fixdfti.c: Likewise.
26730 * soft-fp/fixsfti.c: Likewise.
26731 * soft-fp/fixtfti.c: Likewise.
26732 * soft-fp/fixunsdfti.c: Likewise.
26733 * soft-fp/fixunssfti.c: Likewise.
26734 * soft-fp/fixunstfti.c: Likewise.
26735 * soft-fp/floattidf.c: Likewise.
26736 * soft-fp/floattisf.c: Likewise.
26737 * soft-fp/floattitf.c: Likewise.
26738 * soft-fp/floatuntidf.c: Likewise.
26739 * soft-fp/floatuntisf.c: Likewise.
26740 * soft-fp/floatuntitf.c: Likewise.
26741 * soft-fp/trunctfxf2.c: Likewise.
26743 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26744 * soft-fp/fixdfti.c: Likewise.
26745 * soft-fp/fixsfti.c: Likewise.
26746 * soft-fp/fixtfti.c: Likewise.
26747 * soft-fp/fixunsdfti.c: Likewise.
26748 * soft-fp/fixunssfti.c: Likewise.
26749 * soft-fp/fixunstfti.c: Likewise.
26750 * soft-fp/floattidf.c: Likewise.
26751 * soft-fp/floattisf.c: Likewise.
26752 * soft-fp/floattitf.c: Likewise.
26753 * soft-fp/floatuntidf.c: Likewise.
26754 * soft-fp/floatuntisf.c: Likewise.
26755 * soft-fp/floatuntitf.c: Likewise.
26756 * soft-fp/trunctfxf2.c: Likewise.
26758 2013-10-10 David S. Miller <davem@davemloft.net>
26760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26762 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26764 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26765 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26766 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26767 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26768 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26769 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26770 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26772 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26773 for NaNs before doing comparisons on argument.
26774 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26777 2013-10-10 Will Newton <will.newton@linaro.org>
26779 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26780 passed to _int_memalign does not overflow.
26782 2013-10-10 Torvald Riegel <triegel@redhat.com>
26784 * scripts/bench.pl: Add include-sources directive.
26785 * benchtests/README: Update documentation.
26787 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26789 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26790 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26791 instead of FP_INIT_ROUNDMODE.
26792 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26793 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26796 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26797 copy class of input value.
26798 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26799 not handle exceptions.
26800 * soft-fp/negsf2.c (__negsf2): Likewise.
26801 * soft-fp/negtf2.c (__negtf2): Likewise.
26802 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26804 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26806 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26807 semicolon. From Linux kernel.
26809 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26811 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26813 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26816 * manual/socket.texi: Added statement about buffer
26817 for gethostbyname2_r.
26819 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26821 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26822 Use .p2align directive instead, throughout.
26823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26824 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26825 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26826 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26827 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26828 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26829 * sysdeps/x86_64/strchr.S: Likewise.
26830 * sysdeps/x86_64/strrchr.S: Likewise.
26832 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26834 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26836 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26838 * sysdeps/generic/math_private.h (__mpsin1): Remove
26840 (__mpcos1): Likewise.
26841 (__mpsin): New argument __range_reduce.
26842 (__mpcos): Likewise.
26843 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26844 (slow): Use __mpsin and __mpcos.
26848 (sloww1): Likewise.
26849 (sloww2): Likewise.
26850 (bsloww): Likewise.
26851 (bsloww1): Likewise.
26852 (bsloww2): Likewise.
26853 (cslow2): Likewise.
26854 (csloww): Likewise.
26855 (csloww1): Likewise.
26856 (csloww2): Likewise.
26857 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26858 range_reduce. Merge in __mpsin1.
26859 (__mpcos): Likewise.
26860 (__mpsin1): Remove.
26861 (__mpcos1): Likewise.
26863 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26865 * locale/loadlocale.c (_nl_intern_locale_data): Use
26867 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26868 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26869 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26870 obstack data is appropriately aligned.
26871 (obstack_int32_grow_fast): Likewise.
26872 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26873 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26874 (add_locale_uint32_array): Likewise.
26876 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26878 * benchtests/Makefile: Remove ARGLIST and RET variables.
26879 ($(objpfx)bench-%.c): Pass only function name to the script.
26880 * benchtests/README: Update documentation.
26881 * benchtests/acos-inputs: Add new directives.
26882 * benchtests/acosh-inputs: Likewise.
26883 * benchtests/asin-inputs: Likewise.
26884 * benchtests/asinh-inputs: Likewise.
26885 * benchtests/atan-inputs: Likewise.
26886 * benchtests/atanh-inputs: Likewise.
26887 * benchtests/cos-inputs: Likewise.
26888 * benchtests/cosh-inputs: Likewise.
26889 * benchtests/exp-inputs: Likewise.
26890 * benchtests/log-inputs: Likewise.
26891 * benchtests/pow-inputs: Likewise.
26892 * benchtests/rint-inputs: Likewise.
26893 * benchtests/sin-inputs: Likewise.
26894 * benchtests/sinh-inputs: Likewise.
26895 * benchtests/tan-inputs: Likewise.
26896 * benchtests/tanh-inputs: Likewise.
26897 * scripts/bench.pl: Add support for new directives.
26899 2013-10-07 Alan Modra <amodra@gmail.com>
26901 * README: Fix careless merge.
26903 2013-10-05 Alan Modra <amodra@gmail.com>
26905 * NEWS: Mention powerpc64le support and bugs fixed.
26906 * README: Both big-endian and little-endian powerpc64 supported.
26908 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26910 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26911 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26912 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26913 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26915 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26917 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26920 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26922 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26923 Move -mhard-float appending from
26924 ports/sysdeps/powerpc/powerpc32/Makefile.
26925 [$(with-fp) = yes] (ASFLAGS): Likewise.
26926 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26927 * sysdeps/powerpc/nofpu: Move directory from
26928 ports/sysdeps/powerpc/nofpu.
26929 * sysdeps/powerpc/soft-fp: Move directory from
26930 ports/sysdeps/powerpc/soft-fp.
26931 * sysdeps/powerpc/powerpc32/405: Move directory from
26932 ports/sysdeps/powerpc/powerpc32/405.
26933 * sysdeps/powerpc/powerpc32/440: Move directory from
26934 ports/sysdeps/powerpc/powerpc32/440.
26935 * sysdeps/powerpc/powerpc32/464: Move directory from
26936 ports/sysdeps/powerpc/powerpc32/464.
26937 * sysdeps/powerpc/powerpc32/476: Move directory from
26938 ports/sysdeps/powerpc/powerpc32/476.
26939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26940 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26942 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26944 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26946 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26948 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26949 * README: Update for powerpc-*-linux-gnu software floating point
26952 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26953 case to powerpc/powerpc32*.
26954 * sysdeps/unix/sysv/linux/configure: Regenerated.
26956 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26957 (_FPU_MASK_OM): Define as 0x04.
26958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26966 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26969 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26972 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26973 and setcontext_e500.
26975 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26977 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26979 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26981 * manual/threads.texi (Default Thread Attributes): Fix typo.
26983 2013-10-04 Will Newton <will.newton@linaro.org>
26985 * malloc/Makefile: Add tst-memalign.
26986 * malloc/tst-memalign.c: New file.
26988 * malloc/tst-posix_memalign.c: Add comments.
26989 (do_test): Add comments and call free on all potentially
26990 allocated pointers. Add space after cast.
26992 * malloc/tst-pvalloc.c: Add comments.
26993 (do_test): Add comments and call free on all potentially
26994 allocated pointers. Remove duplicate check for NULL pointer.
26995 Add space after cast.
26997 * malloc/tst-valloc.c: Add comments.
26998 (do_test): Add comments and call free on all potentially
26999 allocated pointers. Remove duplicate check for NULL pointer.
27000 Add space after cast.
27002 2013-10-04 Alan Modra <amodra@gmail.com>
27004 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27005 Use stdint types in rather than __attribute__((mode())).
27006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27008 2013-10-04 Alan Modra <amodra@gmail.com>
27010 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27011 Correct handling of unaligned relocs for little-endian.
27012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27014 2013-10-04 Alan Modra <amodra@gmail.com>
27016 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27017 * configure: Regenerate.
27018 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27019 * shlib-versions: Likewise.
27021 2013-10-04 Alan Modra <amodra@gmail.com>
27023 * string/tester.c (test_memrchr): Increment reported test cycle.
27025 2013-10-04 Alan Modra <amodra@gmail.com>
27027 * string/test-memcpy.c (do_one_test): When reporting errors, print
27028 string address and don't overrun end of string.
27030 2013-10-04 Alan Modra <amodra@gmail.com>
27032 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27033 insrdi. Make better use of reg selection to speed exit slightly.
27034 Schedule entry path a little better. Remove useless "are we done"
27035 checks on entry to main loop. Handle wrapping around zero address.
27036 Correct main loop count. Handle single left-over word from main
27037 loop inline rather than by using loop_small. Remove extra word
27038 case in loop_small caused by wrong loop count. Add little-endian
27040 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27041 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27043 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27044 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27045 support. Avoid rlwimi.
27046 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27048 2013-10-04 Alan Modra <amodra@gmail.com>
27050 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27051 insrdi. Formatting.
27052 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27053 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27054 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27055 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27056 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27057 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27059 2013-10-04 Alan Modra <amodra@gmail.com>
27061 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27062 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27064 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27065 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27066 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27067 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27068 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27069 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27070 use of regs. Use power7 mtocrf. Tidy function tails.
27072 2013-10-04 Alan Modra <amodra@gmail.com>
27074 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27075 Formatting. Consistently use rXXX register defines or rN defines.
27076 Use early exit labels that avoid restoring unused non-volatile regs.
27077 Make cr field use more consistent with rWORDn compares. Rename
27078 regs used as shift registers for unaligned loop, using rN defines
27079 for short lifetime/multiple use regs.
27080 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27082 addi 1,1,64 to pop stack frame. Simplify return value code.
27083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27085 2013-10-04 Alan Modra <amodra@gmail.com>
27087 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27088 support. Correct typos, formatting. Optimize tail. Use insrdi
27089 rather than rlwimi.
27090 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27091 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27092 little-endian support. Correct typos.
27093 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27094 rather than rlwimi.
27095 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27096 in loop and entry code to keep "and." results.
27097 (strchr): Add little-endian support. Comment. Move cntlzd
27099 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27101 2013-10-04 Alan Modra <amodra@gmail.com>
27103 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27104 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27105 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27106 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27108 2013-10-04 Alan Modra <amodra@gmail.com>
27110 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27111 (rTMP): Define as r11.
27112 (strcmp): Add little-endian support. Optimise tail.
27113 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27114 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27115 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27116 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27117 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27121 2013-10-04 Alan Modra <amodra@gmail.com>
27123 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27124 little-endian support. Remove unnecessary "are we done" tests.
27125 Handle "s" wrapping around zero and extremely large "size".
27126 Correct main loop count. Handle single left-over word from main
27127 loop inline rather than by using small_loop. Correct comments.
27128 Delete "zero" tail, use "end_max" instead.
27129 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27131 2013-10-04 Alan Modra <amodra@gmail.com>
27133 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27134 support. Don't branch over align.
27135 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27136 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27137 support. Rearrange tmp reg use to suit. Comment.
27138 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27140 2013-10-04 Alan Modra <amodra@gmail.com>
27142 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27144 2013-10-04 Alan Modra <amodra@gmail.com>
27146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27147 conditional form of branch and link when obtaining pc.
27148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27150 2013-10-04 Alan Modra <amodra@gmail.com>
27152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27157 2013-10-04 Alan Modra <amodra@gmail.com>
27159 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27160 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27161 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27162 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27163 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27164 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27165 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27166 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27167 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27168 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27170 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27171 Alistair Popple <alistair@ozlabs.au.ibm.com>
27172 Alan Modra <amodra@gmail.com>
27175 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27176 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27177 _dl_hwcap access for little-endian.
27178 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27179 destroy vmx regs when saving unaligned.
27180 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27181 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27182 destroy vmx regs when saving unaligned.
27184 2013-10-04 Alan Modra <amodra@gmail.com>
27186 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27187 Don't use a union to pack hi/low value.
27189 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27191 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27193 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27194 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27195 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27196 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27197 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27199 2013-10-04 Alan Modra <amodra@gmail.com>
27201 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27202 constants to usual value for .cst8 section, and remove redundant
27204 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27205 constant for 0x1p52. Load little-endian words of double from
27206 correct stack offsets.
27208 2013-10-04 Alan Modra <amodra@gmail.com>
27210 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27211 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27212 words of double from correct stack offsets.
27213 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27214 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27215 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27216 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27217 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27218 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27219 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27220 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27221 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27222 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27223 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27224 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27225 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27226 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27227 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27228 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27229 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27231 2013-10-04 Alan Modra <amodra@gmail.com>
27233 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27234 64-bit int/double union.
27235 (_FPU_SETCW): Likewise.
27236 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27237 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27239 2013-10-04 Alan Modra <amodra@gmail.com>
27241 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27242 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27244 2013-10-04 Alan Modra <amodra@gmail.com>
27246 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27247 use vector int constants.
27248 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27250 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27252 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27253 array with long long.
27254 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27255 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27256 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27257 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27258 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27259 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27260 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27261 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27262 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27263 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27264 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27265 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27266 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27268 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27270 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27271 (__signbit): Likewise. Correct for little-endian.
27272 (__signbitl): Call __signbit.
27273 (lrint): Correct for little-endian.
27274 (lrintf): Call lrint.
27276 2013-10-04 Alan Modra <amodra@gmail.com>
27278 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27279 union 32-bit int array member with 64-bit int array.
27280 (t515, tm256): Double rather than long double.
27281 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27283 2013-10-04 Alan Modra <amodra@gmail.com>
27285 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27287 (IEEE854_LONG_DOUBLE_BIAS): Delete.
27288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27289 version of math_ldbl.h.
27291 2013-10-04 Alan Modra <amodra@gmail.com>
27293 [BZ #15734], [BZ #15735]
27294 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27295 all uses of ieee875 long double macros and unions. Simplify test
27296 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
27297 ldbl_extract_mantissa value for ix,iy exponents. Properly
27298 normalize after ldbl_extract_mantissa, and don't add hidden bit
27299 already handled. Don't treat low word of ieee854 mantissa like
27300 low word of IBM long double and mask off bit when testing for
27302 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27303 all uses of ieee875 long double macros and unions. Simplify tests
27304 for 0.0L and inf. Correct double adjustment of k. Delete dead code
27305 adjusting ha,hb. Simplify code setting kld. Delete two600 and
27306 two1022, instead use their values. Recognise that tests for large
27307 "a" and small "b" are mutually exclusive. Rename vars. Comment.
27308 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27309 Rewrite all uses of ieee875 long double macros and unions. Simplify
27310 test for 0.0L and nan. Correct negation.
27311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27312 ieee875 long double macros and unions. Correct output for large
27313 magnitude x. Correct absolute value calculation.
27314 (__erfcl): Likewise.
27315 * math/libm-test.inc: Add tests for errors discovered in IBM long
27316 double versions of fmodl, remainderl, erfl and erfcl.
27318 2013-10-04 Alan Modra <amodra@gmail.com>
27320 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27321 all uses of ieee854 long double macros and unions. Simplify tests
27322 for long doubles that are fully specified by the high double.
27323 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27325 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27326 Remove dead code too.
27327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27328 (__ieee754_ynl): Likewise.
27329 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27330 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27331 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27332 Remove dead code too.
27333 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27335 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27336 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27338 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27340 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27341 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27343 Comment on variable precision.
27344 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27345 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27347 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27350 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27351 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27353 2013-10-04 Alan Modra <amodra@gmail.com>
27355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27356 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27357 all uses of ieee854 long double macros and unions.
27358 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27359 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27362 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27363 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27365 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27366 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27367 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27368 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27369 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27370 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27371 Simplify sign and nan test too.
27372 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27373 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27374 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27375 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27377 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27378 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27380 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27381 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27382 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27383 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27384 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27385 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27387 2013-10-04 Alan Modra <amodra@gmail.com>
27389 * stdio-common/printf_size.c (__printf_size): Don't use
27390 union ieee854_long_double in fpnum union.
27391 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
27392 signbit macro to retrieve sign from long double.
27393 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27394 retrieve sign from long double.
27395 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27396 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27397 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27398 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27399 * math/test-misc.c (main): Don't use union ieee854_long_double.
27401 2013-10-04 Alan Modra <amodra@gmail.com>
27404 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27405 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27406 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27407 calculation. Remove unnecessary test for denormal exponent.
27408 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27409 Correct handling of denormals. Avoid undefined shift behaviour.
27410 Correct normalisation of low mantissa when low double is denormal.
27411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27412 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
27413 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27414 Correct normalisation of low mantissa. Test for overflow of high
27415 mantissa and normalise.
27416 (ldbl_nearbyint): Use more readable constant for two52.
27417 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27418 (__mpn_construct_long_double): Fix test for overflow of high
27419 mantissa and correct normalisation. Avoid undefined shift.
27421 2013-10-04 Alan Modra <amodra@gmail.com>
27423 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27424 (union ibm_extended_long_double): Define as an array of ieee754_double.
27425 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27426 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27427 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27428 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27432 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27437 2013-10-03 Joseph Myers <joseph@codesourcery.com>
27439 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27440 page size instead of calling getpagesize.
27442 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27443 (LOCFILE_ALIGN_MASK): Likewise.
27444 (LOCFILE_ALIGN_UP): Likewise.
27445 (LOCFILE_ALIGNED_P): Likewise.
27446 * locale/programs/ld-collate.c (collate_output): Use the new
27447 macros instead of __alignof__ (int32_t).
27448 * locale/weight.h (findidx): Likewise.
27450 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
27453 * manual/string.texi: Fix strncat and wcsncat.
27455 2013-10-03 Brooks Moses <bmoses@google.com>
27458 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27459 * Makerules: ...here, and adjust associated comments.
27461 2013-10-02 Will Newton <will.newton@linaro.org>
27463 * malloc/Makefile: Add tst-pvalloc.
27464 * malloc/tst-pvalloc.c: New file.
27466 2013-10-02 Will Newton <will.newton@linaro.org>
27468 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27469 improve test coverage.
27471 2013-10-02 Will Newton <will.newton@linaro.org>
27473 * malloc/Makefile: Add tst-posix_memalign.
27474 * malloc/tst-posix_memalign.c: New file.
27476 2013-10-01 Eric Blake <eblake@redhat.com>
27478 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27479 Use __THROWNL rather than __THROW on static functions.
27481 2013-09-30 Petr Machata <pmachata@redhat.com>
27483 * elf/elf.h (R_AARCH64_ABS16): New macro.
27484 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27485 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27486 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27487 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27488 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27489 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27490 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27491 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27492 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27493 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27494 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27495 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27496 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27497 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27498 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27499 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27500 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27501 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27502 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27503 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27504 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27505 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27506 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27507 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27508 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27509 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27510 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27511 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27512 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27513 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27514 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27515 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27516 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27517 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27518 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27519 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27520 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27521 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27522 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27523 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27524 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27525 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27526 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27527 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27528 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27529 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27530 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27531 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27532 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27533 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27534 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27535 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27536 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27537 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27538 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27539 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27540 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27541 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27542 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27543 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27544 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27545 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27546 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27547 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27548 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27549 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27550 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27551 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27552 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27553 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27554 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27555 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27556 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27557 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27558 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27559 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27560 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27561 (R_AARCH64_TLSDESC_LDR): Likewise.
27562 (R_AARCH64_TLSDESC_ADD): Likewise.
27563 (R_AARCH64_TLSDESC_CALL): Likewise.
27565 2013-09-30 Andreas Schwab <schwab@suse.de>
27568 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27569 the nss database lookup.
27570 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27573 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27575 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27577 2013-09-28 P. J. McDermott <pj@pehjota.net>
27579 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27580 ${Bash-specific parameter/pattern/string} parameter expansion.
27581 * sysdeps/unix/make-syscalls.sh: Likewise.
27583 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27585 * sysdeps/sh/stackguard-macros.h: New file.
27587 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27590 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27591 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27592 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27593 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27594 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27596 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27598 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27599 Fix thread ID register.
27601 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27603 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27604 [POSIX || UNIX98]: Require rather than permitting all symbols from
27606 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27607 element of struct sched_param.
27608 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27609 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27610 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27611 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27614 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27616 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27617 argument calculation.
27619 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27621 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27623 [POSIX] (pthread_attr_t): Do not require type.
27624 [POSIX] (pthread_cond_t): Likewise.
27625 [POSIX] (pthread_condattr_t): Likewise.
27626 [POSIX] (pthread_key_t): Likewise.
27627 [POSIX] (pthread_mutex_t): Likewise.
27628 [POSIX] (pthread_mutexattr_t): Likewise.
27629 [POSIX] (pthread_once_t): Likewise.
27630 [POSIX] (pthread_t): Likewise.
27631 [POSIX-based standards] (pthread_atfork): Expect function.
27633 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27634 Richard Sandiford <richard@codesourcery.com>
27636 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27637 (swap_endianness_p): New extern variable.
27638 (set_big_endian): New inline function.
27639 (maybe_swap_uint32): Likewise.
27640 (maybe_swap_uint32_array): Likewise.
27641 (maybe_swap_uint32_obstack): Likewise.
27642 * locale/programs/locfile.c: Include <stdbool.h>.
27643 (swap_endianness_p): New variable.
27644 (add_locale_uint32): Call maybe_swap_uint32.
27645 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27646 (write_locale_data): Call maybe_swap_uint32_array.
27647 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27649 (obstack_int32_grow_fast): Likewise.
27650 (output_weightwc): Call maybe_swap_uint32_obstack.
27651 (collate_output): Likewise.
27652 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27653 (OPT_LITTLE_ENDIAN): Likewise.
27654 (options): Add --little-endian and --big-endian options.
27655 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27656 * locale/programs/locarchive.c: Include "locfile.h".
27660 (create_archive): Use the new macros to access fields of
27661 structures directly mapped from or written to locale archives.
27662 (oldlocrecentcmp): Likewise.
27663 (enlarge_archive): Likewise.
27664 (insert_name): Likewise.
27665 (add_alias): Likewise.
27666 (add_locale): Likewise.
27667 (delete_locales_from_archive): Likewise.
27668 (show_archive_content): Likewise.
27669 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27672 2013-09-24 Roland McGrath <roland@hack.frob.com>
27674 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27675 http://www.gnu.org/doc/freemanuals.texi.
27676 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27678 2013-09-24 Will Newton <will.newton@linaro.org>
27680 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27683 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27685 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27688 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27690 * manual/threads.texi (POSIX Threads): Fix a typo.
27692 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27695 * string/tst-strcoll-overflow.c: New test case.
27696 * string/Makefile (xtests): Add tst-strcoll-overflow.
27697 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27698 cache if string sizes may cause integer overflow.
27701 * string/strcoll_l.c (coll_seq): New members rule, idx,
27702 save_idx and back_us.
27703 (get_next_seq_nocache): New function.
27704 (do_compare_nocache): New function.
27705 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27708 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27711 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27712 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27713 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27716 * elf/Makefile (tests): Add tst-ptrguard1.
27717 (tests-static): Add tst-ptrguard1-static.
27718 (tst-ptrguard1-ARGS): Define.
27719 (tst-ptrguard1-static-ARGS): Define.
27720 * elf/tst-ptrguard1.c: New file.
27721 * elf/tst-ptrguard1-static.c: New file.
27722 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27723 * sysdeps/i386/stackguard-macros.h: Likewise.
27724 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27725 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27726 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27727 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27728 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27729 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27731 2013-09-23 Hector Marco <hecmargi@upv.es>
27732 Ismael Ripoll <iripoll@disca.upv.es>
27733 Carlos O'Donell <carlos@redhat.com>
27736 * sysdeps/generic/stackguard-macros.h: Define
27737 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27738 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27739 Define __pointer_chk_guard_local.
27740 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27741 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27743 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27746 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27748 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27750 * include/string.h (__ffs): Declare as hidden.
27751 * string/ffs.c (__ffs): Define as hidden.
27752 * sysdeps/i386/ffs.c (__ffs): Likewise.
27753 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27754 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27755 * sysdeps/s390/ffs.c (__ffs): Likewise.
27756 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27758 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27760 * NEWS: Mention malloc probes.
27762 * malloc/arena.c (new_heap): New memory_heap_new probe.
27763 (grow_heap): New memory_heap_more probe.
27764 (shrink_heap): New memory_heap_less probe.
27765 (heap_trim): New memory_heap_free probe.
27766 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27767 (systrim): New memory_sbrk_less probe.
27768 * manual/probes.texi: Document them.
27770 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27771 * manual/probes.texi: Document it.
27773 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27774 (__libc_realloc): Add memory_realloc_retry probe.
27775 (__libc_memalign): Add memory_memalign_retry probe.
27776 (__libc_valloc): Add memory_valloc_retry probe.
27777 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27778 (__libc_calloc): Add memory_calloc_retry probe.
27779 * manual/probes.texi: Document them.
27781 * malloc/arena.c (get_free_list): Add probe
27782 memory_arena_reuse_free_list.
27783 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27784 and memory_arena_reuse.
27785 (arena_get2) [!PER_THREAD]: Likewise.
27786 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27787 memory_arena_reuse_realloc.
27788 * manual/probes.texi: Document them.
27790 * malloc/malloc.c (__libc_free): Add
27791 memory_mallopt_free_dyn_thresholds probe.
27792 (__libc_mallopt): Add multiple memory_mallopt probes.
27793 * manual/probes.texi: Document them.
27795 * malloc/malloc.c: Include stap-probe.h.
27796 (__libc_mallopt): Add memory_mallopt probe.
27797 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27798 * manual/probes.texi: New.
27799 * manual/Makefile (chapters): Add probes.
27800 * manual/threads.texi: Set next node.
27802 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27804 [BZ #15963, #13985]
27805 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27806 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27807 Add `Chinese' to `nan' entry name.
27809 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27811 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27812 (POLYNOMIAL): Likewise.
27813 (TAYLOR_SINCOS): Likewise.
27814 (TAYLOR_SLOW): Likewise.
27815 (__sin): Use TAYLOR_SINCOS.
27817 (slow): Use TAYLOR_SLOW.
27819 (bsloww): Likewise.
27820 (csloww): Likewise.
27822 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27824 * stdlib/strtod_l.c: Fix buffer overrun.
27826 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27828 * benchtests/Makefile (bench): Add sincos.
27829 * benchtests/bench-sincos.c: New file.
27831 * math/libm-test.inc (cos_test_data): New test inputs.
27832 (sin_test_data): Likewise.
27834 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27840 (sloww1): Likewise.
27841 (sloww2): Likewise.
27842 (bsloww1): Likewise.
27843 (bsloww2): Likewise.
27844 (cslow2): Likewise.
27845 (csloww1): Likewise.
27846 (csloww2): Likewise.
27848 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27853 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27857 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27859 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27860 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27861 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27862 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27863 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27864 * elf/cache.c (print_entry): Handle the new cache flags.
27866 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27867 Aldy Hernandez <aldyh@redhat.com>
27869 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27870 Change condition to [_SOFT_FLOAT].
27871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27883 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27886 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27889 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27891 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27892 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27893 (__longjmp): Use LOAD_GP to load saved GPRs.
27894 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27895 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27896 (__sigsetjmp): Use SAVE_GP to save GPRs.
27898 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27899 Do not append -msoft-float.
27900 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27902 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27904 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27906 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27909 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27910 (_FPU_GETCW): Use initial "__" on variable and field names but not
27911 on macro parameter name.
27912 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27913 parentheses around reference to macro parameter.
27915 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27917 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27919 (ctype_startup): Use uint32_t in cast and sizeof for
27922 2013-09-11 Jia Liu <proljc@gmail.com>
27924 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27926 [__FreeBSD__]: Likewise.
27928 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27931 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27932 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27933 (strchr): Remove __strchr_sse42 ifunc selection.
27934 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27935 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27937 2013-09-11 Will Newton <will.newton@linaro.org>
27939 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27940 parameter to RES. Remove hardcoded 1000 value.
27941 * benchtests/bench-skeleton.c (main): Pass RES parameter
27942 to TIMING_INIT and multiply result by 1000.
27944 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27948 2013-09-11 Andreas Schwab <schwab@suse.de>
27950 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27952 (O_TMPFILE) [__USE_GNU]: Define.
27953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27956 2013-09-11 Will Newton <will.newton@linaro.org>
27959 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27962 2013-09-11 Will Newton <will.newton@linaro.org>
27965 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27968 2013-09-11 Will Newton <will.newton@linaro.org>
27971 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27974 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27976 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27977 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27978 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27979 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27980 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27982 2013-09-10 Allan McRae <allan@archlinux.org>
27985 * manual/arith.texi (Parsing of Floats): Clarify
27989 * manual/install.texi (Running make install): Mention
27991 * INSTALL: Regenerated.
27993 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27995 * csu/init-first.c (_init): Remove the !SHARED condition around
27996 FPU control word initialization.
27997 * elf/dl-support.c (_dl_fpu_control): New variable.
27998 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27999 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28000 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28001 * math/test-fpucw-static.c: New file.
28002 * math/test-fpucw-ieee.c: New file.
28003 * math/test-fpucw-ieee-static.c: New file.
28004 * math/Makefile (tests): Add `test-fpucw-ieee' and
28006 (tests-static): New variable.
28007 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28009 [($(build-shared),yes)]
28010 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28012 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28015 2013-09-09 Allan McRae <allan@archlinux.org>
28018 * manual/string.texi (Collation Functions): Fix typo in
28020 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28023 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28026 * libio/memstream.c (open_memstream): Fix memory leak.
28027 * libio/wmemstream.c (open_wmemstream): Likewise.
28030 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28032 2013-09-09 Will Newton <will.newton@linaro.org>
28034 * malloc/Makefile: Add tst-realloc to tests.
28035 * malloc/tst-realloc.c: New file.
28037 2013-09-09 Allan McRae <allan@archlinux.org>
28040 * COPYING: Update from GNU website to fix FSF address.
28041 * COPYING.LIB: Likewise.
28043 2013-09-06 David S. Miller <davem@davemloft.net>
28045 * po/zh_TW.po: Update Chinese (traditional) translation from
28046 translation project.
28048 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28049 Joseph Myers <joseph@codesourcery.com>
28051 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28053 (obstack_chunk_alloc): New macro.
28054 (obstack_chunk_free): Likewise.
28055 (record_offset): New function.
28056 (init_locale_data): Likewise.
28057 (align_locale_data): Likewise.
28058 (add_locale_empty): Likewise.
28059 (add_locale_raw_data): Likewise.
28060 (add_locale_raw_obstack): Likewise.
28061 (add_locale_string): Likewise.
28062 (add_locale_wstring): Likewise.
28063 (add_locale_uint32): Likewise.
28064 (add_locale_uint32_array): Likewise.
28065 (add_locale_char): Likewise.
28066 (start_locale_structure): Likewise.
28067 (end_locale_structure): Likewise.
28068 (start_locale_prelude): Likewise.
28069 (end_locale_prelude): Likewise.
28070 (write_locale_data): Take locale_file structure rather than an
28072 * locale/programs/locfile.h: Include "obstack.h".
28073 (struct locale_file): Change to store locale file contents instead
28075 (init_locale_data): New prototype.
28076 (align_locale_data): Likewise.
28077 (add_locale_empty): Likewise.
28078 (add_locale_raw_data): Likewise.
28079 (add_locale_raw_obstack): Likewise.
28080 (add_locale_string): Likewise.
28081 (add_locale_wstring): Likewise.
28082 (add_locale_uint32): Likewise.
28083 (add_locale_uint32_array): Likewise.
28084 (add_locale_char): Likewise.
28085 (start_locale_structure): Likewise.
28086 (end_locale_structure): Likewise.
28087 (start_locale_prelude): Likewise.
28088 (end_locale_prelude): Likewise.
28089 (write_locale_data): Update prototype.
28090 * locale/programs/3level.h (struct TABLE): Remove result field.
28091 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28092 Use new locale_file interface.
28093 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28094 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28095 * locale/programs/ld-address.c (address_output): Use new
28096 locale_file interface.
28097 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28099 (collate_finish): Don't call collseq_table_finalize.
28100 (collate_output): Use new locale_file interface.
28101 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28103 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28104 (TABLE): Move defines earlier in file.
28105 (ELEMENT): Likewise.
28106 (DEFAULT): Likewise.
28107 (wctrans_table_add): Move macro and inline function earlier in
28109 (struct wctype_table): Move type earlier in file.
28110 (add_locale_wctype_table): New static prototype.
28111 (struct locale_ctype_t): Use logical types instead of struct iovec
28112 pointers for members.
28113 (ctype_output): Use new locale_file interface.
28114 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28115 new locale_file interface.
28116 (allocate_arrays): Update for use of new locale_file interface.
28117 * locale/programs/ld-identification.c (identification_output): Use
28118 new locale_file interface.
28119 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28120 * locale/programs/ld-messages.c (messages_output): Likewise.
28121 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28122 * locale/programs/ld-name.c (name_output): Likewise.
28123 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28124 * locale/programs/ld-paper.c (paper_output): Likewise.
28125 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28126 * locale/programs/ld-time.c (time_output): Likewise.
28128 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28130 * benchtests/Makefile: Add memrchr benchmark.
28131 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28132 benchmark as memrchr.
28133 * benchtests/bench-memrchr-ifunc.c: New file.
28134 * benchtests/bench-memrchr.c: New file.
28136 2013-09-06 Will Newton <will.newton@linaro.org>
28138 * benchtests/Makefile (string-bench): Add memcpy.
28140 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28141 Cong Wang <amwang@redhat.com>
28144 * sysdeps/unix/sysv/linux/bits/in.h
28145 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28146 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28147 before __USE_KERNEL_IPV6_DEFS uses.
28148 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28150 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28151 sockaddr_in6, or ipv6_mreq.
28153 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28155 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28156 memory access for final bytes in some large inputs.
28157 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28159 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28161 * string/test-memrchr.c: New file.
28162 * string/test-memrchr-ifunc.c: New file.
28163 * string/Makefile: Add new memrchr testcase.
28165 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28167 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28168 fanotify_init returns EPERM.
28170 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28172 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28174 (top level): Treat second token from macro or constant entries for
28175 allowed headers as allowed.
28176 * include/complex.h: Condition internal declarations on
28178 * include/fenv.h: Condition include of <stdbool.h> and internal
28179 declarations on [!_ISOMAC].
28181 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28184 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28186 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28188 * configure.in (--enable-versioning): Remove configure option.
28189 (libc_cv_asm_symver_directive): Remove configure test.
28190 (libc_cv_ld_version_script_option): Likewise.
28191 (VERSIONING): Remove variable and AC_SUBST.
28192 (DO_VERSIONING): Remove AC_DEFINE.
28193 * configure: Regenerated.
28194 * config.h.in (DO_VERSIONING): Remove macro.
28195 * Makerules [$(versioning) = yes]: Change conditionals to
28196 [$(build-shared) = yes].
28197 * config.make.in (versioning): Remove variable.
28198 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28199 [$(build-shared) = yes].
28200 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28201 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28202 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28203 [$(build-shared) = yes].
28204 * extra-lib.mk [$(versioning) = yes]: Likewise.
28205 * hurd/Makefile [$(versioning) = yes]: Likewise.
28206 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28208 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28210 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28211 [SHARED && !NO_HIDDEN].
28212 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28214 [SHARED && DO_VERSIONING]: Likewise..
28215 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28216 [$(build-shared) = yes].
28217 * manual/install.texi (--disable-versioning): Remove
28219 * INSTALL: Regenerated.
28220 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28222 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28223 [$(build-shared) = yes].
28224 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28225 * sysdeps/i386/i686/multiarch/strstr-c.c
28226 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28227 [SHARED && !NO_HIDDEN].
28228 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28229 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28230 * sysdeps/powerpc/powerpc32/dl-machine.c
28231 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28232 * sysdeps/powerpc/powerpc32/sysdep.h
28233 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28234 to [SHARED && PIC && !NO_HIDDEN].
28235 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28236 conditional to [SHARED].
28238 2013-09-04 Will Newton <will.newton@linaro.org>
28240 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28241 * benchtests/bench-string.h: Include bench-timing.h instead
28242 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28243 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28244 call to HP_TIMING_DIFF_INIT.
28245 * benchtests/bench-memccpy.c: Use bench-timing.h macros
28246 instead of hp-timing.h macros.
28247 * benchtests/bench-memchr.c: Likewise.
28248 * benchtests/bench-memcmp.c: Likewise.
28249 * benchtests/bench-memcpy.c: Likewise.
28250 * benchtests/bench-memmem.c: Likewise.
28251 * benchtests/bench-memmove.c: Likewise.
28252 * benchtests/bench-memset.c: Likewise.
28253 * benchtests/bench-rawmemchr.c: Likewise.
28254 * benchtests/bench-strcasecmp.c: Likewise.
28255 * benchtests/bench-strcasestr.c: Likewise.
28256 * benchtests/bench-strcat.c: Likewise.
28257 * benchtests/bench-strchr.c: Likewise.
28258 * benchtests/bench-strcmp.c: Likewise.
28259 * benchtests/bench-strcpy.c: Likewise.
28260 * benchtests/bench-strcpy_chk.c: Likewise.
28261 * benchtests/bench-strlen.c: Likewise.
28262 * benchtests/bench-strncasecmp.c: Likewise.
28263 * benchtests/bench-strncat.c: Likewise.
28264 * benchtests/bench-strncmp.c: Likewise.
28265 * benchtests/bench-strncpy.c: Likewise.
28266 * benchtests/bench-strnlen.c: Likewise.
28267 * benchtests/bench-strpbrk.c: Likewise.
28268 * benchtests/bench-strrchr.c: Likewise.
28269 * benchtests/bench-strspn.c: Likewise.
28270 * benchtests/bench-strstr.c: Likewise.
28272 2013-09-04 Will Newton <will.newton@linaro.org>
28274 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28276 2013-09-03 Joseph Myers <joseph@codesourcery.com>
28279 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28280 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28281 * math/libm-test.inc (lgamma_test_data): Add more tests.
28282 * sysdeps/i386/fpu/libm-test-ulps: Update.
28283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28285 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
28287 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28291 Add strcmp-sse2-unaligned
28292 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28294 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28296 * Versions.def (libc): Add GLIBC_2.19.
28298 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28300 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28301 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28303 2013-09-02 Joseph Myers <joseph@codesourcery.com>
28306 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28307 intermediate calculations in recurrence.
28308 (__ieee754_ynf): Likewise.
28309 * math/libm-test.inc (jn_test_data): Do not allow spurious
28310 underflow exception. Add more tests.
28311 (yn_test_data): Add more tests.
28312 * sysdeps/i386/fpu/libm-test-ulps: Update.
28313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28315 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
28317 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28319 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28321 * csu/init-first.c: Fix then/than typos.
28322 * locale/programs/ld-collate.c: Likewise.
28323 * locale/programs/linereader.h: Likewise.
28324 * manual/charset.texi: Likewise.
28325 * manual/filesys.texi: Likewise.
28326 * manual/stdio.texi: Likewise.
28327 * manual/string.texi: Likewise.
28328 * stdlib/fmtmsg.c: Likewise.
28329 * sysdeps/i386/stpncpy.S: Likewise.
28330 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28331 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28332 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28333 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28335 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28337 * elf/dl-open.c: Fix typos.
28338 * iconvdata/gbbig5.c: Likewise.
28339 * iconvdata/iso-2022-jp.c: Likewise.
28340 * iconv/gconv_int.h: Likewise.
28341 * iconv/loop.c: Likewise.
28342 * nis/rpcsvc/nis.h: Likewise.
28343 * resolv/ns_name.c: Likewise.
28344 * stdio-common/vfscanf.c: Likewise.
28345 * streams/stropts.h: Likewise.
28346 * sunrpc/rpc_thread.c: Likewise.
28347 * sysdeps/i386/strpbrk.S: Likewise.
28348 * sysdeps/ieee754/k_standard.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28351 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28352 * sysdeps/mach/hurd/profil.c: Likewise.
28353 * sysdeps/s390/dl-procinfo.h: Likewise.
28354 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28355 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28356 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28357 * sysdeps/x86_64/dl-trampoline.S: Likewise.
28358 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28360 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28362 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28365 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28367 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28368 aix specific files.
28369 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28370 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28371 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28372 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28373 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28374 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28375 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28376 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28378 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28379 Roland McGrath <roland@hack.frob.com>
28381 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28382 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28384 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
28386 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28387 __executable_start symbol instead of _start.
28389 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28391 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28392 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28394 * sysdeps/gnu/ldsodefs.h: ... this new file.
28396 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28397 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28398 instead of ELFOSABI_LINUX.
28400 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28401 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28402 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28403 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28405 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28406 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28407 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28409 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28410 (ibm_extended_long_double): Add ieee_nan member.
28411 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28412 (do_test): New function.
28414 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28416 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28417 functions, renamed from truncdfsf_test, trunctfsf_test,
28419 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28421 (do_test): Run all these.
28423 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28425 * argp/argp-help.c: Fix typos.
28426 * argp/argp-parse.c: Likewise.
28427 * debug/backtracesyms.c: Likewise.
28428 * elf/elf.h: Likewise.
28429 * malloc/malloc.c: Likewise.
28430 * nis/nis_print.c: Likewise.
28431 * resolv/res_comp.c: Likewise.
28432 * stdlib/stdlib.h: Likewise.
28433 * sunrpc/clnt_tcp.c: Likewise.
28434 * sunrpc/clnt_udp.c: Likewise.
28435 * sunrpc/clnt_unix.c: Likewise.
28436 * sysdeps/unix/bsd/ptsname.c: Likewise.
28437 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28438 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28445 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28447 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28449 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28452 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28455 * dlfcn/Makefile (tests): Add bug-dl-leaf.
28456 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28457 ($(objpfx)bug-dl-leaf): New rule.
28458 ($(objpfx)bug-dl-leaf.so): Likewise.
28459 ($(objpfx)bug-dl-leaf.out): Likewise.
28460 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28461 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28462 * dlfcn/bug-dl-leaf.c: New test.
28463 * dlfcn/bug-dl-leaf-lib.c: Likewise.
28464 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28465 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28466 (dlclose): Likewise.
28467 (dlmopen): Likewise.
28469 2013-08-27 Roland McGrath <roland@hack.frob.com>
28471 * include/netdb.h [!_ISOMAC]:
28472 Don't include <tls.h>.
28473 (h_errno, __libc_h_errno): Move declaration and macros out of
28476 * include/resolv.h [_RESOLV_H_]:
28477 Don't include <tls.h>.
28478 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28479 * resolv/res_libc.c: Don't include <tls.h>.
28480 (_res): Use __attribute__ ((nocommon)) in place of
28481 __attribute__ ((section (".bss"))).
28483 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28484 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28486 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28488 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28489 only under [SIOCGIFCONF && SIOCGIFNETMASK].
28491 * resolv/res_mkquery.c: Include <sys/time.h>.
28493 * inet/ifreq.c: Moved to ...
28494 * sysdeps/unix/ifreq.c: ... here.
28495 * inet/ifreq.c: New file, true stub version.
28497 * socket/sa_len.c: New file.
28498 * socket/Makefile (aux): Add it.
28499 * sysdeps/unix/sysv/linux/Makefile
28500 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28501 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28502 and #include <socket/sa_len.c>.
28503 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28504 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28506 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28507 * bits/socket.h: ... here.
28509 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28510 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28511 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28513 2013-08-27 Andreas Schwab <schwab@suse.de>
28516 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28517 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28518 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28519 * string/test-strcasecmp.c (test_main): Run tests in several
28521 * string/test-strncasecmp.c (test_main): Likewise.
28523 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28524 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28525 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28526 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28527 (__strncasecmp_ssse3) [PIC]: Likewise.
28529 2013-08-26 Roland McGrath <roland@hack.frob.com>
28531 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28533 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28534 instead of explicitly declaring xdecrypt.
28535 * nis/nss_nis/nis-publickey.c: Likewise.
28537 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28540 * nscd/aicache.c: Include res_hconf.h.
28541 (addhstaiX): Initialize res_hconf.
28543 2013-08-26 Andreas Schwab <schwab@suse.de>
28545 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28546 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28548 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28550 * nscd/aicache.c (addhstaiX): Fix indentation.
28552 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28554 * configure.ac: Quote $build_pt_chown test.
28555 * configure: Regenerated.
28557 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28560 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28561 * math/s_cexpf.c (__cexpf): Likewise.
28562 * math/s_cexpl.c (__cexpl): Likewise.
28563 * math/libm-test.inc (cexp_test_data): Correct expected return
28564 value for NaN + i0. Add another test.
28566 2013-08-22 David S. Miller <davem@davemloft.net>
28568 * po/ca.po: Update Catalan translation from translation project.
28569 * po/uk.po: Add Ukrainian translations from translation project.
28571 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28574 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28575 is infinite, not alongside NaN test.
28576 * math/s_fdimf.c (__fdimf): Likewise.
28577 * math/s_fdiml.c (__fdiml): Likewise.
28578 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28579 errno is unchanged.
28581 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28583 * argp/argp-help.c: Fix typos.
28584 * crypt/speeds.c: Likewise.
28585 * csu/check_fds.c: Likewise.
28586 * elf/dl-load.c: Likewise.
28587 * elf/dl-open.c: Likewise.
28588 * elf/reldep3.c: Likewise.
28589 * elf/reldep.c: Likewise.
28590 * elf/sprof.c: Likewise.
28591 * iconv/iconv_charmap.c: Likewise.
28592 * iconv/skeleton.c: Likewise.
28593 * iconv/strtab.c: Likewise.
28594 * io/lockf64.c: Likewise.
28595 * libio/libioP.h: Likewise.
28596 * resolv/gai_notify.c: Likewise.
28597 * resolv/ns_name.c: Likewise.
28598 * resolv/ns_samedomain.c: Likewise.
28599 * resolv/res_send.c: Likewise.
28600 * stdlib/random.c: Likewise.
28601 * sunrpc/rpc/xdr.h: Likewise.
28602 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28603 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28604 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28605 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28606 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28607 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28608 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28609 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28610 * sysdeps/mach/hurd/check_fds.c: Likewise.
28611 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28612 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28613 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28614 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28615 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28616 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28617 * sysdeps/pthread/aio_notify.c: Likewise.
28618 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28619 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28620 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28621 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28622 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28624 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28626 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28627 version if bit_Slow_SSE4_2 is set.
28628 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28629 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28631 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28634 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28635 trampoline stack frame information.
28636 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28637 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28638 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28639 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28640 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28641 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28642 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28643 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28645 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28646 interrupting a syscall and set with option SA_SIGINFO.
28648 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28651 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28652 argument is infinite.
28653 * math/s_cprojf.c (__cprojf): Likewise.
28654 * math/s_cprojl.c (__cprojl): Likewise.
28655 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28656 * math/libm-test.inc (cproj_test_data): Add more tests.
28658 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28660 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28661 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28662 size. Use __ffs to determine corresponding shift.
28664 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28665 Roland McGrath <roland@hack.frob.com>
28667 * Makefile (INSTALL): Remove trailing blank lines from output of
28670 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28672 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28673 Align 32 bit compat elf_greg to 8 bytes.
28675 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28677 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28679 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28681 * string/strcoll_l.c (coll_seq): New structure.
28682 (get_next_seq_cached): New function.
28683 (get_next_seq): New function.
28684 (do_compare): New function.
28685 (STRCOLL): Use GNU style definition. Simplify implementation
28686 by using get_next_seq, get_next_seq_cached and do_compare.
28688 2013-08-16 Florian Weimer <fweimer@redhat.com>
28692 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28694 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28696 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28697 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28698 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28700 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28701 GETDENTS_64BIT_ALIGNED.
28702 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28703 * manual/filesys.texi (Reading/Closing Directory): Document
28704 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28706 * manual/conf.texi (Limits for Files): Add portability note to
28707 NAME_MAX, PATH_MAX.
28708 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28710 2013-08-13 Andreas Schwab <schwab@suse.de>
28713 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28715 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28716 LDBL_MAX_EXP >= 16384]: Add tests for it.
28718 2013-08-12 David S. Miller <davem@davemloft.net>
28720 * version.h (RELEASE): Set to "development".
28721 (VERSION): Set to "2.18.90".
28722 * NEWS: Add 2.19 section.
28724 2013-08-03 David S. Miller <davem@davemloft.net>
28726 * po/ko.po: Update Korean translation from translation project.
28728 2013-08-01 David S. Miller <davem@davemloft.net>
28730 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28731 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28734 2013-07-30 David S. Miller <davem@davemloft.net>
28736 * po/fr.po: Update French translation from translation project.
28738 2013-07-28 David S. Miller <davem@davemloft.net>
28740 * po/cs.po: Update Czech translation from translation project.
28742 * po/sv.po: Update Swedish translation from translation project.
28744 2013-07-27 David S. Miller <davem@davemloft.net>
28746 * po/eo.po: Update Esperanto translation from translation project.
28748 * po/vi.po: Update Vietnamese translation from translation project.
28750 * po/de.po: Update German translation from translation project.
28752 2013-07-26 David S. Miller <davem@davemloft.net>
28754 * po/bg.po: Update Bulgarian translation from translation project.
28756 * po/nl.po: Update Dutch translation from translation project.
28757 * po/pl.po: Update Polish translation from translation project.
28758 * po/ru.po: Update Russian translation from translation project.
28760 2013-07-24 David S. Miller <davem@davemloft.net>
28762 * po/libc.pot: Update.
28764 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28766 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28767 variable page size.
28768 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28769 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28770 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28772 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28774 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28776 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28777 Andreas Schwab <schwab@suse.de>
28778 Roland McGrath <roland@hack.frob.com>
28779 Joseph Myers <joseph@codesourcery.com>
28780 Carlos O'Donell <carlos@redhat.com>
28783 * config.h.in: Define HAVE_PT_CHOWN.
28784 * config.make.in (build-pt-chown): New variable.
28785 * configure.in (--enable-pt_chown): New configure option.
28786 * configure: Regenerate.
28787 * login/Makefile: Include Makeconfig. Build pt_chown only if
28788 build-pt-chown is enabled.
28789 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28790 pt_chown to fix pty ownership.
28791 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28793 * manual/install.texi (Configuring and compiling): Mention
28794 --enable-pt_chown. Add @findex for grantpt.
28795 * INSTALL: Regenerate.
28797 2013-07-20 David S. Miller <davem@davemloft.net>
28799 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28800 difference between 32-bit and 64-bit.
28802 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28805 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28806 Avoid system header dependency with -ffreestanding.
28807 ($(objpfx)bits/syscall%d): Likewise.
28809 2013-07-13 David S. Miller <davem@davemloft.net>
28811 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28812 underflows from atanl/atan2l due to bug 15319.
28813 (casinh_test_data): Likewise.
28815 2013-07-07 David S. Miller <davem@davemloft.net>
28817 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28819 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28821 * sysdeps/i386/fpu/libm-test-ulps: Update.
28822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28824 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28826 * configure.in (--enable-lock-elision): Fix message text.
28827 * INSTALL: Regenerate.
28828 * configure: Regenerate.
28830 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28834 2013-07-03 Andreas Jaeger <aj@suse.de>
28836 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28838 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28839 (ptrace_peeksiginfo_args): Add.
28840 (__ptrace_peeksiginfo_flags): Add.
28841 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28842 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28843 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28845 2013-07-03 Allan McRae <allan@archlinux.org>
28847 * sysdeps/i386/fpu/libm-test-ulps: Update.
28849 2013-07-02 David S. Miller <davem@davemloft.net>
28851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28853 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28857 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28859 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28862 2013-07-02 Andi Kleen <ak@linux.intel.com>
28864 * config.h.in (ENABLE_LOCK_ELISION): Add.
28865 * configure.in (--enable-lock-elision): Add option.
28866 * manual/install.texi: Document --enable lock elision.
28867 * configure: Regenerate
28868 * INSTALL: Regenerate.
28870 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28872 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28873 SSE4.2 strcasecmp for libc.a.
28874 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28876 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28879 * soft-fp/op-common.h (_FP_FMA): New macro.
28880 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28881 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28882 (_FP_MUL_MEAT_1_imm): ... here.
28883 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28884 (_FP_MUL_MEAT_1_wide): ... here.
28885 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28886 (_FP_MUL_MEAT_1_hard): ... here.
28887 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28888 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28889 (_FP_MUL_MEAT_2_wide): ... here.
28890 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28891 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28892 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28893 (_FP_MUL_MEAT_2_gmp): ... here.
28894 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28895 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28896 (_FP_MUL_MEAT_4_wide): ... here.
28897 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28898 (_FP_MUL_MEAT_4_gmp): ... here.
28899 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28900 (_FP_WFRACBITS_DW_S): Likewise.
28901 (_FP_WFRACXBITS_DW_S): Likewise.
28902 (_FP_HIGHBIT_DW_S): Likewise.
28903 (FP_FMA_S): Likewise.
28904 (_FP_FRAC_HIGH_DW_S): Likewise.
28905 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28906 (_FP_WFRACBITS_DW_D): Likewise.
28907 (_FP_WFRACXBITS_DW_D): Likewise.
28908 (_FP_HIGHBIT_DW_D): Likewise.
28909 (FP_FMA_D): Likewise.
28910 (_FP_FRAC_HIGH_DW_D): Likewise.
28911 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28912 (_FP_WFRACBITS_DW_E): Likewise.
28913 (_FP_WFRACXBITS_DW_E): Likewise.
28914 (_FP_HIGHBIT_DW_E): Likewise.
28915 (FP_FMA_E): Likewise.
28916 (_FP_FRAC_HIGH_DW_E): Likewise.
28917 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28918 (_FP_WFRACBITS_DW_Q): Likewise.
28919 (_FP_WFRACXBITS_DW_Q): Likewise.
28920 (_FP_HIGHBIT_DW_Q): Likewise.
28921 (FP_FMA_Q): Likewise.
28922 (_FP_FRAC_HIGH_DW_Q): Likewise.
28923 * soft-fp/fmasf4.c: New file.
28924 * soft-fp/fmadf4.c: Likewise.
28925 * soft-fp/fmatf4.c: Likewise.
28927 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28930 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28932 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28934 (index_Slow_SSE4_2): Likewise.
28935 (index_Prefer_PMINUB_for_stringop): Likewise.
28936 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28937 bit_Slow_SSE4_2 is set.
28938 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28939 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28941 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28943 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28944 rtld_global._dl_hwcap2.
28945 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28947 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28948 POWER8 feature descriptions defined in _dl_hwcap2.
28949 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28950 string handling for POWER8 feature bits.
28951 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28952 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28953 _dl_powerpc_cap_flags.
28954 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28955 * sysdeps/powerpc/rtld-global-offsets.sym
28956 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28957 _dl_hwcap2 in the rtld_global_ro structure.
28959 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28961 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28962 hardware capabilities in support of AT_HWCAP2.
28963 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28964 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28966 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28967 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28968 explicitly the unknown a_type display mechanism is used.
28969 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28970 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28972 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28973 to macro prototype for AT_HWCAP2 support.
28974 * sysdeps/i386/dl-procinfo.h: Likewise.
28975 * sysdeps/s390/dl-procinfo.h: Likewise.
28976 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28977 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28978 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28979 return -1 for unknown a_type display fallback.
28980 * sysdeps/sparc/dl-procinfo.h: Likewise.
28981 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28982 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28984 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28986 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28987 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28989 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28992 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28993 mprotect making __stack_prot writable.
28995 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28996 Joseph Myers <joseph@codesourcery.com>
28998 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28999 as being properly aligned.
29001 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29003 * dlfcn/modstatic5.c: New file.
29004 * dlfcn/tststatic5.c: New file.
29005 * dlfcn/Makefile (tests): Add tststatic5.
29006 (tests-static): Likewise.
29007 (modules-names): Add modstatic5.
29008 (tststatic5-ENV): New variable.
29009 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29012 * elf/dl-support.c (_dl_main_map): New variable.
29013 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29014 (_dl_nns, _dl_load_adds): Set to 1.
29015 (_dl_initial_searchlist): Refer to _dl_main_map.
29016 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29017 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29018 call to _dl_get_origin.
29019 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29021 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29022 * dlfcn/modstatic3.c: New file.
29023 * dlfcn/tststatic3.c: New file.
29024 * dlfcn/tststatic4.c: New file.
29025 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29026 (tests-static): Likewise.
29027 (modules-names): Add modstatic3.
29028 (tststatic3-ENV, tststatic4-ENV): New variables.
29029 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29030 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29032 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29034 * configure.in (CC): Require GCC version 4.4 or later.
29035 * configure: Regenerated.
29036 * manual/install.texi (Tools for Compilation): Update GCC version
29038 * INSTALL: Regenerated.
29040 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29043 * string/test-memcmp.c (check2): New.
29044 (main): Call check2.
29046 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29048 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29051 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29053 (dl_open_worker) [!SHARED]: ... here.
29055 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29057 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29059 2013-06-25 Richard Henderson <rth@redhat.com>
29061 * locale/programs/locarchive.c: Include <libc-internal.h>
29063 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29065 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29066 trailing whitespace removed.
29068 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29071 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29072 * locale/programs/locarchive.c: Include libc-mmap.h.
29073 (prepare_address_space): Take two new outputs (the mmap base and len).
29074 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29076 (create_archive): Declare new mmap base and len values for
29077 prepare_address_space, and store the result in ah.
29078 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29079 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29080 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29081 Declare new mmap base and len values for
29082 prepare_address_space, and store the result in new_ah.
29083 (open_archive): Declare new mmap base and len values for
29084 prepare_address_space, and store the result in ah.
29085 (close_archive): If ah->mmap_base is not NULL, use that and
29086 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29087 * sysdeps/generic/libc-mmap.h: New file.
29089 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29091 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29092 (ALIGN_UP): Likewise.
29093 (PTR_ALIGN_DOWN): Likewise.
29094 (PTR_ALIGN_UP): Likewise.
29096 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29098 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29099 entry mapped to PPC_PLATFORM_POWER8.
29100 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29102 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29103 (_dl_string_platform): Add case for exporting platform position for
29105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29106 search path to sysdeps/powerpc/powerpc32/power8 directory.
29107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29108 search path to sysdeps/powerpc/powerpc64/power8 directory.
29109 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29110 power7 directories.
29111 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29112 power7 directories.
29114 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29116 * INSTALL: Regenerate.
29118 * nscd/connections.c (nscd_init): Fix comment.
29120 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29122 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29125 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29126 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29128 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29130 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29132 (DL_DST_REQ_STATIC): Remove macro.
29134 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29137 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29138 with a shift of 0 bits.
29140 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29142 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29145 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29148 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29150 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29152 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29153 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29154 accepts -fno-tree-loop-distribute-patterns.
29155 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29156 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29158 * string/memset.c (memset): Likewise.
29159 * string/test-memmove.c (simple_memmove): Disable loop transformation
29161 * string/test-memset.c (simple_memset): Likewise.
29162 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29163 * benchtests/bench-memset.c (simple_memset): Likewise.
29164 * configure: Regenerated.
29166 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29168 * math/test-misc.c (main): Ignore fesetround failure when failures
29169 of subsequent rounding tests would be ignored.
29172 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29173 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29174 * math/fegetenv.c (__fegetenv): Return 0.
29175 * math/fegetexcept.c (fegetexcept): Return 0.
29176 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29178 * math/feholdexcpt.c (feholdexcept): Return 0.
29179 * math/fesetenv.c (__fesetenv): Return 0.
29180 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29181 argument FE_TONEAREST.
29182 * math/feupdateenv.c (__feupdateenv): Return 0.
29183 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29185 2013-06-18 Roland McGrath <roland@hack.frob.com>
29187 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29188 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29189 ($(objpfx)rtld-%.os rules): Use them.
29191 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29193 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29196 2013-06-17 Roland McGrath <roland@hack.frob.com>
29198 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29199 length of target pattern, then descending length of dependency pattern.
29200 * configure.in (AWK): Require gawk 3.1.2 or newer.
29201 * manual/install.texi (Tools for Compilation): Say that we do.
29202 * configure: Regenerated.
29204 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29205 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29206 * scripts/sysd-rules.awk: ... this new script.
29207 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29208 than a glob-style pattern.
29210 2013-06-17 Joseph Myers <joseph@codesourcery.com>
29212 * math/test-misc.c (main): Do not treat incorrectly rounded
29213 conversions as failure unless ROUNDING_TESTS passes.
29215 2013-06-15 Joseph Myers <joseph@codesourcery.com>
29218 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29219 restore exception state around main square root computation, then
29220 check for inexactness explicitly.
29222 * math/libm-test.inc (fma_test_data): Add another test.
29224 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29226 * manual/threads.texi (Non-POSIX Extensions): New document
29227 node. Document pthread_getattr_default_np and
29228 pthread_setattr_default_np.
29230 * Versions.def (libpthread): Add GLIBC_2.18.
29231 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29240 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29251 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29254 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29256 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29257 H.J. Lu <hjl.tools@gmail.com>
29260 * sysdeps/x86_64/rtld-memset.c: Remove file.
29261 * sysdeps/x86_64/rtld-memset.S: New file.
29263 2013-06-14 Joseph Myers <joseph@codesourcery.com>
29265 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29266 (test_in_one_mode): Take arguments for whether the rounding mode
29267 is supported for each floating-point type.
29268 (do_test): Pass new arguments to test_in_one_mode using
29271 2013-06-13 Roland McGrath <roland@hack.frob.com>
29273 * posix/tst-waitid.c (do_test): Distinguish different instances of
29274 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
29275 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29276 before entering the kernel for waitpid.
29278 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29280 * NEWS: Fix note on clock function precision. Text by Roland
29283 2013-06-13 Roland McGrath <roland@hack.frob.com>
29285 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29286 it into place only when and if the sanity check passes.
29288 2013-06-13 Joseph Myers <joseph@codesourcery.com>
29290 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29291 output for whether conversion result is exact. Take argument
29292 indicating whether type is IBM long double.
29293 (round_for_all): Change need_exact field to ibm_ld.
29294 * stdlib/tst-strtod-round.c (struct exactness): New type.
29295 (struct test): Change bool ld_ok field to struct exactness exact.
29296 (TEST): Update all definitions for change to field.
29297 (tests): Regenerate array contents.
29298 (test_in_one_mode): Take pointer to new field instead of old ld_ok
29299 field value. Check for IBM long double here.
29300 (do_test): Update calls to test_in_one_mode.
29302 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29305 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29306 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29308 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29311 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29312 generated by the compiler on loop optimizations.
29313 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29314 general definitions.
29316 2013-06-12 Joseph Myers <joseph@codesourcery.com>
29318 * math/bug-nextafter.c: Include <math-tests.h>.
29319 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29321 * math/bug-nexttoward.c: Include <math-tests.h>.
29322 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29324 * math/test-misc.c: Include <math-tests.h>.
29325 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29328 2013-06-12 Andreas Jaeger <aj@suse.de>
29330 * po/ia.po: Update Interlingua translation from translation
29333 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29335 * include/fenv.h: Include stdbool.h.
29336 (struct rm_ctx): New structure.
29337 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29339 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29340 (SET_RESTORE_ROUNDF): Likewise.
29341 (SET_RESTORE_ROUNDL): Likewise.
29342 (SET_RESTORE_ROUND_NOEX): Likewise.
29343 (SET_RESTORE_ROUND_NOEXF): Likewise.
29344 (SET_RESTORE_ROUND_NOEXL): Likewise.
29345 (SET_RESTORE_ROUND_53BIT): Likewise.
29346 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29347 (libc_feresetround_noexf_ctx): Likewise.
29348 (libc_feresetround_noexl_ctx): Likewise.
29349 (libc_feholdsetround_53bit_ctx): Likewise.
29350 (libc_feresetround_53bit_ctx): Likewise.
29351 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29352 (libc_feholdexcept_setround_sse_ctx): New function.
29353 (libc_fesetenv_sse_ctx): Likewise.
29354 (libc_feupdateenv_sse_ctx): Likewise.
29355 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29356 (libc_feholdexcept_setround_387_ctx): Likewise.
29357 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29358 (libc_feholdsetround_387_prec_ctx): Likewise.
29359 (libc_feholdsetround_387_ctx): Likewise.
29360 (libc_feholdsetround_387_53bit_ctx): Likewise.
29361 (libc_feholdsetround_sse_ctx): Likewise.
29362 (libc_feresetround_sse_ctx): Likewise.
29363 (libc_feresetround_387_ctx): Likewise.
29364 (libc_feupdateenv_387_ctx): Likewise.
29365 (libc_feholdexcept_setroundf_ctx): Define macro.
29366 (libc_fesetenvf_ctx): Likewise.
29367 (libc_feupdateenvf_ctx): Likewise.
29368 (libc_feholdsetroundf_ctx): Likewise.
29369 (libc_feresetroundf_ctx): Likewise.
29370 (libc_feholdexcept_setround_ctx): Likewise.
29371 (libc_fesetenv_ctx): Likewise.
29372 (libc_feupdateenv_ctx): Likewise.
29373 (libc_feholdsetround_ctx): Likewise.
29374 (libc_feresetround_ctx): Likewise.
29375 (libc_feholdexcept_setroundl_ctx): Likewise.
29376 (libc_feupdateenvl_ctx): Likewise.
29377 (libc_feholdsetroundl_ctx): Likewise.
29378 (libc_feresetroundl_ctx): Likewise.
29379 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29380 (libc_feresetround_53bit_ctx): Likewise.
29382 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29384 * locale/iso-639.def: Convert to UTF-8.
29386 2013-06-11 Joseph Myers <joseph@codesourcery.com>
29388 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29389 (EXCEPTION_TESTS_double): Likewise.
29390 (EXCEPTION_TESTS_long_double): Likewise.
29391 (EXCEPTION_TESTS): Likewise.
29392 * math/libm-test.inc (test_exceptions): Only test exceptions if
29393 EXCEPTION_TESTS (FLOAT).
29395 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29397 * benchtests/Makefile (string-bench): Add strcpy_chk and
29399 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29400 * benchtests/bench-stpcpy_chk.c: New file.
29401 * benchtests/bench-strcpy_chk-ifunc.c: New file.
29402 * benchtests/bench-strcpy_chk.c: New file.
29403 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29405 (do_test): Likewise.
29407 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29409 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29410 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29411 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29412 with tabs where appropriate.
29413 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29415 [PPC_PLATFORM_PPC440]: Likewise.
29416 [PPC_PLATFORM_PPC464]: Likewise.
29417 [PPC_PLATFORM_PPC476]: Likewise.
29418 (_dl_string_platform): Add support for detecting ppc405, ppc440,
29419 ppc464, and ppc476 platform strings merging from ports/
29422 2013-06-11 Andreas Schwab <schwab@suse.de>
29425 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29426 (from_ucs4_idx): Regenerate.
29427 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29428 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29429 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29430 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29431 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29432 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29433 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29434 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29435 from FROM_LOOP and TO_LOOP specific macros.
29436 (BODY): Handle combining characters.
29437 * iconvdata/BIG5HKSCS.irreversible: Update.
29438 * iconvdata/BIG5HKSCS.precomposed: New file.
29439 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29441 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29443 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29445 * include/sys/time.h: Fix indentation and add copyright header.
29447 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29448 (do_test): Likewise.
29449 * string/test-memchr.c (do_one_test): Likewise.
29450 (do_test): Likewise.
29451 * string/test-memcmp.c (do_one_test): Likewise.
29452 (do_test): Likewise.
29453 * string/test-memcpy.c (do_one_test): Likewise.
29454 (do_test): Likewise.
29455 * string/test-memmem.c (do_one_test): Likewise.
29456 (do_test): Likewise.
29457 (do_random_tests): Likewise.
29458 * string/test-memmove.c (do_one_test): Likewise.
29459 (do_test): Likewise.
29460 * string/test-memset.c (do_one_test): Likewise.
29461 (do_test): Likewise.
29462 * string/test-rawmemchr.c (do_one_test): Likewise.
29463 (do_test): Likewise.
29464 * string/test-strcasecmp.c (do_one_test): Likewise.
29465 (do_test): Likewise.
29466 * string/test-strcasestr.c (do_one_test): Likewise.
29467 (do_test): Likewise.
29468 * string/test-strcat.c (do_one_test): Likewise.
29469 (do_test): Likewise.
29470 * string/test-strchr.c (do_one_test): Likewise.
29471 (do_test): Likewise.
29472 * string/test-strcmp.c (do_one_test): Likewise.
29473 (do_test): Likewise.
29474 * string/test-strcpy.c (do_one_test): Likewise.
29475 (do_test): Likewise.
29476 * string/test-string.h: Likewise.
29477 (test_init): Likewise.
29478 * string/test-strlen.c (do_one_test): Likewise.
29479 (do_test): Likewise.
29480 * string/test-strncasecmp.c (do_one_test): Likewise.
29481 (do_test): Likewise.
29482 * string/test-strncat.c (do_one_test): Likewise.
29483 (do_test): Likewise.
29484 * string/test-strncmp.c (do_one_test): Likewise.
29485 (do_test_limit): Likewise.
29486 (do_test): Likewise.
29487 * string/test-strncpy.c (do_one_test): Likewise.
29488 (do_test): Likewise.
29489 * string/test-strnlen.c (do_one_test): Likewise.
29490 (do_test): Likewise.
29491 * string/test-strpbrk.c (do_one_test): Likewise.
29492 (do_test): Likewise.
29493 * string/test-strrchr.c (do_one_test): Likewise.
29494 (do_test): Likewise.
29495 * string/test-strspn.c (do_one_test): Likewise.
29496 (do_test): Likewise.
29497 * string/test-strstr.c (do_one_test): Likewise.
29498 (do_test): Likewise.
29500 * benchtests/Makefile (string-bench): Add string benchmarks.
29501 * benchtests/bench-bcopy-ifunc.c: New file.
29502 * benchtests/bench-bcopy.c: New file.
29503 * benchtests/bench-bzero-ifunc.c: New file.
29504 * benchtests/bench-bzero.c: New file.
29505 * benchtests/bench-memccpy-ifunc.c: New file.
29506 * benchtests/bench-memccpy.c: New file.
29507 * benchtests/bench-memchr-ifunc.c: New file.
29508 * benchtests/bench-memchr.c: New file.
29509 * benchtests/bench-memcmp-ifunc.c: New file.
29510 * benchtests/bench-memcmp.c: New file.
29511 * benchtests/bench-memmem-ifunc.c: New file.
29512 * benchtests/bench-memmem.c: New file.
29513 * benchtests/bench-memmove-ifunc.c: New file.
29514 * benchtests/bench-memmove.c: New file.
29515 * benchtests/bench-mempcpy-ifunc.c: New file.
29516 * benchtests/bench-mempcpy.c: New file.
29517 * benchtests/bench-memset-ifunc.c: New file.
29518 * benchtests/bench-memset.c: New file.
29519 * benchtests/bench-rawmemchr-ifunc.c: New file.
29520 * benchtests/bench-rawmemchr.c: New file.
29521 * benchtests/bench-stpcpy-ifunc.c: New file.
29522 * benchtests/bench-stpcpy.c: New file.
29523 * benchtests/bench-stpncpy-ifunc.c: New file.
29524 * benchtests/bench-stpncpy.c: New file.
29525 * benchtests/bench-strcasecmp-ifunc.c: New file.
29526 * benchtests/bench-strcasecmp.c: New file.
29527 * benchtests/bench-strcasestr-ifunc.c: New file.
29528 * benchtests/bench-strcasestr.c: New file.
29529 * benchtests/bench-strcat-ifunc.c: New file.
29530 * benchtests/bench-strcat.c: New file.
29531 * benchtests/bench-strchr-ifunc.c: New file.
29532 * benchtests/bench-strchr.c: New file.
29533 * benchtests/bench-strchrnul-ifunc.c: New file.
29534 * benchtests/bench-strchrnul.c: New file.
29535 * benchtests/bench-strcmp-ifunc.c: New file.
29536 * benchtests/bench-strcmp.c: New file.
29537 * benchtests/bench-strcpy-ifunc.c: New file.
29538 * benchtests/bench-strcpy.c: New file.
29539 * benchtests/bench-strcspn-ifunc.c: New file.
29540 * benchtests/bench-strcspn.c: New file.
29541 * benchtests/bench-strlen-ifunc.c: New file.
29542 * benchtests/bench-strlen.c: New file.
29543 * benchtests/bench-strncasecmp-ifunc.c: New file.
29544 * benchtests/bench-strncasecmp.c: New file.
29545 * benchtests/bench-strncat-ifunc.c: New file.
29546 * benchtests/bench-strncat.c: New file.
29547 * benchtests/bench-strncmp-ifunc.c: New file.
29548 * benchtests/bench-strncmp.c: New file.
29549 * benchtests/bench-strncpy-ifunc.c: New file.
29550 * benchtests/bench-strncpy.c: New file.
29551 * benchtests/bench-strnlen-ifunc.c: New file.
29552 * benchtests/bench-strnlen.c: New file.
29553 * benchtests/bench-strpbrk-ifunc.c: New file.
29554 * benchtests/bench-strpbrk.c: New file.
29555 * benchtests/bench-strrchr-ifunc.c: New file.
29556 * benchtests/bench-strrchr.c: New file.
29557 * benchtests/bench-strspn-ifunc.c: New file.
29558 * benchtests/bench-strspn.c: New file.
29559 * benchtests/bench-strstr-ifunc.c: New file.
29560 * benchtests/bench-strstr.c: New file.
29562 * benchtests/Makefile: Disable parallel execution of targets.
29563 (string-bench): Add memcpy.
29564 (benchset): New variable to store a list of benchmark sets.
29565 (bench-func): Renamed from bench.
29566 (bench-set): New target.
29567 (bench): Depend on bench-func and bench-set.
29568 * benchtests/README: Add section on benchmark sets.
29569 * benchtests/bench-memcpy-ifunc.c: New file.
29570 * benchtests/bench-memcpy.c: New file.
29571 * benchtests/bench-string.h: New file.
29573 2013-06-11 Andreas Schwab <schwab@suse.de>
29576 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29577 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29578 values in the triple.
29579 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29580 terminator in the group key.
29582 2013-06-11 Andreas Jaeger <aj@suse.de>
29584 * po/zh_TW.po: Update Chinese (traditional) translation from
29585 translation project.
29587 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29589 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29590 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29591 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29592 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29593 (clock_getcpuclockid): Likewise.
29594 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29595 Add weak_alias and libc_hidden_def.
29596 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29597 * rt/clock_gettime.c (clock_gettime): Rename to
29598 __clock_gettime. Add weak_alias and libc_hidden_def.
29599 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29600 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29601 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29602 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29603 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29605 * rt/clock_settime.c (clock_settime): Rename to
29606 __clock_settime. Add weak_alias and libc_hidden_def.
29607 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29609 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29611 * mach/err_boot.sub: Remove trailing whitespace.
29612 * mach/err_ipc.sub: Likewise.
29613 * mach/err_mach.sub: Likewise.
29615 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29616 (ROUNDING_TESTS_double): Likewise.
29617 (ROUNDING_TESTS_long_double): Likewise.
29618 (ROUNDING_TESTS): Likewise.
29619 * math/libm-test.inc: Include <math-tests.h>.
29620 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29621 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29622 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29623 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29625 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29627 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29630 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29632 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29633 otherwise empty TRANS lines.
29634 * sysdeps/gnu/errlist.c: Regenerated.
29636 * catgets/gencat.c (error_print): Use (void) in function
29638 * crypt/crypt_util.c (__init_des): Likewise.
29639 * crypt/speeds.c (Stop): Likewise.
29641 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29642 * inet/ruserpass.c (token): Likewise.
29643 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29644 * intl/localealias.c (extend_alias_table): Likewise.
29645 * intl/plural-exp.c (init_germanic_plural): Likewise.
29646 * libio/fcloseall.c (__fcloseall): Likewise.
29647 * libio/genops.c (_IO_flush_all): Likewise.
29648 (_IO_flush_all_linebuffered): Likewise.
29649 (_IO_cleanup): Likewise.
29650 (_IO_iter_begin): Likewise.
29651 (_IO_iter_end): Likewise.
29652 (_IO_list_lock): Likewise.
29653 (_IO_list_unlock): Likewise.
29654 (_IO_list_resetlock): Likewise.
29655 * libio/getchar.c (getchar): Likewise.
29656 * libio/getchar_u.c (getchar_unlocked): Likewise.
29657 * libio/getwchar.c (getwchar): Likewise.
29658 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29659 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29660 * login/getpt.c (__getpt): Likewise.
29661 * login/tst-utmp.c (main): Likewise.
29662 * malloc/hooks.c (__malloc_check_init): Likewise.
29663 * malloc/malloc.c (__malloc_stats): Likewise.
29664 * malloc/mtrace.c (tr_break): Likewise.
29665 (mtrace): Likewise.
29666 (muntrace): Likewise.
29667 * misc/fstab.c (endfsent): Likewise.
29668 * misc/getclktck.c (__getclktck): Likewise.
29669 * misc/getdtsz.c (__getdtablesize): Likewise.
29670 * misc/gethostid.c (gethostid): Likewise.
29671 * misc/getpagesize.c (__getpagesize): Likewise.
29672 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29673 (__get_nprocs): Likewise.
29674 (__get_phys_pages): Likewise.
29675 (__get_avphys_pages): Likewise.
29676 * misc/getttyent.c (getttyent): Likewise.
29677 (setttyent): Likewise.
29678 (endttyent): Likewise.
29679 * misc/getusershell.c (getusershell): Likewise.
29680 (endusershell): Likewise.
29681 (setusershell): Likewise.
29682 (initshells): Likewise.
29683 * misc/hsearch.c (__hdestroy): Likewise.
29684 * misc/sync.c (sync): Likewise.
29685 * misc/syslog.c (closelog_internal): Likewise.
29686 (closelog): Likewise.
29687 * misc/ttyslot.c (ttyslot): Likewise.
29688 * misc/vhangup.c (vhangup): Likewise.
29689 * posix/fork.c (__fork): Likewise.
29690 * posix/getegid.c (__getegid): Likewise.
29691 * posix/geteuid.c (__geteuid): Likewise.
29692 * posix/getgid.c (__getgid): Likewise.
29693 * posix/getpid.c (__getpid): Likewise.
29694 * posix/getppid.c (__getppid): Likewise.
29695 * posix/getuid.c (__getuid): Likewise.
29696 * posix/pause.c (pause): Likewise.
29697 * posix/setpgrp.c (setpgrp): Likewise.
29698 * posix/setsid.c (__setsid): Likewise.
29699 * posix/test-vfork.c (noop): Likewise.
29700 * resolv/gethnamaddr.c (_endhtent): Likewise.
29701 (_gethtent): Likewise.
29702 (ht_endhostent): Likewise.
29703 (gethostent): Likewise.
29704 (dns_service): Likewise.
29705 * stdlib/drand48.c (drand48): Likewise.
29706 * stdlib/lrand48.c (lrand48): Likewise.
29707 * stdlib/mrand48.c (mrand48): Likewise.
29708 * stdlib/rand.c (rand): Likewise.
29709 * stdlib/random.c (__random): Likewise.
29710 * stdlib/setenv.c (clearenv): Likewise.
29711 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29712 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29713 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29714 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29715 (__get_nprocs): Likewise.
29716 (__get_phys_pages): Likewise.
29717 (__get_avphys_pages): Likewise.
29718 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29719 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29720 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29721 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29722 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29723 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29724 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29725 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29726 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29727 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29728 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29729 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29730 * sysdeps/posix/clock.c (clock): Likewise.
29731 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29732 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29733 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29734 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29735 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29737 (__get_nprocs_conf): Likewise.
29738 (__get_phys_pages): Likewise.
29739 (__get_avphys_pages): Likewise.
29740 * time/clock.c (clock): Likewise.
29741 * time/tzset.c (__tzname_max): Likewise.
29743 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29745 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29746 (__bswap_32): Do not use "register".
29747 * crypt/crypt.c (_ufc_doit_r): Likewise.
29748 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29749 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29750 * gmon/gmon.c (__monstartup): Likewise.
29751 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29752 * hurd/hurdmalloc.c (more_memory): Likewise.
29753 (malloc): Likewise.
29755 (realloc): Likewise.
29756 (malloc_fork_prepare): Likewise.
29757 (malloc_fork_parent): Likewise.
29758 (malloc_fork_child): Likewise.
29759 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29760 (_svcauth_des): Likewise.
29761 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29762 * inet/inet_net.c (inet_network): Likewise.
29763 * inet/inet_netof.c (inet_netof): Likewise.
29764 * inet/rcmd.c (__validuser2_sa): Likewise.
29765 * io/fts.c (fts_open): Likewise.
29766 (fts_load): Likewise.
29767 (fts_close): Likewise.
29768 (fts_read): Likewise.
29769 (fts_children): Likewise.
29770 (fts_build): Likewise.
29771 (fts_stat): Likewise.
29772 (fts_sort): Likewise.
29773 (fts_alloc): Likewise.
29774 (fts_lfree): Likewise.
29775 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29776 (_IO_file_xsgetn): Likewise.
29777 (_IO_file_xsgetn_mmap): Likewise.
29778 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29779 (_IO_cookie_write): Likewise.
29780 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29781 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29782 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29783 * malloc/obstack.c (_obstack_begin): Likewise.
29784 (_obstack_begin_1): Likewise.
29785 (_obstack_newchunk): Likewise.
29786 (_obstack_allocated_p): Likewise.
29787 (obstack_free): Likewise.
29788 (_obstack_memory_used): Likewise.
29789 * misc/getttyent.c (getttynam): Likewise.
29790 (getttyent): Likewise.
29793 * misc/getusershell.c (initshells): Likewise.
29794 * misc/syslog.c (__vsyslog_chk): Likewise.
29795 * misc/ttyslot.c (ttyslot): Likewise.
29796 * nis/nis_hash.c (__nis_hash): Likewise.
29797 * posix/fnmatch_loop.c (FCT): Likewise.
29798 * posix/getconf.c (print_all): Likewise.
29800 * posix/getopt.c (exchange): Likewise.
29801 * posix/glob.c (globfree): Likewise.
29802 (prefix_array): Likewise.
29803 (__glob_pattern_type): Likewise.
29804 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29805 (NS_GET32): Likewise.
29806 (NS_PUT16): Likewise.
29807 (NS_PUT32): Likewise.
29808 * resolv/gethnamaddr.c (getanswer): Likewise.
29809 (gethostbyname2): Likewise.
29810 (gethostbyaddr): Likewise.
29811 (_gethtent): Likewise.
29812 (_gethtbyname2): Likewise.
29813 (_gethtbyaddr): Likewise.
29814 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29815 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29816 * resolv/res_init.c (__res_vinit): Likewise.
29817 (net_mask): Likewise.
29818 * resolv/res_mkquery.c (outchar): Likewise.
29820 * stdio-common/printf_fp.c (outchar): Likewise.
29822 * stdio-common/printf_fphex.c (outchar): Likewise.
29824 * stdio-common/printf_size.c (outchar): Likewise.
29826 * stdio-common/test_rdwr.c (main): Likewise.
29827 * stdio-common/tfformat.c (matches): Likewise.
29828 * stdio-common/vfprintf.c (outchar): Likewise.
29829 (printf_unknown): Likewise.
29830 (buffered_vfprintf): Likewise.
29831 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29832 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29833 (ReadFile): Likewise.
29834 * stdlib/qsort.c (SWAP): Likewise.
29835 (_quicksort): Likewise.
29836 * stdlib/setenv.c (__add_to_environ): Likewise.
29837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29838 * stdlib/strtol_l.c (__strtol_l): Likewise.
29839 * stdlib/tst-strtod.c (main): Likewise.
29840 * stdlib/tst-strtol.c (main): Likewise.
29841 * stdlib/tst-strtoll.c (main): Likewise.
29842 * string/bits/string2.h (__strcmp_cc): Likewise.
29843 (__strcmp_cg): Likewise.
29844 (__strcspn_c1): Likewise.
29845 (__strcspn_c2): Likewise.
29846 (__strcspn_c3): Likewise.
29847 (__strspn_c1): Likewise.
29848 (__strspn_c2): Likewise.
29849 (__strspn_c3): Likewise.
29850 (__strsep_1c): Likewise.
29851 (__strsep_2c): Likewise.
29852 (__strsep_3c): Likewise.
29853 * string/memccpy.c (__memccpy): Likewise.
29854 * string/stpcpy.c (__stpcpy): Likewise.
29855 * string/strcmp.c (strcmp): Likewise.
29856 * string/strrchr.c (strrchr): Likewise.
29857 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29859 * sysdeps/mach/hurd/getcwd.c
29860 (_hurd_canonicalize_directory_name_internal): Likewise.
29861 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29862 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29863 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29864 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29865 Likewise, in both definitions.
29866 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29868 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29869 64] (__bswap_64): Likewise.
29870 * time/test_time.c (main): Likewise.
29871 * time/tzfile.c (__tzfile_read): Likewise.
29872 (__tzfile_compute): Likewise.
29873 * time/tzset.c (__tzset_parse_tz): Likewise.
29874 (tzset_internal): Likewise.
29875 (compute_change): Likewise.
29876 * wcsmbs/wcscat.c (__wcscat): Likewise.
29877 * wcsmbs/wcschr.c (wcschr): Likewise.
29878 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29879 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29880 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29881 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29882 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29883 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29884 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29885 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29886 * wcsmbs/wmemset.c (wmemset): Likewise.
29888 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29890 * scripts/config.guess: Update to version 2013-05-16.
29891 * scripts/config.sub: Update to version 2013-04-24.
29892 * scripts/install-sh: Update to version 2011-11-20.07.
29893 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29894 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29896 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29898 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29899 * elf/sln.c: Likewise.
29900 * hurd/hurd/ioctl.h: Likewise.
29901 * hurd/hurdmalloc.c: Likewise.
29902 * hurd/xattr.c: Likewise.
29903 * include/shlib-compat.h: Likewise.
29904 * inet/ruserpass.c: Likewise.
29905 * libio/iofgets_u.c: Likewise.
29906 * libio/iofgetws_u.c: Likewise.
29907 * locale/programs/ld-identification.c: Likewise.
29908 * locale/programs/ld-time.c: Likewise.
29909 * mach/msg-destroy.c: Likewise.
29910 * nss/nss_files/files-netgrp.c: Likewise.
29911 * resolv/res_data.c: Likewise.
29912 * soft-fp/op-1.h: Likewise.
29913 * soft-fp/op-2.h: Likewise.
29914 * soft-fp/op-4.h: Likewise.
29915 * soft-fp/op-common.h: Likewise.
29916 * stdio-common/printf_fphex.c: Likewise.
29917 * stdlib/strtod_l.c: Likewise.
29918 * sunrpc/rpc/clnt.h: Likewise.
29919 * sysdeps/generic/framestate.c: Likewise.
29920 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29921 * sysdeps/i386/bsd-setjmp.S: Likewise.
29922 * sysdeps/i386/__longjmp.S: Likewise.
29923 * sysdeps/i386/setjmp.S: Likewise.
29924 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29925 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29926 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29927 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29928 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29929 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29930 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29931 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29932 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29933 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29934 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29935 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29940 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29941 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29942 * sysdeps/ieee754/support.c: Likewise.
29943 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29944 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29945 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29946 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29947 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29948 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29949 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29950 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29951 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29952 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29953 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29954 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29955 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29956 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29957 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29958 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29959 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29962 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29964 * posix/transbug.c: Remove executable mode.
29966 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29968 * crypt/speeds.c: Remove trailing whitespace.
29969 * dlfcn/default.c: Likewise.
29970 * elf/ifuncdep2.c: Likewise.
29971 * elf/ifuncmain1.c: Likewise.
29972 * elf/ifuncmain1vis.c: Likewise.
29973 * elf/testobj.h: Likewise.
29974 * elf/tst-stackguard1.c: Likewise.
29975 * gmon/sys/gmon.h: Likewise.
29976 * hurd/hurdmsg.c: Likewise.
29977 * hurd/new-fd.c: Likewise.
29978 * hurd/ports-get.c: Likewise.
29979 * iconvdata/ibm1008_420.c: Likewise.
29980 * inet/tst-getni1.c: Likewise.
29981 * inet/tst-getni2.c: Likewise.
29982 * libio/ioungetc.c: Likewise.
29983 * libio/wfiledoalloc.c: Likewise.
29984 * manual/libm-err-tab.pl: Likewise.
29985 * math/w_dremf.c: Likewise.
29986 * misc/ftruncate.c: Likewise.
29987 * posix/bug-glob2.c: Likewise.
29988 * posix/tst-pcre.c: Likewise.
29989 * posix/wait4.c: Likewise.
29990 * resolv/README: Likewise.
29991 * resolv/res_debug.h: Likewise.
29992 * resolv/tst-inet_ntop.c: Likewise.
29993 * setjmp/bug269-setjmp.c: Likewise.
29994 * soft-fp/extended.h: Likewise.
29995 * soft-fp/op-1.h: Likewise.
29996 * soft-fp/op-2.h: Likewise.
29997 * soft-fp/op-4.h: Likewise.
29998 * soft-fp/op-8.h: Likewise.
29999 * soft-fp/testit.c: Likewise.
30000 * stdio-common/bug16.c: Likewise.
30001 * stdlib/random.c: Likewise.
30002 * sunrpc/rpcsvc/rquota.x: Likewise.
30003 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30004 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30005 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30006 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30007 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30008 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30009 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30010 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30011 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30012 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30013 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30014 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30015 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30017 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30021 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30022 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30030 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30032 * sysdeps/ieee754/s_lib_version.c: Likewise.
30033 * sysdeps/mach/hurd/check_fds.c: Likewise.
30034 * sysdeps/mach/hurd/getsockname.c: Likewise.
30035 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30036 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30037 * sysdeps/powerpc/bits/link.h: Likewise.
30038 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30039 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30040 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30041 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30042 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30043 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30044 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30045 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30046 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30047 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30048 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30049 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30050 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30051 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30052 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30053 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30055 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30057 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30058 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30059 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30060 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30061 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30062 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30064 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30065 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30066 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30067 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30068 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30069 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30070 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30071 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30072 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30073 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30074 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30075 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30076 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30077 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30078 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30079 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30080 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30081 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30082 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30083 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30084 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30085 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30086 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30087 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30090 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30091 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30092 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30093 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30094 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30095 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30096 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30097 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30098 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30099 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30100 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30101 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30102 * sysdeps/powerpc/sysdep.h: Likewise.
30103 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30104 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30105 * sysdeps/sh/dl-trampoline.S: Likewise.
30106 * sysdeps/sh/memset.S: Likewise.
30107 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30108 * sysdeps/sh/strlen.S: Likewise.
30109 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30110 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30111 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30112 * sysdeps/sparc/sparc32/rem.S: Likewise.
30113 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30114 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30115 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30116 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30117 * sysdeps/sparc/sparc32/urem.S: Likewise.
30118 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30119 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30120 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30121 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30123 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30124 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30125 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30126 * sysdeps/unix/bsd/times.c: Likewise.
30127 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30128 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30132 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30133 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30134 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30135 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30136 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30137 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30138 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30139 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30140 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30141 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30142 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30143 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30144 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30145 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30146 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30147 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30148 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30149 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30150 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30151 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30152 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30153 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30154 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30155 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30156 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30157 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30158 * sysdeps/x86_64/strcspn.S: Likewise.
30160 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30162 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30163 generated file. Regenerate properly from gen-translit.pl.
30164 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30165 locale/C-translit.h.
30167 2013-06-05 Andreas Schwab <schwab@suse.de>
30170 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30171 week as 6 instead of -1.
30172 * time/tst-strptime.c (day_tests): Add test case.
30174 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30176 * sysdeps/generic/math_private.h
30177 (libc_feholdexcept_setround_53bit): Replace with
30178 libc_feholdsetround_53bit.
30179 (libc_feupdateenv_53bit): Replace with
30180 libc_feresetround_53bit.
30181 (SET_RESTORE_ROUND_53BIT): Adjust.
30183 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30185 * string/test-strchrnul.c: Add copyright header.
30187 * posix/tst-getaddrinfo4.c: Increase test timeout.
30189 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30192 * math/libm-test.inc (MAX_EXP): Remove
30194 (ulp): Use MIN_EXP - MANT_DIG.
30195 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30197 2013-05-31 Carlos O'Donell <carlos@redhat.com>
30199 * po/be.po: Revert last change.
30200 * po/zh_CN.po: Likewise.
30201 * po/header.pot: Likewise.
30203 2013-05-31 Joseph Myers <joseph@codesourcery.com>
30205 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30206 link-libc-deps to empty as target-specific variable.
30207 * Makerules (link-libc-args): New variable.
30208 (libc-for-link): Likewise.
30209 (link-libc-deps): Likewise.
30210 (lib%.so): Depend on $(link-libc-deps). Link with
30212 (build-module): Link with $(link-libc-args).
30213 (build-module-asneeded): Likewise.
30214 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30216 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30217 target-specific variable.
30218 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30219 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30220 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30222 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30224 ($(objpfx)libpcprofile.so): Likewise.
30225 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30227 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30228 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30229 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30231 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30232 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30233 * login/Makefile ($(objpfx)libutil.so): Likewise.
30234 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30235 * math/Makefile ($(objpfx)libm.so): Likewise.
30236 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30237 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30238 variable instead of depending directly on libc.
30239 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30240 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30242 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30244 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30245 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30246 ($(objpfx)libanl.so): Likewise.
30247 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30249 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30251 * sysdeps/i386/fpu/Makefile: Remove file.
30252 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30253 ($(objpfx)libm.so): Remove dependency on ld.so.
30255 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
30258 * nis/yp_xdr.c (XDRMAXNAME): Define.
30259 (XDRMAXRECORD): Define.
30260 (xdr_domainname): Use XDRMAXNAME.
30261 (xdr_mapname): Likewise.
30262 (xdr_peername): Likewise.
30263 (xdr_keydat): Use XDRMAXRECORD.
30264 (xdr_valdat): Likewise.
30266 2013-05-30 Jeff Law <law@redhat.com>
30269 * manual/errno.texi (ESTALE): Update to account for more than
30270 just NFS file systems.
30271 * sysdeps/gnu/errlist.c: Regenerated.
30273 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30276 * elf/Makefile (tests): Add tst-null-argv.
30277 (modules-names): Add tst-null-argv-lib.
30278 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30279 (tst-null-argv-ENV): Set environment for tst-null-argv.
30280 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30281 (RTLD_PROGNAME): New macro.
30282 * elf/tst-null-argv.c: New test case.
30283 * elf/tst-null-argv-lib.c: Library for test case.
30284 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30285 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30286 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30287 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30288 * elf/dl-init.c (call_init): Likewise.
30289 (_dl_init): Likewise.
30290 * elf/dl-load.c (print_search_path): Likewise.
30291 (_dl_map_object): Likewise.
30292 * elf/dl-lookup.c (do_lookup_x): Likewise.
30293 (add_dependency): Likewise.
30294 (_dl_lookup_symbol_x): Likewise.
30295 (_dl_debug_bindings): Likewise.
30296 * elf/dl-open.c (_dl_show_scope): Likewise.
30297 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30298 * elf/dl-version.c (match_symbol): Likewise.
30299 (_dl_check_map_versions): Likewise.
30300 * elf/rtld.c (dl_main): Likewise.
30301 (print_unresolved): Use RTLD_PROGNAME.
30302 (print_missing_version): Likewise.
30303 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30304 (elf_machine_rela): Likewise.
30305 * sysdeps/powerpc/powerpc32/dl-machine.c
30306 (__process_machine_rela): Likewise.
30307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30309 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30311 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30313 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30314 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30320 2013-05-28 Carlos O'Donell <carlos@redhat.com>
30322 * po/be.po: Add descriptive title.
30323 * po/zh_CN.po: Likewise.
30324 * po/header.pot: Likewise.
30326 2013-05-28 Mike Frysinger <vapier@gentoo.org>
30328 * locale/programs/locarchive.c (create_archive): Inlucde fname in
30330 (enlarge_archive): Likewise.
30332 2013-05-28 Ben North <ben@redfrontdoor.org>
30334 * manual/arith.texi (frexp): It is the magnitude of the return
30335 value which lies in [0.5, 1), not the return value itself.
30337 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30341 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
30343 * stdio-common/bug26.c (main): Correct fscanf template.
30345 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30346 declare _dl_skip_args.
30348 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30351 * manual/platform.texi: Add missing @end deftypefun.
30353 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30356 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30357 bit of mantissa of 2^16382.
30358 * math/libm-test.inc (hypot_test_data): Add more tests.
30360 * math/libm-test.inc: Add drem and pow10 to list of tested
30362 (pow10_test): New function.
30363 (drem_test): Likewise.
30364 (drem_test_tonearest): Likewise.
30365 (drem_test_towardzero): Likewise.
30366 (drem_test_downward): Likewise.
30367 (drem_test_upward): Likewise.
30368 (main): Call the new functions.
30370 * math/libm-test.inc (finite_test_data): Remove.
30371 (finite_test): Run tests from isfinite_test_data.
30372 (gamma_test_data): Remove.
30373 (gamma_test): Run tests from lgamma_test_data.
30374 * sysdeps/i386/fpu/libm-test-ulps: Update.
30375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30377 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30379 * manual/platform.texi: Add PowerPC PPR function set documentation.
30380 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30383 2013-05-24 Carlos O'Donell <carlos@redhat.com>
30385 * math/libm-test.inc (MAX_EXP): Define.
30387 (ulp): New function.
30388 (check_float_internal): Use ULPDIFF.
30389 (cpow_test): Disable failing test.
30390 (check_ulp): Test ulp() implemetnation.
30391 (main): Call check_ulp before starting tests.
30393 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30395 * math/gen-libm-test.pl (generate_testfile): Do not handle
30396 START_DATA and END_DATA.
30397 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30399 (acos_tonearest_test_data): Likewise.
30400 (acos_towardzero_test_data): Likewise.
30401 (acos_downward_test_data): Likewise.
30402 (acos_upward_test_data): Likewise.
30403 (acosh_test_data): Likewise.
30404 (asin_test_data): Likewise.
30405 (asin_tonearest_test_data): Likewise.
30406 (asin_towardzero_test_data): Likewise.
30407 (asin_downward_test_data): Likewise.
30408 (asin_upward_test_data): Likewise.
30409 (asinh_test_data): Likewise.
30410 (atan_test_data): Likewise.
30411 (atanh_test_data): Likewise.
30412 (atan2_test_data): Likewise.
30413 (cabs_test_data): Likewise.
30414 (cacos_test_data): Likewise.
30415 (cacosh_test_data): Likewise.
30416 (carg_test_data): Likewise.
30417 (casin_test_data): Likewise.
30418 (casinh_test_data): Likewise.
30419 (catan_test_data): Likewise.
30420 (catanh_test_data): Likewise.
30421 (cbrt_test_data): Likewise.
30422 (ccos_test_data): Likewise.
30423 (ccosh_test_data): Likewise.
30424 (ceil_test_data): Likewise.
30425 (cexp_test_data): Likewise.
30426 (cimag_test_data): Likewise.
30427 (clog_test_data): Likewise.
30428 (clog10_test_data): Likewise.
30429 (conj_test_data): Likewise.
30430 (copysign_test_data): Likewise.
30431 (cos_test_data): Likewise.
30432 (cos_tonearest_test_data): Likewise.
30433 (cos_towardzero_test_data): Likewise.
30434 (cos_downward_test_data): Likewise.
30435 (cos_upward_test_data): Likewise.
30436 (cosh_test_data): Likewise.
30437 (cosh_tonearest_test_data): Likewise.
30438 (cosh_towardzero_test_data): Likewise.
30439 (cosh_downward_test_data): Likewise.
30440 (cosh_upward_test_data): Likewise.
30441 (cpow_test_data): Likewise.
30442 (cproj_test_data): Likewise.
30443 (creal_test_data): Likewise.
30444 (csin_test_data): Likewise.
30445 (csinh_test_data): Likewise.
30446 (csqrt_test_data): Likewise.
30447 (ctan_test_data): Likewise.
30448 (ctan_tonearest_test_data): Likewise.
30449 (ctan_towardzero_test_data): Likewise.
30450 (ctan_downward_test_data): Likewise.
30451 (ctan_upward_test_data): Likewise.
30452 (ctanh_test_data): Likewise.
30453 (ctanh_tonearest_test_data): Likewise.
30454 (ctanh_towardzero_test_data): Likewise.
30455 (ctanh_downward_test_data): Likewise.
30456 (ctanh_upward_test_data): Likewise.
30457 (erf_test_data): Likewise.
30458 (erfc_test_data): Likewise.
30459 (exp_test_data): Likewise.
30460 (exp_tonearest_test_data): Likewise.
30461 (exp_towardzero_test_data): Likewise.
30462 (exp_downward_test_data): Likewise.
30463 (exp_upward_test_data): Likewise.
30464 (exp10_test_data): Likewise.
30465 (exp2_test_data): Likewise.
30466 (expm1_test_data): Likewise.
30467 (fabs_test_data): Likewise.
30468 (fdim_test_data): Likewise.
30469 (finite_test_data): Likewise.
30470 (floor_test_data): Likewise.
30471 (fma_test_data): Likewise.
30472 (fma_towardzero_test_data): Likewise.
30473 (fma_downward_test_data): Likewise.
30474 (fma_upward_test_data): Likewise.
30475 (fmax_test_data): Likewise.
30476 (fmin_test_data): Likewise.
30477 (fmod_test_data): Likewise.
30478 (fpclassify_test_data): Likewise.
30479 (frexp_test_data): Likewise.
30480 (gamma_test_data): Likewise.
30481 (hypot_test_data): Likewise.
30482 (ilogb_test_data): Likewise.
30483 (isfinite_test_data): Likewise.
30484 (isgreater_test_data): Likewise.
30485 (isgreaterequal_test_data): Likewise.
30486 (isinf_test_data): Likewise.
30487 (isless_test_data): Likewise.
30488 (islessequal_test_data): Likewise.
30489 (islessgreater_test_data): Likewise.
30490 (isnan_test_data): Likewise.
30491 (isnormal_test_data): Likewise.
30492 (issignaling_test_data): Likewise.
30493 (isunordered_test_data): Likewise.
30494 (j0_test_data): Likewise.
30495 (j1_test_data): Likewise.
30496 (jn_test_data): Likewise.
30497 (ldexp_test_data): Likewise.
30498 (lgamma_test_data): Likewise.
30499 (lrint_test_data): Likewise.
30500 (lrint_tonearest_test_data): Likewise.
30501 (lrint_towardzero_test_data): Likewise.
30502 (lrint_downward_test_data): Likewise.
30503 (lrint_upward_test_data): Likewise.
30504 (llrint_test_data): Likewise.
30505 (llrint_tonearest_test_data): Likewise.
30506 (llrint_towardzero_test_data): Likewise.
30507 (llrint_downward_test_data): Likewise.
30508 (llrint_upward_test_data): Likewise.
30509 (log_test_data): Likewise.
30510 (log10_test_data): Likewise.
30511 (log1p_test_data): Likewise.
30512 (log2_test_data): Likewise.
30513 (logb_test_data): Likewise.
30514 (logb_downward_test_data): Likewise.
30515 (lround_test_data): Likewise.
30516 (llround_test_data): Likewise.
30517 (modf_test_data): Likewise.
30518 (nearbyint_test_data): Likewise.
30519 (nextafter_test_data): Likewise.
30520 (nexttoward_test_data): Likewise.
30521 (pow_test_data): Likewise.
30522 (pow_tonearest_test_data): Likewise.
30523 (pow_towardzero_test_data): Likewise.
30524 (pow_downward_test_data): Likewise.
30525 (pow_upward_test_data): Likewise.
30526 (remainder_test_data): Likewise.
30527 (remainder_tonearest_test_data): Likewise.
30528 (remainder_towardzero_test_data): Likewise.
30529 (remainder_downward_test_data): Likewise.
30530 (remainder_upward_test_data): Likewise.
30531 (remquo_test_data): Likewise.
30532 (rint_test_data): Likewise.
30533 (rint_tonearest_test_data): Likewise.
30534 (rint_towardzero_test_data): Likewise.
30535 (rint_downward_test_data): Likewise.
30536 (rint_upward_test_data): Likewise.
30537 (round_test_data): Likewise.
30538 (scalb_test_data): Likewise.
30539 (scalbn_test_data): Likewise.
30540 (scalbln_test_data): Likewise.
30541 (signbit_test_data): Likewise.
30542 (sin_test_data): Likewise.
30543 (sin_tonearest_test_data): Likewise.
30544 (sin_towardzero_test_data): Likewise.
30545 (sin_downward_test_data): Likewise.
30546 (sin_upward_test_data): Likewise.
30547 (sincos_test_data): Likewise.
30548 (sinh_test_data): Likewise.
30549 (sinh_tonearest_test_data): Likewise.
30550 (sinh_towardzero_test_data): Likewise.
30551 (sinh_downward_test_data): Likewise.
30552 (sinh_upward_test_data): Likewise.
30553 (sqrt_test_data): Likewise.
30554 (tan_test_data): Likewise.
30555 (tan_tonearest_test_data): Likewise.
30556 (tan_towardzero_test_data): Likewise.
30557 (tan_downward_test_data): Likewise.
30558 (tan_upward_test_data): Likewise.
30559 (tanh_test_data): Likewise.
30560 (tgamma_test_data): Likewise.
30561 (trunc_test_data): Likewise.
30562 (y0_test_data): Likewise.
30563 (y1_test_data): Likewise.
30564 (yn_test_data): Likewise.
30565 (significand_test_data): Likewise.
30567 * math/gen-libm-test.pl (@functions): Remove variable.
30568 (generate_testfile): Don't handle START and END lines.
30569 * math/libm-test.inc (START): New macro.
30571 (END_COMPLEX): Likewise.
30572 (acos_test): Use END macro without arguments.
30573 (acos_test_tonearest): Likewise.
30574 (acos_test_towardzero): Likewise.
30575 (acos_test_downward): Likewise.
30576 (acos_test_upward): Likewise.
30577 (acosh_test): Likewise.
30578 (asin_test): Likewise.
30579 (asin_test_tonearest): Likewise.
30580 (asin_test_towardzero): Likewise.
30581 (asin_test_downward): Likewise.
30582 (asin_test_upward): Likewise.
30583 (asinh_test): Likewise.
30584 (atan_test): Likewise.
30585 (atanh_test): Likewise.
30586 (atan2_test): Likewise.
30587 (cabs_test): Likewise.
30588 (cacos_test): Use END_COMPLEX macro without arguments.
30589 (cacosh_test): Likewise.
30590 (carg_test): Use END macro without arguments.
30591 (casin_test): Use END_COMPLEX macro without arguments.
30592 (casinh_test): Likewise.
30593 (catan_test): Likewise.
30594 (catanh_test): Likewise.
30595 (cbrt_test): Use END macro without arguments.
30596 (ccos_test): Use END_COMPLEX macro without arguments.
30597 (ccosh_test): Likewise.
30598 (ceil_test): Use END macro without arguments.
30599 (cexp_test): Use END_COMPLEX macro without arguments.
30600 (cimag_test): Use END macro without arguments.
30601 (clog_test): Use END_COMPLEX macro without arguments.
30602 (clog10_test): Likewise.
30603 (conj_test): Likewise.
30604 (copysign_test): Use END macro without arguments.
30605 (cos_test): Likewise.
30606 (cos_test_tonearest): Likewise.
30607 (cos_test_towardzero): Likewise.
30608 (cos_test_downward): Likewise.
30609 (cos_test_upward): Likewise.
30610 (cosh_test): Likewise.
30611 (cosh_test_tonearest): Likewise.
30612 (cosh_test_towardzero): Likewise.
30613 (cosh_test_downward): Likewise.
30614 (cosh_test_upward): Likewise.
30615 (cpow_test): Use END_COMPLEX macro without arguments.
30616 (cproj_test): Likewise.
30617 (creal_test): Use END macro without arguments.
30618 (csin_test): Use END_COMPLEX macro without arguments.
30619 (csinh_test): Likewise.
30620 (csqrt_test): Likewise.
30621 (ctan_test): Likewise.
30622 (ctan_test_tonearest): Likewise.
30623 (ctan_test_towardzero): Likewise.
30624 (ctan_test_downward): Likewise.
30625 (ctan_test_upward): Likewise.
30626 (ctanh_test): Likewise.
30627 (ctanh_test_tonearest): Likewise.
30628 (ctanh_test_towardzero): Likewise.
30629 (ctanh_test_downward): Likewise.
30630 (ctanh_test_upward): Likewise.
30631 (erf_test): Use END macro without arguments.
30632 (erfc_test): Likewise.
30633 (exp_test): Likewise.
30634 (exp_test_tonearest): Likewise.
30635 (exp_test_towardzero): Likewise.
30636 (exp_test_downward): Likewise.
30637 (exp_test_upward): Likewise.
30638 (exp10_test): Likewise.
30639 (exp2_test): Likewise.
30640 (expm1_test): Likewise.
30641 (fabs_test): Likewise.
30642 (fdim_test): Likewise.
30643 (finite_test): Likewise.
30644 (floor_test): Likewise.
30645 (fma_test): Likewise.
30646 (fma_test_towardzero): Likewise.
30647 (fma_test_downward): Likewise.
30648 (fma_test_upward): Likewise.
30649 (fmax_test): Likewise.
30650 (fmin_test): Likewise.
30651 (fmod_test): Likewise.
30652 (fpclassify_test): Likewise.
30653 (frexp_test): Likewise.
30654 (gamma_test): Likewise.
30655 (hypot_test): Likewise.
30656 (ilogb_test): Likewise.
30657 (isfinite_test): Likewise.
30658 (isgreater_test): Likewise.
30659 (isgreaterequal_test): Likewise.
30660 (isinf_test): Likewise.
30661 (isless_test): Likewise.
30662 (islessequal_test): Likewise.
30663 (islessgreater_test): Likewise.
30664 (isnan_test): Likewise.
30665 (isnormal_test): Likewise.
30666 (issignaling_test): Likewise.
30667 (isunordered_test): Likewise.
30668 (j0_test): Likewise.
30669 (j1_test): Likewise.
30670 (jn_test): Likewise.
30671 (ldexp_test): Likewise.
30672 (lgamma_test): Likewise.
30673 (lrint_test): Likewise.
30674 (lrint_test_tonearest): Likewise.
30675 (lrint_test_towardzero): Likewise.
30676 (lrint_test_downward): Likewise.
30677 (lrint_test_upward): Likewise.
30678 (llrint_test): Likewise.
30679 (llrint_test_tonearest): Likewise.
30680 (llrint_test_towardzero): Likewise.
30681 (llrint_test_downward): Likewise.
30682 (llrint_test_upward): Likewise.
30683 (log_test): Likewise.
30684 (log10_test): Likewise.
30685 (log1p_test): Likewise.
30686 (log2_test): Likewise.
30687 (logb_test): Likewise.
30688 (logb_test_downward): Likewise.
30689 (lround_test): Likewise.
30690 (llround_test): Likewise.
30691 (modf_test): Likewise.
30692 (nearbyint_test): Likewise.
30693 (nextafter_test): Likewise.
30694 (nexttoward_test): Likewise.
30695 (pow_test): Likewise.
30696 (pow_test_tonearest): Likewise.
30697 (pow_test_towardzero): Likewise.
30698 (pow_test_downward): Likewise.
30699 (pow_test_upward): Likewise.
30700 (remainder_test): Likewise.
30701 (remainder_test_tonearest): Likewise.
30702 (remainder_test_towardzero): Likewise.
30703 (remainder_test_downward): Likewise.
30704 (remainder_test_upward): Likewise.
30705 (remquo_test): Likewise.
30706 (rint_test): Likewise.
30707 (rint_test_tonearest): Likewise.
30708 (rint_test_towardzero): Likewise.
30709 (rint_test_downward): Likewise.
30710 (rint_test_upward): Likewise.
30711 (round_test): Likewise.
30712 (scalb_test): Likewise.
30713 (scalbn_test): Likewise.
30714 (scalbln_test): Likewise.
30715 (signbit_test): Likewise.
30716 (sin_test): Likewise.
30717 (sin_test_tonearest): Likewise.
30718 (sin_test_towardzero): Likewise.
30719 (sin_test_downward): Likewise.
30720 (sin_test_upward): Likewise.
30721 (sincos_test): Likewise.
30722 (sinh_test): Likewise.
30723 (sinh_test_tonearest): Likewise.
30724 (sinh_test_towardzero): Likewise.
30725 (sinh_test_downward): Likewise.
30726 (sinh_test_upward): Likewise.
30727 (sqrt_test): Likewise.
30728 (tan_test): Likewise.
30729 (tan_test_tonearest): Likewise.
30730 (tan_test_towardzero): Likewise.
30731 (tan_test_downward): Likewise.
30732 (tan_test_upward): Likewise.
30733 (tanh_test): Likewise.
30734 (tgamma_test): Likewise.
30735 (trunc_test): Likewise.
30736 (y0_test): Likewise.
30737 (y1_test): Likewise.
30738 (yn_test): Likewise.
30739 (significand_test): Likewise.
30741 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30744 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30746 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30749 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30750 __ppc_mdoio and __ppc_mdoom.
30751 * manual/platform.texi: Document new functions __ppc_yield,
30752 __ppc_mdoio and __ppc_mdoom.
30754 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30756 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30757 (main): Mention "tls" pseudo-hwcap is legacy.
30758 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30760 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30762 * math/gen-libm-test.pl (parse_args): Output only string of
30763 arguments as text for test name, not full call or descriptions of
30764 tests for extra outputs.
30765 (generate_testfile): Do not pass function name to parse_args.
30766 Generate this_func variable from START.
30767 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30769 (struct test_ff_f_data): Likewise.
30770 (test_ff_f_data_nexttoward): Likewise.
30771 (struct test_fi_f_data): Likewise.
30772 (struct test_fl_f_data): Likewise.
30773 (struct test_if_f_data): Likewise.
30774 (struct test_fff_f_data): Likewise.
30775 (struct test_c_f_data): Likewise.
30776 (struct test_f_f1_data): Likewise. Remove field extra_name.
30777 (struct test_fF_f1_data): Likewise.
30778 (struct test_ffI_f1_data): Likewise.
30779 (struct test_c_c_data): Rename test_name field to arg_str.
30780 (struct test_cc_c_data): Likewise.
30781 (struct test_f_i_data): Likewise.
30782 (struct test_ff_i_data): Likewise.
30783 (struct test_f_l_data): Likewise.
30784 (struct test_f_L_data): Likewise.
30785 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30787 (COMMON_TEST_SETUP): New macro.
30788 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30789 (COMMON_TEST_CLEANUP): Likewise.
30790 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30791 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30793 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30794 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30796 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30797 (RUN_TEST_fff_f): Take argument string. Call new setup and
30799 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30800 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30802 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30803 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30805 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30806 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30808 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30809 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30811 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30812 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30814 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30815 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30817 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30818 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30820 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30821 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30823 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30824 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30826 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30827 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30829 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30830 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30832 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30833 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30835 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30836 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30838 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30839 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30841 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30842 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30844 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30846 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30848 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30849 to _sifields.sigfault.
30850 (si_addr_lsb): Define new macro.
30851 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30852 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30853 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30855 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30858 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30860 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30862 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30863 loading the domain.
30865 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30867 * math/gen-libm-test.pl (parse_args): Do not include expected
30868 result in test name.
30869 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30871 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30872 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30873 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30876 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30878 * benchtests/Makefile: Sort function entries.
30880 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30881 tanh, asinh, acosh, atanh.
30882 * benchtests/acos-inputs: New file.
30883 * benchtests/acosh-inputs: New file.
30884 * benchtests/asin-inputs: New file.
30885 * benchtests/asinh-inputs: New file.
30886 * benchtests/atanh-inputs: New file.
30887 * benchtests/cosh-inputs: New file.
30888 * benchtests/log-inputs: New file.
30889 * benchtests/sinh-inputs: New file.
30890 * benchtests/tanh-inputs: New file.
30892 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30895 * posix/tst-getaddrinfo4.c: New test.
30896 * posix/Makefile (tests): Add it.
30898 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30901 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30902 when no services were used.
30903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30904 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30906 2013-05-21 Andreas Schwab <schwab@suse.de>
30909 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30910 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30912 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30913 redundant variable declarations and reallocation of buffer when
30914 parsing as IPv6 address. Always set NSS status when called from
30915 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30916 buffer too small. Correct computation of needed size.
30917 * nss/Makefile (tests): Add test-digits-dots.
30918 * nss/test-digits-dots.c: New test.
30920 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30922 * benchtests/Makefile: Remove instructions for adding
30924 * benchtests/README: New file to explain how to execute and
30925 enhance the benchmark tests.
30927 2013-05-21 Andreas Schwab <schwab@suse.de>
30930 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30931 * setjmp/tst-sigsetjmp.c: New test.
30933 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30935 * sysdeps/x86_64/memset.S (memset): New implementation.
30936 (__bzero): Likewise.
30937 (__memset_tail): New function.
30939 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30941 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30942 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30943 __memcpy_sse2_unaligned ifunc selection.
30944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30945 Add memcpy-sse2-unaligned.S.
30946 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30947 Add: __memcpy_sse2_unaligned.
30949 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30952 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30953 math_force_eval before restoring floating-point envrionment.
30954 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30955 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30957 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30959 (__nearbyintl): Use math_force_eval before restoring
30960 floating-point environment.
30961 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30963 * math/gen-libm-test.pl (special_functions): Remove.
30964 (parse_args): Don't handle TEST_extra. Handle functions with no
30966 * math/libm-test.inc (struct test_sincos_data): Replace with
30967 struct test_fFF_11_data.
30968 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30969 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30970 (sincos_test_data): Change element type to struct
30971 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30972 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30973 RUN_TEST_LOOP_sincos.
30974 * math/README.libm-test: Don't mention special handling of
30975 individual functions.
30976 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30977 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30978 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30979 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30980 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30983 * math/gen-libm-test.pl (get_variable): Remove function.
30984 (parse_args): Don't show pointer parameters to call in test
30985 names. Use "extra output N" in test names for extra outputs
30986 rather than naming variables.
30988 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30991 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30992 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30993 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30995 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30997 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31000 * math/gen-libm-test.pl (@tests): Remove variable.
31001 ($count): Likewise.
31002 (new_test): Remove function.
31003 (show_exceptions): New function.
31004 (special_functions): Use show_exceptions instead of new_test.
31005 (parse_args): Likewise.
31006 (generate_testfile): Pass only function name in generated call to
31007 print_max_error or print_complex_max_error.
31008 (get_ulps): Do not handle complex tests specially.
31009 (output_test): Rename to ...
31010 (get_all_ulps_for_test): ... this. Return a string rather than
31011 printing to a file. Require ulps to be present.
31012 (output_ulps): Generate arrays rather than #defines.
31013 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31014 (struct ulp_data): New type.
31015 (BUILD_COMPLEX_ULP): Remove macro.
31016 (compare_ulp_data): New function.
31017 (find_ulps): Likewise.
31018 (find_test_ulps): Likewise.
31019 (find_function_ulps): Likewise.
31020 (find_complex_function_ulps): Likewise.
31021 (print_max_error): Determine allowed ulps using
31022 find_function_ulps.
31023 (print_complex_max_error): Determine allowed ulps using
31024 find_complex_function_ulps.
31025 (check_float_internal): Determine max ulps using find_test_ulps.
31026 (check_float): Do not take max_ulp parameter. Update call to
31027 check_float_internal.
31028 (check_complex): Likewise.
31029 (check_int): Do not take max_ulp parameter.
31030 (check_long): Likewise.
31031 (check_bool): Likewise.
31032 (check_longlong): Likewise.
31033 (struct test_f_f_data): Remove max_ulp field.
31034 (struct test_ff_f_data): Likewise.
31035 (struct test_ff_f_data_nexttoward): Likewise.
31036 (struct test_fi_f_data): Likewise.
31037 (struct test_fl_f_data): Likewise.
31038 (struct test_if_f_data): Likewise.
31039 (struct test_fff_f_data): Likewise.
31040 (struct test_c_f_data): Likewise.
31041 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31042 (struct test_fF_f1_data): Likewise.
31043 (struct test_ffI_f1_data): Likewise.
31044 (struct test_c_c_data): Remove max_ulp field.
31045 (struct test_cc_c_data): Likewise.
31046 (struct test_f_i_data): Likewise.
31047 (struct test_ff_i_data): Likewise.
31048 (struct test_f_l_data): Likewise.
31049 (struct test_f_L_data): Likewise.
31050 (struct test_sincos_data): Likewise.
31051 (RUN_TEST_f_f): Do not handle ulps.
31052 (RUN_TEST_LOOP_f_f): Likewise.
31053 (RUN_TEST_2_f): Likewise.
31054 (RUN_TEST_LOOP_2_f): Likewise.
31055 (RUN_TEST_fff_f): Likewise.
31056 (RUN_TEST_LOOP_fff_f): Likewise.
31057 (RUN_TEST_c_f): Likewise.
31058 (RUN_TEST_LOOP_c_f): Likewise.
31059 (RUN_TEST_f_f1): Likewise.
31060 (RUN_TEST_LOOP_f_f1): Likewise.
31061 (RUN_TEST_fF_f1): Likewise.
31062 (RUN_TEST_LOOP_fF_f1): Likewise.
31063 (RUN_TEST_fI_f1): Likewise.
31064 (RUN_TEST_LOOP_fI_f1): Likewise.
31065 (RUN_TEST_ffI_f1): Likewise.
31066 (RUN_TEST_LOOP_ffI_f1): Likewise.
31067 (RUN_TEST_c_c): Likewise.
31068 (RUN_TEST_LOOP_c_c): Likewise.
31069 (RUN_TEST_cc_c): Likewise.
31070 (RUN_TEST_LOOP_cc_c): Likewise.
31071 (RUN_TEST_f_i): Likewise.
31072 (RUN_TEST_LOOP_f_i): Likewise.
31073 (RUN_TEST_f_i_tg): Likewise.
31074 (RUN_TEST_LOOP_f_i_tg): Likewise.
31075 (RUN_TEST_ff_i_tg): Likewise.
31076 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31077 (RUN_TEST_f_b): Likewise.
31078 (RUN_TEST_LOOP_f_b): Likewise.
31079 (RUN_TEST_f_b_tg): Likewise.
31080 (RUN_TEST_LOOP_f_b_tg): Likewise.
31081 (RUN_TEST_f_l): Likewise.
31082 (RUN_TEST_LOOP_f_l): Likewise.
31083 (RUN_TEST_f_L): Likewise.
31084 (RUN_TEST_LOOP_f_L): Likewise.
31085 (RUN_TEST_sincos): Likewise.
31086 (RUN_TEST_LOOP_sincos): Likewise.
31088 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31092 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31093 main case of finite arguments, set rounding mode to FE_TONEAREST
31094 and discard exceptions.
31095 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31097 (remainder_tonearest_test_data): New variable.
31098 (remainder_test_tonearest): New function.
31099 (remainder_towardzero_test_data): New variable.
31100 (remainder_test_towardzero): New function.
31101 (remainder_downward_test_data): New variable.
31102 (remainder_test_downward): New function.
31103 (remainder_upward_test_data): New variable.
31104 (remainder_test_upward): New function.
31105 (main): Call the new test functions.
31107 * math/libm-test.inc (struct test_f_f1_data): Remove field
31109 (struct test_fF_f1_data): Likewise.
31110 (struct test_ffI_f1_data): Likewise.
31111 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31112 based on value of EXTRA_EXPECTED.
31113 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31114 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31115 EXTRA_VAR based on value of EXTRA_EXPECTED.
31116 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31117 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31118 EXTRA_VAR based on value of EXTRA_EXPECTED.
31119 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31120 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31121 EXTRA_VAR based on value of EXTRA_EXPECTED.
31122 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31123 * math/gen-libm-test.pl (parse_args): Don't output initializers
31124 for extra output values.
31126 * math/libm-test.inc (check_int): Expect result to be exactly
31127 equal to expected value and do not handle ulps.
31128 (check_long): Likewise.
31129 (check_longlong): Likewise.
31131 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31133 (cimag_test_data): Likewise.
31134 (conj_test_data): Likewise.
31135 (copysign_test_data): Likewise.
31136 (cproj_test_data): Likewise.
31137 (creal_test_data): Likewise.
31138 (fabs_test_data): Likewise.
31139 (fdim_test_data): Likewise.
31140 (finite_test_data): Likewise.
31141 (floor_test_data): Likewise.
31142 (fmax_test_data): Likewise.
31143 (fmin_test_data): Likewise.
31144 (fmod_test_data): Likewise.
31145 (fpclassify_test_data): Likewise.
31146 (frexp_test_data): Likewise.
31147 (ilogb_test_data): Likewise.
31148 (isfinite_test_data): Likewise.
31149 (isgreater_test_data): Likewise.
31150 (isgreaterequal_test_data): Likewise.
31151 (isinf_test_data): Likewise.
31152 (isless_test_data): Likewise.
31153 (islessequal_test_data): Likewise.
31154 (islessgreater_test_data): Likewise.
31155 (isnan_test_data): Likewise.
31156 (isnormal_test_data): Likewise.
31157 (issignaling_test_data): Likewise.
31158 (isunordered_test_data): Likewise.
31159 (ldexp_test_data): Likewise.
31160 (lrint_test_data): Likewise.
31161 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31162 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31163 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31164 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31165 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31166 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31168 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31169 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31170 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31171 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31173 (lrint_downward_test_data): Test for "inexact" exceptions.
31174 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31175 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31176 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31178 (lrint_upward_test_data): Test for "inexact" exceptions.
31179 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31181 (llrint_test_data): Test for "inexact" exceptions.
31182 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31183 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31184 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31185 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31186 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31187 (llrint_downward_test_data): Test for "inexact" exceptions.
31188 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31189 (llrint_upward_test_data): Test for "inexact" exceptions.
31190 (logb_test_data): Likewise.
31191 (logb_downward_test_data): Likewise.
31192 (nextafter_test_data): Likewise.
31193 (nexttoward_test_data): Likewise.
31194 (remainder_test_data): Likewise.
31195 (remquo_test_data): Likewise.
31196 (scalbn_test_data): Likewise.
31197 (scalbln_test_data): Likewise.
31198 (signbit_test_data): Likewise.
31199 (sqrt_test_data): Likewise.
31200 (significand_test_data): Likewise.
31202 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31205 * benchtests/bench-modf.c (struct args): Mark arg0 as
31207 * scripts/bench.pl: Mark members of struct args as volatile.
31209 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31212 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31213 negative infinity on POWER6 or lower.
31214 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31216 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31219 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31220 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31221 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31222 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31223 (_FP_SETQNAN): New macro.
31224 (_FP_SETQNAN_SEMIRAW): Likewise.
31225 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31226 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31227 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31228 (FP_EXTEND): Use _FP_FRAC_SNANP.
31229 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31230 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31232 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31234 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31237 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31239 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31240 with DIVIDE_BY_ZERO_EXCEPTION.
31241 (gamma_test_data): Likewise.
31242 (lgamma_test_data): Likewise.
31243 (log_test_data): Likewise.
31244 (log10_test_data): Likewise.
31245 (log2_test_data): Likewise.
31246 (tgamma_test_data): Likewise.
31248 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31249 (acos_test_tonearest): Likewise.
31250 (acos_test_towardzero): Likewise.
31251 (acos_test_downward): Likewise.
31252 (acos_test_upward): Likewise.
31253 (acosh_test): Likewise.
31254 (asin_test): Likewise.
31255 (asin_test_tonearest): Likewise.
31256 (asin_test_towardzero): Likewise.
31257 (asin_test_downward): Likewise.
31258 (asin_test_upward): Likewise.
31259 (asinh_test): Likewise.
31260 (atan_test): Likewise.
31261 (atanh_test): Likewise.
31262 (atan2_test): Likewise.
31263 (cabs_test): Likewise.
31264 (cacos_test): Likewise.
31265 (cacosh_test): Likewise.
31266 (casin_test): Likewise.
31267 (casinh_test): Likewise.
31268 (catan_test): Likewise.
31269 (catanh_test): Likewise.
31270 (cbrt_test): Likewise.
31271 (ccos_test): Likewise.
31272 (ccosh_test): Likewise.
31273 (cexp_test): Likewise.
31274 (clog_test): Likewise.
31275 (clog10_test): Likewise.
31276 (cos_test): Likewise.
31277 (cos_test_tonearest): Likewise.
31278 (cos_test_towardzero): Likewise.
31279 (cos_test_downward): Likewise.
31280 (cos_test_upward): Likewise.
31281 (cosh_test): Likewise.
31282 (cosh_test_tonearest): Likewise.
31283 (cosh_test_towardzero): Likewise.
31284 (cosh_test_downward): Likewise.
31285 (cosh_test_upward): Likewise.
31286 (cpow_test): Likewise.
31287 (csin_test): Likewise.
31288 (csinh_test): Likewise.
31289 (csqrt_test): Likewise.
31290 (ctan_test): Likewise.
31291 (ctan_test_tonearest): Likewise.
31292 (ctan_test_towardzero): Likewise.
31293 (ctan_test_downward): Likewise.
31294 (ctan_test_upward): Likewise.
31295 (ctanh_test): Likewise.
31296 (ctanh_test_tonearest): Likewise.
31297 (ctanh_test_towardzero): Likewise.
31298 (ctanh_test_downward): Likewise.
31299 (ctanh_test_upward): Likewise.
31300 (erf_test): Likewise.
31301 (erfc_test): Likewise.
31302 (exp_test): Likewise.
31303 (exp_test_tonearest): Likewise.
31304 (exp_test_towardzero): Likewise.
31305 (exp_test_downward): Likewise.
31306 (exp_test_upward): Likewise.
31307 (exp10_test): Likewise.
31308 (exp2_test): Likewise.
31309 (expm1_test): Likewise.
31310 (fmod_test): Likewise.
31311 (gamma_test): Likewise.
31312 (hypot_test): Likewise.
31313 (j0_test): Likewise.
31314 (j1_test): Likewise.
31315 (jn_test): Likewise.
31316 (lgamma_test): Likewise.
31317 (log_test): Likewise.
31318 (log10_test): Likewise.
31319 (log1p_test): Likewise.
31320 (log2_test): Likewise.
31321 (logb_test_downward): Likewise.
31322 (pow_test): Likewise.
31323 (pow_test_tonearest): Likewise.
31324 (pow_test_towardzero): Likewise.
31325 (pow_test_downward): Likewise.
31326 (pow_test_upward): Likewise.
31327 (remainder_test): Likewise.
31328 (remquo_test): Likewise.
31329 (sin_test): Likewise.
31330 (sin_test_tonearest): Likewise.
31331 (sin_test_towardzero): Likewise.
31332 (sin_test_downward): Likewise.
31333 (sin_test_upward): Likewise.
31334 (sincos_test): Likewise.
31335 (sinh_test): Likewise.
31336 (sinh_test_tonearest): Likewise.
31337 (sinh_test_towardzero): Likewise.
31338 (sinh_test_downward): Likewise.
31339 (sinh_test_upward): Likewise.
31340 (sqrt_test): Likewise.
31341 (tan_test): Likewise.
31342 (tan_test_tonearest): Likewise.
31343 (tan_test_towardzero): Likewise.
31344 (tan_test_downward): Likewise.
31345 (tan_test_upward): Likewise.
31346 (tanh_test): Likewise.
31347 (tgamma_test): Likewise.
31348 (y0_test): Likewise.
31349 (y1_test): Likewise.
31350 (yn_test): Likewise.
31352 * math/gen-libm-test.pl (adjust_arg): Remove function.
31353 (special_function): Remove argument $in_func. Only handle
31354 generating output for tables of tests, not inside functions.
31355 (parse_args): Likewise.
31356 (generate_testfile): Remove variable $in_func. Update call to
31358 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31359 (MINUS_ZERO_INIT): Rename macro to minus_zero.
31360 (PLUS_INFTY_INIT): Rename macro to plus_infty.
31361 (MINUS_INFTY_INIT): Rename macro to minus_infty.
31362 (QNAN_VALUE_INIT): Rename macro to qnan_value.
31363 (MAX_VALUE_INIT): Rename macro to max_value.
31364 (MIN_VALUE_INIT): Rename macro to min_value.
31365 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31366 (plus_zero): Remove variable.
31367 (minus_zero): Likewise.
31368 (plus_infty): Likewise.
31369 (minus_infty): Likewise.
31370 (qnan_value): Likewise.
31371 (max_value): Likewise.
31372 (min_value): Likewise.
31373 (min_subnorm_value): Likewise.
31375 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31377 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31378 uint64_t or uint32_t usage.
31379 * crypt/sha256-block.c: Likewise.
31380 * crypt/sha256-crypt.c: Likewise.
31381 * crypt/sha256.c: Likewise.
31382 * crypt/sha512-block.c: Likewise.
31383 * crypt/sha512-crypt.c: Likewise.
31384 * crypt/sha512.c: Likewise.
31385 * debug/backtrace-tst.c: Likewise.
31386 * debug/pcprofiledump.c: Likewise.
31387 * elf/cache.c: Likewise.
31388 * elf/dl-cache.c: Likewise.
31389 * elf/dl-misc.c: Likewise.
31390 * elf/dl-profile.c: Likewise.
31391 * elf/dl-support.c: Likewise.
31392 * elf/ldconfig.c: Likewise.
31393 * elf/sprof.c: Likewise.
31394 * iconv/dummy-repertoire.c: Likewise.
31395 * iconv/iconv_charmap.c: Likewise.
31396 * iconv/skeleton.c: Likewise.
31397 * iconvdata/8bit-generic.c: Likewise.
31398 * iconvdata/cp737.h: Likewise.
31399 * iconvdata/cp775.h: Likewise.
31400 * iconvdata/ibm1008.h: Likewise.
31401 * iconvdata/ibm1025.h: Likewise.
31402 * iconvdata/ibm1046.h: Likewise.
31403 * iconvdata/ibm1097.h: Likewise.
31404 * iconvdata/ibm1112.h: Likewise.
31405 * iconvdata/ibm1122.h: Likewise.
31406 * iconvdata/ibm1123.h: Likewise.
31407 * iconvdata/ibm1124.h: Likewise.
31408 * iconvdata/ibm1129.h: Likewise.
31409 * iconvdata/ibm1130.h: Likewise.
31410 * iconvdata/ibm1132.h: Likewise.
31411 * iconvdata/ibm1133.h: Likewise.
31412 * iconvdata/ibm1137.h: Likewise.
31413 * iconvdata/ibm1140.h: Likewise.
31414 * iconvdata/ibm1141.h: Likewise.
31415 * iconvdata/ibm1142.h: Likewise.
31416 * iconvdata/ibm1143.h: Likewise.
31417 * iconvdata/ibm1144.h: Likewise.
31418 * iconvdata/ibm1145.h: Likewise.
31419 * iconvdata/ibm1146.h: Likewise.
31420 * iconvdata/ibm1147.h: Likewise.
31421 * iconvdata/ibm1148.h: Likewise.
31422 * iconvdata/ibm1149.h: Likewise.
31423 * iconvdata/ibm1153.h: Likewise.
31424 * iconvdata/ibm1154.h: Likewise.
31425 * iconvdata/ibm1155.h: Likewise.
31426 * iconvdata/ibm1156.h: Likewise.
31427 * iconvdata/ibm1157.h: Likewise.
31428 * iconvdata/ibm1158.h: Likewise.
31429 * iconvdata/ibm1160.h: Likewise.
31430 * iconvdata/ibm1161.h: Likewise.
31431 * iconvdata/ibm1162.h: Likewise.
31432 * iconvdata/ibm1163.h: Likewise.
31433 * iconvdata/ibm1164.h: Likewise.
31434 * iconvdata/ibm1166.h: Likewise.
31435 * iconvdata/ibm1167.h: Likewise.
31436 * iconvdata/ibm12712.h: Likewise.
31437 * iconvdata/ibm1390.h: Likewise.
31438 * iconvdata/ibm1399.h: Likewise.
31439 * iconvdata/ibm16804.h: Likewise.
31440 * iconvdata/ibm4517.h: Likewise.
31441 * iconvdata/ibm4899.h: Likewise.
31442 * iconvdata/ibm4909.h: Likewise.
31443 * iconvdata/ibm4971.h: Likewise.
31444 * iconvdata/ibm5347.h: Likewise.
31445 * iconvdata/ibm803.h: Likewise.
31446 * iconvdata/ibm856.h: Likewise.
31447 * iconvdata/ibm901.h: Likewise.
31448 * iconvdata/ibm902.h: Likewise.
31449 * iconvdata/ibm9030.h: Likewise.
31450 * iconvdata/ibm9066.h: Likewise.
31451 * iconvdata/ibm921.h: Likewise.
31452 * iconvdata/ibm922.h: Likewise.
31453 * iconvdata/ibm9448.h: Likewise.
31454 * iconvdata/isiri-3342.h: Likewise.
31455 * iconvdata/jis0201.h: Likewise.
31456 * include/link.h: Likewise.
31457 * include/netdb.h: Likewise.
31458 * inet/check_native.c: Likewise.
31459 * inet/check_pf.c: Likewise.
31460 * inet/getipv4sourcefilter.c: Likewise.
31461 * inet/getnameinfo.c: Likewise.
31462 * inet/getsourcefilter.c: Likewise.
31463 * inet/htonl.c: Likewise.
31464 * inet/setipv4sourcefilter.c: Likewise.
31465 * inet/setsourcefilter.c: Likewise.
31466 * inet/test-inet6_opt.c: Likewise.
31467 * inet/tst-network.c: Likewise.
31468 * locale/C-collate.c: Likewise.
31469 * locale/C-ctype.c: Likewise.
31470 * locale/C-time.c: Likewise.
31471 * locale/C-translit.h: Likewise.
31472 * locale/loadarchive.c: Likewise.
31473 * locale/programs/3level.h: Likewise.
31474 * locale/programs/charmap.c: Likewise.
31475 * locale/programs/charmap.h: Likewise.
31476 * locale/programs/ld-address.c: Likewise.
31477 * locale/programs/ld-collate.c: Likewise.
31478 * locale/programs/ld-ctype.c: Likewise.
31479 * locale/programs/ld-identification.c: Likewise.
31480 * locale/programs/ld-measurement.c: Likewise.
31481 * locale/programs/ld-messages.c: Likewise.
31482 * locale/programs/ld-monetary.c: Likewise.
31483 * locale/programs/ld-name.c: Likewise.
31484 * locale/programs/ld-numeric.c: Likewise.
31485 * locale/programs/ld-paper.c: Likewise.
31486 * locale/programs/ld-telephone.c: Likewise.
31487 * locale/programs/ld-time.c: Likewise.
31488 * locale/programs/linereader.c: Likewise.
31489 * locale/programs/locale.c: Likewise.
31490 * locale/programs/locarchive.c: Likewise.
31491 * locale/programs/locfile.h: Likewise.
31492 * locale/programs/repertoire.c: Likewise.
31493 * locale/programs/simple-hash.c: Likewise.
31494 * locale/programs/simple-hash.h: Likewise.
31495 * malloc/memusage.c: Likewise.
31496 * malloc/memusagestat.c: Likewise.
31497 * nis/nis_defaults.c: Likewise.
31498 * nis/nis_hash.c: Likewise.
31499 * nis/nis_print.c: Likewise.
31500 * nis/nis_xdr.c: Likewise.
31501 * nscd/connections.c: Likewise.
31502 * nscd/hstcache.c: Likewise.
31503 * nscd/nscd_gethst_r.c: Likewise.
31504 * nscd/nscd_getserv_r.c: Likewise.
31505 * nscd/nscd_helper.c: Likewise.
31506 * nscd/servicescache.c: Likewise.
31507 * nss/makedb.c: Likewise.
31508 * nss/nss_db/db-XXX.c: Likewise.
31509 * nss/nss_db/db-initgroups.c: Likewise.
31510 * nss/nss_db/db-netgrp.c: Likewise.
31511 * nss/nss_files/files-network.c: Likewise.
31512 * nss/nss_files/files-parse.c: Likewise.
31513 * posix/bug-regex5.c: Likewise.
31514 * posix/fnmatch_loop.c: Likewise.
31515 * posix/regcomp.c: Likewise.
31516 * posix/regexec.c: Likewise.
31517 * posix/tst-rfc3484-2.c: Likewise.
31518 * posix/tst-rfc3484-3.c: Likewise.
31519 * posix/tst-rfc3484.c: Likewise.
31520 * resolv/nss_dns/dns-canon.c: Likewise.
31521 * resolv/nss_dns/dns-network.c: Likewise.
31522 * resolv/res_init.c: Likewise.
31523 * resolv/res_mkquery.c: Likewise.
31524 * resolv/tst-aton.c: Likewise.
31525 * stdlib/cxa_atexit.c: Likewise.
31526 * stdlib/cxa_finalize.c: Likewise.
31527 * stdlib/gen-fpioconst.c: Likewise.
31528 * stdlib/strtol_l.c: Likewise.
31529 * string/tst-endian.c: Likewise.
31530 * sunrpc/auth_des.c: Likewise.
31531 * sunrpc/clnt_udp.c: Likewise.
31532 * sunrpc/rtime.c: Likewise.
31533 * sunrpc/svcauth_des.c: Likewise.
31534 * sunrpc/xdr.c: Likewise.
31535 * sunrpc/xdr_intXX_t.c: Likewise.
31536 * sunrpc/xdr_rec.c: Likewise.
31537 * sysdeps/generic/ldconfig.h: Likewise.
31538 * sysdeps/generic/ldsodefs.h: Likewise.
31539 * sysdeps/generic/memusage.h: Likewise.
31540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31541 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31542 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31543 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31546 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31548 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31549 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31550 * sysdeps/posix/getaddrinfo.c: Likewise.
31551 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31552 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31553 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31554 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31555 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31556 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31557 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31558 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31559 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31560 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31561 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31562 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31563 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31564 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31565 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31566 * sysdeps/x86_64/dl-tls.h: Likewise.
31567 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31568 * time/alt_digit.c: Likewise.
31569 * time/era.c: Likewise.
31570 * wcsmbs/tst-c16c32-1.c: Likewise.
31572 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31574 * math/libm-test.inc (struct test_sincos_data): New type.
31575 (RUN_TEST_LOOP_sincos): New macro.
31576 (sincos_test_data): New variable.
31577 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31579 2013-05-16 Richard Henderson <rth@redhat.com>
31581 * math/atest-exp2.c (LIMB64): New macro.
31582 (CONSTSZ): New macro.
31583 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31585 (print_mpn_fp): ... to function scope.
31586 (read_mpn_hex): Remove.
31587 (get_log2): Remove.
31588 (exp2_mpn): Use mp_log2.
31589 (main): Use mp_exp1.
31591 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31593 * math/libm-test.inc: Remove comment about not testing "inexact"
31595 (INEXACT_EXCEPTION): New macro.
31596 (NO_INEXACT_EXCEPTION): Likewise.
31597 (INVALID_EXCEPTION_OK): Update value.
31598 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31599 (OVERFLOW_EXCEPTION_OK): Likewise.
31600 (UNDERFLOW_EXCEPTION_OK): Likewise.
31601 (IGNORE_ZERO_INF_SIGN): Likewise.
31602 (ERRNO_UNCHANGED): Likewise.
31603 (ERRNO_EDOM): Likewise.
31604 (ERRNO_ERANGE): Likewise.
31605 (test_exceptions): Handle testing "inexact" exceptions.
31606 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31607 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31608 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31609 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31611 (rint_towardzero_test_data): Likewise.
31612 (rint_downward_test_data): Likewise.
31613 (rint_upward_test_data): Likewise.
31615 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31616 with OVERFLOW_EXCEPTION.
31617 (exp10_test_data): Likewise.
31618 (exp2_test_data): Likewise.
31619 (expm1_test_data): Likewise.
31620 (lgamma_test_data): Likewise.
31621 (pow_test_data): Likewise.
31622 (tgamma_test_data): Likewise.
31623 (yn_test_data): Remove duplicate test of overflow.
31625 * math/libm-test.inc (struct test_cc_c_data): New type.
31626 (RUN_TEST_LOOP_cc_c): New macro.
31627 (cpow_test_data): New variable.
31628 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31630 * math/libm-test.inc (struct test_f_L_data): New type.
31631 (RUN_TEST_LOOP_f_L): New macro.
31632 (llrint_test_data): New variable.
31633 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31634 (llrint_tonearest_test_data): New variable.
31635 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31636 (llrint_towardzero_test_data): New variable.
31637 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31638 (llrint_downward_test_data): New variable.
31639 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31640 (llrint_upward_test_data): New variable.
31641 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31642 (llround_test_data): New variable.
31643 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31645 2013-05-13 Peter Collingbourne <pcc@google.com>
31647 * math/atest-exp2.c (get_log2): Remove const attribute.
31649 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31651 * math/libm-test.inc (struct test_f_l_data): New type.
31652 (RUN_TEST_LOOP_f_l): New macro.
31653 (lrint_test_data): New variable.
31654 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31655 (lrint_tonearest_test_data): New variable.
31656 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31657 (lrint_towardzero_test_data): New variable.
31658 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31659 (lrint_downward_test_data): New variable.
31660 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31661 (lrint_upward_test_data): New variable.
31662 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31663 (lround_test_data): New variable.
31664 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31666 2013-05-15 Peter Collingbourne <pcc@google.com>
31668 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31669 (EXTRACT_WORDS64) Use where appropriate.
31670 (INSERT_WORDS64) Likewise.
31672 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31673 constraints with x constraints.
31674 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31676 * malloc/obstack.c (_obstack_compat): Add initializer.
31678 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31681 si_trapno and add si_addr_lsb to _sifields.sigfault.
31682 (si_trapno): Remove macro.
31683 (si_addr_lsb): Define new macro.
31684 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31686 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31688 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31689 instead of TEST_f_l.
31690 (llrint_test_tonearest): Likewise.
31691 (llrint_test_towardzero): Likewise.
31692 (llrint_test_downward): Likewise.
31693 (llrint_test_upward): Likewise.
31694 (llround_test): Likewise.
31696 * math/libm-test.inc (struct test_f_i_data): Add comment.
31697 (RUN_TEST_LOOP_f_b): New macro.
31698 (RUN_TEST_LOOP_f_b_tg): Likewise.
31699 (finite_test_data): New variable.
31700 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31701 (isfinite_test_data): New variable.
31702 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31703 (isinf_test_data): New variable.
31704 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31705 (isnan_test_data): New variable.
31706 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31707 (isnormal_test_data): New variable.
31708 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31709 (issignaling_test_data): New variable.
31710 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31711 (signbit_test_data): New variable.
31712 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31714 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31715 with INVALID_EXCEPTION.
31716 (acosh_test_data): Likewise.
31717 (asin_test_data): Likewise.
31718 (atanh_test_data): Likewise.
31719 (fmod_test_data): Likewise.
31720 (log_test_data): Likewise.
31721 (log10_test_data): Likewise.
31722 (log2_test_data): Likewise.
31723 (pow_test_data): Likewise.
31724 (sqrt_test_data): Likewise.
31725 (y0_test_data): Likewise.
31726 (y1_test_data): Likewise.
31727 (yn_test_data): Likewise.
31729 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31732 * math/libm-test.inc (struct test_ff_i_data): New type.
31733 (RUN_TEST_LOOP_ff_i_tg): New macro.
31734 (isgreater_test_data): New variable.
31735 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31736 (isgreaterequal_test_data): New variable.
31737 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31738 (isless_test_data): New variable.
31739 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31740 (islessequal_test_data): New variable.
31741 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31742 (islessgreater_test_data): New variable.
31743 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31744 (isunordered_test_data): New variable.
31745 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31747 2013-05-14 David S. Miller <davem@davemloft.net>
31749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31751 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31753 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31755 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31757 (struct test_f_i_data): Change type of max_ulp to int.
31759 * math/libm-test.inc (test_ffI_f1_data): New type.
31760 (RUN_TEST_LOOP_ffI_f1): New macro.
31761 (remquo_test_data): New variable.
31762 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31764 * setjmp/tst-setjmp-fp.c: New file.
31765 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31766 (link-libm): New variable.
31767 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31769 * math/libm-test.inc (struct test_f_i_data): New type.
31770 (RUN_TEST_LOOP_f_i): New macro.
31771 (RUN_TEST_LOOP_f_i_tg): Likewise.
31772 (fpclassify_test_data): New variable.
31773 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31774 (ilogb_test_data): New variable.
31775 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31777 * math/libm-test.inc (scalbln_test): Correct function name in END
31780 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31781 (RUN_TEST_LOOP_fI_f1): New macro.
31782 (frexp_test_data): New variable.
31783 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31785 * math/libm-test.inc (struct test_fF_f1_data): New type.
31786 (RUN_TEST_LOOP_fF_f1): New macro.
31787 (modf_test_data): New variable.
31788 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31790 * math/libm-test.inc (struct test_f_f1_data): New type.
31791 (RUN_TEST_LOOP_f_f1): New macro.
31792 (gamma_test_data): New variable.
31793 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31794 (lgamma_test_data): New variable.
31795 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31797 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31799 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31800 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31801 (main): Comment "tls" pseudo-hwcap.
31803 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31805 * math/libm-test.inc (struct test_fl_f_data): New type.
31806 (RUN_TEST_LOOP_fl_f): New variable.
31807 (scalbln_test_data): New variable.
31808 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31810 * math/libm-test.inc (struct test_fi_f_data): New type.
31811 (RUN_TEST_LOOP_fi_f): New macro.
31812 (ldexp_test_data): New variable.
31813 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31814 (scalbn_test_data): New variable.
31815 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31817 * math/libm-test.inc (struct test_c_f_data): New type.
31818 (RUN_TEST_LOOP_c_f): New macro.
31819 (cabs_test_data): New variable.
31820 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31821 (carg_test_data): New variable.
31822 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31823 (cimag_test_data): New variable.
31824 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31825 (creal_test_data): New variable.
31826 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31828 * math/libm-test.inc (struct test_if_f_data): New type.
31829 (RUN_TEST_LOOP_if_f): New macro.
31830 (jn_test_data): New variable.
31831 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31832 (yn_test_data): New variable.
31833 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31835 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31837 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31839 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31840 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31842 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31844 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31845 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31846 (bench-deps): Add bench-timing.h.
31847 * benchtests-bench-skeleton.c: Include bench-timing.h.
31848 (main): Use TIMING_* macros instead of clock_gettime.
31849 * benchtests/bench-timing.h: New file.
31852 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31853 Renamed from _LIB_VERSION.
31854 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31856 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31858 * math/libm-test.inc (struct test_fff_f_data): New type.
31859 (RUN_TEST_LOOP_fff_f): New macro.
31860 (fma_test_data): New variable.
31861 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31862 (fma_towardzero_test_data): New variable.
31863 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31864 (fma_downward_test_data): New variable.
31865 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31866 (fma_upward_test_data): New variable.
31867 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31869 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31870 (struct test_c_c_data): New type.
31871 (RUN_TEST_LOOP_c_c): New macro.
31872 (cacos_test_data): New variable.
31873 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31874 (cacosh_test_data): New variable.
31875 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31876 (casin_test_data): New variable.
31877 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31878 (casinh_test_data): New variable.
31879 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31880 (catan_test_data): New variable.
31881 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31882 (catanh_test_data): New variable.
31883 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31884 (ccos_test_data): New variable.
31885 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31886 (ccosh_test_data): New variable.
31887 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31888 (cexp_test_data): New variable.
31889 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31890 (clog_test_data): New variable.
31891 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31892 (clog10_test_data): New variable.
31893 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31894 (conj_test_data): New variable.
31895 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31896 (cproj_test_data): New variable.
31897 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31898 (csin_test_data): New variable.
31899 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31900 (csinh_test_data): New variable.
31901 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31902 (csqrt_test_data): New variable.
31903 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31904 (ctan_test_data): New variable.
31905 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31906 (ctan_tonearest_test_data): New variable.
31907 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31908 (ctan_towardzero_test_data): New variable.
31909 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31910 (ctan_downward_test_data): New variable.
31911 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31912 (ctan_upward_test_data): New variable.
31913 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31914 (ctanh_test_data): New variable.
31915 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31916 (ctanh_tonearest_test_data): New variable.
31917 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31918 (ctanh_towardzero_test_data): New variable.
31919 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31920 (ctanh_downward_test_data): New variable.
31921 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31922 (ctanh_upward_test_data): New variable.
31923 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31924 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31927 * math/libm-test.inc (struct test_ff_f_data): New type.
31928 (struct test_ff_f_data_nexttoward): Likewise.
31929 (RUN_TEST_LOOP_2_f): New macro.
31930 (RUN_TEST_LOOP_ff_f): Likewise.
31931 (atan2_test_data): New variable.
31932 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31933 (copysign_test_data): New variable.
31934 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31935 (fdim_test_data): New variable.
31936 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31937 (fmax_test_data): New variable.
31938 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31939 (fmin_test_data): New variable.
31940 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31941 (fmod_test_data): New variable.
31942 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31943 (hypot_test_data): New variable.
31944 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31945 (nextafter_test_data): New variable.
31946 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31947 (nexttoward_test_data): New variable.
31948 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31949 (pow_test_data): New variable.
31950 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31951 (pow_tonearest_test_data): New variable.
31952 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31953 (pow_towardzero_test_data): New variable.
31954 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31955 (pow_downward_test_data): New variable.
31956 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31957 (pow_upward_test_data): New variable.
31958 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31959 (remainder_test_data): New variable.
31960 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31961 (scalb_test_data): New variable.
31962 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31963 * sysdeps/i386/fpu/libm-test-ulps: Update.
31965 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31967 * math/libm-test.inc (fma_test): Use max_value instead of local
31969 (nextafter_test): Likewise.
31971 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31972 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31973 (acos_downward_test_data): New variable.
31974 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31975 (acos_upward_test_data): New variable.
31976 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31977 (acosh_test_data): New variable.
31978 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31979 (asin_test_data): New variable.
31980 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31981 (asin_tonearest_test_data): New variable.
31982 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31983 (asin_towardzero_test_data): New variable.
31984 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31985 (asin_downward_test_data): New variable.
31986 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31987 (asin_upward_test_data): New variable.
31988 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31989 (asinh_test_data): New variable.
31990 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31991 (atan_test_data): New variable.
31992 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31993 (atanh_test_data): New variable.
31994 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31995 (cbrt_test_data): New variable.
31996 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31997 (ceil_test_data): New variable.
31998 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31999 (cos_test_data): New variable.
32000 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32001 (cos_tonearest_test_data): New variable.
32002 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32003 (cos_towardzero_test_data): New variable.
32004 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32005 (cos_downward_test_data): New variable.
32006 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32007 (cos_upward_test_data): New variable.
32008 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32009 (cosh_test_data): New variable.
32010 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32011 (cosh_tonearest_test_data): New variable.
32012 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32013 (cosh_towardzero_test_data): New variable.
32014 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32015 (cosh_downward_test_data): New variable.
32016 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32017 (cosh_upward_test_data): New variable.
32018 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32019 (erf_test_data): New variable.
32020 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32021 (erfc_test_data): New variable.
32022 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32023 (exp_test_data): New variable.
32024 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32025 (exp_tonearest_test_data): New variable.
32026 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32027 (exp_towardzero_test_data): New variable.
32028 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32029 (exp_downward_test_data): New variable.
32030 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32031 (exp_upward_test_data): New variable.
32032 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32033 (exp10_test_data): New variable.
32034 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32035 (exp2_test_data): New variable.
32036 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32037 (expm1_test_data): New variable.
32038 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32039 (fabs_test_data): New variable.
32040 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32041 (floor_test_data): New variable.
32042 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32043 (j0_test_data): New variable.
32044 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32045 (j1_test_data): New variable.
32046 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32047 (log_test_data): New variable.
32048 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32049 (log10_test_data): New variable.
32050 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32051 (log1p_test_data): New variable.
32052 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32053 (log2_test_data): New variable.
32054 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32055 (logb_test_data): New variable.
32056 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32057 (logb_downward_test_data): New variable.
32058 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32059 (nearbyint_test_data): New variable.
32060 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32061 (rint_test_data): New variable.
32062 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32063 (rint_tonearest_test_data): New variable.
32064 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32065 (rint_towardzero_test_data): New variable.
32066 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32067 (rint_downward_test_data): New variable.
32068 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32069 (rint_upward_test_data): New variable.
32070 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32071 (round_test_data): New variable.
32072 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32073 (sin_test_data): New variable.
32074 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32075 (sin_tonearest_test_data): New variable.
32076 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32077 (sin_towardzero_test_data): New variable.
32078 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32079 (sin_downward_test_data): New variable.
32080 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32081 (sin_upward_test_data): New variable.
32082 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32083 (sinh_test_data): New variable.
32084 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32085 (sinh_tonearest_test_data): New variable.
32086 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32087 (sinh_towardzero_test_data): New variable.
32088 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32089 (sinh_downward_test_data): New variable.
32090 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32091 (sinh_upward_test_data): New variable.
32092 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32093 (sqrt_test_data): New variable.
32094 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32095 (tan_test_data): New variable.
32096 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32097 (tan_tonearest_test_data): New variable.
32098 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32099 (tan_towardzero_test_data): New variable.
32100 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32101 (tan_downward_test_data): New variable.
32102 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32103 (tan_upward_test_data): New variable.
32104 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32105 (tanh_test_data): New variable.
32106 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32107 (tgamma_test_data): New variable.
32108 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32109 (trunc_test_data): New variable.
32110 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32111 (y0_test_data): New variable.
32112 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32113 (y1_test_data): New variable.
32114 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32115 (significand_test_data): New variable.
32116 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32118 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32121 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32123 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32125 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32127 2013-05-10 Andreas Jaeger <aj@suse.de>
32130 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32131 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32133 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32135 * math/gen-libm-test.pl (adjust_arg): New function.
32136 (special_functions): Handle generating output in both functions
32138 (parse_args): Likewise.
32139 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32140 $in_func argument to parse_args.
32141 * math/libm-test.inc (struct test_f_f_data): New type.
32142 (IF_ROUND_INIT_): New macro.
32143 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32144 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32145 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32146 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32147 (ROUND_RESTORE_): Likewise.
32148 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32149 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32150 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32151 (ROUND_RESTORE_FE_UPWARD): Likewise.
32152 (RUN_TEST_LOOP_f_f): New macro.
32153 (acos_test_data): New variable.
32154 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32155 (acos_tonearest_test_data): New variable.
32156 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32158 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32160 * benchtests/bench-skeleton.c (startup): Fix coding style.
32162 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32165 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32166 negative infinity argument.
32167 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32168 negative infinity argument.
32169 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32170 negative infinity argument.
32171 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32174 2013-05-10 Florian Weimer <fweimer@redhat.com>
32176 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32177 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32178 * iconv/iconv_prog.c (main): Likewise.
32179 * locale/programs/charmap-dir.c (charmap_readdir)
32180 (fopen_uncompressed): Likewise.
32181 * locale/programs/locfile.c (siblings_uncached)
32182 (write_locale_data): Use lstat64 instead of lstat.
32183 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32186 2013-05-10 Andreas Jaeger <aj@suse.de>
32189 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32191 Include <locale.h>.
32193 2013-05-09 Carlos O'Donell <carlos@redhat.com>
32195 * elf/dl-close.c (_dl_close_worker): Add comments.
32197 2013-05-09 Joseph Myers <joseph@codesourcery.com>
32200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32202 (__ieee754_rem_pio2l): Update comments.
32205 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32207 (__ieee754_rem_pio2l): Update comments.
32209 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32210 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32212 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32215 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32216 (M_PI_34_LOG10El): Likewise.
32217 (M_PI2_LOG10El): Likewise.
32218 (M_PI4_LOG10El): Likewise.
32219 (M_PI_LOG10El): Likewise.
32221 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32225 2013-05-08 Joseph Myers <joseph@codesourcery.com>
32227 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32228 (MINUS_ZERO_INIT): Likewise.
32229 (PLUS_INFTY_INIT): Likewise.
32230 (MINUS_INFTY_INIT): Likewise.
32231 (QNAN_VALUE_INIT): Likewise.
32232 (MAX_VALUE_INIT): Likewise.
32233 (MIN_VALUE_INIT): Likewise.
32234 (MIN_SUBNORM_VALUE_INIT): Likewise.
32235 (plus_zero): Initialize with PLUS_ZERO_INIT.
32236 (minus_zero): Initialize with MINUS_ZERO_INIT.
32237 (plus_infty): Initialize with PLUS_INFTY_INIT.
32238 (minus_infty): Initialize with MINUS_INFTY_INIT.
32239 (qnan_value): Initialize with QNAN_VALUE_INIT.
32240 (max_value): Initialize with MAX_VALUE_INIT.
32241 (min_value): Initialize with MIN_VALUE_INIT.
32242 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32244 * math/libm-test.inc (RUN_TEST_if_f): New macro.
32245 (jn_test): Use TEST_if_f instead of TEST_ff_f.
32246 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32247 (yn_test): Use TEST_if_f instead of TEST_ff_f.
32249 * math/libm-test.inc (RUN_TEST_f_f): New macro.
32250 (RUN_TEST_2_f): Likewise.
32251 (RUN_TEST_ff_f): Likewise.
32252 (RUN_TEST_fi_f): Likewise.
32253 (RUN_TEST_fl_f): Likewise.
32254 (RUN_TEST_fff_f): Likewise.
32255 (RUN_TEST_c_f): Likewise.
32256 (RUN_TEST_f_f1): Likewise.
32257 (RUN_TEST_fF_f1): Likewise.
32258 (RUN_TEST_fI_f1): Likewise.
32259 (RUN_TEST_ffI_f1): Likewise.
32260 (RUN_TEST_c_c): Likewise.
32261 (RUN_TEST_cc_c): Likewise.
32262 (RUN_TEST_f_i): Likewise.
32263 (RUN_TEST_f_i_tg): Likewise.
32264 (RUN_TEST_ff_i_tg): Likewise.
32265 (RUN_TEST_f_b): Likewise.
32266 (RUN_TEST_f_b_tg): Likewise.
32267 (RUN_TEST_f_l): Likewise.
32268 (RUN_TEST_f_L): Likewise.
32269 (RUN_TEST_sincos): Likewise.
32270 * math/gen-libm-test.pl (new_test): Take new argument to indicate
32271 whether to show exceptions. Do not include ");\n" in return
32273 (special_functions): Output call to RUN_TEST_sincos instead of
32274 check_float calls. Update calls to new_test.
32275 (parse_args): Output call to single RUN_TEST_* macro instead of
32276 check_* calls and other assignments. Update calls to new_test.
32282 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32283 input to result for tgamma overflow.
32284 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32285 (gamma_coeff): New variable.
32286 (NCOEFF): New macro.
32287 (gamma_positive): New function.
32288 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32289 underflow here. Use gamma_positive instead of exp (lgamma) for
32291 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32292 (gamma_coeff): New variable.
32293 (NCOEFF): New macro.
32294 (gammaf_positive): New function.
32295 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32296 underflow here. Use gamma_positive instead of exp (lgamma) for
32298 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32299 (gamma_coeff): New variable.
32300 (NCOEFF): New macro.
32301 (gammal_positive): New function.
32302 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32303 underflow here. Use gamma_positive instead of exp (lgamma) for
32305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32306 (gamma_coeff): New variable.
32307 (NCOEFF): New macro.
32308 (gammal_positive): New function.
32309 (__ieee754_gammal_r): Handle positive infinity, overflow and
32310 underflow here. Handle NaN the same as positive infinity. Remove
32311 check x < 0xffffffff for negative integers. Use gamma_positive
32312 instead of exp (lgamma) for other arguments.
32313 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32314 (gamma_coeff): New variable.
32315 (NCOEFF): New macro.
32316 (gammal_positive): New function.
32317 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32318 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32319 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32320 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32321 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32322 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32323 * sysdeps/generic/math_private.h (__gamma_productf): New
32325 (__gamma_product): Likewise.
32326 (__gamma_productl): Likewise.
32327 * math/Makefile (libm-calls): Add gamma_product.
32328 * math/libm-test.inc (tgamma_test): Add more tests.
32329 * sysdeps/i386/fpu/libm-test-ulps: Update.
32330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32332 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
32334 * benchtests/bench-skeleton.c (main): Preheat CPU.
32336 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
32338 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32340 2013-05-07 Roland McGrath <roland@hack.frob.com>
32342 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32343 and _dl_skip_args_internal.
32345 2013-05-07 Carlos O'Donell <carlos@redhat.com>
32347 * manual/message.texi (Message Translation): Talk about users.
32348 Message to key mapping impacts design.
32350 2013-05-06 Roland McGrath <roland@hack.frob.com>
32352 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32354 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32356 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32357 * sysdeps/wordsize-64/glob64.c: ... here.
32359 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32360 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32363 * debug/getlogin_r_chk.c: Moved to ...
32364 * login/getlogin_r_chk.c: ... here.
32365 * debug/Makefile (routines): Move getlogin_r_chk to ...
32366 * login/Makefile (routines): ... here.
32367 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32368 * login/Versions (libc: GLIBC_2.4): ... here.
32370 * io/poll.c (__poll): Renamed from poll.
32371 Add libc_hidden_def.
32372 (poll): Define as weak alias.
32374 * debug/ptsname_r_chk.c: Moved to ...
32375 * login/ptsname_r_chk.c: ... here.
32376 * debug/Makefile (routines): Move ptsname_r_chk to ...
32377 * login/Makefile (routines): ... here.
32378 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32379 * login/Versions (libc: GLIBC_2.4): ... here.
32381 * posix/getlogin.c: Moved to ...
32382 * login/getlogin.c: ... here.
32383 * posix/getlogin_r.c: Moved to ...
32384 * login/getlogin_r.c: ... here.
32385 * posix/getlogin_r.c: Moved to ...
32386 * login/getlogin_r.c: ... here.
32387 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32388 * login/Makefile (routines): ... here.
32389 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32390 * login/Versions (libc: GLIBC_2.0): ... here.
32392 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32393 (setrlimit): Define as weak alias.
32395 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32396 Call __ names for open, ftruncate, and close.
32397 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32398 (truncate): Define as weak alias.
32400 2013-05-06 Joseph Myers <joseph@codesourcery.com>
32402 * math/gen-libm-test.pl (parse_args): Initialize x before each
32403 test of frexp, modf and remquo.
32405 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32406 test signgam value.
32408 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32412 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32414 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32416 2013-05-06 Roland McGrath <roland@hack.frob.com>
32418 * elf/dl-writev.h: New file.
32419 * elf/dl-misc.c: Include it.
32420 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32421 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32423 2013-05-04 Joseph Myers <joseph@codesourcery.com>
32425 * math/libm-test.inc (noXFails): Remove variable.
32426 (noXPasses): Likewise.
32427 (BUILD_COMPLEX_INT): Remove macro.
32428 (print_screen): Remove xfail argument.
32429 (print_screen_max_error): Likewise.
32430 (update_stats): Likewise.
32431 (print_max_error): Likewise. Update calls to other affected
32433 (print_complex_max_error): Likewise.
32434 (test_single_exception): Update calls to print_screen.
32435 (test_single_errno): Likewise.
32436 (check_float_internal): Remove xfail argument. Update calls to
32437 other affected functions.
32438 (check_float): Likewise.
32439 (check_complex): Likewise.
32440 (check_int): Likewise.
32441 (check_long): Likewise.
32442 (check_bool): Likewise.
32443 (check_longlong): Likewise.
32444 (main): Don't print noXFails and noXPasses.
32445 * math/gen-libm-test.pl (top level): Don't mention expected
32446 failure handling in comment.
32447 (new_test): Don't handle expected failures.
32448 (parse_args): Don't mention expected failure handling in comment.
32449 (generate_testfile): Don't handle expected failures.
32450 (parse_ulps): Likewise.
32451 (print_ulps_file): Likewise.
32452 (get_failure): Remove function.
32453 (output_test): Don't handle expected failures.
32454 * make/README.libm-test: Don't mention expected failure handling.
32456 * math/libm-test.inc (plus_zero): Make const. Add initializer.
32457 (minus_zero): Likewise.
32458 (plus_infty): Likewise.
32459 (minus_infty): Likewise.
32460 (qnan_value): Likewise.
32461 (max_value): Likewise.
32462 (min_value): Likewise.
32463 (min_subnorm_value): Likewise.
32464 (initialize): Do not initialize those variables dynamically.
32466 2013-05-03 Roland McGrath <roland@hack.frob.com>
32468 * io/open.c (__open_2): Moved to ...
32469 * io/open_2.c: ... this new file.
32470 * io/open64.c (__open64_2): Moved to ...
32471 * io/open64_2.c: ... this new file.
32472 * io/openat.c (__openat_2): Moved to ...
32473 * io/openat_2.c: ... this new file.
32474 * io/openat64.c (__openat64_2): Moved to ...
32475 * io/openat64_2.c: ... this new file.
32476 * io/Makefile (routines): Add them.
32477 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32478 * sysdeps/unix/sysv/linux/open_2.c: File removed.
32479 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32480 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32481 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32482 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32483 (__openat64): Add hidden_ver.
32484 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32485 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32487 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32488 Separately conditionalize setting of GLRO(dl_sysinfo) so
32489 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32490 as well, but the actual setting is only under [NEED_DL_SYSINFO].
32492 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32494 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32495 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32497 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32498 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32499 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32500 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32501 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32503 2013-05-03 Joseph Myers <joseph@codesourcery.com>
32505 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32506 test signgam value.
32508 * math/libm-test.inc (hypot_test): Do not use
32509 IGNORE_ZERO_INF_SIGN.
32511 2013-05-03 Andreas Jaeger <aj@suse.de>
32513 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32515 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32516 (PF_MAX): Adjust for VSOCK change.
32518 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32522 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32525 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32526 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32527 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32529 2013-05-02 David S. Miller <davem@davemloft.net>
32531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32533 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
32535 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32537 2013-05-01 Roland McGrath <roland@hack.frob.com>
32539 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32541 2013-05-01 Richard Smith <richard@metafoo.co.uk>
32544 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32545 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32546 Use __attribute__ ((__gnu_inline__)).
32547 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32548 Don't use __attribute__ ((__gnu_inline__)).
32550 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32553 * math/s_catan.c (__catan): Handle small real or imaginary part of
32554 input specially to avoid spurious underflow.
32555 * math/s_catanf.c (__catanf): Likewise.
32556 * math/s_catanh.c (__catanh): Likewise.
32557 * math/s_catanhf.c (__catanhf): Likewise.
32558 * math/s_catanhl.c (__catanhl): Likewise.
32559 * math/s_catanl.c (__catanl): Likewise.
32560 * math/libm-test.inc (catan_test): Add more tests.
32561 (catanh_test): Likewise.
32562 * sysdeps/i386/fpu/libm-test-ulps: Update.
32563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32565 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32569 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32572 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32573 accurately for denominator in atan2.
32574 * math/s_catanf.c (__catanf): Likewise.
32575 * math/s_catanh.c (__catanh): Likewise.
32576 * math/s_catanhf.c (__catanhf): Likewise.
32577 * math/s_catanhl.c (__catanhl): Likewise.
32578 * math/s_catanl.c (__catanl): Likewise.
32579 * math/libm-test.inc (catan_test): Add more tests.
32580 (catanh_test): Likewise.
32581 * sysdeps/i386/fpu/libm-test-ulps: Update.
32582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32584 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32586 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32588 * benchtests/Makefile (bench): Remove slow benchmarks.
32589 * benchtests/atan-inputs: Add slow benchmark inputs.
32590 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32591 (BENCH_FUNC): Accept variant offset.
32593 * benchtests/bench-skeleton.c (main): Run benchmark for each
32595 * benchtests/cos-inputs: Add slow benchmark inputs.
32596 * benchtests/exp-inputs: Likewise.
32597 * benchtests/pow-inputs: Likewise.
32598 * benchtests/sin-inputs: Likewise.
32599 * benchtests/slowatan-inputs: Remove.
32600 * benchtests/slowatan.c: Remove.
32601 * benchtests/slowcos-inputs: Remove.
32602 * benchtests/slowcos.c: Remove.
32603 * benchtests/slowexp-inputs: Remove.
32604 * benchtests/slowexp.c: Remove.
32605 * benchtests/slowpow-inputs: Remove.
32606 * benchtests/slowpow.c: Remove.
32607 * benchtests/slowsin-inputs: Remove.
32608 * benchtests/slowsin.c: Remove.
32609 * benchtests/slowtan-inputs: Remove.
32610 * benchtests/slowtan.c: Remove.
32611 * benchtests/tan-inputs: Add slow benchmark inputs.
32612 * scripts/bench.pl: Parse comments and directives.
32614 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32616 ($(objpfx)bench-%.c): Remove *-ITER.
32617 * benchtests/bench-modf.c: Remove definition of ITER.
32618 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32619 (main): Loop for DURATION seconds instead of fixed number of
32621 * scripts/bench.pl: Don't expect iterations in parameters.
32623 2013-04-29 Roland McGrath <roland@hack.frob.com>
32625 * io/fchdir.c (__fchdir): Renamed from fchdir.
32626 (fchdir): Define as weak alias.
32628 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32630 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32631 (ERRNO_EDOM): Likewise.
32632 (ERRNO_ERANGE): Likewise.
32633 (noErrnoTests): New variable.
32634 (init_max_error): Set errno to 0.
32635 (test_single_errno): New function.
32636 (test_errno): Likewise.
32637 (check_float_internal): Call test_errno. Set errno to 0.
32638 (check_complex): Refer to errno tests in comment.
32639 (check_int): Call test_errno. Set errno to 0.
32640 (check_long): Likewise.
32641 (check_bool): Likewise.
32642 (check_longlong): Likewise.
32643 (cos_test): Use ERRNO_* flags for errno tests instead of
32645 (expm1_test): Likewise.
32646 (fmod_test): Likewise.
32647 (ilogb_test): Likewise.
32648 (lgamma_test): Likewise.
32649 (pow_test): Likewise.
32650 (remainder_test): Likewise.
32651 (sin_test): Likewise.
32652 (tan_test): Likewise.
32653 (yn_test): Likewise.
32654 (initialize): Set errno to 0.
32655 (main): Print number of errno tests.
32656 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32658 2013-04-29 Andreas Jaeger <aj@suse.de>
32661 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32665 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32666 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32670 * stdlib/random.c (__initstate): Return NULL if
32674 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32675 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32678 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32682 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32684 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32685 of individual tests.
32686 (casin_test): Likewise.
32687 (casinh_test): Likewise.
32689 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32692 * math/s_catan.c (__catan): Handle arguments with large real or
32693 imaginary part separately without squaring.
32694 * math/s_catanf.c (__catanf): Likewise.
32695 * math/s_catanh.c (__catanh): Likewise.
32696 * math/s_catanhf.c (__catanhf): Likewise.
32697 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32699 (__catanhl): Handle arguments with large real or imaginary part
32700 separately without squaring.
32701 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32703 (__catanl): Handle arguments with large real or imaginary part
32704 separately without squaring.
32705 * math/libm-test.inc (catan_test): Add more tests.
32706 (catanh_test): Likewise.
32707 * sysdeps/i386/fpu/libm-test-ulps: Update.
32708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32710 2013-04-27 Andreas Jaeger <aj@suse.de>
32713 * stdlib/stdlib.h: Update guards for qecvt.
32714 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32717 2013-04-27 Allan McRae <allan@archlinux.org>
32719 * sysdeps/i386/fpu/libm-test-ulps: Update.
32721 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32724 * math/s_catan.c: Include <float.h>.
32725 (__catan): Ensure underflow exception occurs for underflowed
32727 * math/s_catanf.c: Include <float.h>.
32728 (__catanf): Ensure underflow exception occurs for underflowed
32730 * math/s_catanh.c: Include <float.h>.
32731 (__catanh): Ensure underflow exception occurs for underflowed
32733 * math/s_catanhf.c: Include <float.h>.
32734 (__catanhf): Ensure underflow exception occurs for underflowed
32736 * math/s_catanhl.c: Include <float.h>.
32737 (__catanhl): Ensure underflow exception occurs for underflowed
32739 * math/s_catanl.c: Include <float.h>.
32740 (__catanl): Ensure underflow exception occurs for underflowed
32742 * math/libm-test.inc (catan_test): Add more tests.
32743 (catanh_test): Likewise.
32746 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32747 underflowed result.
32748 * math/s_ccoshf.c (__ccoshf): Likewise.
32749 * math/s_ccoshl.c (__ccoshl): Likewise.
32750 * math/s_csin.c (__csin): Likewise.
32751 * math/s_csinf.c (__csinf): Likewise.
32752 * math/s_csinh.c (__csinh): Likewise.
32753 * math/s_csinhf.c (__csinhf): Likewise.
32754 * math/s_csinhl.c (__csinhl): Likewise.
32755 * math/s_csinl.c (__csinl): Likewise.
32756 * math/libm-test.inc (ccos_test): Add more tests.
32757 (ccosh_test): Likewise.
32758 (csin_test): Likewise.
32759 (csinh_test): Likewise.
32761 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32763 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32764 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32765 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32766 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32767 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32768 powerpc/power5+/fpu folders.
32769 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32772 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32776 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32778 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32779 additions to variable.
32780 [$(config-machine) = x86_64] (modules-names): Likewise.
32781 ($(objpfx)tst-audit3): Remove dependency.
32782 ($(objpfx)tst-audit3.out): Likewise.
32783 ($(objpfx)tst-audit4): Likewise.
32784 ($(objpfx)tst-audit4.out): Likewise.
32785 ($(objpfx)tst-audit5): Likewise.
32786 ($(objpfx)tst-audit5.out): Likewise.
32787 ($(objpfx)tst-audit6): Likewise.
32788 ($(objpfx)tst-audit6.out): Likewise.
32789 ($(objpfx)tst-audit7): Likewise.
32790 ($(objpfx)tst-audit7.out): Likewise.
32791 (tst-audit3-ENV): Remove variable.
32792 (tst-audit4-ENV): Likewise.
32793 (tst-audit5-ENV): Likewise.
32794 (tst-audit6-ENV): Likewise.
32795 (tst-audit7-ENV): Likewise.
32796 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32797 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32798 addition to variable.
32799 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32800 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32801 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32802 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32803 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32804 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32805 tst-audit3, tst-audit4 and tst-audit5.
32806 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32807 tst-audit6 and tst-audit7.
32808 [$(subdir) = elf] (modules-names): Add audit modules for those
32810 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32811 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32812 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32813 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32814 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32815 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32816 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32817 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32818 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32819 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32820 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32821 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32822 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32823 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32824 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32825 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32827 [$(subdir) = elf && $(config-cflags-avx) = yes]
32828 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32829 [$(subdir) = elf && $(config-cflags-avx) = yes]
32830 (CFLAGS-tst-auditmod4a.c): Likewise.
32831 [$(subdir) = elf && $(config-cflags-avx) = yes]
32832 (CFLAGS-tst-auditmod4b.c): Likewise.
32833 [$(subdir) = elf && $(config-cflags-avx) = yes]
32834 (CFLAGS-tst-auditmod6b.c): Likewise.
32835 [$(subdir) = elf && $(config-cflags-avx) = yes]
32836 (CFLAGS-tst-auditmod6c.c): Likewise.
32837 [$(subdir) = elf && $(config-cflags-avx) = yes]
32838 (CFLAGS-tst-auditmod7b.c): Likewise.
32839 * elf/tst-audit3.c: Move to ...
32840 * sysdeps/x86_64/tst-audit3.c: ... here.
32841 * elf/tst-audit4.c: Move to ...
32842 * sysdeps/x86_64/tst-audit4.c: ... here.
32843 * elf/tst-audit5.c: Move to ...
32844 * sysdeps/x86_64/tst-audit5.c: ... here.
32845 * elf/tst-audit6.c: Move to ...
32846 * sysdeps/x86_64/tst-audit6.c: ... here.
32847 * elf/tst-audit7.c: Move to ...
32848 * sysdeps/x86_64/tst-audit7.c: ... here.
32849 * elf/tst-auditmod3a.c: Move to ...
32850 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32851 * elf/tst-auditmod3b.c: Move to ...
32852 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32853 * elf/tst-auditmod4a.c: Move to ...
32854 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32855 * elf/tst-auditmod4b.c: Move to ...
32856 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32857 * elf/tst-auditmod5a.c: Move to ...
32858 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32859 * elf/tst-auditmod5b.c: Move to ...
32860 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32861 * elf/tst-auditmod6a.c: Move to ...
32862 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32863 * elf/tst-auditmod6b.c: Move to ...
32864 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32865 * elf/tst-auditmod6c.c: Move to ...
32866 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32867 * elf/tst-auditmod7a.c: Move to ...
32868 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32869 * elf/tst-auditmod7b.c: Move to ...
32870 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32872 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32875 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32876 define unconditionally.
32877 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32878 define unconditionally.
32879 (INT8_C, INT16_C, etc.): Likewise.
32881 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32883 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32884 __ehdr_start with hidden visibility.
32886 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32888 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32890 * math/libm-test.inc (cos_test): Use accurate hex constants.
32891 (sincost_test): Likewise.
32893 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32895 * math/libm-test.inc (catan_test): Add more tests.
32896 (catanh_test): Likewise.
32898 * math/s_catanf.c (__catanf): Use suffixed floating-point
32900 * math/s_catanhf.c (__catanhf): Likewise.
32901 * math/s_catanhl.c (__catanhl): Likewise.
32902 * math/s_catanl.c (__catanl): Likewise.
32905 * math/s_catan.c (__catan): Calculate imaginary part of result
32906 with log1p not log unless computing log of number close to 0.
32907 * math/s_catanf.c (__catanf): Likewise.
32908 * math/s_catanl.c (__catanl): Likewise.
32909 * math/s_catanh.c (__catanh): Calculate real part of result with
32910 log1p not log unless computing log of number close to 0.
32911 * math/s_catanhf.c (__catanhf): Likewise.
32912 * math/s_catanhl.c (__catanhl): Likewise.
32913 * math/libm-test.inc (catan_test): Add more tests.
32914 (catanh_test): Likewise.
32915 * sysdeps/i386/fpu/libm-test-ulps: Update.
32916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32918 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32920 * benchtests/Makefile: Mention files in which fast and slow
32921 paths of math functions are implemented.
32923 2013-04-23 Roland McGrath <roland@hack.frob.com>
32925 * sysdeps/posix/timespec_get.c: New file.
32927 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32929 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32931 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32933 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32934 powerpc/power5/fpu folders.
32935 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32936 * benchtests/Makefile: Add modf testcase.
32937 * benchtests/bench-modf.c: New file: Benchmark test for mo
32939 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32942 * time/Makefile (tests): Add tst-strptime-whitespace.
32943 * time/strptime_l.c (get_number): Use ISSPACE.
32944 (__strptime_internal): Likewise.
32945 * time/tst-strptime-whitespace.c: New test case.
32947 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32949 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32951 (_nss_files_init): Set it here.
32953 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32955 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32956 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32959 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32961 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32963 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32968 2013-04-21 David S. Miller <davem@davemloft.net>
32970 * po/ru.po: Update Russion translation from translation project.
32972 2013-04-17 Adam Conrad <adconrad@0c3.net>
32974 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32977 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32979 * configure.in: Remove i386 configure warning. Remove i386 case.
32980 * configure: Regenerate.
32981 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32982 Add example to error message.
32983 * sysdeps/i386/configure: Regenerate.
32985 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32987 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32989 * benchtests/cos-inputs: New file.
32990 * benchtests/slowcos-inputs: New file.
32991 * benchtests/slowcos.c: New file.
32992 * benchtests/slowtan-inputs: New file.
32993 * benchtests/slowtan.c: New file.
32994 * benchtests/tan-inputs: New file.
32996 2013-04-16 Roland McGrath <roland@hack.frob.com>
32998 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33001 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33003 * benchtests/Makefile: Include cppflags-iterator.mk to add
33004 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33006 * Makefile.in (bench-clean): New target.
33007 * benchtests/Makefile (bench-clean): Likewise.
33009 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33011 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33013 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33015 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33017 2013-04-15 Andreas Schwab <schwab@suse.de>
33019 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33021 * nscd/pwdcache.c (cache_addpw): Likewise.
33022 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33025 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33027 * benchtests/Makefile (bench): Write all output to
33028 bench-out.tmp together.
33030 2013-04-15 Andreas Schwab <schwab@suse.de>
33032 * nscd/nscd.c (main): Don't fork again after closing files.
33034 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33036 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33038 * benchtests/Rules (bench-deps): Collect dependencies into a
33039 single variable. Add Makefile to dependencies.
33040 ($(objpfx)bench-%.c): Depend on bench-deps.
33042 2013-04-12 Roland McGrath <roland@hack.frob.com>
33043 Xavier Roche <roche+kml2@exalead.com>
33046 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33047 just that it's a file descriptor.
33048 * manual/llio.texi (Synchronizing AIO Operations): Update description
33049 for EBADF error from aio_fsync.
33051 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33053 * Rules (bench): Move target definition...
33054 * benchtests/Makefile: ... here.
33056 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33058 * math/libm-test.inc (cos_test): Fix PI/2 test.
33059 (sincos_test): Likewise.
33060 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33061 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33063 2013-04-11 Andreas Schwab <schwab@suse.de>
33066 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33067 accept exponent character only when digits were seen.
33068 * stdio-common/Makefile (tests): Add bug26.
33069 * stdio-common/bug26.c: New file.
33072 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33075 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33077 * Makeconfig (rtld-prefix): Define built linker prefix.
33078 * Rules (run-bench): Use it.
33079 * math/Makefile (run-regen-ulps): Likewise.
33081 * Rules (bench): Remove eval.
33083 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33084 Roland McGrath <roland@hack.frob.com>
33085 Ondrej Bilka <neleai@seznam.cz>
33088 * time/getdate.c: Include ctype.h and alloca.h.
33089 (__getdate_r): Trim leading and trailing spaces of input.
33090 * time/tst-getdate.c (tests): Add tests with leading and
33093 2013-04-08 Roland McGrath <roland@hack.frob.com>
33096 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33097 when computing value.
33099 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33101 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33102 Use testrun.sh to run libm tests.
33105 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33107 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33110 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33112 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33114 * Makefile.in (regen-ulps): New target.
33115 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33116 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33117 [ifneq (no,$(PERL)] (regen-ulps): New target.
33118 [ifeq (no,$(PERL)] (regen-ulps): New target.
33119 * math/libm-test.inc (ulps_file_name): Define.
33120 (output_dir): New variable.
33121 (options): Add "output-dir" option.
33122 (parse_opt): Handle 'o' case.
33123 (main): If output_dir is non-NULL use it as a prefix
33125 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33127 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33129 [BZ #10060, #10062]
33130 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33131 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33132 fail configure if __sync_val_compare_and_swap is not inlined.
33133 * sysdeps/i386/configure: Regenerate.
33134 * configure.in: Build for i686 when configured for i386.
33135 * configure: Regenerate.
33136 * README: Remove i386 reference.
33138 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33140 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33143 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33145 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33146 (lmsnanval): New variables.
33147 (F): Add conversion tests.
33148 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33149 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33151 * stdio-common/tstdiomisc.c (F): Properly collect individual
33154 [BZ #14686, #15336]
33155 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33156 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33157 Instead, use input NaN values or generate a qNaN by arithmetic
33158 operation. Also fix bugs to comply with the standard.
33159 * math/libm-test.inc (remainder_test): Add more tests.
33161 [BZ #15335, #15342]
33162 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33164 input NaN values or generate a qNaN by arithmetic operation.
33166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33169 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33172 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33175 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33176 underflowed result.
33177 * math/s_cexpf.c (__cexpf): Likewise.
33178 * math/s_cexpl.c (__cexpl): Likewise.
33179 * math/libm-test.inc (cexp_test): Add more tests.
33181 2013-04-03 Andreas Schwab <schwab@suse.de>
33184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33185 order arrays from heap if bigger than alloca cutoff.
33187 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33189 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33190 (SNAN_TESTS_double): Refer to GCC PR56831.
33191 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33194 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33196 * Rules (bench): Move bench.out after the run is complete.
33198 * Rules (bench): Echo currently running benchmark.
33200 * benchtests/Makefile (bench): Add atan and slowatan.
33201 * benchtests/atan-inputs: New file.
33202 * benchtests/slowatan-inputs: New file.
33203 * benchtests/slowatan.c: New file.
33205 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33206 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33210 * sysdeps/unix/sysv/linux/kernel-features.h
33211 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33212 __ASSUME_XFS_RESTRICTED_CHOWN.
33213 * sysdeps/unix/sysv/linux/pathconf.c
33214 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33215 Save and restore errno.
33217 2013-04-02 Joseph Myers <joseph@codesourcery.com>
33220 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33221 arguments using __kernel_casinh.
33222 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33223 arguments using __kernel_casinhf.
33224 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33225 arguments using __kernel_casinhl.
33226 * math/libm-test.inc (cacosh_test): Add more tests.
33227 * sysdeps/i386/fpu/libm-test-ulps: Update.
33228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33230 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33232 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33235 * bench/Makefile (bench): Add sin and slowsin.
33236 * benchtests/sin-inputs: New file.
33237 * benchtests/slowsin-inputs: New file.
33238 * benchtests/slowsin.c: New file.
33240 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33241 (bench): Add slowexp and slowpow.
33242 (exp-ITER): Increase iterations.
33243 (pow-ITER): Likewise.
33244 * benchtests/exp-inputs: Change input.
33245 * benchtests/pow-inputs: Likewise.
33246 * benchtests/slowexp-inputs: New file.
33247 * benchtests/slowexp.c: New file.
33248 * benchtests/slowpow-inputs: New file.
33249 * benchtests/slowpow.c: New file.
33251 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33253 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33255 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33256 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33257 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33258 * benchtests/Makefile: Add rint benchtest.
33259 * benchtests/rint-inputs: Input for rint benchtest.
33261 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
33263 * Versions.def (libm): Add GLIBC_2.18.
33264 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33265 hidden libm prototypes.
33266 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33267 * math/Makefile (libm-calls): Add s_issignaling.
33268 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33269 __issignalingf, __issignalingl. Adjust all libm.abilist files.
33270 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33272 * math/math.h [__USE_GNU] (issignaling): New macro.
33273 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33274 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33275 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33276 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33277 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33278 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33279 * manual/arith.texi (issignaling): New section.
33280 * manual/libm-err-tab.pl (@all_functions): Update comment.
33281 * math/gen-libm-test.pl (parse_args): Apply special handling for
33283 * math/libm-test.inc (print_float, issignaling_test): New
33285 (check_float_internal): Add issignaling checks.
33286 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33287 default definition.
33288 * sysdeps/powerpc/math-tests.h: New file.
33289 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33291 * math/test-snan.c (TEST_FUNC): Likewise.
33293 2013-03-30 David S. Miller <davem@davemloft.net>
33295 * po/de.po: Update from translation team.
33297 2013-03-30 Joseph Myers <joseph@codesourcery.com>
33300 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33301 imaginary part less than 1.0 and real part less than 0.5
33303 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33304 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33305 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33306 (cacos_test): Add more tests.
33307 (casin_test): Likewise.
33308 (casinh_test): Likewise.
33309 * sysdeps/i386/fpu/libm-test-ulps: Update.
33310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33312 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33314 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33315 ONE with its value.
33317 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33318 (__pow_mp): Replace ONE and MONE with their values.
33319 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33320 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33321 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33322 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33323 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33324 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33326 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33328 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33329 (__pow_mp): Replace ZERO and MZERO with their values.
33330 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33331 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33332 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33334 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33335 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33338 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33340 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33342 2013-03-28 Roland McGrath <roland@hack.frob.com>
33344 * include/stdlib.h [!SHARED] (__call_tls_dtors):
33345 Declare with __attribute__ ((weak)).
33346 * stdlib/exit.c (__libc_atexit) [!SHARED]:
33347 Call __call_tls_dtors only if it's not NULL.
33349 2013-03-28 Roland McGrath <roland@hack.frob.com>
33351 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33352 didn't do it already, then set _dl_phdr and _dl_phnum based on the
33353 magic __ehdr_start linker symbol if it's defined.
33354 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33355 them up here if it was already done.
33357 * elf/dl-support.c (_dl_phdr): Make pointer to const.
33358 (_dl_aux_init): Use const in cast when setting it.
33359 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33360 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33361 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33363 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33365 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33366 * csu/libc-tls.c: Nor here.
33367 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33369 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33370 (__libc_message): Never call vsyslog.
33372 2013-03-28 Alan Modra <amodra@gmail.com>
33374 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33376 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33379 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33382 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33386 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33389 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33390 Don't add gid passed as argument.
33392 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33394 2013-03-27 Joseph Myers <joseph@codesourcery.com>
33397 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33398 imaginary part between 1.0 and 1.5 and real part less than 0.5
33400 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33401 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33402 * math/libm-test.inc (cacos_test): Add more tests.
33403 (casin_test): Likewise.
33404 (casinh_test): Likewise.
33405 * sysdeps/i386/fpu/libm-test-ulps: Update.
33406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33408 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33410 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33413 (denorm): Likewise.
33414 (__dbl_mp): Likewise.
33415 (add_magnitudes): Likewise.
33416 (sub_magnitudes): Likewise.
33424 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33426 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33427 (__dubcos): Likewise.
33428 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33429 (__ieee754_acos): Likewise.
33430 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33431 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33432 (__exp1): Likewise.
33433 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33436 (my_log2): Likewise.
33437 (checkint): Likewise.
33438 * sysdeps/ieee754/dbl-64/e_remainder.c
33439 (__ieee754_remainder): Likewise.
33440 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33441 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33442 (bsloww): Likewise.
33443 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33445 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33446 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33447 MANTISSA_STORE_T to store computations on mantissa. Use
33448 macros for rounding and division.
33449 (denorm): Likewise.
33450 (__dbl_mp): Likewise.
33451 (add_magnitudes): Likewise.
33452 (sub_magnitudes): Likewise.
33455 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33456 powers of two in terms of TWOPOW macro.
33457 (mp_no): Make type of mantissa as MANTISSA_T.
33458 [!RADIXI]: Define RADIXI.
33459 [!TWO52]: Define TWO52.
33460 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33462 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33464 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33465 llroundl symbol when building for PPC32.
33467 2013-03-24 Mark H Weaver <mhw@netris.org>
33469 * manual/arith.texi (Normalization Functions): Fix prototypes for
33470 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33472 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33476 high value to check if expl overflow.
33477 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33478 to check for underflow and overflow.
33479 * math/libm-test.inc: Add exp test.
33481 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
33484 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33487 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33489 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33492 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
33494 * math/gen-libm-test.pl (parse_args, special_functions): Properly
33495 wrap blocks consisting of several statements.
33497 * sysdeps/generic/math-tests.h: New file.
33498 * sysdeps/i386/fpu/math-tests.h: Likewise.
33499 * math/test-snan.c: Include it.
33500 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33502 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33505 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33506 (__ieee754_j0l): Do not improve calculations using cos of twice
33507 input for inputs above LDBL_MAX / 2.0L.
33508 (__ieee754_y0l): Likewise.
33509 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33510 (__ieee754_j1l): Do not improve calculations using cos of twice
33511 input for inputs above LDBL_MAX / 2.0L.
33512 (__ieee754_y1l): Likewise.
33513 * math/libm-test.inc (j0_test): Add another test.
33514 (j1_test): Likewise.
33515 (y0_test): Likewise.
33516 (y1_test): Likewise.
33517 * sysdeps/i386/fpu/libm-test-ulps: Update.
33519 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33521 * Rules ($(objpfx)bench-%.c): Include code from a C source
33524 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33527 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33528 imaginary part 1.0 and real part less than 0.5 specially.
33529 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33530 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33531 * math/libm-test.inc (cacos_test): Add more tests.
33532 (casin_test): Likewise.
33533 (casinh_test): Likewise.
33534 * sysdeps/i386/fpu/libm-test-ulps: Update.
33535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33537 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33539 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33540 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33542 2013-03-20 Joseph Myers <joseph@codesourcery.com>
33544 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33545 * config.make.in (config-cflags-sse4): Remove variable.
33546 (config-cflags-avx): Likewise.
33547 (config-cflags-sse2avx): Likewise.
33548 (config-cflags-novzeroupper): Likewise.
33549 (config-asflags-i686): Likewise.
33550 (have-mfma4): Likewise.
33551 (have-as-vis3): Likewise.
33553 * configure.in (MIG): Do not AC_SUBST.
33554 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33555 (libc_cv_cc_sse4): Do not AC_SUBST.
33556 (libc_cv_cc_avx): Likewise.
33557 (libc_cv_cc_sse2avx): Likewise.
33558 (libc_cv_cc_novzeroupper): Likewise.
33559 (libc_cv_cc_fma4): Likewise.
33560 (libc_cv_as_i686): Likewise.
33561 (libc_cv_sparc_as_vis3): Likewise.
33562 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33564 (config-asflags-i686): Likewise.
33565 (config-cflags-avx): Likewise.
33566 (config-cflags-sse2avx): Likewise.
33567 (have-mfma4): Likewise.
33568 (config-cflags-novzeroupper): Likewise.
33569 * sysdeps/mach/configure.in (MIG): Likewise.
33570 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33571 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33573 (config-cflags-avx): Likewise.
33574 (config-cflags-sse2avx): Likewise.
33575 (have-mfma4): Likewise.
33576 (config-cflags-novzeroupper): Likewise.
33577 * configure: Regenerated.
33578 * sysdeps/i386/configure: Likewise.
33579 * sysdeps/mach/configure: Likewise.
33580 * sysdeps/sparc/configure: Likewise.
33581 * sysdeps/x86_64/configure: Likewise.
33583 2013-03-20 Roland McGrath <roland@hack.frob.com>
33586 * locale/programs/localedef.c (options): Put N_ translation marker
33587 on argument names, not just descriptions.
33589 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33591 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33593 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33596 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33598 2013-03-19 Roland McGrath <roland@hack.frob.com>
33600 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33601 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33602 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33603 [!BEFORE_ABORT] (before_abort): New function.
33604 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33605 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33606 (writev_for_fatal): New function.
33607 (WRITEV_FOR_FATAL): New macro; call that.
33608 (backtrace_and_maps): New function.
33609 (BEFORE_ABORT): New macro; call that.
33610 (struct str_list): Type removed.
33611 (__libc_message, __libc_fatal): Functions removed.
33612 Include <sysdeps/posix/libc_fatal.c> instead.
33614 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33616 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33618 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33621 2013-03-19 Andreas Schwab <schwab@suse.de>
33623 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33624 * sysdeps/gnu/configure: Regenerate.
33626 * configure.in: Substitute libc_cv_rtlddir.
33627 * configure: Regenerate.
33628 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33629 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33630 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33631 * elf/Makefile (install-others, CFLAGS-interp.c)
33632 (ldso_install, common-ldd-rewrite): Likewise.
33633 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33634 $(inst_slibdir)/$(rtld-installed-name).
33635 * scripts/rellns-sh: Add -p option.
33636 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33639 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33641 * manual/nptl.texi: Renamed to ...
33642 * manual/threads.texi: ... this.
33643 * manual/Makefile (chapters): Update.
33645 2013-03-18 Roland McGrath <roland@hack.frob.com>
33648 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33649 on argument names, not just descriptions.
33650 * malloc/memusagestat.c (options): Likewise.
33651 * nss/getent.c (options): Likewise.
33653 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33656 * iconv/iconv_prog.c (options): Put N_ translation marker
33657 on argument names, not just descriptions.
33658 * iconv/iconvconfig.c (options): Likewise.
33660 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33662 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33663 implementation which is faster on all x86_64 architectures.
33664 Tested on AMD, Intel Nehalem, SNB, IVB.
33665 * sysdeps/x86_64/strnlen.S: Likewise.
33667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33668 Remove all multiarch strlen and strnlen versions.
33669 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33670 Remove strlen and strnlen related parts.
33672 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33673 Inline strlen part.
33674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33676 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33677 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33678 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33679 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33680 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33681 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33683 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33685 * manual/memory.texi (Malloc Tunable Parameters):
33686 Sort parameters alphabetically. Add comments for missing entries.
33688 2013-03-17 David S. Miller <davem@davemloft.net>
33690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33692 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33695 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33696 for arguments at most half maximum finite value.
33697 * math/libm-test.inc (j0_test): Add more tests.
33698 (j1_test): Likewise.
33699 (y0_test): Likewise.
33700 (y1_test): Likewise.
33701 * sysdeps/i386/fpu/libm-test-ulps: Update.
33702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33705 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33706 1 / x and functions P and Q for arguments above 0x1p256L.
33707 (__ieee754_y0l): Likewise.
33708 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33709 (__ieee754_y1l): Likewise.
33710 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33711 (j1_test): Likewise.
33712 (y0_test): Likewise.
33713 (y1_test): Likewise.
33715 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33717 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33720 2013-03-15 Roland McGrath <roland@hack.frob.com>
33722 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33723 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33724 zero since it's initialized to EXEC_PAGESIZE.
33726 * sysdeps/unix/sysv/linux/ldsodefs.h
33727 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33728 * sysdeps/generic/ldsodefs.h: ... here.
33730 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33732 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33734 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33736 * math/test-snan.c: Renamed from
33737 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33738 * math/Makefile (tests): Add test-snan.
33739 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33742 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33743 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33745 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33746 __builtin_nan family of functions.
33747 * math/libm-test.inc (initialize): Initialize qnan_value with
33748 __builtin_nan family of functions.
33749 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33751 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33753 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33754 storage class. Initialize qNaN_var and sNaN_var with
33755 __builtin_nan and __builtin_nans families of functions,
33758 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33759 (sqrt_test): Remove duplicate test with qNaN input.
33760 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33761 (round_test, signbit_test, significand_test): Note missing +/-Inf
33762 as well as qNaN tests.
33764 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33765 qNaN_var. Fix a few strings, too.
33766 * math/libm-test.inc (nan_value): Rename to qnan_value.
33767 * math/gen-libm-test.pl (%beautify): Adjust to that.
33768 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33769 * math/test-misc.c (main): Likewise.
33770 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33771 to __qnan_bytes, and __qnan_union, respectively.
33772 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33774 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33775 and lqnanval, respectively.
33776 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33777 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33778 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33779 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33781 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33782 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33785 * math/test-misc.c (main): Fix copy'n'pastos.
33786 * misc/tst-efgcvt.c (special): Likewise.
33788 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33789 Remove declarations.
33791 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33793 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33794 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33795 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33796 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33798 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33800 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33801 macro to return vdso values correctly in IFUNC implementations.
33802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33803 Optimization by using IFUNC.
33805 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33806 Richard Henderson <rth@redhat.com>
33807 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33809 * Makefile.in (bench): New target.
33810 * NEWS: Mention the benchmark framework.
33811 * Rules (bench): Likewise.
33812 (binaries-bench): Generate binaries for functions to
33814 * benchtests/Makefile: New makefile for benchmark tests.
33815 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33817 * benchtests/exp-inputs: New input file for EXP function.
33818 * benchtests/pow-inputs: New input file for POW function.
33819 * scripts/bench.pl: New script to generate source files for
33820 benchmark programs.
33822 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33824 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33825 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33826 computations on mantissa. Use macros for rounding and
33828 (denorm): Likewise.
33829 (__dbl_mp): Likewise.
33830 (add_magnitudes): Likewise.
33831 (sub_magnitudes): Likewise.
33834 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33835 powers of two in terms of TWOPOW macro.
33836 (mp_no): Make type of mantissa as MANTISSA_T.
33837 [!RADIXI]: Define RADIXI.
33838 [!TWO52]: Define TWO52.
33839 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33841 * manual/nptl.texi (cindex): Modify threads to pthreads.
33843 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33845 * sysdeps/x86_64/preconfigure: Regenerated.
33847 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33850 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33852 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33853 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33855 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33856 * math/libm-test.inc (j0_test): Do not allow one spurious
33857 underflow exception.
33858 (y1_test): Likewise.
33860 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33862 * manual/Makefile (chapters): Add nptl.
33863 * manual/debug.texi (Debugging Support): Add link to Threads
33865 * manual/nptl.texi: New file.
33867 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33869 2013-03-14 Petr Baudis <pasky@ucw.cz>
33871 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33872 for non-NULL pointer before the memory validity test. Pointed
33873 out by Holger Brunck <holger.brunck@keymile.com>.
33875 2013-03-13 Andreas Schwab <schwab@suse.de>
33877 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33880 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33882 * timezone/zic.c: Update from tzcode 2013b.
33884 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33886 * manual/install.texi (Configuring and compiling):
33887 Mention i686 and i586.
33888 * INSTALL: Regenerate.
33890 2013-03-12 Roland McGrath <roland@hack.frob.com>
33892 * sysdeps/init_array/elf-init.c: New file.
33894 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33895 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33897 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33898 __gmon_start__ as global, but as static with a .preinit_array pointer.
33899 * sysdeps/init_array/gmon-start.c: New file. Use that.
33900 * sysdeps/init_array/crti.S: New file, empty except for comments.
33901 * sysdeps/init_array/crtn.S: Likewise.
33903 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33905 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33908 Remove Prefer_SSE_for_memop.
33909 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33910 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33911 HAS_PREFER_SSE_FOR_MEMOP.
33912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33915 Remove bzero, memset ifunc support.
33916 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33917 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33918 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33919 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33921 2013-03-11 Andreas Schwab <schwab@suse.de>
33924 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33927 (GLIBC_2.16): Remove pthread_atfork.
33929 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33931 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33932 (ptestcases.h): Likewise.
33934 2013-03-08 Roland McGrath <roland@hack.frob.com>
33936 * Makeconfig ($(common-objpfx)config.status): Depend on
33937 sysdeps/*/preconfigure{,.in} too.
33939 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33941 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33942 (__free_hook): Use void * instead of __malloc_ptr_t.
33943 (__malloc_hook): Likewise.
33944 (__realloc_hook): Likewise.
33945 (__memalign_hook): Likewise.
33946 (__after_morecore_hook): Likewise.
33947 * malloc/arena.c (save_malloc_hook): Likewise.
33948 (save_free_hook): Likewise.
33949 * malloc/hooks.c (malloc_hook_ini): Likewise.
33950 (realloc_hook_ini): Likewise.
33951 (memalign_hook_ini): Likewise.
33952 * malloc/malloc.c (malloc_hook_ini): Likewise.
33953 (realloc_hook_ini): Likewise.
33954 (memalign_hook_ini): Likewise.
33955 (__free_hook): Likewise.
33956 (__malloc_hook): Likewise.
33957 (__realloc_hook): Likewise.
33958 (__memalign_hook): Likewise.
33959 (__libc_malloc): Likewise.
33960 (__libc_free): Likewise.
33961 (__libc_realloc): Likewise.
33962 (__libc_memalign): Likewise.
33963 (__libc_valloc): Likewise.
33964 (__libc_pvalloc): Likewise.
33965 (__libc_calloc): Likewise.
33966 (__posix_memalign): Likewise.
33967 * malloc/morecore.c (__sbrk): Likewise.
33968 (__default_morecore): Likewise.
33970 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33972 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33973 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33974 __malloc_ptrdiff_t.
33976 * malloc/malloc.h (__malloc_size_t): Remove macro.
33977 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33979 (old_memalign_hook): Likewise.
33980 (old_realloc_hook): Likewise.
33981 (struct hdr): Likewise.
33983 (mallochook): Likewise.
33984 (memalignhook): Likewise.
33985 (reallochook): Likewise.
33986 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33987 (tr_old_realloc_hook): Likewise.
33988 (tr_old_memalign_hook): Likewise.
33989 (tr_mallochook): Likewise.
33990 (tr_reallochook): Likewise.
33991 (tr_memalignhook): Likewise.
33993 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33995 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33996 default_ldbl_pack and using as default implementation.
33997 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33999 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34000 redundant definition.
34001 (ldbl_insert_mantissa): Likewise.
34002 (ldbl_canonicalize): Likewise.
34003 (ldbl_nearbyint): Likewise.
34004 (ldbl_pack): Rename to ldbl_pack_ppc.
34005 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34006 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34007 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34009 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34012 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34013 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34014 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34016 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34017 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34018 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34020 2013-03-07 Andreas Jaeger <aj@suse.de>
34022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34025 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34027 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34028 Include mpa.h and declare __MPEXP.
34029 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34030 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34031 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34032 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34033 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34034 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34035 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34037 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34038 (__slowpow): Use long double EXPL and LOGL functions to
34040 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34041 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34042 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34043 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34044 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34045 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34048 intermediate variable to calculate exponent.
34050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34054 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34055 [!NO__SQR]: Define __sqr.
34056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34057 and NO__SQR. Remove all code except __mul and __sqr. Include
34058 sysdeps/ieee754/dbl-64/mpa.c.
34059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34062 * posix/Makefile (tests): Add tst-pathconf.
34063 * posix/tst-pathconf.c: New test case.
34064 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34066 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34068 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34070 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34072 2013-03-06 Andreas Jaeger <aj@suse.de>
34074 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34075 definition via __MAP_ANONYMOUS.
34077 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34078 it's not part of Linux headers.
34080 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34081 (MAP_HUGE_MASK): Define.
34083 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34085 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34088 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34089 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34091 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34092 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34094 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34096 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34097 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34098 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34099 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34100 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34101 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34103 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34106 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34107 Handle f2fs and efivarfs.
34109 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34112 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34113 (EFIVARFS_MAGIC): Add.
34114 (F2FS_LINK_MAX): Add.
34116 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34118 * stdio-common/vfprintf.c: Replace __builtin_expect with
34121 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34124 * sysdeps/generic/bp-sym.h: Remove file.
34125 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34126 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34127 <bp-sym.h> and <bp-asm.h>.
34128 (__longjmp): Don't use BP_SYM.
34129 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34131 (memcpy): Don't use BP_SYM.
34132 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34133 <bp-sym.h> and <bp-asm.h>.
34134 (memcpy): Don't use BP_SYM.
34135 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34137 (memcpy): Don't use BP_SYM.
34138 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34140 (memset): Don't use BP_SYM.
34141 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34142 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34143 (__bzero): Don't use BP_SYM.
34144 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34145 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34146 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34147 <bp-sym.h> and <bp-asm.h>.
34148 (memcmp): Don't use BP_SYM. Remove comment about bounded
34150 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34151 <bp-sym.h> and <bp-asm.h>.
34152 (memcpy): Don't use BP_SYM.
34153 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34154 <bp-sym.h> and <bp-asm.h>.
34155 (memset): Don't use BP_SYM.
34156 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34157 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34158 (__bzero): Don't use BP_SYM.
34159 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34160 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34161 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34162 <bp-sym.h> and <bp-asm.h>.
34163 (strncmp): Don't use BP_SYM. Remove comment about bounded
34165 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34166 <bp-sym.h> and <bp-asm.h>.
34167 (memcpy): Don't use BP_SYM.
34168 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34169 <bp-sym.h> and <bp-asm.h>.
34170 (memset): Don't use BP_SYM.
34171 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34172 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34173 (__bzero): Don't use BP_SYM.
34174 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34175 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34176 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34177 <bp-sym.h> and <bp-asm.h>.
34178 (__memchr): Don't use BP_SYM.
34179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34180 <bp-sym.h> and <bp-asm.h>.
34181 (memcmp): Don't use BP_SYM. Remove comment about bounded
34183 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34184 <bp-sym.h> and <bp-asm.h>.
34185 (memcpy): Don't use BP_SYM.
34186 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34187 <bp-sym.h> and <bp-asm.h>.
34188 (__mempcpy): Don't use BP_SYM.
34189 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34190 <bp-sym.h> and <bp-asm.h>.
34191 (__memrchr): Don't use BP_SYM.
34192 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34193 <bp-sym.h> and <bp-asm.h>.
34194 (memset): Don't use BP_SYM.
34195 (__bzero): Likewise.
34196 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34197 <bp-sym.h> and <bp-asm.h>.
34198 (__rawmemchr): Don't use BP_SYM.
34199 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34200 <bp-sym.h> and <bp-asm.h>.
34201 (__STRCMP): Don't use BP_SYM.
34202 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34203 <bp-sym.h> and <bp-asm.h>.
34204 (strchr): Don't use BP_SYM.
34205 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34206 <bp-sym.h> and <bp-asm.h>.
34207 (__strchrnul): Don't use BP_SYM.
34208 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34209 <bp-sym.h> and <bp-asm.h>.
34210 (strlen): Don't use BP_SYM.
34211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34212 <bp-sym.h> and <bp-asm.h>.
34213 (strncmp): Don't use BP_SYM. Remove comment about bounded
34215 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34216 <bp-sym.h> and <bp-asm.h>.
34217 (__strnlen): Don't use BP_SYM.
34218 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34219 <bp-sym.h> and <bp-asm.h>.
34220 (__GI__setjmp): Don't use BP_SYM.
34221 (_setjmp): Likewise.
34222 (__sigsetjmp): Likewise.
34223 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34224 (L(start_addresses)): Don't use BP_SYM.
34225 (_start): Likewise.
34226 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34228 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34229 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34230 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34231 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34232 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34234 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34235 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34236 about bounded pointers.
34237 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34238 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34239 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34241 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34242 about bounded pointers. Remove GKM FIXME comments.
34243 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34244 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34246 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34247 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
34248 Remove GKM FIXME comments.
34249 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34250 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34251 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34253 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34254 about bounded pointers. Remove GKM FIXME comment.
34255 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34257 (strncmp): Don't use BP_SYM. Remove comment about bounded
34259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34260 <bp-sym.h> and <bp-asm.h>.
34261 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34263 <bp-sym.h> and <bp-asm.h>.
34264 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34267 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34269 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34272 2013-03-05 David S. Miller <davem@davemloft.net>
34274 * po/es.po: Update from translation team.
34276 2013-03-05 Andreas Jaeger <aj@suse.de>
34278 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34279 <bits/mman-linux.h>.
34280 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34282 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34283 <bits/mman-linux.h> to end of file.
34284 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34286 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34287 <bits/mman-linux.h> to end of file.
34288 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34290 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34291 <bits/mman-linux.h> to end of file.
34293 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34294 (MCL_CURRENT, MCL_FUTURE): Define here.
34296 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34299 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34301 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34303 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34305 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34306 fourth parameter needed for rt_sigprocmask syscall.
34307 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34308 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34309 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34310 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34311 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34312 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34314 2013-03-04 Joseph Myers <joseph@codesourcery.com>
34317 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34318 comment about bounded pointers.
34319 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34320 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34322 2013-03-04 Andreas Jaeger <aj@suse.de>
34324 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34325 common definitions.
34327 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34328 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34329 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34330 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34331 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34332 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34334 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34337 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34338 __ieee754_sqrl instead of __sqrl.
34340 2013-03-01 Joseph Myers <joseph@codesourcery.com>
34342 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34343 * sysdeps/powerpc/fpu_control.h: ... here.
34344 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34345 * sysdeps/powerpc/bits/fenvinline.h: ... here.
34346 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34347 * sysdeps/powerpc/bits/mathinline.h: ... here.
34349 2013-03-01 Roland McGrath <roland@hack.frob.com>
34351 * elf/dl-hwcaps.c (_dl_important_hwcaps):
34352 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34353 to just [NEED_DL_SYSINFO_DSO].
34354 * elf/dl-support.c: Likewise.
34355 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34356 * elf/rtld.c (dl_main): Likewise.
34357 * elf/setup-vdso.h (setup_vdso): Likewise.
34358 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34359 * sysdeps/unix/sysv/linux/dl-sysdep.c
34360 (_dl_discover_osversion): Likewise.
34362 2013-03-01 Carlos O'Donell <carlos@redhat.com>
34364 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34365 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34367 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34369 * NEWS: Mention libm performance improvements and non-x86 PI
34372 * csu/libc-start.c (__pthread_initialize_minimal): Change
34373 function arguments.
34374 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34376 2013-02-28 Joseph Myers <joseph@codesourcery.com>
34379 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34380 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34381 <bp-sym.h> and <bp-asm.h>.
34382 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34383 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34385 (memcpy): Don't use BP_SYM.
34386 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34388 (__mpn_add_n): Don't use BP_SYM.
34389 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34390 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34392 (__mpn_addmul_1): Don't use BP_SYM.
34393 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34394 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34396 (_setjmp): Don't use BP_SYM.
34397 (__novmx_setjmp): Likewise.
34398 (__GI__setjmp): Likewise.
34399 (__vmx_setjmp): Likewise.
34400 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34402 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34403 (__bzero): Don't use BP_SYM.
34404 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34405 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34406 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34407 <bp-sym.h> and <bp-asm.h>.
34408 (memcpy): Don't use BP_SYM.
34409 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34410 <bp-sym.h> and <bp-asm.h>.
34411 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34412 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34413 <bp-sym.h> and <bp-asm.h>.
34414 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34415 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34417 (__mpn_lshift): Don't use BP_SYM.
34418 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34419 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34421 (memset): Don't use BP_SYM.
34422 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34423 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34424 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34426 (__mpn_mul_1): Don't use BP_SYM.
34427 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34428 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34429 <bp-sym.h> and <bp-asm.h>.
34430 (memcmp): Don't use BP_SYM.
34431 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34432 <bp-sym.h> and <bp-asm.h>.
34433 (memcpy): Don't use BP_SYM.
34434 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34435 <bp-sym.h> and <bp-asm.h>.
34436 (memset): Don't use BP_SYM.
34437 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34438 <bp-sym.h> and <bp-asm.h>.
34439 (strncmp): Don't use BP_SYM.
34440 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34441 <bp-sym.h> and <bp-asm.h>.
34442 (memcpy): Don't use BP_SYM.
34443 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34444 <bp-sym.h> and <bp-asm.h>.
34445 (memset): Don't use BP_SYM.
34446 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34447 <bp-sym.h> and <bp-asm.h>.
34448 (__memchr): Don't use BP_SYM.
34449 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34450 <bp-sym.h> and <bp-asm.h>.
34451 (memcmp): Don't use BP_SYM.
34452 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34453 <bp-sym.h> and <bp-asm.h>.
34454 (memcpy): Don't use BP_SYM.
34455 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34456 <bp-sym.h> and <bp-asm.h>.
34457 (__mempcpy): Don't use BP_SYM.
34458 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34459 <bp-sym.h> and <bp-asm.h>.
34460 (__memrchr): Don't use BP_SYM.
34461 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34462 <bp-sym.h> and <bp-asm.h>.
34463 (memset): Don't use BP_SYM.
34464 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34465 <bp-sym.h> and <bp-asm.h>.
34466 (__rawmemchr): Don't use BP_SYM.
34467 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34468 <bp-sym.h> and <bp-asm.h>.
34469 (__STRCMP): Don't use BP_SYM.
34470 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34471 <bp-sym.h> and <bp-asm.h>.
34472 (strchr): Don't use BP_SYM.
34473 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34474 <bp-sym.h> and <bp-asm.h>.
34475 (__strchrnul): Don't use BP_SYM.
34476 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34477 <bp-sym.h> and <bp-asm.h>.
34478 (strlen): Don't use BP_SYM.
34479 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34480 <bp-sym.h> and <bp-asm.h>.
34481 (strncmp): Don't use BP_SYM.
34482 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34483 <bp-sym.h> and <bp-asm.h>.
34484 (__strnlen): Don't use BP_SYM.
34485 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34487 (__mpn_rshift): Don't use BP_SYM.
34488 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34489 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34490 <bp-sym.h> and <bp-asm.h>.
34491 (__sigsetjmp): Don't use BP_SYM.
34492 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34493 (L(start_addresses)): Don't use BP_SYM.
34494 (_start): Likewise.
34495 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34497 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34498 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34499 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34500 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34502 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34503 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34504 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34505 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34507 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34509 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34510 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34512 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
34514 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34515 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34516 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34518 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34520 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34522 (strncmp): Don't use BP_SYM,
34523 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34525 (__mpn_sub_n): Don't use BP_SYM.
34526 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34527 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34529 (__mpn_submul_1): Don't use BP_SYM.
34530 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34532 <bp-sym.h> and <bp-asm.h>.
34533 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34535 <bp-sym.h> and <bp-asm.h>.
34536 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34539 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34542 Use ZK to minimize writes to Z.
34543 (sub_magnitudes): Simplify code a bit.
34544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34545 Use ZK to minimize writes to Z.
34546 (sub_magnitudes): Simplify code a bit.
34548 2013-02-27 Roland McGrath <roland@hack.frob.com>
34550 * csu/gmon-start.c: Add special exception to license text.
34552 2013-02-27 Richard Henderson <rth@redhat.com>
34554 * scripts/config.guess: Update from config.git.
34555 * scripts/config.sub: Likewise.
34557 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34559 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34561 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34563 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34565 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34567 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34569 2013-02-26 Roland McGrath <roland@hack.frob.com>
34571 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34572 [$(build-shared = yes].
34574 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34576 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34577 (__mul): Reduce iterations for calculating mantissa.
34579 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34581 (__mpranred): Likewise.
34584 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34585 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34587 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34589 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34590 Define __attribute__.
34592 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34594 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34596 * posix/regex_internal.h (__attribute): Remove.
34597 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34598 (re_string_context_at): Likewise.
34599 (bitset_not): Use __attribute__ and mark function as possibly
34601 (bitset_merge): Likewise.
34602 (bitset_mask): Likewise.
34603 (re_string_char_size_at): Likewise.
34604 (re_string_wchar_at): Likewise.
34605 (re_string_elem_size_at): Likewise.
34607 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34609 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34613 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34617 (denorm): Likewise.
34618 (__dbl_mp): Likewise.
34619 (add_magnitudes): Likewise.
34620 (sub_magnitudes): Likewise.
34624 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34627 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34630 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34634 up changes with default code.
34635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34638 2013-02-24 Allan McRae <allan@archlinux.org>
34640 * manual/socket.texi (The Internet Namespace): Order menu items
34641 to match that in the file.
34643 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34644 node listing of the info page menu.
34646 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34649 * sysdeps/i386/bp-asm.h: Remove file.
34650 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34651 (PARMS): Do not use macros from bp-asm.h.
34655 (__mpn_add_n): Do not use BP_SYM
34656 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34658 (PARMS): Do not use macros from bp-asm.h.
34661 (__mpn_addmul_1): Do not use BP_SYM
34662 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34664 (PARMS): Do not use macros from bp-asm.h.
34665 (SIGMSK): Likewise.
34666 (_setjmp): Likewise. Do not use BP_SYM.
34667 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34669 (PARMS): Do not use macros from bp-asm.h.
34670 (SIGMSK): Likewise.
34671 (setjmp): Likewise. Do not use BP_SYM.
34672 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34674 (PARMS): Do not use macros from bp-asm.h.
34675 (__frexp): Do not use BP_SYM.
34677 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34679 (PARMS): Do not use macros from bp-asm.h.
34680 (__frexpf): Do not use BP_SYM.
34681 (frexpf): Likewise.
34682 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34684 (PARMS): Do not use macros from bp-asm.h.
34685 (__frexpl): Do not use BP_SYM.
34686 (frexpl): Likewise.
34687 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34689 (PARMS): Do not use macros from bp-asm.h.
34690 (__remquo): Do not use BP_SYM.
34691 (remquo): Likewise.
34692 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34694 (PARMS): Do not use macros from bp-asm.h.
34695 (__remquof): Do not use BP_SYM.
34696 (remquof): Likewise.
34697 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34699 (PARMS): Do not use macros from bp-asm.h.
34700 (__remquol): Do not use BP_SYM.
34701 (remquol): Likewise.
34702 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34704 (PARMS): Do not use macros from bp-asm.h.
34707 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34708 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34710 (PARMS): Do not use macros from bp-asm.h.
34711 (strlen): Do not use BP_SYM.
34712 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34714 (PARMS): Do not use macros from bp-asm.h.
34718 (__mpn_add_n): Do not use BP_SYM.
34719 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34721 (PARMS): Do not use macros from bp-asm.h.
34724 (__mpn_addmul_1): Do not use BP_SYM.
34725 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34728 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34730 (PARMS): Do not use macros from bp-asm.h.
34733 (__mpn_lshift): Do not use BP_SYM.
34734 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34736 (PARMS): Do not use macros from bp-asm.h.
34740 (memcpy): Likewise. Do not use BP_SYM.
34741 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34742 libc_hidden_def and weak_alias.
34743 (mempcpy): Do not use BP_SYM in weak_alias.
34744 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34746 (PARMS): Do not use macros from bp-asm.h.
34749 [!BZERO_P] (CHR): Likewise.
34750 (memset): Likewise. Do not use BP_SYM.
34751 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34753 (PARMS): Do not use macros from bp-asm.h.
34756 (__mpn_mul_1): Do not use BP_SYM.
34757 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34759 (PARMS): Do not use macros from bp-asm.h.
34762 (__mpn_rshift): Do not use BP_SYM.
34763 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34765 (PARMS): Do not use macros from bp-asm.h.
34768 (strchr): Likewise. Do not use BP_SYM.
34769 (index): Do not use BP_SYM in weak_alias.
34770 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34772 (PARMS): Do not use macros from bp-asm.h.
34775 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34776 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34778 (PARMS): Do not use macros from bp-asm.h.
34779 (strlen): Do not use BP_SYM.
34780 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34782 (PARMS): Do not use macros from bp-asm.h.
34786 (__mpn_sub_n): Do not use BP_SYM.
34787 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34789 (PARMS): Do not use macros from bp-asm.h.
34792 (__mpn_submul_1): Do not use BP_SYM.
34793 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34795 (PARMS): Do not use macros from bp-asm.h.
34799 (__mpn_add_n): Do not use BP_SYM.
34800 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34803 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34805 (PARMS): Do not use macros from bp-asm.h.
34808 (memcmp): Do not use BP_SYM.
34809 (bcmp): Do not use BP_SYM in weak_alias.
34810 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34812 (PARMS): Do not use macros from bp-asm.h.
34816 (memcpy): Likewise. Do not use BP_SYM.
34817 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34819 (PARMS): Do not use macros from bp-asm.h.
34823 (memmove): Likewise. Do not use BP_SYM.
34824 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34826 (PARMS): Do not use macros from bp-asm.h.
34830 (__mempcpy): Likewise. Do not use BP_SYM.
34831 (mempcpy): Do not use BP_SYM in weak_alias.
34832 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34834 (PARMS): Do not use macros from bp-asm.h.
34837 [!BZERO_P] (CHR): Likewise.
34838 (memset): Likewise. Do not use BP_SYM.
34839 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34841 (PARMS): Do not use macros from bp-asm.h.
34843 (strcmp): Do not use BP_SYM.
34844 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34846 (PARMS): Do not use macros from bp-asm.h.
34849 [USE_AS_STRTOK_R] (SAVE): Likewise.
34850 (FUNCTION): Likewise. Do not use BP_SYM.
34851 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34853 (strtok_r): Likewise.
34854 (__GI___strtok_r): Likewise.
34855 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34856 (PARMS): Do not use macros from bp-asm.h.
34859 (__mpn_lshift): Do not use BP_SYM.
34860 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34861 (PARMS): Do not use macros from bp-asm.h.
34864 (__memchr): Do not use BP_SYM.
34865 (memchr): Do not use BP_SYM in weak_alias.
34866 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34867 (PARMS): Do not use macros from bp-asm.h.
34870 (memcmp): Do not use BP_SYM.
34871 (bcmp): Do not use BP_SYM in weak_alias.
34872 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34873 (PARMS): Do not use macros from bp-asm.h.
34876 (__mpn_mul_1): Do not use BP_SYM.
34877 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34879 (PARMS): Do not use macros from bp-asm.h.
34882 (__rawmemchr): Do not use BP_SYM.
34883 (rawmemchr): Do not use BP_SYM in weak_alias.
34884 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34885 (PARMS): Do not use macros from bp-asm.h.
34888 (__mpn_rshift): Do not use BP_SYM.
34889 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34890 (PARMS): Do not use macros from bp-asm.h.
34891 (SIGMSK): Likewise.
34892 (__sigsetjmp): Likewise. Do not use BP_SYM.
34893 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34894 (_start): Do not use BP_SYM.
34895 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34896 (PARMS): Do not use macros from bp-asm.h.
34899 (__stpcpy): Likewise. Do not use BP_SYM.
34900 (stpcpy): Do not use BP_SYM in weak_alias.
34901 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34903 (PARMS): Do not use macros from bp-asm.h.
34907 (__stpncpy): Likewise. Do not use BP_SYM.
34908 (stpncpy): Do not use BP_SYM in weak_alias.
34909 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34910 (PARMS): Do not use macros from bp-asm.h.
34913 (strchr): Likewise. Do not use BP_SYM.
34914 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34916 (PARMS): Do not use macros from bp-asm.h.
34919 (__strchrnul): Likewise. Do not use BP_SYM.
34920 (strchrnul): Do not use BP_SYM in weak_alias.
34921 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34923 (PARMS): Do not use macros from bp-asm.h.
34925 (strcspn): Do not use BP_SYM.
34926 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34928 (PARMS): Do not use macros from bp-asm.h.
34931 (strpbrk): Likewise. Do not use BP_SYM.
34932 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34934 (PARMS): Do not use macros from bp-asm.h.
34937 (strrchr): Likewise. Do not use BP_SYM.
34938 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34939 (PARMS): Do not use macros from bp-asm.h.
34941 (strspn): Do not use BP_SYM.
34942 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34943 (PARMS): Do not use macros from bp-asm.h.
34947 (FUNCTION): Likewise. Do not use BP_SYM.
34948 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34950 (strtok_r): Likewise.
34951 (__GI___strtok_r): Likewise.
34952 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34953 (PARMS): Do not use macros from bp-asm.h.
34957 (__mpn_sub_n): Do not use BP_SYM.
34958 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34960 (PARMS): Do not use macros from bp-asm.h.
34963 (__mpn_submul_1): Do not use BP_SYM.
34964 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34966 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34968 (PARMS): Do not use macros from bp-asm.h.
34973 (__clone): Do not use BP_SYM.
34974 (clone): Do not use BP_SYM in weak_alias.
34975 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34977 (PARMS): Do not use macros from bp-asm.h.
34979 (__mmap64): Do not use BP_SYM.
34980 (mmap64): Do not use BP_SYM in weak_alias.
34981 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34982 <bp-sym.h> and <bp-asm.h>.
34983 (PARMS): Do not use macros from bp-asm.h.
34984 (__posix_fadvise64_l64): Do not use BP_SYM.
34985 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34986 (PARMS): Do not use macros from bp-asm.h.
34988 (semtimedop): Do not use BP_SYM.
34989 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34992 2013-02-21 Allan McRae <allan@archlinux.org>
34994 * manual/message.texi (Charset conversion in gettext):
34995 Move @end statement to beginning of line.
34997 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35004 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35005 (denorm): Likewise.
35006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35009 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35011 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35012 tail-call to the resolved function if pltexit isn't needed.
35014 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35017 or Y being zero as being unlikely.
35018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35021 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35023 * manual/nss.texi (System Databases and Name Service Switch):
35024 Remove frobnicate @pxref.
35026 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35028 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35029 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35031 2013-02-20 Petr Machata <pmachata@redhat.com>
35033 * elf/elf.h (R_ARM_TARGET1): New macro.
35034 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35035 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35036 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35037 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35038 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35039 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35040 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35041 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35042 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35043 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35044 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35045 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35046 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35047 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35048 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35049 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35050 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35051 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35052 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35053 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35054 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35055 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35056 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35057 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35058 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35059 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35060 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35061 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35062 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35063 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35064 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35065 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35066 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35067 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35068 (R_ARM_THM_GOT_BREL12): Likewise.
35069 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35070 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35071 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35072 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35073 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35074 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35075 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35076 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35077 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35079 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35081 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35082 __attribute_used__ to __attribute__ ((unused)).
35084 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35086 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35089 comment formatting.
35090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35092 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35095 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35097 (ENTER): Remove both macro definitions.
35099 (CHECK_BOUNDS_LOW): Likewise.
35100 (CHECK_BOUNDS_HIGH): Likewise.
35101 (CHECK_BOUNDS_BOTH): Likewise.
35102 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35103 (RETURN_BOUNDED_POINTER): Likewise.
35104 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35105 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35106 (POP_ERRNO_LOCATION_RETURN): Likewise.
35107 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35108 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35109 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35111 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35112 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35113 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35114 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35115 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35116 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35117 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35118 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35119 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35120 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35121 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35122 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35123 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35124 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35126 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35127 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35129 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35130 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35131 * sysdeps/i386/i586/memset.S (memset): Likewise.
35132 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35133 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35134 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35136 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35137 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35138 Change uses of L(2) to L(out).
35139 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35140 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35141 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35142 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35143 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35145 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35146 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35148 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35149 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35150 (RETURN): Do not use macro LEAVE.
35151 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35152 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35153 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35154 * sysdeps/i386/i686/memset.S (memset): Likewise.
35155 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35156 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35157 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35158 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35160 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35161 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35162 L(1_2) and L(1_3) into L(1).
35163 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35164 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35165 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35166 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35167 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35168 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35169 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35170 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35171 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35173 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35174 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35175 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35176 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35177 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35178 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35179 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35180 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35181 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35182 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35183 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35184 * sysdeps/i386/strspn.S (strspn): Likewise.
35185 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35187 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35188 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35189 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35190 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35191 L(1_3) into L(1_1).
35192 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35193 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35194 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35196 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35198 2013-02-19 Jakub Jelinek <jakub@redhat.com>
35200 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35203 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35205 * math/atest-exp.c (exp_mpn): Remove ROUND.
35206 * math/atest-exp2.c (exp_mpn): Likewise.
35207 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35209 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35210 * stdlib/tst-tls-atexit-lib.c: Likewise.
35211 * stdlib/tst-tls-atexit.c: Likewise.
35213 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35215 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35216 and __attribute_alloc_size__.
35218 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35220 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35221 __attribute_alloc_size__.
35222 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35223 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35225 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35227 * include/programs/xmalloc.h: New file.
35228 * catgets/gencat.c: Include it.
35229 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35230 * elf/pldd.c: Likewise.
35231 * iconv/iconv_charmap.c: Likewise.
35232 * iconv/iconvconfig.c: Likewise.
35233 * iconv/strtab.c: Likewise.
35234 * locale/programs/locale.c: Likewise.
35235 * locale/programs/localedef.h: Likewise.
35236 * locale/programs/simple-hash.c: Likewise.
35237 * nscd/nscd.h: Likewise.
35238 * nss/makedb.c: Likewise.
35239 * sysdeps/generic/ldconfig.h: Likewise.
35241 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35243 * Versions.def: Add GLIBC_2.18.
35244 * include/link.h (struct link_map): New member l_tls_dtor_count.
35245 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35246 (__call_tls_dtors): Likewise.
35247 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35248 __cxa_thread_atexit_impl.
35249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35265 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35266 (tests): Add test case tst-tls-atexit.
35267 (modules-names): Add shared library for tst-tls-atexit.
35268 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35269 (GLIBC_PRIVATE): Add __call_tls_dtors.
35270 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35272 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35273 * stdlib/tst-tls-atexit.c: New test case.
35274 * stdlib/tst-tls-atexit-lib.c: New test case.
35276 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35278 * elf/Versions (ld): Add _dl_find_dso_for_object.
35279 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35280 * elf/dl-open.c (_dl_find_dso_for_object): New function.
35281 (dl_open_worker): Use _dl_find_dso_for_object.
35282 * elf/dl-sym.c (do_sym): Likewise.
35283 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35285 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35287 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35288 Syntactic changes only.
35289 (_dl_runtime_profile): Do a tail-call to the resolved function.
35291 2013-02-17 Joseph Myers <joseph@codesourcery.com>
35294 * sysdeps/x86_64/bp-asm.h: Remove file.
35295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35296 <bp-sym.h> and <bp-asm.h>.
35297 (__clone): Do not use BP_SYM.
35298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35299 <bp-sym.h> and <bp-asm.h>.
35300 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35301 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35303 (_setjmp): Do not use BP_SYM.
35304 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35306 (setjmp): Do not use BP_SYM.
35307 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35309 (mempcpy): Do not use BP_SYM in weak_alias.
35310 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35312 (strchr): Do not use BP_SYM.
35313 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35315 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35316 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35317 (_start): Do not use BP_SYM.
35318 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35320 (strcat): Do not use BP_SYM.
35321 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35323 (STRCMP): Do not use BP_SYM.
35324 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35326 (STRCPY): Do not use BP_SYM.
35327 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35329 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35331 (FUNCTION): Do not use BP_SYM.
35332 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35334 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35336 2013-02-17 Andreas Jaeger <aj@suse.de>
35338 * time/Versions: Sort entries.
35339 * string/Versions: Likewise.
35340 * resolv/Versions: Likewise.
35341 * posix/Versions: Likewise.
35342 * iconv/Versions: Likewise.
35343 * elf/Versions: Likewise.
35344 * wcsmbs/Versions: Likewise.
35346 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35348 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35349 loop termination condition.
35351 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35352 variable to calculate EZ.
35355 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35356 the lower precision input.
35358 2013-02-15 Joseph Myers <joseph@codesourcery.com>
35361 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35362 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35363 (run-via-rtld-prefix): Do not handle %-bp tests.
35364 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35365 (all-object-suffixes): Remove .ob.
35366 (bppfx): Remove variable.
35367 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35368 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35369 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35370 [$(build-bounded) = yes] (libtype.ob): Likewise.
35371 * Makerules (elide-routines.ob): Remove variable.
35372 (do-tests-clean): Do not handle *-bp.out.
35373 (common-mostlyclean): Do not handle *-bp and *-bp.out.
35374 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35375 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35376 (tests): Do not include $(tests-bp.out).
35377 (xtests): Do not include $(xtests-bp.out).
35378 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35379 [$(build-bounded) = yes] ($(addprefix
35380 $(objpfx),$(binaries-bounded))): Remove rule.
35381 ($(objpfx)%-bp.out): Remove rule.
35382 * config.make.in (build-bounded): Remove variable.
35383 * crypt/Makefile [$(build-bounded) = yes]
35384 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35385 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35386 append to variable.
35387 [$(build-bounded) = yes] (install-lib): Likewise.
35388 [$(build-bounded) = yes] (generated): Likewise.
35389 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35391 * intl/Makefile [$(build-bounded) = yes]
35392 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35393 * math/Makefile [$(build-bounded) = yes]
35394 ($(tests:%=$(objpfx)%-bp): Likewise.
35395 * misc/Makefile [$(build-bounded) = yes]
35396 ($(objpfx)tst-tsearch-bp): Likewise.
35397 * nptl/Makeconfig (bounded-thread-library): Remove variable.
35398 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35400 * string/Makefile (o-objects.ob): Remove variable.
35401 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35402 (CFLAGS-.ob): Remove variable.
35403 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35404 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35405 both definitions of variable.
35406 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35407 (ASFLAGS-.ob): Remove variable.
35409 2013-02-14 Joseph Myers <joseph@codesourcery.com>
35412 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35413 Remove __BOUNDED_POINTERS__ from condition.
35414 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35415 * string/bits/string2.h [!__NO_STRING_INLINES &&
35416 !__BOUNDED_POINTERS__]: Likewise.
35417 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35419 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35420 Remove conditional code.
35421 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35422 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35423 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35427 * csu/libc-start.c: Do not include <bp-sym.h>.
35428 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35429 * elf/dl-open.c: Do not include <bp-sym.h>.
35430 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35431 * math/fegetenv.c: Do not include <bp-sym.h>.
35432 (fegetenv): Do not use BP_SYM in versioned symbols.
35433 * nptl/sysdeps/pthread/bits/libc-lockP.h
35434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35437 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35439 (__pthread_mutex_destroy): Likewise.
35440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35441 (__pthread_mutex_lock): Likewise.
35442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35443 (__pthread_mutex_trylock): Likewise.
35444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35445 (__pthread_mutex_unlock): Likewise.
35446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35447 (__pthread_mutexattr_init): Likewise.
35448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35449 (__pthread_mutexattr_destroy): Likewise.
35450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35451 (__pthread_mutexattr_settype): Likewise.
35452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35453 (__pthread_rwlock_init): Likewise.
35454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35455 (__pthread_rwlock_destroy): Likewise.
35456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35457 (__pthread_rwlock_rdlock): Likewise.
35458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35459 (__pthread_rwlock_tryrdlock): Likewise.
35460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35461 (__pthread_rwlock_wrlock): Likewise.
35462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35463 (__pthread_rwlock_trywrlock): Likewise.
35464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35465 (__pthread_rwlock_unlock): Likewise.
35466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35467 (__pthread_key_create): Likewise.
35468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35469 (__pthread_setspecific): Likewise.
35470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35471 (__pthread_getspecific): Likewise.
35472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35475 (_pthread_cleanup_push_defer): Likewise.
35476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35477 (_pthread_cleanup_pop_restore): Likewise.
35478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35479 (pthread_setcancelstate): Likewise.
35480 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35482 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35483 (memchr): Do not use BP_SYM in weak_alias.
35484 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35485 (fegetenv): Do not use BP_SYM in versioned symbols.
35486 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35487 (fesetenv): Do not use BP_SYM in versioned symbols.
35488 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35489 (feupdateenv): Do not use BP_SYM in versioned symbols.
35490 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35491 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35492 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35493 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35494 (open64): Do not use BP_SYM in weak_alias.
35495 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35496 (fegetenv): Do not use BP_SYM in versioned symbols.
35497 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35498 (fesetenv): Do not use BP_SYM in versioned symbols.
35499 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35500 (feupdateenv): Do not use BP_SYM in versioned symbols.
35501 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35502 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35503 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35504 (feraiseexcept): Do not use BP_SYM in versioned symbols.
35505 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35506 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35507 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35509 (__libc_start_main): Do not use BP_SYM.
35511 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35514 redundant return line.
35516 (denorm): Likewise.
35517 (dbl_mp): Likewise.
35518 (sub_magnitudes): Likewise.
35524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35526 (denorm): Likewise.
35527 (dbl_mp): Likewise.
35528 (sub_magnitudes): Likewise.
35535 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35537 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35538 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35541 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35542 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35544 of __mul for squares.
35545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35549 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35550 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35552 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35555 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35557 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35558 prototype or function definition. Rename ubp_* variables and
35559 parameters. Remove argv definitions conditional on
35560 [__BOUNDED_POINTERS__].
35561 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35562 * elf/dl-runtime.c (_dl_fixup): Likewise.
35563 * include/set-hooks.h (RUN_HOOK): Likewise.
35564 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35566 * string/strcpy.c (strcpy): Do not use __unbounded.
35567 * sysdeps/generic/frame.h (struct layout): Likewise.
35568 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35569 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35570 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35571 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35572 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35573 (__backtrace): Likewise.
35574 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35576 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35577 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35578 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35580 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35581 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35582 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35583 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35584 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35585 Do not use __unbounded.
35586 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35587 Rename __unboundedrlimits parameter to rlimits in prototype.
35588 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35589 Do not use __unbounded.
35590 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35591 not use __ptrvalue.
35592 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35593 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35594 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35595 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35596 __ptrvalue or __unbounded.
35597 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35598 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35600 (__new_msgctl): Do not use __ptrvalue.
35601 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35603 (__libc_msgrcv): Do not use __ptrvalue.
35604 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35605 startup_info): Do not use __unbounded.
35606 (__libc_start_main): Likewise. Rename ubp_* variables and
35607 parameters. Remove argv definitions conditional on
35608 [__BOUNDED_POINTERS__].
35609 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35611 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35613 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35615 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35617 (__new_shmctl): Do not use __ptrvalue.
35618 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35619 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35621 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35622 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35623 (__libc_sigaction): Likewise.
35624 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35625 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35627 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35629 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35631 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35633 * string/mempcpy.c: Implement by calling memcpy.
35635 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35642 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35643 values in the mantissa.
35645 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35646 minimize writes to Z.
35647 (sub_magnitudes): Simplify code a bit.
35649 2013-02-12 Roland McGrath <roland@hack.frob.com>
35651 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35652 from the message. The linker prefixes all warnings with that already.
35654 2013-02-12 Andreas Schwab <schwab@suse.de>
35657 * posix/regexec.c (extend_buffers): Add parameter min_len.
35658 (check_matching): Pass minimum needed length.
35659 (clean_state_log_if_needed): Likewise.
35660 (get_subexp): Likewise.
35661 * posix/Makefile (tests): Add bug-regex34.
35662 (bug-regex34-ENV): Define.
35663 * posix/bug-regex34.c: New file.
35666 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35667 elements compare against the byte sequence of it, not its name.
35668 * posix/Makefile (tests): Add bug-regex35.
35669 (bug-regex35-ENV): Define.
35670 * posix/bug-regex35.c: New file.
35672 2013-02-11 Tom de Vries <tom@codesourcery.com>
35674 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35676 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35677 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35678 (CHECK_EOL): Add undef.
35680 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35682 * bits/stdlib-bsearch.h: New file.
35683 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35684 * stdlib/stdlib.h: Likewise.
35686 2013-02-11 Roland McGrath <roland@hack.frob.com>
35688 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35689 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35691 * manual/search.texi (Array Search Function): Add missing const in
35693 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35694 declaration to use rlim_t.
35695 (Basic Scheduling Functions): Remove erroneous const from
35696 sched_getparam prototype. Remove erroneous * from
35697 sched_get_priority_max and sched_get_priority_min prototypes.
35698 (Resource Usage): Fix summary @comment on vtimes to refer to
35699 sys/vtimes.h rather than vtimes.h.
35700 Add missing *s in vtimes prototype.
35701 (Limits on Resources): Fix ulimit prototype to return long int.
35702 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35703 prototypes to use long int rather than double.
35704 (BSD Random): Fix initstate and setstate to use char *, not void *.
35705 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35706 prototype to make second argument 'struct aiocb64 *const[]'.
35707 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35708 (Status of AIO Operations): Remove erroneous const in aio_return and
35709 aio_return64 prototypes.
35710 (Synchronizing I/O): Fix sync prototype to return void.
35711 * manual/startup.texi (Suboptions): Remove an erroneous const in
35712 getsubopt prototype.
35713 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35714 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35715 use size_t rather than int.
35716 (Scanning All Users): Likewise for getpwent_r.
35717 (Setting Groups): Add missing const to setgroups prototype.
35718 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35719 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35720 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35721 'const void *' rather than 'const char *'.
35722 (Host Address Functions): Likewise for inet_ntop.
35723 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35724 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35725 ssize_t for return value.
35726 (Sending Data): Likewise for send, sendto, sendmsg.
35727 (Socket Option Functions): Add a missing const in setsockopt prototype.
35728 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35729 use wchar_t for the argument.
35730 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35731 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35733 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35734 double/float/long double for second argument.
35735 Fix return types of significand, significandf, significandl.
35736 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35737 argument in fchmod prototype.
35738 (File Owner): Use uid_t and gid_t in fchown prototype.
35739 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35740 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35741 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35742 use 'const struct dirent **' as argument types to CMP function pointer
35744 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35745 (File Times): Fix summary magic @comment for struct utimbuf and utime
35746 to refer to utime.h, not time.h.
35747 * manual/string.texi (Argz Functions): Add missing const in
35748 argz_extract and argz_next prototypes.
35749 (Finding Tokens in a String): Likewise for basename.
35750 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35751 (Copying and Concatenation): Fix typo in wmemmove prototype.
35752 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35753 (Signal Stack): Remove erroneous const in sigstack prototype.
35754 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35756 (Simple Calendar Time): Likewise for stime.
35757 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35759 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35760 say sys/sysctl.h instead.
35761 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35762 and vsyslog prototypes.
35764 2013-02-11 Tom de Vries <tom@codesourcery.com>
35766 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35769 2013-02-11 Roland McGrath <roland@hack.frob.com>
35771 * misc/sys/mman.h: Fix typo in mremap comment.
35773 2013-02-08 Roland McGrath <roland@hack.frob.com>
35775 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35776 the '\0' terminator.
35778 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35781 * debug/segfault.c: Don't include <bp-checks.h>.
35782 * sysdeps/generic/bp-checks.h: Remove file.
35783 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35784 (__GETDENTS): Don't use CHECK_N.
35785 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35786 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35787 (__getgroups): Don't use CHECK_N.
35788 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35789 (setgroups): Don't use CHECK_N.
35790 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35791 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35792 (__libc_msgrcv): Don't use CHECK_N.
35793 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35794 (__libc_msgsnd): Don't use CHECK_N.
35795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35797 (__libc_pread): Don't use CHECK_N.
35798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35799 include <bp-checks.h>.
35800 (__libc_pread64): Don't use CHECK_N.
35801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35802 include <bp-checks.h>.
35803 (__libc_pwrite): Don't use CHECK_N.
35804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35805 include <bp-checks.h>.
35806 (__libc_pwrite64): Don't use CHECK_N.
35807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35809 (__libc_pread): Don't use CHECK_N.
35810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35811 include <bp-checks.h>.
35812 (__libc_pread64): Don't use CHECK_N.
35813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35814 include <bp-checks.h>.
35815 (__libc_pwrite): Don't use CHECK_N.
35816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35817 include <bp-checks.h>.
35818 (__libc_pwrite64): Don't use CHECK_N.
35819 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35820 (do_pread): Don't use CHECK_N.
35821 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35822 (do_pread64): Don't use CHECK_N.
35823 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35824 (do_pwrite): Don't use CHECK_N.
35825 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35826 (do_pwrite64): Don't use CHECK_N.
35827 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35828 (__libc_readv): Don't use CHECK_N.
35829 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35830 (semop): Don't use CHECK_N.
35831 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35833 (semtimedop): Don't use CHECK_N.
35834 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35835 (__libc_pread): Don't use CHECK_N.
35836 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35838 (__libc_pread64): Don't use CHECK_N.
35839 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35841 (__libc_pwrite): Don't use CHECK_N.
35842 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35844 (__libc_pwrite64): Don't use CHECK_N.
35845 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35847 (__libc_msgrcv): Don't use CHECK_N.
35848 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35849 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35850 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35851 (__libc_writev): Don't use CHECK_N.
35853 2013-02-08 Roland McGrath <roland@hack.frob.com>
35855 * string/strcpy.c: Removed unused variable.
35857 * Makeconfig (+sysdep-includes): Define with := rather than =.
35858 Use an existing include/ subdir of each sysdeps dir before it.
35860 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35862 * nscd/connection.c (register_traced_file): Comment function.
35863 [HAVE_INOTIFY] (union __inev): Define.
35864 [HAVE_INOTIFY] (inotify_check_files): New function.
35865 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35866 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35868 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35870 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35872 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35873 loaded if not already and that a failure is permanent.
35875 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35878 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35879 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35881 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35884 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35885 (CHECK_1_NULL_OK): Likewise.
35886 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35887 (__fxstat): Do not use CHECK_1.
35888 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35890 (___fxstat64): Do not use CHECK_1.
35891 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35893 (__fxstatat): Do not use CHECK_1.
35894 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35896 (__fxstatat64): Do not use CHECK_1.
35897 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35899 (__fxstat): Do not use CHECK_1.
35900 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35902 (__fxstatat): Do not use CHECK_1.
35903 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35905 (__getresgid): Do not use CHECK_1.
35906 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35908 (__getresuid): Do not use CHECK_1.
35909 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35911 (__lxstat): Do not use CHECK_1.
35912 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35914 (__old_msgctl): Do not use CHECK_1.
35915 (__new_msgctl): Likewise.
35916 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35918 (__new_setrlimit): Do not use CHECK_1.
35919 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35921 (__old_shmctl): Do not use CHECK_1.
35922 (__new_shmctl): Likewise.
35923 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35925 (__xstat): Do not use CHECK_1.
35926 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35927 (__lxstat): Do not use CHECK_1.
35928 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35930 (___lxstat64): Do not use CHECK_1.
35931 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35932 (__old_msgctl): Do not use CHECK_1.
35933 (__new_msgctl): Likewise.
35934 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35936 (__gettimeofday): Do not use CHECK_1.
35937 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35938 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35939 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35941 (__gettimeofday): Do not use CHECK_1.
35942 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35943 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35944 (__new_shmctl): Do not use CHECK_1.
35945 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35947 (do_sigtimedwait): Do not use CHECK_1.
35948 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35950 (do_sigwaitinfo): Do not use CHECK_1.
35951 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35953 (msgctl): Do not use CHECK_1.
35954 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35956 (shmctl): Do not use CHECK_1.
35957 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35958 (ustat): Do not use CHECK_1.
35959 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35961 (__fxstat): Do not use CHECK_1.
35962 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35964 (__fxstatat): Do not use CHECK_1.
35965 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35967 (__lxstat): Do not use CHECK_1.
35968 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35970 (__xstat): Do not use CHECK_1.
35971 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35972 (__xstat): Do not use CHECK_1.
35973 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35974 (___xstat64): Do not use CHECK_1.
35977 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35979 (CHECK_BOUNDS_HIGH): Likewise.
35980 * string/strcpy.c: Do not include <bp-checks.h>.
35981 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35983 2013-02-07 Roland McGrath <roland@hack.frob.com>
35985 * nscd/nscd-client.h (__nscd_drop_map_ref):
35986 Add __attribute__ ((unused)).
35987 * nis/nss-nisplus.h (niserr2nss): Likewise.
35989 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35990 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35992 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35993 Remove inline keyword.
35994 * include/rounding-mode.h (round_away): Likewise.
35995 * libio/wfileops.c (adjust_wide_data): Likewise.
35996 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35997 (__m128i_strloadu_tolower): Likewise.
35998 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35999 (__m128i_strloadu_tolower): Likewise.
36000 * time/mktime.c (ydhms_diff): Likewise.
36001 * locale/elem-hash.h (elem_hash): Likewise.
36002 * locale/setlocale.c (setdata): Likewise.
36003 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36004 (re_string_wchar_at): Likewise.
36005 (bitset_not, bitset_merge, bitset_mask): Likewise.
36006 [!(__GNUC__ > 3)] (inline): Remove macro.
36007 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36008 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36009 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36010 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36011 * string/memcmp.c (memcmp_bytes): Likewise.
36012 * locale/programs/locarchive.c (compute_hashval): Likewise.
36013 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36014 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36015 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36016 * nss/getent.c (print_rpc, print_protocols): Likewise.
36017 (print_passwd, print_group, print_aliases): Likewise.
36018 * nis/nss-nisplus.h (niserr2nss): Likewise.
36019 * nscd/connections.c (restart_p): Likewise.
36020 Change return type to bool.
36022 2013-02-05 Roland McGrath <roland@hack.frob.com>
36024 * Makeconfig (all-Depend-files): Add existing
36025 $(sorted-subdirs:=/Depend) files.
36026 (all-subdirs): Remove nss.
36027 * sysdeps/unix/inet/Subdirs: Add it here instead.
36028 * hesiod/Depend: New file.
36030 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36031 instead of calling alloca.
36033 * io/lseek.c (__lseek): Rename to __libc_lseek.
36034 Define __lseek as an alias.
36036 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36038 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36040 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36041 else clause and remove check for non-standard endianness.
36043 2013-02-04 David S. Miller <davem@davemloft.net>
36045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36047 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36050 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36051 (__ubp_memchr): Remove prototype.
36052 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36053 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36054 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36055 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36056 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36058 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36059 (__ubp_memchr): Likewise.
36060 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36061 (__ubp_memchr): Likewise.
36062 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36063 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36064 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36065 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36067 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36068 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36069 (__getcwd): Do not use CHECK_STRING.
36070 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36072 (__real_chown): Do not use CHECK_STRING.
36073 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36075 (fchownat): Do not use CHECK_STRING.
36076 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36078 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36080 (__lchown): Do not use CHECK_STRING.
36081 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36082 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36083 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36084 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36086 include <bp-checks.h>.
36087 (truncate64): Do not use CHECK_STRING.
36088 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36090 (__real_chown): Do not use CHECK_STRING.
36091 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36093 (__lchown): Do not use CHECK_STRING.
36094 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36096 (__chown): Do not use CHECK_STRING.
36097 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36099 (truncate64): Do not use CHECK_STRING.
36100 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36102 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36103 (__xmknod): Do not use CHECK_STRING.
36104 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36106 (__xmknodat): Do not use CHECK_STRING.
36107 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36108 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36110 2013-02-04 Andreas Schwab <schwab@suse.de>
36113 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36114 * include/netdb.h: Likewise for h_errno.
36115 * elf/tst-stackguard1.c: Include <tls.h>.
36117 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36119 * elf/link.h (struct link_map): Extend the l_addr comment.
36120 * include/link.h (struct link_map): Likewise.
36122 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36125 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36126 (BOUNDED_1): Remove macro.
36127 * debug/backtrace.c: Don't include <bp-checks.h>.
36128 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36129 (__backtrace): Likewise.
36130 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36132 (__backtrace): Don't use BOUNDED_1.
36133 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36135 (__backtrace): Don't use BOUNDED_1.
36136 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36137 (__backtrace): Don't use BOUNDED_1.
36138 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36139 (shmat): Don't use BOUNDED_N.
36141 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36144 * sysdeps/generic/bp-start.h: Remove file.
36145 * csu/libc-start.c: Don't include <bp-start.h>.
36146 (LIBC_START_MAIN): Set up __environ directly instead of using
36147 INIT_ARGV_and_ENVIRON.
36148 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36152 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36154 (CHECK_FCNTL): Likewise.
36155 (CHECK_N_PAGES): Likewise.
36158 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36160 (CHECK_SIGSET_NULL_OK): Likewise.
36161 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36163 (sigpending): Don't use CHECK_SIGSET.
36164 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36166 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36167 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36169 (do_sigsuspend): Don't use CHECK_SIGSET.
36170 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36172 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36173 (do_sigwait): Don't use CHECK_SIGSET.
36174 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36176 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36177 include <bp-checks.h>.
36178 (sigpending): Don't use CHECK_SIGSET.
36179 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36180 include <bp-checks.h>.
36181 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36182 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36184 (sigpending): Don't use CHECK_SIGSET.
36185 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36187 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36190 * sysdeps/generic/bp-semctl.h: Remove file.
36191 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36192 <bp-checks.h> and <bp-semctl.h>.
36193 (__old_semctl): Don't use CHECK_SEMCTL.
36194 (__new_semctl): Likewise.
36195 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36197 (__old_semctl): Don't use CHECK_SEMCTL.
36198 (__new_semctl): Likewise.
36199 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36200 <bp-checks.h> and <bp-semctl.h>.
36201 (__old_semctl): Don't use CHECK_SEMCTL.
36202 (__new_semctl): Likewise.
36203 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36204 <bp-checks.h> and <bp-semctl.h>.
36205 (semctl): Don't use CHECK_SEMCTL.
36208 * Makerules (elide-bp-thunks): Remove variable.
36209 (elide-routines.oS): Don't use $(elide-bp-thunks).
36210 (elide-routines.os): Likewise.
36211 (elide-routines.o): Likewise.
36212 (elide-routines.op): Likewise.
36213 (elide-routines.og): Likewise.
36214 (objects): Don't use $(bp-thunks).
36215 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36217 (common-generated): Do not add s-proto-bp.d.
36218 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36221 Do not generate makefile rules for bounded-pointer thunks.
36222 * sysdeps/generic/bp-thunks.h: Remove file.
36223 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36224 * sysdeps/unix/s-proto-bp.S: Likewise.
36227 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36228 parts of result separately when argument is not close to line from
36229 -i to i and one part of argument is small.
36230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36232 * math/libm-test.inc (cacos_test): Add more tests.
36233 (casin_test): Likewise.
36234 (casinh_test): Likewise.
36235 * sysdeps/i386/fpu/libm-test-ulps: Update.
36236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36238 2013-01-31 David S. Miller <davem@davemloft.net>
36240 * po/de.po: Update from translation team.
36242 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
36244 * time/tzfile.c: Include stdint.h for SIZE_MAX.
36246 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
36248 * configure.in (_AC_PROG_CC_C89): New definition.
36249 * configure: Regenerate.
36251 * configure.in (AC_PROG_CPP): New definition.
36252 * configure: Regenerate.
36254 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36256 * debug/tst-backtrace.h: New file.
36257 * debug/tst-backtrace2.c: Include tst-backtrace.h.
36258 (ret): Remove variable.
36260 (FAIL): Remove macro.
36261 (NO_INLINE): Likewise.
36262 (fn1): Use match function instead of strstr.
36263 * debug/tst-backtrace3.c: Include tst-backtrace.h.
36264 (ret): Remove variable.
36266 (FAIL): Remove macro.
36267 (NO_INLINE): Likewise.
36268 (fn): Use match function instead of strstr.
36269 * debug/tst-backtrace4.c: Include tst-backtrace.h.
36270 (ret): Remove variable.
36272 (FAIL): Remove macro.
36273 (NO_INLINE): Likewise.
36274 (handle_signal): Use match function instead of strstr.
36275 * debug/tst-backtrace5.c: Include tst-backtrace.h.
36276 (ret): Remove variable.
36278 (FAIL): Remove macro.
36279 (NO_INLINE): Likewise.
36280 (handle_signal): Use match function instead of strstr.
36282 2013-01-23 Roland McGrath <roland@hack.frob.com>
36284 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36286 2013-01-23 David S. Miller <davem@davemloft.net>
36288 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36289 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36290 argument of CAS if possible.
36291 * sysdeps/sparc/sparc64/bits/atomic.h
36292 (__arch_compare_and_exchange_val_32_acq): Likewise.
36293 (__arch_compare_and_exchange_val_64_acq): Likewise.
36295 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
36297 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36298 * sysdeps/posix/ulimit.c: ... this.
36299 Include <limits.h>.
36300 * sysdeps/unix/bsd/ulimit.c: Remove file.
36302 2013-01-23 Adam Conrad <adconrad@0c3.net>
36304 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36305 (LDFLAGS-tst-array5): Likewise.
36307 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36310 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36311 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36312 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36313 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36315 2013-01-21 David S. Miller <davem@davemloft.net>
36317 * sysdeps/sparc/backtrace.c: New file.
36318 * sysdeps/sparc/sparc32/backtrace.h: New file.
36319 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36320 * sysdeps/sparc/sparc64/backtrace.h: New file.
36321 * sysdeps/sparc/sparc64/backtrace.c: Delete.
36322 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36325 2013-01-21 Andreas Schwab <schwab@suse.de>
36328 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36331 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36337 2013-01-18 Joseph Myers <joseph@codesourcery.com>
36338 Mark Mitchell <mark@codesourcery.com>
36339 Tom de Vries <tom@codesourcery.com>
36340 Paul Pluzhnikov <ppluzhnikov@google.com>
36342 * debug/tst-backtrace2.c: New file.
36343 * debug/tst-backtrace3.c: Likewise.
36344 * debug/tst-backtrace4.c: Likewise.
36345 * debug/tst-backtrace5.c: Likewise.
36346 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36347 (CFLAGS-tst-backtrace3.c): Likewise.
36348 (CFLAGS-tst-backtrace4.c): Likewise.
36349 (CFLAGS-tst-backtrace5.c): Likewise.
36350 (LDFLAGS-tst-backtrace2): Likewise.
36351 (LDFLAGS-tst-backtrace3): Likewise.
36352 (LDFLAGS-tst-backtrace4): Likewise.
36353 (LDFLAGS-tst-backtrace5): Likewise.
36354 (tests): Add new tests tst-backtrace2, tst-backtrace3,
36355 tst-backtrace4 and tst-backtrace5.
36357 2013-01-18 Anton Blanchard <anton@samba.org>
36358 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36360 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36361 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36362 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36363 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36365 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36366 "+r" and remove output regs list as redundant. Add explicit inline
36367 asm to specify register of return val to work around compiler codegen
36368 bug. Remove (int) cast on return value. Add return type parameter to
36369 use in macro so that this macro does not truncate return value for
36371 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36372 pass to INTERNAL_VSYSCALL_NCS.
36373 (INLINE_VSYSCALL): Add 'long int' as return type to
36374 INTERNAL_VSYSCALL_NCS macro invocation.
36375 (INTERNAL_VSYSCALL): Add 'long int' as return type to
36376 INTERNAL_VSYSCALL_NCS macro invocation.
36377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36379 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36382 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36383 Fix application of SIMD FP exception mask.
36385 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36386 mp_no from a power of two.
36387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36388 __mpexp_twomm1. Use __pow_mp.
36390 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36393 2013-01-17 David S. Miller <davem@davemloft.net>
36395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36397 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36400 * include/complex.h: Condition contents on [!_COMPLEX_H].
36401 (__kernel_casinhf): New prototype.
36402 (__kernel_casinh): Likewise.
36403 (__kernel_casinhl): Likewise.
36404 * math/Makefile (libm_calls): Add k_casinh.
36405 * math/k_casinh.c: New file.
36406 * math/k_casinhf.c: Likewise.
36407 * math/k_casinhl.c: Likewise.
36408 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36409 finite nonzero arguments.
36410 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36411 finite nonzero arguments.
36412 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36413 finite nonzero arguments.
36414 * math/s_casinh.c: Do not include <float.h>.
36415 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36416 * math/s_casinhf.c: Do not include <float.h>.
36417 (__casinhf): Move code for finite nonzero arguments to
36419 * math/s_casinhl.c: Do not include <float.h>.
36420 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36422 (__casinhl): Move code for finite nonzero arguments to
36424 * math/libm-test.inc (cacos_test): Add more tests.
36425 * sysdeps/i386/fpu/libm-test-ulps: Update.
36426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36428 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
36430 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36431 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36432 [!HAVE_MREMAP]: Remove [defined linux] case.
36433 * malloc/arena.c: Do not include <malloc-sysdep.h>.
36435 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36437 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36439 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
36441 * elf/elf.h (R_386_SIZE32): New relocation.
36442 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36444 (elf_machine_rela): Likewise.
36445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36446 R_X86_64_SIZE64 and R_X86_64_SIZE32.
36448 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36450 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36451 (FP_FAST_FMA): Do not define.
36452 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36453 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36454 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36455 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36456 !_SOFT_FLOAT]: Likewise.
36457 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36458 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36460 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36461 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36462 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36463 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36464 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36465 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36468 2013-01-16 Andreas Schwab <schwab@suse.de>
36471 * include/stdlib.h (__mktemp): Add declaration.
36472 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36473 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36475 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36477 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36479 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36480 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36481 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36483 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36484 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36486 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36488 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36489 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36490 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36492 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36493 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36495 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36497 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36499 2013-01-15 David S. Miller <davem@davemloft.net>
36501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36502 trunc{,f} to libm-sysdep_routes.
36503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36513 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36514 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36515 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36516 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36517 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36518 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36521 nearbyint{,f} to libm-sysdep_routes.
36522 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36533 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36536 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36538 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36539 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36540 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36542 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36543 libc_feholdexcept and libc_fesetenv.
36545 2013-01-15 Mike Frysinger <vapier@gentoo.org>
36547 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36549 2013-01-14 David S. Miller <davem@davemloft.net>
36551 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36552 (SPARC_ASM_VIS2_IFUNC): Likewise.
36553 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36555 use of 'siam' instruction.
36556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36589 routines to libm-sysdep_routines.
36590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36593 fdim/fdimf to libm-sysdep_routines.
36594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36602 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36603 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36604 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36605 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36607 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36609 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36610 to optimize copies.
36612 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36617 local variable MPTWO.
36618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36621 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36623 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36626 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36628 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36630 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36632 * manual/pattern.texi (glob_t): Document gl_flags.
36633 (glob64_t): Likewise.
36635 2013-01-11 David S. Miller <davem@davemloft.net>
36637 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36638 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36639 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36640 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36641 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36642 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36643 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36644 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36645 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36646 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36647 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36648 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36649 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36651 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36652 sparc V9 rather than using V8 code.
36653 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36654 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36656 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36658 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36661 2013-01-11 Roland McGrath <roland@hack.frob.com>
36663 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36664 not in the main loop.
36665 * configure: Regenerated.
36667 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36669 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36670 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36672 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36673 [!__GLIBC_HAVE_LONG_LONG] case.
36674 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36675 condition to just #else.
36676 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36677 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36678 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36679 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36681 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36682 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36683 #elif condition to just #else.
36684 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36685 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36686 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36687 #elif condition to just #else.
36689 2013-01-11 Steve Ellcey <sellcey@mips.com>
36691 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36692 (EF_MIPS_ARCH_64): Fix value.
36693 (EF_MIPS_ARCH_32R2): New.
36694 (EF_MIPS_ARCH_64R2): New.
36696 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36698 * Makeconfig (+link-pie-before-libc): New.
36699 (+link-pie-after-libc): Likewise.
36700 (+link-pie-tests): Likewise.
36701 (+link-pie): Rewritten.
36702 (link-before-libc): Remove $(config-LDFLAGS).
36703 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36704 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36705 (config-LDFLAGS): Renamed to ...
36706 (rtld-LDFLAGS): This.
36707 (rtld-tests-LDFLAGS): New macro.
36708 (link-libc-rpath-link): Likewise.
36709 (link-libc-tests-rpath-link): Likewise.
36710 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36711 (link-libc): Prepand $(link-libc-rpath-link).
36712 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36713 (test-program-prefix): New macro.
36714 (test-via-rtld-prefix): Likewise.
36715 (test-program-cmd): Likewise.
36716 (host-test-program-cmd): Likewise.
36717 * Makefile ($(common-objpfx)testrun.sh): Replace
36718 $(run-program-prefix) with $(test-program-prefix).
36719 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36721 ($(common-objpfx)shlib.lds): Likewise.
36722 (build-module-helper): Likewise.
36723 ($(common-objpfx)format.lds): Likewise.
36724 * Rules (binaries-pie-tests): New.
36725 (binaries-pie-notests): Likewise.
36726 (binaries-pie): Rewritten.
36727 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36728 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36729 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36730 (make-test-out): Replace $(host-built-program-cmd) with
36731 $(host-test-program-cmd).
36732 * config.make.in (build-hardcoded-path-in-tests): New variable.
36733 * configure.in (--enable-hardcoded-path-in-tests): New configure
36735 (hardcoded_path_in_tests): New AC_SUBST.
36736 * configure: Regenerated.
36737 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36738 $(built-program-cmd) with $(test-program-cmd).
36739 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36740 (test_program_cmd): This.
36741 * elf/Makefile ($(objpfx)order.out): Run test with
36742 $(test-program-prefix).
36743 ($(objpfx)order2.out): Likewise.
36744 ($(objpfx)tst-initorder.out): Likewise.
36745 ($(objpfx)tst-initorder2.out): Likewise.
36746 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36747 $(test-program-cmd).
36748 ($(objpfx)tst-array1-static.out): Likewise.
36749 ($(objpfx)tst-array2.out): Likewise.
36750 ($(objpfx)tst-array3.out): Likewise.
36751 ($(objpfx)tst-array4.out): Likewise.
36752 ($(objpfx)tst-array5.out): Likewise.
36753 ($(objpfx)tst-array5-static.out): Likewise.
36754 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36755 $(test-program-cmd).
36756 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36757 $(run-program-prefix) with $(test-program-prefix).
36758 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36759 (test_program_prefix): This.
36760 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36761 $(run-program-prefix) with $(test-program-prefix).
36762 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36763 (test_program_prefix): This.
36764 * iconvdata/tst-tables.sh: Likewise.
36765 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36766 $(run-program-prefix) with $(test-program-prefix).
36767 ($(objpfx)tst-translit.out): Likewise.
36768 ($(objpfx)tst-gettext2.out): Likewise.
36769 ($(objpfx)tst-gettext4.out): Likewise.
36770 ($(objpfx)tst-gettext6.out): Likewise.
36771 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36772 (test_program_prefix): This.
36773 * intl/tst-gettext2.sh: Likewise.
36774 * intl/tst-gettext4.sh Likewise.
36775 * intl/tst-gettext6.sh: Likewise.
36776 * intl/tst-translit.sh: Likewise.
36777 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36778 with $(test-program-cmd).
36779 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36780 $(run-program-prefix) with $(test-program-prefix).
36781 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36782 (test_program_prefix): This.
36783 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36784 $(run-program-prefix) with $(test-program-prefix).
36785 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36786 (test_program_prefix): This.
36787 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36788 * posix/Makefile ($(objpfx)globtest.out): Replace
36789 $(run-via-rtld-prefix) and $(test-wrapper) with
36790 $(test-program-prefix) and $(test-via-rtld-prefix).
36791 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36792 $(test-program-prefix).
36793 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36794 $(host-test-program-cmd).
36795 (tst-spawn-ARGS): Likewise.
36796 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36797 $(test-program-prefix).
36798 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36799 (test_via_rtld_prefix): This.
36800 (test_wrapper): Renamed to ...
36801 (test_program_prefix): This.
36802 (run_program_prefix): Replaced by test_program_prefix.
36803 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36804 (test_program_prefix): This.
36805 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36806 with $(host-test-program-cmd).
36807 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36808 $(run-program-prefix) with $(test-program-prefix).
36809 ($(objpfx)tst-printf.out): Likewise.
36810 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36811 $(test-program-cmd).
36812 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36813 (test_program_prefix): This.
36814 * stdio-common/tst-unbputc.sh: Likewise.
36815 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36816 $(run-program-prefix) with $(test-program-prefix).
36817 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36818 (test_program_prefix): This.
36819 * string/Makefile ($(objpfx)tst-svc.out): Replace
36820 $(built-program-cmd) with $(test-program-cmd).
36822 2013-01-11 Andreas Jaeger <aj@suse.de>
36825 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36826 value. Sync with Linux 3.7.
36828 2013-01-10 David S. Miller <davem@davemloft.net>
36830 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36831 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36832 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36834 2013-01-10 Roland McGrath <roland@hack.frob.com>
36836 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36838 * configure: Regenerated.
36840 2013-01-10 David S. Miller <davem@davemloft.net>
36842 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36843 sparc V9 rather than using V8 code.
36844 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36845 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36847 2013-01-10 Roland McGrath <roland@hack.frob.com>
36849 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36850 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36851 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36852 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36853 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36854 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36855 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36856 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36857 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36858 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36859 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36860 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36861 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36862 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36863 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36864 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36865 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36866 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36867 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36868 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36869 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36870 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36871 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36872 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36873 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36874 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36875 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36877 2013-01-10 David S. Miller <davem@davemloft.net>
36879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36881 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36883 * posix/Makefile (tests-static): New variable.
36884 (tests): Add $(tests-static).
36885 (tst-exec-static-ARGS): New variable.
36886 (tst-spawn-static-ARGS): Likewise.
36887 * posix/tst-exec-static.c: New file.
36888 * posix/tst-spawn-static.c: Likewise.
36889 * posix/tst-exec.c: Support run directly.
36890 * posix/tst-spawn.c: Likewise.
36892 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36894 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36896 * math/bits/mathcalls.h (llrint): Likewise.
36897 (llround): Likewise.
36898 * stdlib/stdlib.h (struct drand48_data): Likewise.
36899 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36900 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36901 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36903 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36905 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36906 (elf_greg_t): Likewise.
36907 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36908 (__jmp_buf): Likewise.
36909 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36911 (llrint): Likewise, for all definitions.
36912 (llrintl): Likewise.
36914 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36915 Remove [__GNUC__] condition.
36916 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36917 condition to just [__USE_ISOC99].
36918 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36920 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36923 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36924 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36926 (_POSIX_V6_ILP32_OFF32): Likewise.
36927 (_XBS5_ILP32_OFF32): Likewise.
36928 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36929 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36931 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36933 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36936 doubles __mpexp_twomm1. Adjust usage.
36937 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36940 2013-01-10 Andreas Schwab <schwab@suse.de>
36943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36944 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36946 2013-01-09 David S. Miller <davem@davemloft.net>
36949 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36950 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36951 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36952 (TCP_FASTOPEN): Define.
36953 (tcp_repair_opt): New structure.
36954 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36956 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36957 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36958 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36959 (tcp_cookie_transactions): New structure.
36961 2013-01-09 Anton Blanchard <anton@samba.org>
36963 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36964 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36965 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36966 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36968 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36970 * include/features.h (__USE_ANSI): Remove.
36972 2013-01-09 Roland McGrath <roland@hack.frob.com>
36974 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36976 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36978 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36980 * sysdeps/s390/fpu/libm-test-ulps: Update.
36982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36984 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36988 (denorm): Likewise.
36989 (__mp_dbl): Likewise.
36990 (__dbl_mp): Likewise.
36991 (add_magnitudes): Likewise.
36992 (sub_magnitudes): Likewise.
36998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37002 (denorm): Likewise.
37003 (__mp_dbl): Likewise.
37004 (__dbl_mp): Likewise.
37005 (add_magnitudes): Likewise.
37006 (sub_magnitudes): Likewise.
37012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37016 (denorm): Likewise.
37017 (__mp_dbl): Likewise.
37018 (__dbl_mp): Likewise.
37019 (add_magnitudes): Likewise.
37020 (sub_magnitudes): Likewise.
37027 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37029 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37030 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37031 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37032 2 && __USE_EXTERN_INLINES]: Likewise.
37034 2013-01-08 Andreas Jaeger <aj@suse.de>
37037 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37039 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37040 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37042 2013-01-07 Anton Blanchard <anton@samba.org>
37044 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37045 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37046 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37047 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37048 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37049 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37050 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37051 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37053 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37054 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37055 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37056 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37058 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37059 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37060 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37061 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37062 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37063 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37064 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37065 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37066 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37067 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37068 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37069 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37070 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37071 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37073 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37074 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37076 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37077 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37078 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37079 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37080 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37081 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37083 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37084 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37086 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37088 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37090 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37091 (__MALLOC_PMT): Likewise.
37092 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37093 [__GNUC__], only on [_LIBC].
37094 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37095 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37096 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37097 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37098 forward declaration.
37099 (realloc_hook_ini): Likewise.
37100 (memalign_hook_ini): Likewise.
37101 (__libc_memalign): Do not use __MALLOC_PMT in variable
37103 (__libc_valloc): Likewise.
37104 (__libc_pvalloc): Likewise.
37105 (__libc_calloc): Likewise.
37106 (__posix_memalign): Likewise.
37109 * math/s_casinh.c: Include <float.h>.
37110 (__casinh): Do not do computation with squaring and square root
37111 for large arguments.
37112 * math/s_casinhf.c: Include <float.h>.
37113 (__casinhf): Do not do computation with squaring and square root
37114 for large arguments.
37115 * math/s_casinhl.c: Include <float.h>.
37116 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37117 (__casinhl): Do not do computation with squaring and square root
37118 for large arguments.
37119 * math/libm-test.inc (casin_test): Add more tests.
37120 (casinh_test): Likewise.
37121 * sysdeps/i386/fpu/libm-test-ulps: Update.
37122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37124 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37126 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37127 (__x86_64_raw_data_cache_size): Likewise.
37128 (__x86_64_data_cache_size_half): Likewise.
37129 (__x86_64_raw_data_cache_size_half): Likewise.
37130 (__x86_64_shared_cache_size): Likewise.
37131 (__x86_64_raw_shared_cache_size): Likewise.
37132 (__x86_64_shared_cache_size_half): Likewise.
37133 (__x86_64_raw_shared_cache_size_half): Likewise.
37134 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37136 (__x86_data_cache_size): This.
37137 (__x86_64_raw_data_cache_size): Renamed to ...
37138 (__x86_raw_data_cache_size): This.
37139 (__x86_64_data_cache_size_half): Renamed to ...
37140 (__x86_data_cache_size_half): This.
37141 (__x86_64_raw_data_cache_size_half): Renamed to ...
37142 (__x86_raw_data_cache_size_half): This.
37143 (__x86_64_shared_cache_size): Renamed to ...
37144 (__x86_shared_cache_size): This.
37145 (__x86_64_raw_shared_cache_size): Renamed to ...
37146 (__x86_raw_shared_cache_size): This.
37147 (__x86_64_shared_cache_size_half): Renamed to ...
37148 (__x86_shared_cache_size_half): This.
37149 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37150 (__x86_raw_shared_cache_size_half): This.
37151 * sysdeps/x86_64/memcpy.S: Updated.
37152 * sysdeps/x86_64/memset.S: Likewise.
37153 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37154 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37155 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37157 2013-01-04 David S. Miller <davem@davemloft.net>
37159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37161 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37163 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37164 1 to avoid redefinition warning.
37165 (__USE_GNU): Don't define.
37166 (init_signaling_nan): Protoize.
37168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37170 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37172 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37174 (__cpymn): Likewise.
37175 (norm): Remove commented code.
37176 (denorm): Likewise.
37177 (__mp_dbl): Likewise.
37179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37180 (__cpymn): Likewise.
37181 (norm): Remove commented code.
37182 (denorm): Likewise.
37183 (__mp_dbl): Likewise.
37186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37187 mp_no value for 1.0 and 2.0.
37188 (norm): Use RADIXI instead of radixi.d.
37189 (denorm): Likewise.
37190 (__mul): Use 0.0 instead of zero.d.
37191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37192 mp_no value for 1.0 and 2.0.
37193 (norm): Use RADIXI instead of radixi.d.
37194 (denorm): Likewise.
37195 (__mul): Use 0.0 instead of zero.d.
37197 2013-01-04 Joseph Myers <joseph@codesourcery.com>
37200 * math/s_casinh.c (__casinh): Reduce finite argument to first
37201 quadrant then set signs of results at the end.
37202 * math/s_casinhf.c (__casinhf): Likewise.
37203 * math/s_casinhl.c (__casinhl): Likewise.
37204 * math/libm-test.inc (casin_test): Add more tests.
37205 (casinh_test): Likewise.
37206 * sysdeps/i386/fpu/libm-test-ulps: Update.
37207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37209 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37211 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37213 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37215 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37217 (denorm): Likewise.
37218 (__mp_dbl): Likewise.
37221 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37222 and adjust the header comment.
37224 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37225 variable name from declaration.
37227 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37230 Initialize COMMON_CPUID_INDEX_7 element.
37231 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37232 (CPUID_RTM): Likewise.
37233 (HAS_RTM): Likewise.
37234 (COMMON_CPUID_INDEX_7): New enum.
37236 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37239 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37240 size is zero, record memory as freed.
37242 2013-01-03 Andreas Jaeger <aj@suse.de>
37244 * po/ia.po: Add new Interlingua translation.
37246 2012-01-03 Allan McRae <allan@archlinux.org>
37248 * locale/programs/localedef.c: Fix description of '--posix' flag.
37250 2013-01-02 Joseph Myers <joseph@codesourcery.com>
37252 * NEWS: Update dates in second copyright notice.
37253 * README: Update copyright dates in example.
37254 * manual/libc.texinfo: Update copyright dates.
37255 * scripts/test-installation.pl: Update copyright date in --version
37258 * hurd/ctty-input.c: Fix copyright notice formatting.
37259 * hurd/ctty-output.c: Likewise.
37260 * hurd/dtable.c: Likewise.
37261 * hurd/hurd-raise.c: Likewise.
37262 * hurd/hurdprio.c: Likewise.
37263 * hurd/msgportdemux.c: Likewise.
37264 * misc/sys/file.h: Likewise.
37265 * misc/sys/ioctl.h: Likewise.
37266 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37267 * sysdeps/mach/hurd/chdir.c: Likewise.
37268 * sysdeps/mach/hurd/fchdir.c: Likewise.
37269 * sysdeps/mach/hurd/rename.c: Likewise.
37270 * sysdeps/mach/hurd/rmdir.c: Likewise.
37271 * sysdeps/mach/hurd/seekdir.c: Likewise.
37272 * sysdeps/mach/hurd/setsid.c: Likewise.
37273 * sysdeps/posix/wait3.c: Likewise.
37275 * All files with FSF copyright notices: Update copyright dates
37276 using scripts/update-copyrights.
37277 * intl/plural.c: Regenerated.
37278 * locale/programs/charmap-kw.h: Likewise.
37279 * locale/programs/locfile-kw.h: Likewise.
37281 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37283 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37286 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37287 calculation loop and add branch prediction.
37289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37290 check access beyond bounds of m1np.
37292 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37294 (__inv): Remove local variable MPTWO to use the global
37296 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37297 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37299 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37300 MP3HALFS static const.
37302 2013-01-01 David S. Miller <davem@davemloft.net>
37304 * po/ca.po: Update from translation team.
37306 2013-01-01 Joseph Myers <joseph@codesourcery.com>
37308 * scripts/update-copyrights: New file.
37309 * Makeconfig: Reformat copyright notice.
37310 * ctype/ctype.h: Likewise.
37311 * debug/swprintf_chk.c: Likewise.
37312 * elf/dl-cache.c: Likewise.
37313 * elf/dl-debug.c: Likewise.
37314 * elf/dl-object.c: Likewise.
37315 * grp/initgroups.c: Likewise.
37316 * hurd/Makefile: Likewise.
37317 * hurd/hurd/signal.h: Likewise.
37318 * hurd/hurdfault.c: Likewise.
37319 * hurd/hurdioctl.c: Likewise.
37320 * hurd/hurdlookup.c: Likewise.
37321 * hurd/intr-msg.c: Likewise.
37322 * iconv/gconv_open.c: Likewise.
37323 * libio/swprintf.c: Likewise.
37324 * locale/lc-ctype.c: Likewise.
37325 * locale/nl_langinfo.c: Likewise.
37326 * mach/Machrules: Likewise.
37327 * mach/Makefile: Likewise.
37328 * malloc/obstack.h: Likewise.
37329 * manual/Makefile: Likewise.
37330 * manual/tsort.awk: Likewise.
37331 * misc/bits/stab.def: Likewise.
37332 * nis/nis_print_group_entry.c: Likewise.
37333 * nis/nis_table.c: Likewise.
37334 * nis/nss_compat/compat-pwd.c: Likewise.
37335 * nis/nss_compat/compat-spwd.c: Likewise.
37336 * po/Makefile: Likewise.
37337 * posix/fnmatch.c: Likewise.
37338 * posix/regex.h: Likewise.
37339 * resolv/Makefile: Likewise.
37340 * resolv/nss_dns/dns-network.c: Likewise.
37341 * resolv/res_hconf.c: Likewise.
37342 * scripts/gen-sorted.awk: Likewise.
37343 * soft-fp/soft-fp.h: Likewise.
37344 * stdio-common/printf.h: Likewise.
37345 * stdlib/monetary.h: Likewise.
37346 * stdlib/random.c: Likewise.
37347 * stdlib/random_r.c: Likewise.
37348 * sysdeps/generic/Makefile: Likewise.
37349 * sysdeps/gnu/Makefile: Likewise.
37350 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37352 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37357 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37360 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37361 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37362 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37363 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37364 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37365 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37366 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37370 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37371 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37372 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37373 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37374 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37376 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37378 * sysdeps/mach/hurd/errnos.awk: Likewise.
37379 * sysdeps/mach/hurd/fork.c: Likewise.
37380 * sysdeps/mach/hurd/getcwd.c: Likewise.
37381 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37382 * sysdeps/mach/hurd/mmap.c: Likewise.
37383 * sysdeps/mach/hurd/utimes.c: Likewise.
37384 * sysdeps/mach/hurd/xmknod.c: Likewise.
37385 * sysdeps/posix/profil.c: Likewise.
37386 * sysdeps/posix/readdir_r.c: Likewise.
37387 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37388 * sysdeps/powerpc/bits/setjmp.h: Likewise.
37389 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37390 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37392 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37393 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37394 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37396 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37397 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37398 * sysdeps/pthread/lio_listio.c: Likewise.
37399 * sysdeps/sparc/dl-procinfo.h: Likewise.
37400 * sysdeps/unix/i386/sysdep.S: Likewise.
37401 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37402 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37403 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37404 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37406 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37407 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37408 * sysdeps/unix/sysv/linux/speed.c: Likewise.
37409 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37410 * sysdeps/wordsize-32/divdi3.c: Likewise.
37411 * time/sys/time.h: Likewise.
37412 * wcsmbs/Makefile: Likewise.
37414 2013-01-01 David S. Miller <davem@davemloft.net>
37416 * po/fr.po: Update from translation team.
37418 * catgets/gencat.c: Update copyright year.
37419 * csu/version.c: Likewise.
37420 * debug/catchsegv.sh: Likewise.
37421 * debug/pcprofiledump.c: Likewise.
37422 * debug/xtrace.sh: Likewise.
37423 * elf/ldconfig.c: Likewise.
37424 * elf/ldd.bash.in: Likewise.
37425 * elf/pldd.c: Likewise.
37426 * elf/sotruss.ksh: Likewise.
37427 * elf/sprof.c: Likewise.
37428 * iconv/iconv_prog.c: Likewise.
37429 * iconv/iconvconfig.c: Likewise.
37430 * locale/programs/locale.c: Likewise.
37431 * locale/programs/localedef.c: Likewise.
37432 * login/programs/pt_chown.c: Likewise.
37433 * malloc/memusage.sh: Likewise.
37434 * malloc/memusagestat.c: Likewise.
37435 * malloc/mtrace.pl: Likewise.
37436 * nscd/nscd.c: Likewise.
37437 * nss/getent.c: Likewise.
37438 * nss/makedb.c: Likewise.
37439 * posix/getconf.c: Likewise.
37441 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37443 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37446 2012-12-30 Mike Frysinger <vapier@gentoo.org>
37448 * math/bits/mathcalls.h (modf): Use __nonnull.
37450 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37452 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37453 (split): Use macro CN instead of the bare value.
37454 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37457 instead of the bare value.
37458 (power1): Likewise.
37460 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37462 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37464 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37466 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37468 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37469 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37470 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37471 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37473 2012-12-28 Andreas Jaeger <aj@suse.de>
37475 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
37476 values are from Linux 3.7.
37478 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37479 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
37481 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37483 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37486 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37488 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37489 variables with preprocessor constants.
37490 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37491 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37492 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37494 2012-12-27 Bruno Haible <bruno@clisp.org>
37497 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37500 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37503 and use variable directly.
37504 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37506 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37508 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37509 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37511 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37513 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37514 include directive. Remove local variable MPONE.
37515 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37516 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37517 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37519 2012-12-25 David S. Miller <davem@davemloft.net>
37521 * version.h (RELEASE): Set to "development".
37522 (VERSION): Set to "2.17.90".
37523 * NEWS: Add 2.18 section.
37525 2012-12-21 David S. Miller <davem@davemloft.net>
37527 * po/hr.po: Update from translation team.
37529 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37531 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37533 2012-12-19 Steve Ellcey <sellcey@mips.com>
37535 * NEWS: Mention new memcpy for MIPS.
37537 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37539 * manual/contrib.texi (Contributors): Spelling correction.
37541 2012-12-15 David S. Miller <davem@davemloft.net>
37543 * po/ru.po: Update from translation team.
37545 2012-12-13 David S. Miller <davem@davemloft.net>
37547 * NEWS: Mention IFUNC testsuite enhancements.
37549 * po/pl.po: Update from translation team.
37550 * po/bg.po: Likewise.
37552 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37553 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37555 2012-12-11 David S. Miller <davem@davemloft.net>
37557 * po/sv.po: Update from translation team.
37559 * po/vi.po: Update from translation team.
37561 * po/cs.po: Update from translation team.
37563 * po/de.po: Update from translation team.
37564 * po/eo.po: Likewise.
37565 * po/nl.po: Likewise.
37567 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37570 * manual/argp.texi (Argp Helper Functions): Move node to follow
37571 Argp Parsing State.
37574 * manual/conf.texi (Limits on File System Capacity): Mention if
37575 terminating null is included in the max size.
37577 2012-12-10 Andreas Jaeger <aj@suse.de>
37579 * po/cs.po: Update from translation team.
37581 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37583 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37584 void pointer and cast to uintptr_t.
37585 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37587 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37588 * sysdeps/s390/s390-64/memset.S: Likewise.
37590 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37593 * menual/message.texi (Message Translation): Fix typos.
37594 (Helper programs for gettext): Likewise.
37596 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37599 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37602 2012-12-07 David S. Miller <davem@davemloft.net>
37604 * po/libc.pot: Update.
37606 2012-12-07 Richard Henderson <rth@redhat.com>
37609 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37610 normal/normal case to before the switch.
37611 (_FP_DIV): Likewise.
37613 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37614 Mike Frysinger <vapier@gentoo.org>
37616 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37617 check for __NR_fadvise64_64.
37619 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37621 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37622 0, not just to plain "0" as a statement.
37623 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37626 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37628 * NEWS: Use sourceware.org in Bugzilla URL.
37630 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37633 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37635 * stdio-common/tst-put-error.c (do_test): Add newline to the
37636 padded test to ensure flush.
37638 2012-12-05 Jeff Law <law@redhat.com>
37640 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37642 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37644 * README: Don't refer to ports add-on as distributed separately.
37645 Mention AArch64 in list of systems supported in the ports add-on.
37647 * LICENSES: Add more non-FSF copyright and license notices.
37649 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37652 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37654 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37655 10000 as width of padded output.
37657 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37659 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37661 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37662 variable LX with __attribute__ ((unused)).
37663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37665 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37667 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37668 with __attribute__ ((unused)).
37670 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37672 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37674 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37676 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37677 (CFLAGS-nldbl-acos.c): New variable.
37678 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37679 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37680 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37681 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37682 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37683 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37684 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37685 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37686 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37687 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37688 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37689 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37690 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37691 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37692 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37693 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37694 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37695 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37696 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37697 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37698 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37699 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37700 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37701 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37702 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37703 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37704 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37705 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37706 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37707 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37708 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37709 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37710 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37711 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37712 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37713 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37714 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37715 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37716 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37717 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37718 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37719 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37720 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37721 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37722 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37723 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37724 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37725 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37726 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37727 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37728 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37729 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37730 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37731 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37732 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37733 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37734 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37735 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37736 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37737 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37738 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37739 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37740 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37741 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37742 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37743 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37744 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37745 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37746 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37747 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37748 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37749 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37750 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37751 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37752 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37753 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37754 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37755 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37756 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37757 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37758 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37759 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37760 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37761 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37762 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37763 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37764 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37765 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37766 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37767 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37768 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37769 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37770 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37771 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37772 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37773 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37774 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37777 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37781 whole low double instead of just low 47 bits when splitting values
37784 2012-12-03 Allan McRae <allan@archlinux.org>
37786 * manual/stdio.texi (Predefined Printf Handlers): Remove
37787 @hsep and @vsep usage.
37789 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37791 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37792 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37794 2012-12-03 Jeff Law <law@redhat.com>
37796 * time/sys/time.h (settimeofday): Do not mark TV argument
37799 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37801 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37802 when currently writing and seek to current position when not.
37803 * libio/Makefile (tests): Remove bug-fclose1.
37804 * libio/bug-fclose1.c: Delete.
37806 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37808 * manual/arith.texi (feenableexcept): Fix typo.
37809 (fedisableexcept): Likewise.
37811 2012-11-30 Roland McGrath <roland@hack.frob.com>
37813 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37814 second, differently-typed declaration, rather than a cast.
37816 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37818 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37819 * include/rpc/svc.h: ... here.
37821 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37824 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37825 depending n and resplen2 to catch cases where answer
37828 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37830 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37831 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37833 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37837 2012-11-29 Roland McGrath <roland@hack.frob.com>
37839 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37841 2012-11-28 Jeff Law <law@redhat.com>
37844 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37845 dataset_temporary. Track alloca usage into alloca_used.
37846 If dataset is large allocate and release it via malloc/free.
37848 2012-06-04 Florian Weimer <fweimer@redhat.com>
37851 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37853 2012-11-28 David S. Miller <davem@davemloft.net>
37855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37857 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37860 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37861 of pi/2 rounded to nearest to 64 bits.
37862 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37863 nearest to 64 bits.
37864 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37867 2012-11-28 Jeff Law <law@redhat.com>
37868 Martin Osvald <mosvald@redhat.com>
37871 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37872 * sunrpc/svc.c: Include time.h.
37873 (__svc_accept_failed): New function.
37874 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37875 any reason other than EINTR, call __svc_accept_failed.
37876 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37877 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37879 2012-11-28 Andreas Schwab <schwab@suse.de>
37881 * scripts/abilist.awk: Also handle indirect functions in .opd
37884 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37887 * sysdeps/x86/fpu/powl_helper.c: New file.
37888 * sysdeps/x86/fpu/Makefile: Likewise.
37889 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37891 (__ieee754_powl): Use __powl_helper for finite arguments except
37892 integer exponents below 8.
37893 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37895 (__ieee754_powl): Use __powl_helper for finite arguments except
37896 integer exponents below 8.
37897 * math/libm-test.inc (pow_test): Add more tests and enable some
37898 previously disabled tests.
37899 * sysdeps/i386/fpu/libm-test-ulps: Update.
37900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37902 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37903 Carlos O'Donell <carlos_odonell@mentor.com>
37905 * nss/makedb.c (is_prime): Assert that input is odd and greater
37906 than 4. Note that fact in a comment too.
37907 (next_prime): Add 4 to input.
37909 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37912 * libio/Makefile (tests): Add test case tst-fwrite-error.
37913 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37914 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37915 * libio/tst-fwrite-error.c: New test case.
37917 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37919 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37920 before casting to void *.
37921 * include/libc-internal.h (__pointer_type): New macro.
37922 (__integer_if_pointer_type_sub): Likewise.
37923 (__integer_if_pointer_type): Likewise.
37924 (cast_to_integer): Likewise.
37925 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37926 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37927 before casting to atomic64_t.
37928 (atomic_exchange_acq): Likewise.
37929 (__arch_exchange_and_add_body): Likewise.
37930 (__arch_add_body): Likewise.
37931 (atomic_add_negative): Likewise.
37932 (atomic_add_zero): Likewise.
37934 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37936 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37937 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37938 (add_fdes): Likewise.
37939 (linear_search_fdes): Likewise.
37940 (binary_search_unencoded_fdes): Likewise.
37942 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37944 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37946 2012-11-24 Adam Conrad <adconrad@0c3.net>
37948 * configure.in: Autodetect C++ header directories.
37949 * configure: Regenerated.
37951 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37953 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37955 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37959 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37961 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37962 LDBL_MANT_DIG == 106]: Disable some tests.
37963 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37965 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37969 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37970 input for small inputs. Return +/- pi/2 for large inputs.
37971 * math/libm-test.inc (atan_test): Add more tests.
37973 * sysdeps/generic/unwind-dw2-fde-glibc.c
37974 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37975 __attribute__ ((unused)).
37978 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37979 x * y if x and y are nonzero and z is zero.
37982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37983 nonzero exponents with absolute value below 0x1p-117 to +/-
37987 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37988 up arguments below 2**-450, not just those below 2**-500.
37989 * math/libm-test.inc (hypot_test): Add another test.
37992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37993 Return a+b for ratio over 2**120, not 2**60.
37994 * math/libm-test.inc (hypot_test): Add another test.
37996 * math/libm-test.inc (clog_test): Use
37997 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37998 (clog10_test): Likewise.
38001 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38003 2012-11-22 Andreas Schwab <schwab@suse.de>
38005 * sysdeps/i386/fpu/libm-test-ulps: Update.
38007 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38009 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38010 printf output with newline.
38012 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38015 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38016 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38017 -z nodlopen, -z initfirst and -z execstack support.
38018 * configure: Regenerated.
38020 * elf/elf.h (DF_1_NODIRECT): New macro.
38021 (DF_1_IGNMULDEF): Likewise.
38022 (DF_1_NOKSYMS): Likewise.
38023 (DF_1_NOHDR): Likewise.
38024 (DF_1_EDITED): Likewise.
38025 (DF_1_NORELOC): Likewise.
38026 (DF_1_SYMINTPOSE): Likewise.
38027 (DF_1_GLOBAUDIT): Likewise.
38028 (DF_1_SINGLETON): Likewise.
38029 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38030 DT_1_SUPPORTED_MASK bits.
38031 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38033 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38035 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38037 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38039 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38042 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38043 (sendmmsg): Move declarations...
38044 * socket/sys/socket.h: ... here.
38045 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38046 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38048 * socket/recvmmsg.c: ... this new file.
38049 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38050 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38051 definition of __sendmmsg hidden.
38052 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38053 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38054 Move ENOSYS stub into and include it from...
38055 * socket/sendmmsg.c: ... this new file.
38056 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38057 (sysdep_routines): Move recvmmsg and sendmmsg...
38058 * socket/Makefile (routines): ... here.
38059 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38060 (GLIBC_PRIVATE): Add __sendmmsg.
38061 * include/sys/socket.h (__sendmmsg): Add declarations.
38062 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38065 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38067 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38068 variable I1 with __attribute__ ((unused)).
38069 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38071 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38073 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38074 DUMMY variables with __attribute__ ((unused)).
38076 * bits/byteswap.h: Include <bits/types.h>.
38077 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38079 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38081 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38082 string_t. Do not manually set errno.
38083 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38084 length with __strnlen. Make sure to both set errno and return it on
38087 2012-11-19 David S. Miller <davem@davemloft.net>
38089 With help from Joseph Myers.
38090 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38091 very large arguments properly.
38092 * math/libm-test.inc (atan_test): New tests.
38093 (atan2_test): New tests.
38094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38097 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38100 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38103 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38104 [POSIX] (EADDRNOTAVAIL): Likewise.
38105 [POSIX] (EAFNOSUPPORT): Likewise.
38106 [POSIX] (EALREADY): Likewise.
38107 [POSIX] (ECONNABORTED): Likewise.
38108 [POSIX] (ECONNREFUSED): Likewise.
38109 [POSIX] (ECONNRESET): Likewise.
38110 [POSIX] (EDESTADDRREQ): Likewise.
38111 [POSIX] (EDQUOT): Likewise.
38112 [POSIX] (EHOSTUNREACH): Likewise.
38113 [POSIX] (EIDRM): Likewise.
38114 [POSIX] (EISCONN): Likewise.
38115 [POSIX] (ELOOP): Likewise.
38116 [POSIX] (EMULTIHOP): Likewise.
38117 [POSIX] (ENETDOWN): Likewise.
38118 [POSIX] (ENETUNREACH): Likewise.
38119 [POSIX] (ENOBUFS): Likewise.
38120 [POSIX] (ENODATA): Likewise.
38121 [POSIX] (ENOLINK): Likewise.
38122 [POSIX] (ENOMSG): Likewise.
38123 [POSIX] (ENOPROTOOPT): Likewise.
38124 [POSIX] (ENOSR): Likewise.
38125 [POSIX] (ENOSTR): Likewise.
38126 [POSIX] (ENOTCONN): Likewise.
38127 [POSIX] (ENOTSOCK): Likewise.
38128 [POSIX] (EOPNOTSUPP): Likewise.
38129 [POSIX] (EOVERFLOW): Likewise.
38130 [POSIX] (EPROTO): Likewise.
38131 [POSIX] (EPROTONOSUPPORT): Likewise.
38132 [POSIX] (EPROTOTYPE): Likewise.
38133 [POSIX] (ESTALE): Likewise.
38134 [POSIX] (ETIME): Likewise.
38135 [POSIX] (ETXTBSY): Likewise.
38136 [POSIX] (EWOULDBLOCK): Likewise.
38137 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38138 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38139 [POSIX] (SEEK_CUR): Likewise.
38140 [POSIX] (SEEK_END): Likewise.
38141 [POSIX || UNIX98] (mode_t): Do not require.
38142 [POSIX] (off_t): Likewise.
38143 [POSIX] (pid_t): Likewise.
38144 [POSIX] (sys/stat.h): Do not allow header.
38145 [POSIX] (unistd.h): Likewise.
38146 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38147 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38148 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38149 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38151 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38152 sigevent): Specify elements.
38153 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38155 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38156 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38158 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38159 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38160 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38161 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38162 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38163 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38164 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38165 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38166 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38167 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38168 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38169 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38170 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38171 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38173 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38175 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38177 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38179 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38180 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38181 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38182 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38183 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38184 Specify lower bound on value.
38185 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38186 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38187 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38188 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38189 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38190 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38191 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38192 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38194 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38196 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38197 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38198 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38199 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38200 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38201 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38202 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38203 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38204 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38205 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38206 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38207 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38208 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38209 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38210 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38211 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38213 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38215 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38216 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38217 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38218 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38219 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38220 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38222 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38223 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38224 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38225 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38226 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38227 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38228 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38230 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38231 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38232 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38233 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38234 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38235 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38236 specify as optional.
38237 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38238 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38239 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38240 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38241 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38242 [XPG3] (NL_LANGMAX): Likewise.
38243 [POSIX || XPG3] (NL_MSGMAX): Likewise.
38244 [POSIX || XPG3] (NL_NMAX): Likewise.
38245 [POSIX || XPG3] (NL_SETMAX): Likewise.
38246 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38247 [XPG3] (NZERO): Likewise.
38248 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38249 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38250 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38251 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38252 (REG_ERANGE): Expect.
38253 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38255 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38256 Use (void) in prototype.
38257 [POSIX] (*_t): Allow.
38258 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38259 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38260 (WRDE_BADVAL): Expect.
38262 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38264 [XPG3 || XPG4] (O_RSYNC): Likewise.
38265 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38267 [XPG3 || XPG4] (pthread_sigmask): Likewise.
38268 [XPG3 || XPG4] (sigqueue): Likewise.
38269 [XPG3 || XPG4] (sigtimedwait): Likewise.
38270 [XPG3 || XPG4] (sigwaitinfo): Likewise.
38271 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38272 [XPG3 || XPG4] (vsnprintf): Likewise.
38273 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38275 [XPG3 || XPG4] (blksize_t): Likewise.
38276 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38278 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38279 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38280 [XPG3 || XPG4] (struct itimerspec): Likewise.
38281 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38282 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38283 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38284 [XPG3 || XPG4] (clockid_t): Likewise.
38285 [XPG3 || XPG4] (timer_t): Likewise.
38286 [XPG3 || XPG4] (clock_getres): Likewise.
38287 [XPG3 || XPG4] (clock_gettime): Likewise.
38288 [XPG3 || XPG4] (clock_settime): Likewise.
38289 [XPG3 || XPG4] (nanosleep): Likewise.
38290 [XPG3 || XPG4] (timer_create): Likewise.
38291 [XPG3 || XPG4] (timer_delete): Likewise.
38292 [XPG3 || XPG4] (timer_gettime): Likewise.
38293 [XPG3 || XPG4] (timer_getoverrun): Likewise.
38294 [XPG3 || XPG4] (timer_settime): Likewise.
38295 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38296 [XPG3 || XPG4] (getlogin_r): Likewise.
38297 [XPG3 || XPG4] (pread): Likewise.
38298 [XPG3 || XPG4] (pthread_atfork): Likewise.
38299 [XPG3 || XPG4] (pwrite): Likewise.
38302 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38305 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38307 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38308 finalizing MALLSTREAM.
38310 * sysdeps/mach/hurd/syncfs.c: New file.
38312 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38315 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38316 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38317 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38318 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38319 (_nss_dns_gethostbyname4_r): Likewise.
38320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38321 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38323 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
38326 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38328 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
38330 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38331 * elf/cache.c (print_entry): Print ",AArch64" for
38334 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38335 * elf/cache.c (print_entry): Print ",hard-float" for
38338 2012-11-18 David S. Miller <davem@davemloft.net>
38340 With help from Joseph Myers.
38341 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38343 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38345 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38346 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38348 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38349 * math/libm-test.inc (y0_test): New tests.
38350 (y1_test): New tests.
38351 * sysdeps/i386/fpu/libm-test-ulps: Update.
38352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38355 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
38357 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38359 * configure: Regenerated.
38361 2012-11-17 David S. Miller <davem@davemloft.net>
38364 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38365 nonzero exponents with absolute value below 0x1p-128 to +/-
38368 2012-11-17 Joseph Myers <joseph@codesourcery.com>
38370 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38372 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38374 * posix/getconf-speclist.c: New file.
38375 * posix/posix-envs.def: Likewise.
38376 * posix/confstr.c (START_ENV_GROUP): New macro.
38377 (END_ENV_GROUP): Likewise.
38378 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38379 (KNOWN_PRESENT_ENV_STRING): Likewise.
38380 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38381 (UNKNOWN_ENVIRONMENT): Likewise.
38382 (confstr): Include posix-envs.def instead of handling
38383 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38384 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38385 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38386 (END_ENV_GROUP): Likewise.
38387 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38388 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38389 (UNKNOWN_ENVIRONMENT): Likewise.
38390 (__sysconf): Include posix-envs.def instead of handling associated
38391 cases directly here.
38392 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38393 preprocessing getconf-speclist.c rather than running getconf or
38394 generating empty file.
38396 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
38398 * scripts/check-local-headers.sh: Ignore 'mach' headers.
38400 2012-11-16 Andrej Lajovic <natrij@gmail.com>
38403 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38405 2012-11-16 David S. Miller <davem@davemloft.net>
38407 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38408 smaller than LDBL_EPSILON/2.0L, just return xm1.
38410 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
38412 * elf/tst-array1.c (init): Set constructor priority to 1000.
38413 (fini): Set destructor priority to 1000.
38414 * elf/tst-array2dep.c: Likewise.
38416 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38419 * libio/fileops.c (_IO_new_file_write): Correctly return error.
38420 (_IO_new_file_xsputn): Also return EOF if none of the input
38421 data was written when overflow failed.
38422 * libio/iopadn.c (_IO_padn): Likewise.
38423 * libio/iowpadn.c (_IO_wpadn): Likewise.
38424 * stdio-common/tst-put-error.c: Add copyright notice.
38425 (do_test): Add case for printing padded string.
38426 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38427 _IO_padn returned error.
38428 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38429 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38432 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38434 * libio/libioP.h: Add comment note that the references to C++
38435 bits are now obsolete.
38437 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38439 * math/libm-test.inc (check_complex): Use asprintf.
38441 2012-11-14 Joseph Myers <joseph@codesourcery.com>
38443 * debug/pcprofiledump.c (print_version): Update copyright year.
38444 * malloc/memusagestat.c (print_version): Likewise.
38446 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
38449 * elf/Makefile (tests): Add tst-audit8.
38450 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38451 ($(objpfx)tst-audit8.out): New target.
38452 (tst-audit8-ENV): New variable.
38453 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38454 audit if l_reloc_result is NULL.
38455 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38456 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38457 * elf/tst-audit8.c: New file.
38459 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38461 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38462 * misc/Makefile (CFLAGS-select.c): Define.
38463 * posix/Makefile (CFLAGS-pause.c): Define.
38465 2012-11-13 David S. Miller <davem@davemloft.net>
38467 * crypt/Makefile: Move test targets after toplevel Rules
38468 inclusion. Grab any necessary sysdep routines when linking.
38469 * crypt/md5.c (md5_process_block): Remove define, we will always
38470 name it __md5_process_block.
38471 (md5_finish_ctx): Update md5_process_block call.
38472 (md5_stream): Likewise.
38473 (md5_process_bytes): Likewise.
38474 (md5_process_block): Rename to __md5_process_block and move to ...
38475 * crypt/md5-block.c: ... here.
38476 * crypt/sha256.c (sha256_process_block): Move to ...
38477 * crypt/sha256-block.c: ... here.
38478 * crypt/sha512.c (sha512_process_block): Move to ...
38479 * crypt/sha512-block.c: ... here.
38480 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38482 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38483 * sysdeps/sparc/sparc64/multiarch/Makefile
38484 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38486 (localedef-aux): Add md5 crypto assembler when in locale subdir.
38487 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38489 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38490 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38491 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38492 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38493 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38494 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38495 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38496 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38497 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38499 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38500 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38502 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38504 2012-11-13 Joseph Myers <joseph@codesourcery.com>
38506 * timezone/tzselect.ksh: Update from tzcode git revision
38507 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38508 * timezone/zdump.c: Likewise.
38509 * timezone/zic.c: Likewise.
38510 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38511 in TZVERSION setting, not $(PKGVERSION).
38512 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
38513 REPORT_BUGS_TO settings.
38516 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38519 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38521 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38522 detection to immediately after _FP_ROUND().
38523 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38526 2012-11-11 David S. Miller <davem@davemloft.net>
38528 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38530 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38531 __close rather than their public counterparts.
38533 2012-11-10 Joseph Myers <joseph@codesourcery.com>
38535 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38537 [UNIX98] (sem_timedwait): Do not expect.
38538 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38539 [XPG4 || UNIX98] (sockatmark): Do not expect.
38540 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38541 (clock_getcpuclockid): Do not expect.
38542 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38543 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38545 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38546 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38547 [UNIX98] (vwscanf): Likewise.
38548 [UNIX98] (vswscanf): Likewise.
38550 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38552 * timezone/version.h: Remove file.
38553 * timezone/README: Do not refer to version.h.
38554 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38555 $(objpfx)version.h.
38556 ($(objpfx)zdump.o): Likewise.
38557 ($(objpfx)version.h): New target.
38559 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38561 * timezone/README: Don't mention modification to tzselect.ksh.
38562 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38563 work on unmodified tzselect.ksh. Substitute version numbers in
38566 * Makefile (format-me): Remove.
38567 (INSTALL): Adjust indentation. Use commands directly instead of
38568 using $(format-me).
38570 * aclocal.m4 (ACX_PKGVERSION): New macro.
38571 (ACX_BUGURL): Likewise.
38572 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38573 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38574 (REPORT_BUGS_TO): Likewise.
38575 * configure: Regenerated.
38576 * config.h.in (PKGVERSION): New macro.
38577 (REPORT_BUGS_TO): Likewise.
38578 * config.make.in (PKGVERSION): New variable.
38579 (PKGVERSION_TEXI): Likewise.
38580 (REPORT_BUGS_TO): Likewise.
38581 (REPORT_BUGS_TEXI): Likewise.
38582 * Makefile (format-me): Use -I$(common-objpfx)manual.
38583 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38584 ($(common-objpfx)manual/%): New target.
38585 (manual/%): Remove target.
38586 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38587 (print_version): Use PKGVERSION.
38588 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38589 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38590 and REPORT_BUGS_TO.
38591 ($(objpfx)xtrace): Likewise.
38592 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38593 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38594 (print_version): Use PKGVERSION.
38595 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38596 (do_version): Use PKGVERSION.
38597 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38599 (common-ldd-rewrite): Likewise.
38600 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38601 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38602 (print_version): Use PKGVERSION.
38603 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38604 * elf/pldd.c (argp_program_bug_address): Remove variable.
38605 (more_help): New function.
38606 (argp): Use more_help.
38607 (print_version): Use PKGVERSION.
38608 * elf/sln.c (main): Use PKGVERSION.
38609 (usage): Use REPORT_BUGS_TO.
38610 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38611 (top level): Use PKGVERSION.
38612 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38613 (print_version): Use PKGVERSION.
38614 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38615 (print_version): Use PKGVERSION.
38616 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38617 (print_version): Use PKGVERSION.
38618 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38619 (print_version): Use PKGVERSION.
38620 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38621 (print_version): Use PKGVERSION.
38622 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38623 (print_version): Use PKGVERSION.
38624 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38626 ($(objpfx)memusage): Likewise.
38627 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38628 (do_version): Use PKGVERSION.
38629 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38630 (print_version): Use PKGVERSION.
38631 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38632 ($PKGVERSION): New variable.
38633 ($REPORT_BUGS_TO): Likewise.
38634 (usage): Use $REPORT_BUGS_TO.
38635 (top level): Use $PKGVERSION.
38636 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38637 ($(objpfx)pkgvers.texi): New rule.
38638 ($(objpfx)stamp-pkgvers): Likewise.
38639 * manual/install.texi: Include pkgvers.texi.
38640 (--with-pkgversion): Document new configure option.
38641 (--with-bugurl): Likewise.
38642 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38643 than necessarily for this particular distribution. Use
38644 REPORT_BUGS_TO for where to report bugs.
38645 * INSTALL: Regenerated.
38646 * manual/libc.texinfo: Include pkgvers.texi.
38647 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38648 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38649 (print_version): Use PKGVERSION.
38650 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38651 (print_version): Use PKGVERSION.
38652 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38653 (print_version): Use PKGVERSION.
38654 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38655 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38657 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38658 (print_version): Use PKGVERSION.
38659 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38660 (print_version): Use PKGVERSION.
38661 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38664 * timezone/checktab.awk: Update from tzcode 2012i.
38665 * timezone/ialloc.c: Likewise.
38666 * timezone/private.h: Likewise.
38667 * timezone/scheck.c: Likewise.
38668 * timezone/tzfile.h: Likewise.
38669 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38670 (TZVERSION): Hardcode tzcode version number.
38671 * timezone/zdump.c: Update from tzcode 2012i.
38672 * timezone/zic.c: Likewise.
38673 * timezone/version.h: New file.
38674 * timezone/README: Describe version.h. Update upstream location.
38677 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38678 (mktemp): Enable declaration.
38679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38696 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38697 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38698 for copies of such integer values.
38699 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38700 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38702 2012-11-09 Andreas Jaeger <aj@suse.de>
38704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38705 definitions and declarations that are provided by
38706 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38708 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38710 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38711 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38712 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38715 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38717 * elf/elf.h: Update comment before AArch64 relocations.
38719 2012-11-07 David S. Miller <davem@davemloft.net>
38721 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38722 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38723 (__start_context): Declare.
38724 (__makecontext_ret): Delete.
38725 (__makecontext): Hook up __start_context instead of
38727 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38728 (sysdep_routines): Add __start_context when in stdlib.
38730 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38732 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38733 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38734 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38736 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38737 (READELF): New variable. Use it instead of hardcoded "readelf".
38739 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38741 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38742 * sysdeps/x86/Makefile: Here.
38743 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38744 * sysdeps/x86/tst-xmmymm.sh: This.
38746 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38748 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38750 [UNIX98] (pthread_barrier_t): Do not expect.
38751 [UNIX98] (pthread_barrierattr_t): Likewise.
38752 [UNIX98] (pthread_spinlock_t): Likewise.
38753 [UNIX98] (pthread_barrier_destroy): Likewise.
38754 [UNIX98] (pthread_barrier_init): Likewise.
38755 [UNIX98] (pthread_barrier_wait): Likewise.
38756 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38757 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38758 [UNIX98] (pthread_barrierattr_init): Likewise.
38759 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38760 [UNIX98] (pthread_getcpuclockid): Likewise.
38761 [UNIX98] (pthread_mutex_timedlock): Likewise.
38762 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38763 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38764 [UNIX98] (pthread_sigmask): Likewise.
38765 [UNIX98] (pthread_spin_destroy): Likewise.
38766 [UNIX98] (pthread_spin_init): Likewise.
38767 [UNIX98] (pthread_spin_lock): Likewise.
38768 [UNIX98] (pthread_spin_trylock): Likewise.
38769 [UNIX98] (pthread_spin_unlock): Likewise.
38770 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38772 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38773 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38774 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38775 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38776 [XPG3 || XPG4] (pthread_key_t): Likewise.
38777 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38778 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38779 [XPG3 || XPG4] (pthread_once_t): Likewise.
38780 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38781 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38782 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38783 [XPG3 || XPG4] (pthread_t): Likewise.
38785 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38787 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38789 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38790 Change function return type to int.
38792 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38793 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38794 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38795 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38796 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38797 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38798 [!POSIX] (posix_madvise): Likewise.
38799 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38801 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38802 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38803 (mode_t): Likewise.
38804 (posix_mem_offset): Likewise.
38805 (posix_typed_mem_get_info): Likewise.
38806 (posix_typed_mem_open): Likewise.
38808 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38809 Change condition to [XOPEN2K8].
38811 * conform/conformtest.pl: Preprocess allow-header data with -x c
38812 instead of from stdin.
38813 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38814 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38815 [C99-based standards] (cerfc): Likewise.
38816 [C99-based standards] (cexp2): Likewise.
38817 [C99-based standards] (cexpm1): Likewise.
38818 [C99-based standards] (clog10): Likewise.
38819 [C99-based standards] (clog1p): Likewise.
38820 [C99-based standards] (clog2): Likewise.
38821 [C99-based standards] (clgamma): Likewise.
38822 [C99-based standards] (ctgamma): Likewise.
38823 [C99-based standards] (cerff): Likewise.
38824 [C99-based standards] (cerfcf): Likewise.
38825 [C99-based standards] (cexp2f): Likewise.
38826 [C99-based standards] (cexpm1f): Likewise.
38827 [C99-based standards] (clog10f): Likewise.
38828 [C99-based standards] (clog1pf): Likewise.
38829 [C99-based standards] (clog2f): Likewise.
38830 [C99-based standards] (clgammaf): Likewise.
38831 [C99-based standards] (ctgammaf): Likewise.
38832 [C99-based standards] (cerfl): Likewise.
38833 [C99-based standards] (cerfcl): Likewise.
38834 [C99-based standards] (cexp2l): Likewise.
38835 [C99-based standards] (cexpm1l): Likewise.
38836 [C99-based standards] (clog10l): Likewise.
38837 [C99-based standards] (clog1pl): Likewise.
38838 [C99-based standards] (clog2l): Likewise.
38839 [C99-based standards] (clgammal): Likewise.
38840 [C99-based standards] (ctgammal): Likewise.
38841 * conform/data/inttypes.h-data [C99-based standards]: Include
38842 stdint.h-data. Remove all expectations for stdint.h contents.
38843 [C99-based standards] (PRI*): Do not allow.
38844 [C99-based standards] (SCN*): Likewise.
38845 [C99-based standards] (*_t): Likewise.
38846 [C99-based-standards] (PRId8): Expect macro.
38847 [C99-based-standards] (PRIi8): Likewise.
38848 [C99-based-standards] (PRIo8): Likewise.
38849 [C99-based-standards] (PRIu8): Likewise.
38850 [C99-based-standards] (PRIx8): Likewise.
38851 [C99-based-standards] (PRIX8): Likewise.
38852 [C99-based-standards] (SCNd8): Likewise.
38853 [C99-based-standards] (SCNi8): Likewise.
38854 [C99-based-standards] (SCNo8): Likewise.
38855 [C99-based-standards] (SCNu8): Likewise.
38856 [C99-based-standards] (SCNx8): Likewise.
38857 [C99-based-standards] (PRIdLEAST8): Likewise.
38858 [C99-based-standards] (PRIiLEAST8): Likewise.
38859 [C99-based-standards] (PRIoLEAST8): Likewise.
38860 [C99-based-standards] (PRIuLEAST8): Likewise.
38861 [C99-based-standards] (PRIxLEAST8): Likewise.
38862 [C99-based-standards] (PRIXLEAST8): Likewise.
38863 [C99-based-standards] (SCNdLEAST8): Likewise.
38864 [C99-based-standards] (SCNiLEAST8): Likewise.
38865 [C99-based-standards] (SCNoLEAST8): Likewise.
38866 [C99-based-standards] (SCNuLEAST8): Likewise.
38867 [C99-based-standards] (SCNxLEAST8): Likewise.
38868 [C99-based-standards] (PRIdFAST8): Likewise.
38869 [C99-based-standards] (PRIiFAST8): Likewise.
38870 [C99-based-standards] (PRIoFAST8): Likewise.
38871 [C99-based-standards] (PRIuFAST8): Likewise.
38872 [C99-based-standards] (PRIxFAST8): Likewise.
38873 [C99-based-standards] (PRIXFAST8): Likewise.
38874 [C99-based-standards] (SCNdFAST8): Likewise.
38875 [C99-based-standards] (SCNiFAST8): Likewise.
38876 [C99-based-standards] (SCNoFAST8): Likewise.
38877 [C99-based-standards] (SCNuFAST8): Likewise.
38878 [C99-based-standards] (SCNxFAST8): Likewise.
38879 [C99-based-standards] (PRId16): Likewise.
38880 [C99-based-standards] (PRIi16): Likewise.
38881 [C99-based-standards] (PRIo16): Likewise.
38882 [C99-based-standards] (PRIu16): Likewise.
38883 [C99-based-standards] (PRIx16): Likewise.
38884 [C99-based-standards] (PRIX16): Likewise.
38885 [C99-based-standards] (SCNd16): Likewise.
38886 [C99-based-standards] (SCNi16): Likewise.
38887 [C99-based-standards] (SCNo16): Likewise.
38888 [C99-based-standards] (SCNu16): Likewise.
38889 [C99-based-standards] (SCNx16): Likewise.
38890 [C99-based-standards] (PRIdLEAST16): Likewise.
38891 [C99-based-standards] (PRIiLEAST16): Likewise.
38892 [C99-based-standards] (PRIoLEAST16): Likewise.
38893 [C99-based-standards] (PRIuLEAST16): Likewise.
38894 [C99-based-standards] (PRIxLEAST16): Likewise.
38895 [C99-based-standards] (PRIXLEAST16): Likewise.
38896 [C99-based-standards] (SCNdLEAST16): Likewise.
38897 [C99-based-standards] (SCNiLEAST16): Likewise.
38898 [C99-based-standards] (SCNoLEAST16): Likewise.
38899 [C99-based-standards] (SCNuLEAST16): Likewise.
38900 [C99-based-standards] (SCNxLEAST16): Likewise.
38901 [C99-based-standards] (PRIdFAST16): Likewise.
38902 [C99-based-standards] (PRIiFAST16): Likewise.
38903 [C99-based-standards] (PRIoFAST16): Likewise.
38904 [C99-based-standards] (PRIuFAST16): Likewise.
38905 [C99-based-standards] (PRIxFAST16): Likewise.
38906 [C99-based-standards] (PRIXFAST16): Likewise.
38907 [C99-based-standards] (SCNdFAST16): Likewise.
38908 [C99-based-standards] (SCNiFAST16): Likewise.
38909 [C99-based-standards] (SCNoFAST16): Likewise.
38910 [C99-based-standards] (SCNuFAST16): Likewise.
38911 [C99-based-standards] (SCNxFAST16): Likewise.
38912 [C99-based-standards] (PRId32): Likewise.
38913 [C99-based-standards] (PRIi32): Likewise.
38914 [C99-based-standards] (PRIo32): Likewise.
38915 [C99-based-standards] (PRIu32): Likewise.
38916 [C99-based-standards] (PRIx32): Likewise.
38917 [C99-based-standards] (PRIX32): Likewise.
38918 [C99-based-standards] (SCNd32): Likewise.
38919 [C99-based-standards] (SCNi32): Likewise.
38920 [C99-based-standards] (SCNo32): Likewise.
38921 [C99-based-standards] (SCNu32): Likewise.
38922 [C99-based-standards] (SCNx32): Likewise.
38923 [C99-based-standards] (PRIdLEAST32): Likewise.
38924 [C99-based-standards] (PRIiLEAST32): Likewise.
38925 [C99-based-standards] (PRIoLEAST32): Likewise.
38926 [C99-based-standards] (PRIuLEAST32): Likewise.
38927 [C99-based-standards] (PRIxLEAST32): Likewise.
38928 [C99-based-standards] (PRIXLEAST32): Likewise.
38929 [C99-based-standards] (SCNdLEAST32): Likewise.
38930 [C99-based-standards] (SCNiLEAST32): Likewise.
38931 [C99-based-standards] (SCNoLEAST32): Likewise.
38932 [C99-based-standards] (SCNuLEAST32): Likewise.
38933 [C99-based-standards] (SCNxLEAST32): Likewise.
38934 [C99-based-standards] (PRIdFAST32): Likewise.
38935 [C99-based-standards] (PRIiFAST32): Likewise.
38936 [C99-based-standards] (PRIoFAST32): Likewise.
38937 [C99-based-standards] (PRIuFAST32): Likewise.
38938 [C99-based-standards] (PRIxFAST32): Likewise.
38939 [C99-based-standards] (PRIXFAST32): Likewise.
38940 [C99-based-standards] (SCNdFAST32): Likewise.
38941 [C99-based-standards] (SCNiFAST32): Likewise.
38942 [C99-based-standards] (SCNoFAST32): Likewise.
38943 [C99-based-standards] (SCNuFAST32): Likewise.
38944 [C99-based-standards] (SCNxFAST32): Likewise.
38945 [C99-based-standards] (PRId64): Likewise.
38946 [C99-based-standards] (PRIi64): Likewise.
38947 [C99-based-standards] (PRIo64): Likewise.
38948 [C99-based-standards] (PRIu64): Likewise.
38949 [C99-based-standards] (PRIx64): Likewise.
38950 [C99-based-standards] (PRIX64): Likewise.
38951 [C99-based-standards] (SCNd64): Likewise.
38952 [C99-based-standards] (SCNi64): Likewise.
38953 [C99-based-standards] (SCNo64): Likewise.
38954 [C99-based-standards] (SCNu64): Likewise.
38955 [C99-based-standards] (SCNx64): Likewise.
38956 [C99-based-standards] (PRIdLEAST64): Likewise.
38957 [C99-based-standards] (PRIiLEAST64): Likewise.
38958 [C99-based-standards] (PRIoLEAST64): Likewise.
38959 [C99-based-standards] (PRIuLEAST64): Likewise.
38960 [C99-based-standards] (PRIxLEAST64): Likewise.
38961 [C99-based-standards] (PRIXLEAST64): Likewise.
38962 [C99-based-standards] (SCNdLEAST64): Likewise.
38963 [C99-based-standards] (SCNiLEAST64): Likewise.
38964 [C99-based-standards] (SCNoLEAST64): Likewise.
38965 [C99-based-standards] (SCNuLEAST64): Likewise.
38966 [C99-based-standards] (SCNxLEAST64): Likewise.
38967 [C99-based-standards] (PRIdFAST64): Likewise.
38968 [C99-based-standards] (PRIiFAST64): Likewise.
38969 [C99-based-standards] (PRIoFAST64): Likewise.
38970 [C99-based-standards] (PRIuFAST64): Likewise.
38971 [C99-based-standards] (PRIxFAST64): Likewise.
38972 [C99-based-standards] (PRIXFAST64): Likewise.
38973 [C99-based-standards] (SCNdFAST64): Likewise.
38974 [C99-based-standards] (SCNiFAST64): Likewise.
38975 [C99-based-standards] (SCNoFAST64): Likewise.
38976 [C99-based-standards] (SCNuFAST64): Likewise.
38977 [C99-based-standards] (SCNxFAST64): Likewise.
38978 [C99-based-standards] (PRIdMAX): Likewise.
38979 [C99-based-standards] (PRIiMAX): Likewise.
38980 [C99-based-standards] (PRIoMAX): Likewise.
38981 [C99-based-standards] (PRIuMAX): Likewise.
38982 [C99-based-standards] (PRIxMAX): Likewise.
38983 [C99-based-standards] (PRIXMAX): Likewise.
38984 [C99-based-standards] (SCNdMAX): Likewise.
38985 [C99-based-standards] (SCNiMAX): Likewise.
38986 [C99-based-standards] (SCNoMAX): Likewise.
38987 [C99-based-standards] (SCNuMAX): Likewise.
38988 [C99-based-standards] (SCNxMAX): Likewise.
38989 [C99-based-standards] (PRIdPTR): Likewise.
38990 [C99-based-standards] (PRIiPTR): Likewise.
38991 [C99-based-standards] (PRIoPTR): Likewise.
38992 [C99-based-standards] (PRIuPTR): Likewise.
38993 [C99-based-standards] (PRIxPTR): Likewise.
38994 [C99-based-standards] (PRIXPTR): Likewise.
38995 [C99-based-standards] (SCNdPTR): Likewise.
38996 [C99-based-standards] (SCNiPTR): Likewise.
38997 [C99-based-standards] (SCNoPTR): Likewise.
38998 [C99-based-standards] (SCNuPTR): Likewise.
38999 [C99-based-standards] (SCNxPTR): Likewise.
39000 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39002 * conform/data/stdint.h-data: Update comments to clarify
39004 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39006 [C99-based standards] (INT8_MAX): Likewise.
39007 [C99-based standards] (INT16_MIN): Likewise.
39008 [C99-based standards] (INT16_MAX): Likewise.
39009 [C99-based standards] (INT32_MIN): Likewise.
39010 [C99-based standards] (INT32_MAX): Likewise.
39011 [C99-based standards] (INT64_MIN): Likewise.
39012 [C99-based standards] (INT64_MAX): Likewise.
39013 [C99-based standards] (UINT8_MAX): Likewise.
39014 [C99-based standards] (UINT16_MAX): Likewise.
39015 [C99-based standards] (UINT32_MAX): Likewise.
39016 [C99-based standards] (UINT64_MAX): Likewise.
39017 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39018 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39019 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39020 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39021 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39022 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39023 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39024 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39025 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39026 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39027 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39028 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39029 [C99-based standards] (INT_FAST8_MIN): Likewise.
39030 [C99-based standards] (INT_FAST8_MAX): Likewise.
39031 [C99-based standards] (INT_FAST16_MIN): Likewise.
39032 [C99-based standards] (INT_FAST16_MAX): Likewise.
39033 [C99-based standards] (INT_FAST32_MIN): Likewise.
39034 [C99-based standards] (INT_FAST32_MAX): Likewise.
39035 [C99-based standards] (INT_FAST64_MIN): Likewise.
39036 [C99-based standards] (INT_FAST64_MAX): Likewise.
39037 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39038 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39039 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39040 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39041 [C99-based standards] (INTPTR_MIN): Likewise.
39042 [C99-based standards] (INTPTR_MAX): Likewise.
39043 [C99-based standards] (UINTPTR_MAX): Likewise.
39044 [C99-based standards] (INTMAX_MIN): Likewise.
39045 [C99-based standards] (INTMAX_MAX): Likewise.
39046 [C99-based standards] (UINTMAX_MAX): Likewise.
39047 [C99-based standards] (PTRDIFF_MIN): Likewise.
39048 [C99-based standards] (PTRDIFF_MAX): Likewise.
39049 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39050 [C99-based standards] (SIZE_MAX): Likewise.
39051 [C99-based standards] (WCHAR_MAX): Likewise.
39052 [C99-based standards] (WINT_MAX): Likewise.
39053 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39054 constraint on value.
39055 [C99-based standards] (WCHAR_MIN): Likewise.
39056 [C99-based standards] (WINT_MIN): Likewise.
39057 [C99-based standards] (*_t): Allow.
39058 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39059 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39060 Include math.h-data and complex.h-data. Remove all expectations
39061 of math.h and complex.h contents.
39062 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39064 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39065 (struct tm): Expect tag.
39066 [C99-based-standards] (wcstof): Expect function.
39067 [C99-based-standards] (wcstold): Likewise.
39068 [C99-based-standards] (wcstoll): Likewise.
39069 [C99-based-standards] (wcstoull): Likewise.
39070 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39071 macro-int-constant. Specify type.
39072 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39073 constraint on value.
39074 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39076 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39078 [ISO C standards]: Do not allow headers.
39079 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39080 wcs[abcdefghijklmnopqrstuvwxyz]*.
39081 [ISO C standards] (*_t): Do not allow.
39082 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39084 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39085 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39087 [ISO C standards]: Do not allow headers.
39088 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39089 is[abcdefghijklmnopqrstuvwxyz]*.
39090 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39091 to[abcdefghijklmnopqrstuvwxyz]*.
39092 [ISO C standards] (*_t): Do not allow.
39093 * conform/data/stdalign.h-data: New file.
39094 * conform/data/stdbool.h-data: Likewise.
39095 * conform/data/stdnoreturn.h-data: Likewise.
39097 2012-11-07 Roland McGrath <roland@hack.frob.com>
39100 * manual/filesys.texi (Directory Entries): Typo fix.
39101 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39103 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39105 * elf/elf.h (EM_AARCH64): New macro.
39106 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39107 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39108 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39109 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39110 (R_AARCH64_TLSDESC): Likewise.
39111 (NT_ARM_TLS): Likewise.
39112 (NT_ARM_HW_BREAK): Likewise.
39113 (NT_ARM_HW_WATCH): Likewise.
39115 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39118 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39119 (__ieee754_powl): Saturate nonzero exponents with absolute value
39120 below 0x1p-79 to +/- 0x1p-79.
39121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39122 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39123 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39124 nonzero exponents with absolute value below 0x1p-32 to +/-
39126 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39127 (__ieee754_powl): Saturate nonzero exponents with absolute value
39128 below 0x1p-79 to +/- 0x1p-79.
39129 * math/libm-test.inc (pow_test): Add more tests.
39131 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39133 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39134 _dl_s390_cap_flags with kernel. Increase string length.
39135 (_dl_s390_platforms): Add z196 and zEC12.
39137 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39139 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39140 Change XOPEN21K to XOPEN2K.
39142 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39144 * string/memmove.c: Use memcpy when possible.
39146 2012-11-06 Andreas Jaeger <aj@suse.de>
39148 * po/eo.po: Update from translation team.
39150 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39154 exponent and small x and y exponents, scale x or y up. Increase
39155 by 2 the exponent used in scaling up.
39156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39157 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39158 * math/libm-test.inc (fma_test): Add more tests.
39159 (fma_test_towardzero): Likewise.
39160 (fma_test_downward): Likewise.
39161 (fma_test_upward): Likewise.
39163 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39166 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39170 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39171 namespace for names of struct fields.
39172 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39174 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39175 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39177 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39180 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39182 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39184 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39188 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39191 2012-11-04 Joseph Myers <joseph@codesourcery.com>
39194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39195 definitely overflow as x * y not x * y + z.
39196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39198 * math/libm-test.inc (fma_test): Add more tests.
39199 (fma_test_towardzero): Likewise.
39200 (fma_test_downward): Likewise.
39201 (fma_test_upward): Likewise.
39203 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39207 * include/stub-tag.h: Remove file.
39208 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39210 * manual/maint.texi (Porting): Don't reference it.
39211 * Makerules ($(objpfx)stubs): Likewise.
39212 * dirent/closedir.c: Don't include <stub-tag.h>.
39213 * dirent/dirfd.c: Likewise.
39214 * dirent/fdopendir.c: Likewise.
39215 * dirent/getdents.c: Likewise.
39216 * dirent/getdents64.c: Likewise.
39217 * dirent/opendir.c: Likewise.
39218 * dirent/readdir.c: Likewise.
39219 * dirent/readdir64.c: Likewise.
39220 * dirent/readdir64_r.c: Likewise.
39221 * dirent/readdir_r.c: Likewise.
39222 * dirent/rewinddir.c: Likewise.
39223 * dirent/seekdir.c: Likewise.
39224 * dirent/telldir.c: Likewise.
39225 * gmon/profil.c: Likewise.
39226 * grp/setgroups.c: Likewise.
39227 * inet/if_index.c: Likewise.
39228 * io/access.c: Likewise.
39229 * io/chdir.c: Likewise.
39230 * io/chmod.c: Likewise.
39231 * io/chown.c: Likewise.
39232 * io/close.c: Likewise.
39233 * io/dup.c: Likewise.
39234 * io/dup2.c: Likewise.
39235 * io/dup3.c: Likewise.
39236 * io/euidaccess.c: Likewise.
39237 * io/faccessat.c: Likewise.
39238 * io/fchdir.c: Likewise.
39239 * io/fchmod.c: Likewise.
39240 * io/fchmodat.c: Likewise.
39241 * io/fchown.c: Likewise.
39242 * io/fchownat.c: Likewise.
39243 * io/fcntl.c: Likewise.
39244 * io/flock.c: Likewise.
39245 * io/fstatfs.c: Likewise.
39246 * io/fstatfs64.c: Likewise.
39247 * io/fstatvfs.c: Likewise.
39248 * io/fstatvfs64.c: Likewise.
39249 * io/futimens.c: Likewise.
39250 * io/fxstat.c: Likewise.
39251 * io/fxstat64.c: Likewise.
39252 * io/fxstatat.c: Likewise.
39253 * io/fxstatat64.c: Likewise.
39254 * io/getcwd.c: Likewise.
39255 * io/isatty.c: Likewise.
39256 * io/lchmod.c: Likewise.
39257 * io/lchown.c: Likewise.
39258 * io/link.c: Likewise.
39259 * io/linkat.c: Likewise.
39260 * io/lseek.c: Likewise.
39261 * io/lseek64.c: Likewise.
39262 * io/lxstat64.c: Likewise.
39263 * io/mkdir.c: Likewise.
39264 * io/mkdirat.c: Likewise.
39265 * io/mkfifo.c: Likewise.
39266 * io/mkfifoat.c: Likewise.
39267 * io/open.c: Likewise.
39268 * io/open64.c: Likewise.
39269 * io/openat.c: Likewise.
39270 * io/openat64.c: Likewise.
39271 * io/pipe.c: Likewise.
39272 * io/pipe2.c: Likewise.
39273 * io/poll.c: Likewise.
39274 * io/posix_fadvise.c: Likewise.
39275 * io/posix_fadvise64.c: Likewise.
39276 * io/posix_fallocate.c: Likewise.
39277 * io/posix_fallocate64.c: Likewise.
39278 * io/read.c: Likewise.
39279 * io/readlink.c: Likewise.
39280 * io/readlinkat.c: Likewise.
39281 * io/rmdir.c: Likewise.
39282 * io/sendfile.c: Likewise.
39283 * io/sendfile64.c: Likewise.
39284 * io/statfs.c: Likewise.
39285 * io/statfs64.c: Likewise.
39286 * io/statvfs.c: Likewise.
39287 * io/statvfs64.c: Likewise.
39288 * io/symlink.c: Likewise.
39289 * io/symlinkat.c: Likewise.
39290 * io/ttyname.c: Likewise.
39291 * io/ttyname_r.c: Likewise.
39292 * io/umask.c: Likewise.
39293 * io/unlink.c: Likewise.
39294 * io/unlinkat.c: Likewise.
39295 * io/utime.c: Likewise.
39296 * io/utimensat.c: Likewise.
39297 * io/write.c: Likewise.
39298 * io/xmknod.c: Likewise.
39299 * io/xmknodat.c: Likewise.
39300 * io/xstat.c: Likewise.
39301 * io/xstat64.c: Likewise.
39302 * login/getpt.c: Likewise.
39303 * login/grantpt.c: Likewise.
39304 * login/unlockpt.c: Likewise.
39305 * math/e_acoshl.c: Likewise.
39306 * math/e_acosl.c: Likewise.
39307 * math/e_asinl.c: Likewise.
39308 * math/e_atan2l.c: Likewise.
39309 * math/e_atanhl.c: Likewise.
39310 * math/e_coshl.c: Likewise.
39311 * math/e_expl.c: Likewise.
39312 * math/e_fmodl.c: Likewise.
39313 * math/e_gammal_r.c: Likewise.
39314 * math/e_hypotl.c: Likewise.
39315 * math/e_j0l.c: Likewise.
39316 * math/e_j1l.c: Likewise.
39317 * math/e_jnl.c: Likewise.
39318 * math/e_lgammal_r.c: Likewise.
39319 * math/e_log10l.c: Likewise.
39320 * math/e_log2l.c: Likewise.
39321 * math/e_logl.c: Likewise.
39322 * math/e_powl.c: Likewise.
39323 * math/e_rem_pio2l.c: Likewise.
39324 * math/e_sinhl.c: Likewise.
39325 * math/e_sqrtl.c: Likewise.
39326 * math/fclrexcpt.c: Likewise.
39327 * math/fedisblxcpt.c: Likewise.
39328 * math/feenablxcpt.c: Likewise.
39329 * math/fegetenv.c: Likewise.
39330 * math/fegetexcept.c: Likewise.
39331 * math/fegetround.c: Likewise.
39332 * math/feholdexcpt.c: Likewise.
39333 * math/fesetenv.c: Likewise.
39334 * math/fesetround.c: Likewise.
39335 * math/feupdateenv.c: Likewise.
39336 * math/fgetexcptflg.c: Likewise.
39337 * math/fraiseexcpt.c: Likewise.
39338 * math/fsetexcptflg.c: Likewise.
39339 * math/ftestexcept.c: Likewise.
39340 * math/k_cosl.c: Likewise.
39341 * math/k_rem_pio2l.c: Likewise.
39342 * math/k_sinl.c: Likewise.
39343 * math/k_tanl.c: Likewise.
39344 * math/s_asinhl.c: Likewise.
39345 * math/s_atanl.c: Likewise.
39346 * math/s_cbrtl.c: Likewise.
39347 * math/s_erfl.c: Likewise.
39348 * math/s_expm1l.c: Likewise.
39349 * math/s_log1pl.c: Likewise.
39350 * math/s_tanhl.c: Likewise.
39351 * misc/acct.c: Likewise.
39352 * misc/brk.c: Likewise.
39353 * misc/chflags.c: Likewise.
39354 * misc/chroot.c: Likewise.
39355 * misc/fchflags.c: Likewise.
39356 * misc/fgetxattr.c: Likewise.
39357 * misc/flistxattr.c: Likewise.
39358 * misc/fremovexattr.c: Likewise.
39359 * misc/fsetxattr.c: Likewise.
39360 * misc/fsync.c: Likewise.
39361 * misc/ftruncate.c: Likewise.
39362 * misc/futimes.c: Likewise.
39363 * misc/futimesat.c: Likewise.
39364 * misc/getdomain.c: Likewise.
39365 * misc/getdtsz.c: Likewise.
39366 * misc/gethostid.c: Likewise.
39367 * misc/gethostname.c: Likewise.
39368 * misc/getloadavg.c: Likewise.
39369 * misc/getpagesize.c: Likewise.
39370 * misc/getsysstats.c: Likewise.
39371 * misc/getxattr.c: Likewise.
39372 * misc/gtty.c: Likewise.
39373 * misc/ioctl.c: Likewise.
39374 * misc/lgetxattr.c: Likewise.
39375 * misc/listxattr.c: Likewise.
39376 * misc/llistxattr.c: Likewise.
39377 * misc/lremovexattr.c: Likewise.
39378 * misc/lsetxattr.c: Likewise.
39379 * misc/lutimes.c: Likewise.
39380 * misc/madvise.c: Likewise.
39381 * misc/mincore.c: Likewise.
39382 * misc/mlock.c: Likewise.
39383 * misc/mlockall.c: Likewise.
39384 * misc/mmap.c: Likewise.
39385 * misc/mprotect.c: Likewise.
39386 * misc/msync.c: Likewise.
39387 * misc/munlock.c: Likewise.
39388 * misc/munlockall.c: Likewise.
39389 * misc/munmap.c: Likewise.
39390 * misc/preadv.c: Likewise.
39391 * misc/preadv64.c: Likewise.
39392 * misc/ptrace.c: Likewise.
39393 * misc/pwritev.c: Likewise.
39394 * misc/pwritev64.c: Likewise.
39395 * misc/readv.c: Likewise.
39396 * misc/reboot.c: Likewise.
39397 * misc/remap_file_pages.c: Likewise.
39398 * misc/removexattr.c: Likewise.
39399 * misc/revoke.c: Likewise.
39400 * misc/select.c: Likewise.
39401 * misc/setdomain.c: Likewise.
39402 * misc/setegid.c: Likewise.
39403 * misc/seteuid.c: Likewise.
39404 * misc/sethostid.c: Likewise.
39405 * misc/sethostname.c: Likewise.
39406 * misc/setregid.c: Likewise.
39407 * misc/setreuid.c: Likewise.
39408 * misc/setxattr.c: Likewise.
39409 * misc/sstk.c: Likewise.
39410 * misc/stty.c: Likewise.
39411 * misc/swapoff.c: Likewise.
39412 * misc/swapon.c: Likewise.
39413 * misc/sync.c: Likewise.
39414 * misc/syncfs.c: Likewise.
39415 * misc/syscall.c: Likewise.
39416 * misc/truncate.c: Likewise.
39417 * misc/ualarm.c: Likewise.
39418 * misc/usleep.c: Likewise.
39419 * misc/ustat.c: Likewise.
39420 * misc/utimes.c: Likewise.
39421 * misc/vhangup.c: Likewise.
39422 * misc/writev.c: Likewise.
39423 * posix/_exit.c: Likewise.
39424 * posix/alarm.c: Likewise.
39425 * posix/execve.c: Likewise.
39426 * posix/fexecve.c: Likewise.
39427 * posix/fork.c: Likewise.
39428 * posix/fpathconf.c: Likewise.
39429 * posix/getaddrinfo.c: Likewise.
39430 * posix/getegid.c: Likewise.
39431 * posix/geteuid.c: Likewise.
39432 * posix/getgid.c: Likewise.
39433 * posix/getgroups.c: Likewise.
39434 * posix/getlogin.c: Likewise.
39435 * posix/getlogin_r.c: Likewise.
39436 * posix/getpgid.c: Likewise.
39437 * posix/getpid.c: Likewise.
39438 * posix/getppid.c: Likewise.
39439 * posix/getresgid.c: Likewise.
39440 * posix/getresuid.c: Likewise.
39441 * posix/getsid.c: Likewise.
39442 * posix/getuid.c: Likewise.
39443 * posix/glob64.c: Likewise.
39444 * posix/nanosleep.c: Likewise.
39445 * posix/pathconf.c: Likewise.
39446 * posix/pause.c: Likewise.
39447 * posix/posix_madvise.c: Likewise.
39448 * posix/pread.c: Likewise.
39449 * posix/pread64.c: Likewise.
39450 * posix/pwrite.c: Likewise.
39451 * posix/pwrite64.c: Likewise.
39452 * posix/sched_getaffinity.c: Likewise.
39453 * posix/sched_getp.c: Likewise.
39454 * posix/sched_gets.c: Likewise.
39455 * posix/sched_primax.c: Likewise.
39456 * posix/sched_primin.c: Likewise.
39457 * posix/sched_rr_gi.c: Likewise.
39458 * posix/sched_setaffinity.c: Likewise.
39459 * posix/sched_setp.c: Likewise.
39460 * posix/sched_sets.c: Likewise.
39461 * posix/sched_yield.c: Likewise.
39462 * posix/setgid.c: Likewise.
39463 * posix/setlogin.c: Likewise.
39464 * posix/setpgid.c: Likewise.
39465 * posix/setresgid.c: Likewise.
39466 * posix/setresuid.c: Likewise.
39467 * posix/setsid.c: Likewise.
39468 * posix/setuid.c: Likewise.
39469 * posix/sleep.c: Likewise.
39470 * posix/spawni.c: Likewise.
39471 * posix/sysconf.c: Likewise.
39472 * posix/times.c: Likewise.
39473 * posix/wait.c: Likewise.
39474 * posix/wait3.c: Likewise.
39475 * posix/wait4.c: Likewise.
39476 * posix/waitpid.c: Likewise.
39477 * resolv/gai_sigqueue.c: Likewise.
39478 * resource/getpriority.c: Likewise.
39479 * resource/getrlimit.c: Likewise.
39480 * resource/getrusage.c: Likewise.
39481 * resource/nice.c: Likewise.
39482 * resource/setpriority.c: Likewise.
39483 * resource/setrlimit.c: Likewise.
39484 * resource/ulimit.c: Likewise.
39485 * rt/aio_cancel.c: Likewise.
39486 * rt/aio_fsync.c: Likewise.
39487 * rt/aio_read.c: Likewise.
39488 * rt/aio_sigqueue.c: Likewise.
39489 * rt/aio_suspend.c: Likewise.
39490 * rt/aio_write.c: Likewise.
39491 * rt/clock_getres.c: Likewise.
39492 * rt/clock_gettime.c: Likewise.
39493 * rt/clock_nanosleep.c: Likewise.
39494 * rt/clock_settime.c: Likewise.
39495 * rt/lio_listio.c: Likewise.
39496 * rt/mq_close.c: Likewise.
39497 * rt/mq_getattr.c: Likewise.
39498 * rt/mq_notify.c: Likewise.
39499 * rt/mq_open.c: Likewise.
39500 * rt/mq_receive.c: Likewise.
39501 * rt/mq_send.c: Likewise.
39502 * rt/mq_setattr.c: Likewise.
39503 * rt/mq_timedreceive.c: Likewise.
39504 * rt/mq_timedsend.c: Likewise.
39505 * rt/mq_unlink.c: Likewise.
39506 * rt/shm_open.c: Likewise.
39507 * rt/shm_unlink.c: Likewise.
39508 * rt/timer_create.c: Likewise.
39509 * rt/timer_delete.c: Likewise.
39510 * rt/timer_getoverr.c: Likewise.
39511 * rt/timer_gettime.c: Likewise.
39512 * rt/timer_settime.c: Likewise.
39513 * setjmp/__longjmp.c: Likewise.
39514 * setjmp/setjmp.c: Likewise.
39515 * signal/kill.c: Likewise.
39516 * signal/killpg.c: Likewise.
39517 * signal/raise.c: Likewise.
39518 * signal/sigaction.c: Likewise.
39519 * signal/sigaltstack.c: Likewise.
39520 * signal/sigblock.c: Likewise.
39521 * signal/sigignore.c: Likewise.
39522 * signal/sigintr.c: Likewise.
39523 * signal/signal.c: Likewise.
39524 * signal/sigpause.c: Likewise.
39525 * signal/sigpending.c: Likewise.
39526 * signal/sigqueue.c: Likewise.
39527 * signal/sigreturn.c: Likewise.
39528 * signal/sigset.c: Likewise.
39529 * signal/sigsetmask.c: Likewise.
39530 * signal/sigstack.c: Likewise.
39531 * signal/sigsuspend.c: Likewise.
39532 * signal/sigtimedwait.c: Likewise.
39533 * signal/sigvec.c: Likewise.
39534 * signal/sigwait.c: Likewise.
39535 * signal/sigwaitinfo.c: Likewise.
39536 * signal/sysv_signal.c: Likewise.
39537 * socket/accept.c: Likewise.
39538 * socket/accept4.c: Likewise.
39539 * socket/bind.c: Likewise.
39540 * socket/connect.c: Likewise.
39541 * socket/getpeername.c: Likewise.
39542 * socket/getsockname.c: Likewise.
39543 * socket/getsockopt.c: Likewise.
39544 * socket/isfdtype.c: Likewise.
39545 * socket/listen.c: Likewise.
39546 * socket/recv.c: Likewise.
39547 * socket/recvfrom.c: Likewise.
39548 * socket/recvmsg.c: Likewise.
39549 * socket/send.c: Likewise.
39550 * socket/sendmsg.c: Likewise.
39551 * socket/sendto.c: Likewise.
39552 * socket/setsockopt.c: Likewise.
39553 * socket/shutdown.c: Likewise.
39554 * socket/sockatmark.c: Likewise.
39555 * socket/socket.c: Likewise.
39556 * socket/socketpair.c: Likewise.
39557 * stdio-common/ctermid.c: Likewise.
39558 * stdio-common/cuserid.c: Likewise.
39559 * stdio-common/remove.c: Likewise.
39560 * stdio-common/rename.c: Likewise.
39561 * stdio-common/renameat.c: Likewise.
39562 * stdio-common/tempname.c: Likewise.
39563 * stdlib/getcontext.c: Likewise.
39564 * stdlib/makecontext.c: Likewise.
39565 * stdlib/setcontext.c: Likewise.
39566 * stdlib/swapcontext.c: Likewise.
39567 * stdlib/system.c: Likewise.
39568 * streams/fattach.c: Likewise.
39569 * streams/fdetach.c: Likewise.
39570 * streams/getmsg.c: Likewise.
39571 * streams/getpmsg.c: Likewise.
39572 * streams/putmsg.c: Likewise.
39573 * streams/putpmsg.c: Likewise.
39574 * sysdeps/unix/bsd/getpt.c: Likewise.
39575 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39576 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39577 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39580 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39581 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39582 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39583 * sysvipc/msgctl.c: Likewise.
39584 * sysvipc/msgget.c: Likewise.
39585 * sysvipc/msgrcv.c: Likewise.
39586 * sysvipc/msgsnd.c: Likewise.
39587 * sysvipc/semctl.c: Likewise.
39588 * sysvipc/semget.c: Likewise.
39589 * sysvipc/semop.c: Likewise.
39590 * sysvipc/semtimedop.c: Likewise.
39591 * sysvipc/shmat.c: Likewise.
39592 * sysvipc/shmctl.c: Likewise.
39593 * sysvipc/shmdt.c: Likewise.
39594 * sysvipc/shmget.c: Likewise.
39595 * termios/tcdrain.c: Likewise.
39596 * termios/tcflow.c: Likewise.
39597 * termios/tcflush.c: Likewise.
39598 * termios/tcgetattr.c: Likewise.
39599 * termios/tcgetpgrp.c: Likewise.
39600 * termios/tcsendbrk.c: Likewise.
39601 * termios/tcsetattr.c: Likewise.
39602 * termios/tcsetpgrp.c: Likewise.
39603 * time/adjtime.c: Likewise.
39604 * time/clock.c: Likewise.
39605 * time/getitimer.c: Likewise.
39606 * time/gettimeofday.c: Likewise.
39607 * time/setitimer.c: Likewise.
39608 * time/settimeofday.c: Likewise.
39609 * time/stime.c: Likewise.
39610 * time/time.c: Likewise.
39612 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39614 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39617 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39619 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39621 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39625 FE_TONEAREST before applying Dekker multiplication and Knuth
39626 addition. Clear inexact exceptions and check for exact zero
39627 results afterwards.
39628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39629 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39631 * math/libm-test.inc (fma_test): Add more tests.
39632 (fma_test_towardzero): Likewise.
39633 (fma_test_downward): Likewise.
39634 (fma_test_upward): Likewise.
39635 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39637 (libc_fesetround): New macro.
39638 (libc_fesetroundf): Likewise.
39639 (libc_fesetroundl): Likewise.
39640 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39642 (libc_fesetround_387): Likewise.
39643 (libc_fesetroundf): New macro.
39644 (libc_fesetround): Likewise.
39645 (libc_fesetroundl): Likewise.
39646 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39648 (libc_fesetroundf): New macro.
39649 (libc_fesetround): Likewise.
39650 (libc_fesetroundl): Likewise.
39651 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39652 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39653 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39655 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39656 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39658 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39659 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39661 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39665 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39666 integer constant usable in #if and use that to give value to enum
39668 (FE_DIVBYZERO): Likewise.
39669 (FE_UNDERFLOW): Likewise.
39670 (FE_OVERFLOW): Likewise.
39671 (FE_INVALID): Likewise.
39672 (FE_INVALID_SNAN): Likewise.
39673 (FE_INVALID_ISI): Likewise.
39674 (FE_INVALID_IDI): Likewise.
39675 (FE_INVALID_ZDZ): Likewise.
39676 (FE_INVALID_IMZ): Likewise.
39677 (FE_INVALID_COMPARE): Likewise.
39678 (FE_INVALID_SOFTWARE): Likewise.
39679 (FE_INVALID_SQRT): Likewise.
39680 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39681 (FE_TONEAREST): Likewise.
39682 (FE_TOWARDZERO): Likewise.
39683 (FE_UPWARD): Likewise.
39684 (FE_DOWNWARD): Likewise.
39685 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39686 (FE_DIVBYZERO): Likewise.
39687 (FE_OVERFLOW): Likewise.
39688 (FE_UNDERFLOW): Likewise.
39689 (FE_INEXACT): Likewise.
39690 (FE_TONEAREST): Likewise.
39691 (FE_DOWNWARD): Likewise.
39692 (FE_UPWARD): Likewise.
39693 (FE_TOWARDZERO): Likewise.
39694 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39695 (FE_UNDERFLOW): Likewise.
39696 (FE_OVERFLOW): Likewise.
39697 (FE_DIVBYZERO): Likewise.
39698 (FE_INVALID): Likewise.
39699 (FE_TONEAREST): Likewise.
39700 (FE_TOWARDZERO): Likewise.
39701 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39702 (FE_OVERFLOW): Likewise.
39703 (FE_UNDERFLOW): Likewise.
39704 (FE_DIVBYZERO): Likewise.
39705 (FE_INEXACT): Likewise.
39706 (FE_TONEAREST): Likewise.
39707 (FE_TOWARDZERO): Likewise.
39708 (FE_UPWARD): Likewise.
39709 (FE_DOWNWARD): Likewise.
39710 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39711 (FE_DIVBYZERO): Likewise.
39712 (FE_OVERFLOW): Likewise.
39713 (FE_UNDERFLOW): Likewise.
39714 (FE_INEXACT): Likewise.
39715 (FE_TONEAREST): Likewise.
39716 (FE_DOWNWARD): Likewise.
39717 (FE_UPWARD): Likewise.
39718 (FE_TOWARDZERO): Likewise.
39720 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39722 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39724 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39726 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39727 commands. Quote $PWD.
39728 (blacklist_exports): Don't use remove_newlines. Replace "declare
39730 (remove_newlines): Remove.
39732 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39734 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39735 * stdlib/stdlib.h (atof): Moved to ...
39736 * include/bits/stdlib-float.h: Here. New file.
39737 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39738 * stdlib/bits/stdlib-float.h: New file.
39739 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39741 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39744 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39746 * conform/conformtest.pl (@headers): Add fenv.h.
39747 * conform/data/fenv.h-data: New file.
39748 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39749 include of <math/fenv.h>.
39751 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39752 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39753 && !UNIX98]. Enables tests for XOPEN2K8.
39754 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39755 POSIX2008]: Likewise.
39757 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39758 (struct rusage): Do not expect type or its members.
39761 * math/math.h (FP_NAN): Define macro to integer constant usable in
39762 #if and use that to give value to enum constant.
39763 (FP_INFINITE): Likewise.
39764 (FP_ZERO): Likewise.
39765 (FP_SUBNORMAL): Likewise.
39766 (FP_NORMAL): Likewise.
39768 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39770 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39771 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39774 2012-11-02 Roland McGrath <roland@hack.frob.com>
39776 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39777 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39778 autoconf-time if not.
39779 * configure.in: Remove AC_PREREQ.
39781 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39783 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39784 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39785 of the internal implementation.
39787 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39789 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39790 except include of <misc/sys/syslog.h>.
39792 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39795 function returns with a NULL context exit with zero.
39797 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39799 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39801 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39803 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39804 (run_program_cmd): This.
39805 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39806 (tst_langinfo): New variable. Use it.
39808 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39810 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39811 floating point opcodes.
39813 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39815 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39818 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39820 * sysdeps/mach/hurd/powerpc: Remove directory.
39821 * sysdeps/mach/powerpc: Likewise.
39823 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39825 * scripts/check-local-headers.sh: Ignore c++ headers.
39827 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39829 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39830 __libc_cleanup_region_start argument.
39832 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39837 x * y using scaling, not as x * y + z.
39838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39840 * math/libm-test.inc (fma_test): Add more tests.
39841 (fma_test_towardzero): Likewise.
39842 (fma_test_downward): Likewise.
39843 (fma_test_upward): Likewise.
39845 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39847 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39849 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39851 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39854 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39856 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39858 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39865 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39868 Fix the order of the list for glibc 2.17.
39869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39872 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39876 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39880 for low part of x being zero before using __atanl (y).
39881 * math/libm-test.inc (atan2_test): Add another test.
39883 * manual/install.texi (Configuring and compiling): Document
39884 general use of test-wrapper and test-wrapper-env.
39885 * INSTALL: Regenerated.
39887 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39888 (__fma): Do not extract and scale down low bits on after-rounding
39889 systems when result rounded to normal precision would have normal
39891 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39892 (__fmal): Do not extract and scale down low bits on after-rounding
39893 systems when result rounded to normal precision would have normal
39895 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39896 (__fmal): Do not extract and scale down low bits on after-rounding
39897 systems when result rounded to normal precision would have normal
39899 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39901 (fma_test): Add more tests.
39902 (fma_test_towardzero): Likewise.
39903 (fma_test_downward): Likewise.
39904 (fma_test_upward): Likewise.
39906 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39908 * sysdeps/i386/tininess.h: Renamed to ...
39909 * sysdeps/x86/tininess.h: This.
39910 * sysdeps/x86_64/tininess.h: Removed.
39912 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39914 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39915 input. Use $(build-program-cmd).
39916 ($(objpfx)tst-array1-static.out): Likewise.
39917 ($(objpfx)tst-array2.out): Likewise.
39918 ($(objpfx)tst-array3.out): Likewise.
39919 ($(objpfx)tst-array4.out): Likewise.
39920 ($(objpfx)tst-array5.out): Likewise.
39921 ($(objpfx)tst-array5-static.out): Likewise.
39923 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39925 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39928 * nss/nsswitch.h (nss_interface_function): Provide new
39929 macro for use with NSS functions.
39930 * grp/initgroups.c: Use new macro.
39931 * nss/getXXbyYY.c: Likewise.
39932 * nss/getXXbyYY_r.c: Likewise.
39933 * nss/getXXent.c: Likewise.
39934 * nss/getXXent_r.c: Likewise.
39935 * sysdeps/posix/getaddrinfo.c: Likewise.
39937 2012-10-30 Andreas Jaeger <aj@suse.de>
39939 * po/ru.po: Update Russion translation from translation project.
39941 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39946 result and shift together with sticky bit instead of replicating
39947 round-to-nearest rounding.
39948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39949 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39950 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39951 missing underflow exceptions.
39952 (fma_test_towardzero): Add more tests.
39953 (fma_test_downward): Likewise.
39954 (fma_test_upward): Likewise.
39957 * sysdeps/generic/tininess.h: New file.
39958 * sysdeps/i386/tininess.h: Likewise.
39959 * sysdeps/sh/tininess.h: Likewise.
39960 * sysdeps/x86_64/tininess.h: Likewise.
39961 * stdlib/tst-strtod-underflow.c: Likewise.
39962 * stdlib/tst-tininess.c: Likewise.
39963 * stdlib/strtod_l.c: Include <tininess.h>.
39964 (round_and_return): Do not set errno for exact underflow cases.
39965 Force an underflow exception when setting errno for underflow.
39966 Determine underflow based on rounding to normal precision if
39967 TININESS_AFTER_ROUNDING.
39968 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39969 ERANGE for exact underflow cases.
39970 * stdlib/Makefile (tests): Add tst-tininess and
39971 tst-strtod-underflow.
39972 ($(objpfx)tst-tininess): Use $(link-libm).
39973 ($(objpfx)tst-strtod-underflow): Likewise.
39975 2012-10-30 Andreas Jaeger <aj@suse.de>
39978 * elf/Makefile (tests): Remove conditional for have-initfini-array
39979 since this is now always required and the variable does not exist
39981 (tests-static): Likewise.
39982 (modules-names): Likewise.
39984 * po/eo.po: Add Esperanto translation from translation project.
39986 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39987 merged with constructor/destructor.
39988 (init_array): Likewise.
39989 * elf/tst-array2dep.c (fini_array): Likewise.
39990 (init_array): Likewise.
39992 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39994 * manual/message.texi: Delete @cartouche tags.
39996 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39998 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40000 * sysdeps/mach/hurd/fsync.c: Likewise.
40002 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40003 [_POSIX_REALTIME_SIGNALS]: Change condition to
40004 [_POSIX_REALTIME_SIGNALS > 0].
40006 2012-10-27 Andreas Jaeger <aj@suse.de>
40008 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40009 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40011 [__WORDSIZE != 64]: Likewise.
40013 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40015 * iconvdata/tst-table.sh: Remove ${SHELL}.
40016 * iconvdata/tst-tables.sh: Likewise.
40018 2012-10-25 David S. Miller <davem@davemloft.net>
40020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40021 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40026 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40027 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40028 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40031 2012-10-25 Roland McGrath <roland@hack.frob.com>
40033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40034 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40037 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40038 Jim Blandy <jimb@codesourcery.com>
40040 * scripts/cross-test-ssh.sh: New file.
40041 * manual/install.texi (Configuring and compiling): Document use of
40043 * INSTALL: Regenerated.
40045 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40047 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40050 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40052 * Makeconfig (run-program-prefix): Fix comment.
40054 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40055 Jim Blandy <jimb@codesourcery.com>
40057 * Makeconfig (test-wrapper): New variable,
40058 (test-wrapper-env): Likewise.
40059 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40060 (run-built-tests): Define to yes.
40061 (run-program-prefix): Use $(test-wrapper).
40062 (built-program-cmd): Likewise.
40063 * Rules (make-test-out): Use $(test-wrapper-env) and
40064 $(host-built-program-cmd).
40065 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40066 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40068 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40069 $(test-wrapper-env) to tst-rtld-load-self.sh.
40070 ($(objpfx)order2.out): Use $(test-wrapper).
40071 ($(objpfx)tst-initorder.out): Likewise.
40072 ($(objpfx)tst-initorder2.out): Likewise.
40073 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40074 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40075 (test_wrapper_env): New variable. Use it to run ld.so.
40076 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40077 Use it to run ld.so.
40078 (test_wrapper_env): Likewise.
40079 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40080 $(test-wrapper) to run-iconv-test.sh.
40081 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40082 (ICONV): Use $test_wrapper.
40083 * posix/Makefile ($(objpfx)globtest.out): Pass
40084 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40085 globtest.sh, not $(run-program-prefix).
40086 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40087 (test_wrapper): Likewise.
40088 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40089 set together with run_via_rtld_prefix.
40090 (run_program_prefix): Define in terms of test_wrapper and
40091 run_via_rtld_prefix.
40093 2012-10-24 Roland McGrath <roland@hack.frob.com>
40095 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40096 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40100 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40101 Declare __clock_getres, __clock_gettime, __clock_settime,
40102 __clock_nanosleep, and __clock_getcpuclockid.
40103 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40104 Remove librt_hidden_def (clock_gettime).
40105 * sysdeps/unix/clock_gettime.c: Likewise.
40106 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40107 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40108 * rt/clock_getres.c: Define __clock_getres as an alias.
40109 * sysdeps/posix/clock_getres.c: Likewise.
40110 * rt/clock_settime.c: Define __clock_settime as an alias.
40111 * sysdeps/unix/clock_settime.c: Likewise.
40112 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40113 * sysdeps/unix/clock_nanosleep.c: Likewise.
40114 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40115 * rt/clock-compat.c: New file.
40116 * rt/Makefile (librt-routines): Add clock-compat and move
40117 $(clock-routines) to ...
40118 (routines): ... here, new variable.
40119 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40120 Don't add get_clockfreq here.
40121 * rt/Versions (libc: GLIBC_2.17): New version set.
40122 Add clock_* symbols here.
40123 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40124 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40125 (GLIBC_2.17): Add clock_* symbols.
40126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40137 * NEWS: Mention the move.
40139 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40140 Use __open, __read, __close rather than their public counterparts.
40141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40142 (__get_clockfreq_via_cpuinfo): Likewise.
40143 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40144 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40146 * config.h.in (HAVE_IFUNC): New #undef.
40147 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40149 * configure: Regenerated.
40151 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40153 * configure.in: Move READELF check to start of file.
40154 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40155 libc_cv_asm_gnu_indirect_function in the process.
40156 * configure: Regenerated.
40158 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40160 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40161 send the output to /dev/null.
40162 (libc_cv_cc_with_libunwind): Likewise.
40163 (libc_cv_as_noexecstack): Likewise.
40164 * configure: Regenerate.
40166 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40168 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40170 * posix/globtest.sh (TMPDIR): Do not set.
40171 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40172 (testout): Likewise.
40174 2012-10-24 Andreas Jaeger <aj@suse.de>
40176 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40177 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40178 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40179 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40180 posix_fadvise64, posix_fallocate64.
40182 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40183 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40184 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40186 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40188 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40191 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40192 <bits/fcntl-linux.h>.
40193 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40196 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40197 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40198 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40199 [__WORDSIZE != 64]: Likewise.
40201 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40203 * Makeconfig (run-built-tests): New variable.
40204 * Rules [$(cross-compiling) = yes]: Change condition to
40205 [$(run-built-tests) = no].
40206 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40207 to [$(run-built-tests) = yes].
40208 * elf/Makefile [$(cross-compiling) = no]: Likewise
40209 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40210 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40211 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40212 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40213 * io/Makefile [$(cross-compiling) = no]: Likewise.
40214 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40215 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40216 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40217 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40218 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40219 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40220 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40221 * string/Makefile [$(cross-compiling) = no]: Likewise.
40223 * posix/Makefile ($(objpfx)globtest.out): Pass
40224 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40225 $(rtld-installed-name).
40226 * posix/globtest.sh (elf_objpfx): Remove variable.
40227 (rtld_installed_name): Likewise.
40228 (library_path): Likewise.
40229 (run_program_prefix): New variable. Use for running globtest
40232 2012-10-23 Jim Blandy <jimb@codesourcery.com>
40233 Joseph Myers <joseph@codesourcery.com>
40235 * Makeconfig (host-built-program-cmd): New variable.
40236 * elf/Makefile (tst-stackguard1-ARGS): Use
40237 $(host-built-program-cmd).
40238 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40239 (tst-spawn-ARGS): Likewise.
40240 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40242 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40243 Jim Blandy <jimb@codesourcery.com>
40245 * Makeconfig (run-via-rtld-prefix): New variable.
40246 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40247 (built-program-cmd): Likewise.
40249 2012-10-22 Andreas Jaeger <aj@suse.de>
40251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40252 __O_RSYNC if it exists, otherwise to O_SYNC.
40254 2012-10-22 Jim Blandy <jimb@codesourcery.com>
40255 Joseph Myers <joseph@codesourcery.com>
40257 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40259 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40261 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40264 2012-10-22 Andreas Jaeger <aj@suse.de>
40266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40271 bits/fcntl-linux.h.
40273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40274 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40281 2012-10-21 Jim Blandy <jimb@codesourcery.com>
40282 Joseph Myers <joseph@codesourcery.com>
40284 * config.make.in (NM): New variable.
40286 2012-10-21 Andreas Jaeger <aj@suse.de>
40288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40289 definitions and declarations that are provided by
40290 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40292 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40295 * elf/Makefile (tests-static): Add tst-leaks1-static.
40296 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40297 ($(objpfx)tst-leaks1-static): New rule.
40298 ($(objpfx)tst-leaks1-static-mem): Likewise.
40299 (tst-leaks1-static-ENV): New macro.
40300 * elf/dl-open.c (dl_open_worker): Check the main application
40301 only if SHARED is defined.
40302 * elf/tst-leaks1-static.c: New file.
40304 2012-10-20 Andreas Jaeger <aj@suse.de>
40306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40307 generic values for Linux.
40308 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40309 and declarations that are provided by <bits/fcntl-linux.h> and
40310 include <bits/fcntl-linux.h>.
40311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40314 2012-10-20 Roland McGrath <roland@hack.frob.com>
40316 * io/fcntl.h: Move include of <bits/types.h> to the top and
40317 include it unconditionally.
40319 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40321 * wcsmbs/Makefile (tests-ifunc): New variable.
40322 (tests): Add $(tests-ifunc).
40323 * wcsmbs/test-wcschr-ifunc.c: New file.
40324 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40325 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40326 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40327 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40328 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40330 * string/Makefile (tests-ifunc): New variable.
40331 (tests): Add $(tests-ifunc).
40332 * string/test-memccpy.c (TEST_NAME): New macro.
40333 * string/test-memchr.c (TEST_NAME): Likewise.
40334 * string/test-memcmp.c (TEST_NAME): Likewise.
40335 * string/test-memcpy.c (TEST_NAME): Likewise.
40336 * string/test-memmem.c (TEST_NAME): Likewise.
40337 * string/test-memmove.c (TEST_NAME): Likewise.
40338 * string/test-memset.c (TEST_NAME): Likewise.
40339 * string/test-rawmemchr.c (TEST_NAME): Likewise.
40340 * string/test-stpcpy.c (TEST_NAME): Likewise.
40341 * string/test-stpncpy.c (TEST_NAME): Likewise.
40342 * string/test-strcasecmp.c (TEST_NAME): Likewise.
40343 * string/test-strcasestr.c (TEST_NAME): Likewise.
40344 * string/test-strcat.c (TEST_NAME): Likewise.
40345 * string/test-strchr.c (TEST_NAME): Likewise.
40346 * string/test-strcmp.c(TEST_NAME): Likewise.
40347 * string/test-strcpy.c (TEST_NAME): Likewise.
40348 * string/test-strcspn.c (TEST_NAME): Likewise.
40349 * string/test-strlen.c (TEST_NAME): Likewise.
40350 * string/test-strncasecmp.c (TEST_NAME): Likewise.
40351 * string/test-strncmp.c (TEST_NAME): Likewise.
40352 * string/test-strncpy.c (TEST_NAME): Likewise.
40353 * string/test-strnlen.c (TEST_NAME): Likewise.
40354 * string/test-strpbrk.c (TEST_NAME): Likewise.
40355 * string/test-strrchr.c (TEST_NAME): Likewise.
40356 * string/test-strspn.c (TEST_NAME): Likewise.
40357 * string/test-strstr.c (TEST_NAME): Likewise.
40358 * string/test-bcopy-ifunc.c: New file.
40359 * string/test-bzero-ifunc.c: Likewise.
40360 * string/test-memccpy-ifunc.c: Likewise.
40361 * string/test-memchr-ifunc.c: Likewise.
40362 * string/test-memcmp-ifunc.c: Likewise.
40363 * string/test-memcpy-ifunc.c: Likewise.
40364 * string/test-memmem-ifunc.c: Likewise.
40365 * string/test-memmove-ifunc.c: Likewise.
40366 * string/test-mempcpy-ifunc.c: Likewise.
40367 * string/test-memset-ifunc.c: Likewise.
40368 * string/test-rawmemchr-ifunc.c: Likewise.
40369 * string/test-stpcpy-ifunc.c: Likewise.
40370 * string/test-stpncpy-ifunc.c: Likewise.
40371 * string/test-strcasecmp-ifunc.c: Likewise.
40372 * string/test-strcasestr-ifunc.c: Likewise.
40373 * string/test-strcat-ifunc.c: Likewise.
40374 * string/test-strchr-ifunc.c: Likewise.
40375 * string/test-strchrnul-ifunc.c: Likewise.
40376 * string/test-strcmp-ifunc.c: Likewise.
40377 * string/test-strcpy-ifunc.c: Likewise.
40378 * string/test-strcspn-ifunc.c: Likewise.
40379 * string/test-strlen-ifunc.c: Likewise.
40380 * string/test-strncasecmp-ifunc.c: Likewise.
40381 * string/test-strncat-ifunc.c: Likewise.
40382 * string/test-strncmp-ifunc.c: Likewise.
40383 * string/test-strncpy-ifunc.c: Likewise.
40384 * string/test-strnlen-ifunc.c: Likewise.
40385 * string/test-strpbrk-ifunc.c: Likewise.
40386 * string/test-strrchr-ifunc.c: Likewise.
40387 * string/test-strspn-ifunc.c: Likewise.
40388 * string/test-strstr-ifunc.c: Likewise.
40390 * debug/Makefile (tests-ifunc): New variable.
40391 (tests): Add $(tests-ifunc).
40392 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40393 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40394 * debug/test-stpcpy_chk-ifunc.c: New file.
40395 * debug/test-strcpy_chk-ifunc.c: Likewise.
40397 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40400 * elf/dl-load.c (open_verify): Retry read if the entire ELF
40401 header is not read in.
40403 2012-10-19 Joseph Myers <joseph@codesourcery.com>
40405 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
40406 script to $(SHELL) as $<. Pass $(common-objpfx) to script
40407 directly. Pass built executable to script as
40408 $(built-program-cmd).
40409 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
40410 $testprogram without using LD_LIBRARY_PATH and $ldso.
40412 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40413 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40414 $(rtld-installed-name).
40415 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40416 (rtld_installed_name): Likewise.
40417 (library_path): Likewise.
40418 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
40419 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40420 $(run-program-prefix) to tst-tables.sh.
40421 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
40422 it to run tst-table-from and tst-table-to.
40423 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40424 Pass it to tst-table.sh.
40425 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40426 $(run-program-prefix) to tst-gettext.sh.
40427 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40429 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40431 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
40432 to run tst-gettext.
40433 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
40434 to run tst-gettext2.
40435 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
40436 to run tst-translit.
40437 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40438 $(run-program-prefix) to tst-mtrace.sh.
40439 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
40441 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40442 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40443 $(rtld-installed-name).
40444 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40445 (rtld_installed_name): Likewise.
40446 (run_program_prefix): New variable. Use it to run wordexp-test.
40448 * Makeconfig (ARCH): Remove all definitions.
40449 (machine): Likewise.
40450 [ARCH]: Remove conditional code.
40451 [!objdir]: Give error.
40452 [!objdir] (objpfx): Remove.
40453 [!objdir] (common-objpfx): Likewise.
40454 [!objdir] (common-objdir): Likewise.
40455 * configure.in (config_makefile): Remove. Hardcode Makefile in
40456 AC_CONFIG_FILES call.
40457 * configure: Regenerated.
40460 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40462 (testout): Likewise.
40464 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40465 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40466 $(rtld-installed-name).
40467 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40468 (rtld_installed_name): Likwise.
40469 (runit): Remove function.
40470 (run_getconf): New variable, Use it for running getconf binary.
40472 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
40475 * string/test-memmem.c (check_result): New function.
40476 (do_one_test): Use it.
40477 (check1): New function.
40478 (test_main): Use it.
40480 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
40482 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40484 2012-10-18 Joseph Myers <joseph@codesourcery.com>
40486 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40487 (_G_LSEEK64): Likewise.
40488 (_G_MMAP64): Likewise.
40489 (_G_FSTAT64): Likewise.
40490 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40491 (_G_LSEEK64): Likewise.
40492 (_G_MMAP64): Likewise.
40493 (_G_FSTAT64): Likewise.
40494 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40495 unconditional. Call __mmap64 directly.
40496 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40497 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40498 __lseek64 directly.
40499 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40500 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40502 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40503 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
40504 __lseek64 directly.
40505 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40506 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
40507 __lseek64 directly.
40508 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40509 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
40510 __lseek64 directly.
40511 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40512 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
40513 __fxstat64 directly.
40514 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40515 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40517 (freopen64) [!_G_OPEN64]: Remove conditional code.
40518 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40520 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40521 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40523 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40524 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40526 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40527 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40529 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40530 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40532 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40533 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40535 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40536 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40538 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40540 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40543 * manual/memory.texi (Malloc Tunable Parameters): Add note
40544 about free list pointers overwriting some perturb bytes.
40545 Wording suggested by Roland McGrath.
40547 2012-10-17 Joseph Myers <joseph@codesourcery.com>
40549 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40550 (lgamma_test): Likewise.
40551 (tgamma_test): Likewise.
40553 2012-10-16 Florian Weimer <fweimer@redhat.com>
40556 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40557 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40559 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40561 * NEWS: Mention BZ #14716.
40562 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40563 when removing AVAILABLE1_USES_J macro.
40565 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40567 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40568 (__bswap_64): __uint64_t for unsigned 64-bit int.
40570 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40572 * include/string.h (memmem): Declare libc hidden alias.
40573 * string/memmem.c (memmem): Define libc hidden alias.
40574 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40575 __read, __close instead of open, read, close.
40577 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40580 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40582 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40583 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40584 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40586 (__rawmemchr_sse2): Likewise.
40587 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40588 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40589 (__strchr_sse2): Likewise.
40590 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40591 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40592 (__strcasecmp_sse2): Likewise.
40593 (__strncasecmp_sse2): Likewise.
40594 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40595 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40596 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40597 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40598 (__strrchr_sse2): Likewise.
40599 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40601 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40602 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40603 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40604 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40605 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40606 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40607 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40608 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40609 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40610 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40611 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40612 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40613 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40614 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40615 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40616 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40617 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40618 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40619 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40620 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40621 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40622 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40623 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40624 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40625 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40626 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40627 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40628 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40629 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40630 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40632 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40634 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40635 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40636 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40637 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40639 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40641 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40642 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40643 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40644 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40646 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40647 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40648 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40649 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40650 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40651 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40652 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40653 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40654 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40655 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40656 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40657 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40658 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40659 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40660 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40661 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40662 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40663 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40664 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40665 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40666 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40667 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40668 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40669 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40670 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40671 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40672 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40673 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40674 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40675 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40676 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40677 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40678 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40679 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40680 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40681 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40682 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40683 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40684 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40685 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40686 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40688 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40689 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40690 * include/ifunc-impl-list.h: New file.
40691 * misc/ifunc-impl-list.c: Likewise.
40692 * misc/Makefile (routines): Add ifunc-impl-list.
40693 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40694 * string/test-string.h: Include <ifunc-impl-list.h>.
40695 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40696 TEST_NAME]: New variables.
40697 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40699 (test_init): Call __libc_ifunc_impl_list to initialize
40700 func_list if TEST_IFUNC and TEST_NAME are defined.
40702 * string/Makefile (strop-tests): Add bcopy and bzero.
40703 * string/test-bcopy.c: New file.
40704 * string/test-bzero.c: Likewise.
40705 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40707 * string/test-memset.c: Support bzero test if TEST_BZERO is
40709 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40711 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40713 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40716 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40718 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40719 * configure: Regenerated.
40721 * Makeconfig (+link-static-before-libc): Don't include
40722 $(link-static-libc).
40724 * libio/libio.h (_IO_pos_t): Remove.
40726 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40728 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40731 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40733 * crypt/crypt-entry.c: Include fips-private.h.
40734 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40735 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40736 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40737 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40739 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40741 * crypt/crypt-private.h: Include stdbool.h.
40742 (_ufc_setup_salt_r): Return bool.
40743 * crypt/crypt-entry.c: Include errno.h.
40744 (__crypt_r): Return NULL with EINVAL for bad salt.
40745 * crypt/crypt_util.c (bad_for_salt): New.
40746 (_ufc_setup_salt_r): Check that salt is long enough and within
40747 the specified alphabet.
40748 * crypt/badsalttest.c: New file.
40749 * crypt/Makefile (tests): Add it.
40750 ($(objpfx)badsalttest): New.
40752 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40754 * NEWS: Add entry for BZ #14602.
40756 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40758 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40760 * math/libm-test.inc: Update comment listing what functions and
40762 (isgreater_test): New function.
40763 (isgreaterequal_test): Likewise.
40764 (isless_test): Likewise.
40765 (islessequal_test): Likewise.
40766 (islessgreater_test): Likewise.
40767 (isunordered_test): Likewise.
40768 (main): Call the new functions.
40770 2012-10-09 Roland McGrath <roland@hack.frob.com>
40772 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40773 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40774 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40775 * sysdeps/i386/configure: Regenerated.
40776 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40777 * sysdeps/mach/configure: Regenerated.
40778 * sysdeps/mach/hurd/configure: Regenerated.
40779 * sysdeps/powerpc/configure: Regenerated.
40780 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40781 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40782 * sysdeps/s390/s390-32/configure: Regenerated.
40783 * sysdeps/s390/s390-64/configure: Regenerated.
40784 * sysdeps/sh/configure: Regenerated.
40785 * sysdeps/sparc/configure: Regenerated.
40786 * sysdeps/unix/sysv/linux/configure: Regenerated.
40787 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40788 * sysdeps/x86_64/configure: Regenerated.
40790 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40791 defined. Don't check if MAP is NULL.
40793 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40795 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40796 (_G_stat64): Likewise.
40797 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40798 (_G_stat64): Likewise.
40799 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40800 instead of struct _G_stat64.
40801 * libio/fileops.c (mmap_remap_check): Likewise.
40802 (decide_maybe_mmap): Likewise.
40803 (_IO_new_file_seekoff): Likewise.
40804 (_IO_file_stat): Likewise.
40805 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40807 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40808 instead of struct _G_stat64.
40809 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40811 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40814 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40816 (CHECK_EOL): New macro.
40817 (two_way_short_needle): Check beginning of haystack for EOL. Use
40819 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40820 Replace with CHECK_EOL.
40821 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40822 Replace with CHECK_EOL.
40824 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40826 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40828 * math/libm-test.inc: Update comment listing what functions and
40830 (finite_test): New function.
40831 (isinf_test): Likewise.
40832 (isnan_test): Likewise.
40833 (fpclassify_test): Test subnormal input.
40834 (isfinite_test): Likewise.
40835 (isnormal_test): Likewise.
40836 (main): Call the new functions.
40838 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40841 * Makerules (%.dynsym): Force C locale when running
40842 $(OBJDUMP) --dynamic-syms.
40844 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40846 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40849 2012-10-06 David S. Miller <davem@davemloft.net>
40851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40852 upper 32-bits of the length value in %o2 since we use branch-on-register
40853 tests which consider the entire 64-bit register.
40855 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40857 * string/test-strstr.c (check2): Add a test for page boundary.
40859 2012-10-05 David S. Miller <davem@davemloft.net>
40861 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40862 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40864 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40866 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40867 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40868 and bzero when HWCAP_SPARC_CRYPTO is present.
40870 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40873 * string/test-strstr.c (check2): New function.
40874 (test_main): Call check2.
40876 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40878 * string/bug-strcasestr1.c (do_test): Moved to ...
40879 * string/test-strcasestr.c (check1): Here. New function.
40880 (do_one_test): Break out result checking code into ...
40881 (check_result): This. New function.
40882 (do_one_test): Call check_result.
40883 (test_main): Call check1.
40884 * string/bug-strchr1.c (do_test): Moved to ...
40885 * string/test-strchr.c (check1): Here. New function.
40886 (do_one_test): Break out result checking code into ...
40887 (check_result): This. New function.
40888 (do_one_test): Call check_result.
40889 (test_main): Call check1.
40890 * string/bug-strstr1.c (main): Moved to ...
40891 * string/test-strstr.c (check1): Here. New function.
40892 (do_one_test): Break out result checking code into ...
40893 (check_result): This. New function.
40894 (do_one_test): Call check_result.
40895 (test_main): Call check1.
40896 * string/bug-strcasestr1.c: Removed.
40897 * string/bug-strchr1.c: Likewise.
40898 * string/bug-strstr1.c: Likewise.
40900 * elf/Makefile (dl-routines): Add hwcaps.
40901 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40902 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40903 (_dl_important_hwcaps): Moved to ...
40904 * elf/dl-hwcaps.c: Here. New file.
40905 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40908 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40909 if IS_IN_rtld isn't defined.
40911 * elf/dl-support.c (_dl_sysinfo_map): New.
40912 Include "get-dynamic-info.h" and "setup-vdso.h".
40913 (_dl_non_dynamic_init): Call setup_vdso.
40914 * elf/dynamic-link.h: Don't include <assert.h>.
40915 (elf_get_dynamic_info): Moved to ...
40916 * elf/get-dynamic-info.h: Here. New file.
40917 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40918 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40919 * elf/setup-vdso.h: Here. New file.
40920 * elf/rtld.c: Include "setup-vdso.h".
40921 (dl_main): Call setup_vdso.
40923 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40925 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40926 creal in comment listing functions tested. List finite, isinf,
40927 isnan, isless, islessequal, isgreater, isgreaterequal,
40928 islessgreater, isunordered, lgamma_r and pow10 as functions and
40929 macros not tested. Mention which functions not tested are aliases
40930 for other functions. Fix typo. Note that signs of NaNs are not
40933 * scripts/config.guess: Update from config.git.
40934 * scripts/config.sub: Likewise.
40936 2012-10-04 Roland McGrath <roland@hack.frob.com>
40938 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40939 * misc/madvise.c (madvise): Renamed to __madvise.
40940 Make madvise a weak alias.
40941 * include/sys/mman.h: Declare __madvise.
40942 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40943 * sysdeps/unix/syscalls.list
40944 (madvise): Make __madvise the strong name, and madvise a weak alias.
40945 * sysdeps/unix/sysv/linux/syscalls.list
40946 (madvise, mmap): Remove redundant entries.
40947 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40948 * malloc/malloc.c (mtrim): Likewise.
40949 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40951 2012-10-03 Roland McGrath <roland@hack.frob.com>
40953 * sysdeps/mach/hurd/dl-cache.c: File removed.
40954 * config.h.in (USE_LDCONFIG): New #undef.
40955 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40956 * configure: Regenerated.
40957 * elf/Makefile (dl-routines): Add dl-cache only under
40958 [$(use-ldconfig) = yes].
40959 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40960 cache on [USE_LDCONFIG].
40961 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40963 * elf/rtld.c (dl_main): Likewise.
40965 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40967 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40968 _SC_LEVEL4_CACHE_LINESIZE.
40970 2012-10-03 Roland McGrath <roland@hack.frob.com>
40972 * sysdeps/unix/bsd/confstr.h: File removed.
40974 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40976 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40979 2012-10-02 Roland McGrath <roland@hack.frob.com>
40981 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40982 Make 'mapoff' field ElfW(Off) rather than off_t.
40984 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40986 * nscd/Makefile: Remove nscd-cflags and all its users.
40987 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40988 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40991 * malloc.c (malloc_printerr): Clarify error message.
40993 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40997 Set bit_FMA_Usable if FMA is supported.
40998 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41000 (bit_FMA4_Usable): Updated.
41001 (index_FMA_Usable): New macro.
41002 (CPUID_FMA): Likewise
41003 (HAS_FMA): Defined with bit_FMA_Usable.
41005 2012-10-01 Roland McGrath <roland@hack.frob.com>
41007 * bits/types.h (__swblk_t): Type removed.
41008 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41009 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41011 (__SWBLK_T_TYPE): Likewise.
41012 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41013 (__SWBLK_T_TYPE): Likewise.
41014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41015 (__SWBLK_T_TYPE): Likewise.
41016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41017 (__SWBLK_T_TYPE): Likewise.
41019 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41020 Honza Horak <hhorak@redhat.com>
41022 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41023 (xdr_mapname): Use YPMAXMAP as maxsize.
41024 (xdr_peername): Use YPMAXPEER as maxsize.
41025 (xdr_keydat): Use YPAXRECORD as maxsize.
41026 (xdr_valdat): Use YPMAXRECORD as maxsize.
41028 2012-10-01 Roland McGrath <roland@hack.frob.com>
41030 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41032 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41033 * csu/init-first.c: ... here.
41034 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41035 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41036 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41037 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41038 * sysdeps/i386/init-first.c: File removed.
41039 * sysdeps/sh/init-first.c: File removed.
41041 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41045 if x * y might underflow to zero and z is zero.
41046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41048 * math/libm-test.inc (min_subnorm_value): New variable.
41049 (fma_test): Add more tests.
41050 (fma_test_towardzero): Likewise.
41051 (fma_test_downward): Likewise
41052 (fma_test_upward): Likewise.
41053 (initialize): Set min_subnorm_value.
41055 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41061 mode for addition resulting in exact zero.
41062 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41066 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41067 * math/libm-test.inc (fma_test): Add more tests.
41068 (fma_test_towardzero): New function.
41069 (fma_test_downward): Likewise.
41070 (fma_test_upward): Likewise.
41071 (main): Call the new functions.
41073 2012-09-28 David S. Miller <davem@davemloft.net>
41075 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41077 2012-09-28 Roland McGrath <roland@hack.frob.com>
41079 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41080 instead of SIGALRM.
41082 * sysdeps/gnu/_G_config.h: Moved to ...
41083 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41084 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41085 * sysdeps/generic/_G_config.h: ... here.
41087 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41089 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41091 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41092 Conditionalize target on [libnss_test1.so-version].
41094 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41096 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41097 (elfobjdir): Move out of conditionals.
41099 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41100 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41101 (__nss_lookup_function): Conditionalize label remove_from_tree on
41102 [!DO_STATIC_NSS || SHARED], matching its only use.
41104 2012-09-28 David S. Miller <davem@davemloft.net>
41106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41107 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41109 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41113 when HWCAP_SPARC_CRYPTO is present.
41115 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41117 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41119 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41122 * stdio-common/vfprintf.c (process_string_arg): Revert
41125 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41127 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41129 * stdio-common/tst-sprintf.c: Include <locale.h>
41130 (main): Test sprintf's handling of incomplete multibyte
41133 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41135 * elf/dl-runtime.c (VERSYMIDX): Removed.
41136 * elf/dl-version.c (VERSYMIDX): Likewise.
41137 * elf/do-rel.h (VERSYMIDX): Likewise.
41138 (VALIDX): Likewise.
41139 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41140 * elf/rtld.c (VALIDX): Likewise.
41141 (ADDRIDX): Likewise.
41142 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41143 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41144 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41145 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41146 (VALIDX): Likewise.
41147 (ADDRIDX): Likewise.
41149 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41151 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41153 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41156 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41158 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41159 addresses are in the same scope as 192.0.2/24.
41160 * posix/gai.conf: Document new scope table defaults.
41162 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41165 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41166 for ftell. Compute offsets from write pointers instead.
41167 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41169 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41172 * libio/Makefile (tests): New test case tst-fseek.
41173 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41174 combination works in wide mode.
41175 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41176 state when the external buffer state changes.
41178 2012-09-27 David S. Miller <davem@davemloft.net>
41181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41182 pass reloc->r_addend in as the 'high' argument to
41183 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41187 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41189 * rt/tst-aio2.c: Include <pthread.h>.
41190 * rt/tst-aio3.c: Likewise.
41192 2012-09-27 Steve Ellcey <sellcey@mips.com>
41194 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41196 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41198 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41199 contents on [SHARED].
41201 2012-09-26 Marek Polacek <polacek@redhat.com>
41205 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41206 for C++ and GCC <4.3 as well as for non GCC compilers.
41208 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41212 2012-09-25 Roland McGrath <roland@hack.frob.com>
41214 * Makefile.in (all, install): Declare with .PHONY.
41215 Reported by Michael Hope <michael.hope@linaro.org>.
41217 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41219 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41220 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41222 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41224 (sydep_routines): Add the new and the internal functions.
41225 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41226 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41228 (GLIBC_2.17): Add the new function.
41229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41230 (GLIBC_2.17): Likewise.
41231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41232 (GLIBC_2.17): Likewise.
41233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41234 (GLIBC_2.17): Likewise.
41235 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41237 2012-09-25 Alan Modra <amodra@gmail.com>
41239 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41240 Add release barrier before setting once_control to say
41241 initialisation is done. Add hints on lwarx. Use macro in
41243 (clear_once_control): Add release barrier.
41245 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41248 * math/s_clog.c (__clog): Handle more values close to |z| = 1
41250 * math/s_clog10.c (__clog10): Likewise.
41251 * math/s_clog10f.c (__clog10f): Likewise.
41252 * math/s_clog10l.c (__clog10l): Likewise.
41253 * math/s_clogf.c (__clogf): Likewise.
41254 * math/s_clogl.c (__clogl): Likewise.
41255 * math/Makefile (libm-calls): Add x2y2m1.
41256 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41257 (__x2y2m1): Likewise.
41258 (__x2y2m1l): Likewise.
41259 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41260 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41261 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41262 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41263 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41264 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41265 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41266 * sysdeps/i386/fpu/libm-test-ulps: Update.
41267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41270 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41271 int as type of variable DEPTH.
41272 (glob): Use size_t instead of int as type of variables NEWCOUNT
41275 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41277 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41278 Add s_sincosf-sse2.
41279 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41280 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41281 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41282 macros for using routine as __sincosf_ia32.
41283 Use macro for function declaration and weak_alias.
41284 * sysdeps/i386/fpu/libm-test-ulps: Update.
41286 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41289 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41290 subnormal argument.
41291 * math/s_cexpf.c (__cexpf): Likewise.
41292 * math/s_csinf.c (__csinf): Likewise.
41293 * math/s_csinhf.c (__csinhf): Likewise.
41294 * math/s_ctanf.c (__ctanf): Likewise.
41295 * math/s_ctanhf.c (__ctanhf): Likewise.
41296 * math/s_ccosh.c (__ccoshf): Likewise.
41297 * math/s_cexp.c (__cexpl): Likewise.
41298 * math/s_csin.c (__csin): Likewise.
41299 * math/s_csinh.c (__csinh): Likewise.
41300 * math/s_ctan.c (__ctan): Likewise.
41301 * math/s_ctanh.c (ctanh): Likewise.
41302 * math/s_ccoshl.c (__ccoshl): Likewise.
41303 * math/s_cexpl.c (__cexpl): Likewise.
41304 * math/s_csinl.c (__csinl): Likewise.
41305 * math/s_csinhl.c (__csinhl): Likewise.
41306 * math/s_ctanl.c (__ctanl): Likewise.
41307 * math/s_ctanhl.c (__ctanhl): Likewise.
41309 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41311 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41312 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41313 (_IO_off_t): Define to __off_t, not _G_off_t.
41314 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41315 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41316 (_IO_wint_t): Define to wint_t, not _G_wint_t.
41317 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41318 type of __dummy and __dummy2 fields.
41319 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41320 (_G_ssize_t): Likewise.
41321 (_G_off_t): Likewise.
41322 (_G_pid_t): Likewise.
41323 (_G_uid_t): Likewise.
41324 (_G_wchar_t): Likewise.
41325 (_G_wint_t): Likewise.
41326 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41327 (_G_ssize_t): Likewise.
41328 (_G_off_t): Likewise.
41329 (_G_pid_t): Likewise.
41330 (_G_uid_t): Likewise.
41331 (_G_wchar_t): Likewise.
41332 (_G_wint_t): Likewise.
41333 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41334 (_G_ssize_t): Likewise.
41335 (_G_off_t): Likewise.
41336 (_G_pid_t): Likewise.
41337 (_G_uid_t): Likewise.
41338 (_G_wchar_t): Likewise.
41339 (_G_wint_t): Likewise.
41341 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41343 * malloc/arena.c: Include malloc-sysdep.h.
41344 (shrink_heap): Use check_may_shrink_heap to decide if madvise
41345 is sufficient to shrink the heap or an unmap is needed.
41346 * sysdeps/generic/malloc-sysdep.h: New file. Define
41347 new function check_may_shrink_heap.
41348 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41349 new function check_may_shrink_heap.
41351 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41353 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41356 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
41358 * catgets/test-gencat.sh: Add "set -e".
41359 * elf/tst-pathopt.sh: Likewise.
41360 * grp/tst_fgetgrent.sh: Likewise.
41361 * iconvdata/run-iconv-test.sh: Likewise.
41362 * intl/tst-gettext.sh: Likewise.
41363 * intl/tst-gettext2.sh: Likewise.
41364 * intl/tst-gettext4.sh: Likewise.
41365 * intl/tst-gettext6.sh: Likewise.
41366 * intl/tst-translit.sh: Likewise.
41367 * io/ftwtest-sh: Likewise.
41368 * libio/test-freopen.sh: Likewise.
41369 * malloc/tst-mtrace.sh: Likewise.
41370 * posix/globtest.sh: Likewise.
41371 * posix/tst-getconf.sh: Likewise.
41372 * posix/wordexp-tst.sh: Likewise.
41373 * stdio-common/tst-printf.sh: Likewise.
41374 * stdio-common/tst-unbputc.sh: Likewise.
41375 * stdlib/tst-fmtmsg.sh: Likewise.
41376 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41377 * catgets/Makefile: Do not specify -e option when running
41378 testsuite shell scripts.
41379 * elf/Makefile: Likewise.
41380 * grp/Makefile: Likewise.
41381 * iconvdata/Makefile: Likewise.
41382 * intl/Makefile: Likewise.
41383 * io/Makefile: Likewise.
41384 * libio/Makefile: Likewise.
41385 * malloc/Makefile: Likewise.
41386 * posix/Makefile: Likewise.
41387 * stdio-common/Makefile: Likewise.
41388 * stdlib/Makefile: Likewise.
41389 * sysdeps/x86_64/Makefile: Likewise.
41391 * io/ftwtest-sh: Add copyright header.
41392 * posix/globtest.sh: Likewise.
41393 * posix/tst-getconf.sh: Likewise.
41394 * posix/wordexp-tst.sh: Likewise.
41395 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41397 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
41400 * Makeconfig (+link): Defined as $(+link-static) if
41401 $(build-shared) isn't yes.
41402 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41404 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41406 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41409 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41410 new chunk size with MALLOC_ALIGN_MASK.
41412 2012-09-24 Joseph Myers <joseph@codesourcery.com>
41415 * stdio-common/printf_fphex.c: Include <stdbool.h> and
41417 (__printf_fphex): Determine rounding using get_rounding_mode and
41419 * stdio-common/tst-printf-round.c (struct hex_test): New
41421 (hex_tests): New variable.
41422 (test_hex_in_one_mode): New function.
41423 (do_test): Also run tests for hex float output.
41425 2012-09-21 Joseph Myers <joseph@codesourcery.com>
41427 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41428 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41429 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41430 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41431 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41432 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41433 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41434 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41436 2012-09-20 Joseph Myers <joseph@codesourcery.com>
41438 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41439 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41440 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41441 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41443 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
41446 * elf/rtld.c (dl_main): Limit the check for self loading to normal
41448 * elf/tst-rtld-load-self.sh: New test.
41449 * elf/Makefile: Run it.
41451 2012-09-18 Joseph Myers <joseph@codesourcery.com>
41453 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41454 (tst-writev-ENV): Remove.
41455 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41457 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
41459 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41461 2012-09-17 Joseph Myers <joseph@codesourcery.com>
41463 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41465 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41467 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41468 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41469 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41472 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
41475 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41476 * config.make.in (have-cpp-asm-debuginfo): Removed.
41477 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41478 * configure: Regenerated.
41480 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41483 * stdio-common/printf_fp.c: Include <stdbool.h> and
41485 (___printf_fp): Determine rounding using get_rounding_mode and
41487 * stdio-common/tst-printf-round.c: New file.
41488 * stdio-common/Makefile (tests): Add tst-printf-round.
41489 (link-libm): New variable.
41490 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41492 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
41495 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41496 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41498 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41501 2012-09-13 Joseph Myers <joseph@codesourcery.com>
41503 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41504 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41505 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41506 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41508 2012-09-12 Joseph Myers <joseph@codesourcery.com>
41511 * include/rounding-mode.h: New file.
41512 * sysdeps/generic/get-rounding-mode.h: Likewise.
41513 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41514 * stdlib/strtod_l.c: Include <rounding-mode.h>.
41515 (MAX_VALUE): New macro.
41516 (MIN_VALUE): Likewise.
41517 (overflow_value): New function.
41518 (underflow_value): Likewise.
41519 (round_and_return): Use overflow_value and underflow_value to
41520 determine return values in overflow and underflow cases. Use
41521 round_away to determine rounding depending on rounding mode.
41522 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41523 determine return values in overflow and underflow cases.
41524 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41525 (struct test_results): New structure.
41526 (struct test): Use struct test_results to store expected results
41527 for all rounding modes.
41528 (TEST): Include expected results for all rounding modes.
41529 (test_in_one_mode): New function.
41530 (do_test): Use test_in_one_mode to compute and check results.
41531 Check results for all rounding modes.
41532 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41535 2012-12-09 Allan McRae <allan@archlinux.org>
41537 * sysdeps/i386/fpu/libm-test-ulps: Update
41539 2012-09-11 Joseph Myers <joseph@codesourcery.com>
41541 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41542 (_G_int32_t): Likewise.
41543 (_G_uint16_t): Likewise.
41544 (_G_uint32_t): Likewise.
41545 (_G_HAVE_BOOL): Likewise.
41546 (_G_HAVE_ATEXIT): Likewise.
41547 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41548 (_G_HAVE_IO_FILE_OPEN): Likewise.
41549 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41550 (_G_int32_t): Likewise.
41551 (_G_uint16_t): Likewise.
41552 (_G_uint32_t): Likewise.
41553 (_G_HAVE_BOOL): Likewise.
41554 (_G_HAVE_ATEXIT): Likewise.
41555 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41556 (_G_HAVE_IO_FILE_OPEN): Likewise.
41557 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41558 (_G_int32_t): Likewise.
41559 (_G_uint16_t): Likewise.
41560 (_G_uint32_t): Likewise.
41561 (_G_HAVE_BOOL): Likewise.
41562 (_G_HAVE_ATEXIT): Likewise.
41563 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41564 (_G_HAVE_IO_FILE_OPEN): Likewise.
41566 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41568 * csu/libc-tls.c: Update copyright years.
41570 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41572 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41573 [!_G_USING_THUNKS]: Remove conditional code.
41574 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41575 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41577 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41578 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41579 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41580 (_G_VTABLE_LABEL_PREFIX): Likewise.
41581 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41582 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41583 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41584 (_G_VTABLE_LABEL_PREFIX): Likewise.
41585 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41586 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41587 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41588 (_G_VTABLE_LABEL_PREFIX): Likewise.
41589 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41591 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41593 * libio/Makefile: Include ../Makeconfig before tests.
41594 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41595 only if $(build-shared) is yes.
41597 * iconv/gconv_db.c: Update copyright years.
41599 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41601 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41602 unwind info if defined PIC. Fix special cases description.
41603 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41605 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41607 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41609 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41611 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41613 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41616 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41617 (LDLIBS-tst-chk4): This.
41618 (LDFLAGS-tst-chk5): Renamed to ...
41619 (LDLIBS-tst-chk5): This.
41620 (LDFLAGS-tst-chk6): Renamed to ...
41621 (LDLIBS-tst-chk6): This.
41622 (LDFLAGS-tst-lfschk4): Renamed to ...
41623 (LDLIBS-tst-lfschk4): This.
41624 (LDFLAGS-tst-lfschk5): Renamed to ...
41625 (LDLIBS-tst-lfschk5): This.
41626 (LDFLAGS-tst-lfschk6): Renamed to ...
41627 (LDLIBS-tst-lfschk6): This.
41629 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41630 on $(common-objpfx)soversions.mk.
41632 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41635 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41638 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41640 * malloc/arena.c (arena_get_retry): New function that gets
41641 another arena for the caller to try its request on.
41642 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41643 current arena cannot fulfill the request.
41644 (__libc_memalign): Likewise.
41645 (__libc_memalign): Likewise.
41646 (__libc_pvalloc): Likewise.
41647 (__libc_calloc): Likewise.
41649 2012-09-05 John Tobey <john.tobey@gmail.com>
41652 * manual/arith.texi (Operations on Complex): Fix description
41653 of carg branch cut.
41655 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41658 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41662 * manual/memory.texi (Memory): Make order of menu items match
41665 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41667 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41668 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41669 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41671 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41673 * csu/libc-tls.c (static_dtv): Renamed to ...
41674 (_dl_static_dtv): This. Make it global.
41675 (_dl_initial_dtv): Removed.
41676 (__libc_setup_tls): Updated.
41677 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41678 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41681 2012-09-06 Petr Machata <pmachata@redhat.com>
41683 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41684 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41685 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41686 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41688 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41691 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41692 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41695 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41698 * Makeconfig (link-static-before-libc): Replace $(+prector)
41700 (link-static-after-libc): Replace $(+postctor) with
41702 (link-bounded): Replace $(+prector)/$(+postctor) with
41703 $(+prectorT)/$(+postctorT).
41704 (+prectorT): New macro.
41705 (+postctorT): Likewise.
41707 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41709 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41710 (round_str): Handle values above the maximum for IBM long double
41712 * stdlib/tst-strtod-round.c (tests): Regenerated.
41714 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41716 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41718 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41719 zarch_nohighgprs around the zarch optimized routines.
41720 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41721 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41722 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41725 2012-09-05 David S. Miller <davem@davemloft.net>
41727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41729 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41730 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41731 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41732 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41735 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41737 * malloc/arena.c: Fold copyright years.
41738 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41740 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41742 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41744 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41746 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41748 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41750 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41751 change internal state upon failure.
41753 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41755 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41756 * malloc/memusage.c (mmap): Likewise.
41757 (mmap64, mremap): Likewise. Adjust name in comment.
41759 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41761 * libio/fileops.c: Fix typos in comments.
41762 * libio/oldfileops.c: Likewise.
41763 * libio/wfileops.c: Likewise.
41765 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41768 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41769 (tst-malloc-usable-ENV): Set environment for test case.
41770 * malloc/hooks.c (malloc_check_get_size): New function to get
41772 * malloc/malloc.c (musable): Use malloc_check_get_size.
41773 * malloc/tst-malloc-usable.c: New test case.
41775 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41777 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41779 2012-09-05 Allan McRae <allan@archlinux.org>
41782 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41783 determine header location.
41784 * configure: Regenerated.
41786 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41788 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41790 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41791 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41793 (test): Regenerate.
41795 2012-09-04 David S. Miller <davem@davemloft.net>
41797 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41798 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41799 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41801 2012-09-04 Florian Weimer <fweimer@redhat.com>
41803 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41806 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41808 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41811 * libio/iogetdelim.c: Include <limits.h>.
41812 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41813 + len + 1 would overflow.
41815 2012-09-03 Andreas Jaeger <aj@suse.de>
41817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41818 * sysdeps/i386/fpu/libm-test-ulps: Update.
41820 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41822 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41823 Add s_sinf-sse2, s_conf-sse2.
41825 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41826 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41827 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41828 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41830 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41831 for using routine as __sinf_ia32.
41832 Use macro for function declaration and weak_alias.
41833 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41834 for using routine as __cosf_ia32.
41835 Use macro for function declaration and weak_alias.
41837 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41838 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41840 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41841 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41844 * math/libm-test.inc (cos_test): Add more test cases.
41845 (sin_test): Likewise.
41846 (sincos_test): Likewise.
41848 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41850 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41851 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41853 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41855 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41858 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41859 first element of the GOT.
41860 (elf_machine_load_address): Return the difference between
41861 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41863 2012-09-01 Allan McRae <allan@archlinux.org>
41866 * configure.in (AWK): Require gawk version 3.0 or later.
41867 * configure: Regenerated.
41869 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41871 * sysdeps/unix/sysv/linux/kernel-features.h
41872 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41874 [__NR_clock_getres]: Make code unconditional.
41875 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41876 (clock_getcpuclockid): Remove code left unreachable by removal of
41878 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41879 code unconditional.
41880 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41881 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41882 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41883 Make code unconditional.
41884 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41885 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41886 * sysdeps/unix/sysv/linux/clock_settime.c
41887 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41889 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41890 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41892 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41895 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41896 scripts/test-installation.pl.
41898 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41899 and $ld_so_version if it is set.
41901 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41904 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41905 failure if reading from procfs failed.
41906 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41908 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41910 * sysdeps/unix/sysv/linux/kernel-features.h
41911 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41912 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41913 Remove conditional code.
41914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41915 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41916 Remove conditional code.
41917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41918 * sysdeps/unix/sysv/linux/i386/fxstat.c
41919 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41921 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41922 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41924 * sysdeps/unix/sysv/linux/i386/lxstat.c
41925 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41927 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41928 Remove conditional code.
41929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41930 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41931 Remove conditional code.
41932 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41933 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41934 <kernel-features.h>.
41935 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41937 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41938 Remove conditional code.
41939 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41940 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41941 Remove conditional.
41943 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41946 * NEWS: Add fixed bug number.
41948 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41951 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41952 underflowing exponent in case of negative sign.
41953 * stdlib/tst-strtod-round-data: Add more tests.
41954 * stdlib/tst-strtod-round.c (tests): Regenerated.
41957 * stdlib/strtod_l.c (NDIG): Remove.
41958 (HEXNDIG): Likewise.
41959 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41960 smallest representable value.
41961 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41962 lie within an exact representation of 1/2 ulp of the result.
41963 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41965 (TENS_P9_IDX): Define unconditionally.
41966 (TENS_P9_SIZE): Likewise.
41967 (TENS_P10_IDX): Likewise.
41968 (TENS_P10_SIZE): Likewise.
41969 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41970 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41971 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41972 entries for 10^2^13 and 10^2^14.
41973 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41974 (TENS_P13_IDX): Define.
41975 (TENS_P13_SIZE): Likewise.
41976 (TENS_P14_IDX): Likewise.
41977 (TENS_P14_SIZE): Likewise.
41978 (_fpioconst_pow10): Change array size to
41979 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41981 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41982 1024]: Add entries for 10^2^13 and 10^2^14.
41983 [LAST_POW10 > _LAST_POW10]: Remove #error.
41984 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41985 (_fpioconst_pow10): Change array size to
41986 FPIOCONST_POW10_ARRAY_SIZE.
41987 * stdlib/gen-fpioconst.c: New file.
41988 * stdlib/gen-tst-strtod-round.c: Likewise.
41989 * stdlib/tst-strtod-round-data: Likewise.
41990 * stdlib/tst-strtod-round.c: Likewise.
41991 * stdlib/Makefile (tests): Add tst-strtod-round.
41994 * stdlib/strtod_l.c: Include <stdint.h>.
41995 (NDEBUG): Do not define.
41996 (round_and_return): Change EXPONENT parameter to type intmax_t.
41997 Rearrange calculations to avoid internal overflow possibilities.
41998 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41999 Rearrange calculations to avoid internal overflow possibilities.
42000 Assert that number fits inside MPNSIZE limbs.
42001 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42002 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42003 calculations and add assertions to avoid internal overflow
42004 possibilities. Add casts to avoid signed/unsigned operations.
42005 * stdlib/tst-strtod-overflow.c: New file.
42006 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42008 2012-08-25 Marek Polacek <polacek@redhat.com>
42010 * time/time.h: Fix some typos in comments.
42012 2012-08-23 Roland McGrath <roland@hack.frob.com>
42014 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42015 * posix/tst-rfc3484-2.c: Likewise.
42016 * posix/tst-rfc3484-3.c: Likewise.
42018 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42020 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42021 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42023 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42025 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42026 #include of fxstatat64.c.
42028 2012-08-22 Roland McGrath <roland@hack.frob.com>
42030 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42031 * shadow/getspent_r.c: Likewise.
42032 * shadow/getspnam.c: Likewise.
42033 * shadow/getspnam_r.c: Likewise.
42034 * gshadow/getsgent.c: Likewise.
42035 * gshadow/getsgent_r.c: Likewise.
42036 * gshadow/getsgnam.c: Likewise.
42037 * gshadow/getsgnam_r.c: Likewise.
42038 * inet/getnetbyad.c: Likewise.
42039 * inet/getnetbyad_r.c: Likewise.
42040 * inet/getnetbynm.c: Likewise.
42041 * inet/getnetbynm_r.c: Likewise.
42042 * inet/getnetent.c: Likewise.
42043 * inet/getnetent_r.c: Likewise.
42044 * inet/getproto.c: Likewise.
42045 * inet/getproto_r.c: Likewise.
42046 * inet/getprtent.c: Likewise.
42047 * inet/getprtent_r.c: Likewise.
42048 * inet/getprtname.c: Likewise.
42049 * inet/getprtname_r.c: Likewise.
42050 * inet/getrpcbyname.c: Likewise.
42051 * inet/getrpcbyname_r.c: Likewise.
42052 * inet/getrpcbynumber.c: Likewise.
42053 * inet/getrpcbynumber_r.c: Likewise.
42054 * inet/getrpcent.c: Likewise.
42055 * inet/getrpcent_r.c: Likewise.
42056 * inet/getaliasent.c: Likewise.
42057 * inet/getaliasent_r.c: Likewise.
42058 * inet/getaliasname.c: Likewise.
42059 * inet/getaliasname_r.c: Likewise.
42060 * nscd/getgrgid_r.c: Likewise.
42061 * nscd/getgrnam_r.c: Likewise.
42062 * nscd/gethstbyad_r.c: Likewise.
42063 * nscd/gethstbynm3_r.c: Likewise.
42064 * nscd/getpwnam_r.c: Likewise.
42065 * nscd/getpwuid_r.c: Likewise.
42066 * nscd/getsrvbynm_r.c: Likewise.
42067 * nscd/getsrvbypt_r.c: Likewise.
42068 * nscd/gai.c: Likewise.
42070 * configure.in (build_nscd): New substituted variable, set
42071 by --disable-build-nscd and defaults to $use_nscd.
42072 * configure: Regenerated.
42073 * config.make.in (build-nscd): New substituted variable.
42074 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42075 Change conditional to require [$(build-nscd) = yes] as well.
42076 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42079 * configure.in (use_nscd): New substituted variable, set by
42080 --disable-nscd. If enabled, define USE_NSCD.
42081 * configure: Regenerated.
42082 * config.h.in: Add USE_NSCD.
42083 * config.make.in (use-nscd): New substituted variable.
42084 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42085 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42086 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42087 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42088 (CFLAGS-getgrnam_r.c): Likewise.
42089 (CFLAGS-initgroups.c): Likewise.
42090 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42091 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42093 * inet/getnetgrent_r.c
42094 (nscd_setnetgrent): New function, broken out of ...
42095 (setnetgrent): ... here. Call it.
42096 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42097 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42098 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42099 * nscd/Makefile (routines, aux): Move definitions after include of
42100 Makeconfig. Conditionalize on [$(use-nscd) != no].
42101 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42102 Conditionalize on [USE_NSCD].
42103 (is_nscd, nscd_init_cb): Likewise.
42104 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42105 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42106 * nss/nss_db/db-init.c: Likewise.
42107 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42109 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42110 (make_request): Use it.
42111 (cache_valid_p): New function.
42112 (__check_pf): Use it.
42113 * NEWS: Add item for --disable-nscd.
42115 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42117 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42118 to support sed >= 4.2.1-20-ga9bf076.
42119 * configure: Regenerated.
42121 2012-08-22 Roland McGrath <roland@hack.frob.com>
42123 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42124 Conditionalize whole body on [IREL].
42126 2012-08-22 Jeff Law <law@redhat.com>
42129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42130 if the family is PF_UNSPEC.
42132 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42134 * Makerules (lib-version): Rename from V.
42135 (install-lib-nosubdir): Change V to lib-version.
42137 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42140 * powerpc32/power6/wcschr.c: New file.
42141 * powerpc32/power6/wcscpy.c: New file.
42142 * powerpc32/power6/wcsrchr.c: New file.
42143 * powerpc64/power6/wcschr.c: New file.
42144 * powerpc64/power6/wcscpy.c: New file.
42145 * powerpc64/power6/wcsrchr.c: New file.
42147 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42149 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42150 (two_way_short_needle): Use it.
42151 * string/strstr.c (AVAILABLE1_USES_J): Define.
42152 * string/strcasestr.c: Likewise.
42154 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42156 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42159 * NEWS: Add an entry.
42160 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42161 define their defaults.
42162 (two_way_short_needle): Detect end-of-string on-the-fly.
42163 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42164 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42165 * string/bug-strcasestr1.c: New test.
42166 * string/Makefile: Run it.
42168 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42171 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42172 the first character.
42174 2012-08-21 Roland McGrath <roland@hack.frob.com>
42176 * csu/elf-init.c (__libc_csu_irel): Function removed.
42177 * csu/libc-start.c (apply_irel): New function.
42178 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42180 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42182 * sysdeps/unix/sysv/linux/kernel-features.h
42183 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42184 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42185 <kernel-features.h>.
42186 [__NR_fadvise64_64]: Make code unconditional.
42187 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42188 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42189 !__NR_fadvise64_64)]: Likewise.
42190 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42191 !__NR_fadvise64_64))]: Likewise.
42192 [__NR_fadvise64]: Make code unconditional.
42193 [!__NR_fadvise64]: Remove conditional code.
42194 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42195 <kernel-features.h>.
42196 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42198 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42201 not include <kernel-features.h>.
42202 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42204 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42206 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42207 include <kernel-features.h>.
42208 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42210 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42213 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42215 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42216 slight instruction rearrangements per scrollpipe analysis.
42217 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42219 2012-08-20 Roland McGrath <roland@hack.frob.com>
42221 * manual/syslog.texi (syslog; vsyslog, closelog):
42222 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42223 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42225 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42226 DSOCAPS to match condition on defining it.
42228 2012-08-20 Joseph Myers <joseph@codesourcery.com>
42230 * sysdeps/unix/sysv/linux/kernel-features.h
42231 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42233 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42234 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42236 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42237 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42239 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42240 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42242 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42243 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42245 * sysdeps/unix/sysv/linux/kernel-features.h
42246 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42247 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42249 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42250 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42251 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42252 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42253 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42254 Make code unconditional.
42255 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42256 (__mmap64) [!__NR_mmap2]: Likewise.
42257 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42258 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42259 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42260 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42261 [__NR_mmap2]: Make code unconditional.
42262 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42263 (__mmap64) [!__NR_mmap2]: Likewise.
42265 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42267 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42269 2012-08-18 Andreas Jaeger <aj@suse.de>
42271 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42273 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42275 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42276 * include/unistd.h (__have_sock_cloexec): Likewise.
42277 (__have_pipe2): Likewise.
42278 (__have_dup3): Likewise.
42280 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42283 * include/unistd.h (__have_pipe2): Change define into an extern int.
42284 (__have_dup3): Likewise.
42285 * socket/have_sock_cloexec.c: Include fcntl.h.
42286 (__have_pipe2): New variable.
42287 (__have_dup3): Likewise.
42289 2012-08-17 Mike Frysinger <vapier@gentoo.org>
42291 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42293 2012-08-17 Marek Polacek <polacek@redhat.com>
42295 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42296 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42298 2012-08-17 Roland McGrath <roland@hack.frob.com>
42300 * configure.in: Add AC_SUBST for sysheaders.
42301 * configure: Regenerated.
42302 * config.make.in (sysheaders): New substituted variable.
42304 * sysdeps/unix/mkfifo.c: Moved ...
42305 * sysdeps/posix/mkfifo.c: ... here.
42306 * sysdeps/unix/mkfifoat.c: Moved ...
42307 * sysdeps/posix/mkfifoat.c: ... here.
42309 * sysdeps/unix/utime.c: Moved ...
42310 * sysdeps/posix/utime.c: ... here.
42312 * sysdeps/unix/time.c: Moved ...
42313 * sysdeps/posix/time.c: ... here.
42314 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42315 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42317 * sysdeps/unix/nice.c: Moved ...
42318 * sysdeps/posix/nice.c: ... here.
42320 * sysdeps/unix/alarm.c: Moved ...
42321 * sysdeps/posix/alarm.c: ... here.
42323 * intl/Makefile ($(codeset_mo)): Depend on the input file.
42325 2012-08-17 Jeff Law <law@redhat.com>
42327 * intl/Makefile (codeset_mo): New variable.
42328 ($(codeset_mo)): New target.
42329 (tst-codeset.out): Depend on that. Remove explicit rule.
42330 (tst-gettext3.out, tst-gettext5.out): Likewise.
42331 (LOCPATH-ENV, tst-codeset-ENV): New variables.
42332 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42333 * intl/tst-codeset.sh: Remove.
42334 * intl/tst-gettext3.sh: Likewise.
42335 * intl/tst-gettext5.sh: Likewise.
42337 2012-08-17 Roland McGrath <roland@hack.frob.com>
42339 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
42340 * sysdeps/unix/syscalls.list: ... here.
42342 * sysdeps/posix/getaddrinfo.c
42343 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42344 (gaiconf_init, gaiconf_reload): Use them.
42345 [!_STATBUF_ST_NSEC]
42346 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42347 Define using time_t rather than struct timespec.
42349 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42350 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42352 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42354 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42355 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42358 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42359 __libc_cleanup_push argument.
42361 * bits/param.h: New file.
42362 * misc/sys/param.h: New file.
42363 * include/sys/param.h: New file.
42364 * misc/Makefile (headers): Add bits/param.h.
42365 * sysdeps/generic/sys/param.h: File removed.
42366 * sysdeps/unix/sysv/linux/bits/param.h: New file.
42367 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42368 * sysdeps/mach/hurd/bits/param.h: New file.
42369 * sysdeps/mach/hurd/sys/param.h: File removed.
42371 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42374 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42376 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42377 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42380 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42381 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42382 rather than -D_IO_MTSAFE_IO conditionally.
42383 * stdio-common/Makefile (CPPFLAGS): Likewise.
42384 * wcsmbs/Makefile (CPPFLAGS): Likewise.
42385 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42386 Use $(libio-mtsafe).
42387 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42388 of -D_IO_MTSAFE_IO.
42389 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42390 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42391 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42392 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42393 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42394 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42395 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42396 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42397 (CFLAGS-fread_u_chk.c): Likewise.
42398 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42399 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42400 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42401 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42402 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42403 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42404 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42405 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42406 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42408 * libio/Makefile: Test [$(libc-reentrant) = yes]
42409 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42412 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42413 * sysdeps/pthread/configure: File removed.
42414 * sysdeps/pthread/Makeconfig: New file.
42415 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42416 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42418 2012-08-16 Gary Benson <gbenson@redhat.com>
42420 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42421 unmapping the first object in a namespace.
42423 2012-08-16 Roland McGrath <roland@hack.frob.com>
42425 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42426 (__internal_setnetgrent): ... this. Add internal_function to
42427 definition. Add libc_hidden_def.
42428 (setnetgrent): Update caller.
42429 (internal_endnetgrent): Renamed to ...
42430 (__internal_endnetgrent): ... this. Add internal_function to
42431 definition. Add libc_hidden_def.
42432 (endnetgrent): Update caller.
42433 (internal_getnetgrent_r): Renamed to ...
42434 (__internal_getnetgrent_r): ... this. Add internal_function to
42435 definition. Add libc_hidden_def.
42436 (__getnetgrent_r): Update caller.
42437 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
42439 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42441 * stdlib/longlong.h: Update from GCC.
42443 2012-08-16 Roland McGrath <roland@hack.frob.com>
42445 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42446 on _QL, which is set by umul_ppmm but never used.
42447 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42448 variables, which are set by GMP macros but never used.
42449 * stdio-common/_itowa.c (_itowa): Likewise.
42450 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42451 * stdlib/mod_1.c (mpn_mod_1): Likewise.
42453 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
42455 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42456 struct La_sh_regs is not constant.
42457 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42458 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42459 and struct La_sparc64_regs are not constant.
42461 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42463 * sysdeps/unix/sysv/linux/kernel-features.h
42464 (__ASSUME_POSIX_TIMERS): Remove.
42465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42467 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42468 Make code unconditional.
42469 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42470 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42471 Make code unconditional.
42472 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42473 * sysdeps/unix/sysv/linux/clock_nanosleep.c
42474 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42476 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42477 Make code unconditional.
42478 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42479 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42480 (__libc_missing_posix_timers): Remove.
42482 2012-08-15 Roland McGrath <roland@hack.frob.com>
42484 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42485 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42487 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42489 * elf/dl-sym.c: Include <stdlib.h>.
42491 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42492 constants, which avoids warnings in 32-bit builds.
42494 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42495 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42497 * misc/lseek.c: File moved to ...
42498 * io/lseek.c: ... here.
42500 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42502 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42503 shifting LEN more than 31 bits at once.
42505 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42508 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42509 segmentation fault for a case of two empty input strings.
42510 * string/test-strncasecmp.c (check1): Renamed to...
42511 (bz12205): ...this.
42512 (bz14195): Add new testcase for two empty input strings and N > 0.
42513 (test_main): Call new testcase, adapt for renamed function.
42515 2012-08-15 Andreas Jaeger <aj@suse.de>
42518 * crypt/md5test2.c: New test, based on test supplied by Serge
42519 Belyshev <belyshev@depni.sinp.msu.ru>.
42520 * crypt/Makefile (xtests): Add md5test-giant..
42521 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42523 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42526 * crypt/md5.c (md5_process_block): Don't assume the buffer
42527 length is less than 2**32.
42528 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42529 length is less than 2**64.
42531 2012-08-15 Roland McGrath <roland@hack.frob.com>
42533 * string/str-two-way.h: Include <sys/param.h>.
42534 (MAX): Macro removed.
42536 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42537 Move #define and #undef of memmove to just before and after
42538 including <string.h>.
42540 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42541 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42542 and after including <string.h>. Move declarations of
42543 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42544 to before #include "string/memmove.c".
42546 * include/dirent.h: Declare __getdirentries.
42548 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42549 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42551 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42553 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42554 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42555 * sysdeps/i386/configure: Regenerated.
42556 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42557 STABS_CURRENT_FILE, and STABS_FUN.
42558 (END): Remove call to STABS_FUN_END.
42559 (STABS_CURRENT_FILE1): Delete.
42560 (STABS_CURRENT_FILE): Likewise.
42561 (STABS_FUN): Likewise.
42562 (STABS_FUN_END): Likewise.
42563 (STABS_FUN2): Likewise.
42564 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42565 * sysdeps/x86_64/configure: Regenerated.
42567 2012-08-14 Roland McGrath <roland@hack.frob.com>
42569 * elf/dl-open.c: Include <atomic.h>.
42570 * elf/dl-lookup.c: Likewise.
42572 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42574 * sysdeps/unix/sysv/linux/kernel-features.h
42575 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42576 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42578 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42580 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42581 condition on __ASSUME_CLONE_THREAD_FLAGS.
42583 2012-08-14 Andreas Jaeger <aj@suse.de>
42585 * sysdeps/i386/fpu/libm-test-ulps: Update.
42587 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42589 * include/atomic.h (atomic_exchange_and_add): Split into ...
42590 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42593 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42597 2012-08-13 Jeff Law <law@redhat.com>
42599 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42600 null byte in the output string.
42602 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42604 * sysdeps/unix/sysv/linux/kernel-features.h
42605 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42606 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42607 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42608 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42609 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42610 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42611 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42613 2012-08-09 Jeff Law <law@redhat.com>
42616 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42617 When avoid_arena is set, don't retry in the that arena. Pick the
42618 next one, whatever it might be.
42619 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42620 (arena_lock): Pass in new parameter to arena_get2.
42621 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42623 (__libc_malloc): Unify retrying after main arena failure with
42624 __libc_memalign version.
42625 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42627 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42630 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42631 to __redirect_strstr.
42632 (__strstr_sse42): Use typeof __redirect_strstr.
42633 (__strstr_ia32): Likewise.
42634 (__libc_strstr): New prototype.
42635 (strstr): Renamed to ...
42636 (__libc_strstr): This.
42637 (strstr): New strong alias of __libc_strstr.
42638 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42639 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42642 (__libc_time): New prototype.
42643 (time_ifunc): Replace time with __libc_time.
42644 (time): New strong alias and hidden definition of __libc_time.
42645 (__GI_time): Remove strong alias.
42646 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42647 Include <stddef.h>.
42648 (memmove): Redefined to __redirect_memmove.
42649 (__memmove_sse2): Use typeof __redirect_memmove.
42650 (__memmove_ssse3): Likewise.
42651 (__memmove_ssse3_back): Likewise.
42652 (__libc_memmove): New prototype.
42653 (memmove): Renamed to ...
42654 (__libc_memmove): This.
42655 (memmove): New strong alias of __libc_memmove.
42657 2012-08-08 Mark Salter <msalter@redhat.com>
42660 (R_MN10300_TLS_GD): Define.
42661 (R_MN10300_TLS_LD): Likewise.
42662 (R_MN10300_TLS_LDO): Likewise.
42663 (R_MN10300_TLS_GOTIE): Likewise.
42664 (R_MN10300_TLS_IE): Likewise.
42665 (R_MN10300_TLS_LE): Likewise.
42666 (R_MN10300_TLS_DTPMOD): Likewise.
42667 (R_MN10300_TLS_DTPOFF): Likewise.
42668 (R_MN10300_TLS_TPOFF): Likewise.
42669 (R_MN10300_SYM_DIFF): Likewise.
42670 (R_MN10300_ALIGN): Likewise.
42671 (R_MN10300_NUM): Update.
42673 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42675 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42678 2012-08-08 Roland McGrath <roland@hack.frob.com>
42680 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42682 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42683 sysdeps/unix -> sysdeps/posix move.
42684 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42686 2012-08-07 Allan McRae <allan@archlinux.org>
42689 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42690 (SUNOS_CPP): Likewise.
42691 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42693 (open_input): Call CPP using execvp.
42695 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42697 * sysdeps/unix/sysv/linux/kernel-features.h
42698 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42699 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42700 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42701 (__ASSUME_WAITID_SYSCALL): Likewise.
42702 * sysdeps/unix/sysv/linux/dl-execstack.c
42703 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42704 code unconditional.
42705 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42707 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42708 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42709 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42711 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42713 [__ASSUME_WAITID_SYSCALL]: Likewise.
42714 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42716 2012-08-07 Roland McGrath <roland@hack.frob.com>
42718 * sysdeps/unix/closedir.c: Renamed to ...
42719 * sysdeps/posix/closedir.c: ... here.
42720 * sysdeps/unix/dirfd.c: Renamed to ...
42721 * sysdeps/posix/dirfd.c: ... here.
42722 * sysdeps/unix/dirstream.h: Renamed to ...
42723 * sysdeps/posix/dirstream.h: ... here.
42724 * sysdeps/unix/fdopendir.c: Renamed to ...
42725 * sysdeps/posix/fdopendir.c: ... here.
42726 * sysdeps/unix/opendir.c: Renamed to ...
42727 * sysdeps/posix/opendir.c: ... here.
42728 * sysdeps/unix/readdir.c: Renamed to ...
42729 * sysdeps/posix/readdir.c: ... here.
42730 * sysdeps/unix/readdir_r.c: Renamed to ...
42731 * sysdeps/posix/readdir_r.c: ... here.
42732 * sysdeps/unix/rewinddir.c: Renamed to ...
42733 * sysdeps/posix/rewinddir.c: ... here.
42734 * sysdeps/unix/seekdir.c: Renamed to ...
42735 * sysdeps/posix/seekdir.c: ... here.
42736 * sysdeps/unix/telldir.c: Renamed to ...
42737 * sysdeps/posix/telldir.c: ... here.
42738 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42739 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42740 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42741 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42743 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42744 * bits/fcntl.h: ... here.
42746 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42748 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42749 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42750 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42751 (struct flock): Move l_start, l_len to the beginning.
42752 Use __pid_t for l_pid.
42753 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42754 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42755 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42756 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42757 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42758 [__USE_LARGEFILE64] (struct flock64): New type.
42759 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42761 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42762 * bits/dirent.h: ... here.
42764 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42765 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42767 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42770 Change from 2.6.0 to 2.6.16.
42771 * sysdeps/unix/sysv/linux/configure: Regenerated.
42772 * sysdeps/unix/sysv/linux/kernel-features.h
42773 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42774 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42776 (__ASSUME_UTIMES): Likewise.
42777 (__ASSUME_CLONE_STOPPED): Remove.
42778 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42779 architectures, not kernel version.
42780 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42781 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42782 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42783 (__ASSUME_WAITID_SYSCALL): Likewise.
42784 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42785 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42786 * README: State 2.6.16 as minimum Linux kernel version. Do not
42787 refer to older versions.
42789 2012-08-06 Roland McGrath <roland@hack.frob.com>
42791 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42792 Define alphasort64 as an alias.
42793 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42794 Define versionsort64 as an alias.
42795 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42796 Define scandir64 as an alias.
42797 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42798 Define scandirat64 as an alias.
42799 * dirent/alphasort64.c (alphasort64):
42800 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42801 * dirent/versionsort64.c: Likewise.
42802 * dirent/scandir64.c: Likewise.
42803 * dirent/scandirat64.c: Likewise.
42804 * sysdeps/wordsize-64/alphasort.c: File removed.
42805 * sysdeps/wordsize-64/alphasort64.c: File removed.
42806 * sysdeps/wordsize-64/scandir.c: File removed.
42807 * sysdeps/wordsize-64/scandir64.c: File removed.
42808 * sysdeps/wordsize-64/scandirat.c: File removed.
42809 * sysdeps/wordsize-64/scandirat64.c: File removed.
42810 * sysdeps/wordsize-64/versionsort.c: File removed.
42811 * sysdeps/wordsize-64/versionsort64.c: File removed.
42812 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42813 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42815 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42817 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42818 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42819 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42821 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42823 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42825 [defined __arch64__ || defined __sparcv9]
42826 (__INO_T_MATCHES_INO64_T): New macro.
42827 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42828 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42829 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42830 * sysdeps/unix/sysv/linux/bits/dirent.h
42831 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42832 (_DIRENT_MATCHES_DIRENT64): New macro.
42834 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42835 Define lockf64 as an alias.
42836 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42837 Define fseeko64 as an alias.
42838 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42839 Define ftello64 as an alias.
42840 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42841 Define _IO_fgetpos64 and fgetpos64 as aliases.
42842 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42843 Define _IO_fsetpos64 and fsetpos64 as aliases.
42844 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42845 Conditionalize body on this.
42846 * libio/fseeko64.c: Likewise.
42847 * libio/ftello64.c: Likewise.
42848 * libio/iofgetpos64.c: Likewise.
42849 * libio/iofsetpos64.c: Likewise.
42850 * sysdeps/wordsize-64/lockf.c: File removed.
42851 * sysdeps/wordsize-64/lockf64.c: File removed.
42852 * sysdeps/wordsize-64/fseeko.c: File removed.
42853 * sysdeps/wordsize-64/fseeko64.c: File removed.
42854 * sysdeps/wordsize-64/ftello.c: File removed.
42855 * sysdeps/wordsize-64/ftello64.c: File removed.
42856 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42857 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42858 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42859 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42860 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42861 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42862 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42863 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42864 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42865 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42866 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42867 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42868 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42869 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42871 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42873 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42875 [defined __arch64__ || defined __sparcv9]
42876 (__OFF_T_MATCHES_OFF64_T): New macro.
42877 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42878 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42880 (__OFF_T_MATCHES_OFF64_T): New macro.
42882 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42884 * stdlib/secure-getenv.c (__secure_getenv): Replace
42885 GLIBC_2_16 with GLIBC_2_17.
42887 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42889 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42890 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42892 2012-08-03 David S. Miller <davem@davemloft.net>
42894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42896 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42898 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42900 (__ASSUME_CORRECT_SI_PID): Likewise.
42901 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42902 (__ASSUME_TMPFS_NAME): Likewise.
42903 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42904 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42905 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42906 (HAVE_AUX_SECURE): Make definition unconditional.
42907 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42908 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42910 2012-08-03 Roland McGrath <roland@hack.frob.com>
42912 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42913 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42914 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42915 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42916 __eloop_threshold instead of SYMLOOP_MAX.
42918 * sysdeps/generic/eloop-threshold.h: New file.
42919 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42921 * elf/chroot_canon.c (chroot_canon): Likewise.
42923 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42926 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42927 Change to 2.6.0 everywhere.
42928 * sysdeps/unix/sysv/linux/configure: Regenerated.
42929 * sysdeps/unix/sysv/linux/kernel-features.h
42930 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42931 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42933 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42934 (__ASSUME_FUTEX_REQUEUE): Remove.
42935 (__ASSUME_STATFS64): Define unconditionally.
42936 (__ASSUME_AT_SECURE): Likewise.
42937 (__ASSUME_CORRECT_SI_PID): Likewise.
42938 (__ASSUME_TGKILL): Define without depending on kernel version for
42940 (__ASSUME_UTIMES): Likewise.
42941 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42943 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42944 (__ASSUME_TMPFS_NAME): Likewise.
42945 * README: Update reference to Linux kernel versions.
42947 2012-08-02 Marek Polacek <polacek@redhat.com>
42950 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42951 libc_cv_asm_type_prefix with %.
42952 * configure: Regenerated.
42953 * include/libc-symbols.h: Remove comment about
42954 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42955 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42956 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42957 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42958 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42959 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42960 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42961 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42962 * elf/tst-unique2mod1.c: Likewise.
42963 * elf/tst-unique1mod2.c: Likewise.
42964 * elf/tst-unique1mod1.c: Likewise.
42965 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42966 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42967 Replace ASM_TYPE_DIRECTIVE with .type.
42968 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42969 * sysdeps/i386/sysdep.h: Likewise.
42970 * sysdeps/x86_64/sysdep.h: Likewise.
42971 * sysdeps/sh/sysdep.h: Likewise.
42972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42973 Do not define ASM_TYPE_DIRECTIVE.
42974 * sysdeps/powerpc/sysdep.h: Likewise.
42975 * sysdeps/powerpc/powerpc32/sysdep.h:
42976 Replace ASM_TYPE_DIRECTIVE with .type.
42977 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42978 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42979 * sysdeps/i386/fpu/e_powf.S: Likewise.
42980 * sysdeps/i386/fpu/e_expl.S: Likewise.
42981 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42982 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42983 * sysdeps/i386/fpu/e_pow.S: Likewise.
42984 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42985 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42986 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42987 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42988 * sysdeps/i386/fpu/e_log2.S: Likewise.
42989 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42990 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42991 * sysdeps/i386/fpu/e_powl.S: Likewise.
42992 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42993 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42994 * sysdeps/i386/fpu/e_logl.S: Likewise.
42995 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42996 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42997 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42998 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42999 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43000 * sysdeps/i386/fpu/e_log.S: Likewise.
43001 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43002 * sysdeps/i386/fpu/e_logf.S: Likewise.
43003 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43004 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43005 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43006 * sysdeps/i386/fpu/e_log10.S: Likewise.
43007 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43008 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43009 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43010 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43011 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43012 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43013 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43014 * sysdeps/i386/i686/strtok.S: Likewise.
43015 * sysdeps/i386/i386-mcount.S: Likewise.
43016 * sysdeps/i386/strtok.S: Likewise.
43017 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43018 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43019 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43020 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43021 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43022 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43023 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43024 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43025 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43026 * sysdeps/x86_64/_mcount.S: Likewise.
43027 * sysdeps/x86_64/strtok.S: Likewise.
43028 * sysdeps/sh/_mcount.S: Likewise.
43030 2012-08-01 Roland McGrath <roland@hack.frob.com>
43032 * libio/iofopen.c: Include <fcntl.h>.
43033 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43034 (_IO_fopen64, fopen64): Define as aliases.
43035 * libio/iofopen64.c: Include <fcntl.h>.
43036 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43037 Conditionalize body on this.
43038 * sysdeps/wordsize-64/iofopen.c: File removed.
43039 * sysdeps/wordsize-64/iofopen64.c: File removed.
43041 2012-08-01 Marek Polacek <polacek@redhat.com>
43043 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43044 Use dlfcn directly instead of a variable.
43045 (binfmt-subdir): Do not define.
43048 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43051 Remove all definitions.
43052 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43053 <kernel-features.h>.
43054 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43055 (miss_F_GETOWN_EX): Remove all definitions.
43056 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43058 [!__ASSUME_FCNTL64]: Remove conditional code.
43059 [__ASSUME_FCNTL64]: Make code unconditional.
43060 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43061 <kernel-features.h>.
43062 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43063 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43064 (lockf64) [__NR_fcntl64]: Make code unconditional.
43065 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43067 * sysdeps/unix/sysv/linux/kernel-features.h
43068 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43069 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43070 Make code unconditional.
43071 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43072 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43074 [__NR_vfork]: Make code unconditional.
43075 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43076 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43078 [__NR_vfork]: Make code unconditional.
43079 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43080 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43082 2012-08-01 Roland McGrath <roland@hack.frob.com>
43084 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43085 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43087 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43088 Define mkstemp64 as an alias.
43089 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43090 Define mkstemps64 as an alias.
43091 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43092 Define mkostemp64 as an alias.
43093 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43094 Define mkostemps64 as an alias.
43095 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43096 Conditionalize body on this.
43097 * misc/mkostemp64.c: Likewise.
43098 * misc/mkostemps64.c: Likewise.
43099 * misc/mkstemps64.c: Likewise.
43100 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43101 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43102 * sysdeps/wordsize-64/mkostemp.c: File removed.
43103 * sysdeps/wordsize-64/mkstemp.c: File removed.
43104 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43105 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43106 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43107 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43110 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43111 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43112 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43113 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43115 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43116 compat_symbol macros from <shlib-compat.h> rather than the underlying
43117 default_symbol_version and symbol_version macros, so that DEFAULT
43118 lines in shlib-versions are respected.
43119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43121 2012-08-01 Florian Weimer <fweimer@redhat.com>
43123 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43124 Declare with warn_unused_result.
43125 (setgid, setregid, setegid, setresgid): Likewise.
43126 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43128 * WUR-REPORT: Remove set*id functions.
43130 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43132 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43134 2012-07-31 Roland McGrath <roland@hack.frob.com>
43137 * include/sys/socket.h (__libc_accept, __libc_accept4):
43138 Add attribute_hidden.
43139 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43141 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43143 * inet/getnetgrent_r.c (setup): Likewise.
43145 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43147 2012-07-31 David S. Miller <davem@davemloft.net>
43149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43151 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43154 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43155 value between 1.0 and 2.0 and smaller part has absolute value less
43157 * math/s_clog10.c (__clog10): Likewise.
43158 * math/s_clog10f.c (__clog10f): Likewise.
43159 * math/s_clog10l.c (__clog10l): Likewise.
43160 * math/s_clogf.c (__clogf): Likewise.
43161 * math/s_clogl.c (__clogl): Likewise.
43162 * math/libm-test.inc (clog_test): Add more tests.
43163 (clog10_test): Likewise.
43164 * sysdeps/i386/fpu/libm-test-ulps: Update.
43165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43167 2012-07-31 Florian Weimer <fweimer@redhat.com>
43169 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43170 Exit with zero in case no suitable GID is found, and write a
43171 message to standard error.
43173 2012-07-30 Roland McGrath <roland@hack.frob.com>
43175 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43177 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43178 (MAXPATHLEN): Removed.
43179 (NOGROUP, NODEV): New macros.
43180 (setbit, clrbit, isset, isclr): New macros.
43181 (howmany, roundup, powerof2): New macros.
43182 (DEV_BSIZE): New macro.
43184 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43185 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43187 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43188 definition on [!__NO_LONG_DOUBLE_MATH].
43190 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43191 PTR_MANGLE and PTR_DEMANGLE.
43193 * socket/accept4.c (accept4): Rename to __libc_accept4.
43194 Define accept4 as a weak alias.
43196 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43197 on [_DIRENT_HAVE_D_TYPE].
43198 * io/ftw.c (ftw_dir): Likewise.
43200 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43202 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43204 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43205 Use the BSD numbers rather than the arbitrary ones we had.
43206 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43207 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43208 (SIGXCPU, SIGXFSZ): New macros.
43211 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43212 initializer on [_LIBC_REENTRANT].
43214 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43215 definitions inside [_POSIX_MAPPED_FILES].
43217 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43219 * dirent/opendir.c: Include <fcntl.h>.
43221 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43222 (__libc_getspecific): Likewise.
43223 (__libc_key_create): Likewise.
43225 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43226 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43227 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43228 (tmpfile64): Define as alias.
43229 * sysdeps/wordsize-64/tmpfile.c: File removed.
43230 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43231 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43232 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43234 * stdio-common/vfscanf.c: Include <stdbool.h>.
43235 * nss/makedb.c: Likewise.
43236 * stdio-common/_i18n_number.h: Likewise.
43237 * argp/argp-help.c: Likewise.
43238 * posix/wordexp.c: Likewise.
43239 * sysdeps/posix/spawni.c: Likewise.
43240 * nss/nss_files/files-initgroups.c: Likewise.
43241 * stdio-common/reg-modifier.c: Include <stdlib.h>.
43242 * nss/nss_files/files-initgroups.c: Likewise.
43243 * nss/nss_db/db-netgrp.c: Likewise.
43244 * nss/nss_db/db-initgroups.c: Likewise.
43245 * io/fchmodat.c: Include <sys/stat.h>.
43247 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43248 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43250 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43253 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43254 Add multiple inclusion protection.
43256 2012-07-27 David S. Miller <davem@davemloft.net>
43258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43260 2012-07-27 Gary Benson <gbenson@redhat.com>
43263 * elf/rtld.c: Include <stap-probe.h>.
43264 (dl_main): Added static probes "init_start" and "init_complete".
43265 * elf/dl-load.c: Include <stap-probe.h>.
43266 (lose): Take new parameter "nsid".
43267 Added static probe "map_failed".
43268 (_dl_map_object_from_fd): Pass namespace id to lose.
43269 Added static probe "map_start".
43270 (open_verify): Pass namespace id to lose.
43271 * elf/dl-open.c: Include <stap-probe.h>.
43272 (dl_open_worker) Added static probes "map_complete", "reloc_start"
43273 and "reloc_complete".
43274 * elf/dl-close.c: Include <stap-probe.h>.
43275 (_dl_close_worker): Added static probes "unmap_start" and
43277 * elf/rtld-debugger-interface.txt: New file documenting the above.
43279 2012-07-26 Roland McGrath <roland@hack.frob.com>
43281 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43282 rather than a string variable.
43283 * sunrpc/rpc_main.c (h_output): Likewise.
43284 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43286 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
43288 * inet/check_native.c: New file.
43290 2012-07-26 Joseph Myers <joseph@codesourcery.com>
43293 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43294 if larger part has absolute value 1.0.
43295 * math/s_clog10.c (__clog10): Likewise.
43296 * math/s_clog10f.c (__clog10f): Likewise.
43297 * math/s_clog10l.c (__clog10l): Likewise.
43298 * math/s_clogf.c (__clogf): Likewise.
43299 * math/s_clogl.c (__clogl): Likewise.
43300 * math/libm-test.inc (clog_test): Add more tests.
43301 (clog10_test): Likewise.
43302 * sysdeps/i386/fpu/libm-test-ulps: Update.
43303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43305 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43306 (pltexit): Likewise.
43307 (La_regs): Likewise.
43308 (La_retval): Likewise.
43309 (int_retval): Likewise.
43310 Update #error for removed macros to refer only to definitions in
43312 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43314 (pltexit): Likewise.
43315 (La_regs): Likewise.
43316 (La_retval): Likewise.
43317 (int_retval): Likewise.
43318 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43320 (pltexit): Likewise.
43321 (La_regs): Likewise.
43322 (La_retval): Likewise.
43323 (int_retval): Likewise.
43324 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43326 (pltexit): Likewise.
43327 (La_regs): Likewise.
43328 (La_retval): Likewise.
43329 (int_retval): Likewise.
43330 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43332 (pltexit): Likewise.
43333 (La_regs): Likewise.
43334 (La_retval): Likewise.
43335 (int_retval): Likewise.
43336 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43338 (pltexit): Likewise.
43339 (La_regs): Likewise.
43340 (La_retval): Likewise.
43341 (int_retval): Likewise.
43342 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43344 (pltexit): Likewise.
43345 (La_regs): Likewise.
43346 (La_retval): Likewise.
43347 (int_retval): Likewise.
43348 * sysdeps/generic/tst-audit.h: Update comment to refer only to
43349 macro definitions in tst-audit.h.
43350 * sysdeps/i386/tst-audit.h: New file.
43351 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43352 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43353 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43354 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43355 * sysdeps/sh/tst-audit.h: Likewise.
43356 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43357 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43358 * sysdeps/x86_64/tst-audit.h: Likewise.
43360 2012-07-26 Andreas Jaeger <aj@suse.de>
43362 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43365 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43366 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43367 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43369 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43370 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43371 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43373 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43376 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43378 (si_call_addr, si_syscall, si_arch): Define new macro.
43379 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43381 (si_call_addr, si_syscall, si_arch): Define new marcro.
43382 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43384 (si_call_addr, si_syscall, si_arch): Define new macro.
43385 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43387 (si_call_addr, si_syscall, si_arch): Define new macro.
43389 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43392 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43393 Change to 2.4.21 where previously 2.4.1.
43394 * sysdeps/unix/sysv/linux/configure: Regenerated.
43395 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43396 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43397 Linux kernel version.
43398 (__ASSUME_STD_AUXV): Remove.
43399 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43401 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43402 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43403 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43404 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43405 (__ASSUME_NETLINK_SUPPORT): Likewise.
43406 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43407 (__no_netlink_support): Remove conditional definition.
43408 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43410 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43411 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43412 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43413 (if_nameindex_ioctl): Remove.
43414 (if_nameindex_netlink): Do not handle __no_netlink_support.
43415 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43417 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43418 Remove conditional code.
43419 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43421 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43423 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43424 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43425 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43427 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43428 [!__ASSUME_STD_AUXV]: Remove conditional code.
43429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43430 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43431 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43433 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43434 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43436 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43438 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43439 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43441 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43443 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43446 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43449 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43450 code unconditional.
43451 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43453 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43455 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43458 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43460 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43463 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43464 code unconditional.
43465 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43467 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43469 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43472 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43473 code unconditional.
43474 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43476 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43478 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43481 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
43483 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43484 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43485 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43486 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43487 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43488 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43489 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43490 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43491 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43492 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43493 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43494 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43495 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43496 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43497 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43498 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43499 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43500 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43501 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43503 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43504 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43505 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43507 2012-07-25 Florian Weimer <fweimer@redhat.com>
43509 * Versions.def: Add GLIBC_2.17.
43510 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43511 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43512 Introduce __libc_secure_getenv.
43513 * stdlib/Versions (2.17): Add secure_getenv
43514 (GLIBC_PRIVATE): Add __libc_secure_getenv.
43515 * stdlib/secure-getenv.c: Rename __secure_getenv to
43516 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
43517 symbol __secure_getenv for GLIBC_2.0.
43518 * stdlib/tst-secure-getenv.c: New.
43519 * stdlib/Makefile (tests): Add testcase.
43520 * manual/startup.texi (Environment Access): Document
43522 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43523 __libc_secure_getenv.
43524 * inet/ruserpass.c (ruserpass): Likewise.
43525 * malloc/mtrace.c (mtrace): Likewise.
43526 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43527 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43528 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43529 * sysdeps/posix/tempname.c: Likewise. Evaluate
43530 HAVE_SECURE_GETENV.
43531 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43532 __secure_getenv to __libc_secure_getenv.
43533 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43546 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43548 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43549 (struct La_i86_retval): Likewise.
43550 (struct La_x86_64_regs): Likewise.
43551 (struct La_x86_64_retval): Likewise.
43552 (struct La_x32_regs): Likewise.
43553 (struct La_x32_retval): Likewise.
43554 (struct La_ppc32_regs): Likewise.
43555 (struct La_ppc32_retval): Likewise.
43556 (struct La_ppc64_regs): Likewise.
43557 (struct La_ppc64_retval): Likewise.
43558 (struct La_sh_regs): Likewise.
43559 (struct La_sh_retval): Likewise.
43560 (struct La_s390_32_regs): Likewise.
43561 (struct La_s390_32_retval): Likewise.
43562 (struct La_s390_64_regs): Likewise.
43563 (struct La_s390_64_retval): Likewise.
43564 (struct La_sparc32_regs): Likewise.
43565 (struct La_sparc32_retval): Likewise.
43566 (struct La_sparc64_regs): Likewise.
43567 (struct La_sparc64_retval): Likewise.
43568 (struct audit_ifaces): Remove architecture-specific pltenter and
43570 * sysdeps/i386/ldsodefs.h: New file.
43571 * sysdeps/powerpc/ldsodefs.h: Likewise.
43572 * sysdeps/s390/ldsodefs.h: Likewise.
43573 * sysdeps/sh/ldsodefs.h: Likewise.
43574 * sysdeps/sparc/ldsodefs.h: Likewise.
43575 * sysdeps/x86_64/ldsodefs.h: Likewise.
43577 2012-07-25 Marek Polacek <polacek@redhat.com>
43580 * math/libm-test.inc (yn_test): Add another test.
43581 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43582 to ERANGE when the result is +-Inf.
43583 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43584 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43585 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43586 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43588 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43590 * conform/data/time.h-data (NULL): Use macro-constant. Require
43592 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43594 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43596 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43598 * configure.in <sysdeps resolving>: Correct printing
43600 * configure: Regenerate.
43602 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43604 * math/w_ilogb.c: Include <limits.h>.
43605 * math/w_ilogbl.c: Likewise.
43607 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43609 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43610 va_copy. Document allowing for unavailable va_copy only as
43611 pre-C99 compatibility.
43612 * manual/string.texi (Copying and Concatenation): Use va_copy
43613 instead of __va_copy in concat example.
43615 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43617 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43618 (__sendto): Use create_address_port. Initialize APORT and deallocate
43621 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43622 with O_NOLINK passed to __file_name_lookup.
43624 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43625 with O_NOLINK passed to __file_name_lookup.
43627 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43628 negative N or less than NGIDS.
43630 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43631 type to string_t. Set ERANGE as errno and return it if NAME is not big
43632 enough. Use memcpy instead of strncpy.
43634 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43636 * elf/Makefile (check-data): Remove.
43637 (localplt.data): New vpath directive.
43638 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43639 instead of $(check-data).
43640 * scripts/data/localplt-generic.data: Move to ...
43641 * sysdeps/generic/localplt.data: ... here.
43642 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43643 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43644 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43647 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43650 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43653 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43656 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43659 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43663 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43665 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43666 PPC32 and PPC64 files.
43667 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43668 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43670 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43672 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43673 __makecontext_ret to ...
43674 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43675 ... here and call exit if uc_link is NULL. New file.
43676 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43677 __makecontext_ret.S.
43678 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43679 __makecontext_ret to ...
43680 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43681 ... here and call exit if uc_link is NULL. New file.
43682 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43683 __makecontext_ret.S.
43685 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43687 * elf/elf.h (R_390_IRELATIVE): New definition.
43688 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43689 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43690 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43692 (elf_machine_lazy_rel): Likewise.
43693 * sysdeps/s390/dl-irel.h: New file.
43694 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43695 * sysdeps/s390/s390-64/memset.S: New asm code.
43696 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43697 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43698 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43699 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43700 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43701 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43702 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43703 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43704 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43705 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43706 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43707 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43708 * sysdeps/s390/s390-32/memset.S: New asm code.
43709 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43711 2012-07-17 Marek Polacek <polacek@redhat.com>
43714 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43715 * sysdeps/s390/s390-64/configure.in: Likewise.
43716 * sysdeps/sparc/configure.in: Likewise.
43717 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43718 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43719 * sysdeps/i386/configure.in: Likewise.
43720 * sysdeps/x86_64/configure.in: Likewise.
43721 * sysdeps/sh/configure.in: Likewise.
43722 * sysdeps/s390/s390-32/configure: Regenerated.
43723 * sysdeps/s390/s390-64/configure: Likewise.
43724 * sysdeps/x86_64/configure: Likewise.
43725 * sysdeps/sh/configure: Likewise.
43726 * sysdeps/powerpc/powerpc64/configure: Likewise.
43727 * sysdeps/powerpc/powerpc32/configure: Likewise.
43728 * sysdeps/sparc/configure: Likwise.
43729 * sysdeps/i386/configure: Likewise.
43731 * elf/dl-open.c: Comment fixes.
43733 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43735 * Makefile [CXX] (check-data): Remove.
43736 [CXX] (c++-types.data): New vpath directive.
43737 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43738 vpath. Do not allow for C++ type data being missing.
43739 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43740 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43741 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43742 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43743 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43744 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43745 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43748 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43751 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43754 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43757 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43760 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43763 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43766 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43769 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43770 definitions to architecture-specific files.
43771 (TLS_IE): Likewise.
43772 (TLS_LD): Likewise.
43773 (TLS_GD): Likewise.
43774 * sysdeps/i386/tls-macros.h: New file.
43775 * sysdeps/powerpc/tls-macros.h: Likewise.
43776 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43777 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43778 * sysdeps/sh/tls-macros.h: Likewise.
43779 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43780 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43781 * sysdeps/x86_64/tls-macros.h: Likewise.
43783 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43786 zero value for regular exit case.
43788 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43789 (__start_context): Preserve zero value for regular exit case.
43791 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43792 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43794 * manual/setjmp.texi (setcontext): Clarify normal process
43795 termination when uc_link is the null pointer.
43796 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43799 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43801 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43802 preprocessor. Test for each exception mask separately.
43804 2012-07-16 Andreas Jaeger <aj@suse.de>
43806 * po/ru.po: Update from translation team.
43808 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43810 * conform/data/string.h-data (NULL): Use macro-constant. Require
43812 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43813 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43814 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43815 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43818 2012-07-13 Andreas Jaeger <aj@suse.de>
43820 * po/fr.po: Update from translation team.
43822 2012-07-12 Marek Polacek <polacek@redhat.com>
43825 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43826 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43829 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43832 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43833 Change to 2.4.1 where previously 2.4.0.
43834 * sysdeps/unix/sysv/linux/configure: Regenerated.
43835 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43836 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43838 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43839 (__ASSUME_AT_CLKTCK): Remove.
43840 (__ASSUME_AT_PAGESIZE): Likewise.
43841 (__ASSUME_AT_XID): Likewise.
43842 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43843 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43844 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43846 (HAVE_AUX_PAGESIZE): Likewise.
43847 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43848 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43849 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43851 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43855 the temporary buffer used to invoke __gethostbyname2_r,
43856 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43857 host_data / struct gaih_addrtuple.
43858 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43859 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43860 header file nss/nsswitch.h.
43861 * nss/nsswitch.h (global scope): Add definition of implementation
43862 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43863 resolv/nss_dns/dns-host.c).
43865 2012-07-11 Andreas Jaeger <aj@suse.de>
43867 * po/fr.po: Update from translation team.
43869 * po/sv.po: Update from translation team
43870 * po/fr.po: Another update from translation team.
43872 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43874 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43875 for subnormals or multiply small sinh result by itself.
43876 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43879 2012-07-11 David S. Miller <davem@davemloft.net>
43881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43883 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43886 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43887 (INTERNAL_MARK): Shift it here.
43889 2012-07-10 Marek Polacek <polacek@redhat.com>
43892 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43893 libc_cv_asm_global_directive with .globl.
43894 * configure: Regenerated.
43895 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43897 * sysdeps/i386/configure: Regenerated.
43898 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43900 * sysdeps/x86_64/configure: Regenerated.
43901 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43902 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43903 * elf/tst-unique2mod2.c: Likewise.
43904 * elf/tst-unique2mod1.c: Likewise.
43905 * elf/tst-unique1mod2.c: Likewise.
43906 * elf/tst-unique1mod1.c: Likewise.
43907 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43908 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43909 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43910 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43911 * sysdeps/mach/sysdep.h: Likewise.
43912 * sysdeps/i386/sysdep.h: Likewise.
43913 * sysdeps/i386/i386-mcount.S: Likewise.
43914 * sysdeps/x86_64/_mcount.S: Likewise.
43915 * sysdeps/x86_64/sysdep.h: Likewise.
43916 * sysdeps/sh/_mcount.S: Likewise.
43917 * sysdeps/sh/sysdep.h: Likewise.
43918 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43919 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43920 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43921 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43922 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43923 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43924 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43925 * locale/localeinfo.h: Likewise.
43926 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43927 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43929 2012-07-09 Roland McGrath <roland@hack.frob.com>
43932 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43934 * manual/message.texi (The Uniforum approach): Likewise.
43935 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43936 (glibc iconv Implementation): Likewise.
43938 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43941 * math/s_clog.c (__clog): Avoid scaling a value down where that
43942 could result in underflow.
43943 * math/s_clog10.c (__clog10): Likewise.
43944 * math/s_clog10f.c (__clog10f): Likewise.
43945 * math/s_clog10l.c (__clog10l): Likewise.
43946 * math/s_clogf.c (__clogf): Likewise.
43947 * math/s_clogl.c (__clogl): Likewise.
43948 * math/libm-test.inc (clog_test): Add more tests.
43949 (clog10_test): Likewise.
43950 * sysdeps/i386/fpu/libm-test-ulps: Update.
43951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43953 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43956 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43957 by 7 not 8 to examine high bit of fractional part.
43960 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43961 for call to __mcount_internal.
43962 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43963 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43964 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43966 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43969 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43970 approximation for values within 0x1p-13f of an odd multiple of
43972 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43973 exception. Add more tests.
43974 * sysdeps/i386/fpu/libm-test-ulps: Update.
43977 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43978 inputs and return -1 for them. Do not check for +Inf in case not
43979 reachable for +Inf.
43980 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43981 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43982 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43983 and return -1 for them. Do not check for +Inf in case not
43984 reachable for +Inf.
43985 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43987 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43988 and return -1 for them. Do not check for +Inf in case not
43989 reachable for +Inf.
43990 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43991 spurious underflow.
43992 * sysdeps/i386/fpu/libm-test-ulps: Update.
43993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43995 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43997 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43999 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44003 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44004 could result in spurious underflow. Scale down values above
44005 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44006 * math/s_csqrtf.c (__csqrtf): Likewise.
44007 * math/s_csqrtl.c (__csqrtl): Likewise.
44008 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44009 spurious underflow.
44010 * sysdeps/i386/fpu/libm-test-ulps: Update.
44011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44013 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44015 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44017 * catgets/xopen-msg.awk: New file.
44018 * catgets/xopen-msg.sed: Removed.
44020 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44022 * intl/po2test.awk: New file.
44023 * intl/po2test.sed: Removed.
44025 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44028 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44029 or multiply small sinh result by itself.
44030 * math/s_ctanf.c (__ctanf): Likewise.
44031 * math/s_ctanh.c (__ctanh): Likewise.
44032 * math/s_ctanhf.c (__ctanhf): Likewise.
44033 * math/s_ctanhl.c (__ctanhl): Likewise.
44034 * math/s_ctanl.c (__ctanl): Likewise.
44035 * math/libm-test.inc (ctan_test_tonearest): New function.
44036 (ctan_test_towardzero): Likewise.
44037 (ctan_test_downward): Likewise.
44038 (ctan_test_upward): Likewise.
44039 (ctanh_test_tonearest): Likewise.
44040 (ctanh_test_towardzero): Likewise.
44041 (ctanh_test_downward): Likewise.
44042 (ctanh_test_upward): Likewise.
44043 (main): Call these new functions.
44044 * sysdeps/i386/fpu/libm-test-ulps: Update.
44045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44047 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44049 * .gitignore: Delete /ports entry.
44051 2012-07-03 Andreas Jaeger <aj@suse.de>
44053 * po/bg.po: Update from translation team.
44054 * po/cs.po: Likewise.
44055 * po/de.po: Likewise.
44056 * po/hr.po: Likewise.
44057 * po/nl.pl: Likewise.
44058 * po/pl.po: Likewise.
44059 * po/vi.po: Likewise.
44061 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44063 * Makeconfig [!+link] (+link-before-libc): New variable.
44064 [!+link] (+link-after-libc): Likewise.
44065 [!+link] (+link-tests): Likewise.
44066 [!+link] (+link): Define in terms of $(+link-before-libc) and
44067 $(+link-after-libc).
44068 [!+link-static] (+link-static-before-libc): New variable.
44069 [!+link-static] (+link-static-after-libc): Likewise.
44070 [!+link-static] (+link-static-tests): Likewise.
44071 [!+link-static] (+link-static): Define in terms of
44072 $(+link-static-before-libc) and $(+link-static-after-libc).
44073 [build-shared] (link-libc-before-gnulib): New variable.
44074 [build-shared] (link-libc-tests): Likewise.
44075 [build-shared] (link-libc): Define in terms of
44076 $(link-libc-before-gnulib).
44077 [!build-shared] (link-libc-tests): New variable.
44078 (link-libc-static-tests): New variable.
44079 [!gnulib] (gnulib-arch): New variable.
44080 [!gnulib] (gnulib-tests): Likewise.
44081 [!gnulib] (static-gnulib-arch): Likewise.
44082 [!gnulib] (static-gnulib-tests): Likewise.
44083 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44084 Define with "=" instead of ":=".
44085 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44086 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44087 * Rules (binaries-all-notests): New variable.
44088 (binaries-all-tests): Likewise.
44089 (binaries-static-notests): Likewise.
44090 (binaries-static-tests): Likewise.
44091 (binaries-all): Define using $(binaries-all-notests) and
44092 $(binaries-all-tests).
44093 (binaries-static): Define using $(binaries-static-notests) and
44094 $(binaries-static-tests).
44095 (binaries-shared-tests): New variable.
44096 (binaries-shared-notests): Likewise.
44097 (binaries-shared): Remove variable.
44098 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44099 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44100 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44101 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44102 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44103 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44104 * elf/Makefile (sln-modules): New variable.
44105 (extra-objs): Add $(sln-modules:=.o).
44106 (ldconfig-modules): Add static-stubs.
44107 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44108 * elf/static-stubs.c: New file.
44111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44112 by 7 not 8 to examine high bit of fractional part. Use volatile
44113 variables when splitting into final array of floats if
44114 __FLT_EVAL_METHOD__ != 0.
44115 * math/libm-test.inc (cos_test): Add another test.
44116 (sin_test): Likewise.
44117 * sysdeps/i386/fpu/libm-test-ulps: Update.
44120 * math/libm-test.inc (cosh_test): Add more tests.
44122 * version.h (RELEASE): Set to "development".
44123 (VERSION): Set to "2.16.90".
44125 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44127 * NEWS: Update copyright. Remove last-updated date.
44128 Mention math library bug fixes and timezone data changes.
44129 * README: Mention GNU/Hurd, x32, and HPPA support status.
44131 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44133 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44135 2012-06-27 Andreas Jaeger <aj@suse.de>
44137 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44139 2012-06-25 Andreas Jaeger <aj@suse.de>
44141 * sysdeps/s390/fpu/libm-test-ulps: Update.
44143 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44144 Thomas Schwinge <thomas@codesourcery.com>
44146 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44147 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44151 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44153 * sysdeps/mach/start.c: Remove file.
44154 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44155 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44156 * sysdeps/sh/init-first.c: Likewise.
44158 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44159 registers for frame unwinding purposes, add CFI directives.
44160 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44161 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44162 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44165 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44166 __fortify_fail returning.
44167 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44169 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44170 sysdeps/sh/____longjmp_chk.S.
44171 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44172 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44173 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44174 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44176 * sysdeps/sh/abort-instr.h: New file.
44177 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44178 process in case exit returns.
44180 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44181 initialize the GOT register before use.
44183 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44184 calculation of ARGC > 4.
44186 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44187 meaningful names to some local labels.
44189 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44190 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44192 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44193 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44194 (__arch_compare_and_exchange_val_16_acq): Likewise.
44195 (__arch_compare_and_exchange_val_32_acq): Likewise.
44196 (atomic_exchange_and_add): Fix gUSA sequence.
44197 (atomic_add): Likewise.
44198 (atomic_add_negative): Likewise.
44199 (atomic_add_zero): Likewise.
44200 (atomic_bit_test_set): Likewise.
44202 2012-06-22 Andreas Schwab <schwab@redhat.com>
44205 * include/link.h (struct link_map): Add l_free_initfini.
44206 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44208 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44209 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44210 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44213 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44215 * configure.in: Use AC_LANG_SOURCE.
44216 * configure: Regenerate.
44218 2012-06-22 Roland McGrath <roland@hack.frob.com>
44220 * configure.in (libc_cv_localstatedir): New substituted variable.
44221 * configure: Regenerated.
44222 * config.make.in (localstatedir): New variable, substituted from
44223 libc_cv_localstatedir.
44224 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44225 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44226 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44227 * sysdeps/gnu/configure: Regenerated.
44229 2012-06-21 Jeff Law <law@redhat.com>
44232 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44233 free. Simplify list management for _LIBC case.
44235 2012-06-21 Joseph Myers <joseph@codesourcery.com>
44238 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44239 Clear sign bit of 64-bit integer value before comparing against
44242 * sysdeps/mach/configure: Regenerated.
44244 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
44247 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44249 2012-06-21 Jeff Law <law@redhat.com>
44252 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
44253 uint16_t for elements in the "seen" array to avoid char overflows.
44254 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44255 * elf/dl-open.c (dl_open_worker): Likewise.
44257 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
44259 * scripts/list-sources.sh: Scan PORTS for translations.
44260 * po/libc.pot: Regenerated.
44262 2012-06-21 Andreas Jaeger <aj@suse.de>
44265 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44267 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44268 * bits/byteswap-16.h (__bswap_16): Likewise.
44269 * bits/byteswap.h (__bswap_constant_16): Likewise.
44271 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44274 * sysdeps/i386/fpu_control.h: Removed.
44275 * sysdeps/x86_64/fpu_control.h: Moved to ...
44276 * sysdeps/x86/fpu_control.h: Here.
44278 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44279 (_FPU_SETCW): Likewise.
44281 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
44284 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44285 * sysdeps/x86/fpu/bits/mathinline.h: This.
44286 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44290 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44291 functions if __x86_64__ is defined.
44293 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
44295 * string/endian.h: Add !__ASSEMBLER__ condition for including
44296 conversion interfaces.
44298 2012-06-15 Joseph Myers <joseph@codesourcery.com>
44301 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44302 of ABS(x) in calculating zero to negative powers other than odd
44304 * math/libm-test.inc (pow_test): Add more tests.
44306 2012-06-15 Andreas Jaeger <aj@suse.de>
44308 * manual/contrib.texi (Contributors): Update entry of Liubov
44309 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44312 2012-06-15 Cyril Hrubis <metan@ucw.cz>
44314 * string/string.h: Add __wur to GNU version of strerror_r.
44316 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
44319 * string/Makefile (tests): Add tst-strtok_r.
44320 * string/tst-strtok_r.c: New file.
44321 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44322 RAX_LP/RDX_LP on SAVE_PTR.
44324 2012-06-14 Roland McGrath <roland@hack.frob.com>
44326 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44328 2012-06-14 Joseph Myers <joseph@codesourcery.com>
44330 * libm_test.inc (csqrt_test): Allow more spurious underflow
44332 (j0_test): Likewise.
44333 (j1_test): Likewise.
44334 (y0_test): Likewise.
44335 (y1_test): Likewise.
44337 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
44339 * po/Makefile (libc.pot): Use UTF-8 charset.
44341 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
44344 Suppress sign-conversion warning from FD_SET.
44345 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44346 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44347 not unsigned long int.
44348 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44350 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
44354 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44355 __extern_always_inline instead of __extern_inline.
44356 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44357 (__signbit): Likewise.
44358 (__signbitl): Support C++ namespace.
44359 (lrintf): New inline function.
44361 (llrintf): Likewise.
44362 (llrint): Likewise.
44372 (floorf): Likewise.
44373 (nearbyint): Likewise.
44374 (nearbyintf): Likewise.
44376 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
44378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44379 non-default versions.
44381 2012-06-11 Roland McGrath <roland@hack.frob.com>
44384 * manual/argp.texi (Argp): Reword argp_parse description slightly.
44386 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
44388 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44389 (FE_UPWARD, FE_DOWNWARD): Don't define.
44390 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44391 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44393 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44395 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44396 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44398 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44400 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44402 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44403 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44405 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
44408 * sysdeps/i386/fpu/bits/fenv.h: Removed.
44409 * sysdeps/i386/fpu/Implies: New file.
44410 * sysdeps/x86_64/fpu/Implies: Likewise.
44411 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44412 * sysdeps/x86/fpu/bits/fenv.h: This.
44414 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44417 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44420 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44421 character 0xffff that matches the last element of the
44424 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44426 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44429 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44431 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44432 values higher than 25.6283.
44434 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44436 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44437 subnormal exponent extraction and add some __builtin_expect.
44438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44439 Fix for subnormal mantissa calculation.
44441 2012-06-04 Mike Frysinger <vapier@gentoo.org>
44443 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44444 cpu2 is -1 and errno is not ENOSYS.
44446 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
44449 * sysdeps/i386/i486/bits/string.h: Renamed to ...
44450 * sysdeps/x86/bits/string.h: This.
44451 * sysdeps/x86_64/bits/string.h: Removed.
44453 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44454 if not compiling for x86-64, but compiling for >= i486.
44456 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44457 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44459 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44460 New macro from Linux kernel 3.4.0.
44461 (FP_XSTATE_MAGIC2): Likewise.
44462 (FP_XSTATE_MAGIC2_SIZE): Likewise.
44463 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44464 (struct _fpx_sw_bytes): New struct.
44465 (struct _xsave_hdr): Likewise.
44466 (struct _ymmh_state): Likewise.
44467 (struct _xstate): Likewise.
44469 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44470 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44471 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44472 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44473 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44474 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44476 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44477 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44478 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44479 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44480 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44481 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44483 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44486 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44487 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44488 (sysdep_headers): Include sys/platform/ppc.h.
44489 * sysdeps/powerpc/test-gettimebase.c: Test for
44490 __ppc_get_timebase() to catch future ISA opcode/insn changes.
44491 * manual/Makefile (appendices): Include platform.texi.
44492 * manual/contrib.texi (Contributors): Update @node pointers.
44493 * manual/maint.texi (Maintenance): Likewise.
44494 (Platform): New node.
44495 * manual/platform.texi: New file. Document the new features.
44497 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44498 Jakub Jelinek <jakub@redhat.com>
44501 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44502 where __builtin_expect is unavailable.
44504 2012-06-03 David S. Miller <davem@davemloft.net>
44506 * stdlib/longlong.h: Updated from GCC.
44508 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44511 * sysdeps/powerpc/powerpc32/mcount.c: New file.
44512 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44515 (GLIBC_2.16): Likewise.
44517 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44519 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44521 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44524 (default-abi): New variable.
44525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44526 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44528 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44530 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44532 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44535 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44536 definition. Document in comment.
44538 2012-06-01 David S. Miller <davem@davemloft.net>
44540 * stdlib/longlong.h: Updated from GCC.
44542 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44545 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44546 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44547 sys/debugreg.h sys/io.h here.
44548 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44549 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44551 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44552 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44553 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44554 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44555 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44556 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44559 Define only if __x86_64__ is defined.
44561 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44565 Use int64_t for variable i.
44566 * math/libm-test.inc (fmod_test): Add more tests.
44568 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44569 z computation is not scheduled after fetestexcept.
44570 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44571 Use math_force_eval instead of asm to ensure calculation scheduled
44572 before exception test.
44573 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44574 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44576 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44579 computation is not scheduled after fetestexcept.
44581 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44584 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44585 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44587 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44589 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44590 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44592 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44595 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44597 (__WCHAR_MIN): Support __WORDSIZE == 64.
44598 (__WCHAR_MAX): Likewise.
44600 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44601 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44604 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44605 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44608 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44609 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44611 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44612 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44614 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44615 Defined to 1 if __x86_64__ isn't defined.
44616 (_STAT_VER_LINUX_OLD): New.
44617 (st_atime): Remove duplicate.
44618 (st_mtime): Likewise.
44619 (st_ctime): Likewise.
44621 2012-05-31 David S. Miller <davem@davemloft.net>
44623 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44626 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44628 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44632 * elf/dl-reloc.c: Include <_itoa.h>.
44633 (_dl_reloc_bad_type): Remove use of INTUSE.
44634 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44635 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44636 * stdio-common/psiginfo.c (psiginfo): Likewise.
44637 * stdio-common/psignal.c (psignal): Likewise.
44638 * string/strsignal.c (strsignal): Likewise.
44639 * include/signal.h (_sys_siglist): Declare hidden proto.
44640 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44641 INTVARDEF with libc_hidden_data_def.
44642 * stdio-common/itoa-udigits.c: Likewise.
44643 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44644 (_itoa_lower_digits_internal): Remove declaration.
44645 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44646 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44647 (_sys_sigabbrev_internal): Remove aliases.
44648 (_sys_siglist): Define hidden alias.
44650 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44655 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44658 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44659 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44661 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44662 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44663 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44664 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44665 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44666 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44668 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44669 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44670 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44672 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44680 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44681 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44682 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44684 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44685 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44686 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44687 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44688 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44689 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44691 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44692 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44694 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44695 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44697 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44699 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44701 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44702 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44704 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44706 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44707 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44708 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44710 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44712 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44714 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44716 * math/math.h (M_El): Use two more decimal places.
44717 (M_LOG2El): Likewise.
44718 (M_LOG10El): Likewise.
44719 (M_LN2l): Likewise.
44720 (M_LN10l): Likewise.
44722 (M_PI_2l): Likewise.
44723 (M_PI_4l): Likewise.
44724 (M_1_PIl): Likewise.
44725 (M_2_PIl): Likewise.
44726 (M_2_SQRTPIl): Likewise.
44727 (M_SQRT2l): Likewise.
44728 (M_SQRT1_2l): Likewise.
44730 2012-05-31 David S. Miller <davem@davemloft.net>
44732 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44733 values between float registers.
44734 * sysdeps/sparc/sparc64/memset.S: Likewise.
44735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44737 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44739 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44740 -D_FORTIFY_SOURCE=1.
44741 (CPPFLAGS-tst-longjmp_chk.c): Define.
44742 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44743 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44744 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44745 CFLAGS-tst-wchar-h.c.
44747 2012-05-31 Marek Polacek <polacek@redhat.com>
44750 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44751 __endmntent_internal): Remove declaration.
44752 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44753 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44754 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44756 2012-05-30 David S. Miller <davem@davemloft.net>
44758 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44759 (___Q_simulate_exceptions): Use real FP ops rather than writing
44761 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44764 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44767 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44768 * sysdeps/x86/bits/xtitypes.h: This.
44770 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44771 * sysdeps/x86/bits/wordsize.h: This.
44773 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44774 * sysdeps/x86/bits/huge_vall.h: This.
44776 * sysdeps/i386/bits/select.h: Removed.
44777 * sysdeps/x86_64/bits/select.h: Renamed to ...
44778 * sysdeps/x86/bits/select.h: This.
44780 * sysdeps/i386/bits/setjmp.h: Removed.
44781 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44782 * sysdeps/x86/bits/setjmp.h: This.
44784 * sysdeps/i386/bits/mathdef.h: Removed.
44785 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44786 * sysdeps/x86/bits/mathdef.h: This.
44788 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44791 * include/sys/socket.h (__connect_internal)
44792 (__libc_sa_len_internal): Remove declaration.
44793 (__connect, __libc_sa_len): Declare hidden_proto.
44794 (SA_LEN): Remove use of INTUSE.
44795 * socket/connect.c: Add libc_hidden_def.
44796 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44797 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44798 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44800 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44801 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44802 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44803 of adding _internal alias.
44805 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44808 * sysdeps/i386/bits/link.h: Removed.
44809 * sysdeps/i386/bits/linkmap.h: Likewise.
44810 * sysdeps/x86_64/bits/link.h: Renamed to ...
44811 * sysdeps/x86/bits/link.h: This.
44812 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44813 * sysdeps/x86/bits/linkmap.h: This.
44815 * sysdeps/i386/bits/endian.h: Removed.
44816 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44817 * sysdeps/x86/bits/endian.h: This.
44819 * sysdeps/i386/bits/byteswap.h: Removed.
44820 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44821 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44822 * sysdeps/x86/bits/byteswap.h: This.
44823 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44824 * sysdeps/x86/bits/byteswap-16.h: This.
44825 * sysdeps/i386/Implies: Add x86.
44826 * sysdeps/x86_64/Implies: Likewise.
44828 2012-05-30 David S. Miller <davem@davemloft.net>
44830 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44831 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44833 (FP_TRAPPING_EXCEPTIONS): Define.
44834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44835 (FP_TRAPPING_EXCEPTIONS): Define.
44836 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44837 subnormals only when inexact has been signalled or underflow
44838 exceptions are enabled.
44839 (_FP_PACK_CANONICAL): Likewise.
44841 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44844 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44845 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44847 2012-05-30 Richard Henderson <rth@twiddle.net>
44849 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44850 with #ifndef NOT_IN_libc.
44852 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44853 marked to avoid plt entry.
44855 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44858 * Makeconfig (default-abi): New macro.
44859 (abi-includes): Likewise.
44860 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44861 $(abi-$(default-abi)-lib-soname) for soname if defined.
44862 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44864 * Makefile (installed-stubs): Likewise.
44865 * include/stubs-biarch.h: Removed.
44866 * scripts/lib-names.awk: Only handle one library at a time.
44867 * scripts/soversions.awk: Remove WORDSIZE support.
44868 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44870 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44872 (syscall-list-default-condition): Likewise.
44873 (syscall-list-default-condition): Likewise.
44874 (syscall-list-includes): Likewise.
44875 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44876 syscall-list-* with abi-*. Handle undefined abi-variants.
44877 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44878 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44879 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44880 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44881 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44882 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44884 (syscall-list-32-options): Likewise.
44885 (syscall-list-32-condition): Likewise.
44886 (syscall-list-64-options): Likewise.
44887 (syscall-list-64-condition): Likewise.
44888 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44890 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44893 (abi-64-ld-soname): New macro.
44894 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44895 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44898 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44899 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44901 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44903 * sysdeps/unix/sysv/linux/kernel-features.h
44904 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44905 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44906 include <kernel-features.h>.
44907 [!__NR_ftruncate64]: Remove conditional code.
44908 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44909 [__NR_ftruncate64]: Make code unconditional.
44910 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44911 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44912 include <kernel-features.h>.
44913 [!__NR_ftruncate64]: Remove conditional code.
44914 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44915 [__NR_ftruncate64]: Make code unconditional.
44916 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44918 include <kernel-features.h>.
44919 [!__NR_ftruncate64]: Remove conditional code.
44920 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44921 [__NR_ftruncate64]: Make code unconditional.
44922 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44924 include <kernel-features.h>.
44925 [!__NR_ftruncate64]: Remove conditional code.
44926 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44927 [__NR_ftruncate64]: Make code unconditional.
44928 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44930 * configure.in (libc_cv_fpie): Weaken to a compile test using
44931 LIBC_TRY_CC_OPTION.
44932 * configure: Regenerated.
44934 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44949 2012-05-27 David S. Miller <davem@davemloft.net>
44951 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44953 (__Q_simulate_exceptions): Return void. Change to simulate
44954 exceptions by writing into the %fsr.
44955 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44956 (__Qp_handle_exceptions): Likewise.
44958 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44959 __Qp_handle_exceptions.
44960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44961 __Qp_handle_exceptions.
44962 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44963 as unused and give dummy FP_RND_NEAREST initializer.
44964 (FP_INHIBIT_RESULTS): Define.
44965 (___Q_simulate_exceptions): Update declaration.
44966 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44969 as unused and give dummy FP_RND_NEAREST initializer.
44970 (__Qp_handle_exceptions): Update declaration.
44971 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44974 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44976 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44977 the temporary FPU control word.
44978 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44979 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44980 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44981 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44982 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44983 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44984 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44985 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44986 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44987 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44988 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44990 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44992 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44995 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44997 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44998 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44999 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45000 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45002 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45003 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45006 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45008 * po/h.po: Update from translation team.
45010 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45012 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45014 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45015 handling of denormals.
45016 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45017 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45018 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45019 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45025 2012-05-26 Marek Polacek <polacek@redhat.com>
45028 * math/libm-test.inc (fma_test): Don't always expect underflow
45031 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45034 * elf/tst-execstack.c: Include stackinfo.h.
45035 (do_test): Adjust test case to ensure that pthread_getattr_np
45036 behaviour remains the same after marking stack executable.
45038 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45040 * sysdeps/unix/sysv/linux/kernel-features.h
45041 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45042 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45044 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45045 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45046 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45048 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45049 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45051 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45053 * configure.in: Define the default includes to being none.
45054 * configure: Regenerated.
45056 2012-05-25 Roland McGrath <roland@hack.frob.com>
45058 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45059 * sysdeps/x86_64/setjmp.S: Likewise.
45060 * sysdeps/i386/bsd-setjmp.S: Likewise.
45061 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45062 * sysdeps/i386/setjmp.S: Likewise.
45063 * sysdeps/i386/__longjmp.S: Likewise.
45064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45065 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45067 * include/stap-probe.h: New file.
45068 * configure.in: Handle --enable-systemtap.
45069 * configure: Regenerated.
45070 * config.h.in (USE_STAP_PROBE): New #undef.
45071 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45072 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45073 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45075 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45079 to 2.4.0 where earlier.
45080 * sysdeps/unix/sysv/linux/configure: Regenerated.
45081 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45082 <kernel-features.h>.
45083 [__ASSUME_32BITUIDS]: Make code unconditional.
45084 [!__ASSUME_32BITUIDS]: Remove conditional code.
45085 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45086 <kernel-features.h>.
45087 [__ASSUME_32BITUIDS]: Make code unconditional.
45088 [!__ASSUME_32BITUIDS]: Remove conditional code.
45089 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45090 [__ASSUME_32BITUIDS]: Make code unconditional.
45091 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45092 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45093 <kernel-features.h>.
45094 [__ASSUME_32BITUIDS]: Make code unconditional.
45095 [!__ASSUME_32BITUIDS]: Remove conditional code.
45096 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45097 <kernel-features.h>.
45098 [__ASSUME_32BITUIDS]: Make code unconditional.
45099 [!__ASSUME_32BITUIDS]: Remove conditional code.
45100 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45101 <kernel-features.h>.
45102 [__ASSUME_32BITUIDS]: Make code unconditional.
45103 [!__ASSUME_32BITUIDS]: Remove conditional code.
45104 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45105 <kernel-features.h>.
45106 [__ASSUME_32BITUIDS]: Make code unconditional.
45107 [!__ASSUME_32BITUIDS]: Remove conditional code.
45108 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45109 <kernel-features.h>.
45110 [__ASSUME_32BITUIDS]: Make code unconditional.
45111 [!__ASSUME_32BITUIDS]: Remove conditional code.
45112 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45113 <kernel-features.h>.
45114 [__ASSUME_32BITUIDS]: Make code unconditional.
45115 [!__ASSUME_32BITUIDS]: Remove conditional code.
45116 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45117 <kernel-features.h>.
45118 [__ASSUME_32BITUIDS]: Make code unconditional.
45119 [!__ASSUME_32BITUIDS]: Remove conditional code.
45120 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45121 <kernel-features.h>.
45122 [__ASSUME_32BITUIDS]: Make code unconditional.
45123 [!__ASSUME_32BITUIDS]: Remove conditional code.
45124 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45125 <kernel-features.h>.
45126 [__ASSUME_32BITUIDS]: Make code unconditional.
45127 [!__ASSUME_32BITUIDS]: Remove conditional code.
45128 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45129 <kernel-features.h>.
45130 [__ASSUME_32BITUIDS]: Make code unconditional.
45131 [!__ASSUME_32BITUIDS]: Remove conditional code.
45132 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45133 <kernel-features.h>.
45134 [__NR_setresgid] (__setresgid): Do not declare.
45135 [__ASSUME_32BITUIDS]: Make code unconditional.
45136 [!__ASSUME_32BITUIDS]: Remove conditional code.
45137 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45138 <kernel-features.h>.
45139 [__NR_setresuid] (__setresuid): Do not declare.
45140 [__ASSUME_32BITUIDS]: Make code unconditional.
45141 [!__ASSUME_32BITUIDS]: Remove conditional code.
45142 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45143 <kernel-features.h>.
45144 [__ASSUME_32BITUIDS]: Make code unconditional.
45145 [!__ASSUME_32BITUIDS]: Remove conditional code.
45146 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45147 <kernel-features.h>.
45148 [__ASSUME_32BITUIDS]: Make code unconditional.
45149 [!__ASSUME_32BITUIDS]: Remove conditional code.
45150 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45151 <kernel-features.h>.
45152 [__ASSUME_32BITUIDS]: Make code unconditional.
45153 [!__ASSUME_32BITUIDS]: Remove conditional code.
45154 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45155 <kernel-features.h>.
45156 [__ASSUME_32BITUIDS]: Make code unconditional.
45157 [!__ASSUME_32BITUIDS]: Remove conditional code.
45158 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45159 <kernel-features.h>.
45160 [__ASSUME_32BITUIDS]: Make code unconditional.
45161 [!__ASSUME_32BITUIDS]: Remove conditional code.
45162 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45163 <kernel-features.h>.
45164 [__ASSUME_32BITUIDS]: Make code unconditional.
45165 [!__ASSUME_32BITUIDS]: Remove conditional code.
45166 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45167 <kernel-features.h>.
45168 [__ASSUME_32BITUIDS]: Make code unconditional.
45169 [!__ASSUME_32BITUIDS]: Remove conditional code.
45170 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45171 <kernel-features.h>.
45172 [__ASSUME_32BITUIDS]: Make code unconditional.
45173 [!__ASSUME_32BITUIDS]: Remove conditional code.
45174 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45175 <kernel-features.h>.
45176 [__ASSUME_32BITUIDS]: Make code unconditional.
45177 [!__ASSUME_32BITUIDS]: Remove conditional code.
45178 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45179 <kernel-features.h>.
45180 [__ASSUME_32BITUIDS]: Make code unconditional.
45181 [!__ASSUME_32BITUIDS]: Remove conditional code.
45182 * sysdeps/unix/sysv/linux/kernel-features.h
45183 (__ASSUME_SETRESUID_SYSCALL): Remove.
45184 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45185 (__ASSUME_32BITUIDS): Likewise.
45186 (__ASSUME_LDT_WORKS): Likewise.
45187 (__ASSUME_O_DIRECTORY): Likewise.
45188 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45189 architecture but not kernel version.
45190 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45191 (__ASSUME_MMAP2_SYSCALL): Likewise.
45192 (__ASSUME_STAT64_SYSCALL): Likewise.
45193 (__ASSUME_IPC64): Likewise.
45194 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45195 <kernel-features.h>.
45196 [__ASSUME_32BITUIDS]: Make code unconditional.
45197 [!__ASSUME_32BITUIDS]: Remove conditional code.
45198 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45199 <kernel-features.h>.
45200 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45201 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45202 132096]: Remove conditional code.
45203 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45204 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45205 <kernel-features.h>.
45206 [__ASSUME_32BITUIDS]: Make code unconditional.
45207 [!__ASSUME_32BITUIDS]: Remove conditional code.
45208 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45209 <kernel-features.h>.
45210 [__ASSUME_32BITUIDS]: Make code unconditional.
45211 [!__ASSUME_32BITUIDS]: Remove conditional code.
45212 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45213 <kernel-features.h>.
45214 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45216 (__setresgid): Do not declare.
45217 [__ASSUME_32BITUIDS]: Make code unconditional.
45218 [!__ASSUME_32BITUIDS]: Remove conditional code.
45219 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45220 <kernel-features.h>.
45221 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45223 (__setresuid): Do not declare.
45224 [__ASSUME_32BITUIDS]: Make code unconditional.
45225 [!__ASSUME_32BITUIDS]: Remove conditional code.
45226 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45227 <kernel-features.h>.
45228 [__ASSUME_32BITUIDS]: Make code unconditional.
45229 [!__ASSUME_32BITUIDS]: Remove conditional code.
45230 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45231 <kernel-features.h>.
45232 [__ASSUME_32BITUIDS]: Make code unconditional.
45233 [!__ASSUME_32BITUIDS]: Remove conditional code.
45235 2012-05-25 Richard Henderson <rth@twiddle.net>
45237 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45238 dl_hwcap to ifunc resolver.
45239 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45241 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45242 dl_hwcap to ifunc resolver.
45243 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45245 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45248 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45249 for |x| <= 2**-26, not 2**-57.
45250 * math/libm-test.inc (acos_test): Do not allow spurious underflow
45253 2012-05-24 Jeff Law <law@redhat.com>
45255 * stdio-common/Makefile (tests): Add bug25.
45256 * stdio-common/bug25.c: New test.
45258 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45261 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45262 multiple of MALLOC_ALIGNMENT in size.
45263 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45265 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45267 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45269 (FILENAME_MAX): Use macro-int-constant.
45270 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
45271 (_IOFBF): Use macro-int-constant.
45272 (_IOLBF): Likewise.
45273 (_IONBF): Likewise.
45274 (SEEK_CUR): Likewise.
45275 (SEEK_END): Likewise.
45276 (SEEK_SET): Likewise.
45277 (TMP_MAX): Likewise.
45278 (EOF): Use macro-int-constant. Require < 0.
45279 (NULL): Use macro-constant. Require == 0.
45280 (stdin): Require type to be FILE *.
45281 (stdout): Likewise.
45282 (stderr): Likewise.
45283 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45284 macro-int-constant.
45285 (EXIT_SUCCESS): Likewise.
45286 (NULL): Use macro-constant. Require == 0.
45287 (RAND_MAX): Use macro-int-constant.
45288 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45289 [C99-based standards] (strtof): Require function.
45290 [C99-based standards] (strtold): Likewise.
45291 [C99-based standards] (strtoll): Likewise.
45292 [C99-based standards] (strtoull): Likewise.
45293 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45294 [ISO || ISO99 || ISO11] (limits.h): Likewise.
45295 [ISO || ISO99 || ISO11] (math.h): Likewise.
45296 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45297 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45300 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
45303 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45304 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45305 * intl/dgettext.c (DCGETTEXT): Likewise.
45306 * intl/gettext.c (DCGETTEXT): Likewise.
45307 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45308 * posix/regex_internal.h (gettext): Likewise.
45309 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45310 Remove declaration.
45311 * include/argz.h (__argz_count_internal)
45312 (__argz_stringify_internal): Remove declaration.
45313 (__argz_count, __argz_stringify): Declare hidden proto.
45314 * intl/dcgettext.c: Remove use of INTDEF.
45315 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45316 * string/argz-stringify.c: Likewise.
45317 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45318 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45319 Declare hidden proto.
45320 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45321 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45322 Declare hidden proto.
45323 * include/stdio.h (__asprintf_internal): Don't declare.
45324 (__asprintf): Don't define as macro. Declare hidden proto.
45325 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45326 (__fsetlocking): Declare hidden proto.
45327 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45328 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45330 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45331 (_IO_setlinebuf): Remove use of INTUSE.
45332 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45333 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45334 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45335 Remove declaration.
45336 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45337 (_IO_do_flush): Remove use of INTUSE.
45338 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45339 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45340 (_IO_adjust_column, _IO_least_wmarker)
45341 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45342 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45343 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45344 (_IO_default_doallocate, _IO_wdefault_doallocate)
45345 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45346 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45347 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45348 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45349 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45350 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45351 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45352 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45353 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45354 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45355 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45356 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45357 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45359 (_IO_flush_all_internal, _IO_adjust_column_internal)
45360 (_IO_default_uflow_internal, _IO_default_finish_internal)
45361 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45362 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45363 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45364 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45365 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45366 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45367 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45368 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45369 (_IO_file_close_internal, _IO_file_close_it_internal)
45370 (_IO_file_underflow_internal, _IO_file_overflow_internal)
45371 (_IO_file_init_internal, _IO_file_attach_internal)
45372 (_IO_file_fopen_internal, _IO_file_read_internal)
45373 (_IO_file_sync_internal, _IO_file_seek_internal)
45374 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45375 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45376 (_IO_str_underflow_internal, _IO_str_overflow_internal)
45377 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45378 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45379 (_IO_list_all_internal, _IO_link_in_internal)
45380 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45381 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45382 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45383 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45384 (_IO_do_write_internal, _IO_padn_internal)
45385 (_IO_getline_info_internal, _IO_getline_internal)
45386 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45387 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45388 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45389 (_IO_vfscanf_internal, _IO_vfprintf_internal)
45390 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45391 (_IO_init_internal, _IO_un_link_internal): Don't declare.
45392 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45393 with libc_hidden_ver, remove use of INTUSE.
45394 * libio/genops.c: Likewise.
45395 * libio/freopen.c: Likewise.
45396 * libio/freopen64.c: Likewise.
45397 * libio/iofclose.c: Likewise.
45398 * libio/iofdopen.c: Likewise.
45399 * libio/iofflush.c: Likewise.
45400 * libio/iofflush_u.c: Likewise.
45401 * libio/iofgets.c: Likewise.
45402 * libio/iofgets_u.c: Likewise.
45403 * libio/iofopen.c: Likewise.
45404 * libio/iofopncook.c: Likewise.
45405 * libio/iofread.c: Likewise.
45406 * libio/iofread_u.c: Likewise.
45407 * libio/ioftell.c: Likewise.
45408 * libio/iofwrite.c: Likewise.
45409 * libio/iogetline.c: Likewise.
45410 * libio/iogets.c: Likewise.
45411 * libio/iogetwline.c: Likewise.
45412 * libio/iopadn.c: Likewise.
45413 * libio/iopopen.c: Likewise.
45414 * libio/ioseekoff.c: Likewise.
45415 * libio/ioseekpos.c: Likewise.
45416 * libio/iosetbuffer.c: Likewise.
45417 * libio/iosetvbuf.c: Likewise.
45418 * libio/ioungetc.c: Likewise.
45419 * libio/ioungetwc.c: Likewise.
45420 * libio/iovdprintf.c: Likewise.
45421 * libio/iovsprintf.c: Likewise.
45422 * libio/iovsscanf.c: Likewise.
45423 * libio/memstream.c: Likewise.
45424 * libio/obprintf.c: Likewise.
45425 * libio/oldfileops.c: Likewise.
45426 * libio/oldiofclose.c: Likewise.
45427 * libio/oldiofdopen.c: Likewise.
45428 * libio/oldiofopen.c: Likewise.
45429 * libio/oldiopopen.c: Likewise.
45430 * libio/oldstdfiles.c: Likewise.
45431 * libio/putc.c: Likewise.
45432 * libio/setbuf.c: Likewise.
45433 * libio/setlinebuf.c: Likewise.
45434 * libio/stdfiles.c: Likewise.
45435 * libio/strops.c: Likewise.
45436 * libio/vasprintf.c: Likewise.
45437 * libio/vscanf.c: Likewise.
45438 * libio/vsnprintf.c: Likewise.
45439 * libio/vswprintf.c: Likewise.
45440 * libio/wfiledoalloc.c: Likewise.
45441 * libio/wfileops.c: Likewise.
45442 * libio/wgenops.c: Likewise.
45443 * libio/wmemstream.c: Likewise.
45444 * libio/wstrops.c: Likewise.
45445 * libio/__fpurge.c: Likewise.
45446 * libio/__fsetlocking.c: Likewise.
45447 * assert/assert.c: Likewise.
45448 * debug/fgets_chk.c: Likewise.
45449 * debug/fgets_u_chk.c: Likewise.
45450 * debug/fread_chk.c: Likewise.
45451 * debug/fread_u_chk.c: Likewise.
45452 * debug/gets_chk.c: Likewise.
45453 * debug/obprintf_chk.c: Likewise.
45454 * debug/vasprintf_chk.c: Likewise.
45455 * debug/vdprintf_chk.c: Likewise.
45456 * debug/vsnprintf_chk.c: Likewise.
45457 * debug/vsprintf_chk.c: Likewise.
45458 * malloc/mtrace.c: Likewise.
45459 * misc/error.c: Likewise.
45460 * misc/syslog.c: Likewise.
45461 * stdio-common/asprintf.c: Likewise.
45462 * stdio-common/fxprintf.c: Likewise.
45463 * stdio-common/getw.c: Likewise.
45464 * stdio-common/isoc99_fscanf.c: Likewise.
45465 * stdio-common/isoc99_scanf.c: Likewise.
45466 * stdio-common/isoc99_vfscanf.c: Likewise.
45467 * stdio-common/isoc99_vscanf.c: Likewise.
45468 * stdio-common/isoc99_vsscanf.c: Likewise.
45469 * stdio-common/printf-prs.c: Likewise.
45470 * stdio-common/printf_fp.c: Likewise.
45471 * stdio-common/printf_fphex.c: Likewise.
45472 * stdio-common/printf_size.c: Likewise.
45473 * stdio-common/putw.c: Likewise.
45474 * stdio-common/scanf.c: Likewise.
45475 * stdio-common/sprintf.c: Likewise.
45476 * stdio-common/tmpfile.c: Likewise.
45477 * stdio-common/vfprintf.c: Likewise.
45478 * stdio-common/vfscanf.c: Likewise.
45479 * stdlib/strfmon_l.c: Likewise.
45480 * sunrpc/openchild.c: Likewise.
45481 * sunrpc/xdr_stdio.c: Likewise.
45482 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45483 * sysdeps/mach/hurd/tmpfile.c: Likewise.
45485 2012-05-24 Roland McGrath <roland@hack.frob.com>
45487 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45489 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45490 in the third column, to generate for the shared library an IFUNC
45491 that uses _dl_vdso_vsym.
45492 * Makerules (COMPILE.c, compile-stdin.c): New variables.
45493 * Makeconfig (object-suffixes-noshared): New variable.
45495 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45496 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45497 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45498 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45501 * include/sys/time.h (__gettimeofday): Remove macro.
45502 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45503 * time/gettimeofday.c (__gettimeofday): Remove #undef.
45505 (__gettimeofday): Add libc_hidden_def.
45506 (gettimeofday): Add libc_hidden_weak.
45507 * sysdeps/mach/gettimeofday.c: Likewise.
45508 * sysdeps/posix/gettimeofday.c: Likewise.
45509 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45510 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45512 (__gettimeofday_internal): Remove strong_alias.
45513 (__gettimeofday): Add libc_hidden_def.
45514 (gettimeofday): Add libc_hidden_weak.
45515 * sysdeps/unix/syscalls.list (gettimeofday):
45516 Remove __gettimeofday_internal alias.
45518 2012-05-24 Daniel Jacobowitz <drow@false.org>
45519 H.J. Lu <hongjiu.lu@intel.com>
45522 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45523 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45524 (largebin_index_32_big): New.
45525 (largebin_index): Use it for 16-byte alignment.
45526 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45527 correction with front_misalign.
45529 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45557 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45558 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45560 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45564 * math/libm-test.inc (exp_test): Add test from bug 14036.
45565 (pow_test): Add test from bug 10846.
45567 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45569 (special_function): Do not include flags in test name.
45570 (parse_args): Likewise.
45571 * sysdeps/i386/fpu/libm-test-ulps: Update.
45572 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45573 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45574 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45577 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45579 * math/libm-test.inc ("Philosophy"): Update comment about
45581 (UNDERFLOW_EXCEPTION): New macro.
45582 (UNDERFLOW_EXCEPTION_OK): Likewise.
45583 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45584 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45585 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45586 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45587 (INVALID_EXCEPTION_OK): Update value.
45588 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45589 (OVERFLOW_EXCEPTION_OK): Likewise.
45590 (IGNORE_ZERO_INF_SIGN): Likewise.
45591 (test_exceptions): Handle underflow exceptions.
45592 (acos_test): Update for underflow exception expectations.
45593 (cexp_test): Likewise.
45594 (clog_test): Likewise.
45595 (clog10_test): Likewise.
45596 (csqrt_test): Likewise.
45597 (ctan_test): Likewise.
45598 (ctanh_test): Likewise.
45599 (exp_test): Likewise.
45600 (exp10_test): Likewise.
45601 (exp2_test): Likewise.
45602 (expm1_test): Likewise.
45603 (fma_test): Likewise.
45604 (j0_test): Likewise.
45605 (jn_test): Likewise.
45606 (nexttoward_test): Likewise.
45607 (pow_test): Likewise.
45608 (scalbn_test): Likewise.
45609 (scalbln_test): Likewise.
45610 (tan_test): Likewise.
45611 (y1_test): Likewise.
45612 * sysdeps/i386/fpu/libm-test-ulps: Update.
45613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45615 2012-05-23 David S. Miller <davem@davemloft.net>
45617 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45618 (__libc_sigaction): Remove unused local variables.
45620 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45622 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45624 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45626 mktime: avoid signed integer overflow
45627 * time/mktime.c (__mktime_internal): Do not mishandle the case
45628 where diff == INT_MIN.
45630 mktime: simplify computation of average
45631 * time/mktime.c (ranged_convert): Use new time_t_avg function
45632 instead of rolling our own (probably-slower) code.
45634 mktime: do not assume signed right shift propagates sign bit
45635 * time/mktime.c (isdst_differ): New static function.
45636 (__mktime_internal): No need to normalize tm_isdst now.
45637 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45640 mktime: merge another wrapv change from gnulib
45641 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45642 from some compilers.
45644 mktime: remove incorrect attempt at unusual arithmetics
45645 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45646 The code didn't really work on such machines anyway.
45647 (TYPE_MINIMUM): Assume two's complement.
45648 (twos_complement_arithmetic): Verify that long_int and time_t
45649 are two's complement (or unsigned, in the latter case).
45651 mktime: check signed shifts on long_int and time_t, too
45652 * time/mktime.c (SHR): Check that shifts work as desired
45653 on the types long_int and time_t too, as SHR is used on
45656 mktime: do not assume 'long' is wide enough
45657 * time/mktime.c (verify): Move decl up.
45658 (long_int): New type.
45659 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45660 to remove assumption in the code that 'long' is wide enough to
45661 store year values. This assumption is not true on x32 and on
45662 some non-glibc platforms.
45664 mktime: merge wrapv change from gnulib
45665 * time/mktime.c (WRAPV): New macro.
45666 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45667 (guess_time_tm, __mktime_internal): Do not assume that signed
45668 integer overflow wraps around; modern compilers generate code
45669 where this assumption is no longer valid.
45671 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45673 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45674 Replace "jmp L(pseudo_end)" with "ret".
45675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45678 2012-05-23 Andreas Jaeger <aj@suse.de>
45680 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45681 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45683 2012-05-23 Andreas Jaeger <aj@suse.de>
45684 Maximilian Attems <max@stro.at>
45686 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45689 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45691 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45692 code so that pseudo_end is just ret and the stack pointer is
45693 correct also for static library in error case.
45695 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45697 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45698 move to syscalls.list.
45699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45704 * manual/install.texi (Running make install): Do not mention Linux
45705 kernel version for which pt_chown is not needed.
45706 (Linux): Do not mention problems with nscd with 2.0 kernels.
45707 * INSTALL: Regenerated.
45709 2012-05-23 Andreas Jaeger <aj@suse.de>
45711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45712 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45714 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45716 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45718 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45720 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45721 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45722 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45724 * sysdeps/unix/sysv/linux/bits/in.h
45725 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45727 2012-05-22 Roland McGrath <roland@hack.frob.com>
45729 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45730 (PREPARE_VERSION): Just use assert instead, it will be elided
45731 under [NDEBUG] anyway.
45733 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45735 * sysdeps/unix/sysv/linux/Makefile: Include
45736 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45737 (sysdep_routines): Remove sysctl.
45738 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45739 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45740 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45741 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45742 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45744 2012-05-22 Andreas Jaeger <aj@suse.de>
45746 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45747 that pseudo_end is just ret and the stack pointer is correct also
45748 for static library in error case.
45750 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45753 * nss/nsswitch.c (defconfig_entries): New variable.
45754 (__nss_database_lookup): Don't leak defconfig entries.
45755 (nss_parse_service_list): Don't leak on error paths.
45756 (free_database_entries): New function.
45757 (free_defconfig): New function.
45758 (free_mem): Move common code to free_database_entries.
45760 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45762 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45764 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45766 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45767 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45770 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45771 (INTERNAL_SYSCALL_TYPES): Likewise.
45772 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45773 (LOAD_REGS_TYPES_[1-6]): Likewise.
45774 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45775 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45777 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45779 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45780 copysignl for GLIBC_2_0.
45781 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45782 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45784 logbl for GLIBC_2_0.
45785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45786 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45788 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45791 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45793 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45796 * time/mktime.c: Update copyright years.
45798 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45800 mktime: merge comment-quoting-style change from gnulib
45801 * time/mktime.c: Quote 'like this' in comments.
45802 The GNU coding standards suggest that we no longer quote `like this',
45803 as "`" and "'" are typically rendered asymmetrically nowadays.
45804 The typical gnulib style is to quote 'like this' when quoting
45805 code, and "like this" when quoting English.
45807 * time/mktime.c (compile-command): Add "-I.".
45809 mktime: merge mktime-internal.h change from gnulib
45810 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45812 mktime: merge time_r change from gnulib
45813 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45815 mktime: merge DEBUG change from gnulib
45816 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45817 case system <time.h> has a #define.
45819 mktime: merge <sys/types.h> change from gnulib
45820 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45821 since <time.t> is now guaranteed to define time_t.
45823 mktime: merge HAVE_CONFIG_H change from gnulib
45824 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45826 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45831 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45833 (struct rusage): Use anonymous union to pad each field to
45836 2012-05-21 David S. Miller <davem@davemloft.net>
45838 * Makefules (o-iterator): Remove .s cases.
45839 (compile-command.s): Delete.
45840 (COMPILE.s): Delete.
45841 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45843 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45845 * configure.in (libc_cv_predef_stack_protector): Only consider
45846 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45847 * configure: Regenerated.
45849 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45852 New macro. Use R*LP on int and pointer.
45853 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45854 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45855 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45856 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45858 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45859 [__WORDSIZE_TIME64_COMPAT32] instead of
45860 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45861 (struct utmp): Likewise.
45862 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45863 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45865 (__WORDSIZE_TIME64_COMPAT32): This.
45866 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45867 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45868 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45869 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45870 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45871 (__WORDSIZE_TIME64_COMPAT32): New macro.
45873 2012-05-21 Andreas Jaeger <aj@suse.de>
45875 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45876 only if [SHARED]. Add prototype for __wcschr_ia32.
45878 2012-05-21 Roland McGrath <roland@hack.frob.com>
45880 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45881 of %rbp unmolested in the jmp_buf while mangling the low bits.
45882 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45883 unmolested high bits of %rbp while demangling the low bits.
45884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45886 2012-05-21 Andreas Jaeger <aj@suse.de>
45888 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45889 * sunrpc/svc_simple.c: Use it for registerrpc.
45890 * sunrpc/xcrypt.c: Use it for passwd2des.
45892 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45894 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45896 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45897 Don't define if [__SYSCALL_WORDSIZE != 32].
45898 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45901 2012-05-21 Bruno Haible <bruno@clisp.org>
45902 Andreas Jaeger <aj@suse.de>
45904 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45905 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45906 inptr and inend for must_buffer_ch.
45907 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45908 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45909 * stdio-common/Makefile (tests): Remove bug15.
45910 (bug15-ENV): Remove macro.
45911 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45914 2012-05-19 Andreas Jaeger <aj@suse.de>
45915 Roland McGrath <roland@hack.frob.com>
45917 * manual/contrib.texi: Completely rewritten. It contains now an
45918 alphabetical list of contributors and their contributions.
45920 2012-05-21 Richard Henderson <rth@twiddle.net>
45922 * misc/getauxval.c (__getauxval): Use unsigned long int.
45923 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45924 (getauxval): Use unsigned long int.
45926 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45928 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45930 2012-05-21 Roland McGrath <roland@hack.frob.com>
45932 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45933 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45934 __alignof__ (long double).
45936 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45940 2012-05-20 Richard Henderson <rth@twiddle.net>
45942 * misc/getauxval.c: New file.
45943 * misc/sys/auxv.h: New file.
45944 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45945 (routines): Add getauxval.
45946 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45947 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45948 * elf/dl-sysdep.c (_dl_auxv): Remove.
45949 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45950 * elf/dl-support.c (_dl_auxv): New variable.
45951 (_dl_aux_init): Initialize it.
45952 * manual/startup.texi (Auxiliary Vector): New node.
45953 * sysdeps/generic/bits/hwcap.h: New file.
45954 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45955 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45956 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45957 * sysdeps/sparc/sysdep.h: ... here. Include it.
45958 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45965 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45971 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45975 2012-05-19 David S. Miller <davem@davemloft.net>
45977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45979 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45982 * math/s_ccosh.c: Include <float.h>
45983 (__ccosh): Avoid internal overflow calculating sinh and cosh
45984 values before multiplying by sin and cos values.
45985 * math/s_ccoshf.c: Likewise.
45986 * math/s_ccoshl.c: Likewise.
45987 * math/s_csin.c: Likewise.
45988 * math/s_csinf.c: Likewise.
45989 * math/s_csinl.c: Likewise.
45990 * math/s_csinh.c: Likewise.
45991 * math/s_csinhf.c: Likewise.
45992 * math/s_csinhl.c: Likewise.
45993 * math/libm-test.inc (ccos_test): Add more tests.
45994 (ccosh_test): Likewise.
45995 (csin_test): Likewise.
45996 (csinh_test): Likewise.
45997 * sysdeps/i386/fpu/libm-test-ulps: Update.
45998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46000 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46002 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46003 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46005 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46007 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46009 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46010 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46011 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46012 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46013 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46014 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46015 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46016 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46017 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46018 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46019 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46020 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46021 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46022 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46023 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46024 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46025 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46026 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46027 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46028 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46029 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46030 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46031 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46032 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46033 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46034 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46035 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46036 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46037 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46038 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46039 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46041 2012-05-18 Andreas Jaeger <aj@suse.de>
46043 * csu/.gitignore: Delete.
46045 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46047 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46048 (timex): Use __syscall_slong_t.
46050 2012-05-18 Andreas Jaeger <aj@suse.de>
46051 Carlos O'Donell <carlos_odonell@mentor.com>
46053 * manual/install.texi (Configuring and compiling): Update
46054 description about files modified in the source directory.
46055 * INSTALL: Regenerated.
46057 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46059 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46060 value. Use "or" to set return value to -1.
46061 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46062 negate return value.
46064 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46066 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46067 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46068 failure if the compiler has Graphite support disabled.
46069 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46071 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46072 (CFLAGS-memmove.c): Likewise.
46073 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46076 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46078 * sysdeps/x86_64/x32/_itoa.h: New file.
46080 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46081 getdents system call only if kernel and user dirents have the
46082 same d_ino and d_off.
46084 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46085 LLONG_MAX != LONG_MAX.
46086 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46087 (_fitoa_word): Likewise.
46089 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46091 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46092 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46093 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46095 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46096 include <bits/wordsize.h>. Check __x86_64__ instead of
46098 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46099 if __x86_64__ is defined. Use anonymous union on fpstate.
46101 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46104 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46106 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46107 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46108 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46109 Refer to _rtld_local_ro instead of _rtld_global_ro.
46110 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46112 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46114 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46116 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46117 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46118 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46120 * sysdeps/powerpc/powerpc32/dl-machine.c
46121 (__elf_machine_runtime_setup) [PROF]: Don't reference
46124 2012-05-18 Andreas Jaeger <aj@suse.de>
46126 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46127 function only available for GCCs before 3.4 since GCC 3.4
46128 introduced a builtin.
46130 (llrintf): Likewise.
46131 (llrint): Likewise.
46138 (nearbyint): Likewise.
46139 (nearbyintf): Likewise.
46143 (floorf): Likewise.
46145 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46147 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46148 on both fields and cast pointer to __syscall_ulong_t.
46150 * bits/types.h (__fsword_t): New type.
46151 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46152 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46154 (__FSWORD_T_TYPE): Likewise.
46155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46156 (__FSWORD_T_TYPE): Likewise.
46157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46158 (__FSWORD_T_TYPE): Likewise.
46159 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46160 (__FSWORD_T_TYPE): Likewise.
46161 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46162 __SWORD_TYPE with __fsword_t.
46163 (statfs64): Likewise.
46165 2012-05-17 David S. Miller <davem@davemloft.net>
46167 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46169 2012-05-17 Andreas Jaeger <aj@suse.de>
46171 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46174 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46176 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46178 2012-05-17 Andreas Jaeger <aj@suse.de>
46180 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46183 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46185 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46187 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46189 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46190 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46192 2012-05-17 Andreas Jaeger <aj@suse.de>
46193 Carlos O'Donell <carlos_odonell@mentor.com>
46196 * sysdeps/x86_64/multiarch/init-arch.h
46197 (bit_YMM_Usable): Rename to...
46198 (bit_AVX_Usable): ... this.
46199 (bit_FMA4_Usable): New macro.
46200 (bit_XMM_state): New macro.
46201 (bit_YMM_state): New macro.
46202 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46203 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46204 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46205 (CPUID_OSXSAVE): New macro.
46206 (CPUID_AVX): New macro.
46207 (CPUID_FMA4): New macro.
46208 (index_YMM_Usable): Rename to...
46209 (index_AVX_Usable): ... this.
46210 (HAS_AVX): Use HAS_ARCH_FEATURE.
46211 (HAS_FMA4): Likewise.
46212 (HAS_YMM_USABLE): Remove.
46213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46214 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46216 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46217 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46218 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46219 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46220 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46222 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46224 * math/libm-test.c: Support platforms without multiple rounding modes.
46225 * math/bug-nextafter.c: Support platforms without FP exceptions.
46226 * math/bug-nexttoward.c: Likewise.
46227 * math/test-fenv.c: Likewise.
46228 * math/test-misc.c: Likewise.
46229 * stdlib/bug-getcontext.c: Likewise.
46231 2012-05-17 Andreas Jaeger <aj@suse.de>
46233 * manual/examples/search.c (critter_cmp): Change signature to
46235 * manual/string.texi (Collation Functions): Likewise.
46237 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46239 * bits/types.h: Fold copyright years.
46240 * bits/typesizes.h: Likewise.
46241 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46245 * time/time.h: Likewise.
46247 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
46250 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46251 in instead of returning them. Return void.
46252 (__libc_mallinfo): Accumulate over all arenas.
46253 (__malloc_stats): Adjust for change in int_mallinfo interface.
46255 2012-05-16 Roland McGrath <roland@hack.frob.com>
46258 * configure.in (NM): Add AC_CHECK_TOOL for it.
46259 (libc_extra_cflags): New substituted variable.
46260 Check for -fstack-protector being used implicitly.
46261 * configure: Regenerated.
46262 * config.make.in (config-extra-cflags): New variable,
46263 gets @libc_extra_cflags@.
46264 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46267 * configure.in: Check for _FORTIFY_SOURCE being predefined.
46268 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46269 * configure: Regenerated.
46270 * config.make.in (CPPUNDEFS): New substituted variable.
46271 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46272 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46273 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46275 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46277 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46278 (mq_attr): Use __syscall_slong_t.
46280 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46282 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46283 Check __x86_64__ instead of __WORDSIZE.
46284 (_STAT_VER_LINUX): Likewise.
46285 (stat): Check __x86_64__ instead of __WORDSIZE. Use
46286 __syscall_ulong_t and __syscall_slong_t.
46287 (stat64): Likewise.
46289 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46291 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46293 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46295 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46297 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46299 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46302 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46303 include <bits/wordsize.h>. Check __x86_64__ instead of
46305 (greg_t): Use "__extension__ long long int" if __x86_64__ is
46307 (mcontext_t): Replace "unsigned long" with "unsigned long long".
46309 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46310 include <bits/wordsize.h>. Check __x86_64__ instead of
46312 (user_regs_struct): Use "__extension__ unsigned long long"
46313 instead of "unsigned long" if __x86_64__ is defined.
46314 (user): Likewise. Pad after pointer field if __ILP32__ is
46317 2012-05-16 Joseph Myers <joseph@codesourcery.com>
46319 * configure.in (makeinfo): Require version 4.5 or later. Allow
46321 * configure: Regenerated.
46322 * manual/install.texi (texinfo): Increase version requirement to
46324 * INSTALL: Regenerated.
46326 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46328 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46330 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46332 * sysdeps/x86_64/x32/ffs.c: New file.
46334 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46336 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46337 defined. Use __syscall_ulong_t.
46338 (shminfo): Use __syscall_ulong_t.
46339 (shm_info): Likewise.
46341 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46344 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46346 (msgqnum_t): Use __syscall_ulong_t.
46347 (msglen_t): Likewise.
46348 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
46351 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46352 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46354 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46356 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46357 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46359 * sysvipc/sys/msg.h (msgbuf): Replace long int with
46362 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46363 include <bits/wordsize.h>. Check __x86_64__ instead of
46366 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46367 "unsigned long long int" if __x86_64__ is defined.
46368 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46370 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46371 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46372 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46374 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46376 (GET_PC): Cast to uintptr_t first.
46377 (GET_FRAME): Likewise.
46378 (GET_STACK): Likewise.
46380 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46381 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46382 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46383 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46384 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46385 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46386 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46387 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46388 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46389 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46390 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46391 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46392 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46393 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46394 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46395 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46396 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46397 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46398 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46399 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46400 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46401 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46402 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46403 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46404 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46405 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46406 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46407 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46408 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46410 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
46412 * Makerules (+depfiles): Also collect depfiles from .oS in
46414 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46415 .oS, $(libnldbl-routines)).
46417 * Makerules (native-compile-mkdep-flags): Define.
46418 * sunrpc/Makefile (extra-objs): Add $(addprefix
46419 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46420 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46421 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
46422 calling $(make-target-directory).
46424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46426 * bits/types.h (__snseconds_t): Removed.
46427 * time/time.h (struct timespec): Replace __snseconds_t with
46429 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46430 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46433 (__SNSECONDS_T_TYPE): Likewise.
46434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46435 (__SNSECONDS_T_TYPE): Likewise.
46436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46437 (__SNSECONDS_T_TYPE): Likewise.
46439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46441 * sysdeps/mach/hurd/bits/typesizes.h
46442 (__SYSCALL_SLONG_TYPE): New macro.
46443 (__SYSCALL_ULONG_TYPE): Likewise.
46445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46447 * bits/types.h (__syscall_slong_t): New type.
46448 (__syscall_ulong_t): Likewise.
46450 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46451 (__SYSCALL_ULONG_TYPE): Likewise.
46452 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46453 (__SYSCALL_SLONG_TYPE): Likewise.
46454 (__SYSCALL_ULONG_TYPE): Likewise.
46455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46456 (__SYSCALL_SLONG_TYPE): Likewise.
46457 (__SYSCALL_ULONG_TYPE): Likewise.
46458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46459 (__SYSCALL_SLONG_TYPE): Likewise.
46460 (__SYSCALL_ULONG_TYPE): Likewise.
46462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46464 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46465 Add sigaltstack-offsets.sym.
46466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46467 <sigaltstack-offsets.h>.
46468 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
46469 longjmp_msg pointer.
46470 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
46471 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46473 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46475 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46477 * elf/stackguard-macros.h: Remove file.
46478 * sysdeps/generic/stackguard-macros.h: New file.
46479 * sysdeps/i386/stackguard-macros.h: Likewise.
46480 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46481 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46482 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46483 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46484 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46485 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46486 * sysdeps/x86_64/stackguard-macros.h: Likewise.
46487 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46488 <elf/stackguard-macros.h>.
46491 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46492 __aligned__ in attribute.
46493 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46494 (gregset_t): Likewise.
46496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46498 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46499 * sysdeps/x86_64/64/Implies-after: Here. New file.
46500 * sysdeps/x86_64/x32/Implies-after: New file.
46502 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46504 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46505 and access return value for _dl_profile_fixup. Use R10_LP to
46508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46510 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46514 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46515 * sysdeps/x86_64/x32/sysdep.h: New file.
46517 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46519 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46520 * sysdeps/x86_64/setjmp.S: Likewise.
46522 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46524 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46525 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46526 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46528 remove unused global constant.
46530 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
46532 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46533 include of <not-cancel.h>.
46535 2012-05-15 Roland McGrath <roland@hack.frob.com>
46537 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46539 2012-05-15 Jeff Law <law@redhat.com>
46540 Andreas Jaeger <aj@suse.de>
46543 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46545 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46546 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46547 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46548 code changing __hst_map_handle.map.
46550 2012-05-15 Roland McGrath <roland@hack.frob.com>
46552 * configure.in (sysnames): Look for Implies-before and Implies-after
46554 * configure: Regenerated.
46556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46558 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46559 8-byte data alignment with LP_SIZE alignment.
46561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46563 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46568 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46572 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46573 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46574 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46580 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46581 (stackinfo_sub_sp): Likewise.
46583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46585 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46590 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46600 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46604 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46605 into R11_LP and load __x86_64_shared_cache_size_half into
46608 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46610 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46613 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46622 powerpc32/power7/fpu/s_logb.c via #include.
46623 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46624 powerpc32/power7/fpu/s_logbf.c via #include.
46625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46626 powerpc32/power7/fpu/s_logbl.c via #include.
46628 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46630 * README.libm: Remove file.
46632 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46634 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46635 count for x32. Use R*_LP and omit operand-size suffix.
46637 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46639 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46640 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46641 * sysdeps/x86_64/x32/shlib-versions: New file.
46643 2012-05-14 Roland McGrath <roland@hack.frob.com>
46645 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46646 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46647 Use _dl_fatal_printf instead.
46649 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46651 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46652 set if not set by the user. Do not allow for being unset.
46653 * sysdeps/unix/sysv/linux/configure: Regenerated.
46655 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46657 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46658 the `q' suffix from lea and replace .quad with ASM_ADDR.
46660 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46663 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46665 (PTR_DEMANGLE): Likewise.
46667 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46669 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46671 (ASM_ADDR): Likewise.
46672 (RAX_LP): Likewise.
46673 (RBP_LP): Likewise.
46674 (RBX_LP): Likewise.
46675 (RCX_LP): Likewise.
46676 (RDI_LP): Likewise.
46677 (RSI_LP): Likewise.
46678 (RSP_LP): Likewise.
46681 (R10_LP): Likewise.
46682 (R10_LP): Likewise.
46683 (R11_LP): Likewise.
46684 (R12_LP): Likewise.
46685 (R13_LP): Likewise.
46686 (R14_LP): Likewise.
46687 (R15_LP): Likewise.
46689 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46691 * sysdeps/x86_64/x32/dl-machine.h: New file.
46693 2012-05-14 Andreas Jaeger <aj@suse.de>
46695 * manual/Makefile (subdir): Remove export of subdir.
46696 (all): Remove target.
46697 (.PHONY): Remove all from list.
46698 (mkinstalldirs): Remove.
46699 (.PHONY): Remove installdirs from list.
46700 ($(inst_infodir)/libc.info): Use make-target-directory.
46701 (installdirs): Remove.
46702 (subdir_%): Remove.
46703 (glibc-targets): Remove.
46706 ($(objpfx)stubs ../po/manual.pot): Remove.
46707 ($(objpfx)stamp%): Remove.
46708 (make-target-directory): Remove.
46709 (subdir_install): Remove.
46710 (routines): Remove.
46717 * manual/.gitignore: Remove, it's not needed anymore.
46718 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46720 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46722 (texis): Renamed to $(objpfx)texis.
46723 (texis-path): New, contains path to generated files.
46724 (chapters.%): Use texis-path for complete path, add extra argument
46726 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46727 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46728 (summary,texi, stamp-summary): Use complete path of
46729 files. Generate files in build dir.
46730 (dir-add.texi): Build in build dir.
46731 (libm-err.texi,stamp-libm-err): Likewise.
46732 (version.texi, stamp-version): Likewise.
46733 (.%c.texi): Likewise.
46734 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46735 (mostlyclean): Remove target.
46736 (realclean): Remove target.
46737 (generated): Add new variable with contents from mostlyclean and
46738 realclean, remove entries duplicated in common-mostlyclean, add
46739 stamp-libm-err and stamp-version.
46740 (generated-dirs): Add libc directory.
46741 ($(inst_infodir)/libc.info): Install files from build dir.
46743 * manual/install.texi (Configuring and compiling): Adjust since
46744 the info files are not part of the tar ball anymore.
46746 2012-05-14 Andreas Jaeger <aj@suse.de>
46748 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46751 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46755 to 2.2.0 where earlier.
46756 * sysdeps/unix/sysv/linux/configure: Regenerated.
46757 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46758 Remove conditional code.
46759 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46760 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46761 Remove conditional code.
46762 [!__NR_lchown]: Likewise.
46763 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46764 [__NR_lchown]: Likewise.
46765 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46766 comment referencing __ASSUME_LCHOWN_SYSCALL.
46767 * sysdeps/unix/sysv/linux/i386/sigaction.c
46768 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46769 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46770 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46771 Remove conditional code.
46772 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46773 (__protocol_available): Remove #if 0 code.
46774 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46776 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46777 * sysdeps/unix/sysv/linux/kernel-features.h
46778 (__ASSUME_GETCWD_SYSCALL): Don't define.
46779 (__ASSUME_REALTIME_SIGNALS): Likewise.
46780 (__ASSUME_PREAD_SYSCALL): Likewise.
46781 (__ASSUME_PWRITE_SYSCALL): Likewise.
46782 (__ASSUME_POLL_SYSCALL): Likewise.
46783 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46784 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46786 (__ASSUME_SIOCGIFNAME): Don't define.
46787 (__ASSUME_MSG_NOSIGNAL): Likewise.
46788 (__ASSUME_SENDFILE): Define unconditionally.
46789 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46790 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46792 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46793 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46794 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46795 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46796 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46797 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46798 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46800 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46803 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46806 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46807 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46809 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46810 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46812 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46813 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46815 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46818 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46819 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46821 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46823 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46824 Remove conditional code.
46825 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46826 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46827 Remove conditional code.
46828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46829 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46830 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46831 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46832 Remove conditional code.
46833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46834 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46835 Remove conditional code.
46836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46837 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46838 Remove conditional code.
46839 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46840 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46841 Remove conditional code.
46842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46843 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46844 Remove conditional code.
46845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46846 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46847 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46848 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46849 * sysdeps/unix/sysv/linux/sigaction.c
46850 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46851 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46852 * sysdeps/unix/sysv/linux/sigpending.c
46853 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46854 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46855 * sysdeps/unix/sysv/linux/sigprocmask.c
46856 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46857 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46858 * sysdeps/unix/sysv/linux/sigsuspend.c
46859 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46860 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46861 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46862 (__libc_missing_rt_sigs): Remove.
46863 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46864 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46865 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46866 Remove conditional code.
46867 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46868 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46870 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46871 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46872 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46873 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46875 2012-05-14 Andreas Jaeger <aj@suse.de>
46877 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46878 it's not used in glibc.
46879 (__coshm1): Likewise.
46880 (__acosh1p): Likewise.
46883 * manual/string.texi (Copying and Concatenation): Add missing
46884 variable in concat example.
46885 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46887 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46891 __builtin_clzl with __builtin_clzll.
46893 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46896 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46899 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46901 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46902 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46903 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46904 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46906 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46908 * NEWS: Update ia64 info.
46910 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46912 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46915 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46917 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46918 * sysdeps/unix/syscalls.list (dup3): Likewise.
46919 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46920 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46922 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46924 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46925 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46927 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46929 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46931 (TLS_IE): Use mov/add instead of movq/addq to load thread
46933 (TLS_GD_PREFIX): New.
46936 2012-05-11 David S. Miller <davem@davemloft.net>
46938 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46939 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46940 (_FPU_SETCW): Likewise.
46942 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46944 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46945 is 32-byte aligned.
46947 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46950 * iconvdata/gb18030.c: Update tables.
46951 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46952 characters specially.
46953 (BODY for TO_LOOP): Add encoding of missing ranges.
46955 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46958 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46959 * sysdeps/mach/hurd/dup3.c: Likewise.
46960 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46961 * sysdeps/powerpc/memmove.c:: Likewise.
46963 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46965 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46966 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46968 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46970 * elf/elf.h (R_X86_64_RELATIVE64): New.
46971 (R_X86_64_NUM): Updated.
46972 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46973 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46974 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46975 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46976 tst-quad1pie tst-quad2pie
46977 (modules-names): Add tst-quadmod1 tst-quadmod2.
46978 ($(objpfx)tst-quad1): New dependency.
46979 ($(objpfx)tst-quad2): Likewise.
46980 ($(objpfx)tst-quad1pie): Likewise.
46981 ($(objpfx)tst-quad2pie): Likewise.
46982 * sysdeps/x86_64/tst-quad1.c: New file.
46983 * sysdeps/x86_64/tst-quad1pie.c: New file.
46984 * sysdeps/x86_64/tst-quad2.c: Likewise.
46985 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46986 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46987 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46988 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46989 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46993 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46994 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46995 * streams/stropts.h (t_scalar_t): Define type.
46997 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46998 (_PATH_PRESERVE): Set to "/var/lib".
46999 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47001 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47004 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47005 if __dir_mkfile succeeded.
47007 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47008 checking for _hurd_dtablesize. Unlock it right after having
47009 finished _hurd_dtable allocation.
47011 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47013 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47014 * sysdeps/mach/hurd/configure: Regenerated.
47015 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47016 special-casing to...
47017 * sysdeps/gnu/configure.in: ... this new file.
47018 * sysdeps/unix/sysv/linux/configure: Regenerated.
47019 * sysdeps/gnu/configure: New generated file.
47021 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47022 for Linux: use nsec instead of usec, as well as:
47023 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47024 members of type struct timespec.
47025 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47027 (struct stat64): Likewise.
47028 (_STATBUF_ST_NSEC): New macro.
47029 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47031 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47032 __strtoul_internal rather than strtoul.
47034 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47036 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47041 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47042 which preserves existing values.
47043 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47045 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47047 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47048 TIMEOUT values. Return EINVAL for NFDS values either negative or
47049 greater than FD_SETSIZE.
47051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47053 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47054 allocated, call __vm_protect to finish enabling the existing space, and
47055 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47056 allocate the remainder.
47058 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47060 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47061 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47063 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47065 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47066 sysdeps/mach/hurd/readlink.c.
47068 * posix/tst-sysconf.c (posix_options): Only use
47069 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47070 _POSIX_SYNCHRONIZED_IO when they are defined
47071 * sysdeps/mach/hurd/bits/posix_opt.h:
47072 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47073 (_XOPEN_REALTIME): Undefine macro.
47074 (_XOPEN_REALTIME_THREADS): Undefine macro.
47075 (_XOPEN_SHM): Undefine macro.
47076 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47078 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47080 (_POSIX_ASYNC_IO): Undefine macro.
47081 (_POSIX_PRIORITIZED_IO): Undefine macro.
47082 (_POSIX_SPIN_LOCKS): Define macro to -1.
47084 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47085 SA_NODEFER, SA_RESETHAND.
47086 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47087 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47092 * elf/Makefile (pldd-modules): Define unconditionally.
47094 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47096 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47100 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47101 Return ENOENT when name is empty.
47102 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47104 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47106 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47108 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47112 Fix mlock in all cases except non-readable pages.
47113 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47114 instead of VM_PROT_ALL as parameter to __vm_wire function.
47116 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47117 (__mkdir): When path is `/', just fail with EEXIST.
47118 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47120 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47122 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47123 <sys/uio.h> (for writev).
47124 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47125 and <sys/param.h> (for MIN).
47127 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47129 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47130 REQUESTED_TIME. Properly set the remaining time and return EINTR
47133 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47135 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47136 Depend on against $(link-rpcuserlibs).
47138 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47140 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47141 (__libc_stack_end): Do not use attribute_relro.
47142 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47143 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47144 to libthread-provided value.
47145 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47148 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47151 * bits/libc-lock.h (__libc_once_get): New macro.
47152 * sysdeps/mach/bits/libc-lock.h: Likewise.
47153 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47155 instead of using implementation details.
47157 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47158 * libio/freopen.c: Likewise.
47159 * libio/freopen64.c: Likewise.
47160 * misc/syslog.c: Likewise.
47161 * nscd/connections.c: Likewise.
47162 * nscd/netgroupcache.c: Likewise.
47163 * sysdeps/posix/getcwd.c: Likewise.
47165 2012-05-10 Roland McGrath <roland@hack.frob.com>
47167 * math/w_ilogbf.c: Add #include <limits.h>.
47169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47171 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47172 path instead of returning without unlocking.
47174 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47175 immediate-write ioctls.
47176 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47178 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47180 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47181 __builtin_frame_address instead of making assumptions about the
47182 location of the return address relative to DATA. Force early load of
47183 the return address.
47184 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47185 __builtin_frame_address.
47188 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47189 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47190 implement dup3 and do some further code clean-ups.
47191 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47192 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47194 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47196 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47198 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47199 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47200 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47201 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47202 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47205 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47206 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47207 when handler == SIG_ERR, not when handler != SIG_ERR.
47209 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47211 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47212 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47215 accept4 for GNU Hurd.
47216 * include/sys/socket.h (__libc_accept4): New prototype.
47217 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47218 to implement __libc_accept4.
47219 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47221 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47223 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47224 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47225 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47226 signal-defines.sym.
47228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47230 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47232 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47234 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47235 assertion on O_CLOEXEC flag.
47236 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47237 * hurd/intern-fd.c: Likewise.
47238 * hurd/port2fd.c: Likewise.
47240 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47243 * bits/in.h (IPV6_PKTINFO): Define new macro.
47244 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47246 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47251 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47252 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47253 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47254 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47256 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47257 * math/libm-test.inc (logb_test) : Additional logb tests.
47259 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
47260 Andreas Jaeger <aj@suse.de>
47262 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47263 * configure: Regenerated.
47264 * config.h.in (LINK_OBSOLETE_RPC): New macro.
47265 * config.make.in (link-obsolete-rpc): New substituted variable.
47266 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47267 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47268 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47269 (shared-only-routines): Don't set it under [link-obsolete-rpc],
47270 so that libc.a contains the symbols.
47271 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47272 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47273 * sunrpc/auth_none.c: Likewise.
47274 * sunrpc/auth_unix.c: Likewise.
47275 * sunrpc/authdes_prot.c: Likewise.
47276 * sunrpc/authuxprot.c: Likewise.
47277 * sunrpc/clnt_gen.c: Likewise.
47278 * sunrpc/clnt_perr.c: Likewise.
47279 * sunrpc/clnt_raw.c: Likewise.
47280 * sunrpc/clnt_simp.c: Likewise.
47281 * sunrpc/clnt_tcp.c: Likewise.
47282 * sunrpc/clnt_udp.c: Likewise.
47283 * sunrpc/clnt_unix.c: Likewise.
47284 * sunrpc/des_crypt.c: Likewise.
47285 * sunrpc/des_soft.c: Likewise.
47286 * sunrpc/get_myaddr.c: Likewise.
47287 * sunrpc/key_call.c: Likewise.
47288 * sunrpc/key_prot.c: Likewise.
47289 * sunrpc/netname.c: Likewise.
47290 * sunrpc/pm_getmaps.c: Likewise.
47291 * sunrpc/pm_getport.c: Likewise.
47292 * sunrpc/pmap_clnt.c: Likewise.
47293 * sunrpc/pmap_prot.c: Likewise.
47294 * sunrpc/pmap_prot2.c: Likewise.
47295 * sunrpc/pmap_rmt.c: Likewise.
47296 * sunrpc/publickey.c: Likewise.
47297 * sunrpc/rpc_cmsg.c: Likewise.
47298 * sunrpc/rpc_common.c: Likewise.
47299 * sunrpc/rpc_dtable.c: Likewise.
47300 * sunrpc/rpc_prot.c: Likewise.
47301 * sunrpc/rpc_thread.c: Likewise.
47302 * sunrpc/rtime.c: Likewise.
47303 * sunrpc/svc.c: Likewise.
47304 * sunrpc/svc_auth.c: Likewise.
47305 * sunrpc/svc_raw.c: Likewise.
47306 * sunrpc/svc_run.c: Likewise.
47307 * sunrpc/svc_tcp.c: Likewise.
47308 * sunrpc/svc_udp.c: Likewise.
47309 * sunrpc/svc_unix.c: Likewise.
47310 * sunrpc/svcauth_des.c: Likewise.
47311 * sunrpc/xcrypt.c: Likewise.
47312 * sunrpc/xdr.c: Likewise.
47313 * sunrpc/xdr_array.c: Likewise.
47314 * sunrpc/xdr_float.c: Likewise.
47315 * sunrpc/xdr_intXX_t.c: Likewise.
47316 * sunrpc/xdr_mem.c: Likewise.
47317 * sunrpc/xdr_rec.c: Likewise.
47318 * sunrpc/xdr_ref.c: Likewise.
47319 * sunrpc/xdr_sizeof.c: Likewise.
47320 * sunrpc/xdr_stdio.c: Likewise.
47322 2012-05-10 Roland McGrath <roland@hack.frob.com>
47324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47325 change. Update copyright years.
47327 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47329 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47331 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
47332 Joseph Myers <joseph@codesourcery.com>
47333 Paul Pluzhnikov <ppluzhnikov@google.com>
47336 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47338 [cross-compiling] (extra-libs): Likewise.
47339 [cross-compiling] (extra-libs-others): Likewise.
47340 [cross-compiling] (librpcsvc-routines): Likewise.
47341 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47342 [cross-compiling] (omit-deps): Likewise.
47343 (sunrpc-CPPFLAGS): New variable.
47344 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47345 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47346 (cross-rpcgen-objs): New variable.
47347 (extra-objs): Append $(cross-rpcgen-objs).
47348 ($(cross-rpcgen-objs)): New rule.
47349 ($(objpfx)cross-rpcgen): Likewise.
47350 (rpcgen-cmd): Define to use $(built-program-file). Expand
47352 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47353 ($(objpfx)x%.stmp): Likewise.
47354 * sunrpc/proto.h [IS_IN_build] (_): Define.
47355 [IS_IN_build] (_libc_intl_domainname): Likewise.
47357 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47359 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47360 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47361 and R_X86_64_TPOFF64.
47363 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47365 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47366 sysdeps/unix/sysv/syscalls.list.
47369 * sysdeps/unix/sysv/syscalls.list: Remove file.
47371 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
47374 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47375 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47376 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47377 (__LC_IDENTIFICATION): Make these macros useful in #if
47378 expressions, as required by C99.
47380 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
47382 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47383 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
47386 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
47388 * stdlib/longlong.h: Updated from GCC.
47390 2012-05-09 Andreas Jaeger <aj@suse.de>
47392 * nscd/nscd.c (run_modes): Make named enum, reorder so that
47393 default is first entry.
47394 (run_mode): Set type.
47395 (main): Remove informal message about syslog.
47396 (options): Fix typo.
47399 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47402 (llrintf): Likewise.
47403 (llrint): Likewise.
47406 (nearbyint): Likewise.
47407 (nearbyintf): Likewise.
47409 2012-05-09 Andreas Jaeger <aj@suse.de>
47410 Pedro Alves <palves@redhat.com>
47412 * nscd/nscd.c (run_mode): Use enum.
47413 (main): Cleanup coding style issue.
47415 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
47416 Andreas Jaeger <aj@suse.de>
47418 * nscd/nscd.c (go_background): Replaced with...
47419 (run_mode): ... this.
47420 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47421 (options): Add -F --foreground.
47422 (main): Implement it.
47423 (parse_opt): Parse it.
47425 2012-05-09 Andreas Jaeger <aj@suse.de>
47428 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47429 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47430 -Wconversion warning.
47431 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47434 2012-05-09 Joseph Myers <joseph@codesourcery.com>
47436 * conform/data/locale.h-data (NULL): Use macro-constant. Require
47438 (LC_ALL): Use macro-int-constant.
47439 (LC_COLLATE): Likewise.
47440 (LC_CTYPE): Likewise.
47441 (LC_MESSAGES): Likewise.
47442 (LC_MONETARY): Likewise.
47443 (LC_NUMERIC): Likewise.
47444 (LC_TIME): Likewise.
47445 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47446 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47448 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47450 [C99-based standards] (float_t): Expect type.
47451 [C99-based standards] (double_t): Expect type.
47452 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
47454 [C99-based standards] (HUGE_VALL): Likewise.
47455 [C99-based standards] (INFINITY): Likewise.
47456 [C99-based standards] (NAN): Likewise.
47457 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47458 [C99-based standards] (FP_NAN): Likewise.
47459 [C99-based standards] (FP_NORMAL): Likewise.
47460 [C99-based standards] (FP_SUBNORMAL): Likewise.
47461 [C99-based standards] (FP_ZERO): Likewise.
47462 [C99-based standards] (FP_FAST_FMA): Use
47463 optional-macro-int-constant. Specify type. Require == 1.
47464 [C99-based standards] (FP_FAST_FMAF): Likewise.
47465 [C99-based standards] (FP_FAST_FMAL): Likewise.
47466 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47467 [C99-based standards] (FP_ILOGBNAN): Likewise.
47468 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47470 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47471 [C99-based standards] (math_errhandling): Specify type.
47472 [ISO99 || ISO11] (signgam): Do not allow.
47473 [non-C99-based standards] (copysignf): Do not allow.
47474 [non-C99-based standards] (exp2f): Likewise.
47475 [non-C99-based standards] (log2f): Likewise.
47476 [non-C99-based standards] (modff): Allow.
47477 [non-C99-based standards] (erff): Do not allow.
47478 [non-C99-based standards] (erfcf): Likewise.
47479 [non-C99-based standards] (gammaf): Likewise.
47480 [non-C99-based standards] (hypotf): Likewise.
47481 [non-C99-based standards] (j0f): Likewise.
47482 [non-C99-based standards] (j1f): Likewise.
47483 [non-C99-based standards] (jnf): Likewise.
47484 [non-C99-based standards] (lgammaf): Likewise.
47485 [non-C99-based standards] (tgammaf): Likewise.
47486 [non-C99-based standards] (y0f): Likewise.
47487 [non-C99-based standards] (y1f): Likewise.
47488 [non-C99-based standards] (ynf): Likewise.
47489 [non-C99-based standards] (isnanf): Likewise.
47490 [non-C99-based standards] (acoshf): Likewise.
47491 [non-C99-based standards] (asinhf): Likewise.
47492 [non-C99-based standards] (atanhf): Likewise.
47493 [non-C99-based standards] (cbrtf): Likewise.
47494 [non-C99-based standards] (expm1f): Likewise.
47495 [non-C99-based standards] (ilogbf): Likewise.
47496 [non-C99-based standards] (log1pf): Likewise.
47497 [non-C99-based standards] (logbf): Likewise.
47498 [non-C99-based standards] (nextafterf): Likewise.
47499 [non-C99-based standards] (remainderf): Likewise.
47500 [non-C99-based standards] (rintf): Likewise.
47501 [non-C99-based standards] (scalbf): Likewise.
47502 [non-C99-based standards] (copysignl): Likewise.
47503 [non-C99-based standards] (exp2l): Likewise.
47504 [non-C99-based standards] (log2l): Likewise.
47505 [non-C99-based standards] (modfl): Allow.
47506 [non-C99-based standards] (erfl): Do not allow.
47507 [non-C99-based standards] (erfcl): Likewise.
47508 [non-C99-based standards] (gammal): Likewise.
47509 [non-C99-based standards] (hypotl): Likewise.
47510 [non-C99-based standards] (j0l): Likewise.
47511 [non-C99-based standards] (j1l): Likewise.
47512 [non-C99-based standards] (jnl): Likewise.
47513 [non-C99-based standards] (lgammal): Likewise.
47514 [non-C99-based standards] (tgammal): Likewise.
47515 [non-C99-based standards] (y0l): Likewise.
47516 [non-C99-based standards] (y1l): Likewise.
47517 [non-C99-based standards] (ynl): Likewise.
47518 [non-C99-based standards] (isnanl): Likewise.
47519 [non-C99-based standards] (acoshl): Likewise.
47520 [non-C99-based standards] (asinhl): Likewise.
47521 [non-C99-based standards] (atanhl): Likewise.
47522 [non-C99-based standards] (cbrtl): Likewise.
47523 [non-C99-based standards] (expm1l): Likewise.
47524 [non-C99-based standards] (ilogbl): Likewise.
47525 [non-C99-based standards] (log1pl): Likewise.
47526 [non-C99-based standards] (logbl): Likewise.
47527 [non-C99-based standards] (nextafterl): Likewise.
47528 [non-C99-based standards] (remainderl): Likewise.
47529 [non-C99-based standards] (rintl): Likewise.
47530 [non-C99-based standards] (scalbl): Likewise.
47531 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47532 [non-C99-based standards] (FP_*): Do not allow.
47533 [C99-based standards] (FP_*): Change to
47534 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47535 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47537 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47538 (SIG_ERR): Likewise.
47539 [X/Open-based standards] (SIG_HOLD): Likewise.
47540 (SIG_IGN): Likewise.
47541 (SIGABRT): Use macro-int-constant. Specify type. Require
47543 (SIGFPE): Likewise.
47544 (SIGILL): Likewise.
47545 (SIGINT): Likewise.
47546 (SIGSEGV): Likewise.
47547 (SIGTER): Likewise.
47548 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47549 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47550 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47551 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47552 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47553 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47554 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47555 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47556 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47557 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47558 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47559 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47560 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47561 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47562 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47563 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47564 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47565 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47566 [X/Open-based standards] (SIGTRAP): Likewise.
47567 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47568 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47569 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47570 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47571 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47574 2012-05-08 Ian Wienand <ianw@vmware.com>
47577 * time/tzset.c (__tzset_parse_tz): Update default rules for
47578 daylight time changes in the Energy Policy Act of 2005.
47580 2012-05-09 Andreas Jaeger <aj@suse.de>
47583 * elf/ldconfig.c (parse_conf): Change string to make clear that
47584 ldconfig only issued a warning if ld.so.conf does not exist.
47586 2012-05-08 David S. Miller <davem@davemloft.net>
47588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47589 movxtod instead of popping the value on the stack.
47591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47593 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47595 * config.h.in: Add HAVE_ARM_PCS_VFP.
47597 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47600 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47601 checking but the checks are disabled for any reason.
47603 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47605 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47606 and ELF64_R_TYPE with ELFW(R_TYPE).
47608 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47610 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47611 (ulimit): Likewise.
47613 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47614 (settimeofday): Likewise.
47616 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47618 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47619 a struct th_u2 inside the union, and move tu_block/tu_code into
47620 a new th_u3 union of tu_block/tu_code inside of that. Move
47621 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47622 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47623 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47624 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47625 (th_stuff): Change to th_u1.tu_stuff.
47627 (th_msg): Change to th_u1.th_u2.tu_data.
47629 2012-05-07 David S. Miller <davem@davemloft.net>
47631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47634 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47635 (SETUP_PIC_REG): Use it.
47636 (SETUP_PIC_REG_LEAF): Use it.
47638 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47644 (EXPL_FINITE): Likewise.
47645 (FLDLOG): Likewise.
47646 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47647 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47649 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47651 (EXPL_FINITE): Likewise.
47652 (FLDLOG): Likewise.
47653 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47654 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47656 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47657 test of -max_value argument for long double.
47658 * sysdeps/i386/fpu/libm-test-ulps: Update.
47659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47661 2012-05-06 David S. Miller <davem@davemloft.net>
47663 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47664 quad soft-float symbols whose references which are compiler
47666 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47668 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47672 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47674 (EXPL_FINITE): Likewise.
47675 (FLDLOG): Likewise.
47678 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47679 Adjust comments for base varying.
47680 (__expl_finite): Change alias to EXPL_FINITE.
47681 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47683 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47684 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47685 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47686 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47687 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47689 (EXPL_FINITE): Likewise.
47690 (FLDLOG): Likewise.
47693 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47694 Adjust comments for base varying.
47695 (__expl_finite): Change alias to EXPL_FINITE.
47696 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47701 * math/libm-test.inc (check_float_internal): Correct ulp
47702 calculation for subnormal expected results.
47704 2012-05-06 Andreas Jaeger <aj@suse.de>
47706 * Makeconfig (+math-flags): New, set to -frounding-math.
47707 (+cflags): Add +math-flags so that all of glibc gets compiled with
47710 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47712 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47714 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47720 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47721 (__ieee754_expl): Allow for and saturate large arguments.
47722 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47723 (u_threshold): Likewise.
47724 (__exp): Call __ieee754_exp before checking for overflow and
47726 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47727 (u_threshold): Likewise.
47728 (__expf): Call __ieee754_expf before checking for overflow and
47730 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47731 (u_threshold): Likewise.
47732 (__expl): Call __ieee754_expl before checking for overflow and
47734 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47735 (__ieee754_expl): Allow for and saturate large arguments.
47736 * math/libm-test.inc (exp_test): Add another test. Do not allow
47737 missing overflow exception on overflow.
47738 (expm1_test): Do not allow missing overflow exception on overflow.
47740 * sysdeps/i386/fpu/e_expl.c: Move to ...
47741 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47742 rather than using inline asm.
47743 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47744 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47745 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47747 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47750 (signal): Likewise.
47754 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47756 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47757 sysdeps/unix/common/syscalls.list.
47758 (fchmod): Likewise.
47759 (fchown): Likewise.
47760 (ftruncate): Likewise.
47761 (getrusage): Likewise.
47762 (gettimeofday): Likewise.
47763 (setpgid): Likewise.
47764 (setregid): Likewise.
47765 (setreuid): Likewise.
47766 (sigaction): Likewise.
47767 (truncate): Likewise.
47768 (vhangup): Likewise.
47769 * sysdeps/unix/common/syscalls.list: Remove file.
47770 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47771 * sysdeps/unix/sysv/linux/Implies: Likewise.
47773 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47775 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47777 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47781 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47784 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47787 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47790 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47793 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47796 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47799 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47803 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47807 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47810 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47814 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47818 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47820 * sysdeps/unix/common/bits/dirent.h: Remove file.
47821 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47823 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47824 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47825 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47826 * sysdeps/unix/bsd/isatty.c: Likewise.
47827 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47828 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47829 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47831 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47834 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47835 long double comparison inaccuracies.
47836 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47839 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47841 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47844 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47848 nonzero digits before rounding a hex value.
47849 * stdlib/tst-strtod.c (tests): Add another test.
47851 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47853 * sysdeps/s390/fpu/libm-test-ulps: Update.
47855 2012-05-03 Andreas Jaeger <aj@suse.de>
47857 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47858 does not get optimized out.
47859 (malloc_opt_barrier): New.
47861 2012-05-03 Andreas Jaeger <aj@suse.de>
47862 Roland McGrath <roland@hack.frob.com>
47864 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47865 intermediate file deletion.
47866 (generated): Add .symlist files.
47868 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47871 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47872 Redirect under this condition.
47873 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47874 [__USE_GNU] (__dprintf_chk): Not under this condition.
47875 [__USE_GNU] (__vdprintf_chk): Likewise.
47876 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47877 under this condition.
47878 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47879 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47880 [__USE_XOPEN2K8] (vdprintf): Likewise.
47881 [__USE_GNU] (__dprintf_chk): Not under this condition.
47882 [__USE_GNU] (__vdprintf_chk): Likewise.
47883 [__USE_GNU] (dprintf): Likewise.
47884 [__USE_GNU] (vdprintf): Likewise.
47886 2012-05-03 Roland McGrath <roland@hack.frob.com>
47888 * elf/Makefile (common-generated): Set this instead of generated for
47889 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47890 $(all-built-dso)-derived lists.
47892 2012-05-03 Andreas Jaeger <aj@suse.de>
47894 * sysdeps/i386/fpu/libm-test-ulps: Update.
47897 * FAQ.in: Likewise.
47898 * scripts/gen-FAQ.pl: Likewise.
47899 * manual/install.texi (Installation): Point to online location of
47901 * Makefile (files-for-dist): Remove FAQ.
47904 2012-05-02 Allan McRae <allan@archlinux.org>
47906 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47907 (LDFLAGS-reldepmod5.so): Likewise.
47908 (LDFLAGS-reldep6mod1.so): Likewise.
47909 (LDFLAGS-reldep6mod4.so): Likewise.
47910 (LDFLAGS-reldep8mod3.so): Likewise.
47911 (LDFLAGS-unload4mod1.so): Likewise.
47912 (LDFLAGS-unload4mod2.so): Likewise.
47913 (LDFLAGS-tst-initorder): Likewise.
47914 (LDFLAGS-tst-initordera2.so): Likewise.
47915 (LDFLAGS-tst-initordera3.so): Likewise.
47916 (LDFLAGS-tst-initordera4.so): Likewise.
47917 (LDFLAGS-tst-initorderb2.so): Likewise.
47918 (LDFLAGS-noload): Likewise.
47919 (LDFLAGS-next): Likewise.
47920 (LDFLAGS-order2mod1.so): Likewise.
47921 (LDFLAGS-order2mod2.so): Likewise.
47922 (LDFLAGS-tst-initorder2): Likewise.
47923 (LDFLAGS-tst-initorder2a.so): Likewise.
47924 (LDFLAGS-tst-initorder2b.so): Likewise.
47925 (LDFLAGS-tst-initorder2c.so): Likewise.
47926 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47928 2012-05-02 David S. Miller <davem@davemloft.net>
47930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47932 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47935 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47937 2012-05-02 Andreas Jaeger <aj@suse.de>
47939 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47940 since we manipulate rounding mode.
47941 (CPPFLAGS-test-idouble.c): Likewise.
47942 (CPPFLAGS-test-ifloat.c): Likewise.
47943 (CFLAGS-test-ldouble.c): Likewise.
47944 (CFLAGS-test-double.c): Likewise.
47945 (CFLAGS-test-float.c): Likewise.
47946 (CFLAGS-test-misc.c): Likewise.
47947 (CFLAGS-test-test-fenv.c): Likewise.
47949 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47953 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47954 comparisons to determine direction to adjust input.
47956 2012-05-01 Roland McGrath <roland@hack.frob.com>
47958 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47959 output to the target.
47961 * scripts/localplt.awk: New file.
47962 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47963 (check-localplt-CFLAGS): Variable removed.
47964 ($(all-built-dso:=.jmprel)): New static pattern rule.
47965 (generated): Add those targets.
47966 (localplt-built-dso): New variable.
47967 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47969 * elf/check-localplt.c: File removed.
47971 * scripts/check-execstack.awk: New file.
47972 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47973 (check-execstack-CFLAGS): Variable removed.
47974 ($(objpfx)check-execstack.h): Target removed.
47975 ($(objpfx)execstack-default): New target.
47976 (generated): Add that instead of check-execstack.h.
47977 ($(all-built-dso:=.phdr)): New static pattern rule.
47978 (generated): Add those targets.
47979 * elf/check-execstack.c: File removed.
47981 * scripts/check-textrel.awk: New file.
47982 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47983 (check-textrel-CFLAGS): Variable removed.
47984 (all-built-dso): Use := to define.o
47985 ($(all-built-dso:=.dyn)): New static pattern rule.
47986 (generated): Add those targets.
47987 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47988 * config.make.in (READELF): New substituted variable.
47989 * elf/check-textrel.c: File removed.
47991 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47993 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47995 * conform/data/ctype.h-data [C99-based standards] (isblank):
47997 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47998 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48000 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48001 Specify type. Require positive value.
48002 (EILSEQ): Likewise.
48003 (ERANGE): Likewise.
48004 [ISO || POSIX] (EILSEQ): Do not expect.
48005 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48006 Specify type. Require positive value.
48007 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48008 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48009 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48010 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48011 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48012 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48013 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48014 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48015 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48016 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48017 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48018 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48019 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48020 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48021 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48022 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48023 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48024 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48025 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48026 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48027 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48028 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48029 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48030 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48031 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48032 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48033 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48034 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48035 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48036 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48037 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48038 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48039 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48040 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48041 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48042 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48043 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48044 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48045 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48046 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48047 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48048 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48049 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48050 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48051 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48052 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48053 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48054 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48055 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48056 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48057 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48058 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48059 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48060 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48061 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48062 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48063 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48064 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48065 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48066 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48067 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48068 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48069 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48070 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48071 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48072 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48073 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48074 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48075 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48076 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48077 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48078 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48079 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48080 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48081 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48082 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48083 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48085 (FLT_ROUNDS): Expect as macro, not constant.
48086 (FLT_MANT_DIG): Use macro-int-constant.
48087 (DBL_MANT_DIG): Likewise.
48088 (LDBL_MANT_DIG): Likewise.
48089 (FLT_DIG): Likewise.
48090 (DBL_DIG): Likewise.
48091 (LDBL_DIG): Likewise.
48092 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48093 (DBL_MIN_EXP): Likewise.
48094 (LDBL_MIN_EXP): Likewise.
48095 (FLT_MAX_EXP): Use macro-int-constant.
48096 (DBL_MAX_EXP): Likewise.
48097 (LDBL_MAX_EXP): Likewise.
48098 (FLT_MAX_10_EXP): Likewise.
48099 (DBL_MAX_10_EXP): Likewise.
48100 (LDBL_MAX_10_EXP): Likewise.
48101 (FLT_MAX): Use macro-constant.
48102 (DBL_MAX): Likewise.
48103 (LDBL_MAX): Likewise.
48104 (FLT_EPSILON): Use macro-constant. Give upper bound.
48105 (DBL_EPSILON): Likewise.
48106 (LDBL_EPSILON): Likewise.
48107 (FLT_MIN): Likewise.
48108 (DBL_MIN): Likewise.
48109 (LDBL_MIN): Likewise.
48110 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48111 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48112 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48113 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48114 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48115 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48116 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48117 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48118 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48119 [ISO11] (FLT_TRUE_MIN): Likewise.
48120 [ISO11] (LDBL_TRUE_MIN): Likewise.
48121 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48122 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48123 (SCHAR_MIN): Use macro-int-constant. Specify type.
48124 (SCHAR_MAX): Likewise.
48125 (UCHAR_MAX): Likewise.
48126 (CHAR_MIN): Likewise.
48127 (CHAR_MAX): Likewise.
48128 (MB_LEN_MAX): Use macro-int-constant.
48129 (SHRT_MIN): Use macro-int-constant. Specify type.
48130 (SHRT_MAX): Likewise.
48131 (USHRT_MAX): Likewise.
48132 (INT_MAX): Likewise.
48133 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48135 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48137 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48139 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48140 bound negative. Suffix upper bound with "L".
48141 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48143 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48145 [C99-based standards] (LLONG_MAX): Likewise.
48146 [C99-based standards] (ULLONG_MAX): Likewise.
48147 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48149 [ISO11] (max_align_t): Require type.
48150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48152 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48153 from $CFLAGS, without defining away __attribute__ calls.
48154 (checknamespace): Use $CFLAGS_namespace.
48156 * conform/conformtest.pl (@keywords): Only include C99 keywords
48157 for standards based on C99 or C11.
48159 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48161 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48164 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48165 usability of symbols in #if.
48167 * conform/conformtest.pl: If macro or constant types start
48168 "promoted:", expect the symbol to be of the following type
48169 promoted by the integer promotions.
48171 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48172 in one place. Also handle "macro-constant".
48174 * conform/conformtest.pl: Only accept expected macro values with
48175 "==". Parse all "macro" lines in one place.
48176 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48178 * conform/conformtest.pl: Handle braced types on "constant" lines
48179 instead of handling "typed-constant".
48180 * conform/data/signal.h-data: Use "constant" instead of
48183 * conform/conformtest.pl: Handle "optional-" at start of lines in
48184 one place rather than duplicating several cases. Handle each
48185 format of "macro" line with initial "optional-".
48187 * conform/conformtest.pl: Only accept expected constant or
48188 optional-constant values with "==". Parse all "constant" lines in
48189 one place. Parse all "optional-constant" lines in one place.
48190 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48191 * conform/data/fmtmsg.h-data: Likewise.
48192 * conform/data/netinet/in.h-data: Likewise.
48193 * conform/data/tar.h-data: Likewise.
48194 * conform/data/limits.h-data: Use "==" form on "constant" and
48195 "optional-constant" lines.
48197 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48198 Use -std=c99 for XOPEN2K.
48199 (@knownproblems): Remove.
48200 (newtoken): Don't check %isknown.
48202 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48203 Do not expect macro.
48204 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48205 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48206 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48207 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48208 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48209 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48210 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48211 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48212 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48213 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48214 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48215 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48216 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48217 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48218 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48219 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48220 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48221 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48222 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48223 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48224 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48225 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48226 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48227 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48228 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48229 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48230 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48231 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48232 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48233 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48234 [XPG3] (acosh): Likewise.
48235 [XPG3] (asinh): Likewise.
48236 [XPG3] (atanh): Likewise.
48237 [XPG3] (cbrt): Likewise.
48238 [XPG3] (expm1): Likewise.
48239 [XPG3] (ilogb): Likewise.
48240 [XPG3] (log1p): Likewise.
48241 [XPG3] (logb): Likewise.
48242 [XPG3] (nextafter): Likewise.
48243 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48244 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48245 [XPG3] (remainder): Likewise.
48246 [XPG3] (rint): Likewise.
48247 [XPG3 || XPG4 || UNIX98] (round): Likewise.
48248 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48249 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48250 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48251 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48252 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48253 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48254 [UNIX98 || XOPEN2K] (scalb): Expect.
48255 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48256 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48257 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48258 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48259 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48260 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48261 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48262 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48263 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48264 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48265 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48266 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48267 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48268 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48269 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48270 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48271 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48272 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48273 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48274 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48275 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48276 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48277 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48278 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48279 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48280 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48281 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48282 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48283 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48284 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48285 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48286 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48287 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48288 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48289 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48290 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48291 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48292 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48293 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48294 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48295 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48296 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48297 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48298 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48299 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48300 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48301 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48302 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48303 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48304 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48305 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48306 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48307 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48308 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48309 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48310 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48311 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48312 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48313 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48314 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48315 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48316 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48317 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48318 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48319 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48320 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48321 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48322 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48323 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48324 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48325 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48326 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48327 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48328 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48329 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48330 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48331 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48332 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48333 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48334 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48335 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48336 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48337 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48338 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48339 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48340 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48341 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48342 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48343 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48344 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48345 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48346 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48347 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48348 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48349 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48350 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48351 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48352 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48353 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48354 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48355 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48356 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48357 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48358 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48359 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48360 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48361 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48362 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48363 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48364 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48365 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48366 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48367 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48368 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48369 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48370 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48371 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48372 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48373 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48374 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48375 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48376 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48377 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48378 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48379 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48380 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48381 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48382 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48383 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48384 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48385 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48386 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48387 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48388 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48389 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48390 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48391 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48393 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48394 _XOPEN_SOURCE_EXTENDED for XPG4.
48396 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48398 * Makeconfig (localtime): Remove variable.
48399 (inst_localtime-file): Likewise.
48401 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48422 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48426 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48427 comparisons to determine direction to adjust input.
48428 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48429 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48430 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48432 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48434 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48439 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48441 * math/libm-test.inc (nexttoward_test): Add more tests.
48443 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48446 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48447 in version GLIBC_2.1, not GLIBC_2.0.
48448 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48451 2012-04-30 Joseph Myers <joseph@codesourcery.com>
48454 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48456 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48457 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48458 * math/libm-test.inc (acos_test): Add more tests.
48459 (asin_test): Likewise.
48460 * sysdeps/i386/fpu/libm-test-ulps: Update.
48461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48464 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48466 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48467 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48468 * math/libm-test.inc (acos_test_tonearest): New function.
48469 (acos_test_towardzero): Likewise.
48470 (acos_test_downward): Likewise.
48471 (acos_test_upward): Likewise.
48472 (asin_test_tonearest): Likewise.
48473 (asin_test_towardzero): Likewise.
48474 (asin_test_downward): Likewise.
48475 (asin_test_upward): Likewise.
48476 (main): Call the new functions.
48477 * sysdeps/i386/fpu/libm-test-ulps: Update.
48478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48482 * math/e_exp10.c: Include <float.h>.
48483 (__ieee754_exp10): Handle underflow here rather than multiplying
48484 large negative argument by M_LN10.
48485 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48487 * math/e_exp10l.c: Include <float.h>.
48488 (__ieee754_exp10l): Handle underflow here rather than multiplying
48489 large negative argument by M_LN10l.
48490 * math/libm-test.inc (exp10_test): Add another test. Do not allow
48491 spurious overflow exception on underflow.
48493 2012-04-29 Marek Polacek <polacek@redhat.com>
48495 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48496 (__fortify_function): New macro.
48497 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48498 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48499 __extern_always_inline.
48500 * libio/bits/stdio2.h: Likewise.
48501 * libio/bits/stdio.h: Likewise.
48502 * string/string.h: Likewise.
48503 * string/bits/string3.h: Likewise.
48504 * include/stdio.h: Likewise.
48505 * stdlib/bits/stdlib.h: Likewise.
48506 * stdlib/stdlib.h: Likewise.
48507 * rt/bits/mqueue2.h: Likewise.
48508 * rt/mqueue.h: Likewise.
48509 * posix/bits/unistd.h: Likewise.
48510 * posix/unistd.h: Likewise.
48511 * io/bits/poll2.h: Likewise.
48512 * io/bits/fcntl2.h: Likewise.
48513 * io/fcntl.h: Likewise.
48514 * io/sys/poll.h: Likewise.
48515 * misc/bits/syslog.h: Likewise.
48516 * misc/bits/syslog-ldbl.h: Likewise.
48517 * misc/sys/syslog.h: Likewise.
48518 * socket/bits/socket2.h: Likewise.
48519 * socket/sys/socket.h: Likewise.
48520 * debug/tst-chk1.c: Likewise.
48521 * wcsmbs/bits/wchar2.h: Likewise.
48522 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48523 * wcsmbs/wchar.h: Likewise.
48525 2012-04-29 Andreas Jaeger <aj@suse.de>
48527 * Makerules (tests): Remove enable-check-abi protection.
48528 (check-abi-warn): Remove.
48529 (check-abi-%): Remove check-abi-warn usage.
48531 * configure.in: Remove check-abi configure option.
48532 * configure: Regenerated.
48533 * config.make.in (enable-check-abi): Remove.
48535 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
48538 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48539 double functions to double *_finite functions.
48542 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48543 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48545 * stdio-common/Makefile (tests): Add tst-sprintf3.
48546 * stdio-common/tst-sprintf3.c: New file.
48548 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48549 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48551 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48553 * conform/conformtest.pl: Remove duplicate typed-constant
48556 2012-04-28 David S. Miller <davem@davemloft.net>
48558 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48559 (check-abi-%): Remove AWK script prerequisite and explicit
48561 (check-abi): Rewrite to just diff the symlist with the abilist.
48562 (config-tls, config-abi-config): Delete, no longer used.
48563 (update-abi-%): Remove AWK script and explicit abilist directory.
48564 (update-abi): Rewrite to simply compare and conditionally copy the
48565 symlist and the sysdep abilist file. Remove update-abi-config
48567 * abilist/ld.abilist: Remove.
48568 * abilist/libBrokenLocale.abilist: Remove.
48569 * abilist/libanl.abilist: Remove.
48570 * abilist/libcrypt.abilist: Remove.
48571 * abilist/libdl.abilist: Remove.
48572 * abilist/librt.abilist: Remove.
48573 * abilist/libthread_db.abilist: Remove.
48574 * abilist/libutil.abilist: Remove.
48575 * scripts/extract-abilist.awk: Remove.
48576 * scripts/merge-abilist.awk: Remove.
48577 * sysdeps/generic/libcidn.abilist: New file.
48578 * sysdeps/generic/libnss_compat.abilist: New file.
48579 * sysdeps/generic/libnss_db.abilist: New file.
48580 * sysdeps/generic/libnss_dns.abilist: New file.
48581 * sysdeps/generic/libnss_files.abilist: New file.
48582 * sysdeps/generic/libnss_hesiod.abilist: New file.
48583 * sysdeps/generic/libnss_nis.abilist: New file.
48584 * sysdeps/generic/libnss_nisplus.abilist: New file.
48585 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48586 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48587 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48589 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48590 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48591 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48592 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48593 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48594 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48595 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48596 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48597 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48599 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48600 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48601 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48602 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48604 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48605 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48606 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48607 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48608 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48609 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48611 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48612 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48613 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48615 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48718 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48719 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48720 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48723 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48724 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48725 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48726 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48727 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48728 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48729 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48730 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48731 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48783 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48785 * conform/conformtest.pl: Fix typo in handling typed-constant from
48788 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48790 * README: Cut down references to pre-2.6 Linux kernels and
48791 Linuxthreads. Update lists of configurations in libc and ports
48792 and sort alphabetically. Say "or newer" with Linux kernel version
48795 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48797 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48800 * math/libm-test.inc (logb_test_downward): New test to expose
48801 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48804 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48807 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48809 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48810 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48812 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48814 * sysdeps/unix/i386/brk.S: Remove file.
48815 * sysdeps/unix/i386/dl-brk.S: Likewise.
48816 * sysdeps/unix/i386/pipe.S: Likewise.
48817 * sysdeps/unix/i386/sigreturn.S: Likewise.
48818 * sysdeps/unix/i386/syscall.S: Likewise.
48819 * sysdeps/unix/i386/vfork.S: Likewise.
48820 * sysdeps/unix/i386/wait.S: Likewise.
48822 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48823 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48825 * configure.in (arm*-none*): Do not allow without
48826 --enable-hacker-mode.
48827 (netbsd*): Remove case setting base_os.
48828 (386bsd*): Likewise.
48829 (freebsd*): Likewise.
48832 (sunos*): Likewise.
48833 (ultrix*): Likewise.
48834 (newsos*): Likewise.
48835 (dynix*): Likewise.
48841 (minix*): Likewise.
48842 (irix4*): Likewise.
48843 (irix6*): Likewise.
48844 (solaris[2-9]*): Likewise.
48846 * configure: Regenerated.
48848 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48851 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48852 overflow or cancellation in calculating denominator.
48853 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48854 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48855 down expression to avoid unexpected rounding in newer GCCs.
48856 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48858 2012-04-26 David S. Miller <davem@davemloft.net>
48860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48861 long-double compat symbols.
48862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48876 2012-04-25 David S. Miller <davem@davemloft.net>
48878 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48879 HWCAP_* values only after the memory barriers have been defined.
48880 (atomic_full_barrier): Define.
48881 (atomic_read_barrier): Define.
48882 (atomic_write_barrier): Define.
48884 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48886 * shlib-versions: Add libgcc_s version information.
48887 * sysdeps/generic/libgcc_s.h: Remove.
48888 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48890 * sysdeps/gnu/unwind-resume.c: Likewise.
48891 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48893 2012-04-25 David S. Miller <davem@davemloft.net>
48895 * sysdeps/unix/sparc/brk.S: Delete.
48896 * sysdeps/unix/sparc/dl-brk.S: Delete.
48897 * sysdeps/unix/sparc/pipe.S: Delete.
48898 * sysdeps/unix/sparc/sysdep.S: Delete.
48899 * sysdeps/unix/sparc/sysdep.h: Delete.
48900 * sysdeps/unix/sparc/vfork.S: Delete.
48901 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48902 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48903 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48904 (ret_ERRVAL, r0, r1, MOVE): Define.
48905 (JUMPTARGET): Remove.
48906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48907 sysdeps/unix/sparc/sysdep.h
48908 (ENTRY, END): Remove.
48909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48911 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48913 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48914 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48917 * timezone/README: Update upstream location and email address for
48919 * timezone/zdump.c: Update from tzcode 2012b.
48920 * timezone/zic.c: Likewise.
48922 * configure.in (libc_cv_as_needed): Remove test.
48923 * configure: Regenerated.
48924 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48925 conditional definition.
48926 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48927 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48928 * config.make.in (have-as-needed): Remove variable.
48930 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48931 Paul Pluzhnikov <ppluzhnikov@google.com>
48933 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48936 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48938 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48939 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48940 * sysdeps/sh/strlen.S: Likewise.
48942 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48944 * sysdeps/unix/fork.S: Remove file.
48945 * sysdeps/unix/i386/fork.S: Likewise.
48946 * sysdeps/unix/sparc/fork.S: Likewise.
48948 * sysdeps/unix/system.c: Remove file.
48949 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48951 * sysdeps/unix/getegid.S: Remove file.
48952 * sysdeps/unix/geteuid.S: Likewise.
48954 2012-04-24 Roland McGrath <roland@hack.frob.com>
48956 * scripts/check-localplt.awk: New file.
48957 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48959 * scripts/data/localplt-generic.data: Add a comment.
48961 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48962 NODE when __dir_mkfile failed.
48963 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48964 Reported by Ludovic Courtès <ludo@gnu.org>.
48966 2012-04-24 Andreas Jaeger <aj@suse.de>
48968 * Makerules (common-clean): Also remove gen-as-const-headers
48971 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48973 * Makerules (native-compile): Do not change working directory for
48974 build. Use $(OUTPUT_OPTION) in command.
48975 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48977 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48980 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48981 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48982 * math/libm-test.inc (floor_test): Add more tests.
48983 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48985 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48987 * sysdeps/unix/getdents.c: Remove file.
48988 * sysdeps/unix/sysv/getdents.c: Likewise.
48989 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48991 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48992 sysdeps/unix/mman/syscalls.list.
48994 (mprotect): Likewise.
48996 (munmap): Likewise.
48997 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48998 * sysdeps/unix/mman/syscalls.list: Remove.
48999 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49001 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49002 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49003 * configure: Regenerated.
49004 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49005 $(libgcc_s_suffix).
49006 * config.make.in (libgcc_s_suffix): Remove variable.
49008 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49010 * sysdeps/unix/sysv/gethostname.c: Move to ...
49011 * sysdeps/posix/gethostname.c: ... here.
49013 * sysdeps/unix/execve.S: Remove file.
49015 * sysdeps/unix/_exit.S: Remove file.
49017 2012-04-23 Andreas Jaeger <aj@suse.de>
49020 * manual/Makefile: Remove make dist support, there's no
49021 need for a stand-alone documentation tar ball.
49022 (TEXI2DVI): Define always, it's not in Makeconfig.
49025 (edition): Removed.
49026 (glibc-doc-$(edition).tar): Removed
49030 (ETAGS): Remove, it's in Makeconfig.
49031 (move-if-change): Remove, it's in Makeconfig.
49033 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49036 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49037 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49038 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49039 (strtod_l, strtof_l, strtold_l): Remove __wur.
49040 It is not necessarily an error to ignore strtol's return value.
49041 One can reliably look at the stored endptr to decide whether
49042 the number had valid syntax.
49044 2012-04-21 Andreas Jaeger <aj@suse.de>
49047 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49049 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49051 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49052 * sysdeps/unix/sysv/Versions: Remove file.
49054 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49059 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49063 version from __vm86.
49065 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49067 * sysdeps/unix/common/lxstat.c: Remove file.
49068 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49070 * sysdeps/unix/sysv/Makefile: Remove file.
49072 * sysdeps/unix/sysv/direct.h: Remove file.
49074 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49075 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49076 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49077 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49078 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49079 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49080 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49082 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49084 * sysdeps/unix/xmknod.c: Remove file.
49085 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49087 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49089 * sysdeps/unix/sysv/i386/time.S: Remove file.
49091 * sysdeps/unix/fxstat.c: Remove file.
49092 * sysdeps/unix/xstat.c: Likewise.
49093 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49095 * sysdeps/unix/sysv/sigaction.c: Remove file.
49097 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49098 (sysdep_headers): Remove variable.
49099 [termio.h not in sysdep_headers] (generated): Likewise.
49100 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49101 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49102 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49103 * sysdeps/unix/sysv/tcflow.c: Likewise.
49104 * sysdeps/unix/sysv/tcflush.c: Likewise.
49105 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49106 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49107 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49108 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49109 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49111 * sysdeps/unix/siglist.c: Remove file.
49113 * sysdeps/unix/getppid.S: Remove file.
49115 * sysdeps/unix/mkdir.c: Remove file.
49116 * sysdeps/unix/rmdir.c: Likewise.
49118 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49120 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49122 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49123 errlist-compat value.
49125 2012-04-18 David S. Miller <davem@davemloft.net>
49127 * sysdeps/generic/memcopy.h (reg_char): Delete.
49128 * debug/strcat_chk.c: Use char, not reg_char.
49129 * debug/strcpy_chk.c: Likewise.
49130 * debug/strncat_chk.c: Likewise.
49131 * debug/strncpy_chk.c: Likewise.
49132 * string/memchr.c: Likewise.
49133 * string/memrchr.c: Likewise.
49134 * string/rawmemchr.c: Likewise.
49135 * string/strcat.c: Likewise.
49136 * string/strchr.c: Likewise.
49137 * string/strchrnul.c: Likewise.
49138 * string/strcmp.c: Likewise.
49139 * string/strcpy.c: Likewise.
49140 * string/strncat.c: Likewise.
49141 * string/strncmp.c: Likewise.
49142 * string/strncpy.c: Likewise.
49144 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49146 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49147 __builtin_memcopy is called when src and dest ranges are known to not
49150 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49152 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49153 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49154 fwd_align_merge macro call.
49155 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49156 bwd_align_merge macro call.
49157 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49159 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49161 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49162 bwd_align_merge macros.
49163 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49164 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49165 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49167 2012-04-18 David S. Miller <davem@davemloft.net>
49169 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49171 2012-04-18 Andreas Jaeger <aj@suse.de>
49174 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49175 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49176 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49178 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49179 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49180 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49182 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49183 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49184 Adjust for changed ldbl-128 files.
49186 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49187 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49188 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49190 2012-04-17 David S. Miller <davem@davemloft.net>
49192 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49194 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49196 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49197 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49198 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49199 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49200 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49201 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49203 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49206 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49207 * math/libm-test.inc: Add ilogb errno and exception tests.
49208 * math/w_ilogb.c: New file: ilogb wrapper.
49209 * math/w_ilogbf.c: New file: ilogbf wrapper.
49210 * math/w_ilogbl.c: New file: ilogbl wrapper.
49211 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49212 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49213 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49214 exception being thrown with 0.0 as argument.
49215 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49216 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49217 exception being thrown with 0.0 as argument.
49218 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49219 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49220 exception being thrown with 0.0 as argument.
49221 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49222 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49223 exception being thrown with 0.0 as argument.
49224 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49225 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49226 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49227 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49228 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49229 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49230 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49231 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49232 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49234 2012-04-17 Petr Baudis <pasky@ucw.cz>
49236 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49239 2012-04-16 Marek Polacek <polacek@redhat.com>
49241 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49243 2012-04-16 Marek Polacek <polacek@redhat.com>
49245 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49246 operands of fdivp instruction.
49248 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49250 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49251 * elf/tst-auditmod3b.c: Likewise.
49252 * elf/tst-auditmod4b.c: Likewise.
49253 * elf/tst-auditmod5b.c: Likewise.
49254 * elf/tst-auditmod6b.c: Likewise.
49255 * elf/tst-auditmod6c.c: Likewise.
49256 * elf/tst-auditmod7b.c: Likewise.
49257 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49258 * sysdeps/x86_64/preconfigure.in: Likewise.
49259 * sysdeps/x86_64/preconfigure: Regenerated.
49261 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49263 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49266 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
49268 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49269 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49271 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
49274 * locale/iso-639.def: Fix gl language name. Spotted by
49277 2012-04-12 Roland McGrath <roland@hack.frob.com>
49280 * libio/libio.h (__io_write_fn): Update comment.
49282 2012-04-12 Petr Baudis <pasky@ucw.cz>
49285 * stdio.texi (Hook Functions): The user provided writer function
49286 is not allowed to return -1.
49288 2012-04-11 David S. Miller <davem@davemloft.net>
49290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49292 2012-04-11 Mike Frysinger <vapier@gentoo.org>
49294 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49295 Add a leading slash to rtkaio.
49297 2012-04-11 Jim Meyering <meyering@redhat.com>
49300 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49301 It is not necessarily an error to ignore fwrite's return
49302 value. One can reliably use ferror to test for errors after
49305 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49307 * bits/types.h (__snseconds_t): New type.
49308 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49310 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49312 (__SNSECONDS_T_TYPE): Likewise.
49313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49314 (__SNSECONDS_T_TYPE): Likewise.
49315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49316 (__SNSECONDS_T_TYPE): Likewise.
49318 2012-04-10 Andreas Jaeger <aj@suse.de>
49321 * manual/time.texi (Processor Time): Return type of times is
49322 elapsed real time since an arbitrary point in the past.
49323 (CPU Time): Move CLK_TCK from here...
49324 (Processor Time): ...to here. Correct description.
49325 * manual/conf.texi (Constants for Sysconf): Correct description of
49328 2012-04-10 David S. Miller <davem@davemloft.net>
49331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49332 where the is a gap between DT_REL(A) and DT_JMPREL.
49334 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49336 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49337 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49338 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49340 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49342 * elf/dl-support.c (_dl_inhibit_cache): New variable.
49343 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49344 (dl_main): Handle --inhibit-cache.
49345 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49347 * elf/dl-load.c (_dl_map_object): Use it.
49348 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49350 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49353 * sysdeps/i386/fpu/e_powl.S (p78): New object.
49354 (__ieee754_powl): Saturate large exponents rather than testing for
49355 overflow of y*log2(x).
49356 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49357 * math/libm-test.inc (pow_test): Do not permit spurious overflow
49361 * math/s_ctan.c: Include <float.h>.
49362 (__ctan): Avoid internal overflow or cancellation in calculating
49364 * math/s_ctanf.c: Likewise.
49365 * math/s_ctanl.c: Likewise.
49366 * math/s_ctanh.c: Likewise.
49367 * math/s_ctanhf.c: Likewise.
49368 * math/s_ctanhl.c: Likewise.
49369 * math/libm-test.inc (ctan_test): Add more tests.
49370 (ctanh_test): Likewise.
49371 * sysdeps/i386/fpu/libm-test-ulps: Update.
49372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49374 2012-04-09 Andreas Jaeger <aj@suse.de>
49377 * manual/filesys.texi (Directory Entries): Mention that d_namlen
49378 is an optional BSD extension.
49381 * manual/stdio.texi (Opening Streams): Document additional fopen
49384 2012-04-09 Roland McGrath <roland@hack.frob.com>
49386 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49387 %eax without telling the compiler.
49389 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
49392 * manual/install.texi: Use sourceware.org.
49394 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49397 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49398 (__ieee754_pow): Generate overflow and underflow using huge*huge
49399 and tiny*tiny rather than just returning constant infinity or zero
49400 for large exponents.
49401 * math/libm-test.inc (pow_test): Require overflow exceptions for
49402 applicable cases of large exponents.
49405 * sysdeps/i386/fpu/e_pow.S (p10): New object.
49406 (__ieee754_pow): Use iterative multiplication algorithm only for
49407 integer exponents with absolute value below 1024. Check for odd
49408 integer exponents when using algorithm for real exponents.
49409 * math/libm-test.inc (pow_test): Add more tests.
49410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49412 2012-04-08 Joseph Myers <joseph@codesourcery.com>
49415 * math/libm-test.inc (exp_test): Do not allow overflow exception
49418 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
49421 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49422 instead of __kernel_standard_f.
49424 2012-04-08 Mike Frysinger <vapier@gentoo.org>
49426 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49427 * sysdeps/x86_64/memset_chk.S: Likewise.
49429 2012-04-08 Andreas Jaeger <aj@suse.de>
49432 * manual/startup.texi (Environment Access): Describe return value
49433 for putenv and setenv.
49436 * manual/filesys.texi (Directory Entries): Add description for
49440 * manual/filesys.texi (Directory Entries): Clarify that it's file
49441 system not operating system in the description of DT_UNKNOWN.
49444 * manual/syslog.texi (closelog): Fix reference, it's openlog.
49446 2012-04-08 Stephen Compall <s11@member.fsf.org>
49449 * manual/llio.texi (Opening and Closing Files): Add cross
49450 reference to explain mode argument.
49452 2012-04-07 Mike Frysinger <vapier@gentoo.org>
49454 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49455 * sysdeps/x86_64/memset_chk.S: Likewise.
49457 2012-04-07 David S. Miller <davem@davemloft.net>
49459 * elf/elf.h (R_SPARC_WDISP10): Define.
49460 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49463 R_SPARC_SIZE64 and R_SPARC_H34.
49465 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
49467 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49468 conditions and remove no longer applicable assertion.
49470 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49472 * bits/byteswap.h: Include <features.h>.
49473 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49474 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49476 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49478 * bits/byteswap.h (__bswap_16): Removed.
49479 Include <bits/byteswap-16.h> to get __bswap_16.
49480 * sysdeps/i386/bits/byteswap.h: Likewise.
49481 * sysdeps/s390/bits/byteswap.h: Likewise.
49482 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49483 * bits/byteswap-16.h: New file.
49484 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49485 * sysdeps/s390/bits/byteswap-16.h: Likewise.
49486 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49487 * string/Makefile (headers): Add bits/byteswap-16.h.
49489 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49492 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49494 * nss/Makefile (tests-static, tests): Add tst-nss-static.
49495 * nss/tst-nss-static.c: New.
49497 2012-04-06 Robert Millan <rmh@gnu.org>
49500 * manual/llio.texi (File Position Primitive): lseek
49501 refers to WHENCE when it really means OFFSET.
49503 2012-04-06 Andreas Jaeger <aj@suse.de>
49505 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49506 strncmp declarations.
49508 * abilist/libc.abilist: Add __poll and __ppoll.
49510 2012-04-05 David S. Miller <davem@davemloft.net>
49512 * scripts/check-local-headers.sh: Accept a host triplet in the
49513 path matched by the exclude regexp.
49515 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49517 * sysdeps/powerpc/powerpc32/dl-machine.h
49518 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49519 * sysdeps/s390/s390-32/dl-machine.h
49520 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49521 * sysdeps/sparc/sparc32/dl-machine.h
49522 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49523 * sysdeps/sparc/sparc64/dl-machine.h
49524 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49526 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49528 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49529 undefined symbol errors.
49531 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49534 2012-04-05 Michael Matz <matz@suse.de>
49537 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49539 2012-04-05 Andreas Jaeger <aj@suse.de>
49542 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49545 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49547 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49548 which ROUND is no valid rounding mode.
49550 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49552 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49554 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49556 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49558 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49559 an exception using FPU order intentionally.
49561 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49563 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49564 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49565 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49566 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49568 2012-04-05 Simon Josefsson <simon@josefsson.org>
49571 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49572 EINVAL when BUFLEN is too smal.
49574 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49577 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49578 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49580 2012-04-03 Andreas Jaeger <aj@suse.de>
49583 * manual/setjmp.texi (System V contexts): Fix sentence.
49586 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49587 New macro for this case.
49588 [!__GNUC__] (__bswap_64): New inline function for this case.
49589 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49590 * bits/byteswap.h: Likewise.
49591 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49592 ull, guard with __GLIBC_HAVE_LONG_LONG.
49594 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49595 __GLIBC_HAVE_LONG_LONG.
49597 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49598 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49600 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49603 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49604 inptr and inend, rather than using last_ch.
49606 2012-04-02 David S. Miller <davem@davemloft.net>
49608 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49609 * stdio-common/printf-parse.h (read_int): Change return type to
49610 'int', return -1 on INT_MAX overflow.
49611 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49612 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49613 overflows INT_MAX. Check for overflow of in-format-string precision
49614 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49615 SIZE_MAX not INT_MAX for integer overflow test.
49616 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49617 skip the construct in the format string but do not record anything.
49618 * stdio-common/bug22.c: Adjust to test both width/prevision
49619 INT_MAX overflow as well as total length INT_MAX overflow. Check
49620 explicitly for proper errno values.
49622 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49624 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49626 * string/test-strcmp.c [! WIDE]: Likewise.
49627 * time/tst-mktime2.c: Likewise for INT_MAX.
49628 * string/test-string.h: #include <sys/param.h> for MIN.
49630 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49631 * sysdeps/i386/init-first.c (init): Likewise.
49632 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49633 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49634 * sysdeps/sh/init-first.c (init): Likewise.
49636 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49638 * po/ru.po: Update from translation team.
49639 * po/vi.po: Likewise.
49641 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49643 * resolv/nss_dns/dns-host.c: Merge copyright years.
49645 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49647 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49648 Optimize memcpy with prefetch if
49649 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49650 src, dst pointers have unequal 16 byte alignments.
49652 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49655 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49656 from a CNAME entry and return the minimum ttl for the query.
49657 (gaih_getanswer_slice): Likewise.
49659 2012-03-30 Jeff Law <law@redhat.com>
49661 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49663 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49664 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49666 * resolv/nss_dns/dns-host.c: Update copyright year.
49668 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49670 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49671 requests to save a system call. Fix check that all bytes are sent.
49673 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49674 comments for sendmmsg.
49676 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49679 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49680 with only 1 character between 0x0041 and 0x01b0.
49681 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49682 * wcsmbs/tst-mbsnrtowcs.c: New file.
49684 2012-03-29 David S. Miller <davem@davemloft.net>
49686 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49687 small copies by hand.
49689 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49692 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49693 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49696 2012-03-28 David S. Miller <davem@davemloft.net>
49698 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49699 that branches into memcpy.
49700 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49702 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49703 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49706 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49707 implementation too.
49708 * sysdeps/sparc/mempcpy.S: New file.
49710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49711 the IFUNC routine in the libc case.
49712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49714 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49715 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49716 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49717 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49718 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49719 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49720 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49721 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49723 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49724 loop to 256 bytes instead of 64 bytes and fix test signedness.
49726 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49727 * sysdeps/sparc/sparc32/Makefile: rather than here...
49728 * sysdeps/sparc/sparc64/Makefile: and here.
49730 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49732 * malloc/mallocbug.c: Avoid warnings about unused variables.
49734 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49737 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49738 in the right place. Discard and retry query if response is
49739 larger than input buffer size.
49741 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49746 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49747 x for large integer exponent.
49748 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49749 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49750 sign of result as needed afterwards.
49751 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49752 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49753 result for underflowing pow the same as for overflow.
49754 (__kernel_standard_l): Handle powl overflow and underflow here
49755 rather than calling __kernel_standard.
49756 * math/libm-test.inc (pow_test): Add more tests.
49771 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49772 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49773 (__kernel_standard_l): New function.
49774 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49776 * math/w_acosl.c (__acosl): Likewise.
49777 * math/w_asinl.c (__asinl): Likewise.
49778 * math/w_atan2l.c (__atan2l): Likewise.
49779 * math/w_atanhl.c (__atanhl): Likewise.
49780 * math/w_coshl.c (__coshl): Likewise.
49781 * math/w_exp10l.c (__exp10l): Likewise.
49782 * math/w_exp2l.c (__exp2l): Likewise.
49783 * math/w_fmodl.c (__fmodl): Likewise.
49784 * math/w_hypotl.c (__hypotl): Likewise.
49785 * math/w_j0l.c (__j0l, __y0l): Likewise.
49786 * math/w_j1l.c (__j1l, __y1l): Likewise.
49787 * math/w_jnl.c (__jnl, __ynl): Likewise.
49788 * math/w_lgammal.c (__lgammal): Likewise.
49789 * math/w_log10l.c (__log10l): Likewise.
49790 * math/w_log2l.c (__log2l): Likewise.
49791 * math/w_logl.c (__logl): Likewise.
49792 * math/w_powl.c (__powl): Likewise.
49793 * math/w_remainderl.c (__remainderl): Likewise.
49794 * math/w_scalbl.c (sysv_scalbl): Likewise.
49795 * math/w_sinhl.c (__sinhl): Likewise.
49796 * math/w_sqrtl.c (__sqrtl): Likewise.
49797 * math/w_tgammal.c (__tgammal): Likewise.
49798 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49799 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49800 * math/libm-test.inc (acos_test): Add more tests.
49801 (acosh_test): Likewise.
49802 (asin_test): Likewise.
49803 (atanh_test): Likewise.
49804 (exp_test): Likewise.
49805 (exp10_test): Likewise.
49806 (exp2_test): Likewise.
49807 (expm1_test): Likewise.
49808 (lgamma_test): Likewise.
49809 (log_test): Likewise.
49810 (log10_test): Likewise.
49811 (log1p_test): Likewise.
49812 (log2_test): Likewise.
49813 (pow_test): Do not allow some spurious overflow exceptions.
49814 (sqrt_test): Add more tests.
49815 (tgamma_test): Likewise.
49816 (y0_test): Likewise.
49817 (y1_test): Likewise.
49818 (yn_test): Likewise.
49820 2012-03-27 Anton Blanchard <anton@samba.org>
49822 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49824 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49825 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49826 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49828 2012-03-27 David S. Miller <davem@davemloft.net>
49830 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49832 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49833 have-as-vis3 check.
49835 2012-03-27 Andreas Jaeger <aj@suse.de>
49837 * sysdeps/x86_64/elf/configure.in: Moved to ...
49838 * sysdeps/x86_64/configure.in: ... here.
49839 * sysdeps/x86_64/elf/start.S: Moved to ...
49840 * sysdeps/x86_64/start.S: ... here.
49841 * sysdeps/x86_64/elf/configure: Delete.
49843 * sysdeps/x86_64/configure.in: Merge contents from
49844 sysdeps/i386/configure.in (without i686 check).
49846 * sysdeps/i386/elf/Versions: Merge into ...
49847 * sysdeps/i386/Versions: ... this.
49848 * sysdeps/i386/elf/Versions: Delete file.
49849 * sysdeps/i386/elf/start.S: Moved to ...
49850 * sysdeps/i386/start.S: ...here.
49851 * sysdeps/i386/elf/configure.in: Merge into...
49852 * sysdeps/i386/configure.in: ...here.
49853 * sysdeps/i386/elf/configure.in: Delete file.
49854 * sysdeps/i386/elf/configure: Delete file.
49856 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49857 * debug/backtracesyms.c: ... here.
49858 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49859 * debug/backtracesymsfd.c: ... here.
49860 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49861 * sysdeps/generic/ifunc-sel.h: ... here.
49863 * sysdeps/unix/i386/start.c: Delete file.
49864 * sysdeps/unix/sparc/start.c: Delete file.
49865 * sysdeps/unix/start.c: Delete file.
49867 * sysdeps/sh/elf/configure.in: Moved to ...
49868 * sysdeps/sh/configure.in: ... here.
49869 * sysdeps/sh/elf/start.S: Moved to ...
49870 * sysdeps/sh/start.S: ... here.
49871 * sysdeps/sh/elf/configure: Delete file.
49873 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49874 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49875 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49876 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49877 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49878 * sysdeps/powerpc/powerpc64/start.S: here.
49879 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49880 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49881 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49882 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49883 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49885 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49886 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49887 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49888 * sysdeps/powerpc/powerpc32/start.S: ... here.
49889 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49890 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49891 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49893 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49894 * sysdeps/powerpc/ifunc-sel.h: ... here.
49895 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49896 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49898 * sysdeps/sparc/elf/configure.in: Moved to ...
49899 * sysdeps/sparc/configure.in: ... here.
49900 * sysdeps/sparc/elf/configure: Delete file.
49901 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49902 * sysdeps/sparc/sparc32/start.S: ... here.
49903 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49904 * sysdeps/sparc/sparc64/start.S: ... here.
49905 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49906 * sysdeps/sparc/sparc32/Makefile: ... this.
49907 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49908 * sysdeps/sparc/sparc64/Makefile: ... this.
49910 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49911 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49912 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49913 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49914 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49915 * sysdeps/s390/s390-32/setjmp.S: ... here.
49916 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49917 * sysdeps/s390/s390-32/configure.in: ... here.
49918 * sysdeps/s390/s390-32/elf/configure: Delete file.
49919 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49920 * sysdeps/s390/s390-32/start.S: ... here.
49922 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49923 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49924 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49925 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49926 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49927 * sysdeps/s390/s390-64/setjmp.S: ... here.
49928 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49929 * sysdeps/s390/s390-64/configure.in: ... here
49930 * sysdeps/s390/s390-64/elf/configure: Delete file.
49931 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49932 * sysdeps/s390/s390-64/start.S: ... here.
49933 * sysdeps/s390/s390-64/elf/configure: Delete.
49935 * configure.in: Remove support for elf directories in sysdeps.
49937 * configure: Regenerated.
49938 * sysdeps/i386/configure: Regenerated.
49939 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49940 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49941 * sysdeps/s390/s390-32/configure: Regenerated.
49942 * sysdeps/s390/s390-64/configure: Regenerated.
49943 * sysdeps/sh/configure: Regenerated.
49944 * sysdeps/sparc/configure: Regenerated.
49945 * sysdeps/x86_64/configure: Regenerated.
49947 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49951 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49952 denormal result into account.
49954 2012-03-25 Roland McGrath <roland@hack.frob.com>
49956 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49957 Reported by Allan McRae <allan@archlinux.org>.
49959 2012-03-23 Jeff Law <law@redhat.com>
49961 * nss/getnssent.c (__nss_getent): Fix typo.
49963 2012-03-23 David S. Miller <davem@davemloft.net>
49965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49967 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49969 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49970 to pad to uint64_t for each field.
49971 (dl_tls_index): Replace unsigned long with uint64_t.
49973 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49974 Paul Pluzhnikov <ppluzhnikov@google.com>
49977 * grp/Makefile (otherlibs): Don't set it.
49978 * inet/Makefile (otherlibs): Likewise.
49979 * login/Makefile (otherlibs): Likewise.
49980 * nscd/Makefile (otherlibs): Likewise.
49981 * posix/Makefile (otherlibs): Likewise.
49982 * pwd/Makefile (otherlibs): Likewise.
49983 * rt/Makefile (otherlibs): Likewise.
49984 * sunrpc/Makefile (otherlibs): Likewise.
49985 * nss/Makefile (otherlibs): Likewise.
49986 Add libnss_files to routines and static-only-routines.
49987 ($(objpfx)getent): Remove rule.
49988 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49989 static-only-routines.
49991 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49994 * math/s_cexp.c: Include <float.h>.
49995 (__cexp): Handle exp result overflowing not necessarily
49996 overflowing both real and imaginary parts of result.
49997 * math/s_cexpf.c: Likewise.
49998 * math/s_cexpl.c: Likewise.
49999 * math/libm-test.inc (cexp_test): Add more tests.
50000 * sysdeps/i386/fpu/libm-test-ulps: Update.
50001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50003 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50005 * include/link.h (ELFW): New macro.
50006 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50007 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50009 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50011 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50014 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50016 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50018 (struct La_x32_retval): Likewise.
50020 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50022 * sysdeps/x86_64/preconfigure.in: New file.
50023 * sysdeps/x86_64/preconfigure: New generated file.
50025 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50028 * math/e_exp2l.c: Include <float.h>.
50029 (__ieee754_exp2l): Handle overflow and underflow cases
50030 separately. Only pass fractional part of argument to
50032 * math/libm-test.inc (exp2_test): Add more tests.
50034 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50035 negating x to take absolute value.
50036 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50038 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50039 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50041 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50042 computing low part if x was negated.
50043 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50045 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50047 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50048 la_x32_gnu_pltexit.
50049 (pltexit): Cast int_retval to ptrdiff_t.
50050 * elf/tst-auditmod3b.c: Likewise.
50051 * elf/tst-auditmod4b.c: Likewise.
50052 * elf/tst-auditmod5b.c: Likewise.
50053 * elf/tst-auditmod6b.c: Likewise.
50054 * elf/tst-auditmod6c.c: Likewise.
50055 * elf/tst-auditmod7b.c: Likewise.
50057 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50058 and x32_gnu_pltexit.
50060 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50061 __ELF_NATIVE_CLASS.
50062 (La_x32_regs): New macro.
50063 (La_x32_retval): Likewise.
50064 (la_x32_gnu_pltenter): New function prototype.
50065 (la_x32_gnu_pltexit): Likewise.
50067 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50074 * configure.in (libc_cv_cc_nofma): Check for option to disable
50075 generation of FMA instructions.
50076 * configure: Regenerate.
50077 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50078 * sysdeps/ieee754/dbl-64/Makefile: New file.
50079 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50080 Remove brandred-fma4.
50081 (CFLAGS-brandred-fma4.c): Remove.
50082 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50083 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50085 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50088 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50090 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50091 LLONG_MAX != LONG_MAX.
50092 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50093 (_fitoa_word): Likewise.
50094 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50095 LLONG_MAX != LONG_MAX.
50096 * stdio-common/_itowa.h: Include <_itoa.h>.
50097 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50098 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50099 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50100 only if not defined.
50101 (_ITOA_WORD_TYPE): Likewise.
50102 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50103 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50105 2012-03-21 David S. Miller <davem@davemloft.net>
50107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50109 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50111 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50112 of x86_64 when setting libc_cv_slibdir, libdir and
50114 * sysdeps/unix/sysv/linux/configure: Regenerated.
50116 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50118 * manual/lang.texi (Old Varargs): Remove section.
50119 (How Variadic): Update menu.
50120 (va_start): Do not mention varargs.h.
50122 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50123 Joseph Myers <joseph@codesourcery.com>
50125 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50127 * configure: Regenerated.
50129 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50131 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50132 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50135 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50138 * Makefile (files-for-dist): Remove NOTES.
50139 (NOTES): Remove rule.
50140 * README: Don't refer to NOTES.
50141 * manual/creature.texi: Don't include macros.texi.
50142 * manual/intro.texi (creature.texi): Remove comment referring to
50145 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50146 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50147 * configure: Regenerated.
50148 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50149 LIBC_TRY_CC_OPTION.
50150 (libc_cv_as_i686): Likewise.
50151 (libc_cv_cc_avx): Likewise.
50152 (libc_cv_cc_sse2avx): Likewise.
50153 (libc_cv_cc_fma4): Likewise.
50154 (libc_cv_cc_novzeroupper): Likewise.
50155 * sysdeps/i386/configure: Regenerated.
50158 * sysdeps/i386/fpu/s_cexp.S: Remove.
50159 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50160 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50161 * math/libm-test.inc (cexp_test): Add more tests.
50162 * sysdeps/i386/fpu/libm-test-ulps: Update.
50163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50165 2012-03-21 Allan McRae <allan@archlinux.org>
50167 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50169 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50172 * math/w_exp2.c: Do not include <float.h>.
50173 (o_threshold, u_threshold): Remove.
50174 (__exp2): Calculate result before checking finiteness and calling
50176 * math/w_exp2f.c: Likewise.
50177 * math/w_exp2l.c: Likewise.
50178 * math/libm-test.inc (exp2_test): Require overflow exception for
50182 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50183 range of signed 64-bit integers before using fistpll. Remove
50184 checks for whether integers fit in mantissa bits.
50185 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50186 the range of signed 32-bit integers before using fistpl. Remove
50187 checks for whether integers fit in mantissa bits.
50188 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50189 (__ieee754_powl): Test for y outside the range of signed 64-bit
50190 integers before using fistpll. Reduce 64-bit values to 63-bit
50192 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50193 divide-by-zero is raised for zero to large negative powers.
50194 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50195 (__ieee754_powl): Test for y outside the range of signed 64-bit
50196 integers before using fistpll. Reduce 64-bit values to 63-bit
50198 * math/libm-test.inc (pow_test): Add more tests.
50200 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50202 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50203 <stdio-common/_itoa.h>.
50204 * debug/segfault.c: Likewise.
50205 * elf/dl-cache.c: Likewise.
50206 * elf/dl-minimal.c: Likewise.
50207 * elf/dl-misc.c: Likewise.
50208 * elf/dl-sysdep.c: Likewise.
50209 * elf/dl-version.c: Likewise.
50210 * elf/rtld.c: Likewise.
50211 * hurd/hurdsock.c: Likewise.
50212 * hurd/lookup-retry.c: Likewise.
50213 * malloc/malloc.c: Likewise.
50214 * malloc/mtrace.c: Likewise.
50215 * nscd/nscd_getgr_r.c: Likewise.
50216 * nscd/nscd_getpw_r.c: Likewise.
50217 * nscd/nscd_getserv_r.c: Likewise.
50218 * posix/getopt_init.c: Likewise.
50219 * posix/wordexp.c: Likewise.
50220 * stdio-common/_itoa.c: Likewise.
50221 * stdio-common/printf_fphex.c: Likewise.
50222 * stdio-common/vfprintf.c: Likewise.
50223 * string/_strerror.c: Likewise.
50224 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50225 * sysdeps/i386/i686/hp-timing.h: Likewise.
50226 * sysdeps/mach/_strerror.c: Likewise.
50227 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50228 * sysdeps/mach/hurd/sethostid.c: Likewise.
50229 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50230 * sysdeps/mach/xpg-strerror.c: Likewise.
50231 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50232 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50233 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50234 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50235 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50236 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50237 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50238 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50239 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50240 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50241 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50242 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50243 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50244 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50245 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50246 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50247 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50248 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50249 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50250 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50251 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50253 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50255 * stdio-common/_itoa.h: Moved to ...
50256 * sysdeps/generic/_itoa.h: Here.
50258 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50260 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50261 instead of "_itoa.h" and "_itowa.h".
50262 * stdio-common/vfprintf.: Likewise.
50264 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50266 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50268 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50269 (__signbit): Likwise.
50270 (llrintf): Likwise.
50273 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50275 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50278 2012-03-20 Joseph Myers <joseph@codesourcery.com>
50280 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50281 OVERFLOW_EXCEPTION_OK.
50282 * math/libm-test.inc ("Philosophy"): Update comment about
50284 (OVERFLOW_EXCEPTION): Define.
50285 (OVERFLOW_EXCEPTION_OK): Likewise.
50286 (INVALID_EXCEPTION_OK): Renumber.
50287 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50288 (IGNORE_ZERO_INF_SIGN): Likewise.
50289 (test_exceptions): Handle FE_OVERFLOW.
50290 (exp10_test): Expect overflow exceptions.
50291 (exp2_test): Likewise.
50292 (expm1_test): Likewise.
50293 (nextafter_test): Likewise.
50294 (pow_test): Likewise.
50295 (scalbn_test): Likewise.
50296 (scalbln_test): Likewise.
50298 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50300 * sysdeps/x86_64/bits/atomic.h
50301 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50303 (atomic_exchange_acq): Likewise.
50304 (__arch_exchange_and_add_body): Likewise.
50305 (__arch_add_body): Likewise.
50306 (atomic_add_negative): Likewise.
50307 (atomic_add_zero): Likewise.
50309 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50311 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50312 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50314 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50316 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50317 Check __x86_64__ instead of __WORDSIZE.
50319 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50321 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50323 2012-03-19 David S. Miller <davem@davemloft.net>
50325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50327 * sysdeps/sparc/fpu/fenv_private.h: New file.
50328 * sysdeps/sparc/fpu/math_private.h: Use it.
50329 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50331 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50332 (libc_feholdexcept_setroundl): Remove.
50333 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50335 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50336 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50338 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50340 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50341 int64_t instead of long int.
50342 (INSERT_WORDS64): Likwise.
50344 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50346 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50347 _Unwind_GetCFA return to _Unwind_Ptr first.
50349 2012-03-19 Joseph Myers <joseph@codesourcery.com>
50352 * math/s_clog.c: Include <float.h>.
50353 (__clog): Scale large or subnormal inputs.
50354 * math/s_clogf.c: Likewise.
50355 * math/s_clogl.c: Likewise.
50356 * math/s_clog10.c: Include <float.h>.
50357 (M_LOG10_2): Define.
50358 (__clog10): Scale large or subnormal inputs.
50359 * math/s_clog10f.c: Likewise.
50360 * math/s_clog10l.c: Likewise.
50361 * math/libm-test.inc (clog_test): Add more tests.
50362 (clog10_test): Likewise.
50363 * sysdeps/i386/fpu/libm-test-ulps: Update.
50364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50367 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50369 * math/libm-test.inc (atan2_test): Add another test.
50371 * Makerules (common-objdir-compile): Remove.
50372 * sysdeps/unix/Makefile (config-generated): Do not add
50373 $(unix-generated) to variable.
50374 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50375 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50377 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50379 [generic bits/local_lim.h] (before-compile): Do not append to
50381 [generic bits/local_lim.h] (common-generated): Likewise.
50382 [generic sys/param.h] (before-compile): Do not append to variable.
50383 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50384 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50385 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50386 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50388 [generic sys/param.h] (sys/param.h-includes): Remove variable.
50389 [generic sys/param.h] (sys/param.h-includes): Remove rule.
50390 [generic sys/param.h] ($(addprefix
50391 $(common-objpfx),$(sys/param.h-includes))): Likewise.
50392 [generic sys/param.h] (common-generated): Do not append to
50394 [generic sys/param.h] (sysdep_headers): Likewise.
50395 [generic bits/errno.h] (before-compile): Do not append to
50397 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50399 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50400 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50401 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50402 [generic bits/errno.h] (common-generated): Do not append to
50404 [generic bits/ioctls.h] (before-compile): Do not append to
50406 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50408 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50409 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50410 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50412 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50413 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50414 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50415 [generic bits/ioctls.h] (common-generated): Do not append to
50417 [generic sys/syscall.h] (syscall.h): Remove variable.
50418 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50420 [generic sys/syscall.h] (before-compile): Do not append to
50422 [generic sys/syscall.h] (common-generated): Likewise.
50423 * sysdeps/unix/errnos-tmpl.c: Remove file.
50424 * sysdeps/unix/errnos.awk: Likewise.
50425 * sysdeps/unix/ioctls-tmpl.c: Likewise.
50426 * sysdeps/unix/ioctls.awk: Likewise.
50427 * sysdeps/unix/mk-local_lim.c: Likewise.
50428 * sysdeps/unix/snarf-ioctls: Likewise.
50430 2012-03-19 Richard Henderson <rth@twiddle.net>
50432 * sysdeps/i386/fpu/fenv_private.h: New file.
50433 * sysdeps/i386/fpu/math_private.h: Use it.
50434 (math_opt_barrier, math_force_eval): Remove.
50435 (libc_feholdexcept_setround_53bit): Remove.
50436 (libc_feupdateenv_53bit): Remove.
50437 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50438 (math_opt_barrier, math_force_eval): Remove.
50439 (libc_feholdexcept): Remove.
50440 (libc_feholdexcept_setround): Remove.
50441 (libc_fetestexcept, libc_fesetenv): Remove.
50442 (libc_feupdateenv_test): Remove.
50443 (libc_feupdateenv, libc_feholdsetround): Remove.
50444 (libc_feresetround): Remove.
50446 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50447 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50449 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50450 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50451 (libc_feupdateenv_testl): New.
50452 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50453 (libc_feupdateenv_testf): New.
50454 (libc_feupdateenv): Use libc_feupdateenv_test.
50455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50456 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50458 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50459 (libc_feholdsetroundf, libc_feholdsetroundl): New.
50460 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50461 (libc_feresetround_noex): New.
50462 (libc_feresetround_noexf): New.
50463 (libc_feresetround_noexl): New.
50464 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50465 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50466 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50467 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50469 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50470 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50472 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50473 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50474 SET_RESTORE_ROUND_NOEX.
50475 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50476 SET_RESTORE_ROUND_NOEXF.
50477 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50478 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50479 (libc_feholdsetroundf): New.
50480 (libc_feresetround, libc_feresetroundf): New.
50482 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50483 (libc_feholdexcept_setround_53bit): Convert from macro to function.
50484 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
50486 * sysdeps/generic/math_private.h: Include <fenv.h>.
50487 (default_libc_feholdexcept): New.
50488 (default_libc_feholdexcept_setround): New.
50489 (default_libc_fesetenv, default_libc_feupdateenv): New.
50490 (libc_feholdexcept): Only define if undefined.
50491 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50492 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50493 (libc_feholdexcept_setroundl): Likewise.
50494 (libc_feholdexcept_setround_53bit): Likewise.
50495 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50496 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50497 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50498 (libc_feupdateenv_53bit): Likewise.
50499 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50500 (libc_feholdexcept): Convert from macro to inline function.
50501 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50502 (libc_fesetenv, libc_feupdateenv): Likewise.
50504 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50505 not previously defined.
50506 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50507 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50508 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50509 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50510 * sysdeps/ieee754/flt-32/math_private.h: New file.
50511 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50512 math_private.h below SET_FLOAT_WORD.
50513 (__isnan, __isinf_ns, __finite): Remove.
50514 (__isnanf, __isinf_nsf, __finitef): Remove.
50516 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
50518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50520 2012-03-17 David S. Miller <davem@davemloft.net>
50523 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50526 2012-03-16 David S. Miller <davem@davemloft.net>
50528 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50532 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50534 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50535 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50536 sysdep_routines when subdir is sysvipc.
50537 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50538 __getshmlba helper.
50540 * sysdeps/sparc/fpu/libm-test/ulps: Update.
50542 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50544 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50547 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50549 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50550 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50551 (__lround): Renamed to ...
50552 (__llround): This. Replace long int with long long int.
50553 Define lround functions as aliases of llround functions.
50554 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50556 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50558 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50559 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50560 adresses to uintptr_t. Replace "long int" and "unsigned long
50561 int" with "greg_t" on va_arg.
50563 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50565 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50566 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50568 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50569 Move e_machine check before EI_CLASS check. Handle x32
50570 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50571 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50572 SKIP_EM_IA_64 and include
50573 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50575 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50576 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50577 (add_system_dir): New macro.
50579 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50580 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50582 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50593 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50595 * math/w_j0f.c (j0f): Likewise.
50597 * math/w_j0l.c (__j0l): Likewise.
50599 * math/w_j1.c (j1): Likewise.
50601 * math/w_j1f.c (j1f): Likewise.
50603 * math/w_j1l.c (__j1l): Likewise.
50605 * math/w_jn.c (jn): Likewise.
50607 * math/w_jnf.c (jnf): Likewise.
50609 * math/w_jnl.c (__jnl): Likewise.
50611 * math/libm-test.inc (j0_test): Add more tests.
50612 (j1_test): Likewise.
50613 (jn_test): Likewise. Add trailing semicolon to existing test.
50614 (y0_test): Likewise.
50615 (y1_test): Likewise.
50616 * sysdeps/i386/fpu/libm-test-ulps: Update.
50617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50621 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50622 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50623 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50624 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50625 (__tanl): Set errno for infinite argument.
50626 * sysdeps/i386/fpu/mptan.c: Remove.
50627 * sysdeps/i386/fpu/s_tan.S: Likewise.
50628 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50629 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50630 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50631 * math/libm-test.inc (tan_test): Add more tests and enable more
50632 tests for double and long double.
50633 * sysdeps/i386/fpu/libm-test-ulps: Update.
50634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50636 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50638 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50639 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50641 2012-03-16 Roland McGrath <roland@hack.frob.com>
50643 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50644 * configure.in: Use it for both main tree and add-ons.
50645 * configure: Regenerated.
50647 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50649 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50651 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50653 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50657 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50658 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50659 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50660 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50661 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50663 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50664 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50665 != 0 for prec == 2.
50666 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50667 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50668 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50669 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50670 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50671 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50672 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50673 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50674 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50675 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50676 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50677 * math/libm-test.inc (cos_test): Add more tests and enable more
50678 tests for long double.
50679 (sin_test): Likewise.
50680 (sincos_test): Likewise.
50681 * sysdeps/i386/fpu/libm-test-ulps: Update.
50682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50684 2012-03-16 David S. Miller <davem@davemloft.net>
50686 * sysdeps/sparc/fpu/math_private.h: New file.
50688 2012-03-15 David S. Miller <davem@davemloft.net>
50690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50704 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50705 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50707 * sysdeps/sparc/sparc-ifunc.h: New file.
50708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50735 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50746 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50748 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50750 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50751 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50753 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50755 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50759 2012-03-15 Andreas Jaeger <aj@suse.de>
50762 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50763 ieee754/flt-32 implementation for sin, cos and sincos.
50764 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50765 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50766 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50767 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50768 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50769 ieee754/flt-32 implementation for tan.
50771 * math/libm-test.inc (cos_test): Enable some large input tests for
50773 (sin_test): Likewise.
50774 (sincos_test): Likewise.
50775 (tan_test): Add tests for large input.
50777 * sysdeps/i386/fpu/libm-test-ulps: Update.
50779 2012-03-15 Andreas Jaeger <aj@suse.de>
50782 * math/libm-test.inc (cos_test): Add more test cases.
50783 (sin_test): Likewise.
50784 (sincos_test): Likewise.
50786 2012-03-15 Andreas Jaeger <aj@suse.de>
50789 * math/libm-test.inc (cos_test): Add a test case for large input
50791 (sin_test): Likewise.
50792 (sincos_test): Likewise.
50794 2012-03-15 Andreas Jaeger <aj@suse.de>
50795 Joseph Myers <joseph@codesourcery.com>
50798 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50799 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50800 * sysdeps/i386/fpu/branred.c: Likewise.
50801 * sysdeps/i386/fpu/dosincos.c: Likewise.
50802 * sysdeps/i386/fpu/mpa.c: Likewise.
50803 * sysdeps/i386/fpu/s_cos.S: Likewise.
50804 * sysdeps/i386/fpu/s_sin.S: Likewise.
50805 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50806 * sysdeps/i386/fpu/sincos32.c: Likewise.
50808 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50810 (libc_feupdateenv_53bit): Define.
50811 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50813 (libc_feupdateenv_53bit): Define.
50815 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50816 53 bit (without extend i386 double precision).
50818 * math/libm-test.inc (sincos_test): Add tests for large input.
50822 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50824 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50828 2012-03-15 David S. Miller <davem@davemloft.net>
50830 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50831 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50832 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50833 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50857 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50858 fmin/fmax sysdep routines.
50859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50861 2012-03-14 David S. Miller <davem@davemloft.net>
50863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50867 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50868 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50869 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50883 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50884 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50887 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50888 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50889 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50890 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50935 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50940 * sysdeps/sparc/configure.in: New file.
50941 * sysdeps/sparc/configure: Generate.
50942 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50943 * configure: Regenerate.
50944 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50945 * config.make.in (have-as-vis3): New.
50946 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50947 available use -Av9d instead of -Av9a.
50948 * sysdeps/sparc/sparc64/Makefile: Likewise.
50949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50964 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50965 fzeros/fnegs to load 0x80000000 into a float register instead of
50967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50969 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50973 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50974 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50975 ($(inst_includedir)/bits/syscall.h): Remove rule.
50976 ($(objpfx)bits/syscall.d): Include instead of
50977 $(objpfx)syscall-list.d.
50978 (generated): Change syscall-list.h and syscall-list.d to
50979 bits/syscall.h and bits/syscall.d.
50981 2012-03-14 Roland McGrath <roland@hack.frob.com>
50984 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50986 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50989 * math/s_csqrt.c: Include <float.h>.
50990 (__csqrt): Scale large or subnormal inputs.
50991 * math/s_csqrtf.c: Likewise.
50992 * math/s_csqrtl.c: Likewise.
50993 * math/libm-test.inc (csqrt_test): Add more tests.
50994 * sysdeps/i386/fpu/libm-test-ulps: Update.
50995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50998 * math/libm-test.inc (hypot_test): Add more tests.
51000 2012-03-13 David S. Miller <davem@davemloft.net>
51003 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51004 double-precision for the calculation instead of scaling.
51006 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51008 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51009 manipulate bits before adding and subtracting TWO52[sx].
51010 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51011 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51013 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51015 2012-03-13 David S. Miller <davem@davemloft.net>
51017 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51018 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51020 rtld-global-offsets.h
51021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51023 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51026 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51028 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51029 'err' in the ifdef scope in which it is actually used.
51031 * nss/nss_db/db-init.c: Include string.h
51033 2012-03-12 David S. Miller <davem@davemloft.net>
51035 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51036 masking out of the most significant byte of random value used.
51037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51038 Fix coding style in previous change.
51040 * sysdeps/unix/sysv/linux/kernel-features.h
51041 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51042 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51044 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51047 2012-03-11 David S. Miller <davem@davemloft.net>
51049 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51050 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51051 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51052 for 'resultvar' otherwise things get truncated on 64-bit.
51054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51055 Fix masking out of the most significant byte of random value used.
51057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51059 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51063 2012-03-09 David S. Miller <davem@davemloft.net>
51065 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51066 variables with appropriate CPP guards.
51067 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51068 from the frame pointer, not the stack pointer. Correct layout
51069 comments. Fix test on resulting framesize and the management of
51070 the outregs buffer for pltexit. Preserve floating point return
51071 values across _dl_call_pltexit call.
51072 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51073 framesize and the management of the outregs buffer for pltexit.
51074 Preserve floating point return values across _dl_call_pltexit
51076 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51077 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51078 (la_sparc64_gnu_pltexit): New functions.
51079 (print_exit): Fix format string for return register value.
51081 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51083 * sunrpc/Makefile (others): Add rpcgen.
51084 ($(objpfx)rpcgen): Remove special build rule and dependency on
51086 * sunrpc/rpcgen.c: New file.
51088 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51091 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51092 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51093 * sysdeps/i386/crti.S: Likewise.
51094 * sysdeps/i386/crtn.S: Likewise.
51095 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51096 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51097 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51098 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51099 * sysdeps/sh/crti.S: Likewise.
51100 * sysdeps/sh/crtn.S: Likewise.
51101 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51104 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51106 * locale/programs/locfile-kw.gperf: Likewise.
51107 * locale/programs/charmap-kw.h: Regenerated.
51108 * locale/programs/locfile-kw.h: Likewise.
51111 * intl/plural.y: Replace FSF snail mail address with URL.
51112 * intl/plural.c: Regenerated.
51114 2012-03-09 Richard Henderson <rth@twiddle.net>
51116 * include/math_private.h: Remove file.
51117 * math/math_private.h: Move file ...
51118 * sysdeps/generic/math_private.h: ... here.
51120 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51121 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51122 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51124 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51125 and <math_private.h>.
51126 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51127 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51128 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51129 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51130 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51131 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51132 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51134 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51135 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51137 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51138 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51139 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51140 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51141 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51142 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51143 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51144 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51145 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51146 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51147 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51148 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51150 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51152 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51156 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51158 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51159 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51160 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51161 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51162 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51163 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51164 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51165 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51166 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51167 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51168 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51169 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51170 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51171 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51172 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51173 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51174 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51175 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51176 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51177 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51178 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51179 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51180 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51181 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51182 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51183 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51184 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51185 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51186 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51187 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51188 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51189 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51190 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51191 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51192 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51193 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51194 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51195 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51197 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51198 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51200 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51202 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51205 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51206 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51207 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51208 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51209 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51210 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51211 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51213 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51214 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51215 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51216 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51217 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51218 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51219 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51220 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51221 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51222 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51223 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51224 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51225 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51226 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51227 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51228 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51229 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51230 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51231 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51232 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51233 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51234 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51235 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51236 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51237 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51238 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51239 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51240 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51241 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51242 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51243 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51244 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51245 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51246 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51247 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51248 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51249 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51250 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51251 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51252 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51253 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51254 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51255 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51256 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51257 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51258 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51259 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51260 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51261 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51262 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51263 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51264 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51265 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51266 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51267 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51268 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51269 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51270 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51271 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51272 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51273 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51274 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51275 * sysdeps/ieee754/k_standard.c: Likewise.
51276 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51277 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51278 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51279 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51280 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51281 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51282 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51283 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51284 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51285 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51286 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51287 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51288 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51289 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51290 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51291 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51292 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51293 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51294 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51295 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51296 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51297 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51298 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51299 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51300 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51301 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51302 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51303 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51304 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51305 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51306 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51307 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51308 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51309 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51310 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51311 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51312 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51313 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51314 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51315 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51316 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51317 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51318 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51319 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51320 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51321 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51322 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51323 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51324 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51326 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51327 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51328 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51329 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51332 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51333 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51334 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51335 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51336 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51337 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51338 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51339 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51340 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51341 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51342 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51343 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51344 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51345 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51348 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51349 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51350 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51351 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51353 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51354 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51355 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51356 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51357 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51358 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51359 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51360 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51361 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51362 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51363 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51364 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51365 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51366 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51367 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51368 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51369 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51370 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51371 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51372 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51373 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51374 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51375 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51376 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51377 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51378 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51380 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51381 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51382 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51383 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51384 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51385 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51386 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51387 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51388 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51389 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51390 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51391 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51392 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51393 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51394 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51395 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51396 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51397 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51398 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51399 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51400 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51401 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51402 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51403 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51404 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51405 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51406 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51407 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51408 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51409 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51410 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51411 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51412 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51413 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51414 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51415 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51416 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51417 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51418 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51419 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51420 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51421 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51422 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51423 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51424 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51425 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51426 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51427 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51428 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51429 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51430 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51431 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51432 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51433 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51434 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51435 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51436 * sysdeps/ieee754/s_lib_version.c: Likewise.
51437 * sysdeps/ieee754/s_matherr.c: Likewise.
51438 * sysdeps/ieee754/s_signgam.c: Likewise.
51439 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51440 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51441 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51442 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51443 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51444 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51445 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51446 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51447 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51448 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51449 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51450 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51451 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51452 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51453 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51454 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51455 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51456 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51457 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51461 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51463 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51464 * sunrpc/rpc_main.c: Likewise.
51465 * sunrpc/rpc_svcout.c: Likewise.
51467 2012-03-09 David S. Miller <davem@davemloft.net>
51469 * include/math_private.h: New file.
51471 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51473 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51474 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51475 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51476 from <bits/socket_type.h>.
51477 (enum __socket_type): Don't define here.
51478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51480 bits/socket_type.h.
51483 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51484 checking __USE_GNU.
51486 * Makerules ($(inst_includedir)/%.h): New rule.
51487 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51488 (install-others): Remove variable setting.
51489 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51491 2012-03-08 Richard Henderson <rth@twiddle.net>
51493 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51494 from macro to inline function; merge with the
51495 !__LIBC_INTERNAL_MATH_INLINES version.
51496 (__ieee754_sqrtf): Likewise.
51498 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51499 to inline function.
51500 (__rintf, __floor, __floorf): Likewise.
51502 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51503 macro to inline function.
51504 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51506 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51507 not <math/math_private.h>.
51509 2012-03-08 David S. Miller <davem@davemloft.net>
51511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51513 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51515 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
51517 * resolv/gai_misc.c (handle_requests): Fix struct timespec
51519 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51520 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51522 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51524 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51525 be defined individually, they must be defined as a block. Define
51526 S for printing a string instead of hidint the different by using a
51527 macro for adding the 'l'.
51528 * stdio-common/tst-fphex-wide.c: Adjust.
51530 2012-03-07 Marek Polacek <polacek@redhat.com>
51532 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51534 2012-03-08 Marek Polacek <polacek@redhat.com>
51537 * stdio-common/Makefile (tests): Add tst-fphex-wide.
51538 * stdio-common/tst-fphex.c: Define a few macros to make the
51539 test reusable. Use them.
51540 * stdio-common/tst-fphex-wide.c: New file.
51542 2012-03-08 Joseph Myers <joseph@codesourcery.com>
51545 * manual/macros.texi (gnusystems): New macro.
51546 (nongnusystems): Likewise.
51547 (gnulinuxhurdsystems): Likewise.
51548 (gnuhurdsystems): Likewise..
51549 (gnulinuxsystems): Likewise.
51550 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51551 variants of the GNU system, not "GNU system".
51552 * manual/conf.texi: Likewise.
51553 * manual/errno.texi: Likewise. Update example of errno macro
51555 * manual/filesys.texi: Likewise.
51556 (getumask): Document as specific to GNU/Hurd.
51557 * manual/install.texi: Likewise. Reword some references to
51559 * manual/intro.texi: Likewise.
51560 * manual/io.texi: Likewise.
51561 (File Name Portability): Detail which constraints are inapplicable
51562 to all GNU systems and which are only inapplicable to GNU/Hurd.
51563 * manual/job.texi: Likewise.
51564 * manual/llio.texi: Likewise.
51565 (O_NOCTTY): Document as present on GNU/Linux.
51566 * manual/maint.texi: Likewise.
51567 * manual/memory.texi: Likewise.
51568 * manual/pattern.texi: Likewise.
51569 * manual/pipe.texi: Likewise.
51570 * manual/process.texi: Likewise.
51571 * manual/resource.texi: Likewise.
51572 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51574 * manual/setjmp.texi: Likewise.
51575 * manual/signal.texi: Likewise.
51576 * manual/startup.texi: Likewise.
51577 * manual/stdio.texi: Likewise.
51578 * manual/terminal.texi: Likewise.
51579 (ONLCR): Document as POSIX.
51580 (OXTABS): Document availability on GNU/Linux as XTABS.
51581 (ONOEOT): Document availability separately from other bits.
51582 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51583 * manual/time.texi: Likewise.
51584 * manual/users.texi: Likewise.
51585 * INSTALL: Regenerated.
51586 * sysdeps/gnu/errlist.c: Regenerated.
51588 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51589 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51590 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51592 * configure: Regenerated.
51594 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51596 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51597 default includes instead of AC_HEADER_CHECK.
51598 * sysdeps/i386/configure: Regenerated.
51601 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51602 * math/s_cacoshf.c (__cacoshf): Likewise.
51603 * math/s_cacoshl.c (__cacoshl): Likewise.
51604 * math/s_casinh.c (__casinh): Set signs of result from argument.
51605 * math/s_casinhf.c (__casinhf): Likewise.
51606 * math/s_casinhl.c (__casinhl): Likewise.
51607 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51608 (casinh_test): Add more tests.
51609 * sysdeps/i386/fpu/libm-test-ulps: Update.
51610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51612 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51614 * po/zh_TW.po: Update from translation team.
51616 * login/Makefile (distribute): Remove variable.
51617 * catgets/Makefile: Likewise.
51618 * mach/Makefile: Likewise.
51619 * malloc/Makefile: Likewise.
51620 * misc/Makefile: Likewise.
51621 * iconv/Makefile: Likewise.
51622 * nscd/Makefile: Likewise.
51623 * hurd/Makefile: Likewise.
51624 * manual/Makefile: Likewise.
51625 * locale/Makefile: Likewise.
51626 * intl/Makefile: Likewise.
51627 * conform/Makefile: Likewise.
51628 * nss/Makefile: Likewise.
51629 * time/Makefile: Likewise.
51630 * soft-fp/Makefile: Likewise.
51631 * dirent/Makefile: Likewise.
51632 * gmon/Makefile: Likewise.
51633 * po/Makefile: Likewise.
51634 * rt/Makefile: Likewise.
51635 * socket/Makefile: Likewise.
51636 * math/Makefile: Likewise.
51637 * signal/Makefile: Likewise.
51638 * debug/Makefile: Likewise.
51639 * elf/Makefile: Likewise.
51640 * timezone/Makefile: Likewise.
51641 * stdlib/Makefile: Likewise.
51642 * iconvdata/Makefile: Likewise.
51643 * sunrpc/Makefile: Likewise.
51644 * io/Makefile: Likewise.
51645 * argp/Makefile: Likewise.
51646 * inet/Makefile: Likewise.
51647 * hesiod/Makefile: Likewise.
51648 * grp/Makefile: Likewise.
51649 * csu/Makefile: Likewise.
51650 * wctype/Makefile: Likewise.
51651 * crypt/Makefile: Likewise.
51652 * libio/Makefile: Likewise.
51653 * string/Makefile: Likewise.
51654 * nis/Makefile: Likewise.
51655 * resolv/Makefile: Likewise.
51656 * stdio-common/Makefile: Likewise.
51657 * wcsmbs/Makefile: Likewise.
51658 * dlfcn/Makefile: Likewise.
51659 * posix/Makefile: Likewise.
51662 * timezone/Makefile: Don't install timezone files, just the programs
51665 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51667 * nss/databases.def: Add missing gshadow entry.
51669 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51671 2012-03-06 Marek Polacek <polacek@redhat.com>
51674 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51675 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51676 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51677 * stdio-common/tst-long-dbl-fphex.c: New file.
51679 2012-03-06 David S. Miller <davem@davemloft.net>
51681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51682 (set_obp_int): New function.
51683 (get_obp_int): New function.
51684 (__get_clockfreq_via_dev_openprom): Likewise.
51685 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51686 Avoid unused variable warnings on 'val' and use builtin_expect.
51687 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51689 (INLINE_CLONE_SYSCALL): Likewise.
51691 2012-03-05 David S. Miller <davem@davemloft.net>
51693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51695 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51699 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51700 only for |x| >= 40.
51701 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51703 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51705 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51706 Replace gettimeofday with __vdso_gettimeofday.
51708 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51709 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51710 __vdso_clock_gettime and __vdso_getcpu.
51712 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51713 time with __vdso_time.
51715 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51717 * manual/lang.texi (size_t): Note types to which size_t may be
51718 equivalent with the GNU C Library, but do not describe when
51719 differences between them are significant.
51721 2012-03-05 Andreas Jaeger <aj@suse.de>
51723 * sysdeps/i386/fpu/libm-test-ulps: Update.
51725 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51728 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51729 (__ieee754_pow): Save and restore rounding mode and use
51730 round-to-nearest for main computations.
51731 * math/libm-test.inc (pow_test_tonearest): New function.
51732 (pow_test_towardzero): Likewise.
51733 (pow_test_downward): Likewise.
51734 (pow_test_upward): Likewise.
51735 (main): Call the new functions.
51736 * sysdeps/i386/fpu/libm-test-ulps: Update.
51737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51740 * math/libm-test.inc (cosh_test_tonearest): New function.
51741 (cosh_test_towardzero): Likewise.
51742 (cosh_test_downward): Likewise.
51743 (cosh_test_upward): Likewise.
51744 (sinh_test_tonearest): Likewise.
51745 (sinh_test_towardzero): Likewise.
51746 (sinh_test_downward): Likewise.
51747 (sinh_test_upward): Likewise.
51748 (main): Call the new functions.
51749 * sysdeps/i386/fpu/libm-test-ulps: Update.
51750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51752 2012-03-05 Tom de Vries <tom@codesourcery.com>
51754 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51755 default stack guard is set in last bytes.
51756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51758 2012-03-05 Kees Cook <keescook@chromium.org>
51760 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51763 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51764 possibly allocate from heap instead of stack.
51765 * stdio-common/bug-vfprintf-nargs.c: New file.
51766 * stdio-common/Makefile (tests): Add nargs overflow test.
51768 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51772 2012-03-03 Marek Polacek <polacek@redhat.com>
51774 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51775 * math/math_private.h: Likewise.
51776 * stdlib/tst-strtod.c: Likewise.
51777 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51778 * sysdeps/x86_64/bits/atomic.h: Likewise.
51780 2012-03-02 David S. Miller <davem@davemloft.net>
51782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51786 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51787 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51788 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51789 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51791 2012-03-02 Roland McGrath <roland@hack.frob.com>
51794 * manual/examples/README: New file, says the example source files
51795 can be used under GPL>=2.
51796 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51797 line containing just "*/".
51798 * manual/examples/add.c: Add copyright header (GPL>=2).
51799 * manual/examples/argp-ex1.c: Likewise.
51800 * manual/examples/argp-ex2.c: Likewise.
51801 * manual/examples/argp-ex3.c: Likewise.
51802 * manual/examples/argp-ex4.c: Likewise.
51803 * manual/examples/atexit.c: Likewise.
51804 * manual/examples/db.c: Likewise.
51805 * manual/examples/dir.c: Likewise.
51806 * manual/examples/dir2.c: Likewise.
51807 * manual/examples/execinfo.c: Likewise.
51808 * manual/examples/filecli.c: Likewise.
51809 * manual/examples/filesrv.c: Likewise.
51810 * manual/examples/fmtmsgexpl.c: Likewise.
51811 * manual/examples/genpass.c: Likewise.
51812 * manual/examples/inetcli.c: Likewise.
51813 * manual/examples/inetsrv.c: Likewise.
51814 * manual/examples/isockad.c: Likewise.
51815 * manual/examples/longopt.c: Likewise.
51816 * manual/examples/memopen.c: Likewise.
51817 * manual/examples/memstrm.c: Likewise.
51818 * manual/examples/mkfsock.c: Likewise.
51819 * manual/examples/mkisock.c: Likewise.
51820 * manual/examples/mygetpass.c: Likewise.
51821 * manual/examples/pipe.c: Likewise.
51822 * manual/examples/popen.c: Likewise.
51823 * manual/examples/rprintf.c: Likewise.
51824 * manual/examples/search.c: Likewise.
51825 * manual/examples/select.c: Likewise.
51826 * manual/examples/setjmp.c: Likewise.
51827 * manual/examples/sigh1.c: Likewise.
51828 * manual/examples/sigusr.c: Likewise.
51829 * manual/examples/stpcpy.c: Likewise.
51830 * manual/examples/strdupa.c: Likewise.
51831 * manual/examples/strftim.c: Likewise.
51832 * manual/examples/strncat.c: Likewise.
51833 * manual/examples/subopt.c: Likewise.
51834 * manual/examples/swapcontext.c: Likewise.
51835 * manual/examples/termios.c: Likewise.
51836 * manual/examples/testopt.c: Likewise.
51837 * manual/examples/testpass.c: Likewise.
51838 * manual/examples/timeval_subtract.c: Likewise.
51841 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51843 * manual/timeval_subtract.c.texi: ... here, new file.
51845 2012-03-02 David S. Miller <davem@davemloft.net>
51847 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51849 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51852 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51853 (__sin): Save and restore rounding mode and use round-to-nearest
51854 for all computations.
51855 (__cos): Save and restore rounding mode and use round-to-nearest
51856 for all computations.
51857 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51859 (tan): Save and restore rounding mode and use round-to-nearest for
51861 * math/libm-test.inc (cos_test_tonearest): New function.
51862 (cos_test_towardzero): Likewise.
51863 (cos_test_downward): Likewise.
51864 (cos_test_upward): Likewise.
51865 (sin_test_tonearest): Likewise.
51866 (sin_test_towardzero): Likewise.
51867 (sin_test_downward): Likewise.
51868 (sin_test_upward): Likewise.
51869 (tan_test_tonearest): Likewise.
51870 (tan_test_towardzero): Likewise.
51871 (tan_test_downward): Likewise.
51872 (tan_test_upward): Likewise.
51873 (main): Call the new functions.
51874 * sysdeps/i386/fpu/libm-test-ulps: Update.
51875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51878 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51879 small n, then large n, before computing and testing k+n.
51880 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51881 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51885 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51886 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51887 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51888 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51889 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51890 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51891 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51892 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51893 * math/libm-test.inc (scalbn_test): Add more tests.
51894 (scalbln_test): Likewise.
51896 * manual/filesys.texi (mode_t): Describe constraints on size and
51897 signedness, not exact equivalence to a particular type.
51899 (ino64_t): Likewise.
51901 (nlink_t): Likewise.
51902 (blkcnt_t): Likewise.
51903 (blkcnt64_t): Likewise.
51904 * manual/llio.texi (off_t): Likewise.
51907 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51908 (__ieee754_exp): Save and restore rounding mode and use
51909 round-to-nearest for all computations.
51910 * math/libm-test.inc (exp_test_tonearest): New function.
51911 (exp_test_towardzero): Likewise.
51912 (exp_test_downward): Likewise.
51913 (exp_test_upward): Likewise.
51914 (main): Call the new functions.
51915 * sysdeps/i386/fpu/libm-test-ulps: Update.
51916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51918 2012-03-01 Chris Demetriou <cgd@google.com>
51920 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51921 have predictable order.
51923 2012-03-01 David S. Miller <davem@davemloft.net>
51925 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51927 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51928 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51929 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51930 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51932 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51933 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51934 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51936 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51937 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51938 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51939 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51940 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51944 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51945 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51946 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51948 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51949 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51950 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51951 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51952 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51953 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51954 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51955 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51956 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51957 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51958 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51959 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51961 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51962 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51964 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51965 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51966 * sysdeps/sparc/elf/configure: Regenerated.
51968 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51970 * configure.in (AS, LD): Require binutils 2.20 or later.
51971 * configure: Regenerated.
51972 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51973 as required minimum version.
51974 * INSTALL: Regenerated.
51978 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51979 before squaring exponent.
51980 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51981 bottom long double and 27 bits of top long double before squaring
51983 * math/libm-test.inc (erfc_test): Add more tests.
51984 * sysdeps/i386/fpu/libm-test-ulps: Update.
51985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51988 2012-03-01 Kai Tietz <ktietz@redhat.com>
51990 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51991 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51992 containing bit-fields.
51993 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51994 * soft-fp/single.h (_FP_UNION_S): Likewise.
51995 * soft-fp/double.h (_FP_UNION_D): Likewise.
51997 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52000 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52001 not include ../strcmp.S.
52002 [USE_AS_STRNCASECMP_L]: Likewise.
52003 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52004 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52005 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52006 (__strncasecmp_l_ia32): Define as alias to
52007 __strncasecmp_l_nonascii.
52010 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52011 * sysdeps/i386/fpu/libm-test-ulps: Update.
52012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52014 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52017 2012-02-29 Jeff Law <law@redhat.com>
52019 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52020 out of bounds read.
52022 2012-02-29 Marek Polacek <polacek@redhat.com>
52025 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52026 * elf/Makefile: Add rules to run tst-unused-dep.out.
52028 2012-02-28 David S. Miller <davem@davemloft.net>
52030 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52031 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52032 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52033 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52034 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52035 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52037 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52039 * math/libm-test.inc (llround_test): Move one test from
52040 lround_test. Use TEST_f_L in moved test.
52041 (lround_test): Move misplaced test to llround_test. Add testcase
52044 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52046 * sysdeps/x86_64/fpu/e_expf.S: New file.
52047 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52049 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52052 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52053 of remain_len that may cause incomplete multi-byte character and
52055 * posix/bug-regex33.c: New file.
52056 * posix/Makefile (tests): Add bug-regex33.
52058 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52060 * manual/macros.texi: New file.
52061 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52062 * manual/libc.texinfo: Include macros.texi.
52063 * manual/creatute.texi: Likewise.
52064 * manual/install.texi: Likewise.
52065 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52066 @glibcadj{} in references to the GNU C Library.
52067 * manual/charset.texi: Likewise.
52068 * manual/conf.texi: Likewise.
52069 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52070 when not using those macros.
52071 * manual/creature.texi: Likewise.
52072 * manual/crypt.texi: Likewise.
52073 * manual/errno.texi: Likewise.
52074 * manual/filesys.texi: Likewise.
52075 * manual/header.texi: Likewise.
52076 * manual/install.texi: Likewise.
52077 * manual/intro.texi: Likewise.
52078 * manual/io.texi: Likewise.
52079 * manual/job.texi: Likewise.
52080 * manual/lang.texi: Likewise.
52081 * manual/libc.texiinfo: Likewise.
52082 * manual/llio.texi: Likewise.
52083 * manual/locale.texi: Likewise.
52084 * manual/maint.texi: Likewise.
52085 * manual/math.texi: Likewise.
52086 * manual/memory.texi: Likewise.
52087 * manual/message.texi: Likewise.
52088 * manual/nss.texi: Likewise.
52089 * manual/pattern.texi: Likewise.
52090 * manual/process.texi: Likewise.
52091 * manual/resource.texi: Likewise.
52092 * manual/search.texi: Likewise.
52093 * manual/setjmp.texi: Likewise.
52094 * manual/signal.texi: Likewise.
52095 * manual/socket.texi: Likewise.
52096 * manual/startup.texi: Likewise.
52097 * manual/stdio.texi: Likewise.
52098 * manual/string.texi: Likewise.
52099 * manual/sysinfo.texi: Likewise.
52100 * manual/syslog.texi: Likewise.
52101 * manual/terminal.texi: Likewise.
52102 * manual/time.texi: Likewise.
52103 * manual/users.texi: Likewise.
52104 * INSTALL: Regenerated.
52105 * NOTES: Regenerated.
52106 * sysdeps/gnu/errlist.c: Regenerated.
52108 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52110 * include/dirent.h: Include <dirstream.h> before
52113 2012-02-28 David S. Miller <davem@davemloft.net>
52115 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52116 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52117 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52118 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52120 2012-02-27 David S. Miller <davem@davemloft.net>
52122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52124 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52125 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52128 frame pointer instead of stack pointer relative arg slot.
52129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52130 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52131 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52133 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52136 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52138 2012-02-27 David S. Miller <davem@davemloft.net>
52140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52144 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52145 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52146 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52147 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52149 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52151 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52152 later. Allow versions 5-9.
52153 * configure: Regenerated.
52154 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52155 required minimum version and 4.6 as recommended version. Do not
52156 mention bugs in GCC 2.7 and 2.8.
52157 * INSTALL: Regenerated.
52159 2012-02-27 David S. Miller <davem@davemloft.net>
52161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52165 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52166 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52167 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52168 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52170 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52171 manipulate bits before adding and subtracting TWO112[sx].
52172 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52174 2012-02-27 Roland McGrath <roland@hack.frob.com>
52177 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52178 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52179 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52180 being in POSIX, because they are in 1003.1-2008.
52182 * rt/tst-aio.c: Include <fcntl.h>.
52183 * rt/tst-aio7.c: Likewise.
52184 * rt/tst-aio64.c: Likewise.
52186 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52188 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52190 * manual/install.texi (--with-headers): Describe headers as
52191 interface headers, not private headers.
52192 (Specific advice for GNU/Linux systems): Describe use of headers
52193 from "make headers_install", not private headers from older
52195 * INSTALL: Regenerated.
52196 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52198 * sysdeps/unix/sysv/linux/configure: Regenerated.
52200 * manual/llio.texi (fclean): Remove documentation.
52202 * manual/Makefile (libc-texi-generated): New variable. Include
52204 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52205 $(libc-texi-generated), not duplicated list of files.
52206 (version.texi, stamp-version): New rules.
52207 (realclean): Remove $(libc-texi-generated), not individual files
52208 from that list. Do not remove dir-add.texinfo.
52209 * manual/libc.texinfo: Comment out uses of edition numbers and
52210 references to printed manual. Remove last-updated dates.
52211 (EDITION): Comment out.
52213 (VERSION, UPDATED): Remove.
52214 (version.texi): Include.
52216 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52218 * sysdeps/posix/spawni.c: Include <signal.h>.
52219 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52220 * sysdeps/pthread/aio_fsync.c: Likewise.
52222 2012-02-26 Ulrich Drepper <drepper@gmail.com>
52224 * conform/Makefile (tests): Run only when not cross-compiling and
52225 when fast-check is not defined.
52227 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52228 * conform/data/limits.h-data: Fixes for POSIX2008.
52229 * conform/run-conformtest.sh: Run all tests.
52230 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52232 * include/bits/dlfcn.h: Likewise.
52233 * include/langinfo.h: Likewise.
52234 * include/monetary.h: Likewise.
52235 * include/sys/poll.h: Likewise.
52237 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52239 * posix/spawn.h: Define __need_sigset_t.
52240 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52241 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52242 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
52243 to get sigevent_t only.
52244 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52245 only for __USE_GNU.
52246 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52247 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52248 process_vm_writev only for __USE_GNU.
52249 * termios/termios.h: Declare tcgetsid also for POSIX2008.
52251 * conform/Makefile: For now ignore errors from run-conformtest.
52252 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
52253 POSIX to avoid namespace pollution. Don't prepend headers.
52254 * conform/data/aio.h-data: Fixes for POSIX testing.
52255 * conform/data/fcntl.h-data: Likewise.
52256 * conform/data/glob.h-data: Likewise.
52257 * conform/data/grp.h-data: Likewise.
52258 * conform/data/pthread.h-data: Likewise.
52259 * conform/data/pwd.h-data: Likewise.
52260 * conform/data/signal.h-data: Likewise.
52261 * conform/data/spawn.h-data: Likewise.
52262 * conform/data/stdio.h-data: Likewise.
52263 * conform/data/stdlib.h-data: Likewise.
52264 * conform/data/stropts.h-data: Likewise.
52265 * conform/data/sys/mman.h-data: Likewise.
52266 * conform/data/sys/stat.h-data: Likewise.
52267 * conform/data/sys/types.h-data: Likewise.
52268 * conform/data/sys/wait.h-data: Likewise.
52269 * conform/data/time.h-data: Likewise.
52270 * conform/data/unistd.h-data: Likewise.
52271 * conform/data/utime.h-data: Likewise.
52273 * io/sys/stat.h: fchmod was always in POSIX.
52274 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52275 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52276 * rt/aio.h: Define __need_timespec before including <time.h>.
52277 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52278 struct. Add forward declaration of pthread_attr_t and use it in
52280 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52281 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52282 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52283 always remove CLK_TCK definition.
52285 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
52287 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52289 2012-02-25 Ulrich Drepper <drepper@gmail.com>
52291 * conform/run-conformtest.sh: New file.
52292 * conform/Makefile: Run run-conformtest for tests.
52293 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
52296 * conform/data/uchar.h-data: New file.
52297 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52298 * conform/data/arpa/inet.h-data: Likewise.
52299 * conform/data/assert.h-data: Likewise.
52300 * conform/data/complex.h-data: Likewise.
52301 * conform/data/cpio.h-data: Likewise.
52302 * conform/data/ctype.h-data: Likewise.
52303 * conform/data/dirent.h-data: Likewise.
52304 * conform/data/dlfcn.h-data: Likewise.
52305 * conform/data/errno.h-data: Likewise.
52306 * conform/data/fcntl.h-data: Likewise.
52307 * conform/data/float.h-data: Likewise.
52308 * conform/data/fmtmsg.h-data: Likewise.
52309 * conform/data/fnmatch.h-data: Likewise.
52310 * conform/data/ftw.h-data: Likewise.
52311 * conform/data/glob.h-data: Likewise.
52312 * conform/data/grp.h-data: Likewise.
52313 * conform/data/iconv.h-data: Likewise.
52314 * conform/data/inttypes.h-data: Likewise.
52315 * conform/data/langinfo.h-data: Likewise.
52316 * conform/data/libgen.h-data: Likewise.
52317 * conform/data/limits.h-data: Likewise.
52318 * conform/data/locale.h-data: Likewise.
52319 * conform/data/math.h-data: Likewise.
52320 * conform/data/monetary.h-data: Likewise.
52321 * conform/data/mqueue.h-data: Likewise.
52322 * conform/data/ndbm.h-data: Likewise.
52323 * conform/data/net/if.h-data: Likewise.
52324 * conform/data/netdb.h-data: Likewise.
52325 * conform/data/netinet/in.h-data: Likewise.
52326 * conform/data/nl_types.h-data: Likewise.
52327 * conform/data/poll.h-data: Likewise.
52328 * conform/data/pthread.h-data: Likewise.
52329 * conform/data/pwd.h-data: Likewise.
52330 * conform/data/regex.h-data: Likewise.
52331 * conform/data/sched.h-data: Likewise.
52332 * conform/data/search.h-data: Likewise.
52333 * conform/data/semaphore.h-data: Likewise.
52334 * conform/data/setjmp.h-data: Likewise.
52335 * conform/data/signal.h-data: Likewise.
52336 * conform/data/spawn.h-data: Likewise.
52337 * conform/data/stdarg.h-data: Likewise.
52338 * conform/data/stdio.h-data: Likewise.
52339 * conform/data/stdlib.h-data: Likewise.
52340 * conform/data/string.h-data: Likewise.
52341 * conform/data/strings.h-data: Likewise.
52342 * conform/data/stropts.h-data: Likewise.
52343 * conform/data/sys/ipc.h-data: Likewise.
52344 * conform/data/sys/mman.h-data: Likewise.
52345 * conform/data/sys/msg.h-data: Likewise.
52346 * conform/data/sys/resource.h-data: Likewise.
52347 * conform/data/sys/select.h-data: Likewise.
52348 * conform/data/sys/sem.h-data: Likewise.
52349 * conform/data/sys/shm.h-data: Likewise.
52350 * conform/data/sys/socket.h-data: Likewise.
52351 * conform/data/sys/stat.h-data: Likewise.
52352 * conform/data/sys/statvfs.h-data: Likewise.
52353 * conform/data/sys/time.h-data: Likewise.
52354 * conform/data/sys/timeb.h-data: Likewise.
52355 * conform/data/sys/times.h-data: Likewise.
52356 * conform/data/sys/types.h-data: Likewise.
52357 * conform/data/sys/uio.h-data: Likewise.
52358 * conform/data/sys/un.h-data: Likewise.
52359 * conform/data/sys/utsname.h-data: Likewise.
52360 * conform/data/sys/wait.h-data: Likewise.
52361 * conform/data/syslog.h-data: Likewise.
52362 * conform/data/tar.h-data: Likewise.
52363 * conform/data/termios.h-data: Likewise.
52364 * conform/data/utime.h-data: Likewise.
52365 * conform/data/utmpx.h-data: Likewise.
52366 * conform/data/varargs.h-data: Likewise.
52367 * conform/data/wchar.h-data: Likewise.
52368 * conform/data/wctype.h-data: Likewise.
52369 * conform/data/wordexp.h-data: Likewise.
52371 * include/stropts.h: New file.
52372 * include/uchar.h: New file.
52373 * include/aio.h: Changes to allow conformtest.pl to use the headers.
52374 * include/assert.h: Likewise.
52375 * include/ctype.h: Likewise.
52376 * include/dirent.h: Likewise.
52377 * include/dlfcn.h: Likewise.
52378 * include/fcntl.h: Likewise.
52379 * include/fnmatch.h: Likewise.
52380 * include/glob.h: Likewise.
52381 * include/grp.h: Likewise.
52382 * include/libio.h: Likewise.
52383 * include/locale.h: Likewise.
52384 * include/math.h: Likewise.
52385 * include/net/if.h: Likewise.
52386 * include/netdb.h: Likewise.
52387 * include/netinet/in.h: Likewise.
52388 * include/pthread.h: Likewise.
52389 * include/pwd.h: Likewise.
52390 * include/regex.h: Likewise.
52391 * include/sched.h: Likewise.
52392 * include/search.h: Likewise.
52393 * include/setjmp.h: Likewise.
52394 * include/signal.h: Likewise.
52395 * include/stdio.h: Likewise.
52396 * include/stdlib.h: Likewise.
52397 * include/string.h: Likewise.
52398 * include/sys/cdefs.h: Likewise.
52399 * include/sys/mman.h: Likewise.
52400 * include/sys/msg.h: Likewise.
52401 * include/sys/resource.h: Likewise.
52402 * include/sys/select.h: Likewise.
52403 * include/sys/socket.h: Likewise.
52404 * include/sys/stat.h: Likewise.
52405 * include/sys/statvfs.h: Likewise.
52406 * include/sys/time.h: Likewise.
52407 * include/sys/times.h: Likewise.
52408 * include/sys/uio.h: Likewise.
52409 * include/sys/utsname.h: Likewise.
52410 * include/sys/wait.h: Likewise.
52411 * include/termios.h: Likewise.
52412 * include/time.h: Likewise.
52413 * include/ulimit.h: Likewise.
52414 * include/unistd.h: Likewise.
52415 * include/utime.h: Likewise.
52416 * include/wchar.h: Likewise.
52417 * include/wctype.h: Likewise.
52418 * include/wordexp.h: Likewise.
52420 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52422 * time/time.h: TIME_UTC must be a macro.
52423 Make timespec_get available for ISO C11 only as well.
52425 2012-02-24 Ulrich Drepper <drepper@gmail.com>
52427 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52428 Reported by Peng Haitao <penght@cn.fujitsu.com>.
52430 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52432 * configure.in: Use -o not -a in test for unsupported multi-arch.
52434 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52436 * manual/texinfo.tex: Update to version 2012-01-19.16.
52438 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52440 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52442 2012-02-24 Roland McGrath <roland@hack.frob.com>
52445 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52446 * manual/fdl-1.3.texi: New file.
52447 * manual/fdl-1.1.texi: File removed.
52450 * manual/libc.texinfo (FDL_VERSION): New @set.
52451 Use it for mention of FDL in cover text.
52452 (Documentation License): Use it in @include file name.
52454 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52455 Roland McGrath <roland@hack.frob.com>
52458 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52459 (not LONG_LONG_MAX and LONG_LONG_MIN.
52460 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52461 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
52463 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52465 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52469 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52470 manipulate bits before adding and subtracting TWO23[sx].
52471 * math/libm-test.inc (nearbyint_test): Add more tests.
52473 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52476 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52477 bits before adding and subtracting TWO23[sx].
52478 * math/libm-test.inc (rint_test): Add more tests.
52479 (rint_test_tonearest): Likewise.
52480 (rint_test_towardzero): Likewise.
52481 (rint_test_downward): Likewise.
52482 (rint_test_upward: Likewise.
52484 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52487 * include/stdc-predef.h: New file. Extracted from features.h.
52488 * include/features.h: Include stdc-predef.h.
52489 * Makefile (headers): Add stdc-predef.h.
52490 * CONFORMANCE (Compiler limitations): Update.
52492 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52494 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52496 2012-02-21 David S. Miller <davem@davemloft.net>
52498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52499 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52501 2012-02-20 David S. Miller <davem@davemloft.net>
52503 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52504 using a normal save/restore sequence, rather than allocating a
52505 dummy stack frame just to store a frame pointer and restore.
52506 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52508 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52510 * manual/install.texi: Fix stray word in line-wrapped comment.
52512 2012-02-20 David S. Miller <davem@davemloft.net>
52514 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52515 both binutils and gcc support GOTDATA.
52517 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52518 "rd %pc" in the PIC register setup sequences.
52520 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52521 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52522 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52523 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52524 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52525 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52526 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52527 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52529 (SYSCALL_ERROR_HANDLER): Likewise.
52530 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52531 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52532 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52533 (SYSCALL_ERROR_HANDLER): Likewise.
52535 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52536 (HAVE_GCC_GOTDATA): New.
52537 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52538 relocation support in both binutils and gcc.
52539 * sysdeps/sparc/elf/configure: Regenerate.
52541 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52542 * sysdeps/sparc/sparc32/elf/configure: Delete.
52543 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52544 * sysdeps/sparc/sparc64/elf/configure: Delete.
52545 * sysdeps/sparc/elf/configure.in: New file.
52546 * sysdeps/sparc/elf/configure: Generate.
52548 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52549 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52550 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52551 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52552 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52554 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52556 * manual/install.texi: Do not mention specific glibc version
52558 * manual/libc.texinfo (VERSION, UPDATED): Update.
52559 (@copying): Use @copyright{} and range of years.
52561 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52564 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52565 [crti.S not in sysdirs] (generated): Do not append.
52566 [crti.S not in sysdirs] (omit-deps): Likewise.
52567 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52568 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52569 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52570 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52571 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52573 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52574 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52575 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52576 * csu/defs.awk: Remove file.
52577 * sysdeps/generic/initfini.c: Likewise.
52578 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52580 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52583 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52585 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52586 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52587 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52588 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52589 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52590 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52592 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52593 (__EPOLL_PACKED): Define to empty if not defined by
52595 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52599 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52601 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52602 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52603 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52604 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52606 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52610 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52612 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52614 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52615 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52616 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52619 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52621 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52622 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52624 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52626 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52627 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52629 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52631 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52634 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52636 * math/w_acos.c: Use non-signaling floating-point comparisons.
52637 * math/w_acosf.c: Likewise.
52638 * math/w_acosh.c: Likewise.
52639 * math/w_acoshf.c: Likewise.
52640 * math/w_acoshl.c: Likewise.
52641 * math/w_acosl.c: Likewise.
52642 * math/w_asin.c: Likewise.
52643 * math/w_asinf.c: Likewise.
52644 * math/w_asinl.c: Likewise.
52645 * math/w_atanh.c: Likewise.
52646 * math/w_atanhf.c: Likewise.
52647 * math/w_atanhl.c: Likewise.
52648 * math/w_exp2.c: Likewise.
52649 * math/w_exp2f.c: Likewise.
52650 * math/w_exp2l.c: Likewise.
52651 * math/w_j0.c: Likewise.
52652 * math/w_j0f.c: Likewise.
52653 * math/w_j0l.c: Likewise.
52654 * math/w_j1.c: Likewise.
52655 * math/w_j1f.c: Likewise.
52656 * math/w_j1l.c: Likewise.
52657 * math/w_jn.c: Likewise.
52658 * math/w_jnf.c: Likewise.
52659 * math/w_log.c: Likewise.
52660 * math/w_log10.c: Likewise.
52661 * math/w_log10f.c: Likewise.
52662 * math/w_log10l.c: Likewise.
52663 * math/w_log2.c: Likewise.
52664 * math/w_log2f.c: Likewise.
52665 * math/w_log2l.c: Likewise.
52666 * math/w_logf.c: Likewise.
52667 * math/w_logl.c: Likewise.
52668 * math/w_sqrt.c: Likewise.
52669 * math/w_sqrtf.c: Likewise.
52670 * math/w_sqrtl.c: Likewise.
52671 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52672 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52673 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52674 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52675 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52677 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52680 * manual/string.texi (strnlen): Use correct parameter name in
52681 equivalent expression.
52683 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52686 * manual/users.texi (seteuid): Consistently use neweuid for
52689 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52692 * manual/nss.texi (Services in the NSS configuration): Correct
52693 list of services in example configuration file.
52695 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52698 * manual/arith.texi: Remove statements about negative zero
52699 behaving identically to zero.
52701 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52704 * manual/install.texi: Do not document upgrading from libc5.
52706 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52709 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52711 2012-02-18 David S. Miller <davem@davemloft.net>
52713 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52714 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52715 %o7 across the call.
52716 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52719 SETUP_PIC_REG_LEAF.
52720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52721 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52722 * sysdeps/sparc/crtn.S: Likewise.
52724 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52726 * aout/Makefile: Remove.
52728 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52731 * manual/examples/argp-ex1.c (main): Format definition in GNU
52733 * manual/examples/argp-ex2.c (main): Likewise.
52734 * manual/examples/argp-ex3.c (main): Likewise.
52735 * manual/examples/argp-ex4.c (main): Likewise.
52736 * manual/examples/longopt.c (main): Use new-style prototype
52738 * manual/examples/strncat.c (main): Specify return type and use
52739 (void) for arguments.
52740 * manual/examples/subopt.c (main): Use char **argv argument.
52742 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52745 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52748 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52751 * manual/string.texi (strchr): Change when strchrnul is
52754 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52757 * manual/locale.texi (setlocale): Document LOCPATH.
52759 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52762 * manual/process.texi (execle): Move @dots{} before last argument.
52764 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52767 * manual/charset.texi (Generic Charset Conversion): Fix typo
52768 (LC_TYPE -> LC_CTYPE).
52770 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52773 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52774 (scalbnf): Likewise.
52775 (scalbnl): Likewise.
52776 (scalbln): Likewise.
52777 (scalblnf): Likewise.
52778 (scalblnl): Likewise.
52779 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52780 (vwarnx): Likewise.
52783 * manual/filesys.texi (telldir): Use braces around return type.
52784 * manual/llio.texi (mmap): Add space after comma.
52785 (mmap64): Likewise.
52786 * manual/math.texi (jn): Use @var{} on parameter names.
52792 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52794 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52796 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52797 (sched_get_priority_max): Likewise.
52798 * manual/signal.texi (sigvec): Add space after comma.
52799 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52801 (if_indextoname): Likewise.
52802 (if_freenameindex): Likewise.
52803 (sendto): Use ',' instead of '.' in prototype.
52804 * manual/startup.texi (syscall): Use @dots{} instead of literal
52806 * manual/stdio.texi (__fpending): Separate initial words of
52807 paragraph from @deftypefun line.
52808 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52810 (vsyslog): Use @var{} on parameter names.
52811 * manual/terminal.texi (stty): Use @var{} on parameter names.
52812 * manual/users.texi (getutmp): Use @var{} on parameter names.
52813 (getutmpx): Likewise.
52815 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52818 * manual/stdio.texi (fopen): Fix typos in description of
52821 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52824 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52825 get clock_id definition.
52827 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52830 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52831 (madvise): Cast every argument to void on its own.
52833 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52836 * manual/startup.texi (Exit Status): Fix typo.
52838 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52841 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52842 * manual/examples/argp-ex2.c: Likewise.
52843 * manual/examples/argp-ex3.c: Likewise.
52845 2012-02-16 Richard Henderson <rth@redhat.com>
52847 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52848 * sysdeps/s390/s390-32/initfini.c: Remove.
52849 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52850 * sysdeps/s390/s390-64/initfini.c: Remove.
52852 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52854 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52855 compiler output for sysdeps/generic/initfini.c.
52856 * sysdeps/sh/elf/initfini.c: Remove file.
52858 2012-02-16 David S. Miller <davem@davemloft.net>
52861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52863 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52864 * sysdeps/sparc/crti.S: New file.
52865 * sysdeps/sparc/crtn.S: New file.
52866 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52867 * sysdeps/sparc/sparc64/Makefile: Likewise.
52869 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52872 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52874 2012-02-15 Roland McGrath <roland@hack.frob.com>
52877 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52879 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52880 (write, read, close): Likewise.
52881 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52883 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52885 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52886 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52887 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52888 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52890 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52894 2012-02-14 Marek Polacek <polacek@redhat.com>
52896 * sysdeps/x86_64/crti.S: New file.
52897 * sysdeps/x86_64/crtn.S: New file.
52898 * sysdeps/x86_64/elf/initfini.c: Remove file.
52900 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52902 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52903 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52904 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52905 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52907 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52911 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52913 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52914 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52915 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52916 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52918 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52922 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52924 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52925 __feraiseexcept instead of feraiseexcept.
52927 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52928 nanosleep invocations.
52929 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52930 strings, and add error checking for a nanosleep invocations.
52932 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52934 Replace FSF snail mail address with URLs, as per GNU coding standards.
52935 Most of the snail mail addresses were wrong anyway, and omitting
52936 them makes the source code easier to maintain. Almost all of the
52937 changes are to license notices and to locale LC_IDENTIFICATION
52938 addresses, except for this one:
52939 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52940 not its snail mail address.
52942 2012-02-09 Richard Henderson <rth@twiddle.net>
52944 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52945 of kernel-features.h.
52947 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52949 2012-02-08 Marek Polacek <polacek@redhat.com>
52951 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52952 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52953 * sysdeps/gnu/_G_config.h: Likewise.
52954 * sysdeps/generic/_G_config.h: Likewise.
52956 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52958 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52962 * sysdeps/powerpc/powerpc32/crti.S: New file.
52963 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52964 * sysdeps/powerpc/powerpc64/crti.S: New file.
52965 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52967 * Makeconfig (have-initfini): Don't set.
52968 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52969 * configure.in (nopic_initfini): Don't substitute.
52970 * config.h.in (HAVE_INITFINI): Don't #undef.
52971 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52972 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52974 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52976 Support crti.S and crtn.S provided directly by architectures.
52977 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52978 [crti.S in sysdirs] (omit-deps): Likewise.
52979 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52980 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52981 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52982 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52983 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52984 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52985 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52986 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52987 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52988 compiler output for sysdeps/generic/initfini.c.
52989 * sysdeps/i386/elf/Makefile: Remove file.
52990 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52992 2012-02-07 Marek Polacek <polacek@redhat.com>
52994 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52995 * sysdeps/gnu/_G_config.h: Likewise.
52996 * sysdeps/mach/hurd/_G_config.h: Likewise.
52998 2012-02-07 Marek Polacek <polacek@redhat.com>
53000 * math/Makefile (tests): Add tst-CMPLX2.
53001 * math/tst-CMPLX2.c: New file.
53003 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53005 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53007 * math/libm-test.inc (jn_test): Add missing L suffix.
53009 2012-02-06 Marek Polacek <polacek@redhat.com>
53011 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53012 * sysdeps/i386/fpu/e_powf.S: Likewise.
53013 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53014 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53015 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53016 * sysdeps/i386/fpu/e_pow.S: Likewise.
53017 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53018 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53019 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53020 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53021 * sysdeps/i386/fpu/e_log2.S: Likewise.
53022 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53023 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53024 * sysdeps/i386/fpu/e_powl.S: Likewise.
53025 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53026 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53027 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53028 * sysdeps/i386/fpu/e_logl.S: Likewise.
53029 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53030 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53031 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53032 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53033 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53034 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53035 * sysdeps/i386/fpu/e_log.S: Likewise.
53036 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53037 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53038 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53039 * sysdeps/i386/fpu/e_logf.S: Likewise.
53040 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53041 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53042 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53043 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53044 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53045 * sysdeps/i386/fpu/e_log10.S: Likewise.
53046 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53047 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53048 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53049 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53050 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53051 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53052 * sysdeps/i386/asm-syntax.h: Likewise.
53053 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53054 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53055 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53056 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53057 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53058 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53059 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53060 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53061 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53062 * sysdeps/powerpc/sysdep.h: Likewise.
53063 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53064 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53066 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53069 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53071 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53073 * sysdeps/i386/sysdep.h: Include <features.h>.
53074 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53077 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53079 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53081 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53084 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53086 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53087 (SETUP_PIC_REG): Use GET_PC_THUNK.
53088 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53091 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53093 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53094 for non-PIC compilation.
53095 (SETUP_PIC_REG): Add .p2align directive.
53096 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53097 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53098 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53099 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53100 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53101 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53102 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53104 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53105 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53106 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53107 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53108 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53109 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53110 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53111 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53112 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53113 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53114 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53115 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53116 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53117 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53118 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53119 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53120 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53122 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53123 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53124 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53125 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53126 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53127 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53128 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53129 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53130 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53131 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53132 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53133 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53134 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53135 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53136 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53138 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53140 * math/tst-CMPLX.c: Include <stdio.h>.
53142 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53144 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53146 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53147 * sysdeps/sparc/bits/mathdef.h: Likewise.
53149 2012-01-31 Marek Polacek <polacek@redhat.com>
53151 * libio/libio.h: Don't define _PARAMS.
53152 * locale/programs/config.h: Don't define PARAMS.
53153 * stdlib/strtol_l.c: Likewise.
53154 (__strtol_l): Remove PARAMS from the prototype.
53156 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53158 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53159 names. Just use the correct names. Remove unnecessary wrapper
53161 * malloc/arena.c: Likewise.
53162 * malloc/hooks.c: Likewise.
53164 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53165 ARENA_TEST says not to. Simplify test for creation of a new arena.
53166 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53168 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53170 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53172 (update_get_addr): New function.
53173 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53174 GET_ADDR_MODULE parameter.
53176 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53178 * crypt/cert.c: Remove __STDC__ conditionals.
53179 * crypt/crypt-entry.c: Likewise.
53180 * crypt/crypt_util.c: Likewise.
53181 * libio/filedoalloc.c: Likewise.
53182 * libio/fileops.c: Likewise.
53183 * libio/genops.c: Likewise.
53184 * libio/iofclose.c: Likewise.
53185 * libio/iofdopen.c: Likewise.
53186 * libio/iofopen.c: Likewise.
53187 * libio/iofopen64.c: Likewise.
53188 * libio/iogetdelim.c: Likewise.
53189 * libio/iopopen.c: Likewise.
53190 * libio/obprintf.c: Likewise.
53191 * libio/oldfileops.c: Likewise.
53192 * libio/oldiofclose.c: Likewise.
53193 * libio/oldiofdopen.c: Likewise.
53194 * libio/oldiofopen.c: Likewise.
53195 * libio/oldiopopen.c: Likewise.
53196 * libio/wfiledoalloc.c: Likewise.
53197 * libio/wgenops.c: Likewise.
53198 * locale/programs/xmalloc.c: Likewise.
53199 * misc/syslog.c: Likewise.
53200 * stdio-common/xbug.c: Likewise.
53201 * string/memchr.c: Likewise.
53202 * string/memcmp.c: Likewise.
53203 * string/memrchr.c: Likewise.
53204 * string/rawmemchr.c: Likewise.
53205 * sysdeps/posix/getcwd.c: Likewise.
53206 * time/strftime_l.c: Likewise.
53208 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53210 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53211 * config.make.in (config-cflags-sse2avx): Define.
53212 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53215 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53217 * scripts/config.guess: Update from upstream config git repository.
53218 * scripts/config.sub: Likewise.
53220 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53222 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53224 (R_TILEPRO_*, R_TILEGX_*): New macros.
53226 * scripts/firstversions.awk: Fix bug in version range handling.
53228 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53230 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53232 * include/sys/epoll.h: New file.
53233 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53236 2012-01-28 Ulrich Drepper <drepper@gmail.com>
53238 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53239 Avoid unnecessary __WORDSIZE == 64 test.
53240 (fmaxf): Use VEX format if possible.
53245 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53246 * math/math_private.h: Remove libc_fegetround* and
53248 * sysdeps/i386/configure.in: Check for -msse2avx.
53249 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53250 also if SSE2AVX is defined.
53251 Remove libc_fegetround* and libc_fesetround*.
53252 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53253 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
53254 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53256 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53257 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53258 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53259 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53260 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53262 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53264 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53266 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53268 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53270 2012-01-27 Ulrich Drepper <drepper@gmail.com>
53273 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53275 * Makeconfig (libm): Define.
53276 * elf/Makefile: Add rules to build and run tst-relsort1.
53277 * elf/tst-relsort1.c: New file.
53278 * elf/tst-relsort1mod1.c: New file.
53279 * elf/tst-relsort1mod2.c: New file.
53281 2012-01-27 Joseph Myers <joseph@codesourcery.com>
53283 * math/s_ldexp.c: Remove __STDC__ conditionals.
53284 * math/s_ldexpf.c: Likewise.
53285 * math/s_ldexpl.c: Likewise.
53286 * math/s_nextafter.c: Likewise.
53287 * math/s_nexttowardf.c: Likewise.
53288 * math/s_significand.c: Likewise.
53289 * math/s_significandf.c: Likewise.
53290 * math/s_significandl.c: Likewise.
53291 * math/w_jnl.c: Likewise.
53292 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53293 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53294 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53295 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53296 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53297 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53298 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53299 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53300 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53301 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53302 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53303 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53304 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53305 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53306 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53307 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53308 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53309 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53310 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53311 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53312 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53313 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53314 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53315 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53316 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53317 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53318 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53319 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53320 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53321 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53322 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53323 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53324 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53325 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53326 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53327 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53328 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53329 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53330 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53331 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53332 * sysdeps/ieee754/k_standard.c: Likewise.
53333 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53334 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53335 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53336 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53337 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53338 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53339 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53340 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53341 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53342 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53343 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53344 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53345 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53346 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53347 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53349 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53350 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53351 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53352 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53353 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53354 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53355 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53356 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53357 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53358 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53359 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53360 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53361 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53362 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53363 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53364 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53365 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53366 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53368 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53369 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53370 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53371 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53372 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53373 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53374 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53375 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53376 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53377 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53378 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53379 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53380 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53381 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53382 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53383 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53384 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53385 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53386 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53387 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53388 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53389 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53390 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53391 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53392 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53393 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53394 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53395 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53396 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53397 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53398 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53399 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53400 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53401 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53402 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53403 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53404 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53405 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53406 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53407 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53408 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53409 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53410 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53411 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53412 * sysdeps/ieee754/s_matherr.c: Likewise.
53413 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53414 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53416 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53418 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53420 * crypt/md5.h: Remove __STDC__ conditionals.
53421 * libio/libioP.h: Likewise.
53422 * locale/programs/config.h: Likewise.
53423 * sysdeps/generic/sysdep.h: Likewise.
53424 * sysdeps/i386/asm-syntax.h: Likewise.
53425 * sysdeps/s390/asm-syntax.h: Likewise.
53426 * sysdeps/unix/sysdep.h: Likewise.
53427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53430 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53432 * libio/libio.h: Remove __STDC__ conditionals.
53433 * malloc/obstack.h: Likewise.
53434 * math/complex.h: Likewise.
53435 * math/math.h: Likewise.
53436 * sysdeps/generic/_G_config.h: Likewise.
53437 * sysdeps/gnu/_G_config.h: Likewise.
53438 * sysdeps/mach/hurd/_G_config.h: Likewise.
53439 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53440 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53441 * sysdeps/sparc/bits/mathdef.h: Likewise.
53443 2012-01-26 Ulrich Drepper <drepper@gmail.com>
53446 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53447 Clean up HAS_* macros.
53448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53449 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53453 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53454 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53455 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53456 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53457 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53459 2012-01-25 Joseph Myers <joseph@codesourcery.com>
53461 * elf/tst-unique3.cc (gets): Remove declaration.
53462 * elf/tst-unique3lib.cc (gets): Likewise.
53463 * elf/tst-unique3lib2.cc (gets): Likewise.
53464 * elf/tst-unique4.cc (gets): Likewise.
53466 2012-01-24 Ulrich Drepper <drepper@gmail.com>
53468 * include/stdio.h: Add C++ protection. Add gets declarations and
53470 * debug/tst-chk1.c: Don't declare gets here.
53471 * stdio-common/tst-gets.c: Likewise.
53473 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53475 * posix/glob: Remove directory.
53477 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53479 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53481 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
53483 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53484 of the non-standard EPFNOSUPPORT.
53486 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
53488 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53489 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53490 ANYWHERE set to 1 only on KERN_NO_SPACE error.
53492 2012-01-21 Ulrich Drepper <drepper@gmail.com>
53494 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53496 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53498 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53500 * nscd/grpcache.c (cache_addgr): Likewise.
53501 * nscd/hstcache.c (cache_addhst): Likewise.
53502 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53503 * nscd/pwdcache.c (cache_addpw): Likewise.
53504 * nscd/servicescache.c (cache_addserv): Likewise.
53506 2012-01-16 Ulrich Drepper <drepper@gmail.com>
53508 * malloc/malloc.c: Various cleanups.
53509 * malloc/hooks.c: Likewise.
53511 * stdlib/Makefile (tests): Add bug-fmtmsg1.
53512 * stdlib/bug-fmtmsg1.c: New file.
53514 * stdlib/fmtmsg.c (init): Add missing unlock.
53515 Patch by Peng Haitao <penght@cn.fujitsu.com>.
53517 2012-01-12 Marek Polacek <polacek@redhat.com>
53519 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53522 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53524 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53525 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53526 macro to ensure uniqueness of label name.
53527 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53528 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53530 2012-01-11 Ulrich Drepper <drepper@gmail.com>
53532 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53534 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53535 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53536 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53539 2012-01-10 Ulrich Drepper <drepper@gmail.com>
53541 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53543 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53544 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53545 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53547 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53549 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53550 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53551 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53552 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53554 * math/bits/math-finite.h: Add ldexp support.
53556 2012-01-10 Marek Polacek <polacek@redhat.com>
53558 * locale/programs/localedef.h (show_archive_content): Add noreturn
53561 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53563 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53565 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53567 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53569 * io/Makefile (headers): Add bits/poll2.h.
53571 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53574 typo #include statement.
53576 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53578 * include/sys/cdefs.h: Define __attribute_alloc_size.
53579 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53580 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53581 * elf/pldd.c: Likewise.
53582 * iconv/iconv_charmap.c: Likewise.
53583 * iconv/iconvconfig.c: Likewise.
53584 * iconv/strtab.c: Likewise.
53585 * locale/programs/locale.c: Likewise.
53586 * locale/programs/localedef.h: Likewise.
53587 * locale/programs/simple-hash.c: Likewise.
53588 * nscd/nscd.h: Likewise.
53589 * nss/makedb.c: Likewise.
53590 * sysdeps/generic/ldconfig.h: Likewise.
53591 * locale/programs/localedef.c: Remove xmalloc prototype.
53592 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53594 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53596 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53599 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53601 * math/Makefile (tests): Add tst-CMPLX.
53602 * math/tst-CMPLX.c: New file.
53604 * math/complex.h (CMPLXL): Fix typo.
53606 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53607 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53609 * debug/tst-chk1.c: Add poll and ppoll tests.
53610 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53611 * include/sys/poll.h: Add hidden proto for ppoll.
53612 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53613 * sysdeps/mach/hurd/ppoll.c: Likewise.
53614 * io/ppoll.c: Likewise.
53615 * debug/poll_chk.c: New file.
53616 * debug/ppoll_chk.c: New file.
53617 * include/bits/poll2.h: New file.
53618 * io/bits/poll2.h: New file.
53621 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53623 * configure.in: static is always set to yes. Remove.
53624 * config.make.in: Don't set build-static.
53625 * Makeconfig: Remove use of build-static.
53626 * dlfcn/Makefile: Likewise.
53627 * elf/Makefile: Likewise.
53628 * math/Makefile: Likewise.
53629 * misc/Makefile: Likewise.
53630 * nptl/Makefile: Likewise.
53631 * sysdeps/mach/hurd/Makefile: Likewise.
53633 * configure.in: PWD_P is not used anymore.
53634 * config.make.in: Remove PWD_P entry.
53636 * configure.in: Remove last remnants of RANLIB.
53637 No need to check for signed size_t anymore.
53638 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53640 Remove __builtin_expect test because we require at least gcc 3.4.
53641 * aclocal.m4: Likewise.
53643 * wcsmbs/mbrtoc16.c: Implement using towc function.
53644 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53645 * wcsmbs/wcsmbsload.c: Likewise.
53646 * iconv/gconv_simple.c: Likewise.
53647 * iconv/gconv_int.h: Likewise.
53648 * iconv/gconv_builtin.h: Likewise.
53649 * iconv/iconv_prog.c: Remove CHAR16 handling.
53651 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53653 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53655 * configure.in: Remove --with-elf and --enable-bounded options.
53656 Dont set base_machine for ia64. More non-ELF conditions removed.
53657 Remove testing and setting of leading underscore information.
53658 * config.make.in (build-bounded): Set to no.
53659 * config.h.in: Remove NO_UNDERSCORES entry.
53660 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53662 * csu/start.c: Remove !NO_UNDERSCORE code.
53663 * locale/localeinfo.h: Likewise.
53664 * sysdeps/generic/machine-gmon.h: Likewise.
53665 * sysdeps/generic/sysdep.h: Likewise.
53666 * sysdeps/i386/sysdep.h: Likewise.
53667 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53668 * sysdeps/mach/sysdep.h: Likewise.
53669 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53670 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53671 * sysdeps/sh/sysdep.h: Likewise.
53672 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53673 * sysdeps/unix/i386/sysdep.S: Likewise.
53674 * sysdeps/unix/sparc/start.c: Likewise.
53675 * sysdeps/unix/sparc/sysdep.S: Likewise.
53676 * sysdeps/unix/sparc/sysdep.h: Likewise.
53677 * sysdeps/unix/start.c: Likewise.
53678 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53679 * sysdeps/x86_64/sysdep.h: Likewise.
53681 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53684 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53686 * argp/argp-fmtstream.h: Use const instead __const.
53687 * argp/argp.h: Likewise.
53688 * assert/assert.h: Likewise.
53689 * bits/fenv.h: Likewise.
53690 * bits/sched.h: Likewise.
53691 * bits/sigset.h: Likewise.
53692 * bits/sigthread.h: Likewise.
53693 * catgets/nl_types.h: Likewise.
53694 * conform/data/pthread.h-data: Likewise.
53695 * crypt/crypt-private.h: Likewise.
53696 * crypt/crypt.h: Likewise.
53697 * crypt/crypt_util.c: Likewise.
53698 * ctype/ctype.h: Likewise.
53699 * debug/execinfo.h: Likewise.
53700 * debug/mbsnrtowcs_chk.c: Likewise.
53701 * debug/mbsrtowcs_chk.c: Likewise.
53702 * debug/wcsnrtombs_chk.c: Likewise.
53703 * debug/wcsrtombs_chk.c: Likewise.
53704 * debug/wcstombs_chk.c: Likewise.
53705 * dirent/dirent.h: Likewise.
53706 * dlfcn/dlfcn.h: Likewise.
53707 * elf/neededtest4.c: Likewise.
53708 * grp/grp.h: Likewise.
53709 * gshadow/gshadow.h: Likewise.
53710 * iconv/gconv.h: Likewise.
53711 * iconv/gconv_int.h: Likewise.
53712 * iconv/gconv_simple.c: Likewise.
53713 * iconv/iconv.h: Likewise.
53714 * iconv/loop.c: Likewise.
53715 * iconv/skeleton.c: Likewise.
53716 * include/aio.h: Likewise.
53717 * include/aliases.h: Likewise.
53718 * include/argz.h: Likewise.
53719 * include/arpa/inet.h: Likewise.
53720 * include/assert.h: Likewise.
53721 * include/dirent.h: Likewise.
53722 * include/dlfcn.h: Likewise.
53723 * include/execinfo.h: Likewise.
53724 * include/fcntl.h: Likewise.
53725 * include/fenv.h: Likewise.
53726 * include/glob.h: Likewise.
53727 * include/grp.h: Likewise.
53728 * include/libintl.h: Likewise.
53729 * include/mntent.h: Likewise.
53730 * include/netdb.h: Likewise.
53731 * include/pwd.h: Likewise.
53732 * include/rpc/netdb.h: Likewise.
53733 * include/sched.h: Likewise.
53734 * include/search.h: Likewise.
53735 * include/shadow.h: Likewise.
53736 * include/signal.h: Likewise.
53737 * include/stdio.h: Likewise.
53738 * include/stdlib.h: Likewise.
53739 * include/string.h: Likewise.
53740 * include/sys/socket.h: Likewise.
53741 * include/sys/stat.h: Likewise.
53742 * include/sys/statfs.h: Likewise.
53743 * include/sys/statvfs.h: Likewise.
53744 * include/sys/syslog.h: Likewise.
53745 * include/sys/time.h: Likewise.
53746 * include/sys/uio.h: Likewise.
53747 * include/time.h: Likewise.
53748 * include/unistd.h: Likewise.
53749 * include/utmp.h: Likewise.
53750 * include/wchar.h: Likewise.
53751 * include/wctype.h: Likewise.
53752 * inet/aliases.h: Likewise.
53753 * inet/arpa/inet.h: Likewise.
53754 * inet/netinet/ether.h: Likewise.
53755 * inet/netinet/in.h: Likewise.
53756 * intl/libintl.h: Likewise.
53757 * io/bits/fcntl2.h: Likewise.
53758 * io/fcntl.h: Likewise.
53759 * io/ftw.h: Likewise.
53760 * io/sys/poll.h: Likewise.
53761 * io/sys/stat.h: Likewise.
53762 * io/sys/statfs.h: Likewise.
53763 * io/sys/statvfs.h: Likewise.
53764 * io/utime.h: Likewise.
53765 * libio/bits/stdio.h: Likewise.
53766 * libio/bits/stdio2.h: Likewise.
53767 * libio/libio.h: Likewise.
53768 * libio/libioP.h: Likewise.
53769 * libio/stdio.h: Likewise.
53770 * locale/lc-ctype.c: Likewise.
53771 * locale/locale.h: Likewise.
53772 * login/utmp.h: Likewise.
53773 * malloc/arena.c: Likewise.
53774 * malloc/malloc.c: Likewise.
53775 * malloc/malloc.h: Likewise.
53776 * malloc/mcheck.c: Likewise.
53777 * malloc/mtrace.c: Likewise.
53778 * math/bits/mathcalls.h: Likewise.
53779 * math/fenv.h: Likewise.
53780 * math/math_private.h: Likewise.
53781 * misc/bits/error.h: Likewise.
53782 * misc/bits/syslog.h: Likewise.
53783 * misc/err.h: Likewise.
53784 * misc/error.h: Likewise.
53785 * misc/fstab.h: Likewise.
53786 * misc/mntent.h: Likewise.
53787 * misc/regexp.h: Likewise.
53788 * misc/search.h: Likewise.
53789 * misc/sgtty.h: Likewise.
53790 * misc/sys/mman.h: Likewise.
53791 * misc/sys/syslog.h: Likewise.
53792 * misc/sys/uio.h: Likewise.
53793 * misc/sys/xattr.h: Likewise.
53794 * misc/ttyent.h: Likewise.
53795 * nis/rpcsvc/ypclnt.h: Likewise.
53796 * nss/nss.h: Likewise.
53797 * posix/bits/unistd.h: Likewise.
53798 * posix/fnmatch.h: Likewise.
53799 * posix/glob.h: Likewise.
53800 * posix/sched.h: Likewise.
53801 * posix/spawn.h: Likewise.
53802 * posix/sys/wait.h: Likewise.
53803 * posix/unistd.h: Likewise.
53804 * posix/wordexp.h: Likewise.
53805 * pwd/pwd.h: Likewise.
53806 * resolv/netdb.h: Likewise.
53807 * resource/sys/resource.h: Likewise.
53808 * rt/aio.h: Likewise.
53809 * rt/bits/mqueue2.h: Likewise.
53810 * rt/mqueue.h: Likewise.
53811 * shadow/shadow.h: Likewise.
53812 * signal/signal.h: Likewise.
53813 * socket/send.c: Likewise.
53814 * socket/sendto.c: Likewise.
53815 * socket/sys/socket.h: Likewise.
53816 * stdio-common/printf.h: Likewise.
53817 * stdlib/bits/stdlib.h: Likewise.
53818 * stdlib/fmtmsg.h: Likewise.
53819 * stdlib/monetary.h: Likewise.
53820 * stdlib/stdlib.h: Likewise.
53821 * stdlib/ucontext.h: Likewise.
53822 * streams/stropts.h: Likewise.
53823 * string/argz.h: Likewise.
53824 * string/bits/string2.h: Likewise.
53825 * string/string.h: Likewise.
53826 * string/strings.h: Likewise.
53827 * sunrpc/rpc/auth.h: Likewise.
53828 * sunrpc/rpc/auth_des.h: Likewise.
53829 * sunrpc/rpc/clnt.h: Likewise.
53830 * sunrpc/rpc/netdb.h: Likewise.
53831 * sunrpc/rpc/pmap_clnt.h: Likewise.
53832 * sunrpc/rpc/xdr.h: Likewise.
53833 * sysdeps/generic/inttypes.h: Likewise.
53834 * sysdeps/generic/net/if.h: Likewise.
53835 * sysdeps/generic/sys/swap.h: Likewise.
53836 * sysdeps/gnu/net/if.h: Likewise.
53837 * sysdeps/gnu/utmpx.h: Likewise.
53838 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53839 * sysdeps/i386/i486/bits/string.h: Likewise.
53840 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53841 * sysdeps/s390/bits/string.h: Likewise.
53842 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53843 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53844 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53845 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53846 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53847 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53848 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53849 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53850 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53851 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53852 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53853 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53854 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53855 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53856 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53857 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53858 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53860 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53861 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53862 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53863 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53864 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53865 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53866 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53867 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53868 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53869 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53870 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53871 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53872 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53873 * sysvipc/sys/ipc.h: Likewise.
53874 * sysvipc/sys/msg.h: Likewise.
53875 * sysvipc/sys/sem.h: Likewise.
53876 * sysvipc/sys/shm.h: Likewise.
53877 * termios/termios.h: Likewise.
53878 * time/sys/time.h: Likewise.
53879 * time/time.h: Likewise.
53880 * wcsmbs/bits/wchar2.h: Likewise.
53881 * wcsmbs/uchar.h: Likewise.
53882 * wcsmbs/wchar.h: Likewise.
53883 * wctype/wctype.h: Likewise.
53886 * Makeconfig: Remove all but ELF support including AIX support.
53887 * Makerules: Likewise.
53888 * config.h.in: Likewise.
53889 * config.make.in: Likewise.
53890 * configure: Likewise.
53891 * configure.in: Likewise.
53892 * csu/Makefile: Likewise.
53893 * csu/version.c: Likewise.
53894 * debug/Makefile: Likewise.
53895 * dlfcn/Makefile: Likewise.
53896 * elf/Makefile: Likewise.
53897 * extra-lib.mk: Likewise.
53898 * iconv/Makefile: Likewise.
53899 * include/libc-symbols.h: Likewise.
53900 * include/shlib-compat.h: Likewise.
53901 * resolv/Makefile: Likewise.
53902 * resolv/res_libc.c: Likewise.
53903 * rt/Makefile: Likewise.
53904 * sysdeps/i386/asm-syntax.h: Likewise.
53905 * sysdeps/i386/sysdep.h: Likewise.
53906 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53907 * sysdeps/mach/sysdep.h: Likewise.
53908 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53909 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53910 * sysdeps/s390/asm-syntax.h: Likewise.
53911 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53912 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53913 * sysdeps/sh/sysdep.h: Likewise.
53914 * sysdeps/unix/sparc/sysdep.h: Likewise.
53915 * sysdeps/wordsize-32/divdi3.c: Likewise.
53916 * sysdeps/x86_64/sysdep.h: Likewise.
53918 * argp/Versions: Remove _argp_unlock_xxx.
53921 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53922 * abilist/libBrokenLocale.abilist: Likewise.
53923 * abilist/libanl.abilist: Likewise.
53924 * abilist/libc.abilist: Likewise.
53925 * abilist/libcrypt.abilist: Likewise.
53926 * abilist/libdl.abilist: Likewise.
53927 * abilist/libm.abilist: Likewise.
53928 * abilist/libnsl.abilist: Likewise.
53929 * abilist/libpthread.abilist: Likewise.
53930 * abilist/libresolv.abilist: Likewise.
53931 * abilist/librt.abilist: Likewise.
53932 * abilist/libthread_db.abilist: Likewise.
53933 * abilist/libutil.abilist: Likewise.
53934 * abilist/libnss_db.abilist: New file.
53936 * scripts/abilist.awk: Add support for indirect functions.
53938 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53940 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53942 * shlib-versions: Remove entries for ports architectures.
53944 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53946 * elf/stackguard-macros.h: Remove support for IA-64.
53947 * elf/tst-auditmod1.c: Likewise.
53948 * sysdeps/generic/ldsodefs.h: Likewise.
53950 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53951 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53955 * configure.in: Remove --enable-omitfp support.
53957 * config.make.in: Likewise.
53958 * Makeconfig: Likewise.
53959 * manual/install.texi: Likewise.
53961 In case anyone cares, the IA-64 architecture could move to ports.
53962 * sysdeps/ia64/*: Removed.
53963 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53964 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53967 * configure.in: Remove entries for unsupported architectures.
53970 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53971 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53973 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53974 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53975 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53976 fall back to using wcrtomb.
53977 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53978 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53980 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53981 * wcsmbs/tst-c16c32-1.c: New file.
53983 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53986 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53988 * elf/tst-unique3.cc: Add explicit declaration of gets.
53989 * elf/tst-unique3lib.cc: Likewise.
53990 * elf/tst-unique3lib2.cc: Likewise.
53991 * elf/tst-unique4.cc: Likewise.
53993 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53995 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53998 * assert/assert.h (static_assert): Don't define for C++.
53999 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54000 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54002 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54004 * iconv/loop.c (single loop): Fix assertion in storing of
54007 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54009 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54011 * posix/getconf.c: Update copyright year.
54012 * nss/getent.c: Likewise.
54013 * nss/makedb.c: Likewise.
54014 * iconv/iconvconfig.c: Likewise.
54015 * iconv/iconv_prog.c: Likewise.
54016 * elf/ldconfig.c: Likewise.
54017 * elf/pldd.c: Likewise.
54018 * elf/sotruss.ksh: Likewise.
54019 * catgets/gencat.c: Likewise.
54020 * csu/version.c: Likewise.
54021 * elf/ldd.bash.in: Likewise.
54022 * elf/sprof.c (print_version): Likewise.
54023 * locale/programs/locale.c: Likewise.
54024 * locale/programs/localedef.c: Likewise.
54025 * login/programs/pt_chown.c: Likewise.
54026 * nscd/nscd.c (print_version): Likewise.
54027 * debug/xtrace.sh: Likewise.
54028 * malloc/memusage.sh: Likewise.
54029 * malloc/mtrace.pl: Likewise.
54030 * debug/catchsegv.sh: Likewise.
54032 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54034 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54037 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54040 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54041 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54043 * iconv/gconv_int.h: Likewise.
54044 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54045 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54046 from libc for GLIBC_2.16.
54047 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54048 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54049 * wcsmbs/uchar.h: Really define mbstate_t.
54050 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54051 * wcsmbs/c16rtomb.c: New file.
54052 * wcsmbs/mbrtoc16.c: New file.
54053 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54054 for C/POSIX locale.
54055 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54056 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54058 * wcsmbs/wchar.h: Add missing __restrict.
54060 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54063 * time/Makefile (routines): Add timespec_get.
54064 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54065 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54066 timespec for ISO C11.
54067 * time/timespec_get.c: New file.
54068 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54069 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54072 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54073 * stdlib/stdlib.h: Declare aligned_alloc.
54074 * Versions.def: Add GLIBC_2.16 for libc.
54075 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54078 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54081 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54085 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54088 * assert/assert.h (static_assert): Define.
54090 * version.h: Update for 2.16 development version.
54093 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54096 * version.h (RELEASE): Bump for 2.15 release.
54097 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54099 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54100 Patch by Marek Polacek <mpolacek@redhat.com>.
54102 * bits/byteswap.h: Protect long long constants with __extension__.
54103 * sysdeps/i386/bits/byteswap.h: Likewise.
54104 * sysdeps/ia64/bits/byteswap.h: Likewise.
54105 * sysdeps/s390/bits/byteswap.h: Likewise.
54106 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54108 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54111 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54112 destination buffer.
54113 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54115 2011-12-23 Marek Polacek <polacek@redhat.com>
54117 * elf/dl-addr.c (determine_info): Add inline keyword.
54118 * elf/tst-auditmod4b.c (check_avx): Likewise.
54119 * elf/tst-auditmod6b.c (check_avx): Likewise.
54120 * elf/tst-auditmod6c.c (check_avx): Likewise.
54121 * elf/tst-auditmod7b.c (check_avx): Likewise.
54123 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54125 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54128 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54131 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54132 processing for last bytes.
54134 2011-08-06 Bruno Haible <bruno@clisp.org>
54137 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54138 U+0385, not to U+1FEE.
54141 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54142 entry for U+00A5 U+0301.
54144 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54147 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54148 buffer for the output is too small.
54150 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54154 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54155 SSE flags if possible.
54157 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54161 processing for last bytes.
54163 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54165 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54166 (syscall-list-default-options, syscall-list-default-condition)
54167 (syscall-list-includes): Define.
54168 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54169 list of ABIs and options and #if conditions for each ABI. Do not
54170 handle common syscalls between ABIs specially.
54171 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54173 (syscall-list-variants, syscall-list-32bit-options)
54174 (syscall-list-32bit-condition, syscall-list-64bit-options)
54175 (syscall-list-64bit-condition): Define.
54176 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54177 (syscall-list-variants, syscall-list-32bit-options)
54178 (syscall-list-32bit-condition, syscall-list-64bit-options)
54179 (syscall-list-64bit-condition): Define.
54180 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54182 (syscall-list-variants, syscall-list-32bit-options)
54183 (syscall-list-32bit-condition, syscall-list-64bit-options)
54184 (syscall-list-64bit-condition): Define.
54185 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54187 (syscall-list-variants, syscall-list-32bit-options)
54188 (syscall-list-32bit-condition, syscall-list-64bit-options)
54189 (syscall-list-64bit-condition): Define.
54191 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54193 * locale/iso-639.def: Add brx entry.
54196 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54197 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54199 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54200 __feraiseexcept_renamed.
54202 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54205 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54206 EPOLLET with unsigned values.
54207 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54208 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54210 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54211 to large cancellation.
54212 * math/s_cacoshf.c: Likewise.
54213 * math/s_cacoshl.c: Likewise.
54215 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54219 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54220 * math/s_cacoshf.c: Likewise.
54221 * math/s_cacoshl.c: Likewise.
54223 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54226 * iconv/gconv.h: Define __GCONV_SWAP.
54227 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54228 * iconvdata/utf-16.c: Likewise.
54229 * iconvdata/utf-32.c: Likewise.
54231 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54234 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54235 numerator after shifting it by one limb.
54237 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54239 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54240 under [__USE_EXTERN_INLINES].
54242 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54245 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54247 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54249 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54250 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54252 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54253 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54254 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54255 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54256 for strncasecmp/strncasecmp_l compilation.
54257 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54258 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54260 2011-12-08 Marek Polacek <mpolacek@redhat.com>
54263 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54266 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54269 * time/tzfile.c (__tzfile_read): Check values from file header.
54271 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54273 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54274 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54275 * powerpc/powerpc32/dl-start.S: Likewise.
54276 * powerpc/powerpc32/elf/start.S: Likewise.
54277 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54278 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54279 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54280 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54281 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54282 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54283 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54284 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54285 * powerpc/powerpc32/fpu/s_round.S: Likewise.
54286 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54287 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54288 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54289 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54290 * powerpc/powerpc32/memset.S: Likewise.
54291 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54292 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54293 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54294 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54295 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54296 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54297 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54298 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54299 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54300 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54301 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54302 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54303 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54305 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54307 * math/libm-test.inc: Added more nearbyint tests.
54308 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54309 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54311 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54313 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
54315 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54318 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54320 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54321 Add wcscpy-ssse3 wcscpy-c.
54322 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54323 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54324 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54325 * sysdeps/x86_64/wcschr.S: New file.
54326 * sysdeps/x86_64/wcsrchr.S: New file.
54327 * string/test-strcmp.c: Remove checking of wcscmp function for
54329 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54330 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54331 wcsrchr-sse2 wcsrchr-c.
54332 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54333 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54334 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54335 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54336 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54337 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54338 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54339 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54340 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54341 * wcsmbc/wcschr.c (WCSCHR): New macro.
54343 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54345 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54346 * wcsmbs/test-wcsrchr.c: New file.
54347 * string/test-strrchr.c: Add wcsrchr support.
54349 * wcsmbs/test-wcscpy.c: New file.
54350 * string/test-strcpy.c: Add wcscpy support.
54353 2011-12-10 Ulrich Drepper <drepper@gmail.com>
54355 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54358 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
54361 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54363 2011-12-04 Ulrich Drepper <drepper@gmail.com>
54365 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54366 Minor optimizations.
54368 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54369 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54370 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54372 2011-12-03 Ulrich Drepper <drepper@gmail.com>
54374 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54375 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54376 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54377 for gcc to avoid warnings.
54378 * inet/Makefile (tests): Add tst-checks.
54379 * inet/tst-checks.c: New file.
54381 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54384 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54387 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54388 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54390 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54392 2011-12-02 Ulrich Drepper <drepper@gmail.com>
54394 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54397 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54399 2011-11-29 Joseph Myers <joseph@codesourcery.com>
54401 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54402 conditional on GCC version.
54403 (__arch_compare_and_exchange_val_8_acq)
54404 (__arch_compare_and_exchange_val_16_acq)
54405 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54406 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54407 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54409 2011-12-02 Joseph Myers <joseph@codesourcery.com>
54411 * sysdeps/sh/backtrace.c: New file.
54413 2011-12-02 Andreas Schwab <schwab@redhat.com>
54415 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
54418 2011-12-01 Andreas Schwab <schwab@redhat.com>
54420 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54421 falling back to utime.
54423 2011-11-30 Andreas Schwab <schwab@redhat.com>
54425 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54426 expectations for float.
54428 2011-11-29 Andreas Schwab <schwab@redhat.com>
54430 * locale/weight.h (findidx): Add parameter len.
54431 * locale/weightwc.h (findidx): Likewise.
54432 * posix/fnmatch_loop.c (FCT): Adjust caller.
54433 * posix/regcomp.c (build_equiv_class): Likewise.
54434 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54435 * posix/regexec.c (check_node_accept_bytes): Likewise.
54436 * string/strcoll_l.c (STRCOLL): Likewise.
54437 * string/strxfrm_l.c (STRXFRM): Likewise.
54439 2011-11-17 Ulrich Drepper <drepper@gmail.com>
54441 * Makefile.in: Remove CVSOPT handling.
54442 * configure.in: Remove use of AC_REVISION.
54443 * iconvdata/Makefile (distribute): No need to filter out CVS.
54444 * scripts/list-sources.sh: Remove CVS, subversion and monotone
54447 2011-11-16 Andreas Schwab <schwab@redhat.com>
54449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54450 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54451 [USE_AS_STRNCASECMP_L]: Likewise.
54452 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54453 NO_TLS_DIRECT_SEG_REFS.
54454 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54455 Fix argument offsets for non-PIC.
54456 [USE_AS_STRNCASECMP_L]: Likewise.
54457 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54458 NO_TLS_DIRECT_SEG_REFS.
54460 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54462 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54464 * locale/loadlocale.c (_nl_load_locale): Likewise.
54466 2011-11-15 Andreas Schwab <schwab@redhat.com>
54468 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54469 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54470 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54471 (SYSCALL_GETTIME): Set errno on error.
54473 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54474 count references to noai6ai_cached.
54476 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54478 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54480 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54481 FD_CLOEXEC for /proc/self/maps.
54483 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54484 FD_CLOEXEC for /proc/meminfo.
54486 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54489 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
54490 FD_CLOEXEC for given file.
54492 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54494 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54495 FD_CLOEXEC for /etc/hosts.
54496 (_gethtent): Likewise.
54498 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54500 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54501 cancellation and set FD_CLOEXEC for /etc/netgroup.
54503 * nss/nss_files/files-key.c (search): Don't allow cancellation when
54504 reading /etc/publickey.
54506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54507 allow cancellation when reading /etc/group.
54509 * nss/nss_files/files-alias.c (internal_setent): Don't allow
54511 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
54513 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54514 when using data file.
54516 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54518 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54519 (write_nis_obj): Use "c" and "e" in fopen.
54521 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54523 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54525 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54527 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54529 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54532 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54534 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54536 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54538 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54539 file parsing and set FD_CLOEXEC.
54541 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54543 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54545 2011-11-14 Andreas Schwab <schwab@redhat.com>
54547 * malloc/arena.c (arena_get2): Don't call reused_arena when
54548 _int_new_arena failed.
54550 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54552 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54553 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54554 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54555 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54556 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54557 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54558 to compile strcasecmp and strncasecmp.
54559 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54560 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54564 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54566 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54567 locale-defines.sym to gen-as-const-headers.
54568 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54569 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54571 to compile strcasecmp and strncasecmp.
54572 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54573 strcasecmp_l and strncasecmp_l.
54574 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54575 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54576 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54577 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54578 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54579 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54580 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54581 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54582 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54583 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54584 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54586 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54588 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54589 result of SYSDEP_GETTIME_CPU to retval.
54590 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54591 parameter list to macro. Remove trailing semicolon. Adjust users.
54593 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54596 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54598 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54600 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54601 from unused variable.
54603 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54605 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54608 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54611 * sunrpc/rpc_prot.c (rejected): Fix case value.
54613 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54614 unsigned long long int to avoid warnings in shift.
54616 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54618 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54621 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54622 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54623 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54625 * nis/nis_table.c (nis_list): Use variable of correct type for
54626 result of __follow_path call.
54628 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54630 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54631 of math functions ceil, trunc, floor, round, and sqrt, when
54632 avaliable on the platform.
54633 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54635 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54636 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54637 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54639 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54641 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54642 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54644 2011-11-11 Roland McGrath <roland@hack.frob.com>
54646 * include/unistd.h: Fix __readlink return type.
54647 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54649 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54651 * stdlib/ucontext.h: Undo last change for makecontext.
54653 2011-11-11 Andreas Schwab <schwab@redhat.com>
54655 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54657 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54658 * setjmp/setjmp.h: Mark functions as non-leaf.
54659 * setjmp/bits/setjmp2.h: Likewise.
54660 * stdlib/ucontext.h: Likewise.
54662 2011-11-10 Andreas Schwab <schwab@redhat.com>
54664 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54665 (reused_arena): Don't check arena limit.
54666 (arena_get2): Atomically check arena limit.
54668 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54670 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54671 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54676 2011-11-07 Andreas Schwab <schwab@redhat.com>
54678 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54679 handler when locking.
54681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54682 Fix size of allocated buffer.
54684 2011-11-04 Andreas Schwab <schwab@redhat.com>
54687 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54688 declarations for long double functions.
54689 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54691 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54693 2011-11-03 Andreas Schwab <schwab@redhat.com>
54695 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54698 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54701 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54703 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54705 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54707 * include/alloca.h (stackinfo_alloca_round): Define.
54708 (extend_alloca): Use it.
54709 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54710 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54713 * scripts/check-local-headers.sh: Ignore libaudit.h.
54715 * nscd/Makefile (extra-objs): Make recursively expanded.
54717 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54719 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54720 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54722 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54723 * posix/tst-rfc3484-2.c: Likewise.
54724 * posix/tst-rfc3484-3.c: Likewise.
54726 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54728 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54730 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54731 process_vm_writev from libc using GLIBC_2.15 version.
54733 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54735 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54737 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54740 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54743 * nss/getent.c (initgroups_keys): Show error message in case no group
54746 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54747 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54748 __bump_nl_timestamp.
54749 * nscd/connections (nscd_init): When host database is served open
54750 netlink socket and request notification about configuration changes.
54751 (main_loop_poll): Track netlink file descriptor and bump timestamp
54752 in case data becomes available.
54753 (main_loop_epoll): Likewise.
54754 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54755 (database_pers_head): Add extra_data fileds.
54756 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54757 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54758 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54760 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54761 in6ai data, call __free_in6ai.
54762 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54763 Add -DHAVE_NETLINK.
54764 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54765 interface information. Reuse previous data if netlink timestamp
54767 (__bump_nl_timestamp): New function.
54768 (__free_in6ai): New function.
54770 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54772 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54773 close_not_cancel_no_status here.
54774 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54776 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54779 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54782 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54783 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54784 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54786 2011-07-03 Andreas Jaeger <aj@suse.de>
54789 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54790 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54791 * math/libm-test.inc (sin_test): Add test case.
54793 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54796 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54797 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54799 * elf/chroot_canon.c (chroot_canon): Cleanups.
54801 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54804 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54805 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54807 * string/test-strchr.c: Make usable for strchrnul testing.
54808 * string/test-strchrnul.c: New file.
54809 * string/Makefile (strop-tests): Add strchrnul.
54811 * po/it.po: Update from translation team.
54812 * po/es.po: Likewise.
54814 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54816 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54817 the three constants needed as parameters. Drop the others.
54818 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54819 __m128i_strloadu_tolower.
54820 Create and initialize variable zero and use it in all the places
54821 where _mm_setzero_si128 was used.
54823 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54824 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54825 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54826 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54828 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54829 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54830 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54831 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54832 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54833 __mpranred, __mptan.
54834 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54835 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54836 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54837 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54838 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54839 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54840 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54841 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54842 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54844 2011-10-28 Andreas Schwab <schwab@redhat.com>
54846 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54847 redefine if SHARED.
54848 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54851 wide char related routines to wcsmbs subdir.
54853 2011-10-27 Andreas Schwab <schwab@redhat.com>
54856 * misc/sys/cdefs.h (__THROWNL): Define.
54857 * posix/unistd.h: Use __THREADNL instead of __THREAD
54858 for memory synchronization functions.
54860 2011-10-26 Roland McGrath <roland@hack.frob.com>
54863 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54865 * manual/stdio.texi (Obstack Streams): Node removed.
54867 2011-10-26 Andreas Schwab <schwab@redhat.com>
54869 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54870 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54871 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54873 * math/math_private.h (math_force_eval): Allow non-addressable
54875 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54877 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54879 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54880 file is not needed.
54882 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54883 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54884 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54885 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54886 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54887 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54888 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54889 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54891 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54892 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54893 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54894 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54895 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54896 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54897 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54898 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54899 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54900 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54901 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54902 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54903 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54904 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54905 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54906 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54907 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54908 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54909 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54911 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54912 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54914 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54915 place. Use VEX encoding when compiling for AVX.
54917 2011-10-25 Andreas Schwab <schwab@redhat.com>
54919 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54920 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54922 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54924 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54926 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54927 useless if() expression.
54928 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54929 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54930 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54931 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54932 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54933 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54934 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54935 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54937 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54938 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54939 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54940 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54941 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54942 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54943 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54944 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54945 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54946 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54948 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54950 2011-10-25 Andreas Schwab <schwab@redhat.com>
54952 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54954 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54956 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54958 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54959 .text section. Avoid duplicate constants.
54960 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54962 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54964 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54965 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54966 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54968 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54969 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54970 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54971 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54972 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54973 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54974 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54975 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54976 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54977 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54978 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54979 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54980 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54981 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54982 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54983 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54984 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54985 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54986 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54987 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54988 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54989 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54990 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54991 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54992 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54993 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54994 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54995 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54996 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54997 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54998 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54999 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55000 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55001 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55002 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55003 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55004 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55006 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55008 * sysdeps/x86_64/dla.h: Move to ...
55009 * sysdeps/x86_64/fpu/dla.h: ...here.
55010 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55011 situations. Use __builtin_fma only for gcc 4.6 and up.
55013 * config.make.in: Add have-mfma4 entry.
55014 * configure.in: Substitute libc_cv_cc_fma4.
55015 * math/Makefile (dbl-only-routines): Add sincostab.
55016 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55017 Use __sincostab not sincos.
55018 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55020 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55025 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55026 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55027 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55028 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55030 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55031 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55033 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55034 define aliases when function name is a macro.
55035 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55036 sysdeps/ieee754/dbl-64/sincos.tbl.
55037 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55038 fma4-enabled routines.
55039 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55040 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55041 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55042 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55043 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55044 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55045 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55046 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55047 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55048 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55049 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55050 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55051 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55052 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55053 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55054 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55055 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55056 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55057 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55058 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55059 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55060 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55061 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55062 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55063 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55064 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55066 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55067 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55068 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55070 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55073 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55075 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55076 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55078 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55081 2011-10-24 Andreas Schwab <schwab@redhat.com>
55083 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55085 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55087 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55089 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55091 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55093 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55094 Remove unused variable magic_bits.
55095 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55097 * string/strnlen.c: Define and use STRNLEN macro.
55098 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55099 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55100 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55101 * wcsmbs/wcslen.c: Define and use WCSLEN.
55102 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55103 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55104 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55105 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55106 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55107 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55108 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55110 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55113 strnlen-sse2-no-bsf.
55114 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55115 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55116 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55117 Add strnlen support.
55118 (USE_AS_STRNLEN): New macro.
55119 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55120 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55121 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55122 * sysdeps/x86_64/wcslen.S: New file.
55124 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55126 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55127 XMM-moves are used for copying on small sizes.
55129 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55131 * wcsmbs/Makefile (strop-tests): Add wcschr.
55132 * wcsmbs/test-wcschr.c: New file.
55133 * string/test-strchr.c: Update.
55134 Add wcschr support.
55137 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55139 * wcsmbs/Makefile (strop-tests): Add wcslen.
55140 * wcsmbs/test-wcslen.c: New file.
55141 * string/test-strlen.c: Update.
55142 Add wcslen support.
55145 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55147 * po/it.po: Update from translation team.
55149 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55151 * sysdeps/x86_64/wcscmp.S: Update.
55152 Fix wrong comparison semantics.
55153 wcscmp shall use signed comparison not unsigned.
55154 Don't use substraction to avoid overflow bug.
55155 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55156 * wcsmbc/wcscmp.c: Likewise.
55157 * string/test-strcmp.c: Likewise.
55158 Add new tests to check cases with negative values.
55160 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55162 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55163 * sysdeps/x86_64/dla.h: ...here. New file.
55164 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55165 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55167 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55168 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55174 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55177 __ynl_finite aliases.
55179 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55183 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55185 [DLA_FMA] (EMULV): Use DLA_FMA.
55186 [DLA_FMA] (MUL12): Use EMULV.
55187 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55188 that are not needed.
55189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55195 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55197 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55199 * math/s_nan.c: Undef __nan.
55200 * math/s_nanf.c: Undef __nanf.
55201 * math/s_nanl.c: Undef __nanl.
55202 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55205 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55207 * math/s_catan.c: Add branch predictions.
55208 * math/s_catanf.c: Likewise.
55209 * math/s_catanh.c: Likewise.
55210 * math/s_catanhf.c: Likewise.
55211 * math/s_catanhl.c: Likewise.
55212 * math/s_catanl.c: Likewise.
55213 * math/s_cexp.c: Likewise.
55214 * math/s_cexpf.c: Likewise.
55215 * math/s_cexpl.c: Likewise.
55216 * math/s_clog.c: Likewise.
55217 * math/s_clog10.c: Likewise.
55218 * math/s_clog10f.c: Likewise.
55219 * math/s_clog10l.c: Likewise.
55220 * math/s_clogf.c: Likewise.
55221 * math/s_clogl.c: Likewise.
55222 * math/s_csqrt.c: Likewise.
55223 * math/s_csqrtf.c: Likewise.
55224 * math/s_csqrtl.c: Likewise.
55225 * math/s_ctanf.c: Likewise.
55226 * math/s_ctanh.c: Likewise.
55227 * math/s_ctanhf.c: Likewise.
55228 * math/s_ctanhl.c: Likewise.
55229 * math/s_ctanl.c: Likewise.
55231 * math/math_private.h: Define __nan, __nanf, __nanl.
55232 * math/s_cacosh.c: Include <math_private.h>.
55233 * math/s_cacoshl.c: Likewise.
55234 * math/s_casinh.c: Likewise.
55235 * math/s_casinhf.c: Likewise.
55236 * math/s_casinhl.c: Likewise.
55237 * math/s_ccos.c: Rely entire on ccosh.
55238 * math/s_ccosf.c: Rely entire on ccoshf.
55239 * math/s_ccosl.c: Rely entirely on ccoshl.
55240 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
55241 Remove tests for FE_INVALID.
55242 * math/s_ccoshf.c: Likewise.
55243 * math/s_ccoshl.c: Likewise.
55244 * math/s_csin.c: Likewise.
55245 * math/s_csinf.c: Likewise.
55246 * math/s_csinh.c Likewise.
55247 * math/s_csinhf.c: Likewise.
55248 * math/s_csinhl.c: Likewise.
55249 * math/s_csinl.c: Likewise.
55250 * math/s_ctan.c: Likewise.
55251 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55252 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55253 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55255 2011-10-21 Ulrich Drepper <drepper@gmail.com>
55257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55258 compilation problems.
55260 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55263 2011-10-20 Ulrich Drepper <drepper@gmail.com>
55265 * sysdeps/i386/configure.in: Test for -mfma4 option.
55266 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55267 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55268 COMMON_CPUID_INDEX_80000001.
55269 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55270 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55271 use it if FMA3 is not supported.
55272 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55274 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55275 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55277 2011-10-20 Andreas Schwab <schwab@redhat.com>
55280 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55281 it would create a cycle with a link time dependency.
55283 2011-10-19 Ulrich Drepper <drepper@gmail.com>
55285 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55287 * string/Makefile (strop-tests): Add rawmemchr.
55288 * string/test-rawmemchr.c: New file.
55290 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55291 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
55292 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
55293 when compiling str{,n}casecmp and when AVX is available. Hook up
55294 new optimized code in initializers.
55296 2011-10-19 Andreas Schwab <schwab@redhat.com>
55298 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55299 __feraiseexcept instead of feraiseexcept.
55301 2011-10-18 Ulrich Drepper <drepper@gmail.com>
55303 * math/math_private.h: Define defaults for libc_fetestexcept and
55305 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55306 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55307 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55308 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55309 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55310 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55311 libc_fetestexcept and libc_feupdateenv.
55313 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55314 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55315 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55316 * sysdeps/x86_64/fpu/math_private.h: Define special version of
55317 libc_feholdexcept_setround.
55319 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55320 Add s_nearbyint-c and s_nearbyintf-c.
55321 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55322 nearbyintf inlines.
55323 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55324 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55325 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55326 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55328 * math/math_private.h: Define defaults for libc_fegetround,
55329 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55330 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55331 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55332 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55333 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55334 standard functions.
55335 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55336 Remove comments and hacks for old compiler versions.
55337 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55338 libc_fegetround, libc_fesetround, libc_feholdexcept, and
55339 libc_feholdexceptl.
55341 2011-10-18 Andreas Schwab <schwab@redhat.com>
55343 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55344 (__feraiseexcept_renamed): Add __NTH.
55345 (feraiseexcept): Add __NTH. Rename local variables to fix
55346 namespace violations.
55348 2011-10-17 Ulrich Drepper <drepper@gmail.com>
55350 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55352 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55354 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55355 recently added interfaces.
55356 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55358 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55359 about macro parameter expansion.
55361 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55362 __NO_MATH_INLINES is defined. Cleanups.
55364 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55365 and __floorf is target has SSE4.1.
55366 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55367 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55368 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55369 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55371 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55373 (floorf): Likewise.
55375 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55377 2011-10-17 Andreas Schwab <schwab@redhat.com>
55379 * misc/sys/cdefs.h: Fix last change.
55381 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55384 2011-10-16 Ulrich Drepper <drepper@gmail.com>
55386 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55388 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55389 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55390 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55391 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55392 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55393 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55394 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55395 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55396 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55397 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55398 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55399 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55400 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55401 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55402 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55403 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55404 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55405 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55406 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55407 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55408 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55409 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55411 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55412 ceil, ceilf, floor, floorf.
55414 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55415 Perform IRELATIVE relocations last.
55417 * elf/do-rel.h: Add another parameter nrelative, replacing the
55418 local variable with the same name. Change name of the function
55419 to end in Rel or Rela (uppercase).
55420 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55421 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
55422 elf_dynamic_do_##reloc function.
55424 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55426 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55427 is sufficient, at least on modern CPUs.
55429 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55431 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55432 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55434 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55436 * math/bits/math-finite.h: Add entries for exp.
55437 * math/e_expl.c: Add __*_finite alias.
55438 * sysdeps/i386/fpu/e_exp.S: Likewise.
55439 * sysdeps/i386/fpu/e_expf.S: Likewise.
55440 * sysdeps/i386/fpu/e_expl.c: Likewise.
55441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55442 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55443 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55445 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55446 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55447 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55449 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55450 is sufficient, at least on modern CPUs.
55452 * ctype/ctype-info.c (__ctype_init): Define.
55453 * include/ctype.h (__ctype_init): Declare.
55454 (__ctype_b_loc): The variable is always initialized.
55455 (__ctype_toupper_loc): Likewise.
55456 (__ctype_tolower_loc): Likewise.
55457 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55458 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55460 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
55462 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55464 * configure.in: Also look in $cxxmachine/include for C++ system
55467 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55469 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55470 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55471 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55472 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
55473 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55474 (USE_AS_WMEMCMP): New macro.
55476 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55477 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55478 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55479 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55481 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55482 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55483 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55484 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55485 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55487 (USE_AS_WMEMCMP): New macro.
55488 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55489 * sysdeps/string/test-memcmp.c: Update.
55490 Fix simple_wmemcmp.
55492 * wcsmbs/wmemcmp.c: Update.
55493 (WMEMCMP): New macro.
55496 2011-10-12 Andreas Jaeger <aj@suse.de>
55499 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55501 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55503 * libio/iofwide.c (do_length): Avoid warning.
55505 * ctype/ctype.h (__isctype_f): Add missing __THROW.
55507 2011-10-14 Ulrich Drepper <drepper@gmail.com>
55509 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55511 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55512 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55513 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55514 * sysdeps/i386/i686/fpu/e_log.S: New file.
55515 * sysdeps/i386/i686/fpu/e_logf.S: New file.
55516 * sysdeps/i386/i686/fpu/e_logl.S: New file.
55518 * ctype/ctype.h: Add support for inlined isXXX functions when
55519 compiling C++ code.
55521 2011-10-14 Andreas Schwab <schwab@redhat.com>
55523 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55525 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55527 2011-10-13 Roland McGrath <roland@hack.frob.com>
55530 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55532 2011-10-13 Andreas Schwab <schwab@redhat.com>
55534 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55535 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55538 * sysdeps/x86_64/memrchr.S: Check for zero size.
55540 * string/stratcliff.c: Add memrchr tests.
55542 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55545 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55546 rawmemchr-sse2 rawmemchr-sse2-bsf.
55547 * sysdeps/i386/i686/multiarch/memchr.S: New file.
55548 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55549 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55550 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55551 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55552 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55553 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55554 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55555 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55556 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55557 * string/memrchr.c (MEMRCHR): New macro.
55559 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55561 Add integration with gcc's -ffinite-math-only and optimize wrapper
55563 * Versions.def: Define GLIBC_2.15 version for libm.
55564 * math/Makefile (headers): Add bits/math-finite.h.
55565 * math/bits/math-finite.h: New file.
55566 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55567 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55568 * math/e_acoshl.c: Add __*_finite alias.
55569 * math/e_acosl.c: Likewise.
55570 * math/e_asinl.c: Likewise.
55571 * math/e_atan2l.c: Likewise.
55572 * math/e_atanhl.c: Likewise.
55573 * math/e_coshl.c: Likewise.
55574 * math/e_exp10.c: Likewise.
55575 * math/e_exp10f.c: Likewise.
55576 * math/e_exp10l.c: Likewise.
55577 * math/e_exp2l.c: Likewise.
55578 * math/e_fmodl.c: Likewise.
55579 * math/e_gammal_r.c: Likewise.
55580 * math/e_hypotl.c: Likewise.
55581 * math/e_j0l.c: Likewise.
55582 * math/e_j1l.c: Likewise.
55583 * math/e_jnl.c: Likewise.
55584 * math/e_lgammal_r.c: Likewise.
55585 * math/e_log10l.c: Likewise.
55586 * math/e_log2l.c: Likewise.
55587 * math/e_logl.c: Likewise.
55588 * math/e_powl.c: Likewise.
55589 * math/e_sinhl.c: Likewise.
55590 * math/e_sqrtl.c: Likewise.
55591 * math/e_scalb.c: Completely rewritten and optimized.
55592 * math/e_scalbf.c: Likewise.
55593 * math/e_scalbl.c: Likewise.
55594 * math/w_acos.c: Likewise.
55595 * math/w_acosf.c: Likewise.
55596 * math/w_acosl.c: Likewise.
55597 * math/w_acosh.c: Likewise.
55598 * math/w_acoshf.c: Likewise.
55599 * math/w_acoshl.c: Likewise.
55600 * math/w_asin.c: Likewise.
55601 * math/w_asinf.c: Likewise.
55602 * math/w_asinl.c: Likewise.
55603 * math/w_atan2.c: Likewise.
55604 * math/w_atan2f.c: Likewise.
55605 * math/w_atan2l.c: Likewise.
55606 * math/w_atanh.c: Likewise.
55607 * math/w_atanhf.c: Likewise.
55608 * math/w_atanhl.c: Likewise.
55609 * math/w_exp10.c: Likewise.
55610 * math/w_exp10f.c: Likewise.
55611 * math/w_exp10l.c: Likewise.
55612 * math/w_fmod.c: Likewise.
55613 * math/w_fmodf.c: Likewise.
55614 * math/w_fmodl.c: Likewise.
55615 * math/w_j0.c: Likewise.
55616 * math/w_j0f.c: Likewise.
55617 * math/w_j0l.c: Likewise.
55618 * math/w_j1.c: Likewise.
55619 * math/w_j1f.c: Likewise.
55620 * math/w_j1l.c: Likewise.
55621 * math/w_jn.c: Likewise.
55622 * math/w_jnf.c: Likewise.
55623 * math/w_log.c: Likewise.
55624 * math/w_logf.c: Likewise.
55625 * math/w_logl.c: Likewise.
55626 * math/w_log10.c: Likewise.
55627 * math/w_log10f.c: Likewise.
55628 * math/w_log10l.c: Likewise.
55629 * math/w_log2.c: Likewise.
55630 * math/w_log2f.c: Likewise.
55631 * math/w_log2l.c: Likewise.
55632 * math/w_pow.c: Likewise.
55633 * math/w_powf.c: Likewise.
55634 * math/w_powl.c: Likewise.
55635 * math/w_remainder.c: Likewise.
55636 * math/w_remainderf.c: Likewise.
55637 * math/w_remainderl.c: Likewise.
55638 * math/w_scalb.c: Likewise.
55639 * math/w_scalbf.c: Likewise.
55640 * math/w_scalbl.c: Likewise.
55641 * math/w_sqrt.c: Likewise.
55642 * math/w_sqrtf.c: Likewise.
55643 * math/w_sqrtl.c: Likewise.
55644 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55645 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55647 * math/math_private.h: Declare __kernel_standard_f.
55648 * math/w_cosh.c: Remove cruft and optimize a bit.
55649 * math/w_coshf.c: Likewise.
55650 * math/w_coshl.c: Likewise.
55651 * math/w_exp2.c: Likewise.
55652 * math/w_exp2f.c: Likewise.
55653 * math/w_exp2l.c: Likewise.
55654 * math/w_hypot.c: Likewise.
55655 * math/w_hypotf.c: Likewise.
55656 * math/w_hypotl.c: Likewise.
55657 * math/w_lgamma.c: Likewise.
55658 * math/w_lgamma_r.c: Likewise.
55659 * math/w_lgammaf.c: Likewise.
55660 * math/w_lgammaf_r.c: Likewise.
55661 * math/w_lgammal.c: Likewise.
55662 * math/w_lgammal_r.c: Likewise.
55663 * math/w_sinh.c: Likewise.
55664 * math/w_sinhf.c: Likewise.
55665 * math/w_sinhl.c: Likewise.
55666 * math/w_tgamma.c: Likewise.
55667 * math/w_tgammaf.c: Likewise.
55668 * math/w_tgammal.c: Likewise.
55669 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55670 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55671 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55672 Minor optimizations. Pretty printing. Remove cruft.
55673 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55674 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55675 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55676 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55677 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55678 * sysdeps/i386/fpu/e_asin.S: Likewise.
55679 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55680 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55681 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55682 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55683 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55684 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55685 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55686 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55687 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55688 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55689 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55690 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55691 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55692 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55693 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55694 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55695 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55696 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55697 * sysdeps/i386/fpu/e_log.S: Likewise.
55698 * sysdeps/i386/fpu/e_log10.S: Likewise.
55699 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55700 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55701 * sysdeps/i386/fpu/e_log2.S: Likewise.
55702 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55703 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55704 * sysdeps/i386/fpu/e_logf.S: Likewise.
55705 * sysdeps/i386/fpu/e_logl.S: Likewise.
55706 * sysdeps/i386/fpu/e_pow.S: Likewise.
55707 * sysdeps/i386/fpu/e_powf.S: Likewise.
55708 * sysdeps/i386/fpu/e_powl.S: Likewise.
55709 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55710 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55711 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55712 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55713 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55714 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55715 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55716 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55717 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55718 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55719 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55721 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55722 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55723 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55724 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55725 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55726 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55727 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55728 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55729 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55731 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55732 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55734 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55735 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55736 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55738 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55739 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55740 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55741 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55742 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55743 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55744 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55745 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55746 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55747 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55748 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55749 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55750 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55751 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55752 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55753 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55754 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55755 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55756 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55757 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55758 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55759 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55760 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55761 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55762 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55763 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55764 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55765 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55766 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55767 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55768 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55769 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55770 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55771 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55772 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55773 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55774 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55775 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55776 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55777 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55778 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55779 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55780 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55782 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55783 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55784 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55785 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55786 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55788 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55789 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55790 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55791 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55792 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55793 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55794 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55795 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55796 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55797 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55798 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55799 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55800 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55801 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55802 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55803 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55804 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55805 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55806 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55807 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55808 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55809 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55810 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55811 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55812 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55813 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55814 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55815 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55816 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55817 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55818 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55819 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55820 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55821 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55822 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55823 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55824 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55825 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55826 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55827 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55828 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55829 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55830 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55831 (__isnanf): Likewise.
55832 (__isinf_ns): Likewise.
55833 (__isinf_nsf): Likewise.
55834 (__finite): Likewise.
55835 (__finitef): Likewise.
55836 (__ieee754_sqrt): Define as macro.
55837 (__ieee754_sqrtf): Define as macro.
55838 (__ieee754_sqrtl): Define as macro.
55839 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55841 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55842 __FINITE_MATH_ONLY__ consistent.
55843 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55845 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55847 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55850 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55852 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55854 * po/ja.po: Update from translation team.
55856 2011-10-08 Roland McGrath <roland@hack.frob.com>
55858 * locale/programs/locarchive.c (prepare_address_space): New function.
55859 (create_archive, enlarge_archive, open_archive): Use it.
55861 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55862 inside [SHARED], where it is used.
55864 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55866 * nss/getent.c (netgroup_keys): Remove unused variable.
55867 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55869 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55871 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55872 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55873 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55874 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55875 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55876 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55877 * math/Makefile (libm-calls): Add s_isinf_ns.
55878 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55879 * math/multc3.c: Likewise.
55880 * math/s_casin.c: Likewise.
55881 * math/s_casinf.c: Likewise.
55882 * math/s_casinl.c: Likewise.
55883 * math/s_ccos.c: Likewise.
55884 * math/s_ccosf.c: Likewise.
55885 * math/s_ccosl.c: Likewise.
55886 * math/s_ctan.c: Likewise.
55887 * math/s_ctanf.c: Likewise.
55888 * math/s_ctanh.c: Likewise.
55889 * math/s_ctanhf.c: Likewise.
55890 * math/s_ctanhl.c: Likewise.
55891 * math/s_ctanl.c: Likewise.
55892 * math/w_fmod.c: Likewise.
55893 * math/w_fmodf.c: Likewise.
55894 * math/w_fmodl.c: Likewise.
55895 * math/w_remainder.c: Likewise.
55896 * math/w_remainderf.c: Likewise.
55897 * math/w_remainderl.c: Likewise.
55898 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55899 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55900 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55901 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55902 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55903 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55904 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55905 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55907 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55909 * stdio-common/printf_fphex.c: Likewise.
55910 * stdio-common/printf_size.c: Likewise.
55912 * math/e_exp10.c: Include math_private.h using <...> not "...".
55913 * math/e_exp10f.c: Likewise.
55914 * math/e_exp10l.c: Likewise.
55915 * math/e_exp2l.c: Likewise.
55916 * math/e_j0l.c: Likewise.
55917 * math/e_j1l.c: Likewise.
55918 * math/e_jnl.c: Likewise.
55919 * math/e_lgammal_r.c: Likewise.
55920 * math/e_rem_pio2l.c: Likewise.
55921 * math/e_scalb.c: Likewise.
55922 * math/e_scalbf.c: Likewise.
55923 * math/e_scalbl.c: Likewise.
55924 * math/k_cosl.c: Likewise.
55925 * math/k_sinl.c: Likewise.
55926 * math/k_tanl.c: Likewise.
55927 * math/s_cacoshf.c: Likewise.
55928 * math/s_catan.c: Likewise.
55929 * math/s_catanf.c: Likewise.
55930 * math/s_catanh.c: Likewise.
55931 * math/s_catanhf.c: Likewise.
55932 * math/s_catanhl.c: Likewise.
55933 * math/s_catanl.c: Likewise.
55934 * math/s_ccosh.c: Likewise.
55935 * math/s_ccoshf.c: Likewise.
55936 * math/s_ccoshl.c: Likewise.
55937 * math/s_cexp.c: Likewise.
55938 * math/s_cexpf.c: Likewise.
55939 * math/s_cexpl.c: Likewise.
55940 * math/s_clog.c: Likewise.
55941 * math/s_clog10.c: Likewise.
55942 * math/s_clog10f.c: Likewise.
55943 * math/s_clog10l.c: Likewise.
55944 * math/s_clogf.c: Likewise.
55945 * math/s_clogl.c: Likewise.
55946 * math/s_csin.c: Likewise.
55947 * math/s_csinf.c: Likewise.
55948 * math/s_csinh.c: Likewise.
55949 * math/s_csinhf.c: Likewise.
55950 * math/s_csinhl.c: Likewise.
55951 * math/s_csinl.c: Likewise.
55952 * math/s_csqrt.c: Likewise.
55953 * math/s_csqrtf.c: Likewise.
55954 * math/s_csqrtl.c: Likewise.
55955 * math/s_ctan.c: Likewise.
55956 * math/s_ctanf.c: Likewise.
55957 * math/s_ctanh.c: Likewise.
55958 * math/s_ctanhf.c: Likewise.
55959 * math/s_ctanhl.c: Likewise.
55960 * math/s_ctanl.c: Likewise.
55961 * math/s_ldexp.c: Likewise.
55962 * math/s_ldexpf.c: Likewise.
55963 * math/s_ldexpl.c: Likewise.
55964 * math/s_significand.c: Likewise.
55965 * math/s_significandf.c: Likewise.
55966 * math/s_significandl.c: Likewise.
55967 * math/w_acos.c: Likewise.
55968 * math/w_acosf.c: Likewise.
55969 * math/w_acosh.c: Likewise.
55970 * math/w_acoshf.c: Likewise.
55971 * math/w_acoshl.c: Likewise.
55972 * math/w_acosl.c: Likewise.
55973 * math/w_asin.c: Likewise.
55974 * math/w_asinf.c: Likewise.
55975 * math/w_asinl.c: Likewise.
55976 * math/w_atan2.c: Likewise.
55977 * math/w_atan2f.c: Likewise.
55978 * math/w_atan2l.c: Likewise.
55979 * math/w_atanh.c: Likewise.
55980 * math/w_atanhf.c: Likewise.
55981 * math/w_atanhl.c: Likewise.
55982 * math/w_cosh.c: Likewise.
55983 * math/w_coshf.c: Likewise.
55984 * math/w_coshl.c: Likewise.
55985 * math/w_dremf.c: Likewise.
55986 * math/w_exp10.c: Likewise.
55987 * math/w_exp10f.c: Likewise.
55988 * math/w_exp10l.c: Likewise.
55989 * math/w_exp2.c: Likewise.
55990 * math/w_exp2f.c: Likewise.
55991 * math/w_fmod.c: Likewise.
55992 * math/w_fmodf.c: Likewise.
55993 * math/w_fmodl.c: Likewise.
55994 * math/w_hypot.c: Likewise.
55995 * math/w_hypotf.c: Likewise.
55996 * math/w_hypotl.c: Likewise.
55997 * math/w_j0.c: Likewise.
55998 * math/w_j0f.c: Likewise.
55999 * math/w_j0l.c: Likewise.
56000 * math/w_j1.c: Likewise.
56001 * math/w_j1f.c: Likewise.
56002 * math/w_j1l.c: Likewise.
56003 * math/w_jn.c: Likewise.
56004 * math/w_jnf.c: Likewise.
56005 * math/w_jnl.c: Likewise.
56006 * math/w_lgamma.c: Likewise.
56007 * math/w_lgamma_r.c: Likewise.
56008 * math/w_lgammaf.c: Likewise.
56009 * math/w_lgammaf_r.c: Likewise.
56010 * math/w_lgammal.c: Likewise.
56011 * math/w_lgammal_r.c: Likewise.
56012 * math/w_log.c: Likewise.
56013 * math/w_log10.c: Likewise.
56014 * math/w_log10f.c: Likewise.
56015 * math/w_log10l.c: Likewise.
56016 * math/w_log2.c: Likewise.
56017 * math/w_log2f.c: Likewise.
56018 * math/w_log2l.c: Likewise.
56019 * math/w_logf.c: Likewise.
56020 * math/w_logl.c: Likewise.
56021 * math/w_pow.c: Likewise.
56022 * math/w_powf.c: Likewise.
56023 * math/w_powl.c: Likewise.
56024 * math/w_remainder.c: Likewise.
56025 * math/w_remainderf.c: Likewise.
56026 * math/w_remainderl.c: Likewise.
56027 * math/w_scalb.c: Likewise.
56028 * math/w_scalbf.c: Likewise.
56029 * math/w_scalbl.c: Likewise.
56030 * math/w_sinh.c: Likewise.
56031 * math/w_sinhf.c: Likewise.
56032 * math/w_sinhl.c: Likewise.
56033 * math/w_sqrt.c: Likewise.
56034 * math/w_sqrtf.c: Likewise.
56035 * math/w_sqrtl.c: Likewise.
56036 * math/w_tgamma.c: Likewise.
56037 * math/w_tgammaf.c: Likewise.
56038 * math/w_tgammal.c: Likewise.
56040 * po/ja.po: Update from translation team.
56042 2011-09-29 Andreas Jaeger <aj@suse.de>
56045 * sunrpc/netname.c (netname2host): Fix logic.
56049 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56051 * math/w_remainder.c (__remainder): Likewise.
56052 * math/w_remainderf.c (__remainderf): Likewise.
56053 * math/libm-test.inc (remainder_test): Add test cases.
56055 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56057 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56060 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56062 * string/test-memcmp.c: Avoid unncessary #defines.
56063 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56065 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56067 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56068 Use new sse2 version for core i3 - i7 as it's faster
56069 than sse42 version.
56070 (bit_Prefer_PMINUB_for_stringop): New.
56071 * sysdeps/x86_64/rawmemchr.S: Update.
56072 Replace with faster SSE2 version.
56073 * sysdeps/x86_64/memrchr.S: New file.
56074 * sysdeps/x86_64/memchr.S: Update.
56075 Replace with faster SSE2 version.
56077 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56079 * elf/dl-load.c (lose): Add cast to avoid warning.
56081 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56083 * po/ca.po: Update from translation team.
56085 * inet/getnetgrent_r.c: Hook up nscd.
56086 * nscd/Makefile (routines): Add nscd_netgroup.
56087 (nscd-modules): Add netgroupcache.
56088 (CFLAGS-netgroupcache.c): Define.
56089 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56090 (cache_search): Add const to second parameter.
56091 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56093 (dbs): Add netgrdb entry.
56094 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56095 (verify_persistent_db): Handle netgrdb.
56096 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56097 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56099 (netgroup_response_header): Define.
56100 (innetgroup_response_header): Define.
56101 (datahead): Add netgroup_response_header and innetgroup_response_header
56103 * nscd/nscd.conf: Add entries for netgroup cache.
56104 * nscd/nscd.h (dbtype): Add netgrdb.
56105 (_PATH_NSCD_NETGROUP_DB): Define.
56106 (netgroup_iov_disabled): Declare.
56107 (xmalloc, xcalloc, xrealloc): Move declarations here.
56108 (cache_search): Adjust prototype.
56109 Add netgroup-related prototypes.
56110 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56111 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56112 (__nscd_innetgr): Declare.
56113 * nscd/selinux.c (perms): Use access_vector_t as element type and
56114 add netgroup-related initializers.
56115 * nscd/netgroupcache.c: New file.
56116 * nscd/nscd_netgroup.c: New file.
56117 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56118 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56119 For four parameters use innetgr.
56120 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56121 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56122 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56123 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56125 * nscd/connections.c (register_traced_file): Don't register file
56126 for disabled databases.
56128 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56130 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56132 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56133 from tree and freeing node.
56135 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56137 * nss/nsswitch.c (__nss_database_lookup): Handle
56138 nss_parse_service_list out of memory case.
56140 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56142 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56143 out of memory case.
56145 2011-10-04 Andreas Schwab <schwab@redhat.com>
56147 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56148 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56150 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56151 elf_machine_rela, elf_machine_lazy_rel.
56152 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56153 (ELF_DYNAMIC_DO_REL): Likewise.
56154 (ELF_DYNAMIC_DO_RELA): Likewise.
56155 (ELF_DYNAMIC_RELOCATE): Likewise.
56156 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56157 to ELF_DYNAMIC_DO_REL.
56158 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56159 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56160 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56162 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56163 skip_ifunc, don't call ifunc function if non-zero.
56164 (elf_machine_rela): Likewise.
56165 (elf_machine_lazy_rel): Likewise.
56166 (elf_machine_lazy_rela): Likewise.
56167 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56168 (elf_machine_lazy_rel): Likewise.
56169 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56171 (elf_machine_lazy_rel): Likewise.
56172 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56174 (elf_machine_lazy_rel): Likewise.
56175 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56176 (elf_machine_lazy_rel): Likewise.
56177 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56178 (elf_machine_lazy_rel): Likewise.
56179 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56180 (elf_machine_lazy_rel): Likewise.
56181 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56182 (elf_machine_lazy_rel): Likewise.
56183 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56184 (elf_machine_lazy_rel): Likewise.
56185 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56186 (elf_machine_lazy_rel): Likewise.
56188 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56190 * nss/nss_files/files-init.c (_nss_files_init): Use static
56191 initialization for all the *_traced_file variables.
56193 2011-09-28 Andreas Schwab <schwab@redhat.com>
56195 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56197 2011-09-27 Roland McGrath <roland@hack.frob.com>
56200 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56202 2011-09-27 Andreas Schwab <schwab@redhat.com>
56204 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56205 Reread the line before reparsing it.
56207 2011-09-26 Andreas Schwab <schwab@redhat.com>
56209 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56211 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56212 Maxim Kuvyrkov <maxim@codesourcery.com>
56213 Joseph Myers <joseph@codesourcery.com>
56215 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56216 if needed for __stack_chk_guard.
56218 2011-09-19 Roland McGrath <roland@hack.frob.com>
56220 * sysdeps/posix/spawni.c (script_execute): Always define it.
56221 It will be optimized away if unused.
56222 (maybe_script_execute): New function.
56223 (__spawni): Call it.
56225 * Makerules: Don't include tls.make.
56226 (config-tls): Always set to thread.
56227 * tls.make.c: File removed.
56229 2011-09-19 Mike Frysinger <vapier@gentoo.org>
56231 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56232 * config.make.in (CPPFLAGS-config): New substituted variable.
56234 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56236 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56239 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56240 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56242 2011-09-15 Roland McGrath <roland@hack.frob.com>
56244 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56245 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56246 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56247 (CALL_FAIL): Likewise.
56248 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56249 (CALL_FAIL): Macro removed.
56250 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56252 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56254 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56255 for __FINITE_MATH_ONLY__ == 1.
56257 2011-09-15 Andreas Schwab <schwab@redhat.com>
56259 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56260 __ieee754_sqrt instead of sqrt.
56261 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56262 __ieee754_sqrtf instead of sqrtf.
56263 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56264 __floorf instead of floorf.
56265 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56266 __floorf, __truncf instead of floorf, truncf.
56268 2011-09-14 Ulrich Drepper <drepper@gmail.com>
56270 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56272 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56273 __extern_always_inline.
56274 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56277 2011-09-14 Andreas Schwab <schwab@redhat.com>
56279 * elf/rtld.c (dl_main): Also relocate in dependency order when
56280 doing symbol dependency testing.
56282 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
56284 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56285 Always define `refsym'.
56287 2011-09-13 Andreas Schwab <schwab@redhat.com>
56289 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56290 (__FD_ELT): Renamed from __FDELT.
56291 * misc/bits/select2.h (__FD_ELT): Likewise.
56292 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56293 __FD_MASK instead of __FDELT, __FDMASK.
56294 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56296 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56299 * elf/Makefile (gen-ldd): Fix pattern.
56301 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56302 (init_tls): Likewise.
56304 2011-09-12 Ulrich Drepper <drepper@gmail.com>
56306 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56308 2011-09-12 Andreas Schwab <schwab@redhat.com>
56310 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56311 `struct cmsghdr *' instead of `void *'.
56312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56315 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
56317 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56319 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56320 ldd_rewrite_script.
56322 2011-09-11 Ulrich Drepper <drepper@gmail.com>
56324 * configure.in: Remove --with-tls option.
56325 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56326 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56327 out in case it is missing.
56328 * sysdeps/ia64/elf/configure.in: Likewise.
56329 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56330 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56331 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56332 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56333 * sysdeps/sh/elf/configure.in: Likewise.
56334 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56335 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56336 * sysdeps/x86_64/elf/configure.in: Likewise.
56337 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56338 * sysdeps/mach/hurd/tls.h: Likewise.
56341 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56344 * configure.in: Fix use of AC_INIT.
56346 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56348 2011-09-10 Ulrich Drepper <drepper@gmail.com>
56350 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56352 * malloc/hooks.c: Likewise.
56355 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
56356 variables statically.
56357 (narenas): Initialize.
56358 (list_lock): Initialize.
56359 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
56360 initializtion of main_arena and list_lock. Small cleanups.
56361 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56362 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
56363 Add initializers to main_arena and mp_.
56364 (malloc_state): Remove pagesize member. Change all users to use
56367 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56368 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
56369 is always initialized.
56371 * malloc/malloc.c: Removed unused configurations and dead code.
56372 * malloc/arena.c: Likewise.
56373 * malloc/hooks.c: Likewise.
56374 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56376 * include/tls.h: Removed. USE___THREAD must always be defined.
56377 * bits/libc-tsd.h: Don't handle !USE___THREAD.
56378 * elf/dl-libc.c: Likewise.
56379 * elf/dl-tsd.c: Likewise.
56380 * include/errno.h: Likewise.
56381 * include/netdb.h: Likewise.
56382 * include/resolv.h: Likewise.
56383 * inet/herrno-loc.c: Likewise.
56384 * inet/herrno.c: Likewise.
56385 * malloc/arena.c: Likewise.
56386 * malloc/hooks.c: Likewise.
56387 * malloc/malloc.c: Likewise.
56388 * resolv/res-state.c: Likewise.
56389 * resolv/res_libc.c: Likewise.
56390 * sysdeps/i386/dl-machine.h: Likewise.
56391 * sysdeps/ia64/dl-machine.h: Likewise.
56392 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56393 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56394 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56395 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56396 * sysdeps/sh/dl-machine.h: Likewise.
56397 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56398 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56399 * sysdeps/unix/i386/sysdep.S: Likewise.
56400 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56401 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56402 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56403 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56404 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56405 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56406 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56408 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56410 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56411 * sysdeps/x86_64/dl-machine.h: Likewise.
56412 * tls.make.c: Likewise.
56414 * configure.in: Remove --with-__thread option. Make tests for
56415 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56416 tls_model attribute fail if no support is available. Remove
56418 * Makeconfig: Adjust for dropped configure option. All features are
56420 * Makerules: Likewise.
56421 * Versions.def: Likewise.
56422 * argp/argp-fmtstream.c: Likewise.
56423 * argp/argp-fmtstream.h: Likewise.
56424 * argp/argp-help.c: Likewise.
56425 * assert/assert.c: Likewise.
56426 * config.h.in: Likewise.
56427 * config.make.in: Likewise.
56428 * configure: Likewise.
56429 * configure.in: Likewise.
56430 * csu/Versions: Likewise.
56431 * csu/init.c: Likewise.
56432 * elf/tst-audit2.c: Likewise.
56433 * elf/tst-tls10.c: Likewise.
56434 * elf/tst-tls10.h: Likewise.
56435 * elf/tst-tls11.c: Likewise.
56436 * elf/tst-tls12.c: Likewise.
56437 * elf/tst-tls14.c: Likewise.
56438 * elf/tst-tlsmod11.c: Likewise.
56439 * elf/tst-tlsmod12.c: Likewise.
56440 * elf/tst-tlsmod13.c: Likewise.
56441 * elf/tst-tlsmod13a.c: Likewise.
56442 * elf/tst-tlsmod14a.c: Likewise.
56443 * elf/tst-tlsmod15b.c: Likewise.
56444 * elf/tst-tlsmod16a.c: Likewise.
56445 * elf/tst-tlsmod16b.c: Likewise.
56446 * elf/tst-tlsmod7.c: Likewise.
56447 * elf/tst-tlsmod8.c: Likewise.
56448 * elf/tst-tlsmod9.c: Likewise.
56449 * gmon/gmon.c: Likewise.
56450 * grp/fgetgrent_r.c: Likewise.
56451 * grp/putgrent.c: Likewise.
56452 * hurd/fopenport.c: Likewise.
56453 * include/libc-symbols.h: Likewise.
56454 * include/tls.h: Likewise.
56455 * intl/gettextP.h: Likewise.
56456 * intl/loadinfo.h: Likewise.
56457 * locale/global-locale.c: Likewise.
56458 * locale/localeinfo.h: Likewise.
56459 * mach/devstream.c: Likewise.
56460 * malloc/arena.c: Likewise.
56461 * malloc/set-freeres.c: Likewise.
56462 * misc/err.c: Likewise.
56463 * misc/getttyent.c: Likewise.
56464 * misc/mntent_r.c: Likewise.
56465 * posix/getopt.c: Likewise.
56466 * posix/wordexp.c: Likewise.
56467 * pwd/fgetpwent_r.c: Likewise.
56468 * resolv/Versions: Likewise.
56469 * resolv/res_hconf.c: Likewise.
56470 * shadow/fgetspent_r.c: Likewise.
56471 * shadow/putspent.c: Likewise.
56472 * stdio-common/printf_fphex.c: Likewise.
56473 * stdio-common/tmpfile.c: Likewise.
56474 * stdlib/abort.c: Likewise.
56475 * stdlib/fmtmsg.c: Likewise.
56476 * sunrpc/auth_unix.c: Likewise.
56477 * sunrpc/clnt_perr.c: Likewise.
56478 * sunrpc/clnt_tcp.c: Likewise.
56479 * sunrpc/clnt_udp.c: Likewise.
56480 * sunrpc/clnt_unix.c: Likewise.
56481 * sunrpc/openchild.c: Likewise.
56482 * sunrpc/svc_simple.c: Likewise.
56483 * sunrpc/svc_tcp.c: Likewise.
56484 * sunrpc/svc_udp.c: Likewise.
56485 * sunrpc/svc_unix.c: Likewise.
56486 * sunrpc/xdr.c: Likewise.
56487 * sunrpc/xdr_array.c: Likewise.
56488 * sunrpc/xdr_rec.c: Likewise.
56489 * sunrpc/xdr_ref.c: Likewise.
56490 * sunrpc/xdr_stdio.c: Likewise.
56492 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56494 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56496 2011-07-03 Andreas Jaeger <aj@suse.de>
56498 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56499 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56500 regenerate with gen-libm-tests.pl.
56502 2010-05-12 Petr Baudis <pasky@suse.cz>
56505 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56506 around j0() zero points by switching to j1().
56507 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56508 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56510 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56512 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56514 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56516 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56519 Patch in part by Pavel Roskin <proski@gnu.org>.
56522 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56524 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56525 Free memory block if necessary.
56528 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56529 be NULL. Don't lock in this case.
56531 2011-09-09 Roland McGrath <roland@hack.frob.com>
56533 * elf/elf.h (ELFOSABI_GNU): New macro.
56534 (ELFOSABI_LINUX): Define to that.
56536 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
56538 * string/strncat.c (strncat): Undef the symbol in case it has been
56539 defined in bits/string.h.
56541 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56543 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56545 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56548 2011-08-17 Andreas Jaeger <aj@suse.de>
56550 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56552 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56553 Ian Lance Taylor <iant@google.com>
56555 * math/libm-test.inc (lround_test): New testcase.
56556 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56558 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56560 * Makefile: Remove support for automatic cvs check-ins.
56561 * Makerules: Likewise.
56562 * config.make.in: Likewise.
56563 * configure.in: Likewise.
56564 * intl/Makefile: Likewise.
56565 * locale/Makefile: Likewise.
56566 * po/Makefile: Likewise.
56567 * posix/Makefile: Likewise.
56568 * sysdeps/gnu/Makefile: Likewise.
56569 * sysdeps/mach/hurd/Makefile: Likewise.
56570 * sysdeps/sparc/sparc32/Makefile: Likewise.
56573 * posix/Makefile (bug-regex32-ENV): Define.
56574 Patch by John Stanley <jpsinthemix@verizon.net>.
56576 * misc/Makefile (headers): Add bits/select2.h.
56577 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56578 * misc/bits/select2.h: New file.
56579 * include/bits/select2.h: New file.
56580 * debug/Makefile (routines): Add fdelt_chk.
56581 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56582 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56584 * debug/fdelt_chk.c: New file.
56586 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56587 * wcsmbs/test-wmemcmp.c: Likewise.
56588 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56589 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56591 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56593 * string/Makefile (strop-tests): Add memcmp.
56594 * string/test-wmemcmp.c: New file.
56595 * string/test-memcmp.c: Add wmemcmp support.
56597 2011-09-08 Roland McGrath <roland@hack.frob.com>
56600 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56603 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56604 garbage value in a __mach_port_mod_refs call in the cases of the
56605 task-self and thread-self ports.
56607 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56609 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56611 2011-09-08 Andreas Schwab <schwab@redhat.com>
56613 * elf/dl-load.c (lose): Check for non-null L.
56615 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56617 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56619 * elf/dl-libc.c (dlerror_run): Pass back error code from
56623 * elf/dl-load.c (lose): Free l_origin if it is valid.
56625 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56627 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56628 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56629 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56630 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56631 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56632 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56634 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56636 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56637 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56638 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56639 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56640 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56641 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56642 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56643 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56644 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56645 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56647 2011-08-15 Alan Modra <amodra@gmail.com>
56650 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56651 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56652 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56653 ppc_mcount to static-only-routines.
56654 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56656 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56657 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56659 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56661 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56662 for finite and infinity parameters.
56664 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56666 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56667 and add nop instructions for throughput optimization.
56668 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56670 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56672 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56673 aligned copy for power7 with vector-scalar instructions.
56674 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56676 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56678 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56681 2011-09-07 Andreas Schwab <schwab@redhat.com>
56684 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56687 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56689 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56690 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56691 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56692 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56695 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56697 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56698 Forgot to demangle the pointer.
56700 * sysdeps/i386/sysdep.h: Define atom_text_section.
56701 * sysdeps/x86_64/sysdep.h: Likewise.
56702 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56703 section with atom_text_section.
56704 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56705 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56706 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56707 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56708 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56710 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56711 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56712 already be defined. Change to take two parameters and don't assign
56713 result to variable. Adjust all users.
56714 Define INTERNAL_GETTIME if not already defined.
56715 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56718 HAVE_CLOCK_GETTIME_VSYSCALL.
56719 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56721 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56722 gettimeofday vsyscall, just use time.
56724 2011-09-06 Andreas Schwab <schwab@redhat.com>
56726 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56729 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56731 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56733 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56735 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56736 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56737 syscall if possible.
56739 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56741 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56742 e_ident. Don't pass to find_mapsXX.
56743 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56745 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56748 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56749 * sysdeps/x86_64/multiarch/strchr.S: Update.
56750 Check bit_slow_BSF bit.
56751 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56752 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56753 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56755 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56758 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56760 (tryshell): Define.
56761 (__spawni): Change last parameter to be flag. Test
56762 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56763 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56764 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56765 * posix/spawni.c: Likewise.
56766 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56767 * posix/spawnp.c: Likewise. Change normal version to use
56768 SPAWN_XFLAGS_USE_PATH.
56769 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56770 SPAWN_XFLAGS_TRY_SHELL.
56773 * posix/glob.h: Remove gcc 1.x support.
56776 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56778 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56781 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56783 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56784 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56785 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56786 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56787 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56788 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56790 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56792 * sysdeps/x86_64/wcscmp.S: New file.
56794 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56795 wcscmp-c wcscmp-sse2
56796 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56797 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56798 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56799 * wcsmbs/wcscmp.c: Allow renaming.
56801 2011-09-05 David S. Miller <davem@davemloft.net>
56803 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56804 stack slot, rather than the struct return pointer slot.
56805 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56806 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56808 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56810 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56812 * po/ja.po: Update from translation team.
56815 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56816 kernel in 64-bit binaries.
56818 2011-09-01 David S. Miller <davem@davemloft.net>
56820 * elf/elf.h (HWCAP_SPARC_*): Move to..
56821 * sysdeps/sparc/sysdep.h: this new file and add new values.
56822 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56823 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56824 _DL_HWCAP_COUNT to 24.
56825 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56827 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56828 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56829 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56831 instead of magic constants.
56832 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56834 2011-08-31 David S. Miller <davem@davemloft.net>
56836 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56838 Reimplement to do errno handling inline.
56839 (SYSCALL_ERROR_HANDLER): New macro.
56840 (__SYSCALL_STRING): Do not do errno handling in asm.
56841 (__CLONE_SYSCALL_STRING): Delete.
56842 (__INTERNAL_SYSCALL_STRING): Delete.
56843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56844 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56845 (PSEUDO): Reimplement to do errno handling inline.
56846 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56847 (SYSCALL_ERROR_HANDLER): New macro.
56848 (__SYSCALL_STRING): Do not do errno handling in asm.
56849 (__CLONE_SYSCALL_STRING): Delete.
56850 (__INTERNAL_SYSCALL_STRING): Delete.
56851 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56852 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56854 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56855 (inline_syscall*): Add 'err' argument.
56856 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56857 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56858 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56859 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56861 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56862 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56864 2011-08-30 Andreas Schwab <schwab@redhat.com>
56866 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56868 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56870 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56873 2011-08-24 David S. Miller <davem@davemloft.net>
56875 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56877 2011-08-24 Andreas Schwab <schwab@redhat.com>
56879 * elf/Makefile: Add rules to build and run unload8 test.
56880 * elf/unload8.c: New file.
56881 * elf/unload8mod1.c: New file.
56882 * elf/unload8mod1x.c: New file.
56883 * elf/unload8mod2.c: New file.
56884 * elf/unload8mod3.c: New file.
56886 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56889 2011-08-23 David S. Miller <davem@davemloft.net>
56891 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56892 subtract stack bias.
56893 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56894 %sp not %fp in calculations.
56895 (_JMPBUF_UNWINDS_ADJ): Likewise.
56897 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56898 (aio_suspend): Call it to force an exception region around the
56899 AIO_MISC_WAIT() invocation.
56901 2011-08-23 Andreas Schwab <schwab@redhat.com>
56903 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56906 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56908 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56910 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56911 and <dl-machine.h>.
56912 (Elf64_FuncDesc): Remove.
56914 2011-08-22 David S. Miller <davem@davemloft.net>
56916 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56917 sigaltstack check, add missing cfi directives.
56918 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56919 missing cfi directives, and sigaltstack handling.
56921 2011-08-16 Andreas Schwab <schwab@redhat.com>
56924 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56925 object is seen twice.
56926 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56928 * elf/Makefile (distribute): Add tst-initorder2.c.
56929 (tests): Add tst-initorder2.
56930 (modules-names): Add tst-initorder2a tst-initorder2b
56931 tst-initorder2c tst-initorder2d. Add rules to build them.
56932 ($(objpfx)tst-initorder2.out): New rule.
56933 * elf/tst-initorder2.c: New file.
56934 * elf/tst-initorder2.exp: New file.
56936 2011-08-22 Andreas Schwab <schwab@redhat.com>
56938 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56940 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56941 dependencies back to end of function.
56943 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56944 $(elfobjdir)/ld.so.
56946 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56948 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56949 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56951 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56952 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56953 of __vdso_gettimeofday.
56954 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56955 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56957 (_libc_vdso_platform_setup): Remove initialization of
56958 __vdso_gettimeofday and __vdso_time.
56960 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56962 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56963 and fgetc_unlocked.
56964 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56967 * elf/dl-open.c (add_to_global): Report additions to the global scope
56968 for LD_DEBUG=scopes.
56969 (dl_open_worker): Also print scope of newly loaded dependencies.
56970 (_dl_show_scope): Indicate if there is no scope.
56973 * stdio-common/Makefile (tests): Add bug24.
56974 * stdio-common/bug24.c: New file.
56976 2011-08-19 Andreas Jaeger <aj@suse.de>
56979 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56980 non-existant file when using close-on-exec mode.
56982 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56984 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56985 the very first instruction.
56987 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56988 the CFI state in the end.
56989 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56990 inclusion of dl-trampoline.h.
56991 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56993 2011-08-19 Andreas Schwab <schwab@redhat.com>
56995 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56996 expectations for long double.
56998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56999 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57001 2011-08-14 David S. Miller <davem@davemloft.net>
57003 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57004 artificual limit depends upon the system page size.
57006 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57008 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57009 * resolv/Makefile: Define CFLAGS-libresolv.
57011 2011-08-17 Andreas Schwab <schwab@redhat.com>
57013 * nss/makedb.c (compute_tables): Make variables used in nested
57016 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57018 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57019 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57020 if buffer was too small.
57022 * elf/pldd.c (main): Attach to all threads in the process.
57023 Rewrite /proc handling to use *at functions.
57025 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57027 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57028 specifies first scope to show.
57029 (dl_open_worker): Update callers. Move printing scope of new
57030 object to before the relocation.
57031 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57032 * sysdeps/generic/ldsodefs.h: Update declaration.
57034 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57035 string for the scope number.
57037 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57039 * nscd/servicescache.c (cache_addserv): Make sure written is always
57042 2011-08-14 Roland McGrath <roland@hack.frob.com>
57044 * sysdeps/i386/i486/bits/atomic.h
57045 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57046 statement expression, so as to suppress "set but not used" warning.
57047 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57049 * string/strncat.c (STRNCAT): Use prototype definition.
57051 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57052 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57054 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57055 (localedef-modules): Add localedef.
57056 (locale-modules): Add locale.
57058 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57059 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57060 to avoid a warning.
57062 2011-08-14 David S. Miller <davem@davemloft.net>
57064 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57065 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57067 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57069 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57070 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57071 * elf/rtld.c (dl_main): Set l_name of vDSO.
57072 Call _dl_show_scope when DL_DEBUG_SCOPES.
57073 (process_dl_debug): Recognize scopes flag and also set it for all.
57074 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57075 Declare _dl_show_scope.
57077 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57078 (do_dlopen): Pass caller_dlopen to dl_open.
57079 (__libc_dlopen_mode): Initialize caller_dlopen.
57081 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57082 of libc. Make tolower call locale-independent. Optimize a bit by
57083 using isdigit instead of isalnum.
57084 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57086 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57088 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57089 was a dependency or dynamically loaded.
57091 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57093 * intl/l10nflist.c: Allow architecture-specific pop function.
57094 * sysdeps/x86_64/l10nflist.c: New file.
57096 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57099 2011-08-10 Andreas Schwab <schwab@redhat.com>
57101 * include/dirent.h: Add libc_hidden_proto for scandirat and
57102 scandirat64. Don't declare __scandirat64.
57103 * dirent/scandirat.c: Add libc_hidden_def.
57104 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57105 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57107 2011-08-10 David S. Miller <davem@davemloft.net>
57109 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57112 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57113 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57115 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57117 * Versions.def [libc]: Add GLIBC_2.15.
57118 * dirent/Makefile (routines): Add scandirat and scandirat64.
57119 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57121 * dirent/dirent.h: Declare scandirat and scandirat64.
57122 * dirent/scandirat.c: New file.
57123 * dirent/scandirat64.c: New file.
57124 * sysdeps/wordsize-64/scandirat.c: New file.
57125 * sysdeps/wordsize-64/scandirat64.c: New file.
57126 * dirent/opendir.c: Define opendirat.
57127 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57129 * dirent/scandir64.c: Adjust for scandir.c change.
57130 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57131 __scandirat64, and __scandir_cancel_handler.
57132 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57133 additional parameter and use openat instead of open (outside of ld.so).
57134 Add new __opendir as wrapper around __opendirat.
57135 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57136 here without requiring old scandirat implementation.
57138 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57140 * dirent/scandir.c (cancel_handler): Renamed to
57141 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57142 defined. Adjust users.
57143 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57144 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57146 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57148 * string/test-string.h (IMPL): Use __STRING to expand name and then
57151 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57154 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57156 * string/Makefile: Update.
57157 (strop-tests): Append strncat.
57158 * string/test-wcscmp.c: New file.
57159 New comprehensive test for wcscmp.
57160 * string/test-strcmp.c: Update.
57161 (WIDE): New define.
57163 2011-07-22 Andreas Schwab <schwab@redhat.com>
57165 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57168 2011-07-26 Andreas Schwab <schwab@redhat.com>
57170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57171 encoding to ACE if AI_IDN.
57173 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57175 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57176 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57178 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57180 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57181 Fix overflow bug in strncat.
57182 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57184 * string/test-strncat.c: Update.
57185 Add new tests for checking overflow bugs.
57187 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57190 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57191 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57192 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57193 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57194 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57195 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57196 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57197 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57199 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57200 (USE_AS_STRCAT): Define.
57201 Add strcat and strncat support.
57202 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57204 2011-07-25 Andreas Schwab <schwab@redhat.com>
57206 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57207 __n bigger than INT_MAX+1.
57208 (__strncmp_g): Likewise.
57210 2011-07-23 Ulrich Drepper <drepper@gmail.com>
57212 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57213 * libio/stido.h: Likewise.
57215 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57220 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57221 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57222 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57223 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57224 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57227 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57232 (_dl_x86_64_save_sse): Likewise.
57234 2011-07-22 Ulrich Drepper <drepper@gmail.com>
57236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57238 (_dl_x86_64_save_sse): Likewise.
57240 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57242 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57244 2011-07-21 Andreas Schwab <schwab@redhat.com>
57246 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57248 (_dl_x86_64_save_sse): Use correct AVX check.
57250 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57252 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57253 bug in strncpy/strncat.
57254 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57256 2011-07-21 Ulrich Drepper <drepper@gmail.com>
57258 * string/tester.c (test_strcat): Add tests for different alignments
57259 of source and destination.
57260 (test_strncat): Likewise.
57262 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57265 * posix/glob.c (glob): Check passed in values before using them in
57266 expressions to avoid some overflows.
57267 (glob_in_dir): Likewise.
57270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57271 check for AVX enablement so that we don't crash with old kernels and
57273 * elf/tst-audit4.c: Add same checks here.
57274 * elf/tst-audit6.c: Likewise.
57276 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57278 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
57280 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57282 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57284 * po/cs.po: Update from translation team.
57285 * po/bg.po: Likewise.
57287 2011-07-12 Marek Polacek <mpolacek@redhat.com>
57289 * misc/sys/cdefs.h: Add support for const attribute.
57290 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57291 to gnu_dev_{major,minor,makedev} functions.
57293 2011-07-20 Marek Polacek <mpolacek@redhat.com>
57295 * intl/dcigettext.c (get_output_charset): Add missing bracket.
57297 2011-07-20 Andreas Schwab <schwab@redhat.com>
57299 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57302 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57305 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57306 register in order to avoid conflicts with the soft frame pointer
57307 being held in r11 when necessary.
57308 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57309 (INTERNAL_VSYSCALL_NCS): Likewise.
57311 2011-07-14 Marek Polacek <mpolacek@redhat.com>
57313 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57314 * elf/dl-fini.c (_dl_fini): Adjust caller.
57315 * elf/dl-close.c (_dl_close_worker): Likewise.
57316 * sysdeps/generic/ldsodefs.h: Adjust declaration.
57318 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57320 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57321 "aux_cache->nlibs < 0".
57323 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57324 in the reload-count case.
57326 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57329 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57330 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57331 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57332 * sysdeps/x86_64/multiarch/strcat.S: New file.
57333 * sysdeps/x86_64/multiarch/strncat.S: New file.
57334 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57335 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57336 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57337 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57338 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57339 (USE_AS_STRCAT): Define.
57340 Add strcat and strncat support.
57341 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57342 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57343 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57344 * string/strncat.c: Update.
57345 (USE_AS_STRNCAT): Define.
57346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57347 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57349 * sysdeps/x86_64/multiarch/init-arch.h
57350 (bit_Prefer_PMINUB_for_stringop): New.
57351 (index_Prefer_PMINUB_for_stringop): Likewise.
57352 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57353 bit_Prefer_PMINUB_for_stringop.
57355 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57357 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57359 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57360 of casting of buffer.
57361 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57362 buffer32 and buffer64.
57363 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57364 writes instead of casting of buffer.
57365 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57367 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57370 2011-07-19 Andreas Schwab <schwab@redhat.com>
57372 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57374 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57376 * nscd/nscd.c (termination_handler): Don't do anything for a database
57377 if it has not yet been initialized.
57379 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57381 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57383 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57385 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57387 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57389 * po/nl.po: Update from translation team.
57390 * po/sv.po: Likewise.
57392 2011-07-16 Roland McGrath <roland@hack.frob.com>
57394 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57395 now disallowed by GCC.
57397 * configure.in (use-default-link): Default to yes if a test -shared
57398 link meets our qualifications.
57399 * configure: Regenerated.
57401 * config.make.in (output-format): New variable.
57402 * configure.in: Check for ld --print-output-format support.
57403 * configure: Regenerated.
57404 * Makerules ($(common-objpfx)format.lds)
57405 [$(output-format) != unknown]: Just use $(output-format),
57406 instead of the linker-script munging.
57408 2011-07-14 Roland McGrath <roland@hack.frob.com>
57410 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57411 of $(common-objpfx)shlib.lds.
57412 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57414 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57415 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57417 * configure.in (-z relro check): Adjust test code to add a large
57418 writable data section after it.
57419 * configure: Regenerated.
57421 2011-07-11 Roland McGrath <roland@hack.frob.com>
57423 * configure.in (-z relro check): Fix test code to make the variable
57425 * configure: Regenerated.
57427 2011-07-11 Ulrich Drepper <drepper@gmail.com>
57429 * nscd/nscd.h (struct traced_file): Define.
57430 (struct database_dyn): Remove inotify_descr, reset_res, and filename
57431 elements. Add traced_files.
57432 (inotify_fd): Declare.
57433 (register_traced_file): Declare.
57434 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57435 (inotify_fd): Export.
57436 (resolv_conf_descr): Remove.
57437 (nscd_init): Move inotify descriptor creation to main.
57438 Don't register files for notification here.
57439 (register_traced_file): New function.
57440 (invalidate_cache): Don't use reset_res to determine whether to call
57441 res_init, go through the list of registered files.
57442 (main_loop_poll): The inotify descriptors are now stored in the
57443 structures for the traced files.
57444 (main_loop_epoll): Likewise
57445 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
57446 to __nss_disable_nscd.
57447 * nscd/cache.c (prune_cache): There is no single inotify descriptor
57448 for a database anymore. Check the records for all the registered
57450 * nss/Makefile (libnss_files-routines): Add files-init.
57451 (libnss_db-routines): Add db-init.
57452 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57453 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57454 * nss/nss_db/db-init.c: New file.
57455 * nss/nss_files/files-init.c: New file.
57456 * nss/nsswitch.c (nss_load_library): New function. Broken out of
57457 __nss_lookup_function.
57458 (__nss_lookup_function): Call nss_load_library.
57459 (nss_load_all_libraries): New function.
57460 (__nss_disable_nscd): Take parameter with callback function for files
57461 to register. Set is_nscd. Load all the DSOs for the NSS modules
57462 used for the cached services.
57463 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57464 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57465 options for features to all the files in nscd.
57467 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57469 2011-07-10 Roland McGrath <roland@hack.frob.com>
57471 * csu/elf-init.c (__libc_csu_init): Comment typo.
57473 2011-07-09 Ulrich Drepper <drepper@gmail.com>
57475 * po/pl.po: Update from translation team.
57476 * po/ja.po: Likewise.
57477 * po/ru.po: Likewise.
57478 * po/ko.po: Likewise.
57479 * po/fr.po: Likewise.
57481 2011-07-09 Roland McGrath <roland@hack.frob.com>
57483 * configure.in (.ctors/.dtors header and trailer check):
57484 Use an empirical test on a built program.
57485 * configure: Regenerated.
57487 * configure.in (-z relro check): Use an empirical test on a built DSO.
57488 Detect, but do not require, on ia64.
57489 * configure: Regenerated.
57491 * configure.in (READELF): Find it with AC_CHECK_TOOL.
57492 Update tests that use readelf to use $READELF instead.
57493 * configure: Regenerated.
57495 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57497 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57498 if the result is not used.
57500 2011-07-05 Andreas Jaeger <aj@suse.de>
57503 * stdlib/tst-strtod.c: Add testcase.
57505 2011-07-07 Ulrich Drepper <drepper@gmail.com>
57507 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57508 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57509 The latter has a higher limit. Take additional parameter to pass to
57511 (__pathconf): Pass file to __statfs_link_max.
57512 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57514 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57518 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57519 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57521 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57522 (__statfs_filesize_max): Likewise.
57523 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57525 2011-07-05 Andreas Jaeger <aj@suse.de>
57527 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57529 2011-07-06 Marek Polacek <mpolacek@redhat.com>
57531 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57533 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57536 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
57538 * Makefile (strop-tests): Add strncat.
57539 * string/test-strncat.c: New file.
57541 2011-06-30 Marek Polacek <mpolacek@redhat.com>
57543 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57545 2011-06-21 Andreas Jaeger <aj@suse.de>
57547 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57548 Copy rule from iconvdata/Makefile.
57550 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57553 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57554 but no long options are defined, just return 'W'.
57556 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57559 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57561 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57563 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57565 (innetgr): Likewise.
57567 2011-07-05 Roland McGrath <roland@hack.frob.com>
57569 * config.make.in (install_root): Default to $(DESTDIR).
57571 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57573 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57575 2011-07-02 Roland McGrath <roland@hack.frob.com>
57577 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57579 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57580 containing directory rather than embedding absolute directory names.
57582 * scripts/check-local-headers.sh: Rewritten using awk.
57583 Match by word, not by line. Print error messages for matches.
57584 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57586 * Makerules [shlib-lds-flags empty]:
57587 ($(common-objpfx)libc_pic.opts): New target.
57588 ($(common-objpfx)libc_pic.os.clean): New target.
57589 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57591 * config.make.in (OBJCOPY): New variable.
57592 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57593 * configure: Regenerated.
57595 * config.make.in (use-default-link): New variable.
57596 * configure.in (use_default_link): Grok --with-default-link to set it.
57597 * configure: Regenerated.
57598 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57599 (shlib-lds, shlib-lds-flags): Define to empty.
57601 * Makerules (shlib-lds): New variable.
57602 (shlib-lds-flags): New variable.
57603 (build-shlib, build-moduile, build-module-asneeded): Use it.
57604 ($(common-objpfx)libc.so): Use $(shlib-lds).
57605 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57606 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57608 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57609 DT_FLAGS/DT_FLAGS_1 with zero flags.
57611 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57612 linker script munging.
57614 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57616 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57618 * crypt/sha512.c (sha512_process_block): Perform total addition using
57619 128-bit if possible.
57620 (__sha512_finish_ctx): Likewise.
57621 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57623 * crypt/sha256.c (SWAP64): Define.
57624 (sha256_process_block): Perform total addition using 64-bit if
57626 (__sha256_finish_ctx): Likewise.
57628 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57630 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57632 * nscd/hstcache.c (cache_addhst): Likewise.
57633 * nscd/grpcache.c (cache_addgr): Likewise.
57634 * nscd/aicache.c (addhstaiX): Likewise
57635 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57637 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57639 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57640 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57641 * nscd/hstcache.c (cache_addhst): Likewise.
57642 * nscd/grpcache.c (cache_addgr): Likewise.
57643 * nscd/aicache.c (addhstaiX): Likewise
57645 2011-07-01 Andreas Schwab <schwab@redhat.com>
57647 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57648 domain only when needed.
57650 2011-06-30 Andreas Schwab <schwab@redhat.com>
57652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57653 is always restored.
57655 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57657 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57658 are re-adding the entry.
57659 * nscd/servicescache.c (cache_addserv): Likewise.
57661 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57663 * sysdeps/generic/dl-irel.h: fix protection against multiple
57665 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57667 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57670 * malloc/memusage.sh: Fix quoting in message.
57671 * debug/xtrace.sh: Likewise.
57673 * configure.in: Remove support for --experimental-malloc option, make
57675 * config.make.in: Likewise.
57676 * malloc/Makefile: Likewise.
57678 2011-06-27 Andreas Schwab <schwab@redhat.com>
57680 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57681 two-byte characters.
57683 2011-06-27 Roland McGrath <roland@hack.frob.com>
57685 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57686 AC_CACHE_CHECK invocation.
57687 * configure: Regenerated.
57689 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57691 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57694 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57695 bit from old_res_options.
57697 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57699 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57700 value type for setfct.
57702 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57705 __gettimeofday instead of gettimeofday.
57707 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57709 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57711 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57713 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57715 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57718 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57721 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57722 strcpy-sse2-unaligned strncpy-sse2-unaligned
57723 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57724 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57725 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57726 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57727 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57729 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57730 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57731 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57732 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57733 (STRCPY): Support SSE2 and SSSE3 versions.
57735 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57738 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57739 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57740 kernels which artificially limit size of requests.
57742 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57745 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57746 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57747 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57748 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57749 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57750 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57751 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57752 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57753 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57754 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57755 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57756 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57757 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57758 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57760 Enable unaligned load optimization for Intel Core i3, i5 and i7
57762 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57764 (index_Fast_Unaligned_Load): Define.
57765 (HAS_FAST_UNALIGNED_LOAD): Define.
57767 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57769 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57771 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57774 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57775 until it is clear that the information is realy needed.
57776 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57778 2011-06-22 Andreas Schwab <schwab@redhat.com>
57780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57782 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57784 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57785 /sys/devices/system/cpu/online if it is usable.
57787 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57788 reading the information from the /proc filesystem to once a second.
57790 2011-06-21 Andreas Jaeger <aj@suse.de>
57792 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57793 NULL after inclusion of kernel headers.
57795 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57797 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57798 calls to internal_setent.
57801 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57802 addresses using gethostbyname4_r ignore IPv4 addresses.
57804 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57805 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57807 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57809 2011-06-20 David S. Miller <davem@davemloft.net>
57811 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57813 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57815 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57816 (elf_irel): Use it.
57817 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57818 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57819 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57820 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57821 * sysdeps/x86_64/dl-irel.h: Likewise.
57823 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57824 * elf/dl-sym.c: Likewise.
57826 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57828 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57829 need to dereference resplen2.
57831 2011-06-14 Andreas Schwab <schwab@redhat.com>
57833 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57835 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57837 * Makeconfig: Define vardbdir and inst_vardbdir.
57838 * nss/Makefile: Add rules to install db-Makefile.
57840 * nss/nss_db/db-XXX.c: Cleanup.
57842 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57843 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57845 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57846 * nss/makedb.c: Implement -g option to specify that value strings
57847 are generated and should not be added to table iterated over for
57849 * nss/nss_db/db-initgroups.c: New file.
57851 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57854 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57855 (internal_getgrouplist): Adjust to name change.
57856 Update use_initgroups_entry if this is not the first call.
57857 * nss/databases.def: Add initgroups entry.
57859 * nss/makedb.c (compute_tables): Check result of multiple hash table
57860 sizes to minimize maximum chain length.
57862 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57864 * Versions.def: Add entry for libnss_db.
57865 * shlib-versions: Likewise.
57866 * nss/Makefile: Add rules to build libnss_db.
57867 * nss/Versions: Add libnss_db information. Organize libnss_files
57869 * nss/db-Makefile: Add gshadow support. Change rules for the new
57870 makedb progra. Some minor improvements to generate smaller files.
57871 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57873 * nss/makedb.c: ...here.
57874 Improve database format to be smaller and require less memory at
57876 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57878 * nss/nss_db/db-netgrp.c: Likewise.
57879 * nss/nss_db/db-open.c: Likewise.
57880 * nss/nss_files/flies-XXX.x: Adjust comments.
57881 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57882 * nss/nss_files/files-grp.c: Likewise.
57883 * nss/nss_files/files-hosts.c: Likewise.
57884 * nss/nss_files/files-network.c: Likewise.
57885 * nss/nss_files/files-proto.c: Likewise.
57886 * nss/nss_files/files-pwd.c: Likewise.
57887 * nss/nss_files/files-rpc.c: Likewise.
57888 * nss/nss_files/files-service.c: Likewise.
57889 * nss/nss_files/files-sgrp.c: Likewise.
57890 * nss/nss_files/files-spwd.c: Likewise.
57891 * nss/nss_db/db-alias.c: Removed.
57892 * nss/nss_db/dummy-db.h: Removed.
57894 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57896 * nss/makedb.c: Rewritten to not use database library.
57897 * nss/Makefile: Update to build new makedb program.
57899 2011-06-14 Andreas Jaeger <aj@suse.de>
57901 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57902 memset declaration.
57904 2011-06-10 Andreas Schwab <schwab@redhat.com>
57906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57909 2011-06-10 Roland McGrath <roland@hack.frob.com>
57911 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57912 * elf/Makefile ($(objpfx)ld.so): Likewise.
57914 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57915 Don't list ld.so twice in dependencies.
57917 * posix/bug-regex31.c: Include <stdlib.h>.
57919 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57921 * nis/nss_compat/compat-spwd.c
57922 (getspent_next_nss_netgr): Remove unused variable.
57923 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57925 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57926 nonmembers" output to use the right array.
57928 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57930 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57932 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57933 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57934 * catgets/gencat.c (read_input_file): Likewise.
57935 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57937 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57938 variable definition inside #if's controlling its use.
57940 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57942 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57944 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57946 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57949 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57951 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57952 * configure: Regenerated.
57954 * Makerules: Revert last change.
57955 * elf/Makefile: Likewise.
57957 2011-06-09 Roland McGrath <roland@hack.frob.com>
57959 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57960 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57961 (reloc-link): Likewise.
57963 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57965 * elf/Makefile: Add rules to build pldd.
57966 * elf/pldd.c: New file.
57967 * elf/pldd-xx.c: New file.
57969 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57971 * version.h: Update for 2.15 development version.
57973 2011-06-07 David S. Miller <davem@davemloft.net>
57975 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57978 elf_machine_lazy_rel): Likewise.
57979 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57980 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57981 elf_machine_lazy_rel): Likewise.
57982 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57983 dl_hwcap via passed in argument.
57984 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57987 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57989 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57991 2011-06-06 Roland McGrath <roland@hack.frob.com>
57994 * manual/fdl-1.1.texi: New file, verbatim from:
57995 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57996 * manual/lgpl-2.1.texi: New file, verbatim from:
57997 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57998 * manual/Makefile (licenses): New variable, list those new file names.
58000 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58002 * manual/fdl.texi: File removed.
58003 * manual/lesser.texi: File removed.
58004 * manual/libc.texinfo (Copying, Documentation License):
58005 Use new @include file names, put @appendix directive before @include.
58007 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58010 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58011 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58012 (mq_open): Add __NTH.
58014 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58017 Assume Intel Core i3/i5/i7 processor if AVX is available.
58019 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58024 2011-05-31 Andreas Schwab <schwab@redhat.com>
58026 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58027 memory. Use alloca_account. Fix memory leak when retrying.
58029 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58031 * version.h (RELEASE): Bump for 2.14 release.
58032 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58034 * config.make.in (RANLIB): Remove entry.
58036 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58038 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58039 (libc.pot): Work around missing support for .ksh extension in xgettext.
58042 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58043 if both request failed.
58044 (send_dg): In case of server errors clear resplen or *resplen2.
58047 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58048 when there are multiple maps.
58049 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58050 (_dl_fini): Remove test here.
58052 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58054 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58057 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58058 bit from old_res_options.
58059 (gaih_inet): Likewise.
58062 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58065 * resolv/res_init.c (res_setoptions): Make the code more compact.
58068 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58072 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58074 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58077 * malloc/malloc.h: Declare malloc hook variables as volatile.
58079 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58083 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58084 raise in the comment.
58085 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58086 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58087 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58089 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58092 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58093 grow the buffers more if it already has to be sufficient.
58094 (build_wcs_upper_buffer): Likewise.
58095 * posix/regexec.c (check_matching): Likewise.
58096 (clean_state_log_if_needed): Likewise.
58097 (extend_buffers): Don't enlarge buffers beyond size of the input
58099 Patches mostly by Emil Wojak <emil@wojak.eu>.
58100 * posix/bug-regex32.c: New file.
58101 * posix/Makefile (tests): Add bug-regex32.
58103 * locale/findlocale.c (_nl_find_locale): Return right away if
58104 _nl_explode_name failed.
58105 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58107 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58109 * debug/xtrace.sh: Unify messages.
58110 * malloc/memusage.sh: Likewise.
58113 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58114 time symbol from vDSO. Substitute with vsyscall if not available.
58115 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58118 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58119 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58120 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58121 Add sendmmsg and internal_sendmmsg.
58122 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58123 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58124 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58126 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58127 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58128 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58130 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58133 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58134 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58136 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58140 * iconvdata/Makefile (tests): Add bug-iconv9.
58141 * iconvdata/bug-iconv9.c: New file.
58143 2011-05-27 Andreas Schwab <schwab@redhat.com>
58146 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58148 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58150 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58151 (struct user_regs_struct): Change intcs field back to cs.
58153 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58155 * po/ja.po: Update from translation team.
58157 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58160 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58161 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58163 2011-05-20 Andreas Schwab <schwab@redhat.com>
58165 * stdlib/longlong.h: Update from GCC.
58167 2011-05-23 Andreas Schwab <schwab@redhat.com>
58169 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58171 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58172 Add parameter name.
58173 (__sysconf): Pass it down.
58175 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58178 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58180 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58181 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58182 add in in __libc_use_alloca calls. Adjust callers.
58183 (glob): Use malloc in some situations.
58185 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58186 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58189 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58191 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58192 and CLOCK_BOOTTIME_ALARM.
58195 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58198 * string/_strerror.c (__strerror_r): Print negative errors as signed
58202 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58203 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58204 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58206 * configure.in: Fix typo in redirection and correct removal of test
58207 files in two cases.
58210 * locale/setlocale.c (new_composite_name): Fix test to check for
58211 identical name of all categories.
58214 * libio/filedoalloc.c (local_isatty): New function.
58215 (_IO_file_doallocate): Use local_isatty.
58216 * stdio-common/perror.c (perror): In case a new stream is used
58217 forward the stream error.
58218 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58221 2011-05-20 Ulrich Drepper <drepper@gmail.com>
58224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58226 * include/alloca.h (extend_alloca_account): Define.
58229 * posix/regex.h: Fix comments with documentation of user-accessible
58230 fields after compilation and describe correct free'ing of pattern
58231 after re_compile_pattern.
58232 Patch by Reuben Thomas <rrt@sc3d.org>.
58234 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58236 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58237 and -mno-altivec to prevent the compiler from using Altivec and/or
58238 VSX instructions when the corresponding registers are not available.
58240 2011-05-19 Andreas Schwab <schwab@redhat.com>
58242 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58244 2011-05-19 Ulrich Drepper <drepper@gmail.com>
58246 * libio/freopen.c (freopen): Use __dup2, not dup2.
58247 * libio/freopen64.c (freopen64): Likewise.
58249 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
58252 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58253 * math/Makefile (tests): Add test-powl.
58254 (CFLAGS-test-powl.c): Define.
58255 * math/test-powl.c: New file.
58257 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58259 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58261 2011-05-17 Ulrich Drepper <drepper@gmail.com>
58264 * iconvdata/gb18030.c: Update to GB18020-2005.
58266 2011-05-16 Ulrich Drepper <drepper@gmail.com>
58268 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58269 RE_SYNTAX_POSIX_AWK): Update to match recent development.
58270 Patch by Aharon Robbins <arnold@skeeve.com>.
58273 * stdlib/putenv.c (putenv): Don't always create copy of the variable
58277 * misc/pselect.c (__pselect): Handle timeout value errors hidden
58278 through underflows.
58281 * misc/error.c (error_at_line): Ensure file_name and old_file_name
58282 point to strings before performing equality test for error_one_per_line
58286 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58289 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58290 (struct user_fpregs_struct): Avoid __uint*_t types.
58293 * malloc/mtrace.c (tr_where): Add additional parameter to point to
58294 symbol info. Use it instead of calling _dl_addr locally.
58295 (lock_and_info): New function.
58296 (tr_freehook): Call lock_and_info and pass symbol info as additional
58297 parameter to tr_where.
58298 (tr_mallochook): Likewise.
58299 (tr_reallochook): Likewise.
58300 (tr_memalignhook): Likewise.
58302 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
58303 used and couldn't be at all thread-safe.
58305 2011-05-15 Ulrich Drepper <drepper@gmail.com>
58307 * libio/freopen.c (freopen): Don't close old file descriptor
58308 before the new one is opened. Instead dup the new file descriptor
58309 to the old one after the new stream is created.
58310 * libio/freopen64.c (freopen64): Likewise.
58311 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58312 * libio/fileops.c (_IO_new_file_close_it): Handle new
58313 _IO_FLAGS2_NOCLOSE flag.
58314 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58315 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58316 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58317 _IO_FLAGS2_NOCLOSE flag.
58318 * include/unistd.h: Add hidden_proto for dup3.
58319 Define __have_dup3.
58320 * io/dup3.c: Define hidden symbol.
58321 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58324 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58325 when an incomplete long option is used.
58326 * posix/tst-getopt_long1.c: New file.
58327 * posix/Makefile (tests): Add tst-getopt_long1.
58330 * scripts/config.guess: Update from autoconf-2.68.
58331 * scripts/config.sub: Likewise.
58334 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58336 (has_cpuclock): ...this. New function.
58337 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58338 macro here based on has_cpuclock code.
58341 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58342 First byte (not low byte) is now always NUL.
58343 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58345 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58346 Use non-cancelable interfaces.
58349 * locale/iso-639.def: Add entry for Sorani.
58352 * include/stdlib.h: Move include protection to the right place.
58353 Define abort_msg_s. Declare __abort_msg with it.
58354 * stdlib/abort.c (__abort_msg): Adjust type.
58355 * assert/assert.c (__assert_fail_base): New function. Majority
58356 of code from __assert_fail. Allocate memory for __abort_msg with
58358 (__assert_fail): Now call __assert_fail_base.
58359 * assert/assert-perr.c: Remove bulk of implementation. Use
58360 __assert_fail_base.
58361 * include/assert.hL Declare __assert_fail_base.
58362 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58364 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58366 2011-05-14 Ulrich Drepper <drepper@gmail.com>
58370 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58371 until all modules are registered in the DTV.
58372 * elf/Makefile: Add rules to build and run tst-tls19.
58373 * elf/tst-tls19.c: New file.
58374 * elf/tst-tls19mod1.c: New file.
58375 * elf/tst-tls19mod2.c: New file.
58376 * elf/tst-tls19mod3.c: New file.
58377 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58380 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58384 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58385 two-byte sequence errors.
58386 * iconvdata/Makefile (tests): Add bug-iconv8.
58387 * iconvdata/bug-iconv8.c: New file.
58390 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58393 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58396 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58397 (dummy_getcfa): New function.
58398 (init): Get _Unwind_GetCFA address, use dummy if not found.
58399 (backtrace_helper): In recursion check, also check whether CFA changes.
58400 (__backtrace): Completely initialize arg.
58402 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58403 storing incomplete byte sequence in state object. Avoid testing for
58404 guaranteed too small input if we know there is enough data available.
58406 2011-05-11 Andreas Schwab <schwab@redhat.com>
58408 * Makeconfig (+link-pie): Indent.
58409 * Rules (binaries-pie): Define if $(have-fpie) and
58411 (binaries-shared): Also filter out $(binaries-pie).
58412 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58413 * nscd/Makefile (others-pie): Add nscd.
58414 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58415 ($(objpfx)nscd): Remove command override.
58416 * login/Makefile (others-pie): Add pt_chown.
58417 ($(objpfx)pt_chown): Remove command override.
58418 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58419 remove command overrides.
58421 2011-05-13 Ulrich Drepper <drepper@gmail.com>
58423 * libio/tst_putwc.c: Fix error messages.
58426 * libio/fileops.c (_IO_new_file_close_it): Always flush when
58427 currently writing and seek to current position when not.
58428 * libio/Makefile (tests): Add bug-fclose1.
58429 * libio/bug-fclose1.c: New file.
58431 2011-05-12 Ulrich Drepper <drepper@gmail.com>
58434 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58435 don't set DF_1_NODELETE here.
58436 (do_lookup_x): When entering new entry test for copy relocation
58437 and if necessary set DF_1_NODELETE flag.
58438 * elf/tst-unique4.cc: New file.
58439 * elf/tst-unique4.h: New file.
58440 * elf/tst-unique4lib.cc: New file.
58441 * elf/Makefile: Add rules to build and run tst-unique4.
58442 Patch by Piotr Bury <pbury@goahead.com>.
58444 2011-05-11 Ulrich Drepper <drepper@gmail.com>
58447 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58450 * misc/mntent_r.c (addmntent): Flush the stream after the output
58453 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58454 (is_trusted_path_normalize): Skip initial colon. Append slash
58455 to empty buffer. Duplicate is_trusted_path code but allow
58456 constructed patch to be prefix.
58457 (is_dst): Allow $ORIGIN followed by /.
58458 (_dl_dst_substitute): Correct clearing of check_for_trusted.
58459 Correct testing of result of is_trusted_path_normalize
58460 (decompose_rpath): Fix warning.
58462 2011-05-10 Ulrich Drepper <drepper@gmail.com>
58465 * grp/initgroups.c (internal_getgrouplist): When we found the service
58466 list through the initgroups entry in nsswitch.conf do not always
58467 continue on a successful lookup. Don't always use the
58468 __nss_group_database value if it is set.
58469 * nss/nsswitch.conf (initgroups): Change action for successful db
58470 lookup to continue for compatibility.
58472 2011-05-09 Ulrich Drepper <drepper@gmail.com>
58475 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58477 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58479 * iconvdata/tst-tables.sh: Likewise.
58480 * iconvdata/cp770.c: New file.
58481 * iconvdata/cp771.c: New file.
58482 * iconvdata/cp772.c: New file.
58483 * iconvdata/cp773.c: New file.
58484 * iconvdata/cp774.c: New file.
58485 * iconvdata/testdata/CP770: New file.
58486 * iconvdata/testdata/CP770..UTF8: New file.
58487 * iconvdata/testdata/CP771: New file.
58488 * iconvdata/testdata/CP771..UTF8: New file.
58489 * iconvdata/testdata/CP772: New file.
58490 * iconvdata/testdata/CP772..UTF8: New file.
58491 * iconvdata/testdata/CP773: New file.
58492 * iconvdata/testdata/CP773..UTF8: New file.
58493 * iconvdata/testdata/CP774: New file.
58494 * iconvdata/testdata/CP774..UTF8: New file.
58496 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58498 * iconvdata/gen-8bit-gap.sh: Likewise.
58499 * iconvdata/gen-8bit.sh: Likewise.
58501 * locale/iso-639.def: Add ary entry.
58504 * locale/C-translit.h.in: Add U20A1 transliteration.
58507 * locale/iso-639.def: Add wae entry.
58508 Patch by Kevin Bortis <bortis@translate-wae.ch>.
58511 * locale/programs/localedef.c (construct_output_path): Use ssize_t
58515 * locale/C-translit.h.in: Add entry for U20B9.
58516 Patch by pravin.d.s@gmail.com.
58518 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58521 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58522 ENAMETOOLONG use generic getcwd.
58523 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58524 in rtld. Use *stat64.
58525 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58526 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58527 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58528 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58529 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58530 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58531 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58532 __fstatat64 macros.
58533 * include/dirent.h: Add libc_hidden_proto for rewinddir.
58534 * dirent/rewinddir.c: Add libc_hidden_def.
58535 * sysdeps/mach/hurd/rewinddir.c: Likewise.
58536 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
58538 * include/dirent.h (__alloc_dir): Add flags parameter.
58539 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58540 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58542 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
58543 from fdopendir if O_CLOEXEC is already set.
58545 2011-03-15 Alan Modra <amodra@gmail.com>
58547 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58548 l_tls_firstbyte_offset non-zero. Save padding offset in
58549 l_tls_firstbyte_offset for later use.
58550 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58551 freeing static tls block.
58553 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58555 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58556 where #ifdef was intended. The intent is to prevent ARG_MAX from
58557 being defined by the kernel headers.
58559 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58562 * resolv/resolv.h: Define RES_NOTLDQUERY.
58563 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58564 no-tld-query and set RES_NOTLDQUERY.
58565 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58566 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58567 modern BIND to search name as TLD unless forbidden.
58569 2011-05-07 Petr Baudis <pasky@suse.cz>
58570 Ulrich Drepper <drepper@gmail.com>
58573 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58574 (is_trusted_path): ...to here.
58575 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58576 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58577 using is_trusted_path_normalize() in setuid scripts.
58579 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58581 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58582 __BEGIN/__END_DECLS.
58584 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58586 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58587 NSS_STATUS_NOTFOUND if no record was found.
58589 2011-05-05 Andreas Schwab <schwab@redhat.com>
58591 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58592 (headers-not-in-tirpc): Remove rpc/netdb.h
58593 * resolv/netdb.h: Revert last change.
58595 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58597 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58598 circular dependency between libgcc.a and libc.a.
58600 2011-05-05 Andreas Schwab <schwab@redhat.com>
58602 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58603 * nis/Makefile: Don't install rpcsvc/*.
58604 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58605 instead of <rpc/types.h>.
58606 (MAXHOSTNAMELEN): Define.
58608 2011-05-03 Andreas Schwab <schwab@redhat.com>
58610 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58612 2011-04-28 Maciej Babinski <mbabinski@google.com>
58615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58616 gethostbyname4_r when IPv6 results are possible.
58618 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58621 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58622 _PC_PIPE_BUF handling.
58624 2011-04-30 Bruno Haible <bruno@clisp.org>
58627 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58628 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58630 * inet/getnameinfo.c (getnameinfo): Likewise.
58632 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58634 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58635 to groups setting in database lookup.
58636 * nss/nsswitch.conf: Add initgroups entry.
58638 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58641 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58643 Patch by Eric Blake <eblake@redhat.com>.
58645 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58647 * sunrpc/Makefile (need-export-routines): Add svc_run.
58648 (routines): Remove svc_run.
58649 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58650 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58651 * sunrpc/svc_run.c (svc_run): Likewise.
58652 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58654 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58657 problem in reallocation in last patch.
58659 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58661 * sunrpc/Makefile: Move inclusion of Rules.
58663 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58665 * nss/nss_files/files-initgroups.c: New file.
58666 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58667 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58668 _nss_files_initgroups_dyn.
58670 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58672 * elf/elf.h (R_ARM_IRELATIVE): Define.
58674 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58676 * po/ru.po: Update from translation team.
58678 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58680 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58683 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58686 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58687 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58688 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58689 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58690 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58692 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58694 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58696 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58700 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58703 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58705 * stdlib/bug-getcontext.c: New file.
58706 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58708 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58710 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58711 instructions into .machine "z9-109".
58712 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58713 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58715 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58717 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58718 between environment variables and auxiliary vector.
58720 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58722 * Makefile: Add rules to build linkobj/libc.so.
58723 * include/libc-symbols.h: Define libc_hidden_nolink.
58724 * include/rpc/auth.h: Mark functions which are to be hidden.
58725 * include/rpc/auth_des.h: Likewise.
58726 * include/rpc/auth_unix.h: Likewise.
58727 * include/rpc/clnt.h: Likewise.
58728 * include/rpc/des_crypt.h: Likewise.
58729 * include/rpc/key_prot.h: Likewise.
58730 * include/rpc/pmap_clnt.h: Likewise.
58731 * include/rpc/pmap_prot.h: Likewise.
58732 * include/rpc/pmap_rmt.h: Likewise.
58733 * include/rpc/rpc_msg.h: Likewise.
58734 * include/rpc/svc.h: Likewise.
58735 * include/rpc/svc_auth.h: Likewise.
58736 * include/rpc/xdr.h: Likewise.
58737 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58738 * nss/Makefile: Likewise.
58739 * sunrpc/Makefile: Don't install headers. Build library with normal
58740 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58741 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58742 for the compat linking library. Remove use of INTDEF/INTUSE.
58743 * sunrpc/auth_none.c: Likewise.
58744 * sunrpc/auth_unix.c: Likewise.
58745 * sunrpc/authdes_prot.c: Likewise.
58746 * sunrpc/authuxprot.c: Likewise.
58747 * sunrpc/clnt_gen.c: Likewise.
58748 * sunrpc/clnt_perr.c: Likewise.
58749 * sunrpc/clnt_raw.c: Likewise.
58750 * sunrpc/clnt_simp.c: Likewise.
58751 * sunrpc/clnt_tcp.c: Likewise.
58752 * sunrpc/clnt_udp.c: Likewise.
58753 * sunrpc/clnt_unix.c: Likewise.
58754 * sunrpc/des_crypt.c: Likewise.
58755 * sunrpc/des_soft.c: Likewise.
58756 * sunrpc/get_myaddr.c: Likewise.
58757 * sunrpc/key_call.c: Likewise.
58758 * sunrpc/key_prot.c: Likewise.
58759 * sunrpc/netname.c: Likewise.
58760 * sunrpc/pm_getmaps.c: Likewise.
58761 * sunrpc/pm_getport.c: Likewise.
58762 * sunrpc/pmap_clnt.c: Likewise.
58763 * sunrpc/pmap_prot.c: Likewise.
58764 * sunrpc/pmap_prot2.c: Likewise.
58765 * sunrpc/pmap_rmt.c: Likewise.
58766 * sunrpc/publickey.c: Likewise.
58767 * sunrpc/rpc_cmsg.c: Likewise.
58768 * sunrpc/rpc_common.c: Likewise.
58769 * sunrpc/rpc_dtable.c: Likewise.
58770 * sunrpc/rpc_prot.c: Likewise.
58771 * sunrpc/rpc_thread.c: Likewise.
58772 * sunrpc/rtime.c: Likewise.
58773 * sunrpc/svc.c: Likewise.
58774 * sunrpc/svc_auth.c: Likewise.
58775 * sunrpc/svc_authux.c: Likewise.
58776 * sunrpc/svc_raw.c: Likewise.
58777 * sunrpc/svc_run.c: Likewise.
58778 * sunrpc/svc_simple.c: Likewise.
58779 * sunrpc/svc_tcp.c: Likewise.
58780 * sunrpc/svc_udp.c: Likewise.
58781 * sunrpc/svc_unix.c: Likewise.
58782 * sunrpc/svcauth_des.c: Likewise.
58783 * sunrpc/xcrypt.c: Likewise.
58784 * sunrpc/xdr.c: Likewise.
58785 * sunrpc/xdr_array.c: Likewise.
58786 * sunrpc/xdr_float.c: Likewise.
58787 * sunrpc/xdr_intXX_t.c: Likewise.
58788 * sunrpc/xdr_mem.c: Likewise.
58789 * sunrpc/xdr_rec.c: Likewise.
58790 * sunrpc/xdr_ref.c: Likewise.
58791 * sunrpc/xdr_sizeof.c: Likewise.
58792 * sunrpc/xdr_stdio.c: Likewise.
58794 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58797 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58798 * sysdeps/ia64/dl-tls.h: Likewise.
58799 * sysdeps/powerpc/dl-tls.h: Likewise.
58800 * sysdeps/s390/dl-tls.h: Likewise.
58801 * sysdeps/sh/dl-tls.h: Likewise.
58802 * sysdeps/sparc/dl-tls.h: Likewise.
58803 * sysdeps/x86_64/dl-tls.h: Likewise.
58804 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58806 2011-03-14 Andreas Schwab <schwab@redhat.com>
58808 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58809 rpath element also skip the following colon.
58810 (expand_dynamic_string_token): Add is_path parameter and pass
58811 down to DL_DST_REQUIRED and _dl_dst_substitute.
58812 (decompose_rpath): Call expand_dynamic_string_token with
58813 non-zero is_path. Ignore empty rpaths.
58814 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58817 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58822 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58825 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58826 Patch by Filipe David Manana <fdmanana@apache.org>.
58828 2011-04-07 Andreas Schwab <schwab@redhat.com>
58830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58831 Maintain aligned stack.
58832 (CHECK_RSP): Remove unused macro.
58834 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58836 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58837 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58839 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58841 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58843 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58845 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58848 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58849 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58850 * sysdeps/x86_64/memmove.c: New file.
58851 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58852 (memcpy): Renamed to ...
58853 (__new_memcpy): This.
58854 (memcpy): Provide GLIBC_2_14 memcpy.
58855 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58856 (memcpy): Provide GLIBC_2_2_5 memcpy.
58858 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58861 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58863 2011-03-30 Andreas Schwab <schwab@redhat.com>
58865 * misc/syncfs.c: New file.
58866 * misc/Makefile (routines): Add syncfs.
58867 * posix/unistd.h: Declare syncfs.
58868 * sysdeps/unix/syscalls.list: Add syncfs.
58870 2011-04-01 Andreas Schwab <schwab@redhat.com>
58872 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58874 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58875 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58879 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58880 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58882 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58885 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58886 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58888 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58890 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58892 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58893 sync_file_range.c with -fexceptions.
58894 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58895 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58896 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58897 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58898 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58899 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58900 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58901 sync_file_range as cancellation point
58902 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58903 now a wrapper around __call_sync_file_range with cancellation handling.
58904 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58905 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58906 function name to __call_sync_file_range.
58907 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58908 Add call_sync_file_range.
58910 2011-04-01 Andreas Schwab <schwab@redhat.com>
58912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58915 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58917 * iconv/iconv.h: Fix typo in comment.
58918 * io/fcntl.h: Likewise.
58919 * libio/stdio.h: Likewise.
58920 * posix/spawn.h: Likewise.
58921 * posix/unistd.h: Likewise.
58922 * stdlib/stdlib.h: Likewise.
58923 * time/time.h: Likewise.
58924 * wcsmbs/wchar.h: Likewise.
58926 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58927 open_by_handle): Add.
58928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58929 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58930 Augment a few comments.
58931 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58932 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58933 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58935 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58936 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58939 * io/fcntl.h (AT_EMPTY_PATH): Define.
58941 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58943 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58944 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58945 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58947 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58948 * Versions.def: Add GLIBC_2.14.
58949 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58952 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58956 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58958 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58961 * string/test-strncmp.c (do_page_test): New function.
58962 (check2): Likewise.
58963 (test_main): Call check2.
58964 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58966 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58969 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58970 Handle cache information in CPU leaf 4.
58971 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58973 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58976 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58977 character representation.
58978 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58980 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58982 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58983 END(__isnan) to END(__isnanf) to match function entry point/label
58984 EALIGN(__isnanf,...).
58986 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58988 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58990 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58993 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58994 copy from the symbol referenced in the relocation to initialize the
58996 Patch by Piotr Bury <pbury@goahead.com>.
58997 * elf/Makefile: Add rules to build and tst-unique3.
58998 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58999 * elf/tst-unique3.cc: New file.
59000 * elf/tst-unique3.h: New file.
59001 * elf/tst-unique3lib.cc: New file.
59002 * elf/tst-unique3lib2.cc: New file.
59004 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59006 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59008 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59009 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59012 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59014 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59015 to-be-loaded object along a path to loader is ld.so.
59017 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59018 Ulrich Drepper <drepper@gmail.com>
59020 * sysdeps/x86_64/memset.S: After aligning destination, code
59021 branches to different locations depending on the value of
59022 misalignment, when multiarch is enabled. Fix this.
59024 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59026 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59027 Set _x86_64_preferred_memory_instruction for AMD processsors.
59028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59029 Set bit_Prefer_SSE_for_memop for AMD processors.
59031 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59033 * libio/fmemopen.c (fmemopen): Optimize a bit.
59035 2011-03-03 Andreas Schwab <schwab@redhat.com>
59037 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59039 2011-03-03 Roland McGrath <roland@redhat.com>
59041 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59043 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59045 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59046 __bzero_ultra1 instead of __memset_ultra1.
59048 2011-02-23 Andreas Schwab <schwab@redhat.com>
59049 Ulrich Drepper <drepper@gmail.com>
59052 * include/link.h (struct link_map): Add l_orig_initfini.
59053 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59054 returning unsuccessfully.
59055 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59056 close of a file loaded at startup, restore the original l_initfini
59058 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59059 list, store the pointer.
59060 * elf/Makefile ($(objpfx)noload-mem): New rule.
59061 (noload-ENV): Define.
59062 (tests): Add $(objpfx)noload-mem.
59063 * elf/noload.c: Include <memcheck.h>.
59064 (main): Call mtrace. Close all opened handles.
59066 2011-02-17 Andreas Schwab <schwab@redhat.com>
59069 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59070 dependencies are missing.
59072 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59074 Fix __if_freereq crash: Unlike the generic version which uses free,
59076 * sysdeps/mach/hurd/ifreq.h: New file.
59078 2011-01-27 Petr Baudis <pasky@suse.cz>
59079 Ulrich Drepper <drepper@gmail.com>
59082 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59083 to extend_alloca().
59084 * stdio-common/bug23.c: New file.
59085 * stdio-common/Makefile (tests): Add bug23.
59087 2010-09-28 Andreas Schwab <schwab@redhat.com>
59088 Ulrich Drepper <drepper@gmail.com>
59091 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59092 before performing relro protection. At old place add assertion
59093 to make sure nothing changed.
59095 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59096 Glauber de Oliveira Costa <glommer@gmail.com>
59098 * elf/elf.h: Add new ARM TLS relocs.
59100 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59103 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59105 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59107 * sysdeps/wordsize-64/tst-writev.c: New file.
59109 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59111 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59112 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59113 insns in _dl_start to prevent a TOC reference before relocs are
59116 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59119 * Makeconfig: Remove RANLIB definition.
59120 * Makerules: Don't use RANLIB.
59121 * aclocal.m4: Remove ranlib test.
59122 * configure.in: No need to check for ranlib.
59123 * elf/rtld-Rules: Don't use RANLIB.
59125 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59127 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59129 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59130 inclusion protection macro.
59132 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59133 SIGRTMIN and SIGRTMAX and print information in that case only when
59134 SIGRTMIN is defined.
59136 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59138 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59139 arginfo fn returning -1.
59141 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59142 and thousands string is zero terminated.
59144 2011-02-03 Andreas Schwab <schwab@redhat.com>
59146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59147 sysdeps/unix/sysv/linux/bits/socket.h.
59149 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59151 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59152 (__CPU_COUNT): Remove old macros.
59153 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59154 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59155 (__CPU_ALLOC, __CPU_FREE): Add macros.
59156 (__sched_cpualloc, __sched_cpufree): Add declarations.
59158 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59160 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59161 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59162 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59163 (readdhstai): Return value of addhstaiX call.
59164 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59165 (addgrbyX): Return value returned by cache_addgr.
59166 (readdgrbyname): Return value returned by addgrbyX.
59167 (readdgrbygid): Likewise.
59168 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59169 (addpwbyX): Return value returned by cache_addpw.
59170 (readdpwbyname): Return value returned by addhstbyX.
59171 (readdpwbyuid): Likewise.
59172 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59173 (addservbyX): Return value returned by cache_addserv.
59174 (readdservbyname): Return value returned by addservbyX:
59175 (readdservbyport): Likewise.
59176 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59177 (addhstbyX): Return value returned by cache_addhst.
59178 (readdhstbyname): Return value returned by addhstbyX.
59179 (readdhstbyaddr): Likewise.
59180 (readdhstbynamev6): Likewise.
59181 (readdhstbyaddrv6): Likewise.
59182 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59183 (readdinitgroups): Return value returned by addinitgroupsX.
59184 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59185 (prune_cache): Keep track of timeout value of re-added entries.
59186 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59187 * nscd/nscd.h: Adjust prototypes of readd* functions.
59189 2011-02-04 Roland McGrath <roland@redhat.com>
59191 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59192 (nis_stats): Likewise.
59193 * nis/nis_modify.c (nis_modify): Likewise.
59194 * nis/nis_remove.c (nis_remove): Likewise.
59195 * nis/nis_add.c (nis_add): Likewise.
59197 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59199 * posix/fnmatch_loop.c: Add some consts.
59201 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59203 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59206 * config.make.in (config-cflags-novzeroupper): Define.
59207 * configure.in: Substitute libc_cv_cc_novzeroupper.
59208 * elf/Makefile (AVX-CFLAGS): Define.
59209 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59210 (CFLAGS-tst-auditmod4a.c): Likewise.
59211 (CFLAGS-tst-auditmod4b.c): Likewise.
59212 (CFLAGS-tst-auditmod6b.c): Likewise.
59213 (CFLAGS-tst-auditmod6c.c): Likewise.
59214 (CFLAGS-tst-auditmod7b.c): Likewise.
59215 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59217 2011-02-02 Ulrich Drepper <drepper@gmail.com>
59219 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59220 function to the callback.
59221 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59223 2011-02-02 Andreas Schwab <schwab@redhat.com>
59225 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59228 2011-01-19 Ulrich Drepper <drepper@gmail.com>
59231 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59233 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59235 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59238 * elf/Makefile: Add rules to build and run new test.
59239 * elf/tst-initorder.c: New file.
59240 * elf/tst-initorder.exp: New file.
59241 * elf/tst-initordera1.c: New file.
59242 * elf/tst-initordera2.c: New file.
59243 * elf/tst-initordera3.c: New file.
59244 * elf/tst-initordera4.c: New file.
59245 * elf/tst-initorderb1.c: New file.
59246 * elf/tst-initorderb2.c: New file.
59247 * elf/tst-order-a1.c: New file.
59248 * elf/tst-order-a2.c: New file.
59249 * elf/tst-order-a3.c: New file.
59250 * elf/tst-order-a4.c: New file.
59251 * elf/tst-order-b1.c: New file.
59252 * elf/tst-order-b2.c: New file.
59253 * elf/tst-order-main.c: New file.
59254 New test case by George Gensure <werkt0@gmail.com>.
59256 2010-10-01 Andreas Schwab <schwab@redhat.com>
59258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59259 decoding ACE if AI_CANONIDN.
59261 2011-01-18 Ulrich Drepper <drepper@gmail.com>
59263 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59265 2011-01-17 Ulrich Drepper <drepper@gmail.com>
59267 * version.h (RELEASE): Bump for 2.13 release.
59268 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59270 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59272 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59274 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59275 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59276 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59277 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59278 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59279 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59281 * posix/getconf.c: Update copyright year.
59282 * catgets/gencat.c: Likewise.
59283 * csu/version.c: Likewise.
59284 * debug/catchsegv.sh: Likewise.
59285 * debug/xtrace.sh: Likewise.
59286 * elf/ldconfig.c: Likewise.
59287 * elf/ldd.bash.in: Likewise.
59288 * elf/sprof.c (print_version): Likewise.
59289 * iconv/iconv_prog.c: Likewise.
59290 * iconv/iconvconfig.c: Likewise.
59291 * locale/programs/locale.c: Likewise.
59292 * locale/programs/localedef.c: Likewise.
59293 * malloc/memusage.sh: Likewise.
59294 * malloc/mtrace.pl: Likewise.
59295 * nscd/nscd.c (print_version): Likewise.
59296 * nss/getent.c: Likewise.
59298 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59299 PF_CAIF, and PF_ALG.
59300 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59302 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
59304 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59305 (modules-names): Use them.
59306 (ifunc-test-modules, ifunc-pie-tests): Define.
59307 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59308 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59309 (test-extras): Likewise.
59310 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59311 $(compile-command.c).
59312 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59313 (all-built-dso): Define.
59314 (check-textrel.out, check-execstack.out): Depend on it.
59316 * configure.in: Don't override --enable-multi-arch.
59318 2011-01-15 Ulrich Drepper <drepper@gmail.com>
59321 * nscd/hstcache.c (tryagain): Define.
59322 (cache_addhst): Return tryagain not notfound for temporary errors.
59323 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59326 2011-01-14 Ulrich Drepper <drepper@gmail.com>
59329 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59330 to make the syscall.
59331 * sysdeps/unix/sysv/linux/setgroups.c: New file.
59334 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59335 and fall back to matching as normal character if the string ends before
59336 the matching ']' is found. This is what POSIX requires.
59337 * posix/testfnm.c: Adjust test result.
59338 * posix/globtest.sh: Adjust test result. Add new test.
59339 * posix/tst-fnmatch.input: Likewise.
59340 * posix/tst-fnmatch2.c: Add new test.
59342 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
59344 * elf/Makefile (check-execstack): Revert last change. Depend on
59346 (check-execstack.h): New target.
59347 (generated): Add check-execstack.h.
59348 * elf/check-execstack.c: Include "check-execstack.h".
59349 (main): Revert last change.
59350 (handle_file): Return zero if GNU_STACK is absent and
59351 DEFAULT_STACK_PERMS doesn't include PF_X.
59353 2011-01-13 Ulrich Drepper <drepper@gmail.com>
59355 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59356 in child fails because the descriptor is already closed.
59357 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59358 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59359 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59362 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59366 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59367 temporary buffer used to handle multi lookups locally.
59368 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59370 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59372 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59375 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
59377 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59378 alignment for SSE2.
59380 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59383 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59384 characters. When rounding increased number of integer digits recompute
59386 * stdio-common/tst-grouping.c: New file.
59387 * stdio-common/Makefile: Add rules to build and run tst-grouping.
59389 2011-01-09 Ulrich Drepper <drepper@gmail.com>
59391 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59392 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
59394 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59396 * bits/select.h: Likewise.
59398 2011-01-08 Ulrich Drepper <drepper@gmail.com>
59400 * po/ja.po: Update from translation team.
59402 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
59405 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59406 implementation just like for lxstat, fxstatat, et al.
59408 2010-12-27 Jim Meyering <meyering@redhat.com>
59411 * posix/regexec.c (build_trtable): Return failure indication upon
59412 calloc failure. Otherwise, re_search_internal could infloop on OOM.
59414 2010-12-25 Ulrich Drepper <drepper@gmail.com>
59417 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59418 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59419 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59420 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59423 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59426 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59427 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59429 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
59431 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59432 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59433 script has SORT_BY_INIT_PRIORITY.
59434 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59435 NO_CTORS_DTORS_SECTIONS is defined.
59436 * elf/soinit.c: Likewise.
59437 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59438 NO_CTORS_DTORS_SECTIONS is defined.
59439 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59440 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59441 * sysdeps/sh/init-first.c: Likewise.
59442 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59444 2010-12-24 Ulrich Drepper <drepper@gmail.com>
59446 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59447 always use the slow path.
59449 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
59451 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59452 similar rule which adds the sysdep directories to the header search in
59453 order to pick up the correct platform stackinfo.h.
59454 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59455 perform test if it is, otherwise return successfully without testing.
59456 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59457 DEFAULT_STACK_PERMS define in stackinfo.h.
59458 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59459 defined in stackinfo.h.
59460 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59461 DEFAULT_STACK_PERMS defined in stackinfo.h.
59462 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59463 * sysdeps/ia64/stackinfo.h: Likewise.
59464 * sysdeps/s390/stackinfo.h: Likewise.
59465 * sysdeps/sh/stackinfo.h: Likewise.
59466 * sysdeps/sparc/stackinfo.h: Likewise.
59467 * sysdeps/x86_64/stackinfo.h: Likewise.
59468 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59469 PF_X for powerpc64. Retain PF_X for powerpc32.
59471 2010-12-19 Ulrich Drepper <drepper@gmail.com>
59473 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59475 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59476 GETDENTS_64BIT_ALIGNED.
59478 2010-12-14 Ulrich Drepper <dreper@gmail.com>
59480 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59482 2010-12-10 Andreas Schwab <schwab@redhat.com>
59484 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59487 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59488 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59490 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59491 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59493 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59496 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59499 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59501 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59503 2010-12-03 Ulrich Drepper <drepper@gmail.com>
59505 * po/it.po: Update from translation team.
59507 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
59509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59512 2010-11-30 Ulrich Drepper <drepper@gmail.com>
59514 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59516 2010-11-24 Andreas Schwab <schwab@redhat.com>
59518 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59520 (gaih_getanswer_slice): Likewise.
59522 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59524 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59526 2010-05-31 Petr Baudis <pasky@suse.cz>
59529 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59530 silently even in the chroot mode.
59532 2010-11-22 Ulrich Drepper <drepper@gmail.com>
59534 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59535 last patch a bit. Pretty printing
59537 2010-05-31 Petr Baudis <pasky@suse.cz>
59540 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59541 initialization of skip_initgroups_dyn.
59543 2010-11-19 Ulrich Drepper <drepper@gmail.com>
59545 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59546 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59548 2010-11-16 Ulrich Drepper <drepper@gmail.com>
59550 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59552 2010-11-11 Andreas Schwab <schwab@redhat.com>
59554 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59555 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59556 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59557 ($(objpfx)tst-fnmatch-mem): New rule.
59558 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59559 * posix/tst-fnmatch.c (main): Call mtrace.
59561 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59564 Support Intel processor model 6 and model 0x2c.
59566 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59568 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59571 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59574 * string/test-strncasecmp.c (check_result): New function.
59575 (do_one_test): Use it.
59576 (check1): New function.
59577 (test_main): Use it.
59578 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59579 Support strcasecmp and strncasecmp.
59581 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59584 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59585 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59587 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59589 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59593 * sysdeps/x86_64/multiarch/bzero.S: New file.
59594 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59595 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59596 * sysdeps/x86_64/multiarch/memset.S: New file.
59597 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59599 Set bit_Prefer_SSE_for_memop for Intel processors.
59600 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59602 (index_Prefer_SSE_for_memop): Define.
59603 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59605 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59607 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59608 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59610 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59613 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59614 (__x86_64_raw_data_cache_size_half): Likewise.
59615 (__x86_64_raw_shared_cache_size): Likewise.
59616 (__x86_64_raw_shared_cache_size_half): Likewise.
59618 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59619 (__x86_64_raw_data_cache_size_half): Likewise.
59620 (__x86_64_raw_shared_cache_size): Likewise.
59621 (__x86_64_raw_shared_cache_size_half): Likewise.
59622 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59623 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59624 and __x86_64_raw_shared_cache_size_half. Round
59625 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59626 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59627 to multiple of 256 bytes.
59629 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59632 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59633 of inacessible symlinks. Verify result of symlink before returning it.
59634 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59635 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59637 2010-10-28 Erich Ritz <erichritz@gmail.com>
59639 * math/math.h (isinf): Fix typo in comment.
59641 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59643 * po/da.po: Update from translation team.
59645 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59647 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59648 is added to the list.
59650 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59651 Ulrich Drepper <drepper@gmail.com>
59653 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59654 the global list here. Move code to...
59655 (_dl_add_to_namespace_list): ...here. New function.
59656 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59657 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59658 * elf/dl-load.c (lose): Don't remove the element from the list.
59659 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59660 (_dl_map_object): Likewise.
59662 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59665 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59666 into all bytes of SSE register.
59667 Patch by Richard Li <richardpku@gmail.com>.
59669 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59672 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59675 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59677 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59678 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59679 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59680 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59685 2010-10-22 Andreas Schwab <schwab@redhat.com>
59687 * include/dlfcn.h (__RTLD_SECURE): Define.
59688 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59689 mode & __RTLD_SECURE instead.
59690 (open_path): Rename preloaded parameter to secure.
59691 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59692 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59693 * elf/dl-deps.c (openaux): Likewise.
59694 * elf/rtld.c (struct map_args): Remove is_preloaded.
59695 (map_doit): Don't use it.
59696 (dl_main): Likewise.
59697 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59698 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59700 2010-09-09 Andreas Schwab <schwab@redhat.com>
59702 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59703 (sysd-rules-targets): Remove duplicates.
59704 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59705 rtld-%.$o dependency.
59707 2010-10-18 Andreas Schwab <schwab@redhat.com>
59709 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59710 _dl_map_object do it.
59712 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59714 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59715 fast fma builtins, define the macros in the C99 standard.
59716 (FP_FAST_FMAF): Likewise.
59717 (FP_FAST_FMAL): Likewise.
59718 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59720 * bits/mathdef.h: Update copyright year.
59721 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59723 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59725 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59726 builtins, define the macros in the C99 standard.
59727 (FP_FAST_FMAF): Likewise.
59728 (FP_FAST_FMAL): Likewise.
59729 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59731 (FP_FAST_FMAF): Likewise.
59733 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59736 * math/libm-test.inc (fma_test): Some new testcases.
59737 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59738 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59739 y and infinite z. Do multiplication by C already in long double.
59740 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59742 y and infinite z. Do bitwise or of inexact bit into u.d.
59743 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59744 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59745 * sysdeps/i386/fpu/s_fma.S: Removed.
59746 * sysdeps/i386/fpu/s_fmal.S: Removed.
59748 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59751 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59753 computation is not scheduled after fetestexcept. Fix value
59754 of minimum denormal long double.
59756 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59759 * math/libm-test.inc (fma_test): Add some more tests.
59760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59763 2010-10-15 Andreas Schwab <schwab@redhat.com>
59765 * scripts/data/localplt-s390-linux-gnu.data: New file.
59766 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59768 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59771 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59772 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59774 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59776 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59778 if one of x and y is very large and the other is subnormal.
59779 * sysdeps/s390/fpu/s_fmaf.c: New file.
59780 * sysdeps/s390/fpu/s_fma.c: New file.
59781 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59782 * sysdeps/powerpc/fpu/s_fma.S: New file.
59783 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59784 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59785 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59787 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59790 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59792 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59793 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59794 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59795 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59796 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59797 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59798 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59800 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59803 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59804 * posix/bug-regex31.input: Add test case.
59806 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59808 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59809 * posix/bug-regex31.input: New file.
59812 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59813 (parse_sub_exp): Fix last change, use postorder.
59815 * posix/bug-regex31.c: New file.
59816 * posix/Makefile: Add rules to build and run bug-regex31.
59818 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59821 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59824 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59825 to have entries in sys_siglist.
59828 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59831 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59834 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59835 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59836 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59837 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59838 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59839 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59840 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59841 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59842 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59843 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59844 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59845 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59846 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59847 * math/ftestexcept.c (fetestexcept): Likewise.
59848 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59849 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59850 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59851 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59852 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59853 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59854 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59856 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59859 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59862 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59864 * string/bug-strstr1.c: New file.
59865 * string/Makefile: Add rules to build and run bug-strstr1.
59867 2010-10-05 Eric Blake <eblake@redhat.com>
59870 * string/str-two-way.h (two_way_long_needle): Always clear memory
59871 when skipping input due to the shift table.
59873 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59876 * malloc/mcheck.c: Handle large requests.
59879 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59880 for strncmp and strncasecmp.
59881 * string/stratcliff.c: Add tests for strcmp and strncmp.
59882 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59884 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59886 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59889 2010-09-30 Andreas Jaeger <aj@suse.de>
59891 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59892 (CGROUP_SUPER_MAGIC): Define.
59893 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59894 Handle btrfs and cgroup file systems.
59895 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59898 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59900 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59901 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59903 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59906 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59907 trying to locate the ELF header.
59909 2010-09-27 Andreas Schwab <schwab@redhat.com>
59912 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59913 Mask out sign-bit copies when constructing f_fsid.
59915 2010-09-24 Petr Baudis <pasky@suse.cz>
59917 * debug/stack_chk_fail_local.c: Add missing licence exception.
59918 * debug/warning-nop.c: Likewise.
59920 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59922 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59923 implementing getdents64 using getdents syscall, set d_type if
59924 __ASSUME_GETDENTS32_D_TYPE.
59926 2010-09-16 Andreas Schwab <schwab@redhat.com>
59928 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59929 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59931 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59934 * posix/unistd.h: Undo change of feature selection for ftruncate from
59937 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59939 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59942 2010-09-20 Andreas Schwab <schwab@redhat.com>
59944 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59946 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59948 2010-09-14 Andreas Schwab <schwab@redhat.com>
59950 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59951 variables after CHECK_SP call.
59952 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59954 2010-09-13 Andreas Schwab <schwab@redhat.com>
59955 Ulrich Drepper <drepper@redhat.com>
59957 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59958 re-relocationg ld.so.
59959 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59960 _dl_init_paths call.
59961 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59964 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59966 * resolv/res_init.c (__res_vinit): Count the default server we added.
59968 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59969 Ulrich Drepper <drepper@redhat.com>
59972 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59973 (____longjmp_chk): Use %ebx for saving value across system call.
59976 2010-09-06 Andreas Schwab <schwab@redhat.com>
59978 * manual/Makefile: Don't mix pattern rules with normal rules.
59980 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59982 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59984 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59985 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59986 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59987 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59988 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59991 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59994 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59995 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59997 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59999 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60000 * sysdeps/x86_64/addmul_1.S: Likewise.
60001 * sysdeps/x86_64/lshift.S: Likewise.
60002 * sysdeps/x86_64/mul_1.S: Likewise.
60003 * sysdeps/x86_64/rshift.S: Likewise.
60004 * sysdeps/x86_64/sub_n.S: Likewise.
60005 * sysdeps/x86_64/submul_1.S: Likewise.
60007 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60009 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60010 Define __sched_param instead of SCHED_* and sched_param when
60011 <bits/sched.h> is included with __need_schedparam defined.
60012 * bits/sched.h [__need_schedparam]
60013 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60014 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60015 (__defined_schedparam): Define to 1.
60016 (__sched_param): New structure, identical to sched_param.
60017 (__need_schedparam): Undefine.
60019 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60021 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60022 (epoll_create1): Declare.
60024 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60026 2010-08-31 Andreas Schwab <schwab@redhat.com>
60029 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60030 shifting retval into place.
60032 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60034 * nis/rpcsvc/nis.h: Update copyright notice.
60035 * nis/rpcsvc/nis.x: Likewise.
60036 * nis/rpcsvc/nis_callback.h: Likewise.
60037 * nis/rpcsvc/nis_callback.x: Likewise.
60038 * nis/rpcsvc/nis_object.x: Likewise.
60039 * nis/rpcsvc/nis_tags.h: Likewise.
60040 * nis/rpcsvc/yp.h: Likewise.
60041 * nis/rpcsvc/yp.x: Likewise.
60042 * nis/rpcsvc/ypupd.h: Likewise.
60043 * nis/yp_xdr.c: Likewise.
60044 * nis/ypupdate_xdr.c: Likewise.
60046 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60047 mainly the body of pmap_getport. Add parameters to specify timeouts.
60048 (pmap_getport): Use __libc_rpc_getport.
60049 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60050 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60051 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60053 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60058 2010-08-27 Roland McGrath <roland@redhat.com>
60060 * sysdeps/i386/i686/multiarch/Makefile
60061 (CFLAGS-varshift.c): New variable.
60063 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60065 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60066 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60068 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60070 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60072 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60074 * sysdeps/x86_64/strlen.S: Unroll the loop.
60075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60076 strlen-sse2 strlen-sse2-bsf.
60077 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60078 __strlen_no_bsf if bit_Slow_BSF is set.
60079 (__strlen_sse42): Removed.
60080 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60081 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60083 2010-08-25 Roland McGrath <roland@redhat.com>
60085 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60086 * sysdeps/x86_64/multiarch/varshift.c: New file.
60087 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60088 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60089 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60090 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60092 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60095 strlen-sse2 strlen-sse2-bsf.
60096 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60097 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60098 (__strlen_sse2): Removed.
60099 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60100 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60102 bit_Slow_BSF for Atom.
60103 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60104 (index_Slow_BSF): Define.
60105 (HAS_SLOW_BSF): Define.
60107 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60110 * resolv/res_init.c (__res_vinit): When no server address at all
60111 is given default to loopback.
60113 2010-08-24 Roland McGrath <roland@redhat.com>
60115 * configure.in: Remove config-name.h generation.
60116 * configure: Regenerated.
60117 * config-name.in: File removed.
60118 * scripts/config-uname.sh: New file.
60119 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60120 ($(objdir)config-name.h): New target.
60122 * sunrpc/rpc_parse.h: Avoid nested comment.
60124 2010-08-24 Richard Henderson <rth@redhat.com>
60125 Ulrich Drepper <drepper@redhat.com>
60126 H.J. Lu <hongjiu.lu@intel.com>
60128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60130 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60131 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60132 _mm_alignr_epi8 with _mm_loadu_si128.
60133 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60134 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60135 (__m128i_shift_right): Removed.
60136 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60137 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60138 * sysdeps/x86_64/multiarch/varshift.h: New file.
60139 * sysdeps/x86_64/multiarch/varshift.S: New file.
60141 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60143 * configure.in: Move assembler checks to before sysdep dir checking.
60145 2010-08-20 Petr Baudis <pasky@suse.cz>
60147 * LICENSES: Sync the sunrpc license.
60149 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60151 * sunrpc/auth_des.c: Update copyright notice once again.
60152 * sunrpc/auth_none.c: Likewise.
60153 * sunrpc/auth_unix.c: Likewise.
60154 * sunrpc/authdes_prot.c: Likewise.
60155 * sunrpc/authuxprot.c: Likewise.
60156 * sunrpc/bindrsvprt.c: Likewise.
60157 * sunrpc/clnt_gen.c: Likewise.
60158 * sunrpc/clnt_perr.c: Likewise.
60159 * sunrpc/clnt_raw.c: Likewise.
60160 * sunrpc/clnt_simp.c: Likewise.
60161 * sunrpc/clnt_tcp.c: Likewise.
60162 * sunrpc/clnt_udp.c: Likewise.
60163 * sunrpc/clnt_unix.c: Likewise.
60164 * sunrpc/des_crypt.c: Likewise.
60165 * sunrpc/des_soft.c: Likewise.
60166 * sunrpc/get_myaddr.c: Likewise.
60167 * sunrpc/getrpcport.c: Likewise.
60168 * sunrpc/key_call.c: Likewise.
60169 * sunrpc/key_prot.c: Likewise.
60170 * sunrpc/openchild.c: Likewise.
60171 * sunrpc/pm_getmaps.c: Likewise.
60172 * sunrpc/pm_getport.c: Likewise.
60173 * sunrpc/pmap_clnt.c: Likewise.
60174 * sunrpc/pmap_prot.c: Likewise.
60175 * sunrpc/pmap_prot2.c: Likewise.
60176 * sunrpc/pmap_rmt.c: Likewise.
60177 * sunrpc/rpc/auth.h: Likewise.
60178 * sunrpc/rpc/auth_unix.h: Likewise.
60179 * sunrpc/rpc/clnt.h: Likewise.
60180 * sunrpc/rpc/des_crypt.h: Likewise.
60181 * sunrpc/rpc/key_prot.h: Likewise.
60182 * sunrpc/rpc/netdb.h: Likewise.
60183 * sunrpc/rpc/pmap_clnt.h: Likewise.
60184 * sunrpc/rpc/pmap_prot.h: Likewise.
60185 * sunrpc/rpc/pmap_rmt.h: Likewise.
60186 * sunrpc/rpc/rpc.h: Likewise.
60187 * sunrpc/rpc/rpc_des.h: Likewise.
60188 * sunrpc/rpc/rpc_msg.h: Likewise.
60189 * sunrpc/rpc/svc.h: Likewise.
60190 * sunrpc/rpc/svc_auth.h: Likewise.
60191 * sunrpc/rpc/types.h: Likewise.
60192 * sunrpc/rpc/xdr.h: Likewise.
60193 * sunrpc/rpc_clntout.c: Likewise.
60194 * sunrpc/rpc_cmsg.c: Likewise.
60195 * sunrpc/rpc_common.c: Likewise.
60196 * sunrpc/rpc_cout.c: Likewise.
60197 * sunrpc/rpc_dtable.c: Likewise.
60198 * sunrpc/rpc_hout.c: Likewise.
60199 * sunrpc/rpc_main.c: Likewise.
60200 * sunrpc/rpc_parse.c: Likewise.
60201 * sunrpc/rpc_parse.h: Likewise.
60202 * sunrpc/rpc_prot.c: Likewise.
60203 * sunrpc/rpc_sample.c: Likewise.
60204 * sunrpc/rpc_scan.c: Likewise.
60205 * sunrpc/rpc_scan.h: Likewise.
60206 * sunrpc/rpc_svcout.c: Likewise.
60207 * sunrpc/rpc_tblout.c: Likewise.
60208 * sunrpc/rpc_util.c: Likewise.
60209 * sunrpc/rpc_util.h: Likewise.
60210 * sunrpc/rpcinfo.c: Likewise.
60211 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60212 * sunrpc/rpcsvc/key_prot.x: Likewise.
60213 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60214 * sunrpc/rpcsvc/mount.x: Likewise.
60215 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60216 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60217 * sunrpc/rpcsvc/rex.x: Likewise.
60218 * sunrpc/rpcsvc/rstat.x: Likewise.
60219 * sunrpc/rpcsvc/rusers.x: Likewise.
60220 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60221 * sunrpc/rpcsvc/spray.x: Likewise.
60222 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60223 * sunrpc/rtime.c: Likewise.
60224 * sunrpc/svc.c: Likewise.
60225 * sunrpc/svc_auth.c: Likewise.
60226 * sunrpc/svc_authux.c: Likewise.
60227 * sunrpc/svc_raw.c: Likewise.
60228 * sunrpc/svc_run.c: Likewise.
60229 * sunrpc/svc_simple.c: Likewise.
60230 * sunrpc/svc_tcp.c: Likewise.
60231 * sunrpc/svc_udp.c: Likewise.
60232 * sunrpc/svc_unix.c: Likewise.
60233 * sunrpc/svcauth_des.c: Likewise.
60234 * sunrpc/xcrypt.c: Likewise.
60235 * sunrpc/xdr.c: Likewise.
60236 * sunrpc/xdr_array.c: Likewise.
60237 * sunrpc/xdr_float.c: Likewise.
60238 * sunrpc/xdr_mem.c: Likewise.
60239 * sunrpc/xdr_rec.c: Likewise.
60240 * sunrpc/xdr_ref.c: Likewise.
60241 * sunrpc/xdr_sizeof.c: Likewise.
60242 * sunrpc/xdr_stdio.c: Likewise.
60244 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60247 2010-08-19 Andreas Schwab <schwab@redhat.com>
60249 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60251 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
60253 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60254 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60255 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60256 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60257 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60258 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60259 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60260 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60261 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60262 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60263 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60264 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60265 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60266 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60268 2010-07-26 Anton Blanchard <anton@samba.org>
60270 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60271 * malloc/arena.c (heap_trim): Likewise.
60273 2010-08-16 Ulrich Drepper <drepper@redhat.com>
60275 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60278 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60280 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
60282 * sysdeps/i386/elf/Makefile: New file.
60284 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60286 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60287 from fanotify_init.
60288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60289 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60291 2010-08-15 Ulrich Drepper <drepper@redhat.com>
60293 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60295 * sysdeps/multiarch/strcmp.S: Likewise.
60297 2010-08-14 Ulrich Drepper <drepper@redhat.com>
60299 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60300 strncase_l-nonascii.
60301 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60302 Add strncase_l-ssse3.
60303 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60304 * sysdeps/x86_64/strcmp.S: Likewise.
60305 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60306 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60307 * sysdeps/x86_64/strncase.S: New file.
60308 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60309 * sysdeps/x86_64/strncase_l.S: New file.
60310 * string/Makefile (strop-tests): Add strncasecmp.
60311 * string/test-strncasecmp.c: New file.
60313 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60316 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60317 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60319 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60321 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60323 2010-08-12 Ulrich Drepper <drepper@redhat.com>
60325 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60326 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60327 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60329 2010-05-01 Alan Modra <amodra@gmail.com>
60331 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60332 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60333 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60334 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60335 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60336 tidying. Don't tail-call __sigjmp_save for static lib.
60337 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60339 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60340 (CALL_MCOUNT): Add eh info, and nop after bl.
60341 (TAIL_CALL_SYSCALL_ERROR): New macro.
60342 (PSEUDO_RET): Use it.
60343 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60344 Correct save location of integer regs and cr.
60345 (_dl_profile_resolve): Correct cr save location. Delete nops
60346 after bl when SHARED. Reduce cfi size a little by better
60347 placement of cfi directives.
60348 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60349 make a stack frame. Instead use parm save area as a temp.
60350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60351 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
60352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60353 Don't make a stack frame for parent, use parm save area.
60354 Increase child stack frame to 112 bytes. Don't save unused reg,
60355 and adjust reg usage. Set up cfi on error recovery and
60356 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60358 (__makecontext): Add dummy nop after jump to exit.
60359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60360 Use correct parm save area and cr save, reduce stack frame.
60361 Correct cfi for possible PSEUDO_RET frame setup.
60362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60363 Branch to local label emitted by PSEUDO_RET rather than
60366 2010-08-12 Andreas Schwab <schwab@redhat.com>
60369 * locale/programs/locale.c (print_assignment): New function.
60370 (show_locale_vars): Use it.
60372 2010-08-11 Ulrich Drepper <drepper@redhat.com>
60374 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60376 (struct statfs64): Likewise.
60377 (_STATFS_F_FLAGS): Define.
60378 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60379 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60380 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60381 (ST_VALID): Define locally.
60382 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60383 __statvfs_getflags, use the provided value.
60384 * sysdeps/unix/sysv/linux/kernel-features.h: Define
60385 __ASSUME_STATFS_F_FLAGS.
60387 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60389 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60390 Add sys/fanotify.h.
60391 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60392 fanotify_mask for GLIBC_2.13.
60393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60394 fanotify_init and fanotify_mark.
60395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60396 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60398 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60400 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60401 prlimit64 for GLIBC_2.13.
60402 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60404 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60407 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60408 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60409 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60410 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
60412 * sysdeps/unix/sysv/linux/prlimit.c: New file.
60415 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60416 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60418 * nss/Makefile: Add rules to build and run tst-nss-test1.
60419 * shlib-versions: Add entry for libnss_test1.
60420 * nss/nss_test1.c: New file.
60421 * nss/tst-nss-test1.c: New file.
60423 * nss/nsswitch.c (__nss_database_custom): Define new variable.
60424 (__nss_configure_lookup): Set appropriate entry in
60425 __nss_configure_lookup to true.
60426 * nss/nsswitch.h: Define enum with indeces of databases in
60427 databases and __nss_database_custom arrays. Declare
60428 __nss_database_custom.
60429 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60430 to avoid using nscd when custom rules are installed.
60431 * nss/getXXbyYY_r.c: Likewise.
60432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60434 * nss/nss_files/files-parse.c: Whitespace fixes.
60436 2010-08-09 Ulrich Drepper <drepper@redhat.com>
60439 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60440 * posix/fnmatch_loop.c: Likewise.
60442 2010-07-17 Andi Kleen <ak@linux.intel.com>
60444 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60445 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60446 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60447 * Versions.def [GLIBC_2.13]: Add.
60449 2010-08-06 Ulrich Drepper <drepper@redhat.com>
60451 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60452 Also fail if tpwd after pwuid call is NULL.
60454 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
60456 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60457 when converting to ms.
60459 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60461 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60462 EOPNOTSUPP errors with ENOTTY.
60463 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60464 EOPNOTSUPP errors with ENOTTY.
60466 2010-07-31 Ulrich Drepper <drepper@redhat.com>
60468 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60469 Add strcasecmp_l-ssse3.
60470 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60472 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60473 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60474 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60476 2010-07-30 Ulrich Drepper <drepper@redhat.com>
60478 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60480 * string/Makefile (strop-tests): Add strcasecmp.
60481 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60482 strcasecmp_l-nonascii.
60483 (gen-as-const-headers): Add locale-defines.sym.
60484 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60485 * sysdeps/x86_64/strcasecmp.S: New file.
60486 * sysdeps/x86_64/strcasecmp_l.S: New file.
60487 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60488 * sysdeps/x86_64/locale-defines.sym: New file.
60489 * string/test-strcasecmp.c: New file.
60491 * string/test-strcasestr.c: Test both ends of the range of characters.
60492 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60494 2010-07-29 Roland McGrath <roland@redhat.com>
60497 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60499 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60501 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60504 2010-07-27 Andreas Schwab <schwab@redhat.com>
60506 * manual/memory.texi (Malloc Tunable Parameters): Document
60509 2010-07-26 Roland McGrath <roland@redhat.com>
60512 * configure.in (-fgnu89-inline check): Set and substitute
60513 gnu89_inline, not libc_cv_gnu89_inline.
60514 * configure: Regenerated.
60515 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60517 2010-07-26 Ulrich Drepper <drepper@redhat.com>
60519 * string/test-strnlen.c: New file.
60520 * string/Makefile (strop-tests): Add strnlen.
60521 * string/tester.c (test_strnlen): Add a few more test cases.
60522 * string/tst-strlen.c: Better error reporting.
60524 * sysdeps/x86_64/strnlen.S: New file.
60526 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60528 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60529 lower-latency instructions.
60531 2010-07-23 Ulrich Drepper <drepper@redhat.com>
60533 * string/test-strcasestr.c: New file.
60534 * string/test-strstr.c: New file.
60535 * string/Makefile (strop-tests): Add strstr and strcasestr.
60536 * string/str-two-way.h: Don't undefine MAX.
60537 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60539 2010-07-21 Andreas Schwab <schwab@redhat.com>
60541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60542 strcasestr-nonascii.
60543 (CFLAGS-strcasestr-nonascii.c): Define.
60544 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60545 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60546 Remove unused attribute.
60548 2010-07-20 Roland McGrath <roland@redhat.com>
60550 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60551 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60552 ld.so.cache was broken. With it, there is no way to disable dsocaps
60553 like LD_HWCAP_MASK can disable hwcaps.
60555 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60557 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60559 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60561 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60562 call in strcasestr.
60563 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60564 __strcasestr_sse42_nonascii.
60565 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60566 strcasestr-nonascii.c.
60567 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60569 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60571 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60572 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60573 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60574 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60576 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60581 2010-07-06 Andreas Schwab <schwab@redhat.com>
60584 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60587 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60589 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60590 _PC_PIPE_BUF using F_GETPIPE_SZ.
60592 2010-07-05 Roland McGrath <roland@redhat.com>
60594 * manual/arith.texi (Rounding Functions): Fix rint description
60595 implicit in round description.
60597 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60599 * elf/Makefile: Fix linking for a few tests to make recent linker
60602 2010-06-30 Andreas Schwab <schwab@redhat.com>
60604 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60605 $(common-objpfx)libc_nonshared.a.
60607 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60609 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60610 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60611 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60612 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60613 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60614 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60615 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60616 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60631 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60632 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60633 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60634 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60635 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60636 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60637 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60638 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60639 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60640 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60641 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60642 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60658 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60660 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60661 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60662 * string/memmove.c (memmove): Renamed to ...
60663 (MEMMOVE): ...this. Default to memmove.
60664 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60665 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60668 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60669 mempcpy-ssse3-back memmove-ssse3-back.
60670 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60671 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60672 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60673 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60674 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60675 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60676 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60677 * sysdeps/x86_64/multiarch/memmove.c: New file.
60678 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60679 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60680 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60681 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60682 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60683 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60685 (index_Fast_Copy_Backward): Define.
60686 (HAS_ARCH_FEATURE): Define.
60687 (HAS_FAST_REP_STRING): Define.
60688 (HAS_FAST_COPY_BACKWARD): Define.
60690 2010-06-21 Andreas Schwab <schwab@redhat.com>
60692 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60693 Restore proper fallback handling.
60695 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60698 * posix/group_member.c (__group_member): Correct checking loop.
60700 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60701 OOM in getpwuid_r correctly. Return error number when the caller
60702 should return, otherwise -1.
60703 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60704 call returning > 0 value.
60705 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60707 2010-06-07 Andreas Schwab <schwab@redhat.com>
60709 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60710 libc_nonshared.a from targets in modules-names.
60712 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60714 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60717 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60719 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60720 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60722 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60724 2010-06-02 Andreas Schwab <schwab@redhat.com>
60726 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60728 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60732 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60733 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60736 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60737 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60739 2010-06-14 Roland McGrath <roland@redhat.com>
60741 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60743 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60745 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60746 __REDIRECT followed by __THROW.
60747 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60748 * posix/getopt.h (getopt): Likewise.
60750 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60752 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60753 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60754 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60756 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60757 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60759 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60761 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60763 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60767 Properly check family and model.
60769 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60771 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60773 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60775 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60777 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60779 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60782 2010-05-19 Andreas Schwab <schwab@redhat.com>
60784 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60787 2010-05-21 Andreas Schwab <schwab@redhat.com>
60789 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60790 and internal_recvmmsg.
60791 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60792 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60793 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60794 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60796 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60797 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60798 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60800 2010-05-20 Andreas Schwab <schwab@redhat.com>
60802 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60804 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60806 POWER7 optimizations.
60807 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60808 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60810 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60812 * version.h: Update for 2.13 development version.
60814 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60816 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60817 exceptions. Return 0.
60819 2010-05-07 Roland McGrath <roland@redhat.com>
60821 * elf/ldconfig.c (main): Add a const.
60823 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60825 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60826 (args_options): Add no-idn option.
60827 (ahosts_keys_int): Add idn_flags to ai_flags.
60828 (parse_option): Handle 'i' option to clear idn_flags.
60830 * malloc/malloc.c (_int_free): Possible race in the most recently
60831 added check. Only act on the data if no current modification
60834 See ChangeLog.17 for earlier changes.